Avatar of chima
chima
 asked on

HP-UX B.11.23 U ia64 0069082867

Hello,
I'm not a unix administrator, I simply test with unix.  
This HP-UX has the ksh
There some handy unix setups that I would like to have.
I would like to be able to have "history" set.  I believe the "Esc Tab" should work but it does not.  I am able to do histfile=500, but I can't get the history on commands.

I would would like to have vim.  I now only have vi and I do not like it as much as I like vim.

In vi I would like to have the "searched" word "highlighted, so I need to know how to set that.
I found nohl, but is there a yeshl ???

Where is the .vimrc file?

thanks
Unix OSShell Scripting

Avatar of undefined
Last Comment
chima

8/22/2022 - Mon
chima

ASKER
I know that the .vimrc is in one's home directory, yet could there be one for multiple user logins?  We have several "needed" user logins, which we need to use depending on the purpose.
Julian Parker

chima

ASKER
jools, I was hoping simply to download the vim software with a simple expansion of the tar file.  Following your suggestion;  I tried the hg command on my HP-UX (which I would think it would have), but it did not work.  Do I need to install Mercurial  into my HP-UX?
It appear so.  Where would I find it?  I am now at; http://www.vim.org/mercurial.php and will search for an hg installation.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Julian Parker

Can you register on the link I posted? It should give you access to the depot file.
chima

ASKER
jools, I did register.  I will look at it again to see what I missed.  Now I know why the Admin did not jump to install it, when I asked why that server did not have it.
Might you know about the ksh history settings for the HP-UX?
Julian Parker

What setting do you have in mind?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
chima

ASKER
To all;
I still want to do this, yet been busy with other tasks.  I will get to it this week.
thanks
Julian Parker

ok, just post back when you get 5
chima

ASKER
To all, this is my direction now.  Instead of installing vim, I find that installing bash would get me vim as well.  So I ask; Is the tar file at this link http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Shells/bash-4.2.039/bash-4.2.039-src-11.11.tar.gz+bash-4.2.039/HPUX.Install+text
the binaries to simply install bash or would I have to compile this code?

I would hope that I could simply install bash and not have to compile it.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
chima

ASKER
The version of HP-UX we have is ia64 1062901774   I am told that possibly I can find and download a compiled version of bash and then installed it, without needing to comply it.  So, I ask; where might a safe website with this binary be?  Do you know the url?

Internet and yes are not acceptable answers  :)
ASKER CERTIFIED SOLUTION
Julian Parker

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
chima

ASKER
jools, thanks, still been busy, but I will get to it this weekend.  thanks
chima

ASKER
thanks
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.