HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Newbie question--.profile
Operating System - HP-UX
1834514
Members
2382
Online
110068
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
Go to solution
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-07-2002 08:17 PM
02-07-2002 08:17 PM
I am trying to write a generic .profile for the ex-VMS/dec unix users in my group. 2 questions:
1. How can I map the arrow keys to do the function of esc k, esc j etc...
2. Is there a way to set up my enviroment so that after recalling the previous command(esc k)I can edit the command without using VI commands? Set -o emacs does not seem to work.(stty?)
Also any other helpful tips on making the transition from VMS/dec unix would be greatly appreciated.
1. How can I map the arrow keys to do the function of esc k, esc j etc...
2. Is there a way to set up my enviroment so that after recalling the previous command(esc k)I can edit the command without using VI commands? Set -o emacs does not seem to work.(stty?)
Also any other helpful tips on making the transition from VMS/dec unix would be greatly appreciated.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 08:32 PM
02-07-2002 08:32 PM
Solution
Hi,
By default using the korn shell under HPUX
you will get this functionality. There is a
default .profile from /etc/skel in conjunction
with an setup like below will work.
e.g. a user account from the /etc/passwd file
myaccount:fGFQPN4l/vD1w,A/1O:105:20:User account:/home/user:/usr/bin/ksh
HTH
-Michael
By default using the korn shell under HPUX
you will get this functionality. There is a
default .profile from /etc/skel in conjunction
with an setup like below will work.
e.g. a user account from the /etc/passwd file
myaccount:fGFQPN4l/vD1w,A/1O:105:20:User account:/home/user:/usr/bin/ksh
HTH
-Michael
Anyone for a Mutiny ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 11:38 PM
02-07-2002 11:38 PM
Re: Newbie question--.profile
Hello,
if you are running X-windows, you could try to map the cursor keys to the vi-sequences (Esc- and H/J/K/L)...
You would have to modify the terminfo data for this, too, though, and set $TERM accordingly :-(
Just an idea,
Wodisch
if you are running X-windows, you could try to map the cursor keys to the vi-sequences (Esc- and H/J/K/L)...
You would have to modify the terminfo data for this, too, though, and set $TERM accordingly :-(
Just an idea,
Wodisch
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