1753989 Members
6504 Online
108811 Solutions
New Discussion юеВ

VI editor not running

 
SOLVED
Go to solution
akkosh
Advisor

VI editor not running

Hi,
I'm trying to install HP-UX 11i into a HP server 5430 , L1500x
The problem is that:
when i try to use the "vi" it gives no response

The system was preinstalled with HP-ux also and it was working and "vi" editor also was working but now after doing the new installation it stopped.

The old installation
HP-UX rmstell B.11.11 U 9000/800 728997631 unlimited-user license
The new installation
HP-UX prswind2 B.11.11 U 9000/800 1786927661 unlimited-user license

Could it be a Hardware problem , or the system doesnt support the HP-unix

thanks for help
12 REPLIES 12
akkosh
Advisor

Re: VI editor not running

System Hardware

Model: 9000/800/L1500-6x
Main Memory: 4096 MB
Processors: 2
OS mode: 64 bit
LAN hardware ID: 0x00306E48059E
LAN hardware ID: 0x00306E37BA24
Software ID: 1786927661
Keyboard Language: Not_Applicable
Michal Kapalka (mikap)
Honored Contributor
Solution

Re: VI editor not running

hi,

the vi edior should work.

mikap
akkosh
Advisor

Re: VI editor not running

but it doesn't
could that be due to a hardware problem ?
how could i could i know the compatibility between the system and the "vi" version
Steven Schweda
Honored Contributor

Re: VI editor not running

> when i try to use the "vi" it gives no
> response

Which "vi" is "the vi"?

What, exactly, does "gives no response" mean?

What are you using for a terminal?

echo $TERM
akkosh
Advisor

Re: VI editor not running

attached the response of the "vi"

can you please tell what do you mean by which vi???
Michal Kapalka (mikap)
Honored Contributor

Re: VI editor not running

hi,

which returns the pathnames of the files which would be executed in the current environment, had its arguments been given as commands in a strictly POSIX-conformant shell. It does this by searching the PATH for executable files matching the names of the arguments.

mikap
Bill Hassell
Honored Contributor

Re: VI editor not running

vi is the shorthand name for the actual file: /usr/bin/vi. It does show that vi is running -- your problem is with an incompatible terminal. Your picture shows that your are connected to the system console. Unfortunately, HP console connections are hardcoded to one of two possible states: vt100 and hp. It appears that you are using a terminal emulator that is vt100 but your GSP settings are for hp. You'll need to use an HP terminal (700/9x series or HP emulator such as Reflection/HP) or change the GSP to vt100 mode.

The easiest thing to change is the GSP setting. Type CTRL-B to get to the GSP prompt, then type CA. The current settings should show Terminal Type: hp

Answer Y to change local port settings, then N to leave the baud rate and flow control unchanged. Type Y to change the terminal and type vt100 for the new terminal. Save the settings.

Now go back to the HP-UX prompt with the CO command and verify your TERM value:

echo $TERM

It should say: vt100

Now when you edit a file, you will see normal characters on your screen.


Bill Hassell, sysadmin
Nido
Trusted Contributor

Re: VI editor not running

Hi,

From the screen-shot; It appears as a terminal setting problem. Try setting TERM as vt100 and see if you can invoke vi session.

try set : Its for posix shell:
TERM='vt100'; export TERM;

If it doesn't work ; let me know TERM type:
1) echo $TERM;
2) ttytype -s;

Cheers!!
" Let Villagers Be Happy!! "
Suraj K Sankari
Honored Contributor

Re: VI editor not running

Hi,

What is the error messages you are getting....?

is there any thing in syslog.log file ?

did you give the full path of vi ?
/usr/bin/vi

did you set the path of your .profile.

other user also having the same problem ?

Suraj