Red Hat Bugzilla – Bug 180429
vim-enhanced breaks tcsh -e option
Last modified: 2007-11-30 17:11:23 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.0.7-1.2.fc4 Firefox/1.0.7
Description of problem:
With vim-enhanced installed, tcsh shell scripts with -e option (or command-line
"tcsh -e" will exit immediately with status 1.
Installation of vim-enhanced installs /etc/profile.d/vim.csh, which is executed on startup of tcsh shells.
In /etc/profile.d/vim.csh, the line
[ `/usr/bin/id -u` -le 100 ] && exit
will exit with non-zero status for a normal user, triggering the error exit of "tcsh -e"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.With vim-enhanced installed ....
Actual Results: New tcsh shell immediately exits with $status = 1
Expected Results: Should be able to continue in tcsh
"tcsh -ef" works. The "f" option turns off processing of the initialization files.
"tcsh -eV" ends with the line of /etc/profile.d/vim.csh which causes the problem.
with vim-enhanced uninstalled, "tcsh -e" works.
fixed in vim-6.4.007-1