1 /* Copyright (c) 2008, 2009
2 * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
3 * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
4 * Micah Cowan (micah@cowan.name)
5 * Sadrul Habib Chowdhury (sadrul@users.sourceforge.net)
6 * Copyright (c) 1993-2002, 2003, 2005, 2006, 2007
7 * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
8 * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
9 * Copyright (c) 1987 Oliver Laumann
13 * Authors: Hadi Bargi Rangin bargi@dots.physics.orst.edu
14 * Bill Barry barryb@dots.physics.orst.edu
16 * Modifications Copyright (c) 1995 by
17 * Science Access Project, Oregon State University.
20 * This program is free software; you can redistribute it and/or modify
21 * it under the terms of the GNU General Public License as published by
22 * the Free Software Foundation; either version 3, or (at your option)
25 * This program is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 * GNU General Public License for more details.
30 * You should have received a copy of the GNU General Public License
31 * along with this program (see the file COPYING); if not, see
32 * http://www.gnu.org/licenses/, or contact Free Software Foundation, Inc.,
33 * 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
35 ****************************************************************
42 #define bcopy :-( /* or include screen.h here */
44 /* Must be in alpha order ! */
46 struct comm comms
[RC_LAST
+ 1] =
49 { "acladd", ARGS_1234
},
50 { "aclchg", ARGS_23
},
52 { "aclgrp", ARGS_12
},
53 { "aclumask", ARGS_1
|ARGS_ORMORE
},
55 { "activity", ARGS_1
},
57 { "addacl", ARGS_1234
},
59 { "alias", ARGS_12
|ARGS_ORMORE
},
60 { "allpartial", NEED_DISPLAY
|ARGS_1
},
61 { "altscreen", ARGS_01
},
62 { "at", NEED_DISPLAY
|ARGS_2
|ARGS_ORMORE
},
64 { "attrcolor", ARGS_12
},
66 { "autodetach", ARGS_1
},
68 { "autonuke", NEED_DISPLAY
|ARGS_1
},
70 { "backtick", ARGS_1
|ARGS_ORMORE
},
72 { "bce", NEED_FORE
|ARGS_01
},
76 /* keywords for braille display (bd) */
77 { "bd_bc_down", ARGS_0
},
78 { "bd_bc_left", ARGS_0
},
79 { "bd_bc_right", ARGS_0
},
80 { "bd_bc_up", ARGS_0
},
81 { "bd_bell", ARGS_01
},
82 { "bd_braille_table", ARGS_01
},
83 { "bd_eightdot", ARGS_01
},
84 { "bd_info", ARGS_01
},
85 { "bd_link", ARGS_01
},
86 { "bd_lower_left", ARGS_0
},
87 { "bd_lower_right", ARGS_0
},
88 { "bd_ncrc", ARGS_01
},
89 { "bd_port", ARGS_01
},
90 { "bd_scroll", ARGS_01
},
91 { "bd_skip", ARGS_01
},
92 { "bd_start_braille", ARGS_01
},
93 { "bd_type", ARGS_01
},
94 { "bd_upper_left", ARGS_0
},
95 { "bd_upper_right", ARGS_0
},
96 { "bd_width", ARGS_01
},
100 { "bell_msg", ARGS_01
},
101 { "bind", ARGS_1
|ARGS_ORMORE
},
103 { "bindkey", ARGS_0
|ARGS_ORMORE
},
105 { "blanker", NEED_DISPLAY
|ARGS_0
},
107 { "blankerprg", ARGS_1
|ARGS_ORMORE
},
109 { "break", NEED_FORE
|ARGS_01
},
110 { "breaktype", NEED_FORE
|ARGS_01
},
112 { "bufferfile", ARGS_01
},
114 { "c1", NEED_FORE
|ARGS_01
},
115 { "caption", ARGS_12
},
117 { "chacl", ARGS_23
},
119 { "charset", NEED_FORE
|ARGS_1
},
120 { "chdir", ARGS_01
},
122 { "cjkwidth", ARGS_01
},
124 { "clear", NEED_FORE
|ARGS_0
},
125 { "colon", NEED_LAYER
|ARGS_01
},
126 { "command", NEED_DISPLAY
|ARGS_02
},
128 { "compacthist", ARGS_01
},
130 { "console", NEED_FORE
|ARGS_01
},
132 { "copy", NEED_FORE
|NEED_DISPLAY
|ARGS_0
},
135 { "debug", ARGS_01
},
137 { "defautonuke", ARGS_1
},
140 { "defbce", ARGS_1
},
142 { "defbreaktype", ARGS_01
},
144 { "defcharset", ARGS_01
},
146 { "defencoding", ARGS_1
},
148 { "defescape", ARGS_1
},
149 { "defflow", ARGS_12
},
151 { "defhstatus", ARGS_01
},
153 { "defkanji", ARGS_1
},
155 { "deflog", ARGS_1
},
156 #if defined(UTMPOK) && defined(LOGOUTOK)
157 { "deflogin", ARGS_1
},
159 { "defmode", ARGS_1
},
160 { "defmonitor", ARGS_1
},
162 { "defnonblock", ARGS_1
},
164 { "defobuflimit", ARGS_1
},
166 { "defscrollback", ARGS_1
},
168 { "defshell", ARGS_1
},
169 { "defsilence", ARGS_1
},
170 { "defslowpaste", ARGS_1
},
172 { "defutf8", ARGS_1
},
174 { "defwrap", ARGS_1
},
175 { "defwritelock", ARGS_1
},
177 { "detach", NEED_DISPLAY
|ARGS_01
},
179 { "digraph", NEED_LAYER
|ARGS_012
},
180 { "dinfo", NEED_DISPLAY
|ARGS_0
},
181 { "displays", NEED_LAYER
|ARGS_0
},
182 { "dumptermcap", NEED_FORE
|ARGS_0
},
185 { "encoding", ARGS_12
},
187 { "escape", ARGS_1
},
188 { "eval", ARGS_1
|ARGS_ORMORE
},
190 { "exec", ARGS_0
|ARGS_ORMORE
},
192 { "fit", NEED_DISPLAY
|ARGS_0
},
193 { "flow", NEED_FORE
|ARGS_01
},
194 { "focus", NEED_DISPLAY
|ARGS_01
},
195 { "focusminsize", ARGS_02
},
196 { "gr", NEED_FORE
|ARGS_01
},
197 { "group", NEED_FORE
|ARGS_01
},
198 { "hardcopy", ARGS_012
},
199 { "hardcopy_append", ARGS_1
},
200 { "hardcopydir", ARGS_01
},
201 { "hardstatus", ARGS_012
},
202 { "height", ARGS_0123
},
203 { "help", NEED_LAYER
|ARGS_02
},
205 { "history", NEED_DISPLAY
|NEED_FORE
|ARGS_0
},
207 { "hstatus", NEED_FORE
|ARGS_1
},
208 { "idle", ARGS_0
|ARGS_ORMORE
},
209 { "ignorecase", ARGS_01
},
210 { "info", NEED_LAYER
|ARGS_0
},
212 { "kanji", NEED_FORE
|ARGS_12
},
214 { "kill", NEED_FORE
|ARGS_0
},
215 { "lastmsg", NEED_DISPLAY
|ARGS_0
},
216 { "layout", ARGS_1
|ARGS_ORMORE
},
217 { "license", NEED_LAYER
|ARGS_0
},
219 { "lockscreen", NEED_DISPLAY
|ARGS_0
},
221 { "log", NEED_FORE
|ARGS_01
},
222 { "logfile", ARGS_012
},
223 #if defined(UTMPOK) && defined(LOGOUTOK)
224 { "login", NEED_FORE
|ARGS_01
},
226 { "logtstamp", ARGS_012
},
228 { "mapdefault", NEED_DISPLAY
|ARGS_0
},
229 { "mapnotnext", NEED_DISPLAY
|ARGS_0
},
230 { "maptimeout", ARGS_01
},
233 { "markkeys", ARGS_1
},
235 { "maxwin", ARGS_1
},
236 { "meta", NEED_LAYER
|ARGS_0
},
237 { "monitor", NEED_FORE
|ARGS_01
},
238 { "msgminwait", ARGS_1
},
239 { "msgwait", ARGS_1
},
241 { "multiuser", ARGS_1
},
244 { "nethack", ARGS_1
},
248 { "nonblock", NEED_DISPLAY
|ARGS_01
},
250 { "number", NEED_FORE
|ARGS_01
},
251 { "obuflimit", NEED_DISPLAY
|ARGS_01
},
252 { "only", NEED_DISPLAY
|ARGS_0
},
254 { "partial", NEED_FORE
|ARGS_01
},
256 { "password", ARGS_01
},
259 { "paste", NEED_LAYER
|ARGS_012
},
260 { "pastefont", ARGS_01
},
262 { "pow_break", NEED_FORE
|ARGS_01
},
263 #if defined(DETACH) && defined(POW_DETACH)
264 { "pow_detach", NEED_DISPLAY
|ARGS_0
},
265 { "pow_detach_msg", ARGS_01
},
268 { "printcmd", ARGS_01
},
269 { "process", NEED_DISPLAY
|ARGS_01
},
272 { "readbuf", ARGS_0123
},
274 { "readreg", ARGS_0
|ARGS_ORMORE
},
275 { "redisplay", NEED_DISPLAY
|ARGS_0
},
276 { "register", ARGS_24
},
277 { "remove", NEED_DISPLAY
|ARGS_0
},
279 { "removebuf", ARGS_0
},
281 { "rendition", ARGS_23
},
282 { "reset", NEED_FORE
|ARGS_0
},
283 { "resize", NEED_DISPLAY
|ARGS_0
|ARGS_ORMORE
},
284 { "screen", ARGS_0
|ARGS_ORMORE
},
286 { "script", ARGS_2
|ARGS_ORMORE
},
289 { "scrollback", NEED_FORE
|ARGS_1
},
291 { "select", ARGS_01
},
292 { "sessionname", ARGS_01
},
293 { "setenv", ARGS_012
},
294 { "setsid", ARGS_1
},
296 { "shelltitle", ARGS_1
},
297 { "silence", NEED_FORE
|ARGS_01
},
298 { "silencewait", ARGS_1
},
300 { "slowpaste", NEED_FORE
|ARGS_01
},
301 { "sorendition", ARGS_012
},
302 { "source", ARGS_1
},
303 { "split", NEED_DISPLAY
|ARGS_01
},
304 { "startup_message", ARGS_1
},
305 { "stuff", NEED_LAYER
|ARGS_012
},
307 { "su", NEED_DISPLAY
|ARGS_012
},
310 { "suspend", NEED_DISPLAY
|ARGS_0
},
313 { "termcap", ARGS_23
},
314 { "termcapinfo", ARGS_23
},
315 { "terminfo", ARGS_23
},
317 { "title", NEED_FORE
|ARGS_01
},
318 { "umask", ARGS_1
|ARGS_ORMORE
},
319 { "unsetenv", ARGS_1
},
321 { "utf8", NEED_FORE
|ARGS_012
},
323 { "vbell", ARGS_01
},
324 { "vbell_msg", ARGS_01
},
325 { "vbellwait", ARGS_1
},
326 { "verbose", ARGS_01
},
327 { "version", ARGS_0
},
328 { "wall", NEED_DISPLAY
|ARGS_1
},
329 { "width", ARGS_0123
},
330 { "windowlist", ARGS_012
},
331 { "windows", NEED_DISPLAY
|ARGS_0
},
332 { "wrap", NEED_FORE
|ARGS_01
},
334 { "writebuf", ARGS_0123
},
336 { "writelock", NEED_FORE
|ARGS_01
},
337 { "xoff", NEED_LAYER
|ARGS_0
},
338 { "xon", NEED_LAYER
|ARGS_0
},
340 { "zmodem", ARGS_012
},
342 { "zombie", ARGS_012
}