The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Pseudo-terminal will not be allocated because stdin is not a terminal. Shivdatta UNIX for Advanced & Expert Users 1 08-04-2008 10:29 AM
How to have color coded Terminal display,(like linux) wrapster Shell Programming and Scripting 5 05-22-2008 04:45 AM
Tab completion in csh James McMurray Shell Programming and Scripting 3 12-12-2007 10:31 AM
Tab Completion on Solaris 10 annointed3 UNIX for Dummies Questions & Answers 2 01-04-2006 10:25 AM
connecting to unix through hyper terminal - as a dumb terminal michelle UNIX for Advanced & Expert Users 2 11-05-2001 03:32 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-06-2004
clockworks clockworks is offline
Registered User
  
 

Join Date: Jul 2004
Posts: 5
color terminal and tab completion?

hello,
i'm a linux zealot (fedora), so i know a some about unix. the company i work for uses HP-UX though and there are a few quirks i'd like smooth out by making them work more like my beloved redhat type systems...=)

right now they have all users using ksh and completion is done by hitting Esc twice. is there any way to make a single press of the Tab key do completion? or is this a shell thing and my best bet is to get them to install bash?

also, when i work on the HP-UX machines, i usually telnet in from my fedora linux machine (using Konsole). i notice there is no color. i'm a developer and i heavily rely on vim's color syntax highlighting when coding. is there any way to get colors working?

thanks for the help.
  #2 (permalink)  
Old 07-13-2004
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
As for colour syntax highlighting - this is because HP-UX uses vi , not vim - vi doesn't have syntax highlighting - this is a VI iMproved feature..... As long as you're using an ANSI compliant terminal then colour will "work" - (try my "cecho" script )

And as for tab filename completion, this is a shell issue. The public domain Korn Shell (pdksh) has a vi-tabcomplete option, but the "real" ksh as supplied with HP-UX does not. You can either use ESC twice, or ESC then \ to do completion.
  #3 (permalink)  
Old 07-13-2004
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
To get vim, pdksh, or any other free software for HP-UX, see this.
  #4 (permalink)  
Old 07-13-2004
clockworks clockworks is offline
Registered User
  
 

Join Date: Jul 2004
Posts: 5
thank you for the replies, guys.

ok, i meant to say that i've already compiled and installed vim-6.3 from source. when i open some c source and type :syntax on, no colors show up...it merely underlines some keywords and boldfaces some others...still all black and white.

your cecho script works though. so this leads me to believe that vim needs to be recompiled with some flag saying that it will be run on an ANSI terminal?

also, will compiling/installing bash from source allow me to have "normal" tab completion? =) are there any weird caveats to installing a new shell?

thanks again.
  #5 (permalink)  
Old 06-16-2009
LinuxRacr LinuxRacr is offline
Registered User
  
 

Join Date: Aug 2007
Location: DFW, Texas
Posts: 60
Here's the link you need to follow: Building vim with color on HP-UX - Vim Tips Wiki
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0