Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Computer Support > Getting out of telnet session gracefully

Reply
Thread Tools

Getting out of telnet session gracefully

 
 
Spin
Guest
Posts: n/a
 
      03-14-2008
Gurus,

When you open up a command prompt window and run a telnet test to a host
(for example: telnet cnn.com 80), if the test is successful (remote host is
listening) you get a bunch of "-" marks down the left-hand side of the
window if you keep pressing ENTER. But, how do you exit out of this?
Frequently I have to close the CMD window and re-open so I can run a test to
against another computer (IP host). Thoughts?

--
Spin


 
Reply With Quote
 
 
 
 
Mr. Arnold
Guest
Posts: n/a
 
      03-14-2008

"Spin" <> wrote in message
news:...
> Gurus,
>
> When you open up a command prompt window and run a telnet test to a host
> (for example: telnet cnn.com 80), if the test is successful (remote host
> is listening) you get a bunch of "-" marks down the left-hand side of the
> window if you keep pressing ENTER. But, how do you exit out of this?
> Frequently I have to close the CMD window and re-open so I can run a test
> to against another computer (IP host). Thoughts?
>


http://www.google.com/search?hl=en&q...=Google+Search

 
Reply With Quote
 
 
 
 
VanguardLH
Guest
Posts: n/a
 
      03-14-2008
"Spin" wrote in message news:...
>
> When you open up a command prompt window and run a telnet test to a
> host (for example: telnet cnn.com 80), if the test is successful
> (remote host is listening) you get a bunch of "-" marks down the
> left-hand side of the window if you keep pressing ENTER. But, how
> do you exit out of this? Frequently I have to close the CMD window
> and re-open so I can run a test to against another computer (IP
> host). Thoughts?



If 'quit' doesn't work then the server is waiting for input. If you
can't enter the appropriate input then maybe Ctrl+C will break out if
the server hasn't disabled it. Sometimes when you 'quit', it looks
like you are still in the telnet session because telnet.exe doesn't
show the command prompt but just hitting Enter will paint a new line
and show the prompt.

'telnet /?' just shows the syntax for the command line to execute the
program. Use Start -> Help and Support to get information on the
commands available within a telnet session (that are for the telnet
program versus the commands that the server will accept).

 
Reply With Quote
 
Brian Cryer
Guest
Posts: n/a
 
      03-14-2008
"Spin" <> wrote in message
news:...
> Gurus,
>
> When you open up a command prompt window and run a telnet test to a host
> (for example: telnet cnn.com 80), if the test is successful (remote host
> is listening) you get a bunch of "-" marks down the left-hand side of the
> window if you keep pressing ENTER. But, how do you exit out of this?
> Frequently I have to close the CMD window and re-open so I can run a test
> to against another computer (IP host). Thoughts?


Control-C sort of works - in that the server then responds with a bad
request page (complete with html) and then the connection is broken. But
this isn't ideal.

