Red Hat Bugzilla – Bug 115073
/etc/csh.login sets INPUTRC wrong
Last modified: 2014-03-16 22:42:04 EDT
Description of problem:
/etc/csh.login sets INPUTRC when it should not.
It contains this test:
if ( -f $HOME/.inputrc ) then
setenv INPUTRC /etc/inputrc
the test is obviously backwards, if $HOME/.inputrc does NOT exist
then INPUTRC should be set to /etc/inputrc
This seems to have been around since at least RH-7 ...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.chsh to csh or tcsh
2. touch ~/.inputrc
3. log on, and then do:
It will print:
nothing should be printed, INPUTRC should not be set
Fixed in 2.5.32-1.