On 31/08/13 19:38, Rainer M. Canavan wrote:

Hi,

I've just tried vim 7.4 with the motif GUI on two different SGI IRIX
6.5.30 systems. While the GUI works flawlessly in the default settings,
I get an

Error: Unresolved inheritance operation
E852: The child process failed to start the GUI

when I build against Motif 2.1.32 and set "Vim*sgiMode: true" as
documented in

http://vimdoc.sourceforge.net/htmldoc/gui_x11.html

This does not happen when compiling against Motif 1.2. There, the colors
from the scheme are used as well as the slightly different sgi-ified
controls. Even with Motif 1.2, the fonts from the Scheme are not used,
the menu and dialog fonts are still Courier instead of Helvetica oblique.

The Font Selector doesn't seem to work with either Motif 2.1 or 1.2.
While it displays a font in the "SampleLable" box at startup, I can't
seem to get it to display anything but "no specific match" in the
Name and Sample Label box, if I select anything at all, including "*",
in the Font, Style or Size boxes. The lists in each of the boxes
are limited to whatever matches the criteria selected in the other boxes,
so the dialog is at least partially working.

Is anyone  still left here who cares about the motif GUI?

thanks,

rainer

In some GUIs, including Motif, you're supposed to be able to get a font selector dialog by

        :set guifont=*


This dialog will only show fonts acceptable for the Normal group, however, which means only fonts defined with the monotype property set in their font file.

For Motif and Athena, you can set the fonts for the Menu and Tooltip groups separately, but not by means of a dialog. Your colorscheme will have to include a :hi line with the font argument, and on Motif and Athena (and any X11 GUI other than GTK2) the "font name" value is a complicated name, something like (I'm guessing what would apply to Helvetica Oblique)

        hi Menu font=*-helvetica-medium-o-normal-*-*-75-*-*-p-*-*

where -o- means Oblique and -p- means Proportional. Normally they would be -r- (Roman) and -m- (Monotype) respectively, for something usable for the text you edit (and settable in 'guifont', but on this system I have no monotype Helvetica font -no Helvetica Mono- AFAICT). The asterisks are wildcards.

see
        http://vim.wikia.com/Setting_the_font_in_the_GUI
        :help XLFD

If it doesn't work on your first try, you may have to check which XLFDs are available on your system for the font you want and/or use trial and error.


Best regards,
Tony.
--
It is contrary to reasoning to say that there is a vacuum or space in
which there is absolutely nothing.
                -- Descartes

--
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui