- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- # at login
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
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-25-2003 04:31 AM
тАО09-25-2003 04:31 AM
# at login
'ud#ser_name' is correctly interpreted (& displayed), rather than the pound sign moving the curser back to display only 'user_name'.
Help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2003 04:55 AM
тАО09-25-2003 04:55 AM
Re: # at login
ENV=/.kshrc
which says
PS1=`uname -n`:'$PWD
[!]# '
This controls the prompt.
PS2 is the partial prompt you get when you don't complete a command.
echo "steve
gets PS2
>
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2003 05:01 AM
тАО09-25-2003 05:01 AM
Re: # at login
Since you haven't logged in yet, the only thing the system can go on is the termcap associated with the term type the user's terminal is reporting at login.
Not sure, but you'd probably have to adjust the termcap entries for the appropriate terminal types that will be logging in.
But I'd be careful what impact that has post-login. Test it before implementing.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2003 05:56 AM
тАО09-25-2003 05:56 AM
Re: # at login
Thanks again to you both!
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2003 11:54 AM
тАО09-25-2003 11:54 AM
Re: # at login
/sbin/stty erase "^H" kill "^U" intr "^C" eof "^D" -parity ixoff
Now the backspace key works as expected. However, /etc/profile is run after login so the login and password prompts will not recognize backspace as the erase character/ For 11.0 and later (with patches), you can use the /dev/ttryconf device file to preset the stty settings from all terminal logins.
Bill Hassell, sysadmin