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 > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
stty erase in a script Terrible UNIX for Advanced & Expert Users 2 06-08-2006 04:39 PM
erase file ust UNIX for Dummies Questions & Answers 2 03-10-2005 12:39 PM
stty frank UNIX for Dummies Questions & Answers 1 11-08-2002 11:49 AM
stty erase e command CEngel0327 UNIX for Dummies Questions & Answers 1 10-27-2002 03:19 PM
Is there an unrecoverable erase command? snyderpa UNIX for Dummies Questions & Answers 5 11-03-2000 11:39 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 11-24-2006
bishweshwar bishweshwar is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 56
stty erase r

after hitting this command...on pressing r acts as a backspace character....

how to disable this function
  #2 (permalink)  
Old 11-24-2006
dhanamurthy dhanamurthy is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 105
Better thing is you can quit the session. Hope this setting is not in your .profile. If so you have to login through some one else user id and then edit your .profile.
  #3 (permalink)  
Old 11-24-2006
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,944
Is .profile maintained as 666, I dont think so.

If its 644, how would you be able to edit it from some other id? Thats not possible !!!
  #4 (permalink)  
Old 11-25-2006
System Shock's Avatar
System Shock System Shock is offline Forum Advisor  
Registered User
  
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 521
The exact same way you made "r" the backspace:
Code:
stty erase <key>
where key is the key you want to use as backspace.
  #5 (permalink)  
Old 11-27-2006
dhanamurthy dhanamurthy is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 105
Matrixmadhan

Yeah i agree .profile is 644 but will a chmod 777 * will work and change .profile's permission i doubt it. Need to check.

Systemshock

Typing stty erase <key> will erase the letter 'r' so the shell will understand like stty ase. So this wont work
  #6 (permalink)  
Old 11-27-2006
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,944
Quote:
Matrixmadhan

Yeah i agree .profile is 644 but will a chmod 777 * will work and change .profile's permission i doubt it. Need to check.
No,
this wont work,
you cannot change the perm bits to 777 if you are not the owner or effective user.
Sponsored Links
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 06:07 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