- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sript is running but it's stoping when pressin...
Operating System - HP-UX
1753464
Members
4953
Online
108794
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
Discussions
Discussions
Forums
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
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
тАО06-07-2009 09:46 PM
тАО06-07-2009 09:46 PM
sript is running but it's stoping when pressing back space kwy.
Dear All,
We are using simple script for collecting information about users and why they are using the particular server.
This is a authentication server for entering/accessing vendors to our network.
Script action:- We have called this script from /etc/profile.
Once given user name and password,User will get prompt to enter his name,location and case id.
as well some matching name(instead of this info if he will press back space key)--> that is stopping script and user getting $(prompt).
We want resolve this bug.Please help me out in this.
We are using simple script for collecting information about users and why they are using the particular server.
This is a authentication server for entering/accessing vendors to our network.
Script action:- We have called this script from /etc/profile.
Once given user name and password,User will get prompt to enter his name,location and case id.
as well some matching name(instead of this info if he will press back space key)--> that is stopping script and user getting $(prompt).
We want resolve this bug.Please help me out in this.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2009 09:53 PM
тАО06-07-2009 09:53 PM
Re: sript is running but it's stoping when pressing back space kwy.
"stty -a"? HP-UX tends to have some unusual
interpretations of some popular keys.
interpretations of some popular keys.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2009 10:51 PM
тАО06-07-2009 10:51 PM
Re: sript is running but it's stoping when pressing back space kwy.
Hi Kanagaraj,
>>as well some matching name(instead of this info if he will press back space key)--> that is stopping script and user getting $(prompt).
This is because of terminal settings, In you shell backspcae is treated as kill command
executing something like below
#stty erase "^H" kill "^U" intr "^C"
After this you can use ctrl+h for erase , ctrl+U for kill and ctrl+c for interrupt
If you want the permanent setting for your shell edit the .profile or .login of the user and add the above lines
Rgds
Johnson
>>as well some matching name(instead of this info if he will press back space key)--> that is stopping script and user getting $(prompt).
This is because of terminal settings, In you shell backspcae is treated as kill command
executing something like below
#stty erase "^H" kill "^U" intr "^C"
After this you can use ctrl+h for erase , ctrl+U for kill and ctrl+c for interrupt
If you want the permanent setting for your shell edit the .profile or .login of the user and add the above lines
Rgds
Johnson
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP