SCCS-vsn: usr.bin/tip/cmds.c 5.4
SCCS-vsn: usr.bin/tip/cmdtab.c 5.3
-static char sccsid[] = "@(#)cmds.c 5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)cmds.c 5.4 (Berkeley) %G%";
#endif not lint
#include "tip.h"
#endif not lint
#include "tip.h"
+ kill(c == CTRL(y) ? getpid() : 0, SIGTSTP);
-static char sccsid[] = "@(#)cmdtab.c 5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)cmdtab.c 5.3 (Berkeley) %G%";
#endif not lint
#include "tip.h"
#endif not lint
#include "tip.h"
{ 'c', NORM, "change directory", chdirectory },
{ '.', NORM, "exit from tip", finish },
{CTRL(d),NORM, "exit from tip", finish },
{ 'c', NORM, "change directory", chdirectory },
{ '.', NORM, "exit from tip", finish },
{CTRL(d),NORM, "exit from tip", finish },
- {CTRL(z),NORM, "suspend tip", suspend },
+ {CTRL(y),NORM, "suspend tip (local+remote)", suspend },
+ {CTRL(z),NORM, "suspend tip (local only)", suspend },
{ 's', NORM, "set variable", variable },
{ '?', NORM, "get this summary", help },
{ '#', NORM, "send break", genbrk },
{ 's', NORM, "set variable", variable },
{ '?', NORM, "get this summary", help },
{ '#', NORM, "send break", genbrk },