|
|
| version 1.1.1.1.2.16, 2010/06/04 11:25:45 | version 1.1.1.1.2.17, 2010/06/04 11:30:31 |
|---|---|
| Line 33 static void cli_Null_Prep_Term(int meta) | Line 33 static void cli_Null_Prep_Term(int meta) |
| { | { |
| } | } |
| #include <syslog.h> | |
| static int cli_Net_rl_GetCh(FILE *s) | static int cli_Net_rl_GetCh(FILE *s) |
| { | { |
| int ch = rl_getc(s); | int ch = rl_getc(s); |
| Line 51 static int cli_Net_rl_GetCh(FILE *s) | Line 50 static int cli_Net_rl_GetCh(FILE *s) |
| return ch; | return ch; |
| } | } |
| syslog(LOG_CRIT, "+++++ getc=%0x\n", ch); | |
| cli_pending_special_char = 0; | cli_pending_special_char = 0; |
| fputc(ch, rl_outstream); | fputc(ch, rl_outstream); |
| fflush(rl_outstream); | fflush(rl_outstream); |
| Line 371 int cliNetExec(cliCommands_t *cmdList, const char *csP | Line 369 int cliNetExec(cliCommands_t *cmdList, const char *csP |
| break; | break; |
| } | } |
| } | } |
| syslog(LOG_CRIT, "alen=%d ret=%d b0=%x b1=%x b2=%x\n", alen, ret, buf[0], buf[1], buf[2]); | |
| if ((ret = write(pty, buf, ret)) == -1) { | if ((ret = write(pty, buf, ret)) == -1) { |
| LOGERR; | LOGERR; |
| Line 388 syslog(LOG_CRIT, "alen=%d ret=%d b0=%x b1=%x b2=%x\n", | Line 385 syslog(LOG_CRIT, "alen=%d ret=%d b0=%x b1=%x b2=%x\n", |
| LOGERR; | LOGERR; |
| break; | break; |
| } | } |
| syslog(LOG_CRIT, "ret=%d b0=%x b1=%x b2=%x\n", ret, buf[0], buf[1], buf[2]); | |
| attrlen = 0; | attrlen = 0; |
| if (1 == flg && alen) { | if (1 == flg && alen) { |
| telnet_SetCmd(&Attr[attrlen++], DONT, TELOPT_SGA); | telnet_SetCmd(&Attr[attrlen++], DONT, TELOPT_SGA); |