[wellylug] Telnet

Grant McLean grant at mclean.net.nz
Wed Nov 24 09:01:16 NZDT 2004


On Tue, 2004-11-23 at 23:58, Steven Mulvay wrote:
> I was just wondering, does the telnet application that's built into
> the shell support IBM-Extended ASCII as well as PCI-ANSI?

Hmm not quite sure what you mean there.

There is no telnet application "built into the shell".  If you're at a 
shell prompt and you type 'telnet hostname' then your shell process 
starts up /usr/bin/telnet and the shell process then sleeps until the 
telnet process exits.  The telnet process may do a bit of negotiation 
of options with the remote server, but after that, it pretty much just 
passes through all characters from the remote server to your local 
terminal emulator window (or console driver if you're not in X).

How different characters from the server are represented on your screen
is entirely up to your terminal emulator and neither the shell nor the 
telnet process play a part in that.

I'm also not sure what you mean by "IBM-Extended ASCII".  Are you 
referring to the box and line drawing characters from the original PC 
BIOS?  Some terminal emulators may support these, I don't know, but 
it's probably more common for applications to use VT100/Xterm/ANSI 
escape sequences for such things.

And finally, who uses telnet anyway?  :-)

Cheers
Grant




More information about the wellylug mailing list