Description of problem: su incorrectly changes the stty settings Version-Release number of selected component (if applicable): sh-utils 2.0.11 How reproducible: Log in to RedHat linux machine with ssh/telnet/whatever then su to root. Steps to Reproduce: 1. use telnet/ssh/whatever to log in to linux machine. 2. su to root or other user. Actual results: When initially logged in the terminal settings are correct. After su the terminal settings are incorrect. Specifically erase has been set to ^?. Expected results: Terminal settings should be unchanged. stty -a should report the settings as set on remote machine prior to logging in. Additional info:
Created attachment 94318 [details] output from script showing terminal settings
This seems to be casued by the /etc/bashrc invocation of stty. lhh: Was that causing problems with screen(1) as well did you say?
Sort of. Screen only works properly with "stty `tput kbs`". This is reminiscent of: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91357
Is this all fixed now? I remember there were some changes in screen.