Commit | Line | Data |
---|---|---|
05862919 SL |
1 | #ifndef lint |
2 | static char sccsid[] = "@(#)cmdtab.c 4.6 (Berkeley) %G%"; | |
3 | #endif | |
4 | ||
0535475f BJ |
5 | #include "tip.h" |
6 | ||
05862919 SL |
7 | extern int shell(), getfl(), sendfile(), chdirectory(); |
8 | extern int finish(), help(), pipefile(), consh(), variable(); | |
9 | extern int cu_take(), cu_put(), dollar(), genbrk(), suspend(); | |
0535475f | 10 | |
05862919 SL |
11 | esctable_t etable[] = { |
12 | { '!', NORM, "shell", shell }, | |
0535475f BJ |
13 | { '<', NORM, "receive file from remote host", getfl }, |
14 | { '>', NORM, "send file to remote host", sendfile }, | |
15 | { 't', NORM, "take file from remote UNIX", cu_take }, | |
16 | { 'p', NORM, "put file to remote UNIX", cu_put }, | |
17 | { '|', NORM, "pipe remote file", pipefile }, | |
18 | #ifdef CONNECT | |
6b46907f | 19 | { 'C', NORM, "connect program to remote host",consh }, |
0535475f BJ |
20 | #endif |
21 | { 'c', NORM, "change directory", chdirectory }, | |
9af70182 | 22 | { '.', NORM, "exit from tip", finish }, |
0535475f | 23 | {CTRL(d),NORM, "exit from tip", finish }, |
3f48242d | 24 | {CTRL(z),NORM, "suspend tip", suspend }, |
0535475f | 25 | { 's', NORM, "set variable", variable }, |
061754f3 SL |
26 | { '?', NORM, "get this summary", help }, |
27 | { '#', NORM, "send break", genbrk }, | |
0535475f BJ |
28 | { 0, 0, 0 } |
29 | }; |