Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 1997 21:10:04 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Chris Coleman <chris@bb.cc.wa.us>
Cc:        questions@FreeBSD.ORG
Subject:   Re: set term = vt100
Message-ID:  <Pine.BSF.3.96.970825210443.2930Q-100000@localhost>
In-Reply-To: <Pine.NEB.3.94.970825165312.27572A-100000@bb.cc.wa.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Aug 1997, Chris Coleman wrote:

> I get the message "you term of type "dialup" does not have the features to
> run 'pine'"  I know I can type set term = vt100 to make it work.
> 
> But how to I automate it so that I don't have to type it in by hand, short
> of putting that line in the .login script

.login is okay.

> What I want is the correct way to make it know that types 'ansi' 'dialup'
> and 'unknown' are really 'vt100'  and if I used a different type of
> connection it would recognize it for what it was.

You'd have to hack /etc/termcap and add aliases for `dialup' to
`vt100'.

Find the `dialup' profile in there and change

:tc=unknown:

to 

:tc=vt100:

Changing `ansi' is a bit tougher since it's intentionally pessimistic and
since the vt100 commands aren't part of the ANSI terminal standard.  For
those people, have them put `set term=vt100' into .login, or convince
their terminals to use a different terminal type and/or response string. 

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
Spam routed to /dev/null by Procmail    | Death to Cyberpromo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970825210443.2930Q-100000>