- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Personalising env in /etc/profile
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
Forums
Discussions
Discussions
Discussions
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
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
05-13-2003 02:58 AM
05-13-2003 02:58 AM
Personalising env in /etc/profile
I am accessing a HP-UX box using Reflections to open an X-client session. However, I cannot use the backspace key nor recall previous commands using the esc k keys. What do I need to change in the /etc/profile file to make these permanent changes?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 03:00 AM
05-13-2003 03:00 AM
Re: Personalising env in /etc/profile
type ksh.
type set -o vi.
wlah!!! now you can use the esc k.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 03:03 AM
05-13-2003 03:03 AM
Re: Personalising env in /etc/profile
and then "set -o vi".
The backspace key is a Reflections setup issue. Make sure that, in the keyboard settings under XClient Manager, you DO NOT have the "Backspace key sends delete" item checked.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 03:05 AM
05-13-2003 03:05 AM
Re: Personalising env in /etc/profile
How do I assign points?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 03:06 AM
05-13-2003 03:06 AM
Re: Personalising env in /etc/profile
I don't think you should change anything in /etc/profile. Instead, create a file in your home directory called (for ex.) .shrc
In your $HOME/.profile add the following:
ENV=$HOME/.shrc ; export ENV
And, if you use CDE, in $HOME/.dtprofile:
DTSOURCEPROFILE=true
To set backspace, add the following to .shrc
stty erase ^?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 03:17 AM
05-13-2003 03:17 AM
Re: Personalising env in /etc/profile
Then, because there have been some issues with point assignments not taking, go back to the question and double check. If you don't see points, assign them again. It sometimes takes a couple of tries.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 03:18 AM
05-13-2003 03:18 AM
Re: Personalising env in /etc/profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 05:58 AM
05-13-2003 05:58 AM
Re: Personalising env in /etc/profile
export HISTSIZE=15000
export HISTFILE=$HOME/.sh_history
will do the trick for the history command
Setting the backspace / erase is correct above.
Tim