Commit | Line | Data |
---|---|---|
3f48242d | 1 | /* cmdtab.c 4.4 81/11/29 */ |
0535475f BJ |
2 | #include "tip.h" |
3 | ||
4 | extern int shell(), getfl(), sendfile(), chdirectory(), | |
5 | finish(), help(), pipefile(), consh(), variable(), | |
3f48242d | 6 | cu_take(), cu_put(), dollar(), genbrk(), suspend(); |
0535475f BJ |
7 | |
8 | esctable_t etable[] = | |
9 | { | |
10 | { '!', NORM, "shell", shell }, | |
11 | { '<', NORM, "receive file from remote host", getfl }, | |
12 | { '>', NORM, "send file to remote host", sendfile }, | |
13 | { 't', NORM, "take file from remote UNIX", cu_take }, | |
14 | { 'p', NORM, "put file to remote UNIX", cu_put }, | |
15 | { '|', NORM, "pipe remote file", pipefile }, | |
16 | #ifdef CONNECT | |
17 | { '%', NORM, "connect program to remote host",consh }, | |
18 | #endif | |
19 | { 'c', NORM, "change directory", chdirectory }, | |
9af70182 | 20 | { '.', NORM, "exit from tip", finish }, |
0535475f | 21 | {CTRL(d),NORM, "exit from tip", finish }, |
3f48242d SL |
22 | #ifdef SIGTSTP |
23 | {CTRL(z),NORM, "suspend tip", suspend }, | |
24 | #endif | |
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 | }; |