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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vi settings

Status
Not open for further replies.

teser

Technical User
Mar 6, 2001
194
US
My vi overwrites lines when I edit data using telnet.

I have VT-100/ansi as a setting.

Please advise how I can get my lines to look normal when I edit in vi.
 
Hit <ESC> key, then Ctrl-l. The Ctrl-l will refresh the screen. The &quot;l&quot; is a lower-case &quot;L&quot;.

The true fix would be to get the emulation set correctly. What emulation program are you using ?

Bill.
 


Using telnet from my Windows NT workstation connecting onto a Solaris 7 server.

Dont know what emulation it is.
 
What's the output of echo $TERM? vt220 seems favourite in our set-up:

export TERM=vt220

Cheers.
 
Tried this and it still has the running lines in vi editor

export TERM=vt220

There must be a way to adjust and make vi work correctly.
The [/tt]<control> <l> [/tt] works but that is a temporary fix.
 
Windows telnet supports vt100 only. Try using Hyperterminal. It supports TCP/IP connections, and has much better emulation.

Bill.
 
any idea how to get hyperterminal to connect? It keeps asking for my modem number and I am using an ethernet connection to my server IP address.
 
You need to change it to TCP/IP (Winsock). This is in the &quot;Connect Using&quot; of the connection properties.

Bill.

E-mail me at WVerzal@komint.com and I can send you screen shots, or point your browser to my web site where I have uploaded the screen shots...


Regards, Bill.
 
A) Use PuTTY instead of telnet

B) Use a small script to setup your term

eval `/usr/bin/tset -Qs \?$TERM`

it starts asking from negotiated term type and allows you to change it if you feel default incorect

note that ` in script looks like \ not /
 
I use PuTTY and $TERM=xterm. PuTTY does X emulation but not graphical. If you want to run a X gui you will want a commercial product, such as Exceed Hummingbird (or is it Hummingbird Exceed?)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top