Hi, All. In my Linux program I need to have a simple command line input and use telnet as command console. I try to use Linux readline library. It works when I use standard input and output. When I open socket, associate file "dirstream" with it and make redirections: rl_instream = dirstream; rl_outstream = dirstream; the readline outputs prompt to remote telnet console, but I cannot input the command. And I see following warning: "rl_prep_terminal: cannot get terminal settings." Can anybody give an advise? Thanks in advance, Alex.
- posted
19 years ago