*BSD News Article 83556


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!leon.replicant.apana.org.au!usenet
From: tedp@replicant.apana.org.au (Ted Palmer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Terminal Types??
Date: Mon, 25 Nov 1996 12:22:47 GMT
Organization: RC17 Proving Labs
Lines: 46
Message-ID: <57c3cp$9s9@leon.replicant.apana.org.au>
References: <848259518.27827@dejanews.com>
Reply-To: tedp@replicant.apana.org.au
NNTP-Posting-Host: deckard.replicant.apana.org.au
X-Newsreader: Forte Free Agent 1.0.82

exuviae@intersurf.com wrote:

[...]
>of that nature.  is there anyway i can set it to VT100 or 
>something that would allow full screen editing???

I copped this once from an ISP, until I figured it out.

First, see what terminal your shell _thinks_ you are using by:

# set | more

and see what the TERM setting is.
It may not even be set to anything.
Secondly, what are you dialling in with? Assuming your terminal or 
emulator can do a fair impersonation of a VT100, you could
read the termcap your ISP is using to get the list of available
terminal types eg

# more /etc/termcap

(assuming the termcap is that location, of course...)
This could be useful to see exactly what the VT100 entry is
precisely called.

If you are using Bourne shell or some clone (likely), you could try:

# TERM=vt100   <return>
# export TERM   <return>

Upper/lower case is important, which is why I mentioned the view of
the termcap entry. You may need a TERM=VT100, or TERM=vt-100
or something a little different like that.
Any decent termcap entry will have these variations, but you can't
count on it.
To test it, try to vi the previous TERM=(whatever);export TERM
commands into the .profile which you should have in your home dir.
If you can't get some type of VT100 to work, try VT102.

Mister_T
-- 
   \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
   |   RC17   KLR600    Coherent 4.2.10    OS/2 2.11    Roces BCN    |
   |    FreeBSD 2.1.5R              tedp@replicant.apana.org.au      |
  \|_________________________________________________________________|