1751709 Members
4940 Online
108781 Solutions
New Discussion юеВ

TERM problem

 
SOLVED
Go to solution
gigiz
Valued Contributor

TERM problem

Hi guys,
i have a problem with my N4000 with Hp-ux11.11

If i use vi command i note in my output :
# vi pippo
vt100: Unknown terminal type
I don't know what kind of terminal you are on - all I have is 'vt100'.
[Using open mode]

If i use RESIZE command :
# resize
/usr/share/lib/terminfo/.: No such file or directory

I suspect that term lib are deleted.
How can solve it ....
HELP many point at all
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: TERM problem

Try "export TERM=hpterm".


Pete

Pete
Luk Vandenbussche
Honored Contributor
Solution

Re: TERM problem

Do you have the OS media.

Reinstall the terminfo fileset.

This must be done from command line because the gui / tui of swinstall will probably not work.

gigiz
Valued Contributor

Re: TERM problem

But if i copy by "cp -rp" command the /usr/share/lib/terminfo/ from another server ?
A. Clay Stephenson
Acclaimed Contributor

Re: TERM problem

Yes, you can copy /usr/share/lib/terminfo from another (compatible) box. You should also make sure that there is a symbolic link from /usr/lib/terminfo to /usr/share/lib/terminfo. Rather than using cp -rp, I would use tar or cpio to do the copy so that all ownerships, groups, and modes are preserved.
If it ain't broke, I can fix that.
Sp4admin
Trusted Contributor

Re: TERM problem

You can use hpterm or vt100.

TERM=vt100
export TERM

sp,
gigiz
Valued Contributor

Re: TERM problem

ok