563N/A/*
563N/A * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
563N/A * Use is subject to license terms.
563N/A */
563N/A
563N/A/*
563N/A * Copyright (c) 1983 Regents of the University of California.
563N/A * All rights reserved. The Berkeley software License Agreement
6983N/A * specifies the terms and conditions for redistribution.
6983N/A */
563N/A
563N/A#pragma ident "%Z%%M% %I% %E% SMI"
563N/A
563N/A#include "tip.h"
6983N/A
6983N/Aextern void shell(int), getfl(int), tip_sendfile(int), chdirectory(int);
6983N/Aextern void finish(int), help(int), pipefile(int), pipeout(int);
6983N/Aextern void consh(int), variable(int), cu_take(int), cu_put(int);
563N/Aextern void genbrk(int), suspend(int);
563N/A
563N/Aesctable_t etable[] = {
563N/A { '!', NORM, "shell", shell },
563N/A { '<', NORM, "receive file from remote host", getfl },
4972N/A { '>', NORM, "send file to remote host", tip_sendfile },
6238N/A { 't', NORM, "take file from remote UNIX", cu_take },
563N/A { 'p', NORM, "put file to remote UNIX", cu_put },
563N/A { '|', NORM, "pipe remote file", pipefile },
563N/A { 'C', NORM, "connect program to remote host", consh },
563N/A { 'c', NORM, "change directory", chdirectory },
563N/A { '.', NORM, "exit from tip", finish },
563N/A {_CTRL('d'), NORM, "exit from tip", finish },
563N/A { '$', NORM, "pipe local command to remote host", pipeout },
662N/A {_CTRL('y'), NORM, "suspend tip (local only)", suspend },
662N/A {_CTRL('z'), NORM, "suspend tip (local+remote)", suspend },
1473N/A { 's', NORM, "set variable", variable },
1473N/A { '?', NORM, "get this summary", help },
563N/A { '#', NORM, "send break", genbrk },
1405N/A { 0, 0, 0 }
563N/A};
563N/A