version 1.1.1.1.2.2, 2010/04/19 09:30:49
|
version 1.1.1.1.2.3, 2010/04/19 23:02:47
|
Line 90 inline void cliComp(cli_Completion_t *cmdComplete, cli
|
Line 90 inline void cliComp(cli_Completion_t *cmdComplete, cli
|
|
|
/* |
/* |
* cliTTY() Initialize I/O TTY CLI features |
* cliTTY() Initialize I/O TTY CLI features |
|
* @term = terminal name |
* @inp = input handle |
* @inp = input handle |
* @out = output handle |
* @out = output handle |
* return: none |
* return: none |
*/ |
*/ |
inline void cliTTY(FILE *inp, FILE *out) | inline void cliTTY(const char *term, FILE *inp, FILE *out) |
{ |
{ |
|
rl_terminal_name = term; |
rl_outstream = inp; |
rl_outstream = inp; |
rl_outstream = out; |
rl_outstream = out; |
} |
} |