Solved

HP-UX  B.11.23 U ia64 0069082867

Posted on 2012-12-26
13
611 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Control Number of Log Files -Perl 7 94
How to make a Bash alias that takes parameters 5 84
awk sed 8 111
AWK: Pytthagoras bp script Part deux 22 43
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
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.

733 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