Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#14967 - [tcsh] csh.cshrc, mentions environment variables no longer used
Attached to Project:
Arch Linux
Opened by Stephen (wingedsubmariner) - Friday, 05 June 2009, 22:12 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 24 June 2009, 02:39 GMT
Opened by Stephen (wingedsubmariner) - Friday, 05 June 2009, 22:12 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 24 June 2009, 02:39 GMT
|
DetailsDescription:
/etc/csh.cshrc forces the creation of a .tcsh.config in the user's home for setting certain environment variables, e.g. TCSH_SHELL_CTRLD, that are not actually used by tcsh. tcsh does not use environment variables for configuration, rather it has its own "shell variables" to avoid polluting the environment, and tcsh's manpage does not mention these environment variables. As far as I can tell, they are not read by any of the configuration scripts either, except for one mention of TCSH_SHELL_COMPLETION in csh.cshrc. This code is all unneccessary and I think is left over from when the scripts used to work differently (maybe only in Gentoo, where they came from). This is not an upstream problem, the tarball from tcsh.org doesn't mention these environment variables (grep -r) and doesn't include csh.cshrc (except for cygwin). How to fix: apply my patch to csh.cshrc (attached). remove /etc/skel/.tcsh.config Additional info: extra/tcsh 6.16.00-3 Steps to reproduce: less /etc/csh.cshrc or launch tcsh as a new user and see the message about the creation of .tcsh.config. |
This task depends upon
Closed by Eric Belanger (Snowman)
Wednesday, 24 June 2009, 02:39 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in tcsh-6.16.00-4
Wednesday, 24 June 2009, 02:39 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in tcsh-6.16.00-4

@Stephen, please provide the patch in unified format (diff -u) or against SVN trunk (svn diff). This make an easy way to review this issue. Thanks.

Here it is in unified format (diff -u).