Bug 98882 - /etc/bashrc overrides any "stty erase" setting
Summary: /etc/bashrc overrides any "stty erase" setting
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: setup
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-07-09 20:41 UTC by Chris Adams
Modified: 2014-03-17 02:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-01-07 04:20:27 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.