On Mon, Aug 8, 2016 at 8:43 PM, Bram Moolenaar <b...@moolenaar.net> wrote:
>
> Frantisek Holop wrote:
>
>> i succesfully compiled vim 7.4.2181 on openbsd
>> but i am getting these "Cannot allocate color"
>> errors after startup:
>>
>> $ gvim -u NONE -U NONE
>> E254: Cannot allocate color Grey40
>> E254: Cannot allocate color Grey40
>>
>> E254: Cannot allocate color Grey40
>> E254: Cannot allocate color Grey40
>>
>> there has been some recent work on guicolors,
>> any ideas where these are coming from?
>>
>> i use the darkburn colorscheme, and when i start gvim using my .vimrc
>> i get additional errors.
>>
>> should these colors be in runtime/rgb.txt or are they defined in X11?
>>
>> $ gvim
>> E254: Cannot allocate color Grey40
>> E254: Cannot allocate color Grey40
>> Error detected while processing /home/f/.vim/vimrc:
>> line   74:
>> E254: Cannot allocate color Grey40
>> E254: Cannot allocate color Grey40
>> Error detected while processing /home/f/.vim/colors/darkburn.vim:
>> line   67:
>> E254: Cannot allocate color Grey40
>> E254: Cannot allocate color Grey40
>> line   68:
>> E254: Cannot allocate color Grey40
>> E254: Cannot allocate color Grey40
>> E254: Cannot allocate color Grey40
>> E254: Cannot allocate color Grey40
>> Error detected while processing 
>> /usr/local/share/vim/vim74/syntax/syncolor.vim:
>> line   36:
>> E254: Cannot allocate color Orange
>> E254: Cannot allocate color Orange
>
> You probably haven't installed rgb.txt.
>
> I do notice that we use Grey40 in the highlight init table but don't
> have it builtin.  Grey90 is there, we should also add Grey40.

IIUC, Grey40 is #666666 in hex or rgb(102, 102, 102) in decimal.

Best regards,
Tony.

>
> --
> At some point in the project somebody will start whining about the need to
> determine the project "requirements".  This involves interviewing people who
> don't know what they want but, curiously, know exactly when they need it.
>                                 (Scott Adams - The Dilbert principle)
>
>  /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> \\\  an exciting new programming language -- http://www.Zimbu.org        ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui