Operating System - HP-UX
1751975 Members
4570 Online
108784 Solutions
New Discussion юеВ

changing terminal from single-user mode

 
SOLVED
Go to solution
d_bachelor01
Frequent Advisor

changing terminal from single-user mode

Hi Guys,

I am on single user mode then I tried to run th evi command when I had this error "I don't know what kind of terminal you are on - all I have is 'unknown'. How can I change the terminal type so that I could edit the file?

Regards,
-jef
3 REPLIES 3
Pete Randall
Outstanding Contributor
Solution

Re: changing terminal from single-user mode

Generally, something like "export TERM=hp" should do the trick.


Pete

Pete
Torsten.
Acclaimed Contributor

Re: changing terminal from single-user mode

You have to set the variable to the type of terminal you are using.

Most PC based emulators use vt100, in this case do

export TERM=vt100

but better check the setting of your terminal (emulator).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
d_bachelor01
Frequent Advisor

Re: changing terminal from single-user mode

export TERM=xterm did the trick.

Thanks Pete and Torsten!

-jef