Operating System - HP-UX
1833163 Members
3399 Online
110051 Solutions
New Discussion

User specific terminfo database?

 
SOLVED
Go to solution
Alexander Skwar
Frequent Advisor

User specific terminfo database?

Hello!

I usually connect from a system which sets TERM=screen or TERM=gnome. When I connect to a HP-UX 11.11 system, I get

tput: unknown terminal "gnome"

Now, that's because the system doesn't know what a "gnome" TERM can and cannot do.

To "inform" the system about the capabilities, under Linux I'd create a file in ~/.terminfo/g/gnome. HP-UX doesn't seem to care about this file - it seeems I've got to copy the file to /usr/share/lib/terminfo on HP-UX. But that's obviously a system directory.

Is there a way to make HP also use the user specific ~/.terminfo directory structure?

Thanks,

Alexander
2 REPLIES 2
Jonathan Fife
Honored Contributor
Solution

Re: User specific terminfo database?

It should be reading the TERMINFO environment variable, and if that is not set going to a system default.

Try setting TERMINFO=$HOME/.terminfo

Jon
Decay is inherent in all compounded things. Strive on with diligence
Alexander Skwar
Frequent Advisor

Re: User specific terminfo database?

Thanks a lot, this exactly helped! Thing is, on Linux, I don't need to do this. But setting an env. var. isn't a problem, so your help was VERY much appreciated!

Bye!