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

RE: vi won't work with any TERM setting



try this to set the TERM variable (this is for bash, similar syntax in
others shells - check sys admin guide for details):

username@yourhost$> sh					// change to bash shell
username@yourhost$> TERM=vt100				// set TERM to generic vt100
username@yourhost$> export TERM				// export as env. variable

then try 'telnettting' ...

tks
Andrew

-------------------------------------------------
Andrew McRobert LLB B.Sc(Comp. Sci)
IT Liaison Officer, School of Law
MURDOCH UNIVERSITY
Perth, Western Australia
Ph: [+61 8 9360 6479]
Fax: [+61 8 9310 6671]
e-mail: mcrobert@central.murdoch.edu.au
"Linux: The Choice of a GNU Generation"


-----Original Message-----
From: r.l. [mailto:rl@ses.tas.gov.au]
Sent: Monday, August 14, 2000 1:24 PM
To: Andrew McRobert
Subject: RE: vi won't work with any TERM setting


>... when you log into the potato box, what's the value of the TERM
>environment value (get this by typing "env").

TERM=unknown
Which is rather odd. vi will then complain as 'unknown' is not - obviously
- in terminfo.

Any ideas?

Thanks.

Rolf.


>-----Original Message-----
>From: r.l. [mailto:rl@ses.tas.gov.au]
>Sent: Monday, August 14, 2000 1:09 PM
>To: debian-user@lists.debian.org
>Subject: vi won't work with any TERM setting
>
>
>hello
>
>Problem is that no matter what TERM setting I use, and I've tried everyone
>listed in terminfo, I cannot get vi to operate correctly. The closest TERM
>value is 'sun' which will use the full screen idea ok but neither the
>cursor keys nor h/j/k/l will move about the page. Other TERMs produce
>rather worse responses.
>
>I've also tried stty sane and looked at individual stty options, to no
>avail.
>
>I am connecting to 'potato' via telnet from a solaris box which I interact
>with via an OpenWindows xterm. I have also tried a vanilla telnet app. and
>get the same results.
>
>I am new to debian, having arrived here from Solaris via (a brief stop at)
>redhat. Not being able to edit files is a bit of a handicap at this early
>stage.
>
>Any help much appreciated.
>
>Thanks
>
>Rolf.
>
>
>--
>Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org <
>/dev/null
>
>
>--
>Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org <
/dev/null
>
>



Reply to: