1833777 Members
2020 Online
110063 Solutions
New Discussion

set term problem

 
SOLVED
Go to solution
Kenn Chen
Advisor

set term problem

Normally, when I su to my oracle user , system won't prompt me (TERM=hp) to input the vt100.But now, system always prompt me the set term and I need to key vt100 all the time. I have checked the .profile and env setting but it still the same problem. any idea ?
Cyber Zen
6 REPLIES 6
jim bidebo
Regular Advisor

Re: set term problem

have you tried to set the term in the .profile ?
TERM=vt100
export TERM
?
Santosh Nair_1
Honored Contributor

Re: set term problem

Typically it prompts you to enter the TERM type when it can't determine the TERM by itself using the ttytytpe command. Check your telnet client, what does IT think its terminal type is? If its not set to VT100, then try setting it to that.

Also see this forum thread for more details:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x686187dc4d7dd5118ff00090279cd0f9,00.html

-Santosh
Life is what's happening while you're busy making other plans
Animesh Chakraborty
Honored Contributor

Re: set term problem

Hi,
Are you doing su - oracle or su oracle ?
"su - oracle" will execute .profile of oracle.
Hope you have set the term in .profile.
export ORACLE_TERM=vt100
export TERM=vt100

Best of luck
Animesh

Did you take a backup?
Robin Wakefield
Honored Contributor

Re: set term problem

Hi Idris,

The prompt is being generated by the ttytype command, which is normally called in /etc/profile. I would check this file + any other login scripts to find out why the TERM is not being set properly.

Rgds, Robin.
Wodisch
Honored Contributor

Re: set term problem

Hello Idris,

instead of "ttytype" and could be the command
"tset", so look for that in "/etc/profile" and
in your "$HOME/.profile" (well, oracle's).

HTH,
Wodisch
Sanjay_6
Honored Contributor
Solution

Re: set term problem

Hi Idis,

Check your .profile and comment this line.

eval ` tset -s -Q -m ':?hp' `

make it
# eval ` tset -s -Q -m ':?hp' `

and set your term as

export TERM=vt100

or

TERM=vt100;export TERM

Hope this helps.

thanks