version 1.2.2.15, 2010/06/08 08:43:47
|
version 1.2.2.16, 2010/06/08 12:06:47
|
Line 1265 cliNetLoop(linebuffer_t * __restrict buffer, const cha
|
Line 1265 cliNetLoop(linebuffer_t * __restrict buffer, const cha
|
cli_SetErr(EINVAL, "Error:: invalid input parameters ..."); |
cli_SetErr(EINVAL, "Error:: invalid input parameters ..."); |
|
|
/* spawn Shell mode */ |
/* spawn Shell mode */ |
/* | //execl("/bin/tcsh", "tcsh", NULL); |
execl("/bin/tcsh", "tcsh", NULL); | |
*/ | |
|
|
_exit(ret); |
_exit(ret); |
default: |
default: |
/* spawn Shell mode */ |
|
telnet_SetCmd(Attr + 0, DO, TELOPT_TTYPE); |
telnet_SetCmd(Attr + 0, DO, TELOPT_TTYPE); |
telnet_SetCmd(Attr + 1, WILL, TELOPT_ECHO); |
telnet_SetCmd(Attr + 1, WILL, TELOPT_ECHO); |
telnet_Set_SubOpt(Attr + 2, TELOPT_LFLOW, LFLOW_OFF, NULL, 0); |
telnet_Set_SubOpt(Attr + 2, TELOPT_LFLOW, LFLOW_OFF, NULL, 0); |