Re: [FC4] [VIM] Problem with color syntax and other under root

From: Richard England (rengland_at_europa.com)
Date: 10/07/05

  • Next message: Caleb B. Warta: "ati graphics on laptops"
    Date: Thu, 06 Oct 2005 23:54:33 -0700
    To: For users of Fedora Core releases <fedora-list@redhat.com>, cch@dataswift.fr
    
    

    Constantin CHARISSIS wrote:

    >Hi,
    >
    >I have a problem with color syntaxing not working under vim only with the
    >root user.
    >Autoindent/smartindent is also not working under root only
    >
    >.vimrc of both root and normal user :
    >
    >set nocompatible
    >set bs=2
    >set expandtab
    >syntax on
    >set tabstop=2
    >set autoindent
    >set smartindent
    >set shiftwidth=2
    >set ruler
    >set showmatch
    >set encoding=latin9
    >set fileencodings=latin9
    >
    >TERM=linux for both
    >
    >With the user : color syntax and indent is working
    >With root : color syntax and indent is not working
    >
    >What is strange is that my 2 chars tab is working under root...
    >
    >I'm running FC4 i386 updated.
    >
    >[root@tux ~]# rpm -qa "vim*"
    >vim-minimal-6.3.086-0.fc4
    >vim-enhanced-6.3.086-0.fc4
    >vim-common-6.3.086-0.fc4
    >
    >Using "strace vim" under root shows that vim reads the .vimrc without
    >problem.
    >
    >Any idea about this problem ?
    >
    >Constantin Charissis
    >DATASWIFT
    >
    >
    >
    Constantin,

    Are you certain your path for root and user are letting you get to the
    same version of VIM?

    If you have not found a solution, you might consider visiting this URL
    http://www.vim.org/community.php and subscribing to the VIM mailing
    list. It's at least as helpful as this one and more likely to help you
    solve a VIM specific issue.

    -- 
    ------------------------------------------------------------------------
    /--R/
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Caleb B. Warta: "ati graphics on laptops"

    Relevant Pages

    • [FC4] [VIM] Problem with color syntax and other under root
      ... I have a problem with color syntaxing not working under vim only with the ... Autoindent/smartindent is also not working under root only ... color syntax and indent is working ... Using "strace vim" under root shows that vim reads the .vimrc without ...
      (Fedora)
    • Re: VI editor in Gnome Terminal leaves text remnants on scroll
      ... firstly which versions of gnome-terminal and vim? ... Does this fail only for root, or is it for all users? ... it doesn't fail for me as a normal user on FC3 with vim 6.4. ... eliminates this remnants on scrolling problem. ...
      (Fedora)
    • Re: Dual monitor possible?
      ... vim is much more complicated than nano and I use nano ... then I just do su(yes I did establish a root account ... There are some other issues with Megan ... save the modified file and CNTR-Xto quit nano. ...
      (Ubuntu)
    • Fwd: vim: non-root user in gnome-terminal
      ... > No problem when I su root, but as a normal user I notice that any ... > When I resize the comamnd window where vim runs, ... > The TERM environment variable value is xterm for both root and non-root ... It might be a gterm configuration problem, you said in root no probs, ...
      (Debian-User)
    • Re: VIM: How to open URL in browser?
      ... Fred scripsit: ... > command needs to be quoted, as do other parts of the command. ... ps. Tested only with normal user, when trying to it from root I've run ... Vim Universal Templates: http://vim.sf.net/script.php?script_id=1078 ...
      (comp.editors)