Skip to content

Commit

Permalink
updated for version 7.0212
Browse files Browse the repository at this point in the history
  • Loading branch information
vimboss committed Mar 2, 2006
1 parent 6a72622 commit cb220b5
Show file tree
Hide file tree
Showing 5 changed files with 192 additions and 85 deletions.
1 change: 1 addition & 0 deletions runtime/doc/Makefile
Expand Up @@ -393,6 +393,7 @@ os_risc.txt:
os_win32.txt:
touch os_win32.txt

# Note that $< works with GNU make while $> works for BSD make.
vim-fr.UTF-8.1: vim-fr.1
iconv -f latin1 -t utf-8 $< >$@

Expand Down
27 changes: 22 additions & 5 deletions runtime/doc/os_vms.txt
@@ -1,4 +1,4 @@
*os_vms.txt* For Vim version 7.0aa. Last change: 2005 Jul 12
*os_vms.txt* For Vim version 7.0aa. Last change: 2006 Mar 02


VIM REFERENCE MANUAL
Expand Down Expand Up @@ -56,11 +56,14 @@ To use the precompiled binary version, you need one of these archives:
vim-XX-exe-vax-gui.zip VAX GUI executables
vim-XX-exe-vax-term.zip VAX console executables

and of course
and of course (optional)
vim-XX-runtime.zip runtime files

The binary archives contain: vim.exe, ctags.exe, xxd.exe files.

For GTK executables you will need GTKLIB that is available for
Alpha and IA64 platform.

==============================================================================

3. Compiling *vms-compiling*
Expand Down Expand Up @@ -121,10 +124,10 @@ Vim uses a special directory structure to hold the document and runtime files:
|- vim57
|----- doc
|----- syntax
|- vim60
|- vim62
|----- doc
|----- syntax
|- vim61
|- vim64
|----- doc
|----- syntax
vimrc (system rc files)
Expand Down Expand Up @@ -239,6 +242,17 @@ and to the SYS$STARTUP:SYLOGIN.COM >
It will set up a normal Vim work environment for every user on the system.

IMPORTANT: Vim on OpenVMS (and on other case insensitive system) command line
parameters are assumed to be lowecase. In order to indicate that a command
line parameter is uppercase "/" sign must be used.

Examples:
>
vim -R filename ! means: -r List swap files and exit
vim -/r filename ! means: -R Readonly mode (like "view")
vim -u <vimrc> ! means: -u Use <vimrc> instead of any .vimrc
vim -/u <gvimrc> ! means: -U Use <gvimrc> instead of any .gvimrc
==============================================================================

7. GUI mode questions *vms-gui*
Expand Down Expand Up @@ -653,7 +667,10 @@ start it with: >

9. VMS related changes *vms-changes*

Version 7.0
Version 7
- Improved low level char input (affects just console mode)

Version 6.4 (2005 Oct 15)
- GTKLIB and Vim build on IA64
- colors in terminal mode
- syntax highlighting in terminal mode
Expand Down
14 changes: 12 additions & 2 deletions src/INSTALLvms.txt
@@ -1,7 +1,7 @@
INSTALLvms.txt - Installation of Vim on OpenVMS

Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
Last change: 2005 Jul 12
Last change: 2006 Mar 02

This file contains instructions for compiling Vim on Openvms.
If you already have an executable version of Vim, you don't need this.
Expand Down Expand Up @@ -143,7 +143,6 @@ from CVS mirror ftp://ftp.polarhome.com/pub/cvs/SOURCE/
Uncommented - build without support.
Default : Uncommented


Parameter name : VIM_XIM
Description : X Input Method. For entering special languages
like chinese and Japanese. Please define just
Expand Down Expand Up @@ -304,9 +303,20 @@ perl_env :
You need also the OpenVMS Porting Library:
http://www.openvms.compaq.com/openvms/products/ips/porting.html

Source code for GTK and porting library that is used to build
VMS executables at polarhome.com are at
http://www.polarhome.com/vim/files/source/vms/

Enable GTK in make_vms.mms file with GTK = YES
Define GTK_ROOT that points to your GTK root directory.

You will need to edit GTKDIR variable in order to point
to GTK header files and libraries.

GTK_DIR = ALPHA$DKA0:[GTK128.]

".]" at the end is very important.

Build it as normally.

Used sharable images are:
Expand Down
40 changes: 26 additions & 14 deletions src/buffer.c
Expand Up @@ -4453,13 +4453,17 @@ ex_buffer_all(eap)
|| ((cmdmod.split & WSP_VERT)
? wp->w_height + wp->w_status_height < Rows - p_ch
: wp->w_width != Columns)
#endif
#ifdef FEAT_WINDOWS
|| (had_tab > 0 && wp != firstwin)
#endif
)
{
win_close(wp, FALSE);
#ifdef FEAT_AUTOCMD
wpnext = firstwin; /* just in case an autocommand does
something strange with windows */
tpnext = first_tabpage; /* start all over...*/
open_wins = 0;
#endif
}
Expand All @@ -4471,12 +4475,6 @@ ex_buffer_all(eap)
/* Without the ":tab" modifier only do the current tab page. */
if (had_tab == 0 || tpnext == NULL)
break;

# ifdef FEAT_AUTOCMD
/* check if autocommands removed the next tab page */
if (!valid_tabpage(tpnext))
tpnext = first_tabpage; /* start all over...*/
# endif
goto_tabpage_tp(tpnext);
}
#endif
Expand All @@ -4500,14 +4498,28 @@ ex_buffer_all(eap)
if ((!all && buf->b_ml.ml_mfp == NULL) || !buf->b_p_bl)
continue;

/* Check if this buffer already has a window */
for (wp = firstwin; wp != NULL; wp = wp->w_next)
if (wp->w_buffer == buf)
break;
/* If the buffer already has a window, move it */
if (wp != NULL)
win_move_after(wp, curwin);
else if (split_ret == OK)
#ifdef FEAT_WINDOWS
if (had_tab != 0)
{
/* With the ":tab" modifier don't move the window. */
if (buf->b_nwindows > 0)
wp = lastwin; /* buffer has a window, skip it */
else
wp = NULL;
}
else
#endif
{
/* Check if this buffer already has a window */
for (wp = firstwin; wp != NULL; wp = wp->w_next)
if (wp->w_buffer == buf)
break;
/* If the buffer already has a window, move it */
if (wp != NULL)
win_move_after(wp, curwin);
}

if (wp == NULL && split_ret == OK)
{
/* Split the window and put the buffer in it */
p_ea_save = p_ea;
Expand Down

0 comments on commit cb220b5

Please sign in to comment.