FS#2018 - tcsh: /etc/csh.cshrc doesn't set $MANPATH

Attached to Project: Arch Linux
Opened by Eric Belanger (Snowman) - Friday, 14 January 2005, 02:18 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 14 January 2005, 07:04 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To dorphell (dorphell)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The variable $MANPATH doesn't get defined by the new tcsh scripts. Adding:

if ( ! $?MANPATH ) then
setenv MANPATH /usr/man:/usr/X11R6/man:/usr/local/man
else
setenv MANPATH /usr/man:/usr/X11R6/man:/usr/local/man$MANPATH
endif

to /etc/csh.cshrc fix it.

Thanks,
Eric
This task depends upon

Closed by  dorphell (dorphell)
Monday, 31 January 2005, 00:32 GMT
Reason for closing:  Fixed
Comment by Eric Belanger (Snowman) - Friday, 14 January 2005, 17:11 GMT
there is a missing colon.
the line
setenv MANPATH /usr/man:/usr/X11R6/man:/usr/local/man$MANPATH
should be
setenv MANPATH /usr/man:/usr/X11R6/man:/usr/local/man:$MANPATH

Sorry about that.

Loading...