- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Keyboard trouble
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
03-04-2003 06:50 AM
03-04-2003 06:50 AM
Keyboard trouble
HP-UX 10.20 Workstation, attached to a screen/keyboard/mouse switch. So an ordinary PS/2 PC-keyboard is in use. Everything seams to work, except the DEL key. Ive checked with xmodmap and the key is bound to Delete as it should. but when pressing it it sends "^?" instead of deleting the following character as it should.
Any suggestions and ideas are of intrest.
//Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:22 AM
03-04-2003 07:22 AM
Re: Keyboard trouble
What do you call delete key?
Is it backspace?
Have you tried:
stty erase
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:26 AM
03-04-2003 07:26 AM
Re: Keyboard trouble
# stty kill '^?'
Now when you press delete, it will delete the line. Like this if you want to assign the delete key for any function (erase, delete-word etc), set it accordingly.
# man stty
# man termio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:46 AM
03-04-2003 07:46 AM
Re: Keyboard trouble
stty kill will erase the whole row... i only want to erase one character in the opposite manner that backspace does...
backspace erases the previous character. and i want delete to erase the next character. as delete should be doing on most systems by default...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:26 AM
03-06-2003 07:26 AM
Re: Keyboard trouble
this cant be such uncommon problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:31 AM
03-06-2003 07:31 AM
Re: Keyboard trouble
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:49 AM
03-06-2003 07:49 AM
Re: Keyboard trouble
basically you want to use vi as your shell, and you want the delete key to do the same thing as pressing "x" in vi to delete a character.
I know you can set vi in your shell, but not sure how to map the key "delete" to be edit-x.
regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2003 11:28 AM
03-07-2003 11:28 AM
Re: Keyboard trouble
The cursor is flashing just to the right of the "g".
You can't delete stuff to the right of the cursor because you are at a unix prompt.
How can it delete the "following character" when there isn't one.
Are you in vi? If so, use the vi commands.
x deletes a character.
If you feel like mapping control-? to be the x command in vi, then I would suggest to try to mess with your .exrc file in your home directory.
Perhaps you are at the unix prompt and your are using vi command line editing. If that's the case, the .exrc file MIGHT help you.
A fast solution to this is to run a silly script like this.
#!/bin/ksh
# silly.ksh
echo "hi. hit the backspace key, then enter."
read $BACK
stty erase $BACK
Then to run it: . ./silly.ksh
Steve