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

output of vi during RSC or tip session

Status
Not open for further replies.

dbbyleo

IS-IT--Management
Sep 10, 2002
20
US
I connect to my SunFireV480 via the RSC console (I also use telnet and tip). In any cases, whenever I'm RSC'ing or tipping to a server, I get a bad output on my screen when I VI a file.

So far I have set TERM=ansi and EDITOR=vi.

Please help. This server is headless and this is my only form of communicating to it. Thanks.
 
Did you "export TERM" ?

Is your terminal emulator actualy ANSI compliant - try vt100 - as that is what ansi extended from.
 
You coulg try another emulation like TERM=vt100 and see if that is any better.
 
Yes, I did export TERM.

I have tried setting EXPORT=vt100 and still no difference.
 
Here something I found.

When I am vi'ing a file, it is only when I am at the last line of the file where the output gets giberish. When I'm at the top of middle of the file, things work fine.

Y'all experience this when tipping or using RSC console?
 
dbbyleo, the syntax is:

[tt]TERM=vt100
export TERM[/tt]

Also make sure your terminal is using 24 lines x 80 columns for vt100.

Annihilannic.
 
TERM=vt100
export TERM

I have tries doing this as well, but no difference.
Anyone else have any other suggest. Again, the situation is this:

I am telnet'ed into serverA from a PC. Then tip into serverB.
 
Also check the stty -a output to ensure rows and columns are set to the correct values.

If not, type stty rows 24 columns 80 (or similar) to set the correct values.

Annihilannic.
 
Whenever I hit terminal type problems with a cu/tip
connection on the editing front, I just use the standard
line editor 'ed' rather than vi.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top