General
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: tput: unknown terminal "hpterm"

 
Occasional Contributor

tput: unknown terminal "hpterm"

pls help , when i open the unix window i am getting this error and not able to open the vi properly
2 REPLIES 2
Honored Contributor

Re: tput: unknown terminal "hpterm"

At what are you sitting?

> [...] when i open the unix window [...]

What does this mean? What, exactly, are the
commands you're using? Is the "unix" system
an HP-UX system, perhaps? This is a Linux
forum. Is a Linux system involved here?
Honored Contributor

Re: tput: unknown terminal "hpterm"

Hi,

see 'man tput':
The tput command recognizes the following command-line arguments:
-Ttype Indicates the type of terminal. Normally this flag is unnecessary because the default is taken from the environment variable TERM.

Check with 'env' your environment variable 'TERM'.
Also check if 'hpterm' exists: 'which hpterm' -> /usr/bin/X11/hpterm
Else use for example 'dtterm' or 'vt200' as terminal type.

Else - please give us more informations!

Volkmar
*** Say 'Thanks' with Kudos ***