GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- TERM on console with bash
Operating System - HP-UX
1849082
Members
8690
Online
104041
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
Forums
Discussions
back
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
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
02-23-2004 07:35 PM
02-23-2004 07:35 PM
TERM on console with bash
On the HP-UX console the bash command history not working well. The previous command cames up with the "up arrow" button in normal ssh session but not in the console. By pushing the up arrow button the cursor goes up a line on the screen.
With ksh the "ESC and -" works well in the consol also. How/what to setup to have this feature working with bash in the consol? TERM=hp didn't help.
Any idea will be appreciated...
With ksh the "ESC and -" works well in the consol also. How/what to setup to have this feature working with bash in the consol? TERM=hp didn't help.
Any idea will be appreciated...
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 07:41 PM
02-23-2004 07:41 PM
Re: TERM on console with bash
It's quite a complicated termcap type thing. IT might be easier to just do this
ESC followed by k for up, j for down, h for left and l for right.
ESC followed by k for up, j for down, h for left and l for right.
Never preceed any demonstration with anything more predictive than "watch this"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 07:41 PM
02-23-2004 07:41 PM
Re: TERM on console with bash
Hi,
Try
# export TERM=vt100
Robert-Jan
Try
# export TERM=vt100
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 07:47 PM
02-23-2004 07:47 PM
Re: TERM on console with bash
And it is generally considered a bad idea to have root running any shell but 'sh', at least for the login shell.
There is - of course - no harm in starting bash, ksh, tcsh, csh, ... from the shell prompt to get the interaction you like, but having a non-standard shell as login shell might bite you severe on update/install/remove processes
Enjoy, Have FUN! H.Merijn
There is - of course - no harm in starting bash, ksh, tcsh, csh, ... from the shell prompt to get the interaction you like, but having a non-standard shell as login shell might bite you severe on update/install/remove processes
Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
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 2026 Hewlett Packard Enterprise Development LP