Annotation of 42BSD/usr.bin/tip/cmdtab.c, revision 1.1.1.1

1.1       root        1: #ifndef lint
                      2: static char sccsid[] = "@(#)cmdtab.c   4.6 (Berkeley) 6/25/83";
                      3: #endif
                      4: 
                      5: #include "tip.h"
                      6: 
                      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();
                     10: 
                     11: esctable_t etable[] = {
                     12:        { '!',  NORM,   "shell",                         shell },
                     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
                     19:        { 'C',  NORM,   "connect program to remote host",consh },
                     20: #endif
                     21:        { 'c',  NORM,   "change directory",              chdirectory },
                     22:        { '.',  NORM,   "exit from tip",                 finish },
                     23:        {CTRL(d),NORM,  "exit from tip",                 finish },
                     24:        {CTRL(z),NORM,  "suspend tip",                   suspend },
                     25:        { 's',  NORM,   "set variable",                  variable },
                     26:        { '?',  NORM,   "get this summary",              help },
                     27:        { '#',  NORM,   "send break",                    genbrk },
                     28:        { 0, 0, 0 }
                     29: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.