Difference between revisions of "Telnet"

From NetHackWiki
Jump to navigation Jump to search
(rearrange and reword, plus add link to wikipedia's Telnet article.)
(How to fix windows telnet.exe)
Line 5: Line 5:
 
  telnet nethack.alt.org
 
  telnet nethack.alt.org
  
Most Windows users seem to prefer [[PuTTY]], which can do telnet and is more feature-rich than the default telnet.exe.
+
It should be noted that no command line interface is quite the same as any other, and thus connecting through telnet to a server on different computers may cause strange results, especially if [[DECgraphics]] or [[IBMgraphics]] are used.
  
It should be noted that no command line interface is quite the same as any other, and thus connecting through telnet to a server on different computers may cause strange results, especially if [[DECgraphics]] or [[IBMgraphics]] are used.
 
  
 +
==Windows telnet==
 +
Most Windows users seem to prefer [[PuTTY]], which can do telnet and is more feature-rich than the default telnet.exe. If, however, you're forced to use the Microsoft telnet.exe, be aware that it by default it uses it's own broken ANSI terminal emulation. This causes programs such as [[dgamelaunch]] to show up messed up displays on your end. To fix this, set telnet.exe preferred emulation to vt100:
 +
# Start -> run -> telnet
 +
# Press 'd' and enter to display the current settings. There should be a line that says <tt>Preferred Term Type is ANSI</tt>
 +
# Type in <tt>set term vt100</tt> and press enter.
 +
# Press 'q' and enter to quit telnet.exe; the terminal type is saved automatically.
 
[[Category:Utilities]]
 
[[Category:Utilities]]

Revision as of 14:36, 19 October 2009

Telnet is a command line program used to connect to public servers. Almost all operating systems include a telnet client by default. For example, you may connect to nethack.alt.org to play NetHack online by typing

telnet nethack.alt.org

It should be noted that no command line interface is quite the same as any other, and thus connecting through telnet to a server on different computers may cause strange results, especially if DECgraphics or IBMgraphics are used.


Windows telnet

Most Windows users seem to prefer PuTTY, which can do telnet and is more feature-rich than the default telnet.exe. If, however, you're forced to use the Microsoft telnet.exe, be aware that it by default it uses it's own broken ANSI terminal emulation. This causes programs such as dgamelaunch to show up messed up displays on your end. To fix this, set telnet.exe preferred emulation to vt100:

  1. Start -> run -> telnet
  2. Press 'd' and enter to display the current settings. There should be a line that says Preferred Term Type is ANSI
  3. Type in set term vt100 and press enter.
  4. Press 'q' and enter to quit telnet.exe; the terminal type is saved automatically.