- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- about csh under HP-UX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2001 04:58 PM
тАО09-27-2001 04:58 PM
about csh under HP-UX
"EDITOR=vi" in ksh,but how can do the same is csh?
thanks.
mingzheng huo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2001 05:19 PM
тАО09-27-2001 05:19 PM
Re: about csh under HP-UX
I don't believe you can do "command line editing" in csh.
you can get the history of commands using "history"
Commands from the history can be recalled using the exclamation point. For example, !! repeats the previous command, !25 re-types command number 25 from the history, and !-2 re-types the second line previous to the current line.
You will have to use tcsh
(tcsh is C shell with file name completion, command line editing and other features such as enhanced variable modifiers )or ksh or bash or one of the many other shells which allows command line editing.
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2001 09:38 PM
тАО09-27-2001 09:38 PM
Re: about csh under HP-UX
If you want command line completion 'tcsh' is the way to go. You can the already compiled version from the below link.
http://hpux.connect.org.uk/hppd/hpux/Shells/tcsh-6.10.00/
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2001 10:18 PM
тАО09-27-2001 10:18 PM
Re: about csh under HP-UX
Ramesh is right.
For command line completion use
root#set filec
for that.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2001 12:21 AM
тАО09-28-2001 12:21 AM
Re: about csh under HP-UX
http://www.tcsh.org
Or alternativerly you can use zsh or GNU's bash:
http://zsh.sunsite.dk
http://www.gnu.org/software/bash/bash.html
Or my favorite, stick with the posix shell (/usr/bin/sh on HPUX). It takes a little while getting used to, but has lots of nice features and its a standard part of the HPUX distribution.
-Santosh