The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Pressing backspace key simulates enter key vibhor_agarwali UNIX for Dummies Questions & Answers 2 04-19-2007 06:31 PM
Backspace erasing the prompt videsh77 UNIX for Dummies Questions & Answers 4 01-23-2007 07:38 AM
Disable and Enable Backspace or Ctrl^H in vi mobile01 UNIX for Advanced & Expert Users 5 11-24-2006 11:55 AM
Cannot backspace on my session in CRT rooh UNIX for Dummies Questions & Answers 2 07-08-2004 11:09 AM
Backspace Not Working in Script Atama Shell Programming and Scripting 4 04-26-2002 10:17 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-20-2006
jestinabel jestinabel is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 22
backspace deletion hpux 11i

how i can enable backspace or charector deletion in hpux11i shell prompt.
  #2 (permalink)  
Old 12-20-2006
andryk's Avatar
andryk andryk is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2003
Posts: 448
Enter this at shell prompt
Code:
stty erase <hit the key for deletion>
  #3 (permalink)  
Old 12-20-2006
jestinabel jestinabel is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 22
thanks andryk, it is working fine.
  #4 (permalink)  
Old 01-04-2007
suntac suntac is offline
Registered User
  
 

Join Date: Jul 2005
Location: Amsterdam
Posts: 97
remove email address

Quote:
Originally Posted by jestinabel
how i can enable backspace or charector deletion in hpux11i shell prompt.

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 07:34 PM.. Reason: remove email
  #5 (permalink)  
Old 01-04-2007
mr_manny mr_manny is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 144
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 (permalink)  
Old 01-24-2007
sb008 sb008 is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 384
Quote:
Originally Posted by mr_manny
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
Better make sure your TERM environment variable ends up with the proper value.

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 (permalink)  
Old 01-30-2007
milhan milhan is offline
Registered User
  
 

Join Date: Oct 2002
Location: /home
Posts: 133
Quote:
Originally Posted by sb008
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 ^?
How do we do it for ^? then..?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0