1745790 Members
4319 Online
108722 Solutions
New Discussion юеВ

Terminal problem

 
SOLVED
Go to solution
yyghp
Super Advisor

Terminal problem

I met a problem when i finished install Pico within Pine depot:
When I tried to run "pico" under "/usr/local/bin", it always printed out:
"Unknown terminal type hpterm!", even I have tried to set TERM to "hpterm",
"vt100".
Any good idea for that ?
Thanks a lot !
11 REPLIES 11
harry d brown jr
Honored Contributor

Re: Terminal problem

Have you tried to set your "DISPLAY" variable?

live free or die
harry
Live Free or Die
yyghp
Super Advisor

Re: Terminal problem

yes, i have set the "DISPLAY" correctly.
Michael Schulte zur Sur
Honored Contributor

Re: Terminal problem

Hi,

have you done
TERM=vt100
export TERM
?

greetings,

Michael
Mark Greene_1
Honored Contributor

Re: Terminal problem

run this:

if [ "$TERM" = "" -o "$TERM" = "hp" ]
then
eval ` tset -h -s -Q `
else
eval ` tset -s -Q `
fi

and then echo $TERM to see what it gets set to.

mark
the future will be a lot like now, only later
harry d brown jr
Honored Contributor
Solution

Re: Terminal problem

I just installed it and it gave the same error it gave you.

It appears that you need to set the following to get it to work:

export TERMCAP=/usr/share/lib/termcap

live free or die
harry
Live Free or Die
yyghp
Super Advisor

Re: Terminal problem

harry d brown jr:

Thanks a lot !
You are so cool !!!
Yes, after i setup the TERMCAP, it worked!

so, i need to setup these to make pico work:

export TERM=vt100
export TERMCAP=/usr/share/lib/termcap

Thanks once again !
harry d brown jr
Honored Contributor

Re: Terminal problem

No problem. Besides, I haven't used pine in 5 years so I thought I'd give the install a whirl.

live free or die
harry
Live Free or Die
Michael Schulte zur Sur
Honored Contributor

Re: Terminal problem

Hi,

if Harry is so cool, would you be so kind to give at least him some points for his solution? ;-)

thanks,

Michael
yyghp
Super Advisor

Re: Terminal problem

10 points added !
Thanks again !