|Summary:||RFE: /bin proceeds /usr/bin in root's PATH|
|Product:||[Retired] Red Hat Linux||Reporter:||river|
|Component:||util-linux||Assignee:||Crutcher Dunnavant <crutcher>|
|Status:||CLOSED DEFERRED||QA Contact:|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2000-07-31 19:56:36 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
Description river 1999-10-17 06:53:03 UTC
The syntax hilighting feature of vim do not appear to have support compiled into the version distributed with Red Hat Linux 6.1. This feature worked fine with 6.0. I am using the command ':syntax on' to produce the error that the command is unsupported.
Comment 1 Bill Nottingham 1999-10-17 21:37:59 UTC
Works for me here. Do you only have vim-minimal installed?
Comment 2 river 1999-10-17 23:43:59 UTC
I have the following vim related packages installed: vim-minimal vim-enhanced vim-common vim-X11 I have reverted back to version 5.3-7 of the packages. When using version 5.4-2, I receive the following message: Error detected while processing /root/.vimrc: line 11: Sorry, this command is not implemented: :syntax on My .vimrc follows: :if has("terminfo") : set t_Co=8 : set t_Sf=p1%dm : set t_Sb=p1%dm :else : set t_Co=8 : set t_Sf=dm : set t_Sb=dm :endif :syntax on
Comment 3 Bill Nottingham 1999-10-18 13:24:59 UTC
Hmm... most likely /bin is in root's path before /usr/bin, and you're running /bin/vi, which is the 'minimal' version of vim.
Comment 4 river 1999-11-01 05:22:59 UTC
The comment about the path is correct. The minimal version of vi in /bin is being called before /usr/bin/vi. As the default path sets /bin before /usr/bin for both normal and root users, /bin/vi will always be called. The default path in v6.0 seems to place /usr/bin before bin (although, this is not in agreement with the documentation on 'login'). Maybe this was a fix for the 'login' program in v6.1? Anyhow, what the default behaviour should be I'll leave up to the experts there at Red Hat. I'm happy enough with it either way, as long as it's working.
Comment 5 Michael K. Johnson 1999-11-22 20:16:59 UTC
I've changed the component to util-linux (it includes login), but it's not just util-linux, that's just the first place to fix this. util-linux, gdm, xdm, and kdm are a minimal list of places that this needs to be fixed. Note that gdm at least as a RootPath configuration option that can be used to set this; the rest have compiled-in paths. No matter what we change it to, someone will complain, but /usr/sbin:/usr/bin:/sbin:/bin should work the best for the most people.
Comment 6 Jeff Johnson 2000-07-31 20:34:14 UTC
DEFERRED until after Winston.