[EMAIL PROTECTED] wrote:
Aha! Running gvim as root should source all the scripts above _except_
/home/steve/.vimrc and /home/steve/.gvimrc -- however -u NONE should forbid
loading any vimrc. Well, let's use what we have:
- What do /home/steve/.vimrc and /home/steve/.gvimrc contain?
/home/steve/.vimrc contains:
set ruler
set showcmd
set incsearch
set ignorecase
set history=500
set expandtab
set tabstop=4
set autoindent
set smartindent
set shiftwidth=4
set showmatch " show matching braces
/home/steve/.gvimrc contains:
set co=120
set lines=45
set guifont=Monospace\ 8
- Do you have a /root/.vimrc and/or /root/.gvimrc ? If you do, what do _they_
contain?
Those files do not exist.
This is driving me nuts. I've tried a couple of other things too.
I started gvim with -V and --nofork, captured the output. I compared the log
from the regular start up and from the sudo start up and they logs were
functionally identical.
I compared the :scriptnames from both and they were the same.
As steve, I was able to cat every script listed in the scriptnames list. My
first instinct was that this is a permissions problem. Alas, I haven't been
able to find any unreadable files anywhere.
If you have any other ideas, I'd love to hear them. Thanks for your help so far.
-sc
A last possibility, after that I'm out of my wits:
At the shell prompt, do you get the same answer to
which vim
which gvim
when logged in as steve and as root?
Best regards,
Tony.
--
A transistor protected by a fast-acting fuse will protect the fuse by
blowing first.