Return to commands.c CVS log | Up to [local] / src / usr.bin / telnet |
version 1.63, 2014/07/20 08:56:47 | version 1.64, 2014/07/20 09:31:25 | ||
---|---|---|---|
|
|
||
int | int | ||
telnetsuspend() | telnetsuspend() | ||
{ | { | ||
#ifdef SIGTSTP | |||
setcommandmode(); | setcommandmode(); | ||
{ | { | ||
long oldrows, oldcols, newrows, newcols, err; | long oldrows, oldcols, newrows, newcols, err; | ||
|
|
||
/* reget parameters in case they were changed */ | /* reget parameters in case they were changed */ | ||
TerminalSaveState(); | TerminalSaveState(); | ||
setconnmode(0); | setconnmode(0); | ||
#else | |||
printf("Suspend is not supported. Try the '!' command instead\r\n"); | |||
#endif | |||
return 1; | return 1; | ||
} | } | ||