Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Thu, 16 Mar 2006 11:58:55 -0500,    group: microsoft.public.platformsdk.networking        back       


Telnet in DOS   
Not sure if this is the right place, but here goes.

I've been trying to learn about networking and have started by trying the 
TELNET command (XP-MCE-SP2). When I run the TELNET www.somhost.com 80 in a 
DOS window, the prompt comes back, but I can't see the characters I type. I 
can type in a command (i.e. GET...), and it works, but why can't I see as 
I'm typing?  (other DOS commands work fine; just TELNET).

Thanks.
date: Thu, 16 Mar 2006 11:58:55 -0500   author:   James Kirk

Re: Telnet in DOS   
James Kirk wrote:
> Not sure if this is the right place, but here goes.
>
> I've been trying to learn about networking and have started by trying
> the TELNET command (XP-MCE-SP2). When I run the TELNET
> www.somhost.com 80 in a DOS window, the prompt comes back, but I
> can't see the characters I type. I can type in a command (i.e.
> GET...), and it works, but why can't I see as I'm typing?  (other DOS
> commands work fine; just TELNET).

Because unlike other (local) commands by default telnet does not echo what 
you type to the standard output. Instead it outputs what the remote host 
sends you. For the actual Telnet protocol the remote host sends you back 
more or less what you have typed so you get almost the same result as using 
a local command. However other protocols (such as HTTP) do not specify any 
kind of echo so you see nothing when you type even though the data is sent 
to server.
If you want the telnet itself to echo what you type you can  press Ctrl + ] 
and then 'set localecho'.


-- 
Eugene
http://www.gershnik.com
date: Thu, 16 Mar 2006 10:25:52 -0800   author:   Eugene Gershnik

Re: Telnet in DOS   
Thanks for the tip. I'll give it a go.

"Eugene Gershnik"  wrote in message 
news:OV%23DQcSSGHA.4168@tk2msftngp13.phx.gbl...
> James Kirk wrote:
>> Not sure if this is the right place, but here goes.
>>
>> I've been trying to learn about networking and have started by trying
>> the TELNET command (XP-MCE-SP2). When I run the TELNET
>> www.somhost.com 80 in a DOS window, the prompt comes back, but I
>> can't see the characters I type. I can type in a command (i.e.
>> GET...), and it works, but why can't I see as I'm typing?  (other DOS
>> commands work fine; just TELNET).
>
> Because unlike other (local) commands by default telnet does not echo what 
> you type to the standard output. Instead it outputs what the remote host 
> sends you. For the actual Telnet protocol the remote host sends you back 
> more or less what you have typed so you get almost the same result as 
> using a local command. However other protocols (such as HTTP) do not 
> specify any kind of echo so you see nothing when you type even though the 
> data is sent to server.
> If you want the telnet itself to echo what you type you can  press Ctrl 
> + ] and then 'set localecho'.
>
>
> -- 
> Eugene
> http://www.gershnik.com
>
>
date: Fri, 17 Mar 2006 17:12:05 -0500   author:   James T. Kirk

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us