Operating System - NonStop OS
1752295 Members
5068 Online
108786 Solutions
New Discussion

Re: ssh from remote linux instance | TERM compatibility

 
egia
Frequent Visitor

ssh from remote linux instance | TERM compatibility

Hi,

Please, I looking for clarification, what is the correct TERM cofiguration to match HPE OSS xterm.
I have non printable characters making noise on my prompt and vim.

 

Thanks in advance, Eduardo

Eduardo Giannattasio
1 REPLY 1
Ihaqueit
Trusted Contributor

Re: ssh from remote linux instance | TERM compatibility

Almost all applications now use terminfo instead of termcap.

untic xterm > xtermw.tic
vi xtermw.tic
# change 'xterm' to 'xtermw' and '80' to '132'
tic xtermw.tic

The new definition will be stored as /usr/lib/terminfo/x/xtermw. If you don't have a root login you can still make new terminfo definitions for yourself by exporting a directory name in the TERMINFO environment variable as documented in
'man 4 terminfo'.

I Haq