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 > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

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 deletion hpux 11i jestinabel HP-UX 12 02-01-2007 03:54 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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-25-2002
Atama Atama is offline
Registered User
  
 

Join Date: Jan 2002
Posts: 16
Backspace Not Working in Script

Hello,

I've written a Perl script that prompts for asnwers to questons. At those prompts, the backspace key shows up as ^H^H.

I would like the users to have the ablility to use the backspace key. I'm running bash shell and don't otherwise have this problem.

Any help would be greatly appreciated.
  #2 (permalink)  
Old 04-25-2002
Cameron's Avatar
Cameron Cameron is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 499
include : set erase ^H in their profile perhaps?
  #3 (permalink)  
Old 04-25-2002
Atama Atama is offline
Registered User
  
 

Join Date: Jan 2002
Posts: 16
No, that doesn't change it. The problem only occurs within a the Perl script. At leas that's the only time I've seen it.
  #4 (permalink)  
Old 04-25-2002
Cameron's Avatar
Cameron Cameron is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 499
Quote:
I would like the users to have the ablility to use the backspace key. I'm running bash shell and don't otherwise have this problem.
Are the other users also running bash ??
  #5 (permalink)  
Old 04-26-2002
Atama Atama is offline
Registered User
  
 

Join Date: Jan 2002
Posts: 16
I got it.

putting "stty erase ^H" in my profile does the trick.

Thanks!
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:23 AM.


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