Bug 98882

Summary: /etc/bashrc overrides any "stty erase" setting
Product: [Retired] Red Hat Linux Reporter: Chris Adams <linux>
Component: setupAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-01-07 04:20:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Adams 2003-07-09 20:41:50 UTC
/etc/bashrc contains a section that sets the "erase" setting based on the
terminfo entry for the terminal.  The problem is that this overrides "stty
erase" settings from other sources (such as a remote connection via ssh, where
OpenSSH properly carries forward the "erase" setting).  There is currently no
way for a normal user to fix this; root must override it by editing /etc/bashrc.

Would it be possible to at least make this section dependent on an environment
variable or something, so those of us that don't want it can avoid it (without
having to edit /etc/bashrc on every install)?

Comment 1 Adam Spiers 2004-01-06 22:48:07 UTC
This is surely a duplicate of bug #91357.

Comment 2 Chris Adams 2004-01-07 04:20:27 UTC
Thanks.  I did look for an existing bug (honest!) but I didn't see it.
 Just checked the FC dev setup-2.5.30 and see the change has been made.