Ted Hajek writes:
>On Tue, 19 Sep 1995, Dale Scheetz wrote:

>> I'm currently running kernel version 1.2.13 Rev 2. When I try to
>> run pine on the PPP connection I get the error: Terminal type
>> "linux", is unknown.  This sounds somewhat familiar. (Just recently
>> in this mail list) Any ideas? Pine will not run, naturaly.
>
>When this sort of thing happens, I usually do:
>  setenv TERM vt100
>or 
>  export TERM=vt100
>depending on whether I'm using tcsh or bash as my shell.
>
>This seems to do the trick.
>
>I'm sure that there's a better way to do this -- I assume that
>applications should recognize the "linux" terminal type.  I'll look
>into this the next time I update the pine package.

I think what's going on here is that Dale is running Pine on a machine
the other side of the PPP connection?

The most general solution is to get Sun, SCO, Novell, ... to add
`linux' to their termcap/terminfo.  I guess this isn't going to happen
immediately.

One could have something the following as a telnet wrapper...

        #!/bin/sh
        if test "$TERM" = linux -o "$TERM" = console
        then
                export TERM=vt100
        fi
        exec telnet "$@"

Fixing term{info,cap} is a much more sensible solution.

-- 
Richard Kettlewell  [EMAIL PROTECTED]  http://www.elmail.co.uk/staff/richard/

Reply via email to