1- *gui_x11.txt* For Vim version 8.2. Last change: 2020 Jun 05
1+ *gui_x11.txt* For Vim version 8.2. Last change: 2022 Apr 03
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
55
66
77Vim's Graphical User Interface *gui-x11* *GUI-X11*
8- *Athena* * Motif*
8+ *Motif*
991. Starting the X11 GUI | gui-x11-start |
10102. GUI Resources | gui-resources |
11113. Shell Commands | gui-pty |
@@ -73,7 +73,7 @@ flag in 'guioptions'. |-f|. MacVim does not support this flag in
7373==============================================================================
74742. GUI Resources *gui-resources* *.Xdefaults*
7575
76- If using the Motif or Athena version of the GUI (not for the KDE, GTK+ or Win32
76+ If using the Motif version of the GUI (not for the KDE, GTK+ or Win32
7777version), a number of X resources are available. You should use Vim's class
7878"Vim" when setting these. They are as follows:
7979
@@ -105,7 +105,6 @@ version), a number of X resources are available. You should use Vim's class
105105 is same size as terminal that started it).
106106 scrollbarWidth Thickness of scrollbars.
107107 borderWidth Thickness of border around text area.
108- menuHeight Height of the menu bar (only for Athena).
109108
110109A special font for italic, bold, and italic-bold text will only be used if
111110the user has specified one via a resource. No attempt is made to guess what
@@ -144,12 +143,9 @@ which make Motif applications look even better, highly recommended!
144143
145144The "Vim*fontList" is to set the menu font for Motif. Example: >
146145 Vim*menuBar*fontList: -*-courier-medium-r-*-*-10-*-*-*-*-*-*-*
147- With Athena: >
148- Vim*menuBar*SmeBSB*font: -*-courier-medium-r-*-*-10-*-*-*-*-*-*-*
149- Vim*menuBar*MenuButton*font: -*-courier-medium-r-*-*-10-*-*-*-*-*-*-*
150146
151147 NOTE: A more portable, and indeed more correct, way to specify the menu font
152- in either Motif or Athena is through the resource: >
148+ in Motif is through the resource: >
153149 Vim.menuFont: -*-courier-medium-r-*-*-10-*-*-*-*-*-*-*
154150 Or, when compiled with the | +xfontset | feature: >
155151 Vim.menuFontSet: -*-courier-medium-r-*-*-10-*-*-*-*-*-*-*
@@ -264,7 +260,7 @@ For example: >
264260 :10vmenu File.Print :w !lpr -Php3
265261<
266262 *X11-icon*
267- Vim uses a black&white icon by default when compiled with Motif or Athena . A
263+ Vim uses a black&white icon by default when compiled with Motif. A
268264colored Vim icon is included as $VIMRUNTIME/vim32x32.xpm. For GTK+, this is
269265the builtin icon used. Unfortunately, how you should install it depends on
270266your window manager. When you use this, remove the 'i' flag from
@@ -603,8 +599,7 @@ GTK+ files on your system. When both GTK+ 2 and GTK+ 3 are available, GTK+ 2
603599will be chosen unless --enable-gui=gtk3 is passed explicitly to configure.
604600
605601If the GTK+ files cannot be found, then the Motif files will be searched for.
606- Finally, if this fails, the Athena files will be searched for. If all three
607- fail, the GUI will be disabled.
602+ If both fail, the GUI will be disabled.
608603
609604For GTK+, Vim's configuration process uses pkg-config(1) to check if the
610605GTK+ required for a specified build is properly installed and usable.
@@ -630,10 +625,10 @@ explicitly to configure, and avoid passing --enable-gnome-check to that, as
630625the functionality of the GNOME 2 support has already been consolidated in
631626GTK+ 3.
632627
633- Otherwise, if you are using Motif or Athena , when you have the Motif or Athena
634- files in a directory where configure doesn't look, edit the Makefile to enter
635- the names of the directories. Search for "GUI_INC_LOC" for an example to set
636- the Motif directories, "CONF_OPT_X" for Athena .
628+ Otherwise, if you are using Motif, when you have the Motif files in a
629+ directory where configure doesn't look, edit the Makefile to enter the names
630+ of the directories. Search for "GUI_INC_LOC" for an example to set
631+ the Motif directories.
637632
638633 *gui-x11-gtk*
639634Currently, Vim supports both GTK+ 2 and GTK+ 3.
@@ -652,18 +647,11 @@ few problems, but you might make it compile and run with a bit of work, please
652647send me the patches if you do). The newest releases of LessTif have been
653648reported to work fine too.
654649
655- *gui-x11-athena*
656- The Athena version uses the Xaw widget set by default. If you have the 3D
657- version, you might want to link with Xaw3d instead. This will make the
658- menus look a bit better. Edit the Makefile and look for "XAW_LIB". The
659- scrollbars will remain the same, because Vim has its own, which are already
660- 3D (in fact, they look more like Motif).
661-
662- *gui-x11-neXtaw*
663- The neXtaw version is mostly like Athena, but uses different widgets.
650+ *gui-x11-athena* *gui-x11-neXtaw*
651+ Support for the Athena GUI and neXtaw was removed in patch 8.2.4677.
664652
665653 *gui-x11-misc*
666- In general, do not try to mix files from different GTK+, Motif, Athena and X11
654+ In general, do not try to mix files from different GTK+, Motif and X11
667655versions. This will cause problems. For example, using header files for
668656X11R5 with a library for X11R6 probably doesn't work (although the linking
669657won't give an error message, Vim will crash later).
0 commit comments