AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
Expand all | Collapse all

Issues with vim-enhanced colors

  • 1.  Issues with vim-enhanced colors

    Posted Sun May 06, 2018 08:04 PM

    Originally posted by: kristianmilos


    Hi All,

     

    Fresh install of AIX 7200-02-02, and after successfully installing both vim-common and vim-enhanced via YUM, the following errors are shown when executing vim.

    # vim
    Error detected while processing /opt/freeware/share/vim/vim80/syntax/syncolor.vim:
    line   46:
    E254: Cannot allocate color SlateBlue
    Press ENTER or type command to continue
    

    vim itself then continues to function fine, but throws that error each time.

     

    # yum list installed | grep vim
    vim-common.ppc                      8.0-1                   @AIX_Toolbox_ppc
    vim-enhanced.ppc                    8.0-1                   @AIX_Toolbox_ppc
    

     

    Regards,

    Kristian



  • 2.  Re: Issues with vim-enhanced colors

    Posted Thu May 10, 2018 06:38 AM

    Originally posted by: AyappanP


    Thanks for reporting the issue. We will fix this in the next release.

    As a workaround you can fix this by doing the below

    cp /usr/lpp/X11/lib/X11/rgb.txt /opt/freeware/share/vim/vim80/ 

    This file /usr/lpp/X11/lib/X11/rgb.txt comes from AIX X11 base fileset. 

     



  • 3.  Re: Issues with vim-enhanced colors

    Posted Thu May 10, 2018 05:15 PM

    Originally posted by: kristianmilos


    Thank you, this resolved the problem.