Bug 180429 - vim-enhanced breaks tcsh -e option
vim-enhanced breaks tcsh -e option
Product: Fedora
Classification: Fedora
Component: vim (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Karsten Hopp
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2006-02-07 22:11 EST by kwman44
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-15 09:24:29 EST
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 kwman44 2006-02-07 22:11:41 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):

How reproducible:

Steps to Reproduce:
1.With vim-enhanced installed ....
2.tcsh -e


Actual Results:  New tcsh shell immediately exits with $status = 1

Expected Results:  Should be able to continue in tcsh

Additional info:

"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.
Comment 1 Karsten Hopp 2006-02-15 09:24:29 EST
fixed in vim-6.4.007-1

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