[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Telnet?



On Sun, 29 Jun 2003, Jim DeClercq wrote:

> That is nice, but my want is to use a telnettable host's version
> of Pine to read my rather extensive mail.
> 
> I have had my TERM variable set to vt100, and nothing changed. It
> came unset, and will not re-set, but that is not the problem. I
> have a version of Pine sending me vt100 commands, and I have, as
> far as I know, a telnet that only understands vt52 commands. That
> is, the one in the SpareMiNT distribution.
> 
> I asked a simple, I hoped, question. Where is the source code for
> the latest version of BSD telnet? Or, what other source code, and
> there should be one or more, can I recompile directly, or almost
> directly, using MiNT libraries?

I haven't been following this discussion, but I think you may be suffering
from a misconception about the nature of the problem.

The telnet program knows nothing about terminal types. It just passes
characters between your local host and the remote host you are talking to.
You don't need a better telnet client to get vt100.

What you *do* need is to run telnet on a VT100 (compatible) terminal.
Toswin is nearly VT100 compatible so you can use that. Last time I
checked, the MiNT console and virtual consoles only did VT52, so those
won't be suitable. But I used to use a program called screen which, among
other things, could give you VT100 on a VT52 terminal.

You could also configure the remote host for a VT52 instead of VT100, by
doing something like

export TERM=vt52

In the general case, your terminal simply needs to be compatible with the
terminal type the system you are using is configured for. Whether you are
using telnet or not does not come into it at all.

-- 
Mario Becroft <mb@gem.win.co.nz>
http://gem.win.co.nz/mb/