LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Telnet and Control C (https://www.linuxquestions.org/questions/linux-networking-3/telnet-and-control-c-827831/)

sudheendrasp 08-22-2010 01:10 PM

Telnet and Control C
 
Hi
I am trying to use telnet from linux to connect to the port specified by me and trying to handle control C. But once Ctrl C is pressed the output on the client side stops showing. The server sends data but client doesnt print the same.
Kindly help me with handling this
Thanks

nimnull22 08-22-2010 01:46 PM

You can try to:
in terminal window type - telnet, then you will see:
telnet>
where you type any commands to telnet it self, "?" for help.

TB0ne 08-22-2010 05:21 PM

Quote:

Originally Posted by sudheendrasp (Post 4074302)
Hi
I am trying to use telnet from linux to connect to the port specified by me and trying to handle control C. But once Ctrl C is pressed the output on the client side stops showing. The server sends data but client doesnt print the same.
Kindly help me with handling this
Thanks

Hard to help without decent information. Version/distro of Linux? And what are you connecting TO? What device/server is this? You can put options in your .bashrc or your .profile file, to capture the CTRL-C (or other characters), and do things.


All times are GMT -5. The time now is 07:26 AM.