![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pressing backspace key simulates enter key | vibhor_agarwali | UNIX for Dummies Questions & Answers | 2 | 04-19-2007 03:31 PM |
| Backspace erasing the prompt | videsh77 | UNIX for Dummies Questions & Answers | 4 | 01-23-2007 04:38 AM |
| Disable and Enable Backspace or Ctrl^H in vi | mobile01 | UNIX for Advanced & Expert Users | 5 | 11-24-2006 08:55 AM |
| Cannot backspace on my session in CRT | rooh | UNIX for Dummies Questions & Answers | 2 | 07-08-2004 08:09 AM |
| Backspace Not Working in Script | Atama | Shell Programming and Scripting | 4 | 04-26-2002 07:17 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
backspace deletion hpux 11i
how i can enable backspace or charector deletion in hpux11i shell prompt.
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Enter this at shell prompt
Code:
stty erase <hit the key for deletion> |
|
#3
|
|||
|
|||
|
thanks andryk, it is working fine.
|
|
#4
|
|||
|
|||
|
remove email address
Quote:
If it is not working I think you can always use CTRL + H Regards, Johan Louwers. ## ----------------------------------------------------------------------------- ## Website: http://www.terminalcult.org ## Weblog : http://johanlouwers.blogspot.com ## E-mail : deleted ## ----------------------------------------------------------------------------- Last edited by blowtorch; 01-04-2007 at 04:34 PM. Reason: remove email |
|
#5
|
|||
|
|||
|
once you figure out what character is associated w/your backspace-key, set it in your .profile
hpuxUSER> grep stty .profile stty erase "^?" kill "^U" intr "^C" eof "^D" stty hupcl ixon ixoff |
|
#6
|
|||
|
|||
|
Quote:
Sadly too many /etc/profile scripts set the TERM variable to some kind of default. if you use the stty commands in your .profile it is proper to make sure ^U, ^C and ^D are single characters and not 2 characters. To make ^U as a single character hit CTRL-V + CTRL-U in your vi editor for ^C hit CTRL-V + CTRL-C for ^D hit CTRL-V + CTRL-D etc This works for all, except ^? |
|
#7
|
||||
|
||||
|
Quote:
|
||||
| Google The UNIX and Linux Forums |