If you are doing this to simply test that the web server is responding then
try cryping (free from http://www.cryer.co.uk/downloads/cryping/):

C:\>cryping -n 1 -http cnn.com
CryPing - from www.cryer.co.uk v1.2 (build Jan 200
Pinging cnn.com for http status:

Reply from cnn.com: 302 Found time=319ms

HTTP ping statistics for cnn.com:
Requests: Sent = 1, Responses = 1, Lost = 0 (0% loss),
302 Found 1 times (100%)
Approximate round trip times:
Minimum = 319ms, Maximum = 319ms, Average = 319ms


 
Reply With Quote
 
Spin
Guest
Posts: n/a
 
      03-14-2008
"Brian Cryer" <> wrote in message
news:W8CdnQA60OP-...

> If you are doing this to simply test that the web server is responding
> then try cryping (free from http://www.cryer.co.uk/downloads/cryping/):
>
> C:\>cryping -n 1 -http cnn.com
> CryPing - from www.cryer.co.uk v1.2 (build Jan 200
> Pinging cnn.com for http status:
>
> Reply from cnn.com: 302 Found time=319ms
>
> HTTP ping statistics for cnn.com:
> Requests: Sent = 1, Responses = 1, Lost = 0 (0% loss),
> 302 Found 1 times (100%)
> Approximate round trip times:
> Minimum = 319ms, Maximum = 319ms, Average = 319ms
>
>


Answer found here:

http://209.85.165.104/search?q=cache...lnk&cd=3&gl=us

"hit ctrl-] (yep, control and the right-bracket). That will return you to a
telnet command prompt. From there you can enter the quit command (q is
sufficient) and you will be returned to your usual Windows command prompt."


 
Reply With Quote
 
Desk Rabbit
Guest
Posts: n/a
 
      03-14-2008
Spin wrote:
> Gurus,
>
> When you open up a command prompt window and run a telnet test to a host
> (for example: telnet cnn.com 80), if the test is successful (remote host is
> listening) you get a bunch of "-" marks down the left-hand side of the
> window if you keep pressing ENTER. But, how do you exit out of this?
> Frequently I have to close the CMD window and re-open so I can run a test to
> against another computer (IP host). Thoughts?
>
> --
> Spin
>
>

Linux Ctrl-D

Windows XP Ctrl-]

Your OS **** knows
 
Reply With Quote
 
Mike Easter
Guest
Posts: n/a
 
      03-14-2008
Spin wrote:

> When you open up a command prompt window and run a telnet test to a
> host (for example: telnet cnn.com 80),


I much prefer the tool IDServe over telnet.

<type cnn.com into the IDServe window, click Query>

Initiating server query ...
Looking up IP address for domain: cnn.com
The IP address for the domain is: 64.236.16.52
Connecting to the server on standard HTTP port: 80
[Connected] Requesting the server's default page.
The server returned the following response headers:
HTTP/1.1 302 Found
Date: Fri, 14 Mar 2008 15:50:57 GMT
Server: Apache
Location: http://www.cnn.com/
Content-Length: 260
Connection: close
<munge> Content-Type: text/html; charset=iso-8859-1
Query complete.

There are many more functions for IDServe; the default port is 80, but
you can use any other, such as 119 for newsservers, 25 or 110 for
mailservers, etc.

http://www.grc.com/id/idserve.htm a simple, free, small (26 kbytes),
and fast, general purpose Internet server identification utility.

--
Mike Easter

 
Reply With Quote
 
Brian Cryer
Guest
Posts: n/a
 
      03-14-2008
"Spin" <> wrote in message
news:...
> "Brian Cryer" <> wrote in message
> news:W8CdnQA60OP-...
>
>> If you are doing this to simply test that the web server is responding
>> then try cryping (free from http://www.cryer.co.uk/downloads/cryping/):
>>
>> C:\>cryping -n 1 -http cnn.com
>> CryPing - from www.cryer.co.uk v1.2 (build Jan 200
>> Pinging cnn.com for http status:
>>
>> Reply from cnn.com: 302 Found time=319ms
>>
>> HTTP ping statistics for cnn.com:
>> Requests: Sent = 1, Responses = 1, Lost = 0 (0% loss),
>> 302 Found 1 times (100%)
>> Approximate round trip times:
>> Minimum = 319ms, Maximum = 319ms, Average = 319ms
>>

>
> Answer found here:
>
> http://209.85.165.104/search?q=cache...lnk&cd=3&gl=us
>
> "hit ctrl-] (yep, control and the right-bracket). That will return you to
> a telnet command prompt. From there you can enter the quit command (q is
> sufficient) and you will be returned to your usual Windows command
> prompt."


Useful to know. Thank you for posting back.


 
Reply With Quote
 
Barry OGrady
Guest
Posts: n/a
 
      03-19-2008
"Spin" <> wrote in message
news:...
> Gurus,
>
> When you open up a command prompt window and run a telnet test to a host
> (for example: telnet cnn.com 80), if the test is successful (remote host
> is listening) you get a bunch of "-" marks down the left-hand side of the
> window if you keep pressing ENTER. But, how do you exit out of this?
> Frequently I have to close the CMD window and re-open so I can run a test
> to against another computer (IP host). Thoughts?


^]

Barry
=====
Home page
http://members.iinet.net.au/~barry.og
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Telnet - attempting to initiate a telnet session within an established telnet session Carcarius Ruby 0 12-06-2007 03:26 AM
Running out of memory gracefully thomas_okken@hotmail.com Java 9 12-14-2005 07:18 PM
Need to talk to a telnet server and send a telnet break Jim Isaacson C Programming 5 11-05-2004 09:17 PM
Gracefully Handling Logged Out User - Steve - ASP .Net 6 06-23-2004 05:06 AM
How can I telnet when I dont have specific access to a telnet client Jack B. Pollack Computer Support 4 07-24-2003 08:58 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57