Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using vi when connecting with telnet

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
When I try to use telnet to connect to another machine, I have trouble with the vi editor where lines of data overlay what is on the screen.
 
You need to change your TERM setting. I don't know what it is set but yoy can find out bt echo $TERM or the env command. Term should probably be set to vt100 or ascii.
 
after getting the TERM value set and exported, also try

stty -tabs -parity

crowe
 
Hi,
you should also make sure your rows and columns are set correctly

stty -a

will give you a list of all the settings and there should be one for rows and columns. if not you should set them


stty rows 24 columns 80

you might also want to make sure your environment variable

LINES

is set to a good value.

sh/ksh
LINES=24 ; export LINES

csh
setenv LINES 24

--
 
I made a mistake, it's not acsii it's ansi. Sorry about that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top