version 1.8, 2009/10/27 23:59:44 |
version 1.9, 2009/12/12 18:14:00 |
|
|
#include "tip.h" |
#include "tip.h" |
|
|
esctable_t etable[] = { |
esctable_t etable[] = { |
{ '!', NORM, "shell", shell }, |
{ '!', "shell", shell }, |
{ '<', NORM, "receive file from remote host", getfl }, |
{ '<', "receive file from remote host", getfl }, |
{ '>', NORM, "send file to remote host", sendfile }, |
{ '>', "send file to remote host", sendfile }, |
{ 't', NORM, "take file from remote UNIX", cu_take }, |
{ 't', "take file from remote UNIX", cu_take }, |
{ 'p', NORM, "put file to remote UNIX", cu_put }, |
{ 'p', "put file to remote UNIX", cu_put }, |
{ '|', NORM, "pipe remote file", pipefile }, |
{ '|', "pipe remote file", pipefile }, |
{ '$', NORM, "pipe local command to remote host", pipeout }, |
{ '$', "pipe local command to remote host", pipeout }, |
#ifdef CONNECT |
#ifdef CONNECT |
{ 'C', NORM, "connect program to remote host",consh }, |
{ 'C', "connect program to remote host", consh }, |
#endif |
#endif |
{ 'c', NORM, "change directory", chdirectory }, |
{ 'c', "change directory", chdirectory }, |
{ '.', NORM, "exit from tip", finish }, |
{ '.', "exit from tip", finish }, |
{CTRL('d'),NORM,"exit from tip", finish }, |
{ CTRL('d'), "exit from tip", finish }, |
{CTRL('y'),NORM,"suspend tip (local+remote)", suspend }, |
{ CTRL('y'), "suspend tip (local+remote)", suspend }, |
{CTRL('z'),NORM,"suspend tip (local only)", suspend }, |
{ CTRL('z'), "suspend tip (local only)", suspend }, |
{ 's', NORM, "set variable", variable }, |
{ 's', "set variable", variable }, |
{ 'v', NORM, "list variables", listvariables }, |
{ 'v', "list variables", listvariables }, |
{ '?', NORM, "get this summary", help }, |
{ '?', "get this summary", help }, |
{ '#', NORM, "send break", genbrk }, |
{ '#', "send break", genbrk }, |
{ 0, 0, 0 } |
{ 0, 0, 0 } |
}; |
}; |