Solved

HP-UX  B.11.23 U ia64 0069082867

Posted on 2012-12-26
13
604 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access Required to Read Linux Security Settings and User Permissions 13 114
Convert curl speed_dwonload to Mbps 29 101
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 76
unix example issues 18 75
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

895 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

17 Experts available now in Live!

Get 1:1 Help Now