Here's my situation. At work we have a piece of hardware running an embedded computer with vxWorks. There are two ways of interacting with the embedded computer: through the serial port and via ethernet over telnet. If CTRL-X is pressed in either of two interfaces to the embedded computer, it reboots. I need to prevent that from happening. I have already plugged the hole for the serial interface (easily done by creating a wrapper to the serial port program called tip in Solaris and capturing CTRL-X events). However, now I must do the same for telnet.
The problem is that I cannot use modules like Net::Telnet because they do not provide all the functionality/interface that regular telnet does. So, I tried interacting with telnet through a wrapper, which basically did open(TEL, "| telnet $arg"); and then passing user commands through the <TEL> handle. This almost worked, except that typing in passwords at login time now became visible. Does anyone have any suggestions on how to work around this one issue? Maybe there's a better way to capture CTRL-X and still have all the functionality of telnet?
Thanks.
In reply to telnet wrapper by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |