[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Pseudo-terminals. help!



Hi,
   I am trying to write a simple telnet server for linux. The
present version forks with the parent doing non-blocking character
transfers between the network socket and the pseudo-terminal master
(/dev/ptyxx) while the child sets stdin,stdout, stderr as pseudo-
terminal slave(/dev/ttyxx). I dont plan to implement SIGWINCH. It
currently works OK with telnet by setting character mode (in telnet).
But, the control signals dont work (ie. ^C ). Is it sent as out-of-
band data? How do I handle it?

Thanks in advance,
Vimal


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/

------------------------------