Solved

HP-UX  B.11.23 U ia64 0069082867

Posted on 2012-12-26
13
606 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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
 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

809 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