To: vim-dev@vim.org Subject: Patch 6.1.190 (extra) Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.190 (extra) Problem: VMS: doesn't build with GTK GUI. Various other problems. Solution: Fix building for GTK. Improved Perl, Python and TCL support. Improved VMS documentation. (Zoltan Arpadffy) Added Vimtutor for VMS (T. R. Wyant) Files: runtime/doc/os_vms.txt, src/INSTALLvms.txt, src/gui_gtk_f.h, src/if_tcl.c, src/main.c, src/gui_gtk_vms.h, src/Make_vms.mms, src/os_vms.opt, src/proto/if_tcl.pro, vimtutor.com, src/testdir/Make_vms.mms *** ../vim61.189/runtime/doc/os_vms.txt Fri Mar 22 21:18:38 2002 --- runtime/doc/os_vms.txt Tue Aug 27 20:08:06 2002 *************** *** 1,4 **** ! *os_vms.txt* For Vim version 6.1. Last change: 2002 Feb 24 VIM REFERENCE MANUAL --- 1,4 ---- ! *os_vms.txt* For Vim version 6.1. Last change: 2002 Aug 27 VIM REFERENCE MANUAL *************** *** 43,49 **** You can download precompiled executables from: http://www.polarfox.com/vim/ ! ftp://ftp.polarhome.com/pub/vim/ ============================================================================== --- 43,51 ---- You can download precompiled executables from: http://www.polarfox.com/vim/ ! ftp://ftp.polarfox.com/pub/vim/ ! ! Official mirror for polarfox.com can be found at polarhome com. ============================================================================== *************** *** 55,68 **** 4. Problems *vms-problems* ! The code has been tested under Open VMS 6.2 - 7.2 on Alpha and VAX platforms with the DECC compiler. It should work without bigger problems. If it happened that your system does not have some include libraries you can tune up in OS_VMS_CONF.H file. If you decided to build Vim with +perl, +python, etc. options, first you need to download OpenVMS distributions of Perl and Python. Build and deploy the ! libraries and change adequate lines in OS_VMS.MMS file. There should not be problem from Vim side. Note: Under VAX it should work with DEC C compiler without problem. VAXC --- 57,70 ---- 4. Problems *vms-problems* ! The code has been tested under Open VMS 6.2 - 7.3 on Alpha and VAX platforms with the DECC compiler. It should work without bigger problems. If it happened that your system does not have some include libraries you can tune up in OS_VMS_CONF.H file. If you decided to build Vim with +perl, +python, etc. options, first you need to download OpenVMS distributions of Perl and Python. Build and deploy the ! libraries and change adequate lines in MAKE_VMS.MMS file. There should not be problem from Vim side. Note: Under VAX it should work with DEC C compiler without problem. VAXC *************** *** 70,88 **** semantics, therefore you have to use a converter program what will do the lion part of the job. For detailed instruction read file INSTALLvms.txt ! MMS_VIM.EXE is building together with VIM.EXE, but for CTAGS.EXE and XXD.EXE ! you should change to subdirectory <.CTAGS> or <.XXD> and build them ! separately. You have to be prepared that the CTAGS and XXD make files are not ! always up to date. CTAGS is not part of Vim source distribution any more, however the OpenVMS specific source might contain CTAGS source files as it is described above. Advanced users may try some acrobatics in FEATURE.H file also. It is possible to compile with +xfontset +xim options too, but then you have to set up GUI fonts etc. correctly. See. :help xim from Vim command prompt. ============================================================================== 5. Deploy *vms-deploy* --- 72,98 ---- semantics, therefore you have to use a converter program what will do the lion part of the job. For detailed instruction read file INSTALLvms.txt ! MMS_VIM.EXE is building together with VIM.EXE, but for XD.EXE you should ! change to subdirectory and build it separately. CTAGS is not part of Vim source distribution any more, however the OpenVMS specific source might contain CTAGS source files as it is described above. + You can find more information about CTAGS on VMS at + http://www.polarfox.com/ctags/ Advanced users may try some acrobatics in FEATURE.H file also. It is possible to compile with +xfontset +xim options too, but then you have to set up GUI fonts etc. correctly. See. :help xim from Vim command prompt. + You may want to use GUI with GTK icons, then you have to download and install + GTK for OpenVMS or at least runtime shareable images - LIBGTK from polarfox.com + + For more advanced questions, please send your problem to Vim on VMS mailing + list + More about the vim-vms list can be found at: + http://www.polarhome.com/mailman/listinfo/vim-vms + ============================================================================== 5. Deploy *vms-deploy* *************** *** 96,128 **** |----- syntax |- vim60 |----- doc |----- syntax vimrc (system rc files) gvimrc Use: > ! define/nolog device:[leading-path-here.vim] vim ! define/nolog device:[leading-path-here.vim.vim60] vimruntime ! define/nolog device:[leading-path-here.tmp] tmp to get vim.exe to find its document, filetype, and syntax files, and to specify a directory where temporary files will be located. Copy the "runtime" subdirectory of the vim distribution to vimruntime. ! Logicals $VIMRUNTIME and $TMP are optional, but recommended. ! If $VIMRUNTIME is not set Vim will guess and set up automatically. ! If $TMP is not set, you will not be able to use some functions as CTAGS, ! printing etc. which are set up to use temporary directory. $TMP directory ! should be readable and writable by the user(s). ! Read more at :help runtime ============================================================================== 6. Practical usage *vms-usage* ! Usually you want to run just one version of Vim on your system, therefore it is enough to dedicate one directory for Vim. Copy all Vim runtime directory structure to the deployment position. Add the following lines to your LOGIN.COM (in SYS$LOGIN directory). --- 106,147 ---- |----- syntax |- vim60 |----- doc + |----- syntax + |- vim61 + |----- doc |----- syntax vimrc (system rc files) gvimrc Use: > ! define/nolog VIM device:[path.vim] ! define/nolog VIMRUNTIME device:[path.vim.vim60] ! define/nolog TMP device:[path.tmp] to get vim.exe to find its document, filetype, and syntax files, and to specify a directory where temporary files will be located. Copy the "runtime" subdirectory of the vim distribution to vimruntime. ! Logicals $VIMRUNTIME and $TMP are optional. ! If $VIMRUNTIME is not set, Vim will guess and try to set up automatically. ! Read more about at :help runtime + If $TMP is not set, you will not be able to use some functions as CTAGS, + XXD, printing etc. that use temporary directory for normal operation. + $TMP directory should be readable and writable by the user(s). + The easiest way to set up $TMP is to define logical: > + + define/nolog TMP SYS$SCRATCH + or as: + define/nolog TMP SYS$LOGIN + ============================================================================== 6. Practical usage *vms-usage* ! Usually, you want to run just one version of Vim on your system, therefore it is enough to dedicate one directory for Vim. Copy all Vim runtime directory structure to the deployment position. Add the following lines to your LOGIN.COM (in SYS$LOGIN directory). *************** *** 133,146 **** Set up some symbols: > $ ! vi starts Vim in chr. mode. ! $ vi*m :== mcr device:VIM.EXE $ !gvi starts Vim in GUI mode. ! $ gv*im :== spawn/nowait mcr device:VIM.EXE -g Please, check the notes for customization and configuration of symbols. ! Create .vimrc and .gvimrc files in your home directory (SYS$LOGIN). The easiest way is just rename example files. You may leave the menu file (MENU.VIM) and files vimrc and gvimrc in the original $VIM directory. It will --- 152,166 ---- Set up some symbols: > $ ! vi starts Vim in chr. mode. ! $ vi*m :== mcr VIM:VIM.EXE $ !gvi starts Vim in GUI mode. ! $ gv*im :== spawn/nowait mcr VIM:VIM.EXE -g Please, check the notes for customization and configuration of symbols. ! You may want to create .vimrc and .gvimrc files in your home directory ! (SYS$LOGIN) to overwrite default settings. The easiest way is just rename example files. You may leave the menu file (MENU.VIM) and files vimrc and gvimrc in the original $VIM directory. It will *************** *** 151,159 **** Note: Remember, system rc files (default for all users) does not have leading "." So, system rc files are: > ! VIM$:vimrc ! VIM$:gvimrc ! VIM$:menu.vim and user's customized rc files are: > --- 171,179 ---- Note: Remember, system rc files (default for all users) does not have leading "." So, system rc files are: > ! $VIM:vimrc ! $VIM:gvimrc ! $VIM:menu.vim and user's customized rc files are: > *************** *** 170,177 **** $ set disp/create/node=192.168.5.223/trans=tcpip Note: This set-up should be enough, if you are working on standalone server or ! clustered environment, but if you want to use Vim as internode editor, it ! will satisfy you as well. You just have to define the "whole" path: > $ define VIM "[""user password""]::device:" $ vi*m :== "mcr VIM:VIM.EXE" --- 190,198 ---- $ set disp/create/node=192.168.5.223/trans=tcpip Note: This set-up should be enough, if you are working on standalone server or ! clustered environment, but if you want to use Vim as internode editor in ! DECNET environment, it will satisfy you as well. ! You just have to define the "whole" path: > $ define VIM "[""user password""]::device:" $ vi*m :== "mcr VIM:VIM.EXE" *************** *** 186,197 **** Vim will borrow value from $VIM logical. You can find more information about $VIMRUNTIME logical by typing :help runtime as a Vim command. ============================================================================== 7. GUI mode questions *vms-gui* ! VMS is not a native X window environment, so you can not start Vim in GUI mode ! "just like that". But anyhow it is not too complicate to get a running Vim. 1) If you are working on the VMS X/Motif console: Start Vim with the command: > --- 207,242 ---- Vim will borrow value from $VIM logical. You can find more information about $VIMRUNTIME logical by typing :help runtime as a Vim command. + System administrators might want to set up a system wide Vim installation, + then add to the SYS$STARTUP:SYLOGICALS.COM > + + $ define/nolog/sys VIM device: + $ define/nolog/sys TMP SYS$SCRATCH + + and to the SYS$STARTUP:SYLOGIN.COM > + + $ vi*m :== mcr VIM:VIM.EXE + $ gv*im:== spawn/nowait/input=NLA0 mcr VIM:VIM.EXE -g -GEOMETRY 80x40 + + + It will set up normal Vim work environment for every user on the system. + ============================================================================== 7. GUI mode questions *vms-gui* ! OpenVMS in a real mainframe OS, therefore even if it has a GUI console, most of ! the users does not use a native X/Window environment during normal operation. ! It is not possible to start Vim in GUI mode "just like that". But anyhow it is ! not too complicate either. ! ! First of all: you will need an executable that is built with enabled GUI. ! ! Second: you need to have installed DECW/Motif on your VMS server, otherwise ! you will get errors that some shareable libraries are missing. ! ! Third: If you choose to run Vim with extra feature as GUI/GTK then you need ! GTK installation too or at least GTK runtime environment (LIBGTK etc.) 1) If you are working on the VMS X/Motif console: Start Vim with the command: > *************** *** 200,206 **** < or type :gui as a command to the Vim command prompt. For more info :help gui ! 2) If you are working on other X window environment as Unix or some remote X VMS console. Set up display to your host with: > $ set disp/create/node=/trans= --- 245,251 ---- < or type :gui as a command to the Vim command prompt. For more info :help gui ! 2) If you are working on other X/Window environment as Unix or some remote X VMS console. Set up display to your host with: > $ set disp/create/node=/trans= *************** *** 216,230 **** Note: you should define just one of these. For more information type $help set disp in VMS prompt. ! 3) If you are working on MS Windows or other non X window environment You need to set up one X server and run Vim as in point 2. For MS Windows there are available free X servers as MIX , Omni X etc. ============================================================================== 8. Useful notes *vms-notes* ! 8.1 backspace/delete. There are backspace/delete key inconsistencies with VMS. :fixdel doesn't do the trick, but the solution is: > --- 261,299 ---- Note: you should define just one of these. For more information type $help set disp in VMS prompt. ! 3) Another elegant solution is XDM if you have installed on OpenVMS box. ! It is possible to work from XDM client as from GUI console. ! ! 4) If you are working on MS Windows or other non X/Window environment You need to set up one X server and run Vim as in point 2. For MS Windows there are available free X servers as MIX , Omni X etc. + as well as excellent commercial products as eXcursion or ReflectionX with + buit in DEC support. + + Please note, that executables without GUI are slightly faster during startup + then with enabled GUI in character mode. Therefore, if you do not use GUI + features, it is worth to choose non GUI executables. ============================================================================== 8. Useful notes *vms-notes* ! 8.1 backspace/delete ! 8.2 Filters ! 8.3 VMS file version numbers ! 8.4 Directory conversion ! 8.5 Remote host invocation ! 8.6 Terminal problems ! 8.7 Hex-editing and other external tools ! 8.8 Sourcing vimrc and gvimrc ! 8.9 Printing from Vim ! 8.10 Setting up the symbols ! 8.11 diff and other GNU programs ! 8.12 diff-mode ! 8.13 Allow '$' in C keywords ! 8.14 VIMTUTOR for beginners ! ! 8.1 backspace/delete There are backspace/delete key inconsistencies with VMS. :fixdel doesn't do the trick, but the solution is: > *************** *** 236,242 **** (Bruce Hunsaker Vim 5.3) ! 8.2 Filters. Vim supports filters; ie. if you have a sort program that can handle input/output redirection like Unix (outfile), you could use > --- 305,311 ---- (Bruce Hunsaker Vim 5.3) ! 8.2 Filters Vim supports filters; ie. if you have a sort program that can handle input/output redirection like Unix (outfile), you could use > *************** *** 246,252 **** (Charles E. Campbell, Jr. Vim 5.4) ! 8.3 VMS file version numbers. Vim is saving files into a new file with the next higher file version number, try these settings. > --- 315,321 ---- (Charles E. Campbell, Jr. Vim 5.4) ! 8.3 VMS file version numbers Vim is saving files into a new file with the next higher file version number, try these settings. > *************** *** 261,267 **** Vim 5.6 ) ! 8.4 Directory conversion. Vim will internally convert any unix-style paths and even mixed unix/VMS paths into VMS style paths. Some typical conversions resemble: --- 330,336 ---- Vim 5.6 ) ! 8.4 Directory conversion Vim will internally convert any unix-style paths and even mixed unix/VMS paths into VMS style paths. Some typical conversions resemble: *************** *** 314,320 **** Note: Never use it in clustered environment (you do not need it), and load could be very-very slow, but even faster then a local Emacs. :-) ! (Zoltan Arpadffy, Vim 5.6) 8.6 Terminal problems --- 383,389 ---- Note: Never use it in clustered environment (you do not need it), and load could be very-very slow, but even faster then a local Emacs. :-) ! (Zoltan Arpadffy, Vim 5.6) 8.6 Terminal problems *************** *** 364,370 **** set nottyfast " set terminal to slow mode ! (Zoltan Arpadffy, Vim 5.6) 8.7 Hex-editing and other external tools --- 433,439 ---- set nottyfast " set terminal to slow mode ! (Zoltan Arpadffy, Vim 5.6) 8.7 Hex-editing and other external tools *************** *** 399,405 **** For additional information, please read :help tagsearch and CTAGS documentation at http://ctags.sourceforge.net/ctags.html. ! (Zoltan Arpadffy, Vim 5.6-70) 8.8 Sourcing vimrc and gvimrc --- 468,474 ---- For additional information, please read :help tagsearch and CTAGS documentation at http://ctags.sourceforge.net/ctags.html. ! (Zoltan Arpadffy, Vim 5.6-70) 8.8 Sourcing vimrc and gvimrc *************** *** 416,422 **** with copy-paste (for this you need both op. systems reachable from one machine, e.g. an Xterm on Windows or telnet to Windows from VMS). ! (Sandor Kopanyi, Vim 6.0a) 8.9 Printing from Vim --- 485,491 ---- with copy-paste (for this you need both op. systems reachable from one machine, e.g. an Xterm on Windows or telnet to Windows from VMS). ! (Sandor Kopanyi, Vim 6.0a) 8.9 Printing from Vim *************** *** 431,437 **** You can print out whole buffer or just the marked area. More info under :help hardcopy ! (Zoltan Arpadffy, Vim 6.0c) 8.10 Setting up the symbols --- 500,507 ---- You can print out whole buffer or just the marked area. More info under :help hardcopy ! (Zoltan Arpadffy, Vim 6.0c) ! 8.10 Setting up the symbols *************** *** 448,457 **** --- 518,651 ---- (Carlo Mekenkamp, Coen Engelbarts, Vim 6.0ac) + + 8.11 diff and other GNU programs + + From 6.0 diff functionality has been implemented, but OpenVMS does not use + GNU/Unix like diff therefore built in diff does not work. + There is a simple solution to solve this anomaly. Install an Unix like diff + and Vim will work perfect in diff mode too. You just have to redefine your + diff program as: > + + define /nolog diff diff.exe + + Another, more sophisticated solution is described below (8.12 diff-mode) + There are some other programs as patch, make etc that may cause same problems. + At www.polarhome.com is possible to download an GNU package for Alpha and VAX + boxes that is meant to solve GNU problems on OpenVMS. + ( Zoltan Arpadffy, Vim 6.1) + + + 8.12 diff-mode + + Vim 6.0 and higher supports vim diff-mode (See |new-diff-mode|, |diff-mode| + and |08.7|). This uses the external program 'diff' and expects a Unix-like + output format from diff. The standard VMS diff has a different output + format. To use vim on VMS in diff-mode, you need to: + 1 Install a Unix-like diff program, e.g. GNU diff + 2 Tell vim to use the Unix-like diff for diff-mode. + + You can download GNU diff from the VIM-VMS website, it is one of the GNU + tools in http://www.polarfox.com/vim/files/gnu_tools.zip. I suggest to + unpack it in a separate directory "GNU" and create a logical GNU: that + points to that directory. e.g: > + + DEFINE GNU :[.BIN.GNU] + + You may also want to define a symbol GDIFF, to use the GNU diff from the DCL + prompt: > + + GDIFF :== $GNU:DIFF.EXE + + Now you need to tell vim to use the new diff program. Take the example + settings from |diff-diffexpr| and change the call to the external diff + program to the new diff on VMS. Add this to your .vimrc file: > + + " Set up vimdiff options + if v:version >= 600 + " Use GNU diff on VMS + set diffexpr=MyDiff() + function MyDiff() + let opt = "" + if &diffopt =~ "icase" + let opt = opt . "-i " + endif + if &diffopt =~ "iwhite" + let opt = opt . "-b " + endif + silent execute "!mc GNU:diff.exe -a " . opt . v:fname_in . " " . + v:fname_new . + \ " > " . v:fname_out + endfunction + endif + + You can now use vim in diff-mode, e.g. to compare two files in read-only + mode: > + + $ VIM -D/R + + You can also define new symbols for vimdiff, e.g.: > + + $ VIMDIFF :== 'VIM' -D/R + $ GVIMDIFF :== 'GVIM' -D/R + + You can now compare files in 4 ways: > + + 1. VMS diff: $ DIFF + 2. GNU diff: $ GDIFF + 3. VIM diff: $ VIMDIFF + 4. GVIM diff: $ GVIMDIFF + + ( Coen Engelbarts, Vim 6.1) + + + 8.13 Allow '$' in C keywords + + DEC C uses many identifiers with '$' in them. This is not allowed in ANSI C, + and vim recognises the '$' as the end of the identifier. You can change this + with the |iskeyword|command. + Add this command to your .vimrc file: > + + autocmd FileType c,cpp,cs set iskeyword+=$ + + You can also create the file(s) $VIM/FTPLUGIN/C.VIM (and/or CPP.VIM and + CS.VIM) and add this command: > + + set iskeyword+=$ + + Now word-based commands, e.g. the '*'-search-command and the CTRL-] + tag-lookup, work on the whole identifier. (Ctags on VMS also supports '$' in + C keywords since ctags version 5.1.) + + ( Coen Engelbarts, Vim 6.1) + + 8.14 VIMTUTOR for beginners + + It exits VIMTUTOR.COM DCL script that can help Vim beginners to learn/make + first steps with Vim on OpenVMS. Depending of binary distribution you may start + it with: > + + @vim:vimtutor + + (Thomas.R.Wyant III, Vim 6.1) + ============================================================================== 9. VMS related changes *vms-changes* + Version 6.1 (2002 Mar 25) + - Minor "casting" changes + - TCL init_tcl() problem fixed + - CTAGS v5.2.3 included + - GNU tools binaries for OpenVMS + - GTK runtime libraries available + - VMS VIMtutor created + - Make file changes + - GTK feature added + - PERL, PYTHON and TCL support improved + - Documantation updated with GTK features + - INSTALLVMS.TXT files updated with new build possibilities + Version 6.0 (2001 Sep 28) - Unix and VMS code has been merged - separated "really" VMS related code *************** *** 549,558 **** 10. Authors *vms-authors* ! In alphabetical order: ! Zoltan Arpadffy Charles E. Campbell, Jr. Bruce Hunsaker ! Sandor Kopanyi vim:tw=78:ts=8:ft=help:norl: --- 743,755 ---- 10. Authors *vms-authors* ! OpenVMS documentation and executables are maintened by: ! Zoltan Arpadffy ! ! This document uses parts and remarks from earlier authors and contributors ! of OS_VMS.TXT: Charles E. Campbell, Jr. Bruce Hunsaker ! Sandor Kopanyi vim:tw=78:ts=8:ft=help:norl: *** ../vim61.189/src/INSTALLvms.txt Sat Mar 9 18:29:58 2002 --- src/INSTALLvms.txt Tue Aug 27 14:35:50 2002 *************** *** 1,12 **** INSTALLvms.txt - Installation of Vim on OpenVMS - Last change: 2002 Mar 09 ! This file contains instructions for compiling Vim. If you already have an ! executable version of Vim, you don't need this. ! The file "feature.h" can be edited to match your preferences. You can skip ! this, then you will get the default behavior as is documented, which should ! be fine for most people. More information and case analysis you can found in os_vms.txt ([runtime.doc]os_vms.txt or :help vms from vim prompt) --- 1,18 ---- INSTALLvms.txt - Installation of Vim on OpenVMS ! Maintainer: Zoltan Arpadffy ! Last change: 2002 Aug 27 ! This file contains instructions for compiling Vim on Openvms. ! If you already have an executable version of Vim, you don't need this. ! ! If you skip settings described here, then you will get the default Vim ! behavior as it is documented, which should be fine for most users. ! ! The file "feature.h" can be edited to match your preferences, but this files ! does not describe possibilities hidden in feature.h acrobatics, however ! parameters from MAKE_VMS.MMS actively uses and sets up parameters in relation ! with feature.h More information and case analysis you can found in os_vms.txt ([runtime.doc]os_vms.txt or :help vms from vim prompt) *************** *** 18,25 **** 4. Compilation VAXC 5. CTAGS, XXD 6. Deployment ! 7. Notes ! 8. Authors ---------------------------------------------------------------------------- 1. Download files --- 24,32 ---- 4. Compilation VAXC 5. CTAGS, XXD 6. Deployment ! 7. GTK and other features ! 8. Notes ! 9. Authors ---------------------------------------------------------------------------- 1. Download files *************** *** 45,54 **** 1.5. If you want to have Perl, Python or Tcl support in Vim you will need VMS distributions for them as well. ! NOTE: procedure in chapter 1 describes source code preparation from multi OS code, ! however it is available OpenVMS oprimized (and tested) source code from: ftp://ftp.polarhome.com/pub/vim/source/vms/ 2. Configuration 2.1. Edit vim-X.X/src/feature.h for your preference. (You can skip --- 52,68 ---- 1.5. If you want to have Perl, Python or Tcl support in Vim you will need VMS distributions for them as well. ! 1.6 If you want to have GTK executable, you need to have properly installed ! GTK libraries. ! ! NOTE: procedure in chapter 1 describes source code preparation from multi OS ! code,however it is available OpenVMS oprimized (and tested) source code from: ftp://ftp.polarhome.com/pub/vim/source/vms/ + Current OpenVMS source code as .zip or .tar.gz file is possible to download + from CVS mirror ftp://ftp.polarhome.com/pub/cvs/SOURCE/ + + 2. Configuration 2.1. Edit vim-X.X/src/feature.h for your preference. (You can skip *************** *** 62,71 **** Parameter name : MODEL Description : Build model selection ! Options: : TINY - Almost no features enabled, not even multiple windows SMALL - Few features enabled, as basic as possible NORMAL - A default selection of features enabled ! BIG - Many features enabled, as rich as possible. (OpenVMS default) HUGE - All possible featues enabled. Uncommented - will default to BIG Default : MODEL = BIG --- 76,87 ---- Parameter name : MODEL Description : Build model selection ! Options: : TINY - Almost no features enabled, not even ! multiple windows SMALL - Few features enabled, as basic as possible NORMAL - A default selection of features enabled ! BIG - Many features enabled, as rich as possible. ! (OpenVMS default) HUGE - All possible featues enabled. Uncommented - will default to BIG Default : MODEL = BIG *************** *** 76,81 **** --- 92,104 ---- Uncommented - char only Default : GUI = YES + Parameter name : GTK + Description : Enable GTK in GUI mode. + It enables features as toolbar etc. + Options: : YES - GTK executable + Uncommented - without GTK + Default : Uncommented + Parameter name : DECC Description : Compiler selection Options: : YES - DECC compiler *************** *** 114,121 **** Parameter name : VIM_XIM ! Description : X Input Method. For entering special languages like chinese and ! Japanese. Please define just one: VIM_XIM or VIM_HANGULIN Options: : YES - Build with support Uncommented - build without support. Default : Uncommented --- 137,145 ---- Parameter name : VIM_XIM ! Description : X Input Method. For entering special languages ! like chinese and Japanese. Please define just ! one: VIM_XIM or VIM_HANGULIN Options: : YES - Build with support Uncommented - build without support. Default : Uncommented *************** *** 128,134 **** Default : Uncommented Parameter name : VIM_TAG_ANYWHITE ! Description : Allow any white space to separate the fields in a tags file When not defined, only a TAB is allowed. Options: : YES - Build with support Uncommented - build without support. --- 152,159 ---- Default : Uncommented Parameter name : VIM_TAG_ANYWHITE ! Description : Allow any white space to separate the fields in a ! tags file When not defined, only a TAB is allowed. Options: : YES - Build with support Uncommented - build without support. *************** *** 196,211 **** 6.3 Define logicals VIM ! define/nolog device:[leading-path-here.vim] vim to get vim.exe to find its document, filetype, and syntax files. Now, if you are lucky you should have one own built, customized and working Vim. ! 7. Notes ! 7.1. New Compaq C compiler If you are using Compaq C compiler V6.2 or newer, Informational messages of the type QUESTCOMPARE will be displayed. You should ignore those --- 221,363 ---- 6.3 Define logicals VIM ! define/nolog VIM device:[leading-path-here.vim] to get vim.exe to find its document, filetype, and syntax files. Now, if you are lucky you should have one own built, customized and working Vim. ! 7. GTK and other features ! ! 7.1 General notes ! ! To be able to build external GUI or language support wyo have to enable ! related feature in MAKE_VMS.MMS file. Usually it need soem extra tuning ! around include files, shared libraries etc. ! ! Please note, that leading "," are valuable for MMS/MMK syntax. ! ! MAKE_VMS.MMS uses defines as described below: ! ! 7.1.1 feature_DEF = ,"SOME_FEATURE" ! ! Submits definition to compiler preprocessor to enable code blocks ! defined with ! #ifdef SOME_FEATURE ! {some code here} ! #endif ! ! Example: TCL_DEF = ,"FEAT_TCL" ! ! ! 7.1.2 feature_SRC = code1.c code2.c ! ! Defines source code related with particular feature. ! Example: TCL_SRC = if_tcl.c ! ! 7.1.3 feature_OBJ = code1.obj code2.obj ! ! Lists objects created from source codes listed in feature_SRC ! Example: PERL_OBJ = if_perlsfio.obj if_perl.obj ! ! 7.1.4 feature_LIB = ,OS_VMS_TCL.OPT/OPT ! ! Defines the libraries that have to be used for build. ! If it is an OPT file then MAKE_VMS.MMS creates OPT files ! in gen_feature procedure. ! ! Example: ! PERL_LIB = ,OS_VMS_PERL.OPT/OPT ! ! .IFDEF VIM_PERL ! perl_env : ! -@ write sys$output "creating OS_VMS_PERL.OPT file." ! -@ open/write opt_file OS_VMS_PERL.OPT ! -@ write opt_file "PERLSHR /share" ! -@ close opt_file ! .ELSE ! perl_env : ! -@ ! ! .ENDIF ! ! ! 7.1.5 feature_INC = ,dka0:[tcl80.generic] ! ! Defines the directory where the neccessary include files are. ! Example: TCL_INC = ,dka0:[tcl80.generic] ! ! 7.2 GTK ! ! To build VIM with GTK you have to install GTK on your OpenVMS. ! So far it works just on Alphas. More information at: ! http://www.openvms.compaq.com/openvms/products/ips/gtk.html ! ! You need also the OpenVMS Porting Library: ! http://www.openvms.compaq.com/openvms/products/ips/porting.html ! ! Enable GTK in make_vms.mms file with GTK = YES ! Define GTK_ROOT that points to your GTK root directory. ! ! Build it as normally. ! ! Used sharable images are: ! gtk_root:[glib]libglib.exe /share,- ! gtk_root:[glib.gmodule]libgmodule.exe /share,- ! gtk_root:[gtk.gdk]libgdk.exe /share,- ! gtk_root:[gtk.gtk]libgtk.exe /share ! ! During runtime it is suggested to have all these files installed and ! copyed to SYS$LIBRARY: to be able to use it without problems. ! Also VMS_JACKETS.EXE from OpenVMS Porting Library. ! ! Please note, that GTK uses /name=(as_is,short)/float=ieee/ieee=denorm ! complier directives that is not compatible with "standard" VMS usage, ! therefore other external features might fail as PERL, PYTHON and TCL ! support. ! ! 7.3 PERL ! ! You have to install OpenVMS perl package from: ! http://www.openvms.compaq.com/openvms/products/ips/apache/csws_perl_relnotes.html or build on your own from sources downloaded from http://www.perl.org ! ! You need defined PERLSHR logical that points to PERL shareable image ! (or you can just copy over to SYS$LIBRARY:) ! ! Enable Perl feature at make_vms.mms with VIM_PERL = YES ! ! Edit PERL_INC = to point to perl includes directory where is extern.h ! ! Build as usually. ! ! 7.4 PYTHON ! ! You have to install an OpenVMS python package. ! Set up the normal Python work environment. ! ! You have to have defined PYTHON_INCLUDE and PYTHON_OLB logicals. ! PYTHON_INCLUDE should point to Python include files where for ex: ! python.h is located. ! Enable Python feature at make_vms.mms with VIM_PYTHON = YES ! ! Build as usually. ! ! 7.5 TCL ! ! You have to install an OpenVMS TCL package. ! Set up the normal TCL work environment. ! ! You have to have defined TCLSHR logical that points to shareable image. ! ! Enable TCL feature at make_vms.mms with VIM_TCL = YES ! ! Edit TCL_INC = to point to TCL includes directory where is tcl.h ! ! Build as usually. ! ! 8. Notes ! 8.1. New Compaq C compiler If you are using Compaq C compiler V6.2 or newer, Informational messages of the type QUESTCOMPARE will be displayed. You should ignore those *************** *** 218,223 **** NOTE: from version 6.0ad Vim code has been reviewed and these warnings have been corrected. ! 8. Authors ! Initial version, 2000 Jul 19, Zoltan Arpadffy --- 370,375 ---- NOTE: from version 6.0ad Vim code has been reviewed and these warnings have been corrected. ! 9. Authors ! Initial version, 2000 Jul 19, Zoltan Arpadffy *** ../vim61.189/src/gui_gtk_f.h Mon May 29 19:02:29 2000 --- src/gui_gtk_f.h Fri Sep 6 21:59:38 2002 *************** *** 9,14 **** --- 9,17 ---- #ifndef __GTK_FORM_H__ #define __GTK_FORM_H__ + #ifdef VMS + # include "gui_gtk_vms.h" + #endif #include #include *** ../vim61.189/src/if_tcl.c Tue Nov 6 11:39:23 2001 --- src/if_tcl.c Mon Aug 26 20:45:57 2002 *************** *** 217,223 **** #endif void ! tcl_init(arg) char *arg; { #ifndef DYNAMIC_TCL --- 217,223 ---- #endif void ! vim_tcl_init(arg) char *arg; { #ifndef DYNAMIC_TCL *** ../vim61.189/src/main.c Fri Aug 30 22:33:37 2002 --- src/main.c Fri Sep 20 22:00:52 2002 *************** *** 152,158 **** mch_early_init(); #ifdef FEAT_TCL ! tcl_init(argv[0]); #endif #ifdef MEM_PROFILE --- 152,158 ---- mch_early_init(); #ifdef FEAT_TCL ! vim_tcl_init(argv[0]); #endif #ifdef MEM_PROFILE *** ../vim61.189/src/gui_gtk_vms.h Mon Sep 23 21:01:32 2002 --- src/gui_gtk_vms.h Fri Aug 23 21:18:35 2002 *************** *** 0 **** --- 1,734 ---- + /* vi:set ts=8 sts=4 sw=4: + * + * VIM - Vi IMproved by Bram Moolenaar + * + * Do ":help uganda" in Vim to read copying and usage conditions. + * Do ":help credits" in Vim to see a list of people who contributedi. + * + * File MOTIF_REDEFINES.H originally delivers together with + * OpenVMS Porting Library + * http://www.openvms.compaq.com/openvms/products/ips/porting.html + * + * This file has been modified for Vim development. + * Original file contains just defines that GTK for OpenVMS uses, + * but not all functions that DECW library has. Therefore it has been expanded + * with necessary defines for Vim on OpenVMS with GTK GUI. + * + * Zoltan Arpadffy + */ + + /* + ************************************************************************* + * * + * Copyright 2000 Compaq Computer Corporation * + * * + * COMPAQ Registered in U.S. Patent and Trademark Office. * + * * + ************************************************************************* + * IMPORTANT: Carefully read the License Terms below before * + * proceeding. By use of these materials you agree to these terms. * + * If you do not agree to these terms, you may not use this software or * + * the accompanying documentation. * + ************************************************************************* + * LICENSE TERMS * + * 1. GRANT * + * Compaq Computer Corporation ("COMPAQ") grants you the right to use, * + * modify, and distribute the following source code (the "Software") * + * on any number of computers. You may use the Software as part of * + * creating a software program or product intended for commercial or * + * non-commercial distribution in machine-readable source code, binary, * + * or executable formats. You may distribute the Software as * + * machine-readable source code provided this license is not removed * + * from the Software and any modifications are conspicuously indicated. * + * 2. COPYRIGHT * + * The Software is owned by COMPAQ and its suppliers and is protected by * + * copyright laws and international treaties. Your use of the Software * + * and associated documentation is subject to the applicable copyright * + * laws and the express rights and restrictions of these terms. * + * 3. RESTRICTIONS * + * You may not remove any copyright, trademark, or other proprietary * + * notices from the Software or the associated documentation. * + * You are responsible for compliance with all applicable export or * + * re-export control laws and regulations if you export the Software. * + * This license is governed by and is to be construed under the laws * + * of the State of Texas. * + * * + * DISCLAIMER OF WARRANTY AND LIABILITY * + * Compaq shall not be liable for technical or editorial errors or * + * omissions contained herein. The information contained herein is * + * subject to change without notice. * + * * + * THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. * + * THE ENTIRE RISK ARISING OUT OF THE USE OF THIS SOFTWARE REMAINS WITH * + * RECIPIENT. IN NO EVENT SHALL COMPAQ BE LIABLE FOR ANY DIRECT, * + * CONSEQUENTIAL, INCIDENTAL, SPECIAL, PUNITIVE OR OTHER DAMAGES * + * WHATSOEVER (INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS OF BUSINESS * + * PROFITS, BUSINESS INTERRUPTION, OR LOSS OF BUSINESS INFORMATION), * + * EVEN IF COMPAQ HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES * + * AND WHETHER IN AN ACTION OF CONTRACT OR TORT INCLUDING NEGLIGENCE. * + * * + * If you have any questions concerning this license, please contact: * + * Compaq Computer Corporation, Software Business Practices, ZKO1-2/D22, * + * 110 Spit Brook Road, Nashua, NH. 03062-2698. * + * * + ************************************************************************* + */ + + /* INTRINSIC.H omits proto if XtFree is defined */ + /* VMS_BEGIN_C_PLUS_PLUS */ + extern void XtFree(char*); + /* VMS_END_C_PLUS_PLUS */ + + #define _XRegisterFilterByType _XREGISTERFILTERBYTYPE + + #define XAllocClassHint XALLOCCLASSHINT + #define XAllocColor XALLOCCOLOR + #define XAllocColorCells XALLOCCOLORCELLS + #define XAllocSizeHints XALLOCSIZEHINTS + #define XAllocWMHints XALLOCWMHINTS + #define XAutoRepeatOff XAUTOREPEATOFF + #define XAutoRepeatOn XAUTOREPEATON + #define XBaseFontNameListOfFontSet XBASEFONTNAMELISTOFFONTSET + #define XBell XBELL + #define XBitmapPad XBITMAPPAD + #define XChangeActivePointerGrab XCHANGEACTIVEPOINTERGRAB + #define XChangeGC XCHANGEGC + #define XChangeProperty XCHANGEPROPERTY + #define XChangeWindowAttributes XCHANGEWINDOWATTRIBUTES + #define XCheckIfEvent XCHECKIFEVENT + #define XCheckMaskEvent XCHECKMASKEVENT + #define XCheckTypedEvent XCHECKTYPEDEVENT + #define XCheckTypedWindowEvent XCHECKTYPEDWINDOWEVENT + #define XCheckWindowEvent XCHECKWINDOWEVENT + #define XClearArea XCLEARAREA + #define XClearWindow XCLEARWINDOW + #define XClipBox XCLIPBOX + #define XCloseDisplay XCLOSEDISPLAY + #define XCloseIM XCLOSEIM + #define XConfigureWindow XCONFIGUREWINDOW + #define XConvertSelection XCONVERTSELECTION + #define XCopyArea XCOPYAREA + #define XCopyGC XCOPYGC + #define XCopyPlane XCOPYPLANE + #define XCreateBitmapFromData XCREATEBITMAPFROMDATA + #define XCreateColormap XCREATECOLORMAP + #define XCreateFontCursor XCREATEFONTCURSOR + #define XCreateFontSet XCREATEFONTSET + #define XCreateGC XCREATEGC + #define XCreateIC XCREATEIC + #define XCreateImage XCREATEIMAGE + #define XCreatePixmap XCREATEPIXMAP + #define XCreatePixmapCursor XCREATEPIXMAPCURSOR + #define XCreatePixmapFromBitmapData XCREATEPIXMAPFROMBITMAPDATA + #define XCreateRegion XCREATEREGION + #define XCreateSimpleWindow XCREATESIMPLEWINDOW + #define XCreateWindow XCREATEWINDOW + #define XDefaultScreenOfDisplay XDEFAULTSCREENOFDISPLAY + #define XDefineCursor XDEFINECURSOR + #define XDeleteProperty XDELETEPROPERTY + #define XDestroyIC XDESTROYIC + #define XDestroyRegion XDESTROYREGION + #define XDestroyWindow XDESTROYWINDOW + #define XDisplayName XDISPLAYNAME + #define XDisplayOfScreen XDISPLAYOFSCREEN + #define XDisplayString XDISPLAYSTRING + #define XDrawArc XDRAWARC + #define XDrawImageString XDRAWIMAGESTRING + #define XDrawImageString16 XDRAWIMAGESTRING16 + #define XDrawLine XDRAWLINE + #define XDrawLines XDRAWLINES + #define XDrawPoint XDRAWPOINT + #define XDrawPoints XDRAWPOINTS + #define XDrawRectangle XDRAWRECTANGLE + #define XDrawSegments XDRAWSEGMENTS + #define XDrawString XDRAWSTRING + #define XDrawString16 XDRAWSTRING16 + #define XEmptyRegion XEMPTYREGION + #define XEqualRegion XEQUALREGION + #define XEventsQueued XEVENTSQUEUED + #define XExtentsOfFontSet XEXTENTSOFFONTSET + #define XFetchBuffer XFETCHBUFFER + #define XFillArc XFILLARC + #define XFillPolygon XFILLPOLYGON + #define XFillRectangle XFILLRECTANGLE + #define XFillRectangles XFILLRECTANGLES + #define XFilterEvent XFILTEREVENT + #define XFlush XFLUSH + #define XFontsOfFontSet XFONTSOFFONTSET + #define XFree XFREE + #define XFreeColormap XFREECOLORMAP + #define XFreeColors XFREECOLORS + #define XFreeCursor XFREECURSOR + #define XFreeFont XFREEFONT + #define XFreeFontInfo XFREEFONTINFO + #define XFreeFontNames XFREEFONTNAMES + #define XFreeFontSet XFREEFONTSET + #define XFreeGC XFREEGC + #define XFreeModifiermap XFREEMODIFIERMAP + #define XFreePixmap XFREEPIXMAP + #define XFreeStringList XFREESTRINGLIST + #define XGetAtomName XGETATOMNAME + #define XGetDefault XGETDEFAULT + #define XGetErrorDatabaseText XGETERRORDATABASETEXT + #define XGetErrorText XGETERRORTEXT + #define XGetFontProperty XGETFONTPROPERTY + #define XGetGCValues XGETGCVALUES + #define XGetGeometry XGETGEOMETRY + #define XGetIconSizes XGETICONSIZES + #define XGetICValues XGETICVALUES + #define XGetIMValues XGETIMVALUES + #define XGetImage XGETIMAGE + #define XGetKeyboardControl XGETKEYBOARDCONTROL + #define XGetModifierMapping XGETMODIFIERMAPPING + #define XGetMotionEvents XGETMOTIONEVENTS + #define XGetNormalHints XGETNORMALHINTS + #define XGetSelectionOwner XGETSELECTIONOWNER + #define XGetSubImage XGETSUBIMAGE + #define XGetVisualInfo XGETVISUALINFO + #define XGetWMColormapWindows XGETWMCOLORMAPWINDOWS + #define XGetWMProtocols XGETWMPROTOCOLS + #define XGetWMHints XGETWMHINTS + #define XGetWMName XGETWMNAME + #define XGetWMNormalHints XGETWMNORMALHINTS + #define XGetWindowAttributes XGETWINDOWATTRIBUTES + #define XGetWindowProperty XGETWINDOWPROPERTY + #define XGrabKeyboard XGRABKEYBOARD + #define XGrabPointer XGRABPOINTER + #define XGrabServer XGRABSERVER + #define XHeightOfScreen XHEIGHTOFSCREEN + #define XIconifyWindow XICONIFYWINDOW + #define XIfEvent XIFEVENT + #define XInternAtom XINTERNATOM + #define XIntersectRegion XINTERSECTREGION + #define XKeycodeToKeysym XKEYCODETOKEYSYM + #define XKeysymToKeycode XKEYSYMTOKEYCODE + #define XKeysymToString XKEYSYMTOSTRING + #define XListFonts XLISTFONTS + #define XListFontsWithInfo XLISTFONTSWITHINFO + #define XListPixmapFormats XLISTPIXMAPFORMATS + #define XListProperties XLISTPROPERTIES + #define XLoadQueryFont XLOADQUERYFONT + #define XLookupString XLOOKUPSTRING + #define XLowerWindow XLOWERWINDOW + #define XMapRaised XMAPRAISED + #define XMapWindow XMAPWINDOW + #define XMatchVisualInfo XMATCHVISUALINFO + #define XMoveResizeWindow XMOVERESIZEWINDOW + #define XMoveWindow XMOVEWINDOW + #define XNextEvent XNEXTEVENT + #define XOffsetRegion XOFFSETREGION + #define XOpenDisplay XOPENDISPLAY + #define XOpenIM XOPENIM + #define XParseColor XPARSECOLOR + #define XParseGeometry XPARSEGEOMETRY + #define XPeekEvent XPEEKEVENT + #define XPending XPENDING + #define XPointInRegion XPOINTINREGION + #define XPolygonRegion XPOLYGONREGION + #define XPutBackEvent XPUTBACKEVENT + #define XPutImage XPUTIMAGE + #define XRootWindow XROOTWINDOW + #define XQueryColor XQUERYCOLOR + #define XQueryColors XQUERYCOLORS + #define XQueryExtension XQUERYEXTENSION + #define XQueryPointer XQUERYPOINTER + #define XQueryTree XQUERYTREE + #define XRaiseWindow XRAISEWINDOW + #define XReconfigureWMWindow XRECONFIGUREWMWINDOW + #define XRectInRegion XRECTINREGION + #define XRefreshKeyboardMapping XREFRESHKEYBOARDMAPPING + #define XReparentWindow XREPARENTWINDOW + #define XResizeWindow XRESIZEWINDOW + #define XRestackWindows XRESTACKWINDOWS + #define XRootWindowOfScreen XROOTWINDOWOFSCREEN + #define XScreenNumberOfScreen XSCREENNUMBEROFSCREEN + #define XSelectAsyncEvent XSELECTASYNCEVENT + #define XSelectAsyncInput XSELECTASYNCINPUT + #define XSelectInput XSELECTINPUT + #define XSendEvent XSENDEVENT + #define XServerVendor XSERVERVENDOR + #define XSetBackground XSETBACKGROUND + #define XSetClassHint XSETCLASSHINT + #define XSetClipMask XSETCLIPMASK + #define XSetClipOrigin XSETCLIPORIGIN + #define XSetClipRectangles XSETCLIPRECTANGLES + #define XSetCloseDownMode XSETCLOSEDOWNMODE + #define XSetCommand XSETCOMMAND + #define XSetDashes XSETDASHES + #define XSetErrorHandler XSETERRORHANDLER + #define XSetFillStyle XSETFILLSTYLE + #define XSetFont XSETFONT + #define XSetForeground XSETFOREGROUND + #define XSetFunction XSETFUNCTION + #define XSetGraphicsExposures XSETGRAPHICSEXPOSURES + #define XSetICFocus XSETICFOCUS + #define XSetICValues XSETICVALUES + #define XSetIOErrorHandler XSETIOERRORHANDLER + #define XSetInputFocus XSETINPUTFOCUS + #define XSetLineAttributes XSETLINEATTRIBUTES + #define XSetLocaleModifiers XSETLOCALEMODIFIERS + #define XSetNormalHints XSETNORMALHINTS + #define XSetRegion XSETREGION + #define XSetSelectionOwner XSETSELECTIONOWNER + #define XSetStipple XSETSTIPPLE + #define XSetSubwindowMode XSETSUBWINDOWMODE + #define XSetTSOrigin XSETTSORIGIN + #define XSetTile XSETTILE + #define XSetTransientForHint XSETTRANSIENTFORHINT + #define XSetWMColormapWindows XSETWMCOLORMAPWINDOWS + #define XSetWMHints XSETWMHINTS + #define XSetWMIconName XSETWMICONNAME + #define XSetWMName XSETWMNAME + #define XSetWMNormalHints XSETWMNORMALHINTS + #define XSetWMProperties XSETWMPROPERTIES + #define XSetWMProtocols XSETWMPROTOCOLS + #define XSetWindowBackground XSETWINDOWBACKGROUND + #define XSetWindowBackgroundPixmap XSETWINDOWBACKGROUNDPIXMAP + #define XSetWindowColormap XSETWINDOWCOLORMAP + #define XShapeCombineMask XSHAPECOMBINEMASK + #define XShapeCombineRectangles XSHAPECOMBINERECTANGLES + #define XShapeGetRectangles XSHAPEGETRECTANGLES + #define XShrinkRegion XSHRINKREGION + #define XStoreColor XSTORECOLOR + #define XStoreColors XSTORECOLORS + #define XStoreName XSTORENAME + #define XStringToKeysym XSTRINGTOKEYSYM + #define XSubtractRegion XSUBTRACTREGION + #define XSupportsLocale XSUPPORTSLOCALE + #define XSync XSYNC + #define XSynchronize XSYNCHRONIZE + #define XTextExtents XTEXTEXTENTS + #define XTextExtents16 XTEXTEXTENTS16 + #define XTextWidth XTEXTWIDTH + #define XTextWidth16 XTEXTWIDTH16 + #define XTranslateCoordinates XTRANSLATECOORDINATES + #define XUndefineCursor XUNDEFINECURSOR + #define XUngrabKeyboard XUNGRABKEYBOARD + #define XUngrabPointer XUNGRABPOINTER + #define XUngrabServer XUNGRABSERVER + #define XUnionRectWithRegion XUNIONRECTWITHREGION + #define XUnionRegion XUNIONREGION + #define XUnmapWindow XUNMAPWINDOW + #define _XUnregisterFilter _XUNREGISTERFILTER + #define XUnsetICFocus XUNSETICFOCUS + #define XVaCreateNestedList XVACREATENESTEDLIST + #define XVisualIDFromVisual XVISUALIDFROMVISUAL + #define XWarpPointer XWARPPOINTER + #define XWidthOfScreen XWIDTHOFSCREEN + #define XWindowEvent XWINDOWEVENT + #define XWithdrawWindow XWITHDRAWWINDOW + #define XXorRegion XXORREGION + #define XmAddProtocolCallback XMADDPROTOCOLCALLBACK + #define XmAddProtocols XMADDPROTOCOLS + #define XmChangeColor XMCHANGECOLOR + #define XmClipboardCopy XMCLIPBOARDCOPY + #define XmClipboardEndCopy XMCLIPBOARDENDCOPY + #define XmClipboardInquireLength XMCLIPBOARDINQUIRELENGTH + #define XmClipboardLock XMCLIPBOARDLOCK + #define XmClipboardRetrieve XMCLIPBOARDRETRIEVE + #define XmClipboardStartCopy XMCLIPBOARDSTARTCOPY + #define XmClipboardUnlock XMCLIPBOARDUNLOCK + #define XmCreateArrowButton XMCREATEARROWBUTTON + #define XmCreateArrowButtonGadget XMCREATEARROWBUTTONGADGET + #define XmCreateCascadeButton XMCREATECASCADEBUTTON + #define XmCreateDialogShell XMCREATEDIALOGSHELL + #define XmCreateDragIcon XMCREATEDRAGICON + #define XmCreateDrawingArea XMCREATEDRAWINGAREA + #define XmCreateDrawnButton XMCREATEDRAWNBUTTON + #define XmCreateFileSelectionBox XMCREATEFILESELECTIONBOX + #define XmCreateFileSelectionDialog XMCREATEFILESELECTIONDIALOG + #define XmCreateForm XMCREATEFORM + #define XmCreateFormDialog XMCREATEFORMDIALOG + #define XmCreateFrame XMCREATEFRAME + #define XmCreateInformationDialog XMCREATEINFORMATIONDIALOG + #define XmCreateLabelGadget XMCREATELABELGADGET + #define XmCreateMainWindow XMCREATEMAINWINDOW + #define XmCreateMenuBar XMCREATEMENUBAR + #define XmCreateMessageBox XMCREATEMESSAGEBOX + #define XmCreateMessageDialog XMCREATEMESSAGEDIALOG + #define XmCreateOptionMenu XMCREATEOPTIONMENU + #define XmCreatePanedWindow XMCREATEPANEDWINDOW + #define XmCreatePopupMenu XMCREATEPOPUPMENU + #define XmCreatePromptDialog XMCREATEPROMPTDIALOG + #define XmCreatePulldownMenu XMCREATEPULLDOWNMENU + #define XmCreatePushButton XMCREATEPUSHBUTTON + #define XmCreatePushButtonGadget XMCREATEPUSHBUTTONGADGET + #define XmCreateQuestionDialog XMCREATEQUESTIONDIALOG + #define XmCreateRadioBox XMCREATERADIOBOX + #define XmCreateRowColumn XMCREATEROWCOLUMN + #define XmCreateScale XMCREATESCALE + #define XmCreateScrollBar XMCREATESCROLLBAR + #define XmCreateScrolledList XMCREATESCROLLEDLIST + #define XmCreateScrolledText XMCREATESCROLLEDTEXT + #define XmCreateScrolledWindow XMCREATESCROLLEDWINDOW + #define XmCreateSelectionDialog XMCREATESELECTIONDIALOG + #define XmCreateSeparator XMCREATESEPARATOR + #define XmCreateSeparatorGadget XMCREATESEPARATORGADGET + #define XmCreateTemplateDialog XMCREATETEMPLATEDIALOG + #define XmCreateText XMCREATETEXT + #define XmCreateTextField XMCREATETEXTFIELD + #define XmCreateToggleButton XMCREATETOGGLEBUTTON + #define XmCreateToggleButtonGadget XMCREATETOGGLEBUTTONGADGET + #define XmDragStart XMDRAGSTART + #define XmDropSiteRegister XMDROPSITEREGISTER + #define XmDropSiteUnregister XMDROPSITEUNREGISTER + #define XmDropSiteUpdate XMDROPSITEUPDATE + #define XmDropTransferStart XMDROPTRANSFERSTART + #define XmFileSelectionBoxGetChild XMFILESELECTIONBOXGETCHILD + #define XmFileSelectionDoSearch XMFILESELECTIONDOSEARCH + #define XmFontListAppendEntry XMFONTLISTAPPENDENTRY + #define XmFontListCopy XMFONTLISTCOPY + #define XmFontListCreate XMFONTLISTCREATE + #define XmFontListEntryCreate XMFONTLISTENTRYCREATE + #define XmFontListEntryFree XMFONTLISTENTRYFREE + #define XmFontListEntryGetFont XMFONTLISTENTRYGETFONT + #define XmFontListEntryGetTag XMFONTLISTENTRYGETTAG + #define XmFontListEntryLoad XMFONTLISTENTRYLOAD + #define XmFontListFree XMFONTLISTFREE + #define XmFontListFreeFontContext XMFONTLISTFREEFONTCONTEXT + #define XmFontListGetNextFont XMFONTLISTGETNEXTFONT + #define XmFontListInitFontContext XMFONTLISTINITFONTCONTEXT + #define XmFontListNextEntry XMFONTLISTNEXTENTRY + #define XmGetColors XMGETCOLORS + #define XmGetFocusWidget XMGETFOCUSWIDGET + #define XmGetMenuCursor XMGETMENUCURSOR + #define XmGetPixmapByDepth XMGETPIXMAPBYDEPTH + #define XmGetTearOffControl XMGETTEAROFFCONTROL + #define XmGetXmDisplay XMGETXMDISPLAY + #define XmImMbLookupString XMIMMBLOOKUPSTRING + #define XmImRegister XMIMREGISTER + #define XmImSetFocusValues XMIMSETFOCUSVALUES + #define XmImSetValues XMIMSETVALUES + #define XmImUnregister XMIMUNREGISTER + #define XmImUnsetFocus XMIMUNSETFOCUS + #define XmInternAtom XMINTERNATOM + #define XmIsMotifWMRunning XMISMOTIFWMRUNNING + #define XmListAddItem XMLISTADDITEM + #define XmListAddItemUnselected XMLISTADDITEMUNSELECTED + #define XmListAddItemsUnselected XMLISTADDITEMSUNSELECTED + #define XmListDeleteAllItems XMLISTDELETEALLITEMS + #define XmListDeleteItemsPos XMLISTDELETEITEMSPOS + #define XmListDeletePos XMLISTDELETEPOS + #define XmListDeselectAllItems XMLISTDESELECTALLITEMS + #define XmListDeselectPos XMLISTDESELECTPOS + #define XmListGetKbdItemPos XMLISTGETKBDITEMPOS + #define XmListGetMatchPos XMLISTGETMATCHPOS + #define XmListGetSelectedPos XMLISTGETSELECTEDPOS + #define XmListPosSelected XMLISTPOSSELECTED + #define XmListSelectItem XMLISTSELECTITEM + #define XmListSelectPos XMLISTSELECTPOS + #define XmListSetBottomPos XMLISTSETBOTTOMPOS + #define XmListSetItem XMLISTSETITEM + #define XmListSetKbdItemPos XMLISTSETKBDITEMPOS + #define XmListSetPos XMLISTSETPOS + #define XmMainWindowSetAreas XMMAINWINDOWSETAREAS + #define XmMenuPosition XMMENUPOSITION + #define XmMessageBoxGetChild XMMESSAGEBOXGETCHILD + #define XmOptionButtonGadget XMOPTIONBUTTONGADGET + #define XmOptionLabelGadget XMOPTIONLABELGADGET + #define XmProcessTraversal XMPROCESSTRAVERSAL + #define XmQmotif XMQMOTIF + #define XmRemoveProtocolCallback XMREMOVEPROTOCOLCALLBACK + #define XmRepTypeGetId XMREPTYPEGETID + #define XmRepTypeGetRecord XMREPTYPEGETRECORD + #define XmRepTypeRegister XMREPTYPEREGISTER + #define XmRepTypeValidValue XMREPTYPEVALIDVALUE + #define XmScrollBarSetValues XMSCROLLBARSETVALUES + #define XmScrolledWindowSetAreas XMSCROLLEDWINDOWSETAREAS + #define XmSelectionBoxGetChild XMSELECTIONBOXGETCHILD + #define XmStringByteCompare XMSTRINGBYTECOMPARE + #define XmStringCompare XMSTRINGCOMPARE + #define XmStringConcat XMSTRINGCONCAT + #define XmStringCopy XMSTRINGCOPY + #define XmStringCreate XMSTRINGCREATE + #define XmStringCreateLocalized XMSTRINGCREATELOCALIZED + #define XmStringCreateLtoR XMSTRINGCREATELTOR + #define XmStringCreateSimple XMSTRINGCREATESIMPLE + #define XmStringDraw XMSTRINGDRAW + #define XmStringDrawUnderline XMSTRINGDRAWUNDERLINE + #define XmStringExtent XMSTRINGEXTENT + #define XmStringFree XMSTRINGFREE + #define XmStringFreeContext XMSTRINGFREECONTEXT + #define XmStringGetLtoR XMSTRINGGETLTOR + #define XmStringGetNextComponent XMSTRINGGETNEXTCOMPONENT + #define XmStringGetNextSegment XMSTRINGGETNEXTSEGMENT + #define XmStringInitContext XMSTRINGINITCONTEXT + #define XmStringLength XMSTRINGLENGTH + #define XmStringLtoRCreate XMSTRINGLTORCREATE + #define XmStringNConcat XMSTRINGNCONCAT + #define XmStringSegmentCreate XMSTRINGSEGMENTCREATE + #define XmStringWidth XMSTRINGWIDTH + #define XmTextClearSelection XMTEXTCLEARSELECTION + #define XmTextFieldGetEditable XMTEXTFIELDGETEDITABLE + #define XmTextFieldGetInsertionPosition XMTEXTFIELDGETINSERTIONPOSITION + #define XmTextFieldGetLastPosition XMTEXTFIELDGETLASTPOSITION + #define XmTextFieldGetSelection XMTEXTFIELDGETSELECTION + #define XmTextFieldGetString XMTEXTFIELDGETSTRING + #define XmTextFieldInsert XMTEXTFIELDINSERT + #define XmTextFieldRemove XMTEXTFIELDREMOVE + #define XmTextFieldSetSelection XMTEXTFIELDSETSELECTION + #define XmTextFieldSetString XMTEXTFIELDSETSTRING + #define XmTextGetCursorPosition XMTEXTGETCURSORPOSITION + #define XmTextGetInsertionPosition XMTEXTGETINSERTIONPOSITION + #define XmTextGetLastPosition XMTEXTGETLASTPOSITION + #define XmTextGetMaxLength XMTEXTGETMAXLENGTH + #define XmTextGetSelection XMTEXTGETSELECTION + #define XmTextGetSelectionPosition XMTEXTGETSELECTIONPOSITION + #define XmTextGetString XMTEXTGETSTRING + #define XmTextInsert XMTEXTINSERT + #define XmTextRemove XMTEXTREMOVE + #define XmTextReplace XMTEXTREPLACE + #define XmTextSetCursorPosition XMTEXTSETCURSORPOSITION + #define XmTextSetHighlight XMTEXTSETHIGHLIGHT + #define XmTextSetInsertionPosition XMTEXTSETINSERTIONPOSITION + #define XmTextSetSelection XMTEXTSETSELECTION + #define XmTextSetString XMTEXTSETSTRING + #define XmToggleButtonGadgetGetState XMTOGGLEBUTTONGADGETGETSTATE + #define XmToggleButtonGadgetSetState XMTOGGLEBUTTONGADGETSETSTATE + #define XmToggleButtonGetState XMTOGGLEBUTTONGETSTATE + #define XmToggleButtonSetState XMTOGGLEBUTTONSETSTATE + #define XmUpdateDisplay XMUPDATEDISPLAY + #define XmVaCreateSimpleRadioBox XMVACREATESIMPLERADIOBOX + #define XmbDrawString XMBDRAWSTRING + #define XmbLookupString XMBLOOKUPSTRING + #define XmbResetIC XMBRESETIC + #define XmbSetWMProperties XMBSETWMPROPERTIES + #define XmbTextEscapement XMBTEXTESCAPEMENT + #define XmbTextExtents XMBTEXTEXTENTS + #define XmbTextListToTextProperty XMBTEXTLISTTOTEXTPROPERTY + #define XmbTextPropertyToTextList XMBTEXTPROPERTYTOTEXTLIST + #define XmuClientWindow XMUCLIENTWINDOW + #define XmuPrintDefaultErrorMessage XMUPRINTDEFAULTERRORMESSAGE + #define XrmGetDatabase XRMGETDATABASE + #define XrmGetResource XRMGETRESOURCE + #define XrmPutStringResource XRMPUTSTRINGRESOURCE + #define XrmQuarkToString XRMQUARKTOSTRING + #define XrmStringToQuark XRMSTRINGTOQUARK + #define XtAddCallback XTADDCALLBACK + #define XtAddCallbacks XTADDCALLBACKS + #define XtAddEventHandler XTADDEVENTHANDLER + #define XtAddGrab XTADDGRAB + #define XtAllocateGC XTALLOCATEGC + #define XtAppAddActions XTAPPADDACTIONS + #define XtAppAddInput XTAPPADDINPUT + #define XtAppAddTimeOut XTAPPADDTIMEOUT + #define XtAppCreateShell XTAPPCREATESHELL + #define XtAppInitialize XTAPPINITIALIZE + #define XtAppNextEvent XTAPPNEXTEVENT + #define XtAppPeekEvent XTAPPPEEKEVENT + #define XtAppPending XTAPPPENDING + #define XtAppProcessEvent XTAPPPROCESSEVENT + #define XtAppSetErrorHandler XTAPPSETERRORHANDLER + #define XtAppSetFallbackResources XTAPPSETFALLBACKRESOURCES + #define XtAppSetWarningHandler XTAPPSETWARNINGHANDLER + #define XtAppSetWarningMsgHandler XTAPPSETWARNINGMSGHANDLER + #define XtAppWarning XTAPPWARNING + #define XtCallActionProc XTCALLACTIONPROC + #define XtCallCallbackList XTCALLCALLBACKLIST + #define XtCallCallbacks XTCALLCALLBACKS + #define XtConfigureWidget XTCONFIGUREWIDGET + #define XtConvertAndStore XTCONVERTANDSTORE + #define XtCreateApplicationContext XTCREATEAPPLICATIONCONTEXT + #define XtCreateManagedWidget XTCREATEMANAGEDWIDGET + #define XtCreatePopupShell XTCREATEPOPUPSHELL + #define XtCreateWidget XTCREATEWIDGET + #define XtDatabase XTDATABASE + #define XtDestroyWidget XTDESTROYWIDGET + #define XtDisownSelection XTDISOWNSELECTION + #define XtDispatchEvent XTDISPATCHEVENT + #define XtDisplayOfObject XTDISPLAYOFOBJECT + #define XtDisplayStringConvWarning XTDISPLAYSTRINGCONVWARNING + #define XtDisplayToApplicationContext XTDISPLAYTOAPPLICATIONCONTEXT + #define XtFree XTFREE + #define XtGetActionKeysym XTGETACTIONKEYSYM + #define XtGetActionList XTGETACTIONLIST + #define XtGetApplicationNameAndClass XTGETAPPLICATIONNAMEANDCLASS + #define XtGetApplicationResources XTGETAPPLICATIONRESOURCES + #define XtGetGC XTGETGC + #define XtGetMultiClickTime XTGETMULTICLICKTIME + #define XtGetSelectionValue XTGETSELECTIONVALUE + #define XtGetSelectionValues XTGETSELECTIONVALUES + #define XtGetSubresources XTGETSUBRESOURCES + #define XtGetValues XTGETVALUES + #define XtGrabKeyboard XTGRABKEYBOARD + #define XtGrabPointer XTGRABPOINTER + #define XtHasCallbacks XTHASCALLBACKS + #define XtInitializeWidgetClass XTINITIALIZEWIDGETCLASS + #define XtInsertEventHandler XTINSERTEVENTHANDLER + #define XtIsManaged XTISMANAGED + #define XtIsObject XTISOBJECT + #define XtIsSensitive XTISSENSITIVE + #define XtIsSubclass XTISSUBCLASS + #define XtLastTimestampProcessed XTLASTTIMESTAMPPROCESSED + #define XtMakeGeometryRequest XTMAKEGEOMETRYREQUEST + #define XtMakeResizeRequest XTMAKERESIZEREQUEST + #define XtMalloc XTMALLOC + #define XtManageChild XTMANAGECHILD + #define XtManageChildren XTMANAGECHILDREN + #define XtMergeArgLists XTMERGEARGLISTS + #define XtMoveWidget XTMOVEWIDGET + #define XtName XTNAME + #define XtNameToWidget XTNAMETOWIDGET + #define XtOpenDisplay XTOPENDISPLAY + #define XtOverrideTranslations XTOVERRIDETRANSLATIONS + #define XtOwnSelection XTOWNSELECTION + #define XtParent XTPARENT + #define XtParseTranslationTable XTPARSETRANSLATIONTABLE + #define XtPopdown XTPOPDOWN + #define XtPopup XTPOPUP + #define XtQueryGeometry XTQUERYGEOMETRY + #define XtRealizeWidget XTREALIZEWIDGET + #define XtRealloc XTREALLOC + #define XtReleaseGC XTRELEASEGC + #define XtRemoveAllCallbacks XTREMOVEALLCALLBACKS + #define XtRemoveCallback XTREMOVECALLBACK + #define XtRemoveEventHandler XTREMOVEEVENTHANDLER + #define XtRemoveGrab XTREMOVEGRAB + #define XtRemoveInput XTREMOVEINPUT + #define XtRemoveTimeOut XTREMOVETIMEOUT + #define XtResizeWidget XTRESIZEWIDGET + #define XtResolvePathname XTRESOLVEPATHNAME + #define XtSetKeyboardFocus XTSETKEYBOARDFOCUS + #define XtSetMappedWhenManaged XTSETMAPPEDWHENMANAGED + #define XtSetSensitive XTSETSENSITIVE + #define XtSetTypeConverter XTSETTYPECONVERTER + #define XtSetValues XTSETVALUES + #define XtShellStrings XTSHELLSTRINGS + #define XtStrings XTSTRINGS + #define XtToolkitInitialize XTTOOLKITINITIALIZE + #define XtTranslateCoords XTTRANSLATECOORDS + #define XtTranslateKeycode XTTRANSLATEKEYCODE + #define XtUngrabKeyboard XTUNGRABKEYBOARD + #define XtUngrabPointer XTUNGRABPOINTER + #define XtUnmanageChild XTUNMANAGECHILD + #define XtUnmanageChildren XTUNMANAGECHILDREN + #define XtUnrealizeWidget XTUNREALIZEWIDGET + #define XtVaCreateManagedWidget XTVACREATEMANAGEDWIDGET + #define XtVaCreateWidget XTVACREATEWIDGET + #define XtVaGetValues XTVAGETVALUES + #define XtVaSetValues XTVASETVALUES + #define XtWarning XTWARNING + #define XtWidgetToApplicationContext XTWIDGETTOAPPLICATIONCONTEXT + #define XtWindow XTWINDOW + #define XtWindowOfObject XTWINDOWOFOBJECT + #define XtWindowToWidget XTWINDOWTOWIDGET + #define XwcDrawString XWCDRAWSTRING + #define XwcFreeStringList XWCFREESTRINGLIST + #define XwcTextEscapement XWCTEXTESCAPEMENT + #define XwcTextExtents XWCTEXTEXTENTS + #define XwcTextListToTextProperty XWCTEXTLISTTOTEXTPROPERTY + #define XwcTextPropertyToTextList XWCTEXTPROPERTYTOTEXTLIST + #define _XmBottomShadowColorDefault _XMBOTTOMSHADOWCOLORDEFAULT + #define _XmClearBorder _XMCLEARBORDER + #define _XmConfigureObject _XMCONFIGUREOBJECT + #define _XmDestroyParentCallback _XMDESTROYPARENTCALLBACK + #define _XmDrawArrow _XMDRAWARROW + #define _XmDrawShadows _XMDRAWSHADOWS + #define _XmFontListGetDefaultFont _XMFONTLISTGETDEFAULTFONT + #define _XmFromHorizontalPixels _XMFROMHORIZONTALPIXELS + #define _XmFromVerticalPixels _XMFROMVERTICALPIXELS + #define _XmGetClassExtensionPtr _XMGETCLASSEXTENSIONPTR + #define _XmGetDefaultFontList _XMGETDEFAULTFONTLIST + #define _XmGetTextualDragIcon _XMGETTEXTUALDRAGICON + #define _XmGetWidgetExtData _XMGETWIDGETEXTDATA + #define _XmGrabKeyboard _XMGRABKEYBOARD + #define _XmGrabPointer _XMGRABPOINTER + #define _XmInheritClass _XMINHERITCLASS + #define _XmInputInGadget _XMINPUTINGADGET + #define _XmMakeGeometryRequest _XMMAKEGEOMETRYREQUEST + #define _XmMenuPopDown _XMMENUPOPDOWN + #define _XmMoveObject _XMMOVEOBJECT + #define _XmNavigChangeManaged _XMNAVIGCHANGEMANAGED + #define _XmOSBuildFileList _XMOSBUILDFILELIST + #define _XmOSFileCompare _XMOSFILECOMPARE + #define _XmOSFindPatternPart _XMOSFINDPATTERNPART + #define _XmOSQualifyFileSpec _XMOSQUALIFYFILESPEC + #define _XmPostPopupMenu _XMPOSTPOPUPMENU + #define _XmPrimitiveEnter _XMPRIMITIVEENTER + #define _XmPrimitiveLeave _XMPRIMITIVELEAVE + #define _XmRedisplayGadgets _XMREDISPLAYGADGETS + #define _XmShellIsExclusive _XMSHELLISEXCLUSIVE + #define _XmStringDraw _XMSTRINGDRAW + #define _XmStringGetTextConcat _XMSTRINGGETTEXTCONCAT + #define _XmStrings _XMSTRINGS + #define _XmToHorizontalPixels _XMTOHORIZONTALPIXELS + #define _XmToVerticalPixels _XMTOVERTICALPIXELS + #define _XmTopShadowColorDefault _XMTOPSHADOWCOLORDEFAULT + #define _Xm_fastPtr _XM_FASTPTR + #define _XtCheckSubclassFlag _XTCHECKSUBCLASSFLAG + #define _XtInherit _XTINHERIT + #define _XtInheritTranslations _XTINHERITTRANSLATIONS + #define applicationShellWidgetClass APPLICATIONSHELLWIDGETCLASS + #define compositeWidgetClass COMPOSITEWIDGETCLASS + #define overrideShellWidgetClass OVERRIDESHELLWIDGETCLASS + #define shellWidgetClass SHELLWIDGETCLASS + #define topLevelShellClassRec TOPLEVELSHELLCLASSREC + #define topLevelShellWidgetClass TOPLEVELSHELLWIDGETCLASS + #define transientShellWidgetClass TRANSIENTSHELLWIDGETCLASS + #define vendorShellClassRec VENDORSHELLCLASSREC + #define vendorShellWidgetClass VENDORSHELLWIDGETCLASS + #define wmShellWidgetClass WMSHELLWIDGETCLASS + #define xmArrowButtonWidgetClass XMARROWBUTTONWIDGETCLASS + #define xmCascadeButtonClassRec XMCASCADEBUTTONCLASSREC + #define xmCascadeButtonGadgetClass XMCASCADEBUTTONGADGETCLASS + #define xmCascadeButtonWidgetClass XMCASCADEBUTTONWIDGETCLASS + #define xmDialogShellWidgetClass XMDIALOGSHELLWIDGETCLASS + #define xmDrawingAreaWidgetClass XMDRAWINGAREAWIDGETCLASS + #define xmDrawnButtonWidgetClass XMDRAWNBUTTONWIDGETCLASS + #define xmFileSelectionBoxWidgetClass XMFILESELECTIONBOXWIDGETCLASS + #define xmFormWidgetClass XMFORMWIDGETCLASS + #define xmFrameWidgetClass XMFRAMEWIDGETCLASS + #define xmGadgetClass XMGADGETCLASS + #define xmLabelGadgetClass XMLABELGADGETCLASS + #define xmLabelWidgetClass XMLABELWIDGETCLASS + #define xmListWidgetClass XMLISTWIDGETCLASS + #define xmMainWindowWidgetClass XMMAINWINDOWWIDGETCLASS + #define xmManagerClassRec XMMANAGERCLASSREC + #define xmManagerWidgetClass XMMANAGERWIDGETCLASS + #define xmMenuShellWidgetClass XMMENUSHELLWIDGETCLASS + #define xmMessageBoxWidgetClass XMMESSAGEBOXWIDGETCLASS + #define xmPrimitiveClassRec XMPRIMITIVECLASSREC + #define xmPrimitiveWidgetClass XMPRIMITIVEWIDGETCLASS + #define xmPushButtonClassRec XMPUSHBUTTONCLASSREC + #define xmPushButtonGadgetClass XMPUSHBUTTONGADGETCLASS + #define xmPushButtonWidgetClass XMPUSHBUTTONWIDGETCLASS + #define xmRowColumnWidgetClass XMROWCOLUMNWIDGETCLASS + #define xmSashWidgetClass XMSASHWIDGETCLASS + #define xmScrollBarWidgetClass XMSCROLLBARWIDGETCLASS + #define xmScrolledWindowClassRec XMSCROLLEDWINDOWCLASSREC + #define xmScrolledWindowWidgetClass XMSCROLLEDWINDOWWIDGETCLASS + #define xmSeparatorGadgetClass XMSEPARATORGADGETCLASS + #define xmSeparatorWidgetClass XMSEPARATORWIDGETCLASS + #define xmTextFieldWidgetClass XMTEXTFIELDWIDGETCLASS + #define xmTextWidgetClass XMTEXTWIDGETCLASS + #define xmToggleButtonGadgetClass XMTOGGLEBUTTONGADGETCLASS + #define xmToggleButtonWidgetClass XMTOGGLEBUTTONWIDGETCLASS + + /* + ** XtRegisterDrawable and XtUnregisterDrawable don't exist until R6. + ** So we have to fake it for R5 and earlier. It would be real nice to + ** include X11.h here and then test for R6 by checking + ** XlibSpecificationRelease. But including X11.h defines the symbol "None" + ** and there's Mozilla code in gfx/src/gtk that defines an enum element + ** named None. So for now hard code this is R5.... + */ + #ifndef VMS_X11R6 + /* R5 or earlier */ + #define _XtRegisterWindow _XTREGISTERWINDOW + #define _XtUnregisterWindow _XTUNREGISTERWINDOW + /* original code is fixed so we don't need this now */ + #if 0 + #define XtRegisterDrawable(display,drawable,widget) \ + { extern void _XtRegisterWindow(Window,Widget); \ + _XtRegisterWindow(drawable,widget); \ + } + #define XtUnregisterDrawable(display,drawable) \ + { extern void _XtUnregisterWindow(Window,Widget); \ + _XtUnregisterWindow(drawable,XtWindowToWidget(display,drawable)); \ + } + #endif + #else + /* R6 or later */ + #define XtRegisterDrawable XTREGISTERDRAWABLE + #define XtUnregisterDrawable XTUNREGISTERDRAWABLE + #endif *** ../vim61.189/src/Make_vms.mms Sat Mar 9 18:29:13 2002 --- src/Make_vms.mms Tue Aug 27 13:55:20 2002 *************** *** 1,14 **** # # Makefile for Vim on OpenVMS # ! # Maintainer: Zoltan Arpadffy ! # Last change: 2002 Mar 09 # ! # This has script been tested on VMS 6.2 to 7.2 on DEC Alpha and VAX # with MMS and MMK # # The following could be built: ! # vim.exe: standard # dvim.exe: debug # # Edit the lines in the Configuration section below for fine tuning. --- 1,14 ---- # # Makefile for Vim on OpenVMS # ! # Maintainer: Zoltan Arpadffy ! # Last change: 2002 Aug 27 # ! # This has script been tested on VMS 6.2 to 7.3 on DEC Alpha and VAX # with MMS and MMK # # The following could be built: ! # vim.exe: standard (terminal, GUI/Motif, GUI/GTK) # dvim.exe: debug # # Edit the lines in the Configuration section below for fine tuning. *************** *** 21,26 **** --- 21,33 ---- ###################################################################### # Configuration section. ###################################################################### + # Platform selection + # Define this if you will use the VAX platform to build. + # VAX = YES + + # Compiler selection. + # Comment out if you use the VAXC compiler + DECC = YES # Build model selection # TINY - Almost no features enabled, not even multiple windows *************** *** 35,43 **** # Comment out if you want just the character terminal mode only. GUI = YES ! # Compiler selection. ! # Comment out if you use the VAXC compiler ! DECC = YES # Comment out if you want the compiler version with :ver command. # NOTE: This part can make some complications if you're using some --- 42,50 ---- # Comment out if you want just the character terminal mode only. GUI = YES ! # GUI with GTK ! # If you have GTK installed you might want to enable this option. ! # GTK = YES # Comment out if you want the compiler version with :ver command. # NOTE: This part can make some complications if you're using some *************** *** 51,62 **** # Languages support for Perl, Python, TCL etc. # If you don't need it really, leave them behind the comment. ! # You will need special libs etc. # VIM_TCL = YES # VIM_PERL = YES - # VIM_SNIFF = YES # VIM_PYTHON = YES # VIM_RUBY = YES # X Input Method. For entering special languages like chinese and # Japanese. Please define just one: VIM_XIM or VIM_HANGULIN --- 58,69 ---- # Languages support for Perl, Python, TCL etc. # If you don't need it really, leave them behind the comment. ! # You will need related libraries, include files etc. # VIM_TCL = YES # VIM_PERL = YES # VIM_PYTHON = YES # VIM_RUBY = YES + # VIM_SNIFF = YES # X Input Method. For entering special languages like chinese and # Japanese. Please define just one: VIM_XIM or VIM_HANGULIN *************** *** 75,82 **** --- 82,121 ---- # Directory, library and include files configuration section. # Normally you need not to change anything below. ! # These may need to be defined if things are not in standard locations + # + # You can find some explanation in INSTALLVMS.TXT ###################################################################### + # Compiler setup + + .IFDEF VAX + .IFDEF DECC # VAX with DECC + CC_DEF = cc/decc + PREFIX = /prefix=all + .ELSE # VAX with VAXC + CC_DEF = cc + PREFIX = + CCVER = + .ENDIF + .ELSE # AXP wixh DECC + CC_DEF = cc + PREFIX = /prefix=all + .ENDIF + + LD_DEF = link + C_INC = [.proto] + + .IFDEF DEBUG + DEBUG_DEF = ,"DEBUG" + TARGET = dvim.exe + CFLAGS = /debug/noopt$(PREFIX) + LDFLAGS = /debug + .ELSE + TARGET = vim.exe + CFLAGS = /opt$(PREFIX) + LDFLAGS = + .ENDIF + # Predefined VIM directories # Please, use $VIM and $VIMRUNTIME logicals instead VIMLOC = "" *************** *** 84,102 **** CONFIG_H = os_vms_conf.h .IFDEF GUI ! # X/Motif executable (also works in terminal mode ) ! DEFS = "HAVE_CONFIG_H","FEAT_GUI_MOTIF" ! LIBS = ,OS_VMS.OPT/OPT GUI_SRC = gui.c gui_motif.c gui_x11.c GUI_OBJ = gui.obj gui_motif.obj gui_x11.obj ! GUI_INC = gui.h ! # GUI_INC_DIR = decw$include: ! # GUI_LIB_DIR = sys$library: ! # X_LIB_DIR = ! # X_LIB = ! # EXTRA_LIB = .ELSE # Character terminal only executable --- 123,163 ---- CONFIG_H = os_vms_conf.h + .IFDEF GTK .IFDEF GUI ! .ELSE ! GUI = YES ! .ENDIF ! .ENDIF ! ! .IFDEF GUI ! # X/Motif/GTK executable (also works in terminal mode ) ! ! .IFDEF GTK ! GTK_DIR = ALPHA$DKA0:[GTK128.] ! DEFS = "HAVE_CONFIG_H","FEAT_GUI_GTK" ! LIBS = ,OS_VMS_GTK.OPT/OPT ! GUI_FLAG = /name=(as_is,short)/float=ieee/ieee=denorm ! GUI_SRC = gui.c gui_gtk.c gui_gtk_f.c gui_gtk_x11.c pty.c ! GUI_OBJ = gui.obj gui_gtk.obj gui_gtk_f.obj gui_gtk_x11.obj pty.obj ! GUI_INC = ,"/gtk_root/gtk","/gtk_root/glib" ! # GUI_INC_VER is used just for :ver information ! # this string should escape from C and DCL in the same time ! GUI_INC_VER= ,\""/gtk_root/gtk\"",\""/gtk_root/glib\"" ! .else ! MOTIF = YES ! DEFS = "HAVE_CONFIG_H","FEAT_GUI_MOTIF" ! LIBS = ,OS_VMS_MOTIF.OPT/OPT ! GUI_FLAG = GUI_SRC = gui.c gui_motif.c gui_x11.c GUI_OBJ = gui.obj gui_motif.obj gui_x11.obj ! GUI_INC = ! .ENDIF ! # You need to define these variables if you do not have DECW files ! # at standard location ! GUI_INC_DIR = ,decw$include: ! # GUI_LIB_DIR = ,sys$library: .ELSE # Character terminal only executable *************** *** 106,115 **** .IFDEF VIM_PERL # Perl related setup. PERL_DEF = ,"FEAT_PERL" PERL_SRC = if_perlsfio.c if_perl.xs PERL_OBJ = if_perlsfio.obj if_perl.obj ! PERL_LIB = .ENDIF .IFDEF VIM_PYTHON --- 167,178 ---- .IFDEF VIM_PERL # Perl related setup. + PERL = perl PERL_DEF = ,"FEAT_PERL" PERL_SRC = if_perlsfio.c if_perl.xs PERL_OBJ = if_perlsfio.obj if_perl.obj ! PERL_LIB = ,OS_VMS_PERL.OPT/OPT ! PERL_INC = ,dka0:[perlbuild.perl.lib.vms_axp.5_6_1.core] .ENDIF .IFDEF VIM_PYTHON *************** *** 117,123 **** PYTHON_DEF = ,"FEAT_PYTHON" PYTHON_SRC = if_python.c PYTHON_OBJ = if_python.obj ! PYTHON_LIB = .ENDIF .IFDEF VIM_TCL --- 180,187 ---- PYTHON_DEF = ,"FEAT_PYTHON" PYTHON_SRC = if_python.c PYTHON_OBJ = if_python.obj ! PYTHON_LIB = ,OS_VMS_PYTHON.OPT/OPT ! PYTHON_INC = ,PYTHON_INCLUDE .ENDIF .IFDEF VIM_TCL *************** *** 125,131 **** TCL_DEF = ,"FEAT_TCL" TCL_SRC = if_tcl.c TCL_OBJ = if_tcl.obj ! TCL_LIB = .ENDIF .IFDEF VIM_SNIFF --- 189,196 ---- TCL_DEF = ,"FEAT_TCL" TCL_SRC = if_tcl.c TCL_OBJ = if_tcl.obj ! TCL_LIB = ,OS_VMS_TCL.OPT/OPT ! TCL_INC = ,dka0:[tcl80.generic] .ENDIF .IFDEF VIM_SNIFF *************** *** 134,139 **** --- 199,205 ---- SNIFF_SRC = if_sniff.c SNIFF_OBJ = if_sniff.obj SNIFF_LIB = + SNIFF_INC = .ENDIF .IFDEF VIM_RUBY *************** *** 141,147 **** RUBY_DEF = ,"FEAT_RUBY" RUBY_SRC = if_ruby.c RUBY_OBJ = if_ruby.obj ! RUBY_LIB = .ENDIF .IFDEF VIM_XIM --- 207,214 ---- RUBY_DEF = ,"FEAT_RUBY" RUBY_SRC = if_ruby.c RUBY_OBJ = if_ruby.obj ! RUBY_LIB = ,OS_VMS_RUBY.OPT/OPT ! RUBY_INC = .ENDIF .IFDEF VIM_XIM *************** *** 165,229 **** TAG_DEF = ,"FEAT_TAG_ANYWHITE" .ENDIF ###################################################################### # End of configuration section. # Please, do not change anything below without programming experience. ###################################################################### - CC = cc - - .IFDEF DECC - CC_DEF = $(CC)/decc - PREFIX = /prefix=all - .ELSE - CC_DEF = $(CC) - PREFIX = - CCVER = - .ENDIF - - LD_DEF = link - - .IFDEF DEBUG - DEBUG_DEF = ,"DEBUG" - TARGET = dvim.exe - CFLAGS = /debug/noopt$(PREFIX)/include=[.proto] - LDFLAGS = /debug - .ELSE - TARGET = vim.exe - CFLAGS = /opt$(PREFIX)/include=[.proto] - LDFLAGS = - .ENDIF MODEL_DEF = "FEAT_$(MODEL)", # These go into pathdef.c ! VIMUSER = "''f$extract(f$locate(",",f$user())+1,f$length(f$user())-f$locate(",",f$user())-2,f$user())'" ! VIMHOST = "''f$trnlnm("sys$node")'''f$trnlnm("ucx$inet_host")'.''f$trnlnm("ucx$inet_domain")'" .SUFFIXES : .obj .c ! ALL_CFLAGS = /def=($(MODEL_DEF)$(DEFS)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF)$(TCL_DEF)$(SNIFF_DEF)$(RUBY_DEF)$(XIM_DEF)$(HANGULIN_DEF)$(TAG_DEF)) $(CFLAGS) ! ALL_LIBS = $(LIBS) $(GUI_LIB_DIR) $(X_LIB_DIR) $(GUI_LIB) $(X_LIB) $(EXTRA_LIB)\ $(PERL_LIB) $(PYTHON_LIB) $(TCL_LIB) $(SNIFF_LIB) $(RUBY_LIB) ! SRC = buffer.c charset.c diff.c digraph.c edit.c eval.c ex_cmds.c ex_cmds2.c ex_docmd.c \ ! ex_getln.c if_xcmdsrv.c fileio.c fold.c getchar.c main.c mark.c menu.c mbyte.c \ ! memfile.c memline.c message.c misc1.c misc2.c move.c normal.c ops.c option.c \ ! pty.c quickfix.c regexp.c search.c syntax.c tag.c term.c termlib.c \ ! ui.c undo.c version.c screen.c window.c os_unix.c os_vms.c pathdef.c \ ! $(GUI_SRC) $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) $(SNIFF_SRC) $(RUBY_SRC) $(HANGULIN_SRC) ! ! OBJ = buffer.obj charset.obj diff.obj digraph.obj edit.obj eval.obj ex_cmds.obj ex_cmds2.obj \ ! ex_docmd.obj ex_getln.obj if_xcmdsrv.obj fileio.obj fold.obj getchar.obj \ ! main.obj mark.obj menu.obj memfile.obj memline.obj message.obj misc1.obj \ ! misc2.obj move.obj mbyte.obj normal.obj ops.obj option.obj pty.obj quickfix.obj \ ! regexp.obj search.obj syntax.obj tag.obj term.obj termlib.obj ui.obj \ ! undo.obj screen.obj version.obj window.obj os_unix.obj os_vms.obj pathdef.obj \ ! $(GUI_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(TCL_OBJ) $(SNIFF_OBJ) $(RUBY_OBJ) $(HANGULIN_OBJ) # Default target is making the executable ! all : [.auto]config.h mmk_compat $(TARGET) ! $@ [.auto]config.h : $(CONFIG_H) --- 232,288 ---- TAG_DEF = ,"FEAT_TAG_ANYWHITE" .ENDIF + ###################################################################### # End of configuration section. # Please, do not change anything below without programming experience. ###################################################################### MODEL_DEF = "FEAT_$(MODEL)", # These go into pathdef.c ! VIMUSER = "''F$EDIT(F$GETJPI(" ","USERNAME"),"TRIM")'" ! VIMHOST = "''F$TRNLNM("SYS$NODE")'''F$TRNLNM("UCX$INET_HOST")'.''F$TRNLNM("UCX$INET_DOMAIN")'" .SUFFIXES : .obj .c ! ALL_CFLAGS = /def=($(MODEL_DEF)$(DEFS)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF)$(TCL_DEF)$(SNIFF_DEF)$(RUBY_DEF)$(XIM_DEF)$(HANGULIN_DEF)$(TAG_DEF)) - ! $(CFLAGS)$(GUI_FLAG) - ! /include=($(C_INC)$(GUI_INC_DIR)$(GUI_INC)$(PERL_INC)$(PYTHON_INC)$(TCL_INC)) ! ! # CFLAGS displayed in :ver information ! # It is specially formated for correct display of unix like includes ! # as $(GUI_INC) - replaced with $(GUI_INC_VER) ! # Otherwise should not be any other difference. ! ALL_CFLAGS_VER = /def=($(MODEL_DEF)$(DEFS)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF)$(TCL_DEF)$(SNIFF_DEF)$(RUBY_DEF)$(XIM_DEF)$(HANGULIN_DEF)$(TAG_DEF)) - ! $(CFLAGS)$(GUI_FLAG) - ! /include=($(C_INC)$(GUI_INC_DIR)$(GUI_INC_VER)$(PERL_INC)$(PYTHON_INC)$(TCL_INC)) ! ALL_LIBS = $(LIBS) $(GUI_LIB_DIR) $(GUI_LIB) \ $(PERL_LIB) $(PYTHON_LIB) $(TCL_LIB) $(SNIFF_LIB) $(RUBY_LIB) ! SRC = buffer.c charset.c diff.c digraph.c edit.c eval.c ex_cmds.c ex_cmds2.c \ ! ex_docmd.c ex_getln.c if_xcmdsrv.c fileio.c fold.c getchar.c main.c \ ! mark.c menu.c mbyte.c memfile.c memline.c message.c misc1.c misc2.c \ ! move.c normal.c ops.c option.c quickfix.c regexp.c search.c syntax.c \ ! tag.c term.c termlib.c ui.c undo.c version.c screen.c window.c \ ! os_unix.c os_vms.c pathdef.c \ ! $(GUI_SRC) $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) $(SNIFF_SRC) \ ! $(RUBY_SRC) $(HANGULIN_SRC) ! ! OBJ = buffer.obj charset.obj diff.obj digraph.obj edit.obj eval.obj \ ! ex_cmds.obj ex_cmds2.obj ex_docmd.obj ex_getln.obj if_xcmdsrv.obj \ ! fileio.obj fold.obj getchar.obj main.obj mark.obj menu.obj \ ! memfile.obj memline.obj message.obj misc1.obj misc2.obj move.obj \ ! mbyte.obj normal.obj ops.obj option.obj quickfix.obj regexp.obj \ ! search.obj syntax.obj tag.obj term.obj termlib.obj ui.obj undo.obj \ ! screen.obj version.obj window.obj os_unix.obj os_vms.obj pathdef.obj \ ! $(GUI_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(TCL_OBJ) $(SNIFF_OBJ) \ ! $(RUBY_OBJ) $(HANGULIN_OBJ) # Default target is making the executable ! all : [.auto]config.h mmk_compat motif_env gtk_env perl_env python_env tcl_env ruby_env $(TARGET) ! $@ [.auto]config.h : $(CONFIG_H) *************** *** 239,244 **** --- 298,305 ---- -@ if "''F$SEARCH("*.obj")'" .NES. "" then delete/noconfirm/nolog *.obj;* -@ if "''F$SEARCH("[.auto]config.h")'" .NES. "" then delete/noconfirm/nolog [.auto]config.h;* -@ if "''F$SEARCH("pathdef.c")'" .NES. "" then delete/noconfirm/nolog pathdef.c;* + -@ if "''F$SEARCH("if_perl.c")'" .NES. "" then delete/noconfirm/nolog if_perl.c;* + -@ if "''F$SEARCH("*.opt")'" .NES. "" then delete/noconfirm/nolog *.opt;* # Link the target $(TARGET) : $(OBJ) *************** *** 248,277 **** $(CC_DEF) $(ALL_CFLAGS) $< pathdef.c : check_ccver $(CONFIG_H) ! -@ write sys$output "creating pathdef.c" -@ open/write pd pathdef.c -@ write pd "/* pathdef.c -- DO NOT EDIT! */" ! -@ write pd "/* This file is automatically created by Make_vms.mms" ! -@ write pd " * Change the file Make_vms.mms only. */" -@ write pd "typedef unsigned char char_u;" -@ write pd "char_u *default_vim_dir = (char_u *)"$(VIMLOC)";" -@ write pd "char_u *default_vimruntime_dir = (char_u *)"$(VIMRUN)";" ! -@ write pd "char_u *all_cflags = (char_u *)""$(CC_DEF) /incl=[] $(ALL_CFLAGS)"";" ! -@ write pd "char_u *all_lflags = (char_u *)""$(LD_DEF) $(LDFLAGS) /exe=$(TARGET) *.obj $(ALL_LIBS)"";" -@ write pd "char_u *compiler_version = (char_u *) ""''CC_VER'"";" -@ write pd "char_u *compiled_user = (char_u *) "$(VIMUSER)";" -@ write pd "char_u *compiled_sys = (char_u *) "$(VIMHOST)";" -@ close pd make_vms.mms : ! @ write sys$output "The name of the makefile MUST be !!!" .IFDEF CCVER # This part can make some complications if you're using some predefined # symbols/flags for your compiler. If does, just comment out CCVER variable check_ccver : -@ define sys$output cc_ver.tmp ! -@ $(CC)/version -@ deassign sys$output -@ open/read file cc_ver.tmp -@ read file CC_VER --- 309,342 ---- $(CC_DEF) $(ALL_CFLAGS) $< pathdef.c : check_ccver $(CONFIG_H) ! -@ write sys$output "creating PATHDEF.C file." -@ open/write pd pathdef.c -@ write pd "/* pathdef.c -- DO NOT EDIT! */" ! -@ write pd "/* This file is automatically created by MAKE_VMS.MMS" ! -@ write pd " * Change the file MAKE_VMS.MMS Only. */" -@ write pd "typedef unsigned char char_u;" -@ write pd "char_u *default_vim_dir = (char_u *)"$(VIMLOC)";" -@ write pd "char_u *default_vimruntime_dir = (char_u *)"$(VIMRUN)";" ! -@ write pd "char_u *all_cflags = (char_u *)""$(CC_DEF)$(ALL_CFLAGS_VER)"";" ! -@ write pd "char_u *all_lflags = (char_u *)""$(LD_DEF)$(LDFLAGS) /exe=$(TARGET) *.OBJ $(ALL_LIBS)"";" -@ write pd "char_u *compiler_version = (char_u *) ""''CC_VER'"";" -@ write pd "char_u *compiled_user = (char_u *) "$(VIMUSER)";" -@ write pd "char_u *compiled_sys = (char_u *) "$(VIMHOST)";" -@ close pd + if_perl.c : if_perl.xs + -@ $(PERL) PERL_ROOT:[LIB.ExtUtils]xsubpp -prototypes -typemap - + PERL_ROOT:[LIB.ExtUtils]typemap if_perl.xs >> $@ + make_vms.mms : ! -@ write sys$output "The name of the makefile MUST be !!!" .IFDEF CCVER # This part can make some complications if you're using some predefined # symbols/flags for your compiler. If does, just comment out CCVER variable check_ccver : -@ define sys$output cc_ver.tmp ! -@ $(CC_DEF)/version -@ deassign sys$output -@ open/read file cc_ver.tmp -@ read file CC_VER *************** *** 281,283 **** --- 346,446 ---- check_ccver : -@ ! .ENDIF + + .IFDEF MOTIF + motif_env : + -@ write sys$output "using DECW/Motif environment." + -@ write sys$output "creating OS_VMS_MOTIF.OPT file." + -@ open/write opt_file OS_VMS_MOTIF.OPT + -@ write opt_file "sys$share:decw$xmlibshr12.exe/share,-" + -@ write opt_file "sys$share:decw$xtlibshrr5.exe/share,-" + -@ write opt_file "sys$share:decw$xlibshr.exe/share" + -@ close opt_file + .ELSE + motif_env : + -@ ! + .ENDIF + + + .IFDEF GTK + gtk_env : + -@ write sys$output "using GTK environment:" + -@ define/nolog gtk_root /trans=conc $(GTK_DIR) + -@ show logical gtk_root + -@ write sys$output " include path: "$(GUI_INC)"" + -@ write sys$output "creating OS_VMS_GTK.OPT file." + -@ open/write opt_file OS_VMS_GTK.OPT + -@ write opt_file "gtk_root:[glib]libglib.exe /share,-" + -@ write opt_file "gtk_root:[glib.gmodule]libgmodule.exe /share,-" + -@ write opt_file "gtk_root:[gtk.gdk]libgdk.exe /share,-" + -@ write opt_file "gtk_root:[gtk.gtk]libgtk.exe /share,-" + -@ write opt_file "sys$share:decw$xmlibshr12.exe/share,-" + -@ write opt_file "sys$share:decw$xtlibshrr5.exe/share,-" + -@ write opt_file "sys$share:decw$xlibshr.exe/share" + -@ close opt_file + .ELSE + gtk_env : + -@ ! + .ENDIF + + .IFDEF VIM_PERL + perl_env : + -@ write sys$output "using PERL environment:" + -@ show logical PERLSHR + -@ write sys$output " include path: ""$(PERL_INC)""" + -@ show symbol perl + -@ open/write pd if_perl.c + -@ write pd "/* Empty file to satisfy MMK depend. */" + -@ write pd "/* It will be owerwritten later on... */" + -@ close pd + -@ write sys$output "creating OS_VMS_PERL.OPT file." + -@ open/write opt_file OS_VMS_PERL.OPT + -@ write opt_file "PERLSHR /share" + -@ close opt_file + .ELSE + perl_env : + -@ ! + .ENDIF + + .IFDEF VIM_PYTHON + python_env : + -@ write sys$output "using PYTHON environment:" + -@ show logical PYTHON_INCLUDE + -@ show logical PYTHON_OLB + -@ write sys$output "creating OS_VMS_PYTHON.OPT file." + -@ open/write opt_file OS_VMS_PYTHON.OPT + -@ write opt_file "PYTHON_OLB:PYTHON.OLB /share" + -@ close opt_file + .ELSE + python_env : + -@ ! + .ENDIF + + .IFDEF VIM_TCL + tcl_env : + -@ write sys$output "using TCL environment:" + -@ show logical TCLSHR + -@ write sys$output " include path: ""$(TCL_INC)""" + -@ write sys$output "creating OS_VMS_TCL.OPT file." + -@ open/write opt_file OS_VMS_TCL.OPT + -@ write opt_file "TCLSHR /share" + -@ close opt_file + .ELSE + tcl_env : + -@ ! + .ENDIF + + .IFDEF VIM_RUBY + ruby_env : + -@ write sys$output "using RUBY environment:" + -@ write sys$output " include path: ""$(RUBY_INC)""" + -@ write sys$output "creating OS_VMS_RUBY.OPT file." + -@ open/write opt_file OS_VMS_RUBY.OPT + -@ write opt_file "RUBYSHR /share" + -@ close opt_file + .ELSE + ruby_env : + -@ ! + .ENDIF + + *** ../vim61.189/src/os_vms.opt Sun Aug 1 14:01:03 1999 --- src/os_vms.opt Tue Aug 27 20:37:04 2002 *************** *** 1,3 **** - sys$share:decw$xmlibshr12.exe/share,- - sys$share:decw$xtlibshrr5.exe/share,- - sys$share:decw$xlibshr.exe/share --- 0 ---- *** ../vim61.189/src/proto/if_tcl.pro Fri Mar 22 21:41:31 2002 --- src/proto/if_tcl.pro Mon Aug 26 20:45:47 2002 *************** *** 1,5 **** /* if_tcl.c */ ! void tcl_init __ARGS((char *arg)); int tcl_enabled __ARGS((int verbose)); void tcl_end __ARGS((void)); void ex_tcl __ARGS((exarg_T *eap)); --- 1,5 ---- /* if_tcl.c */ ! void vim_tcl_init __ARGS((char *arg)); int tcl_enabled __ARGS((int verbose)); void tcl_end __ARGS((void)); void ex_tcl __ARGS((exarg_T *eap)); *** ../vim61.189/vimtutor.com Tue Aug 27 20:35:19 2002 --- vimtutor.com Thu Aug 29 16:55:38 2002 *************** *** 0 **** --- 1,104 ---- + $ ! + $ !===================================================================== + $ ! + $ ! VimTutor.com version 29-Aug-2002 + $ ! + $ ! Author: Tom Wyant + $ ! + $ ! This DCL command procedure executes the vimtutor command + $ ! (suprise, suprise!) which gives you a brief tutorial on the VIM + $ ! editor. Languages other than the default are supported in the + $ ! usual way, as are at least some of the command qualifiers, + $ ! though you'll need to play some fairly serious games with DCL + $ ! to specify ones that need quoting. + $ ! + $ ! Copyright (c) 2002 E. I. DuPont de Nemours and Company, Inc + $ ! + $ ! This program is free software; you can redistribute it and/or + $ ! modify it under the terms of the VIM license as available from + $ ! the vim 6.1 ":help license" command or (at your option) the + $ ! license from any later version of vim. + $ ! + $ ! This program is distributed in the hope that it will be useful, + $ ! but WITHOUT ANY WARRANTY; without even the implied warranty of + $ ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + $ ! + $ !===================================================================== + $ ! + $ ! + $ ! Check for the existence of VIM, and die if it isn't there. + $ ! + $ if f$search ("vim:vim.exe") .eqs. "" + $ then + $ write sys$error "Error - Can't run tutoral. VIM not found." + $ exit + $ endif + $ ! + $ ! + $ ! Pick up the argument, if any. + $ ! + $ inx = 0 + $ arg_loop: + $ inx = inx + 1 + $ if f$type (p'inx') .nes. "" + $ then + $ if p'inx' .nes. "" .and. f$locate ("-", p'inx') .ne. 0 + $ then + $ xx = p'inx' + $ assign/nolog "''xx'" xx + $ p'inx' = "" + $ endif + $ goto arg_loop + $ endif + $ ! + $ ! + $ ! Make sure we clean up our toys when we're through playing. + $ ! + $ on error then goto exit + $ ! + $ ! + $ ! Create the VIM foreign command if needed + $ ! + $ if f$type (vim) .eqs. "" then vim := $vim:vim + $ ! + $ ! + $ ! Build the name for our temp file. + $ ! + $ tutfil = "sys$login:vimtutor_" + - + f$edit (f$getjpi (0, "pid"), "trim") + "." + $ assign/nolog 'tutfil' TUTORCOPY + $ ! + $ ! + $ ! Copy the selected file to the temp file + $ ! + $ assign/nolog/user nla0: sys$error + $ assign/nolog/user nla0: sys$output + $ vim -u "NONE" -c "so $VIMRUNTIME/tutor/tutor.vim" + $ ! + $ ! + $ ! Run the tutorial + $ ! + $ assign/nolog/user sys$command sys$input + $ vim -u "NONE" -c "set nocp" 'p1' 'p2' 'p3' 'p4' 'p5' 'p6' 'p7' 'p8' 'tutfil' + $ ! + $ ! + $ ! Ditch the copy. + $ ! + $ exit: + $ if f$type (tutfil) .nes. "" .and. f$search (tutfil) .nes. "" then - + $ delete 'tutfil';* + $ if f$type (xx) .nes. "" then deassign xx + $ deassign TUTORCOPY + $ exit + $ ! + $ !===================================================================== + $ ! + $ ! Modification history + $ ! + $ ! 29-Aug-2002 T. R. Wyant + $ ! Changed license to vim. + $ ! Fix error "input is not from a terminal" + $ ! Juggle documentation (copyright and contact to front, + $ ! modification history to end). + $ ! 25-Jul-2002 T. R. Wyant + $ ! Initial version *** ../vim61.189/src/testdir/Make_vms.mms Sun Apr 21 16:58:37 2002 --- src/testdir/Make_vms.mms Mon Jun 24 11:40:32 2002 *************** *** 4,18 **** # Authors: Zoltan Arpadffy, # Sandor Kopanyi, # ! # Last change: 2002 Apr 08 # # This has been tested on VMS 6.2 to 7.2 on DEC Alpha and VAX. # Edit the lines in the Configuration section below to select. # # Execute with: # mms/descrip=Make_vms.mms ! # Clean up with: ! # mmk/descrip=Make_vms.mms clean # # Make files are MMK compatible. # --- 4,18 ---- # Authors: Zoltan Arpadffy, # Sandor Kopanyi, # ! # Last change: 2002 Apr 14 # # This has been tested on VMS 6.2 to 7.2 on DEC Alpha and VAX. # Edit the lines in the Configuration section below to select. # # Execute with: # mms/descrip=Make_vms.mms ! # Cleanup with: ! # mms/descrip=Make_vms.mms clean # # Make files are MMK compatible. # *************** *** 35,42 **** --- 35,46 ---- # Comment out if you have gzip on your system # HAVE_GZIP = YES + # Comment out if you have GNU compatible diff on your system + # HAVE_GDIFF = YES + ####################################################################### # End of configuration section. + # # Please, do not change anything below without programming experience. ####################################################################### *************** *** 52,58 **** test28.out test29.out test31.out test32.out \ test33.out test34.out test35.out test36.out test37.out \ test38.out test39.out test40.out test41.out test42.out \ ! test43.out test44.out test45.out test46.out test47.out \ test48.out .IFDEF WANT_GUI --- 56,62 ---- test28.out test29.out test31.out test32.out \ test33.out test34.out test35.out test36.out test37.out \ test38.out test39.out test40.out test41.out test42.out \ ! test43.out test44.out test45.out test46.out \ test48.out .IFDEF WANT_GUI *************** *** 68,73 **** --- 72,81 ---- SCRIPT_GZIP = test11.out .ENDIF + .IFDEF HAVE_GDIFF + SCRIPT_GDIFF = test47.out + .ENDIF + .in.out : -@ write sys$output " " -@ write sys$output "-----------------------------------------------" *************** *** 78,84 **** -@ if "''F$SEARCH("test.out.*")'" .NES. "" then rename test.out $*.out -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* ! all : clean nolog $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_GZIP) -@ write sys$output " " -@ write sys$output "-----------------------------------------------" -@ write sys$output " All done" --- 86,92 ---- -@ if "''F$SEARCH("test.out.*")'" .NES. "" then rename test.out $*.out -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* ! all : clean nolog $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_GZIP) $(SCRIPT_GDIFF) -@ write sys$output " " -@ write sys$output "-----------------------------------------------" -@ write sys$output " All done" *************** *** 96,109 **** -@ write sys$output " Vim version:" -@ mcr $(VIMPROG) --version -@ write sys$output " Test date:" ! -@ show time -@ write sys$output "-----------------------------------------------" ! -@ write sys$output " Test results" -@ write sys$output "-----------------------------------------------" -@ write sys$output "MAKE_VMS.MMS options:" -@ write sys$output " WANT_GUI = ""$(WANT_GUI)"" " -@ write sys$output " WANT_UNIX = ""$(WANT_UNIX)"" " -@ write sys$output " HAVE_GZIP = ""$(HAVE_GZIP)"" " -@ write sys$output "Default vimrc file is VMS.VIM: -@ write sys$output "-----------------------------------------------" -@ type VMS.VIM --- 104,118 ---- -@ write sys$output " Vim version:" -@ mcr $(VIMPROG) --version -@ write sys$output " Test date:" ! -@ show time -@ write sys$output "-----------------------------------------------" ! -@ write sys$output " Test results:" -@ write sys$output "-----------------------------------------------" -@ write sys$output "MAKE_VMS.MMS options:" -@ write sys$output " WANT_GUI = ""$(WANT_GUI)"" " -@ write sys$output " WANT_UNIX = ""$(WANT_UNIX)"" " -@ write sys$output " HAVE_GZIP = ""$(HAVE_GZIP)"" " + -@ write sys$output " HAVE_GDIFF= ""$(HAVE_GDIFF)"" " -@ write sys$output "Default vimrc file is VMS.VIM: -@ write sys$output "-----------------------------------------------" -@ type VMS.VIM *************** *** 111,115 **** clean : -@ if "''F$SEARCH("*.out")'" .NES. "" then delete/noconfirm/nolog *.out.* -@ if "''F$SEARCH("test.log")'" .NES. "" then delete/noconfirm/nolog test.log.* ! -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* -@ if "''F$SEARCH("*.*_sw*")'" .NES. "" then delete/noconfirm/nolog *.*_sw*.* --- 120,124 ---- clean : -@ if "''F$SEARCH("*.out")'" .NES. "" then delete/noconfirm/nolog *.out.* -@ if "''F$SEARCH("test.log")'" .NES. "" then delete/noconfirm/nolog test.log.* ! -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* -@ if "''F$SEARCH("*.*_sw*")'" .NES. "" then delete/noconfirm/nolog *.*_sw*.* *** ../vim61.189/src/version.c Mon Sep 23 20:58:27 2002 --- src/version.c Mon Sep 23 21:00:36 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 190, /**/ -- The History of every major Galactic Civilization tends to pass through three distinct and recognizable phases, those of Survival, Inquiry and Sophistication, otherwise known as the How, Why and Where phases. For instance, the first phase is characterized by the question 'How can we eat?' the second by the question 'Why do we eat?' and the third by the question 'Where shall we have lunch?' -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///