summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-09-18 04:49:39 +0000
committersabetts <sabetts>2001-09-18 04:49:39 +0000
commit5d2d31925ea817577c9293c83349fe80cb500099 (patch)
treece8fdf34133ec053c567864e3b823407a35f2a3e
parent30059e1fb5dc3373c0bef39080a69d614a20ba82 (diff)
downloadratpoison-5d2d31925ea817577c9293c83349fe80cb500099.zip
(cmd_clock): rename to cmd_time. Dependant code
updated. (user_commands): rename "clock" command to "time".
-rw-r--r--ChangeLog6
-rw-r--r--NEWS3
-rw-r--r--src/actions.c4
-rw-r--r--src/actions.h2
4 files changed, 12 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 27ef7a6..3621cf0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-09-17 shawn <sabetts@diggin.lamenet.tmp>
+
+ * src/actions.c (cmd_clock): rename to cmd_time. Dependant code
+ updated.
+ (user_commands): rename "clock" command to "time".
+
2001-09-16 shawn <sabetts@diggin.lamenet.tmp>
* src/actions.c (update_all_gcs): new function
diff --git a/NEWS b/NEWS
index 88077a1..dd0d9c7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,9 @@
ratpoison NEWS --- history of user-visible changes. -*- outline -*-
* Changes since 1.0.0
+** clock command renamed to time
+This was to improve screen compatibility.
+
** New command setenv
Use this to set environment variables for all programs run from
ratpoison thereafter.
diff --git a/src/actions.c b/src/actions.c
index 9b02e84..9f86de3 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -34,7 +34,7 @@ static user_command user_commands[] =
{ {"abort", cmd_abort, arg_VOID},
{"banish", cmd_banish, arg_VOID},
{"bind", cmd_bind, arg_VOID},
- {"clock", cmd_clock, arg_VOID},
+ {"time", cmd_time, arg_VOID},
{"colon", cmd_colon, arg_STRING},
{"curframe", cmd_curframe, arg_VOID},
{"delete", cmd_delete, arg_VOID},
@@ -927,7 +927,7 @@ cmd_quit(int interactive, void *data)
<cosis@lysator.liu.se> for the patch. Thanks to Jonathan Walther
<krooger@debian.org> for making it pretty. */
char *
-cmd_clock (int interactive, void *data)
+cmd_time (int interactive, void *data)
{
char *msg, *tmp;
time_t timep;
diff --git a/src/actions.h b/src/actions.h
index 39639a2..3660a0c 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -56,7 +56,7 @@ char * cmd_prev (int interactive, void *data);
char * cmd_prev_frame (int interactive, void *data);
char * cmd_windows (int interactive, void *data);
char * cmd_other (int interactive, void *data);
-char * cmd_clock (int interactive, void *data);
+char * cmd_time (int interactive, void *data);
char * cmd_version (int interactive, void *data);
char * cmd_unimplemented (int interactive, void *data);
char * cmd_bind (int interactive, void* data);