HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HISTORY COMMANDS WITH ARROW KEY NOT WORKING ON 11....
Operating System - HP-UX
1831406
Members
3726
Online
110025
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-23-2008 03:59 AM
04-23-2008 03:59 AM
HISTORY COMMANDS WITH ARROW KEY NOT WORKING ON 11.31
I have installed hpux 11.31 and In the .profile I am using following entries
export HISTFILE=/.sh_history
export HISTSIZE=100
set -o emacs
alias __A=^p
alias __B=^n
alias __C=^f
alias __D=^b
alias __O=^O
Now the problem is these settings are working fine on the server running B.11.23 but the same are not working on OS B.11.31
that I have did not correct?
export HISTFILE=/.sh_history
export HISTSIZE=100
set -o emacs
alias __A=^p
alias __B=^n
alias __C=^f
alias __D=^b
alias __O=^O
Now the problem is these settings are working fine on the server running B.11.23 but the same are not working on OS B.11.31
that I have did not correct?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2008 04:14 AM
04-23-2008 04:14 AM
Re: HISTORY COMMANDS WITH ARROW KEY NOT WORKING ON 11.31
Unless there's a compelling reason I suggest use bash as your shell to login.
I do that now and all those little gotchas seem to have gone away.
Still script in POSIX though.
I do that now and all those little gotchas seem to have gone away.
Still script in POSIX though.
The Devil is in the detail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2008 08:14 PM
04-23-2008 08:14 PM
Re: HISTORY COMMANDS WITH ARROW KEY NOT WORKING ON 11.31
in the profile i am enteries
SHELL=/bin/bash
but did not help
SHELL=/bin/bash
but did not help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2008 08:44 PM
04-23-2008 08:44 PM
Re: HISTORY COMMANDS WITH ARROW KEY NOT WORKING ON 11.31
I think these aliases are 'shell' specific. For 'ksh' you need to specify this, I don't think this is required for bash.
Try this: Remove these aliases, login from another terminal, make sure you are on 'bash', now use the arrow keys.
Try this: Remove these aliases, login from another terminal, make sure you are on 'bash', now use the arrow keys.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP