LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-22-2010, 01:10 PM   #1
sudheendrasp
LQ Newbie
 
Registered: Jul 2010
Posts: 13

Rep: Reputation: 0
Question 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
 
Old 08-22-2010, 01:46 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
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.
 
Old 08-22-2010, 05:21 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,646

Rep: Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969
Quote:
Originally Posted by sudheendrasp View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tc traffic control tc traffic control Linux QoS control tool(noob help) inv|s|ble Linux - General 1 07-26-2007 11:12 AM
Control the telnet ust Linux - Networking 3 02-09-2006 10:25 PM
Access control for telnet and ftp aroop Linux - Security 8 08-27-2004 04:24 PM
telnet login control with sockets...how the heck does this work? ooagentbender Programming 2 08-19-2004 09:14 PM
Telnet for remote control, how do I set it up? bripage Linux - Networking 5 08-01-2002 08:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration