summaryrefslogtreecommitdiff
path: root/src/comm.c
diff options
context:
space:
mode:
authorjnweiger <jnweiger>2005-12-16 18:37:23 +0000
committerjnweiger <jnweiger>2005-12-16 18:37:23 +0000
commitb3e7420c1fe103e5a3d71c3b74cf0843bee23317 (patch)
treeb4103eac70f404e174ddd795a8702626a5c6793f /src/comm.c
parent522f11a34fb4e4efea730fd937837a156cc5feb0 (diff)
downloadscreen-b3e7420c1fe103e5a3d71c3b74cf0843bee23317.tar.gz
old version screen-3.9.11 Feb 14 2002
Diffstat (limited to 'src/comm.c')
-rw-r--r--src/comm.c36
1 files changed, 24 insertions, 12 deletions
diff --git a/src/comm.c b/src/comm.c
index 4f46174..296b39d 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 1993-2000
+/* Copyright (c) 1993-2002
* Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
* Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
* Copyright (c) 1987 Oliver Laumann
@@ -111,7 +111,7 @@ struct comm comms[RC_LAST + 1] =
{ "chdir", ARGS_01 },
{ "clear", NEED_FORE|ARGS_0 },
{ "colon", NEED_LAYER|ARGS_01 },
- { "command", NEED_DISPLAY|ARGS_0 },
+ { "command", NEED_DISPLAY|ARGS_02 },
#ifdef COPY_PASTE
{ "compacthist", ARGS_01 },
#endif
@@ -130,13 +130,17 @@ struct comm comms[RC_LAST + 1] =
{ "defbreaktype", ARGS_01 },
{ "defc1", ARGS_1 },
{ "defcharset", ARGS_01 },
+#ifdef ENCODINGS
+ { "defencoding", ARGS_1 },
+#endif
{ "defescape", ARGS_1 },
{ "defflow", ARGS_12 },
{ "defgr", ARGS_1 },
{ "defhstatus", ARGS_01 },
-#ifdef KANJI
+#ifdef ENCODINGS
{ "defkanji", ARGS_1 },
#endif
+ { "deflog", ARGS_1 },
#if defined(UTMPOK) && defined(LOGOUTOK)
{ "deflogin", ARGS_1 },
#endif
@@ -155,14 +159,18 @@ struct comm comms[RC_LAST + 1] =
{ "defwrap", ARGS_1 },
{ "defwritelock", ARGS_1 },
#ifdef DETACH
- { "detach", NEED_DISPLAY|ARGS_0 },
+ { "detach", NEED_DISPLAY|ARGS_01 },
#endif
{ "digraph", NEED_LAYER|ARGS_01 },
{ "dinfo", NEED_DISPLAY|ARGS_0 },
{ "displays", NEED_LAYER|ARGS_0 },
{ "dumptermcap", NEED_FORE|ARGS_0 },
{ "echo", ARGS_12 },
+#ifdef ENCODINGS
+ { "encoding", ARGS_12 },
+#endif
{ "escape", ARGS_1 },
+ { "eval", ARGS_1|ARGS_ORMORE },
#ifdef PSEUDOS
{ "exec", NEED_FORE|ARGS_0|ARGS_ORMORE },
#endif
@@ -170,18 +178,19 @@ struct comm comms[RC_LAST + 1] =
{ "flow", NEED_FORE|ARGS_01 },
{ "focus", NEED_DISPLAY|ARGS_01 },
{ "gr", NEED_FORE|ARGS_01 },
- { "hardcopy", NEED_FORE|ARGS_0 },
+ { "hardcopy", ARGS_012 },
{ "hardcopy_append", ARGS_1 },
{ "hardcopydir", ARGS_01 },
{ "hardstatus", ARGS_012 },
{ "height", ARGS_0123 },
- { "help", NEED_LAYER|ARGS_0 },
+ { "help", NEED_LAYER|ARGS_02 },
#ifdef COPY_PASTE
{ "history", NEED_DISPLAY|NEED_FORE|ARGS_0 },
#endif
{ "hstatus", NEED_FORE|ARGS_1 },
+ { "ignorecase", ARGS_01 },
{ "info", NEED_LAYER|ARGS_0 },
-#ifdef KANJI
+#ifdef ENCODINGS
{ "kanji", NEED_FORE|ARGS_12 },
#endif
{ "kill", NEED_FORE|ARGS_0 },
@@ -240,11 +249,11 @@ struct comm comms[RC_LAST + 1] =
{ "process", NEED_DISPLAY|ARGS_01 },
{ "quit", ARGS_0 },
#ifdef COPY_PASTE
- { "readbuf", ARGS_01 },
+ { "readbuf", ARGS_0123 },
#endif
- { "readreg", ARGS_012 },
+ { "readreg", ARGS_0|ARGS_ORMORE },
{ "redisplay", NEED_DISPLAY|ARGS_0 },
- { "register", ARGS_2 },
+ { "register", ARGS_24 },
{ "remove", NEED_DISPLAY|ARGS_0 },
#ifdef COPY_PASTE
{ "removebuf", ARGS_0 },
@@ -258,6 +267,7 @@ struct comm comms[RC_LAST + 1] =
{ "select", ARGS_01 },
{ "sessionname", ARGS_01 },
{ "setenv", ARGS_012 },
+ { "setsid", ARGS_1 },
{ "shell", ARGS_1 },
{ "shelltitle", ARGS_1 },
{ "silence", NEED_FORE|ARGS_01 },
@@ -265,6 +275,7 @@ struct comm comms[RC_LAST + 1] =
{ "sleep", ARGS_1 },
{ "slowpaste", NEED_FORE|ARGS_01 },
{ "sorendition", ARGS_012 },
+ { "source", ARGS_1 },
{ "split", NEED_DISPLAY|ARGS_0 },
{ "startup_message", ARGS_1 },
{ "stuff", NEED_LAYER|ARGS_12 },
@@ -278,7 +289,7 @@ struct comm comms[RC_LAST + 1] =
{ "termcap", ARGS_23 },
{ "termcapinfo", ARGS_23 },
{ "terminfo", ARGS_23 },
- { "time", ARGS_0 },
+ { "time", ARGS_01 },
{ "title", NEED_FORE|ARGS_01 },
{ "umask", ARGS_1|ARGS_ORMORE },
{ "unsetenv", ARGS_1 },
@@ -292,10 +303,11 @@ struct comm comms[RC_LAST + 1] =
{ "version", ARGS_0 },
{ "wall", NEED_DISPLAY|ARGS_1},
{ "width", ARGS_0123 },
+ { "windowlist", NEED_DISPLAY|ARGS_012 },
{ "windows", NEED_DISPLAY|ARGS_0 },
{ "wrap", NEED_FORE|ARGS_01 },
#ifdef COPY_PASTE
- { "writebuf", ARGS_01 },
+ { "writebuf", ARGS_0123 },
#endif
{ "writelock", NEED_FORE|ARGS_01 },
{ "xoff", NEED_LAYER|ARGS_0 },