Solved

HP-UX  B.11.23 U ia64 0069082867

Posted on 2012-12-26
13
601 Views
Last Modified: 2013-02-06
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
0
Comment
Question by:chima
  • 8
  • 5
13 Comments
 

Author Comment

by:chima
ID: 38723999
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.
0
 
LVL 19

Expert Comment

by:jools
ID: 38724237
0
 

Author Comment

by:chima
ID: 38725158
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.
0
 
LVL 19

Expert Comment

by:jools
ID: 38725220
Can you register on the link I posted? It should give you access to the depot file.
0
 

Author Comment

by:chima
ID: 38727322
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?
0
 
LVL 19

Expert Comment

by:jools
ID: 38727558
What setting do you have in mind?
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:chima
ID: 38753045
To all;
I still want to do this, yet been busy with other tasks.  I will get to it this week.
thanks
0
 
LVL 19

Expert Comment

by:jools
ID: 38753057
ok, just post back when you get 5
0
 

Author Comment

by:chima
ID: 38771122
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.
0
 

Author Comment

by:chima
ID: 38776374
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  :)
0
 
LVL 19

Accepted Solution

by:
jools earned 500 total points
ID: 38776444
0
 

Author Comment

by:chima
ID: 38845631
jools, thanks, still been busy, but I will get to it this weekend.  thanks
0
 

Author Closing Comment

by:chima
ID: 38861890
thanks
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now