Bug 115073 - /etc/csh.login sets INPUTRC wrong
/etc/csh.login sets INPUTRC wrong
Product: Fedora
Classification: Fedora
Component: setup (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2004-02-06 04:02 EST by dann
Modified: 2014-03-16 22:42 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-05-04 23:22:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description dann 2004-02-06 04:02:03 EST
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):

How reproducible:

Steps to Reproduce:
1.chsh to csh or tcsh
2. touch ~/.inputrc
3. log on, and then do: 
 echo $INPUTRC                                                          
Actual results:
It will print:

Expected results:
nothing should be printed, INPUTRC should not be set

Additional info:
Comment 1 Bill Nottingham 2004-05-04 23:22:25 EDT
Fixed in 2.5.32-1.

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