aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore8
-rw-r--r--CMakeLists.txt64
-rw-r--r--cmake/InstallHelpers.cmake136
-rw-r--r--runtime/doc/Makefile212
-rw-r--r--runtime/doc/eval.txt2
-rw-r--r--runtime/doc/evim-fr.157
-rwxr-xr-xruntime/doc/evim-it.154
-rw-r--r--runtime/doc/evim-pl.153
-rw-r--r--runtime/doc/evim-ru.159
-rw-r--r--runtime/doc/index.txt1
-rw-r--r--runtime/doc/makehtml.awk7
-rw-r--r--runtime/doc/manpages/de/vim-de.1 (renamed from runtime/doc/vim-de.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/evim.1 (renamed from runtime/doc/evim.1)0
-rw-r--r--runtime/doc/manpages/fr/evim-fr.1 (renamed from runtime/doc/evim-fr.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/fr/vim-fr.1 (renamed from runtime/doc/vim-fr.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/fr/vimdiff-fr.1 (renamed from runtime/doc/vimdiff-fr.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/fr/vimtutor-fr.1 (renamed from runtime/doc/vimtutor-fr.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/fr/xxd-fr.1 (renamed from runtime/doc/xxd-fr.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/it/evim-it.1 (renamed from runtime/doc/evim-it.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/it/vim-it.1 (renamed from runtime/doc/vim-it.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/it/vimdiff-it.1 (renamed from runtime/doc/vimdiff-it.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/it/vimtutor-it.1 (renamed from runtime/doc/vimtutor-it.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/it/xxd-it.1 (renamed from runtime/doc/xxd-it.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/ja/evim-ja.1 (renamed from runtime/doc/evim-ja.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/ja/vim-ja.1 (renamed from runtime/doc/vim-ja.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/ja/vimdiff-ja.1 (renamed from runtime/doc/vimdiff-ja.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/ja/vimtutor-ja.1 (renamed from runtime/doc/vimtutor-ja.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/ja/xxd-ja.1 (renamed from runtime/doc/xxd-ja.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/pl/evim-pl.1 (renamed from runtime/doc/evim-pl.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/pl/vim-pl.1 (renamed from runtime/doc/vim-pl.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/pl/vimdiff-pl.1 (renamed from runtime/doc/vimdiff-pl.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/pl/vimtutor-pl.1 (renamed from runtime/doc/vimtutor-pl.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/pl/xxd-pl.1 (renamed from runtime/doc/xxd-pl.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/ru/evim-ru.1 (renamed from runtime/doc/evim-ru.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/ru/vim-ru.1 (renamed from runtime/doc/vim-ru.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/ru/vimdiff-ru.1 (renamed from runtime/doc/vimdiff-ru.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/ru/vimtutor-ru.1 (renamed from runtime/doc/vimtutor-ru.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/ru/xxd-ru.1 (renamed from runtime/doc/xxd-ru.UTF-8.1)0
-rw-r--r--runtime/doc/manpages/vim.1 (renamed from runtime/doc/vim.1)0
-rw-r--r--runtime/doc/manpages/vimdiff.1 (renamed from runtime/doc/vimdiff.1)0
-rw-r--r--runtime/doc/manpages/vimtutor.1 (renamed from runtime/doc/vimtutor.1)0
-rw-r--r--runtime/doc/manpages/xxd.1 (renamed from runtime/doc/xxd.1)0
-rw-r--r--runtime/doc/message.txt2
-rw-r--r--runtime/doc/os_390.txt1
-rw-r--r--runtime/doc/various.txt2
-rw-r--r--runtime/doc/vim-de.1478
-rw-r--r--runtime/doc/vim-fr.1589
-rwxr-xr-xruntime/doc/vim-it.1566
-rw-r--r--runtime/doc/vim-pl.1558
-rw-r--r--runtime/doc/vim-ru.1489
-rw-r--r--runtime/doc/vim.man428
-rwxr-xr-x[-rw-r--r--]runtime/doc/vim2html.pl0
-rw-r--r--runtime/doc/vimdiff-fr.154
-rwxr-xr-xruntime/doc/vimdiff-it.148
-rw-r--r--runtime/doc/vimdiff-pl.146
-rw-r--r--runtime/doc/vimdiff-ru.150
-rw-r--r--runtime/doc/vimdiff.man46
-rw-r--r--runtime/doc/vimtutor-fr.160
-rwxr-xr-xruntime/doc/vimtutor-it.158
-rw-r--r--runtime/doc/vimtutor-pl.151
-rw-r--r--runtime/doc/vimtutor-ru.151
-rw-r--r--runtime/doc/vimtutor.man50
-rw-r--r--runtime/doc/xxd-fr.1396
-rwxr-xr-xruntime/doc/xxd-it.1402
-rw-r--r--runtime/doc/xxd-pl.1389
-rw-r--r--runtime/doc/xxd-ru.1408
-rw-r--r--runtime/doc/xxd.man262
-rw-r--r--[-rwxr-xr-x]runtime/indent/lifelines.vim0
-rw-r--r--src/nvim/CMakeLists.txt2
-rw-r--r--src/nvim/api/tabpage.c25
-rw-r--r--src/nvim/api/vim.c2
-rw-r--r--src/nvim/buffer.c20
-rw-r--r--src/nvim/diff.c21
-rw-r--r--src/nvim/edit.c10
-rw-r--r--src/nvim/eval.c69
-rw-r--r--src/nvim/ex_cmds.c9
-rw-r--r--src/nvim/ex_cmds2.c17
-rw-r--r--src/nvim/ex_docmd.c55
-rw-r--r--src/nvim/fileio.c20
-rw-r--r--src/nvim/globals.h15
-rw-r--r--src/nvim/main.c8
-rw-r--r--src/nvim/mark.c73
-rw-r--r--src/nvim/memory.c10
-rw-r--r--src/nvim/misc1.c17
-rw-r--r--src/nvim/option.c21
-rw-r--r--src/nvim/po/CMakeLists.txt2
-rw-r--r--src/nvim/quickfix.c17
-rw-r--r--src/nvim/regexp.c18
-rw-r--r--src/nvim/screen.c104
-rw-r--r--src/nvim/testdir/Makefile1
-rw-r--r--src/nvim/testdir/test39.in8
-rw-r--r--src/nvim/testdir/test39.okbin481 -> 514 bytes
-rw-r--r--src/nvim/testdir/test63.in23
-rw-r--r--src/nvim/testdir/test63.ok2
-rw-r--r--src/nvim/testdir/test_changelist.in22
-rw-r--r--src/nvim/testdir/test_changelist.ok1
-rw-r--r--src/nvim/version.c12
-rw-r--r--src/nvim/window.c128
-rw-r--r--third-party/CMakeLists.txt6
99 files changed, 669 insertions, 6206 deletions
diff --git a/.gitignore b/.gitignore
index 4a6bbfec0f..5332ef5c76 100644
--- a/.gitignore
+++ b/.gitignore
@@ -54,3 +54,11 @@
# local make targets
local.mk
+# runtime/doc
+/runtime/doc/*.html
+/runtime/doc/**/*.man
+/runtime/doc/tags
+/runtime/doc/tags.ref
+/runtime/doc/doctags
+/runtime/doc/errors.log
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cb680da902..3622dabb23 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -119,12 +119,13 @@ endif()
message(STATUS "Using the Lua interpreter ${LUA_PRG}")
-add_subdirectory(config)
-add_subdirectory(src/nvim)
-add_subdirectory(test/includes)
-
+# Setup busted.
find_program(BUSTED_PRG busted)
+if(NOT BUSTED_OUTPUT_TYPE)
+ set(BUSTED_OUTPUT_TYPE "utfTerminal")
+endif()
+# Setup make.
find_program(MAKE_PRG NAMES gmake make)
if(MAKE_PRG)
execute_process(
@@ -146,10 +147,47 @@ if(CMAKE_GENERATOR MATCHES "Makefiles")
set(MAKE_PRG "$(MAKE)")
endif()
-if(NOT BUSTED_OUTPUT_TYPE)
- set(BUSTED_OUTPUT_TYPE "utfTerminal")
-endif()
+# CMake is painful here. It will create the destination using the user's
+# current umask, and we don't want that. And we don't just want to install
+# the target directory, as it will mess with existing permissions. So this
+# seems like the best compromise. If we create it, then everyone can see it.
+# If it's preexisting, leave it alone.
+include(InstallHelpers)
+
+install_helper(
+ DIRECTORY runtime
+ DESTINATION share/nvim)
+
+file(GLOB_RECURSE RUNTIME_PROGRAMS
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ runtime/*.pl runtime/*.awk runtime/*.sh
+ runtime/tools/ref
+ runtime/tools/vimm)
+
+foreach(PROG ${RUNTIME_PROGRAMS})
+ get_filename_component(BASEDIR ${PROG} PATH)
+ install_helper(PROGRAMS ${PROG} DESTINATION share/nvim/${BASEDIR})
+endforeach()
+
+install(SCRIPT ${CMAKE_MODULE_PATH}/GenerateHelptags.cmake)
+
+# Unfortunately, the below does not work under Ninja. Ninja doesn't use a
+# pseudo-tty when launching processes, because it can put many jobs in parallel
+# and eat-up all the available pseudo-ttys. Unfortunately, that doesn't work
+# well with the legacy tests. I have a branch that converts them to run under
+# CTest, but it needs a little more work.
+# add_custom_target(test
+# COMMAND ${MAKE_PRG} -C ${CMAKE_CURRENT_SOURCE_DIR}/src/nvim/testdir
+# VIMPROG=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/nvim)
+
+# Go down the tree.
+add_subdirectory(config)
+add_subdirectory(src/nvim)
+add_subdirectory(test/includes)
+
+# Setup some test-related bits. We do this after going down the tree because we
+# need some of the targets.
if(BUSTED_PRG)
get_property(TEST_INCLUDE_DIRS DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
PROPERTY INCLUDE_DIRECTORIES)
@@ -176,15 +214,3 @@ if(BUSTED_PRG)
-P ${CMAKE_MODULE_PATH}/RunUnittests.cmake
DEPENDS nvim-test unittest-headers)
endif()
-
-install(DIRECTORY runtime DESTINATION share/nvim)
-install(SCRIPT ${CMAKE_MODULE_PATH}/GenerateHelptags.cmake)
-
-# Unfortunately, the below does not work under Ninja. Ninja doesn't use a
-# pseudo-tty when launching processes, because it can put many jobs in parallel
-# and eat-up all the available pseudo-ttys. Unfortunately, that doesn't work
-# well with the legacy tests. I have a branch that converts them to run under
-# CTest, but it needs a little more work.
-# add_custom_target(test
-# COMMAND ${MAKE_PRG} -C ${CMAKE_CURRENT_SOURCE_DIR}/src/nvim/testdir
-# VIMPROG=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/nvim)
diff --git a/cmake/InstallHelpers.cmake b/cmake/InstallHelpers.cmake
new file mode 100644
index 0000000000..de2f970cc1
--- /dev/null
+++ b/cmake/InstallHelpers.cmake
@@ -0,0 +1,136 @@
+# This will create any directories that need to be created in the destination
+# path with the typical owner, group, and user permissions--independent of the
+# umask setting.
+function(create_install_dir_with_perms)
+ cmake_parse_arguments(_install_dir
+ ""
+ "DESTINATION"
+ "DIRECTORY_PERMISSIONS"
+ ${ARGN}
+ )
+
+ if(NOT _install_dir_DESTINATION)
+ message(FATAL_ERROR "Must specify DESTINATION")
+ endif()
+
+ if(NOT _install_dir_DIRECTORY_PERMISSIONS)
+ set(_install_dir_DIRECTORY_PERMISSIONS
+ OWNER_READ OWNER_WRITE OWNER_EXECUTE
+ GROUP_READ GROUP_EXECUTE
+ WORLD_READ WORLD_EXECUTE)
+ endif()
+
+ install(CODE
+ "
+ if(ENV{DESTDIR})
+ set(PREFIX \$ENV{DESTDIR}/\${CMAKE_INSTALL_PREFIX})
+ else()
+ set(PREFIX \${CMAKE_INSTALL_PREFIX})
+ endif()
+
+ set(_current_dir \"\${PREFIX}/${_install_dir_DESTINATION}\")
+ set(_dir_permissions \"${_install_dir_DIRECTORY_PERMISSIONS}\")
+
+ set(_parent_dirs)
+ while(NOT EXISTS \${_current_dir})
+ list(APPEND _parent_dirs \${_current_dir})
+ get_filename_component(_current_dir \${_current_dir} PATH)
+ endwhile()
+
+ if(_parent_dirs)
+ list(REVERSE _parent_dirs)
+ endif()
+
+ # Create any missing folders with the useful permissions. Note: this uses
+ # a hidden option of CMake, but it's been shown to work with 2.8.11 thru
+ # 3.0.2.
+ foreach(_current_dir \${_parent_dirs})
+ if(NOT IS_DIRECTORY \${_current_dir})
+ file(INSTALL DESTINATION \${_current_dir}
+ TYPE DIRECTORY
+ DIR_PERMISSIONS \${_dir_permissions}
+ FILES \"\")
+ endif()
+ endforeach()
+ ")
+endfunction()
+
+# This is to prevent the user's umask from corrupting the expected permissions
+# for the parent directories. We want to behave like the install tool here:
+# preserve what's there already, but create new things with useful permissions.
+function(install_helper)
+ cmake_parse_arguments(_install_helper
+ ""
+ "DESTINATION;DIRECTORY;RENAME"
+ "FILES;PROGRAMS;TARGETS;DIRECTORY_PERMISSIONS;FILE_PERMISSIONS"
+ ${ARGN}
+ )
+
+ if(NOT _install_helper_DESTINATION AND NOT _install_helper_TARGETS)
+ message(FATAL_ERROR "Must specify the DESTINATION path")
+ endif()
+
+ if(NOT _install_helper_FILES AND NOT _install_helper_DIRECTORY AND
+ NOT _install_helper_PROGRAMS AND NOT _install_helper_TARGETS)
+ message(FATAL_ERROR "Must specify FILES, PROGRAMS, TARGETS, or a DIRECTORY to install")
+ endif()
+
+ if(NOT _install_helper_DIRECTORY_PERMISSIONS)
+ set(_install_helper_DIRECTORY_PERMISSIONS
+ OWNER_READ OWNER_WRITE OWNER_EXECUTE
+ GROUP_READ GROUP_EXECUTE
+ WORLD_READ WORLD_EXECUTE)
+ endif()
+
+ if(NOT _install_helper_FILE_PERMISSIONS)
+ set(_install_helper_FILE_PERMISSIONS
+ OWNER_READ OWNER_WRITE
+ GROUP_READ
+ WORLD_READ)
+ endif()
+
+ if(_install_helper_RENAME)
+ set(RENAME RENAME ${_install_helper_RENAME})
+ endif()
+
+ if(_install_helper_TARGETS)
+ set(_install_helper_DESTINATION "")
+ endif()
+
+ if(_install_helper_TARGETS)
+ # Ensure the bin area exists with the correct permissions.
+ create_install_dir_with_perms(DESTINATION bin)
+
+ install(
+ TARGETS ${_install_helper_TARGETS}
+ RUNTIME DESTINATION bin)
+ else()
+ create_install_dir_with_perms(
+ DESTINATION ${_install_helper_DESTINATION}
+ DIRECTORY_PERMISSIONS ${_install_helper_DIRECTORY_PERMISSIONS})
+ endif()
+
+ if(_install_helper_DIRECTORY)
+ install(
+ DIRECTORY ${_install_helper_DIRECTORY}
+ DESTINATION ${_install_helper_DESTINATION}
+ DIRECTORY_PERMISSIONS ${_install_helper_DIRECTORY_PERMISSIONS}
+ FILE_PERMISSIONS ${_install_helper_FILE_PERMISSIONS})
+ endif()
+
+ if(_install_helper_FILES)
+ install(
+ FILES ${_install_helper_FILES}
+ DESTINATION ${_install_helper_DESTINATION}
+ PERMISSIONS ${_install_helper_FILE_PERMISSIONS}
+ ${RENAME})
+ endif()
+
+ if(_install_helper_PROGRAMS)
+ install(
+ PROGRAMS ${_install_helper_PROGRAMS}
+ DESTINATION ${_install_helper_DESTINATION}
+ PERMISSIONS ${_install_helper_FILE_PERMISSIONS}
+ ${RENAME})
+ endif()
+endfunction()
diff --git a/runtime/doc/Makefile b/runtime/doc/Makefile
index 8bd5aaf049..16ce4d9082 100644
--- a/runtime/doc/Makefile
+++ b/runtime/doc/Makefile
@@ -9,10 +9,6 @@ AWK = awk
# Set to $(VIMTARGET) when executed from src/Makefile.
VIMEXE = vim
-# include the config.mk from the source directory. It's only needed to set
-# AWK, used for "make html". Comment this out if the include gives problems.
-include ../../src/auto/config.mk
-
DOCS = \
arabic.txt \
autocmd.txt \
@@ -34,7 +30,6 @@ DOCS = \
gui_w16.txt \
gui_w32.txt \
gui_x11.txt \
- hangulin.txt \
hebrew.txt \
help.txt \
helphelp.txt \
@@ -52,12 +47,17 @@ DOCS = \
index.txt \
insert.txt \
intro.txt \
+ job_control.txt \
map.txt \
mbyte.txt \
message.txt \
mlang.txt \
motion.txt \
+ msgpack_rpc.txt \
netbeans.txt \
+ nvim_clipboard.txt \
+ nvim_intro.txt \
+ nvim_python.txt \
options.txt \
os_390.txt \
os_amiga.txt \
@@ -162,7 +162,6 @@ HTMLS = \
gui_w16.html \
gui_w32.html \
gui_x11.html \
- hangulin.html \
hebrew.html \
helphelp.html \
howto.html \
@@ -179,12 +178,17 @@ HTMLS = \
index.html \
insert.html \
intro.html \
+ job_control.html \
map.html \
mbyte.html \
message.html \
mlang.html \
motion.html \
+ msgpack_rpc.html \
netbeans.html \
+ nvim_clipboard.html \
+ nvim_intro.html \
+ nvim_python.html \
options.html \
os_390.html \
os_amiga.html \
@@ -270,32 +274,43 @@ HTMLS = \
windows.html \
workshop.html
-CONVERTED = \
- vim-fr.UTF-8.1 \
- evim-fr.UTF-8.1 \
- vimdiff-fr.UTF-8.1 \
- vimtutor-fr.UTF-8.1 \
- xxd-fr.UTF-8.1 \
- vim-it.UTF-8.1 \
- evim-it.UTF-8.1 \
- vimdiff-it.UTF-8.1 \
- vimtutor-it.UTF-8.1 \
- xxd-it.UTF-8.1 \
- vim-pl.UTF-8.1 \
- evim-pl.UTF-8.1 \
- vimdiff-pl.UTF-8.1 \
- vimtutor-pl.UTF-8.1 \
- xxd-pl.UTF-8.1 \
- vim-ru.UTF-8.1 \
- evim-ru.UTF-8.1 \
- vimdiff-ru.UTF-8.1 \
- vimtutor-ru.UTF-8.1 \
- xxd-ru.UTF-8.1
+MANPAGES = \
+ manpages/vim.man \
+ manpages/evim.man \
+ manpages/vimdiff.man \
+ manpages/vimtutor.man \
+ manpages/xxd.man \
+ manpages/de/vim-de.man \
+ manpages/fr/vim-fr.man \
+ manpages/fr/evim-fr.man \
+ manpages/fr/vimdiff-fr.man \
+ manpages/fr/vimtutor-fr.man \
+ manpages/fr/xxd-fr.man \
+ manpages/pl/vim-pl.man \
+ manpages/pl/evim-pl.man \
+ manpages/pl/vimdiff-pl.man \
+ manpages/pl/vimtutor-pl.man \
+ manpages/pl/xxd-pl.man \
+ manpages/it/vim-it.man \
+ manpages/it/evim-it.man \
+ manpages/it/vimdiff-it.man \
+ manpages/it/vimtutor-it.man \
+ manpages/it/xxd-it.man \
+ manpages/ru/vim-ru.man \
+ manpages/ru/evim-ru.man \
+ manpages/ru/vimdiff-ru.man \
+ manpages/ru/vimtutor-ru.man \
+ manpages/ru/xxd-ru.man \
+ manpages/ja/vim-ja.man \
+ manpages/ja/evim-ja.man \
+ manpages/ja/vimdiff-ja.man \
+ manpages/ja/vimtutor-ja.man \
+ manpages/ja/xxd-ja.man
.SUFFIXES:
-.SUFFIXES: .c .o .txt .html
+.SUFFIXES: .c .o .txt .html .1 .man
-all: tags vim.man evim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED)
+all: tags manpages html
# Use Vim to generate the tags file. Can only be used when Vim has been
# compiled and installed. Supports multiple languages.
@@ -310,28 +325,15 @@ tags: doctags $(DOCS)
doctags: doctags.c
$(CC) doctags.c -o doctags
-vim.man: vim.1
- nroff -man vim.1 | sed -e s/.//g > vim.man
-
-evim.man: evim.1
- nroff -man evim.1 | sed -e s/.//g > evim.man
-
-vimdiff.man: vimdiff.1
- nroff -man vimdiff.1 | sed -e s/.//g > vimdiff.man
+manpages: $(MANPAGES)
-vimtutor.man: vimtutor.1
- nroff -man vimtutor.1 | sed -e s/.//g > vimtutor.man
-
-xxd.man: xxd.1
- nroff -man xxd.1 | sed -e s/.//g > xxd.man
-
-uganda.nsis.txt: uganda.txt
- sed -e 's/[ ]*\*[-a-zA-Z0-9.]*\*//g' -e 's/vim:tw=78://' \
- uganda.txt | uniq >uganda.nsis.txt
+# OSX groff dosn't support utf-8 as input encoding, so this won't work there.
+.1.man:
+ groff -k -mandoc -Tutf8 $< | sed -e s/.^H//g > $@
# Awk version of .txt to .html conversion.
html: noerrors tags $(HTMLS)
- @if test -f errors.log; then more errors.log; fi
+ @if test -f errors.log; then cat errors.log; fi
noerrors:
-rm -f errors.log
@@ -359,119 +361,5 @@ perlhtml: tags $(DOCS)
./vim2html.pl tags $(DOCS)
clean:
- -rm doctags *.html tags.ref
-
-# These files are in the extra archive, skip if not present
-
-arabic.txt:
- touch arabic.txt
-
-farsi.txt:
- touch farsi.txt
-
-hebrew.txt:
- touch hebrew.txt
-
-russian.txt:
- touch russian.txt
-
-gui_w16.txt:
- touch gui_w16.txt
-
-gui_w32.txt:
- touch gui_w32.txt
-
-if_ole.txt:
- touch if_ole.txt
-
-os_390.txt:
- touch os_390.txt
-
-os_amiga.txt:
- touch os_amiga.txt
-
-os_beos.txt:
- touch os_beos.txt
-
-os_dos.txt:
- touch os_dos.txt
-
-os_mac.txt:
- touch os_mac.txt
-
-os_mint.txt:
- touch os_mint.txt
-
-os_os2.txt:
- touch os_os2.txt
-
-os_qnx.txt:
- touch os_qnx.txt
-
-os_risc.txt:
- touch os_risc.txt
-
-os_win32.txt:
- touch os_win32.txt
-
-# Note that $< works with GNU make while $> works for BSD make.
-# Is there a solution that works for both??
-vim-fr.UTF-8.1: vim-fr.1
- iconv -f latin1 -t utf-8 $< >$@
-
-evim-fr.UTF-8.1: evim-fr.1
- iconv -f latin1 -t utf-8 $< >$@
-
-vimdiff-fr.UTF-8.1: vimdiff-fr.1
- iconv -f latin1 -t utf-8 $< >$@
-
-vimtutor-fr.UTF-8.1: vimtutor-fr.1
- iconv -f latin1 -t utf-8 $< >$@
-
-xxd-fr.UTF-8.1: xxd-fr.1
- iconv -f latin1 -t utf-8 $< >$@
-
-vim-it.UTF-8.1: vim-it.1
- iconv -f latin1 -t utf-8 $< >$@
-
-evim-it.UTF-8.1: evim-it.1
- iconv -f latin1 -t utf-8 $< >$@
-
-vimdiff-it.UTF-8.1: vimdiff-it.1
- iconv -f latin1 -t utf-8 $< >$@
-
-vimtutor-it.UTF-8.1: vimtutor-it.1
- iconv -f latin1 -t utf-8 $< >$@
-
-xxd-it.UTF-8.1: xxd-it.1
- iconv -f latin1 -t utf-8 $< >$@
-
-vim-pl.UTF-8.1: vim-pl.1
- iconv -f latin2 -t utf-8 $< >$@
-
-evim-pl.UTF-8.1: evim-pl.1
- iconv -f latin2 -t utf-8 $< >$@
-
-vimdiff-pl.UTF-8.1: vimdiff-pl.1
- iconv -f latin2 -t utf-8 $< >$@
-
-vimtutor-pl.UTF-8.1: vimtutor-pl.1
- iconv -f latin2 -t utf-8 $< >$@
-
-xxd-pl.UTF-8.1: xxd-pl.1
- iconv -f latin2 -t utf-8 $< >$@
-
-vim-ru.UTF-8.1: vim-ru.1
- iconv -f KOI8-R -t utf-8 $< >$@
-
-evim-ru.UTF-8.1: evim-ru.1
- iconv -f KOI8-R -t utf-8 $< >$@
-
-vimdiff-ru.UTF-8.1: vimdiff-ru.1
- iconv -f KOI8-R -t utf-8 $< >$@
-
-vimtutor-ru.UTF-8.1: vimtutor-ru.1
- iconv -f KOI8-R -t utf-8 $< >$@
+ -rm -f doctags *.html tags.ref $(MANPAGES) $(HTMLS) errors.log
-xxd-ru.UTF-8.1: xxd-ru.1
- iconv -f KOI8-R -t utf-8 $< >$@
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index ec2086e3eb..5953648148 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -6714,7 +6714,7 @@ gui_photon Compiled with Photon GUI.
gui_running Vim is running in the GUI, or it will start soon.
gui_win32 Compiled with MS Windows Win32 GUI.
gui_win32s idem, and Win32s system being used (Windows 3.1)
-hangul_input Compiled with Hangul input support. |hangul|
+hangul_input Compiled with Hangul input support.
iconv Can use iconv() for conversion.
insert_expand Compiled with support for CTRL-X expansion commands in
Insert mode.
diff --git a/runtime/doc/evim-fr.1 b/runtime/doc/evim-fr.1
deleted file mode 100644
index 898ed70c2a..0000000000
--- a/runtime/doc/evim-fr.1
+++ /dev/null
@@ -1,57 +0,0 @@
-.TH EVIM 1 "16 février 2002"
-.SH NAME
-evim \- Ğ Easy Vim ğ, édite un fichier avec Vim sans utiliser les modes
-.SH SYNOPSIS
-.br
-.B evim
-[options] [fichier ...]
-.br
-.B eview
-.SH DESCRIPTION
-.B eVim
-lance
-.B Vim
-et configure ses options afin qu'il se comporte comme un éditeur sans mode.
-Cela reste Vim, mais vous pouvez l'utiliser comme un éditeur Ğ cliquer-taper ğ.
-Cela ressemble beaucoup à l'édition avec Notepad sur MS-Windows.
-.B eVim
-ne fonctionne qu'avec l'interface graphique, qui est nécessaire pour permettre
-l'utilisation des menus et de la barre d'outils.
-.PP
-Il n'est utile qu'aux personnes qui ne parviennent vraiment pas à utiliser Vim
-de façon traditionnelle. L'édition est alors bien moins efficace.
-.PP
-.B eview
-fait la même chose, mais démarre Vim en mode Lecture-seule.
-Cela revient à lancer evim \-R.
-.PP
-Voir vim(1) pour davantage d'informations sur Vim, les options, etc.
-.PP
-L'option 'insertmode' est activée pour permettre de taper directement du texte.
-.br
-Les mappages sont configurés pour que Copier et Coller fonctionnent avec les
-raccourcis habituels de MS-Windows. CTRL-X coupe le texte, CTRL-C copie le
-texte et CTRL-V colle le texte.
-Vous pouvez utiliser CTRL-Q pour obtenir la fonction originale de CTRL-V.
-.SH OPTIONS
-Voir vim(1).
-.SH FICHIERS
-.TP 15
-/usr/local/lib/vim/evim.vim
-Le script chargé pour initialiser eVim.
-.SH AUSSI CONNU SOUS
-Également connu sous le nom Ğ Vim pour gumbies ğ [N.D.T. : Flying Circus...].
-Quand vous utilisez eVim, vous êtes censé prendre un mouchoir de poche,
-faire un noeud à chaque coin et le porter sur votre tête.
-.SH VOIR AUSSI
-vim(1)
-.SH AUTEUR
-La majeure partie de
-.B Vim
-a été écrite par Bram Moolenaar, avec l'aide de nombreux autres contributeurs.
-Voir le menu Aide/Remerciements ou ":help credits" dans
-.B Vim.
-.SH TRADUCTION
-Cette page de manuel a été traduite David Blanchet.
-<david.blanchet@free.fr> 2005-03-26.
-Mise à jour 2013-05-10, Dominique Pellé <dominique.pelle@gmail.com>
diff --git a/runtime/doc/evim-it.1 b/runtime/doc/evim-it.1
deleted file mode 100755
index 1e98a2d3f7..0000000000
--- a/runtime/doc/evim-it.1
+++ /dev/null
@@ -1,54 +0,0 @@
-.TH EVIM 1 "16 febbraio 2002 "
-.SH NOME
-evim \- Vim "facile", Vim impostato in modo da poter essere usato
-facilmente per modificare file, anche da chi non abbia familiarità
-con i comandi.
-.SH SINTASSI
-.br
-.B evim
-[opzioni] [file ..]
-.br
-.B eview
-.SH DESCRIZIONE
-.B evim
-Inizia
-.B Vim
-e imposta le opzioni per farlo comportare come un editore "modeless".
-State sempre usando Vim, ma come un editore "posizionati-e-clicca".
-Simile all'uso di Notepad in MS-Windows.
-.B evim
-richiede la presenza della GUI, per avere a disposizione menù e barra
-strumenti.
-.PP
-Da usarsi soltanto se non si è in grado di lavorare con Vim nella
-maniera usuale.
-La modifica file sarà molto meno efficiente.
-.PP
-.B eview
-come sopra, ma parte in modalità "Sola Lettura". Funziona come evim \-R.
-.PP
-Vedere vim(1) per dettagli riguardo a Vim, opzioni, etc.
-.PP
-L'opzione 'insertmode' è impostata per poter immettere del testo direttamente.
-.br
-Sono definite delle mappature che consentono di usare COPIA e INCOLLA con i
-familiari tasti usati sotto MS-Windows.
-CTRL-X taglia testo, CTRL-C copia testo e CTRL-V incolla testo.
-Usate CTRL-Q per ottenere quello che si otterrebbe con CTRL-V in Vim nativo.
-.SH OPZIONI
-Vedere vim(1).
-.SH FILE
-.TP 15
-/usr/local/lib/vim/evim.vim
-Lo script caricato per inizializzare eVim.
-.SH NAC [NOTO ANCHE COME]
-Noto Anche Come "Vim per semplici".
-Quando usate evim si suppone che prendiate un fazzoletto,
-facciate un nodo ad ogni angolo e ve lo mettiate in testa.
-.SH VEDERE ANCHE
-vim(1)
-.SH AUTORE
-Buona parte di
-.B Vim
-è stato scritto da Bram Moolenaar, con molto aiuto da altri.
-Vedere il menù "Aiuto/Crediti".
diff --git a/runtime/doc/evim-pl.1 b/runtime/doc/evim-pl.1
deleted file mode 100644
index 490ee3a7ce..0000000000
--- a/runtime/doc/evim-pl.1
+++ /dev/null
@@ -1,53 +0,0 @@
-.TH EVIM 1 "2002 Lut 16"
-.SH NAZWA
-evim \- ³atwy Vim, edytuj plik w Vimie z ustawieniami dla edycji bez
-trybów
-.SH SYNOPSIS
-.br
-.B evim
-[opcje] [plik ...]
-.br
-.B eview
-.SH OPIS
-.B eVim
-uruchamia
-.B Vima
-i ustawia opcje tak by zachowywa³ siê jak edytor bez trybów.
-To jest ca³y czas Vim ale używany jako edytor wskaż-i-kliknij.
-Zachowanie w stylu Notepada dla MS-Windows.
-.B eVim
-bêdzie zawsze uruchomiony w GUI by w³ħczyĉ menu i pasek narzêdzi.
-.PP
-Przeznaczony tylko dla ludzi, którzy naprawdê nie mogħ pracowaĉ
-z Vimem w normalny sposób. Edycja bêdzie o wiele mniej efektywna.
-.PP
-.B eview
-dzia³a tak samo, ale zaczyna w trybie tylko do odczytu. Dzia³a tak
-samo jak evim \-R.
-.PP
-Zobacz vim(1) by poznaĉ wiêcej szczegó³ów o Vimie, opcjach, itd.
-.PP
-Opcja 'insertmode' jest ustawiona by można by³o od razu wpisywaĉ
-tekst.
-.br
-Mapowania sħ ustawione tak by Kopiowanie i Wklejanie dzia³a³o
-z klawiszami MS-Windows. CTRL-X wycina, CTRL-C kopiuje a CTRL-V
-wkleja tekst. Użyj CTRL-Q by uzyskaĉ oryginalne przeznaczenie
-CTRL-V.
-.SH OPCJE
-Zobacz vim(1).
-.SH PLIKI
-.TP 15
-/usr/local/lib/vim/evim.vim
-Skrypt uruchamiania dla eVima.
-.SH ZNANY JAKO
-Znany jako "Vim dla frajerów".
-Jeĥli używasz eVima oczekuje siê, że wyjmiesz chusteczkê do nosa,
-zrobisz wêzê³ w każdym rogu i bêdziesz to nosi³ na g³owie.
-.SH ZOBACZ TAKŻE
-vim(1)
-.SH AUTOR
-Wiêkszoĥĉ
-.B Vima
-zosta³a napisana przez Brama Moolenaara z dużħ pomocħ innych osób.
-Zobacz menu Help/Credits.
diff --git a/runtime/doc/evim-ru.1 b/runtime/doc/evim-ru.1
deleted file mode 100644
index 6d6f5debf3..0000000000
--- a/runtime/doc/evim-ru.1
+++ /dev/null
@@ -1,59 +0,0 @@
-.TH EVIM 1 "2002 February 16"
-.SH éíñ
-evim \- ÒÏÓÔÏÊ Vim, ÏÚ×ÏÌÑĊÔ ÒĊÄÁËÔÉÒÏ×ÁÔĜ ĈÁÊÌ Ó ÏÍÏŬĜÀ Vim × ÂĊÚÒĊÖÉÍÎÏÍ ÒĊÖÉÍĊ
-.SH ëïíáîäîáñ óôòïëá
-.br
-.B evim
-[ËÌÀŜÉ] [ĈÁÊÌ ..]
-.br
-.B eview
-.SH ïéóáîéċ
-ëÏÍÁÎÄÁ
-.B evim
-ÚÁĠÓËÁĊÔ
-.B Vim
-É ÎÁÓÔÒÁÉ×ÁĊÔ ÒÑÄ ÏÉÊ ÔÁËÉÍ ÏÂÒÁÚÏÍ, ŜÔÏ ÏÎ ÎÁŜÉÎÁĊÔ ×ĊÓÔÉ ÓĊÂÑ
-ËÁË ÏÂÙŜÎÙÊ ÂĊÚÒĊÖÉÍÎÙÊ ÒĊÄÁËÔÏÒ. ÷ ÜÔÏÍ ÒĊÖÉÍĊ Vim ÎÁÏÍÉÎÁĊÔ
-Notepad ÉÚ MS-Windows.
-.B eVim
-×ÓĊÇÄÁ ÚÁĠÓËÁĊÔÓÑ Ó ÏÄÄĊÒÖËÏÊ ÇÒÁĈÉŜĊÓËÏÇÏ ÉÎÔĊÒĈĊÊÓÁ, ŜÔÏÂÙ ÏÂĊÓĊŜÉÔĜ
-ÉÓÏÌĜÚÏ×ÁÎÉĊ ÍĊÎÀ É ÉÎÓÔÒĠÍĊÎÔÁÌĜÎÏÊ ÁÎĊÌÉ.
-.PP
-üÔÁ ËÏÍÁÎÄÁ ÓÏÚÄÁÎÁ ÄÌÑ ÔĊÈ, ËÔÏ Ï ËÁËÉÍ-ÔÏ ÒÉŜÉÎÁÍ ÎĊ × ÓÏÓÔÏÑÎÉÉ
-ÒÁÂÏÔÁÔĜ Ó Vim × ÏÂÙŜÎÏÍ ÒĊÖÉÍĊ. òĊÄÁËÔÉÒÏ×ÁÎÉĊ ĈÁÊÌÏ× ÒÉ ÜÔÏÍ ÒÏÉÓÈÏÄÉÔ
-ÇÏÒÁÚÄÏ ÍĊÎĊĊ ÜĈĈĊËÔÉ×ÎÏ, ŜĊÍ ÒÉ ÉÓÏÌĜÚÏ×ÁÎÉÉ ÏÂÙŜÎÏÇÏ Vim.
-.PP
-ëÏÍÁÎÄÁ
-.B eview
-×ÙÏÌÎÑĊÔ ÏŜÔÉ ÔĠ ÖĊ ÓÁÍĠÀ ÚÁÄÁŜĠ, ÎÏ ĈÁÊÌ ÏÔËÒÙ×ÁĊÔÓÑ × ÒĊÖÉÍĊ "ÔÏÌĜËÏ
-ÄÌÑ ŜÔĊÎÉÑ". éÓÏÌĜÚÏ×ÁÎÉĊ ÜÔÏÊ ËÏÍÁÎÄÙ ÏÌÎÏÓÔĜÀ ÉÄĊÎÔÉŜÎÏ ÉÓÏÌĜÚÏ×ÁÎÉÀ
-evim \-R.
-.PP
-ÏÄÒÏÂÎĊĊ Ï Vim, ËÌÀŜÁÈ ÚÁĠÓËÁ É Ô.. ÓÍÏÔÒÉÔĊ ÎÁ ÓÔÒÁÎÉĊ ÓÒÁ×ÏŜÎÉËÁ
-vim(1).
-.PP
-ÒÉ ÉÓÏÌĜÚÏ×ÁÎÉÉ
-.B evim
-×ËÌÀŜÁĊÔÓÑ ÏÉÑ 'insertmode', ŜÔÏ ÏÚ×ÏÌÑĊÔ ××ÏÄÉÔĜ ÔĊËÓÔ ÎÁÒÑÍĠÀ.
-.br
-ëÒÏÍĊ ÔÏÇÏ, ÎÁÓÔÒÁÉ×ÁÀÔÓÑ ÒÉ×ÑÚËÉ, ÏÚ×ÏÌÑÀŬÉĊ ÉÓÏÌĜÚÏ×ÁÔĜ ËÎÏËÉ MS-Windows
-ÄÌÑ ×ÙÏÌÎĊÎÉÑ ËÏÍÁÎÄ ËÏÉÒÏ×ÁÎÉÑ É ×ËÌĊÊËÉ. CTRL-X ÉÓÏÌĜÚĠĊÔÓÑ ÄÌÑ ×ÙÒĊÚÁÎÉÑ
-ÔĊËÓÔÁ, CTRL-C ÄÌÑ ËÏÉÒÏ×ÁÎÉÑ É CTRL-V ÄÌÑ ×ËÌĊÊËÉ. ŝÔÏÂÙ ×ÏÓÏÌĜÚÏ×ÁÔĜÓÑ
-ÉÚÎÁŜÁÌĜÎÙÍ ÚÎÁŜĊÎÉĊÍ ËÎÏËÉ CTRL-V, ÉÓÏÌĜÚĠÊÔĊ CTRL-Q.
-.SH áòáíċôòù úáġóëá
-óÍ. vim(1).
-.SH ĉáêìù
-.TP 15
-/usr/local/lib/vim/evim.vim
-óĊÎÁÒÉÊ, ËÏÔÏÒÙÊ ÚÁÇÒĠÖÁĊÔÓÑ ÄÌÑ ÉÎÉÉÁÌÉÚÁÉÉ eVim.
-.SH AKA
-eVim ÔÁËÖĊ ÉÚ×ĊÓÔĊÎ ËÁË "Vim ÄÌÑ ŜÁÊÎÉËÏ×".
-äÌÑ ÎÁÉÌĠŜÛĊÇÏ ÜĈĈĊËÔÁ ÒĊËÏÍĊÎÄĠĊÔÓÑ ×Ï ×ÒĊÍÑ ÉÓÏÌĜÚÏ×ÁÎÉÑ Ï×ÑÚÁÔĜ
-ÎÁ ÇÏÌÏ×Ċ ÌÁÔÏË, ÒĊÄ×ÁÒÉÔĊÌĜÎÏ ÚÁ×ÑÚÁ× ÎÁ ËÁÖÄÏÍ ËÏÎĊ Ï ĠÚĊÌËĠ.
-.SH óíïôòé ôáëöċ
-vim(1)
-.SH á÷ôïòù
-âÏÌĜÛÁÑ ŜÁÓÔĜ
-.B Vim
-ÓÏÚÄÁÎÁ âÒÁÍÏÍ íÏÏÌĊÎÁÁÒÏÍ (Bram Moolenaar), ËÏÔÏÒÏÍĠ ÏÍÏÇÁĊÔ ÏÇÒÏÍÎÏĊ
-ËÏÌÉŜĊÓÔ×Ï ÌÀÄĊÊ. óÍ. ÍĊÎÀ óÒÁ×ËÁ/âÌÁÇÏÄÁÒÎÏÓÔÉ.
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index cda17681fd..a9e884777e 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -34,7 +34,6 @@ tag char action in Insert mode ~
|i_CTRL-@| CTRL-@ insert previously inserted text and stop
insert
|i_CTRL-A| CTRL-A insert previously inserted text
- CTRL-B not used |i_CTRL-B-gone|
|i_CTRL-C| CTRL-C quit insert mode, without checking for
abbreviation, unless 'insertmode' set.
|i_CTRL-D| CTRL-D delete one shiftwidth of indent in the current
diff --git a/runtime/doc/makehtml.awk b/runtime/doc/makehtml.awk
index 5e40069391..a1f77f5aba 100644
--- a/runtime/doc/makehtml.awk
+++ b/runtime/doc/makehtml.awk
@@ -6,6 +6,13 @@ BEGIN {
sample="no";
while ( getline ti <"tags.ref" > 0 ) {
nf=split(ti,tag," ");
+ # as help.txt renders into index.html and index.txt -> vimindex.html,
+ # this hack is needed to get the links right to those pages.
+ if ( tag[2] == "index.txt" ) {
+ tag[2] = "vimindex.txt"
+ } else if ( tag[2] == "help.txt" ) {
+ tag[2] = "index.txt"
+ }
tagkey[tag[1]]="yes";tagref[tag[1]]=tag[2];
}
skip_word["and"]="yes";
diff --git a/runtime/doc/vim-de.UTF-8.1 b/runtime/doc/manpages/de/vim-de.1
index f79e622a74..f79e622a74 100644
--- a/runtime/doc/vim-de.UTF-8.1
+++ b/runtime/doc/manpages/de/vim-de.1
diff --git a/runtime/doc/evim.1 b/runtime/doc/manpages/evim.1
index bb859ceada..bb859ceada 100644
--- a/runtime/doc/evim.1
+++ b/runtime/doc/manpages/evim.1
diff --git a/runtime/doc/evim-fr.UTF-8.1 b/runtime/doc/manpages/fr/evim-fr.1
index 2b38e66cb5..2b38e66cb5 100644
--- a/runtime/doc/evim-fr.UTF-8.1
+++ b/runtime/doc/manpages/fr/evim-fr.1
diff --git a/runtime/doc/vim-fr.UTF-8.1 b/runtime/doc/manpages/fr/vim-fr.1
index 67be106673..67be106673 100644
--- a/runtime/doc/vim-fr.UTF-8.1
+++ b/runtime/doc/manpages/fr/vim-fr.1
diff --git a/runtime/doc/vimdiff-fr.UTF-8.1 b/runtime/doc/manpages/fr/vimdiff-fr.1
index 3b44a3dd58..3b44a3dd58 100644
--- a/runtime/doc/vimdiff-fr.UTF-8.1
+++ b/runtime/doc/manpages/fr/vimdiff-fr.1
diff --git a/runtime/doc/vimtutor-fr.UTF-8.1 b/runtime/doc/manpages/fr/vimtutor-fr.1
index f47f840ec1..f47f840ec1 100644
--- a/runtime/doc/vimtutor-fr.UTF-8.1
+++ b/runtime/doc/manpages/fr/vimtutor-fr.1
diff --git a/runtime/doc/xxd-fr.UTF-8.1 b/runtime/doc/manpages/fr/xxd-fr.1
index 7956b3ba2a..7956b3ba2a 100644
--- a/runtime/doc/xxd-fr.UTF-8.1
+++ b/runtime/doc/manpages/fr/xxd-fr.1
diff --git a/runtime/doc/evim-it.UTF-8.1 b/runtime/doc/manpages/it/evim-it.1
index f96d0cb42c..f96d0cb42c 100644
--- a/runtime/doc/evim-it.UTF-8.1
+++ b/runtime/doc/manpages/it/evim-it.1
diff --git a/runtime/doc/vim-it.UTF-8.1 b/runtime/doc/manpages/it/vim-it.1
index 51e7e043da..51e7e043da 100644
--- a/runtime/doc/vim-it.UTF-8.1
+++ b/runtime/doc/manpages/it/vim-it.1
diff --git a/runtime/doc/vimdiff-it.UTF-8.1 b/runtime/doc/manpages/it/vimdiff-it.1
index 090892fa93..090892fa93 100644
--- a/runtime/doc/vimdiff-it.UTF-8.1
+++ b/runtime/doc/manpages/it/vimdiff-it.1
diff --git a/runtime/doc/vimtutor-it.UTF-8.1 b/runtime/doc/manpages/it/vimtutor-it.1
index a33dcb00b0..a33dcb00b0 100644
--- a/runtime/doc/vimtutor-it.UTF-8.1
+++ b/runtime/doc/manpages/it/vimtutor-it.1
diff --git a/runtime/doc/xxd-it.UTF-8.1 b/runtime/doc/manpages/it/xxd-it.1
index b6ccabd2e3..b6ccabd2e3 100644
--- a/runtime/doc/xxd-it.UTF-8.1
+++ b/runtime/doc/manpages/it/xxd-it.1
diff --git a/runtime/doc/evim-ja.UTF-8.1 b/runtime/doc/manpages/ja/evim-ja.1
index 1b7a657ebc..1b7a657ebc 100644
--- a/runtime/doc/evim-ja.UTF-8.1
+++ b/runtime/doc/manpages/ja/evim-ja.1
diff --git a/runtime/doc/vim-ja.UTF-8.1 b/runtime/doc/manpages/ja/vim-ja.1
index a4788b3c48..a4788b3c48 100644
--- a/runtime/doc/vim-ja.UTF-8.1
+++ b/runtime/doc/manpages/ja/vim-ja.1
diff --git a/runtime/doc/vimdiff-ja.UTF-8.1 b/runtime/doc/manpages/ja/vimdiff-ja.1
index 56fadfef6e..56fadfef6e 100644
--- a/runtime/doc/vimdiff-ja.UTF-8.1
+++ b/runtime/doc/manpages/ja/vimdiff-ja.1
diff --git a/runtime/doc/vimtutor-ja.UTF-8.1 b/runtime/doc/manpages/ja/vimtutor-ja.1
index 29b9b48f2c..29b9b48f2c 100644
--- a/runtime/doc/vimtutor-ja.UTF-8.1
+++ b/runtime/doc/manpages/ja/vimtutor-ja.1
diff --git a/runtime/doc/xxd-ja.UTF-8.1 b/runtime/doc/manpages/ja/xxd-ja.1
index 8a8d54b021..8a8d54b021 100644
--- a/runtime/doc/xxd-ja.UTF-8.1
+++ b/runtime/doc/manpages/ja/xxd-ja.1
diff --git a/runtime/doc/evim-pl.UTF-8.1 b/runtime/doc/manpages/pl/evim-pl.1
index 096a12add2..096a12add2 100644
--- a/runtime/doc/evim-pl.UTF-8.1
+++ b/runtime/doc/manpages/pl/evim-pl.1
diff --git a/runtime/doc/vim-pl.UTF-8.1 b/runtime/doc/manpages/pl/vim-pl.1
index f3551d2f63..f3551d2f63 100644
--- a/runtime/doc/vim-pl.UTF-8.1
+++ b/runtime/doc/manpages/pl/vim-pl.1
diff --git a/runtime/doc/vimdiff-pl.UTF-8.1 b/runtime/doc/manpages/pl/vimdiff-pl.1
index d66fdc9c03..d66fdc9c03 100644
--- a/runtime/doc/vimdiff-pl.UTF-8.1
+++ b/runtime/doc/manpages/pl/vimdiff-pl.1
diff --git a/runtime/doc/vimtutor-pl.UTF-8.1 b/runtime/doc/manpages/pl/vimtutor-pl.1
index 199fcd0e8f..199fcd0e8f 100644
--- a/runtime/doc/vimtutor-pl.UTF-8.1
+++ b/runtime/doc/manpages/pl/vimtutor-pl.1
diff --git a/runtime/doc/xxd-pl.UTF-8.1 b/runtime/doc/manpages/pl/xxd-pl.1
index e63ce64b74..e63ce64b74 100644
--- a/runtime/doc/xxd-pl.UTF-8.1
+++ b/runtime/doc/manpages/pl/xxd-pl.1
diff --git a/runtime/doc/evim-ru.UTF-8.1 b/runtime/doc/manpages/ru/evim-ru.1
index 581c364c22..581c364c22 100644
--- a/runtime/doc/evim-ru.UTF-8.1
+++ b/runtime/doc/manpages/ru/evim-ru.1
diff --git a/runtime/doc/vim-ru.UTF-8.1 b/runtime/doc/manpages/ru/vim-ru.1
index ef527213e3..ef527213e3 100644
--- a/runtime/doc/vim-ru.UTF-8.1
+++ b/runtime/doc/manpages/ru/vim-ru.1
diff --git a/runtime/doc/vimdiff-ru.UTF-8.1 b/runtime/doc/manpages/ru/vimdiff-ru.1
index 2f17e9c2e5..2f17e9c2e5 100644
--- a/runtime/doc/vimdiff-ru.UTF-8.1
+++ b/runtime/doc/manpages/ru/vimdiff-ru.1
diff --git a/runtime/doc/vimtutor-ru.UTF-8.1 b/runtime/doc/manpages/ru/vimtutor-ru.1
index 6b1ba90df0..6b1ba90df0 100644
--- a/runtime/doc/vimtutor-ru.UTF-8.1
+++ b/runtime/doc/manpages/ru/vimtutor-ru.1
diff --git a/runtime/doc/xxd-ru.UTF-8.1 b/runtime/doc/manpages/ru/xxd-ru.1
index 647845bab4..647845bab4 100644
--- a/runtime/doc/xxd-ru.UTF-8.1
+++ b/runtime/doc/manpages/ru/xxd-ru.1
diff --git a/runtime/doc/vim.1 b/runtime/doc/manpages/vim.1
index 820caa24f5..820caa24f5 100644
--- a/runtime/doc/vim.1
+++ b/runtime/doc/manpages/vim.1
diff --git a/runtime/doc/vimdiff.1 b/runtime/doc/manpages/vimdiff.1
index bed2b32889..bed2b32889 100644
--- a/runtime/doc/vimdiff.1
+++ b/runtime/doc/manpages/vimdiff.1
diff --git a/runtime/doc/vimtutor.1 b/runtime/doc/manpages/vimtutor.1
index 0aa7e8d8d9..0aa7e8d8d9 100644
--- a/runtime/doc/vimtutor.1
+++ b/runtime/doc/manpages/vimtutor.1
diff --git a/runtime/doc/xxd.1 b/runtime/doc/manpages/xxd.1
index e8f7358591..e8f7358591 100644
--- a/runtime/doc/xxd.1
+++ b/runtime/doc/manpages/xxd.1
diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt
index 84afe2f2b1..9365f39b2a 100644
--- a/runtime/doc/message.txt
+++ b/runtime/doc/message.txt
@@ -476,8 +476,6 @@ in memory, you can reduce that with these options:
helps for a change that affects all lines.
- 'undoreload' Set to zero to disable.
-Also see |msdos-limitations|.
-
*E339* >
Pattern too long
diff --git a/runtime/doc/os_390.txt b/runtime/doc/os_390.txt
index 5e564d8416..5501b8009b 100644
--- a/runtime/doc/os_390.txt
+++ b/runtime/doc/os_390.txt
@@ -103,7 +103,6 @@ Disabled at compile time:
Never tested:
- Perl interface (|perl|)
- - Hangul input (|hangul|)
- Encryption support (|encryption|)
- Langmap (|'langmap'|)
- Python support (|Python|)
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 2f1868e84e..a7050fa2e8 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -357,7 +357,7 @@ N *+gettext* message translations |multi-lang|
*+GUI_GTK* Unix only: GTK+ |GUI|
*+GUI_Motif* Unix only: Motif |GUI|
*+GUI_Photon* QNX only: Photon |GUI|
-m *+hangul_input* Hangul input support |hangul|
+m *+hangul_input* Hangul input support hangul
*+iconv* Compiled with the |iconv()| function
*+iconv/dyn* Likewise |iconv-dynamic| |/dyn|
N *+insert_expand* |insert_expand| Insert mode completion
diff --git a/runtime/doc/vim-de.1 b/runtime/doc/vim-de.1
deleted file mode 100644
index 0ba4938f7a..0000000000
--- a/runtime/doc/vim-de.1
+++ /dev/null
@@ -1,478 +0,0 @@
-.\"*******************************************************************
-.\"
-.\" This file was generated with po4a. Translate the source file.
-.\"
-.\"*******************************************************************
-.\" Translated by bw1 (2008) and Florian Rehnisch <fm-r@gmx.de> (2012)
-.\" Kudos to the folks on vim-dev and debian-l10n-german
-.TH VIM 1 "2006 Apr 11"
-.SH BEZEICHNUNG
-vim \- Vi IMproved, ein Text\-Editor für Programmierer
-.SH ÜBERSICHT
-.br
-\fBvim\fP [Optionen] [Datei ...]
-.br
-\fBvim\fP [Optionen] \-
-.br
-\fBvim\fP [Optionen] \-t Tag
-.br
-\fBvim\fP [Optionen] \-q [Fehlerdatei]
-.PP
-.br
-\fBex\fP
-.br
-\fBview\fP
-.br
-\fBgvim\fP \fBgview\fP \fBevim\fP \fBeview\fP
-.br
-\fBrvim\fP \fBrview\fP \fBrgvim\fP \fBrgview\fP
-.SH BESCHREIBUNG
-\fBVim\fP ist ein Text\-Editor, der aufwärtskompatibel zu Vi ist. Er kann
-verwendet werden, um alle Arten von Klartext zu bearbeiten. Er ist besonders
-nützlich, um Programme zu bearbeiten.
-.PP
-Vim hat einige Erweiterungen gegenüber Vi, z.B.: Rückgängigmachen in
-mehreren Schritten, mehrere Fenster und Puffer, Syntax\-Hervorhebung,
-Bearbeiten der Befehlszeile, Dateinamenergänzung, eingebaute Hilfe, visuelle
-Auswahl, usw. ... Siehe ğ:help vi_diff.txtĞ für eine Übersicht der
-Unterschiede zwischen \fBVim\fP und Vi.
-.PP
-Im laufenden \fBVim\fP kann mit dem Befehl ğ:helpĞ viel Hilfe durch das
-eingebaute Hilfesystem erlangt werden. Siehe den Abschnitt EINGEBAUTE HILFE
-weiter unten.
-.PP
-Meistens wird \fBVim\fP zum Editieren einer einzigen Datei mit dem folgende
-Befehl gestartet:
-.PP
- vim Datei
-.PP
-Allgemeiner betrachtet, wird \fBVim\fP folgendermaßen gestartet:
-.PP
- vim [Optionen] [Dateiliste]
-.PP
-Bei einer fehlenden Dateiliste startet der Editor mit einem leeren
-Puffer. Andernfalls werden nach den folgenden vier Möglichkeiten eine oder
-mehrere Dateien bearbeitet:
-.TP 12
-Datei ...
-Eine Liste von Dateinamen. Die erste Datei wird in den Puffer geladen und
-zur aktuellen. Der Cursor wird auf der ersten Zeile des Puffers
-platziert. Zu den anderen Dateien kann mit dem Befehl ğ:nextĞ gelangt
-werden. Falls einer der Dateinamen mit einem Bindestrich beginnt, stellen
-Sie der Dateiliste ğ\-\-Ğ voran.
-.TP
-\-
-Die zu bearbeitende Datei wird von der Standardeingabe gelesen. Befehle
-werden von der Standardfehlerausgabe gelesen, die ein Text\-Terminal sein
-sollte.
-.TP
-\-t {Tag}
-Die zu editierende Datei und die anfängliche Cursor\-Position hängen von
-einem ğTagĞ ab, einer Art Sprungmarke. {Tag} wird in der Tag\-Datei
-nachgeschlagen, die zugehörige Datei wird zur aktuellen und der zugehörige
-Befehl wird ausgeführt. Dies wird meistens für Programme in der Sprache ğCĞ
-benutzt, wobei {Tag} ein Funktionsname sein könnte. Die Wirkung dieses
-Befehls ist, dass die Datei, die die Funktion enthält, als aktuelle im
-Editor geöffnet und angezeigt wird und der Cursor auf dem Beginn der
-Funktion positioniert wird. Siehe ğ:help tag\-commandsĞ.
-.TP
-\-q [Fehlerdatei]
-Startet im QuickFix\-Modus. Die Datei [Fehlerdatei] wird gelesen und der
-erste Fehler wird angezeigt. Falls [Fehlerdatei] ausgelassen wird, wird der
-Dateiname aus der Option 'errorfile' verwendet (bei AmigaOS ist dies
-vorgabemäßig ğAztecC.ErrĞ, sowie "errors.errĞ bei anderen). Weitere Fehler
-können mit dem ğ:cnĞ\-Befehl angesprungen werden. Siehe ":help quickfixĞ.
-.PP
-\fBVim\fP reagiert unterschiedlich auf den Namen, der verwendet wird, um Vim zu
-starten (die ausführbare Datei kann dieselbe sein).
-.TP 10
-vim
-der ğnormaleĞ Weg, alles ist standardmäßig
-.TP
-ex
-Startet im Ex\-Modus. Mit dem Befehl ğ:viĞ gelangt man in den normalen
-Modus. Funktioniert auch mit dem Argument ğ\-eĞ.
-.TP
-view
-Startet im Nur\-Lesen\-Modus. Die Datei wird vor dem Überschreiben
-geschützt. Dasselbe wird mit dem Parameter ğ\-RĞ erreicht.
-.TP
-gvim gview
-Die grafische Version: Öffnet ein neues Fenster. Dasselbe wird mit dem
-Parameter ğ\-gĞ erreicht.
-.TP
-evim eview
-Die grafische Version im einfachen Modus: Öffnet ein neues Fenster. Dasselbe
-wird mit dem Parameter ğ\-yĞ erreicht.
-.TP
-rvim rview rgvim rgview
-Wie die obigen, aber mit Beschränkungen: Es ist nicht möglich, Shell\-Befehle
-aufzurufen oder mit Unterbrechung in eine Shell zurückzuspringen. Dasselbe
-wird mit dem Parameter ğ\-ZĞ erreicht.
-.SH OPTIONEN
-Die Optionen können in beliebiger Reihenfolge vor oder nach den Dateinamen
-angegeben werden. Optionen ohne Parameter können hinter einem einzigen
-Bindestrich gruppiert werden.
-.TP 12
-+[Nummer]
-In der ersten Datei wird der Cursor auf die Zeile [Nummer] gesetzt. Falls
-[Nummer] nicht angegeben wird, wird der Cursor in die letzte Zeile der Datei
-gesetzt.
-.TP
-+/{Suchmuster}
-In der ersten Datei wird der Cursor auf das erste Auftreten von {Suchmuster}
-gesetzt. Siehe ğ:help search\-patternĞ.
-.TP
-+{Befehl}
-.TP
-\-c {Befehl}
-{Befehl} wird nach dem Lesen der ersten Datei ausgeführt. Als {Befehl} wird
-ein Ex\-Befehl erwartet. Sind in {Befehl} Leerzeichen vorhanden, muss alles
-in Anführungszeichen gesetzt werden (hängt von der verwendeten Shell
-ab). Beispiel: vim "+set si" main.c
-.br
-Anmerkung: Sie können bis zu 10 ğ+Ğ\- oder "\-cĞ\-Befehle verwenden.
-.TP
-\-S {Datei}
-{Datei} wird nach dem Lesen der ersten Datei ausgeführt. Dies entspricht ğ\-c
-"source {Datei}"Ğ. {Datei} darf nicht mit einem Bindestrich (\-)
-anfangen. Wenn kein Dateiname angegeben wird, wird ğSession.vimĞ verwendet
-(Funktioniert nur, wenn ğ\-SĞ als letzter Parameter steht).
-.TP
-\-\-cmd {Befehl}
-Wie ğ\-cĞ, aber dieser Befehl wird vor allen VimRC\-Dateien ausgeführt. Sie
-können unabhängig von den ğ\-cĞ\-Befehlen bis zu 10 dieser Befehle verwenden.
-.TP
-\-A
-Falls \fBVim\fP mit Unterstützung für das Schreiben von rechts nach links und
-arabischer Tastaturbelegung compiliert wurde (ARABIC), startet dieser
-Parameter den Modus fürs Arabische (:set arabic). Anderenfalls beendet sich
-\fBVim\fP mit einer Fehlermeldung.
-.TP
-b
-Binärer Modus: Es werden einige Variablen gesetzt, sodass es möglich ist,
-eine binäre oder ausführbare Datei zu bearbeiten.
-.TP
-\-C
-Kompatibel: Setzt die Option 'compatible'. Das macht \fBVim\fP im Verhalten
-sehr ähnlich zu Vi, selbst wenn eine VimRC\-Datei existiert.
-.TP
-\-d
-Startet im diff\-Modus. Es sollten zwei, drei oder vier Dateinamen als
-Parameter übergeben werden. \fBVim\fP öffnet sie alle und zeigt die
-Unterschiede an. Arbeitet wie vimdiff(1).
-.TP
-\-d {Gerät}
-Öffnet das {Gerät}, um es als Terminal zu nutzen. Nur für AmigaOS. Beispiel:
-"\-d con:20/30/600/150".
-.TP
-D
-Debug\-Modus: \fBVim\fP geht in den Debug\-Modus, wenn der erste Befehl in einem
-Skript ausgeführt wird.
-.TP
-\-e
-Startet \fBVim\fP im Ex\-Modus, als würde als ausführbare Datei ğexĞ aufgerufen.
-.TP
-\-E
-Startet \fBVim\fP im erweiterten Ex\-Modus, als würde die ausführbare Datei als
-ğeximĞ aufgerufen.
-.TP
-\-f
-Vordergrund: Bei der GUI\-Version erzeugt \fBVim\fP keinen neuen Prozess und
-löst sich nicht von der Shell, in der er aufgerufen wurde. Bei AmigaOS wird
-kein neues Fenster geöffnet. Dieser Parameter wird benutzt, damit das
-aufrufende Programm auf das Beenden des Bearbeitungssitzung wartet (z.B.:
-mail). Bei AmigaOS funktionieren die Befehle ğ:shĞ und ":!Ğ nicht.
-.TP
-\-\-nofork
-Vordergrund: Bei der GUI\-Version erzeugt \fBVim\fP keinen neuen Prozess und
-löst sich nicht von der Shell, in der er aufgerufen wurde.
-.TP
-\-F
-Wenn \fBVim\fP mit FKMAP\-Unterstützung für das Schreiben von rechts nach links
-und Farsi\-Tastatur\-Belegung kompiliert wurde, startet Vim im Farsi\-Modus,
-d.h. die Optionen 'fkmap' und 'rightleft' werden gesetzt. Andernfalls bricht
-\fBVim\fP mit einer Fehlermeldung ab.
-.TP
-\-g
-Falls \fBVim\fP mit GUI\-Unterstützung kompiliert wurde, wird die GUI
-aktiviert. Falls keine GUI\-Unterstützung einkompiliert wurde, wird mit einer
-Fehlermeldung abgebrochen.
-.TP
-\-h
-Gibt eine kleine Hilfe für die Befehlszeilenparameter aus. Danach beendet
-sich \fBVim.\fP
-.TP
-\-H
-Hebräisch\-Modus, falls \fBVim\fP mit RIGHTLEFT\-Unterstützung für das Schreiben
-von rechts nach links und hebräischer Tastaturbelegung kompiliert wurde,
-werden die Optionen 'hkmap' und 'rightleft' gesetzt. Andernfalls beendet
-sich \fBVim\fP mit einer Fehlermeldung.
-.TP
-\-i {VimInfo}
-Wenn eine VimInfo\-Datei verwendet wird: Verwendet statt ğ~/.viminfoĞ die
-angegebene Datei. Es ist auch möglich die Verwendung einer VimInfo\-Datei
-durch Angabe des Dateinamen ğNONEĞ zu verhindern,
-.TP
-\-L
-dasselbe wie ğ\-rĞ
-.TP
-\-l
-Lisp\-Modus. Aktiviert die Optionen 'lisp' und 'showmatch'.
-.TP
-\-m
-Deaktiviert das Verändern von Dateien, indem die Option 'write' gelöscht
-wird. Der Puffer kann verändert werden, nur das Schreiben einer Datei ist
-nicht möglich.
-.TP
-\-M
-Keine Veränderungen erlaubt: Die Optionen 'modifiable' und 'write' werden
-gelöscht, so dass Änderungen nicht erlaubt sind und Dateien nicht
-geschrieben werden können. Man beachte, dass diese Optionen ('modifiable',
-\&'write') dennnoch nachträglich zum Erlauben von Änderungen gesetzt werden
-können.
-.TP
-\-N
-Nicht\-kompatibler Modus: Löscht die Option 'compatible'. Dies veranlasst
-\fBVim\fP, sich ein wenig besser, aber weniger Vi\-kompatibel zu verhalten,
-selbst wenn es keine VimRC\-Datei gibt.
-.TP
-\-n
-Verwendet keine Auslagerungsdatei: Eine Wiederherstellung nach einem Absturz
-ist nicht möglich. Auf einem langsamen Medium (Diskette) kann diese
-Einstellung nützlich sein. Kann auch mit ğset uc=0Ğ erreicht werden; kann
-mit ğset uc=200Ğ aufgehoben werden.
-.TP
-\-nb
-\fBVim\fP fungiert als Server für NetBeans. Details siehe Dokumentation.
-.TP
-\-o[N]
-Öffnet [N] Fenster übereinander. Wenn keine Zahl angegeben wird, öffne ein
-Fenster pro Datei.
-.TP
-\-O[N]
-Öffnet [N] Fenster nebeneinander. Wenn keine Zahl angegeben wird, öffne ein
-Fenster pro Datei.
-.TP
-\-p[N]
-Öffnet [N] Reiterseiten. Wenn keine Zahl angegeben wird, öffne eine
-Reiterseite pro Datei.
-.TP
-\-R
-Nur\-Lesen\-Modus: Die Option 'readonly' wird gesetzt. Der Puffer kann noch
-bearbeitet werden, aber es wird verhindert, eine Datei aus Versehen zu
-überschreiben. Wenn Sie wirklich eine Datei überschreiben wollen, fügen Sie
-dem Ex\-Befehl ein Ausrufezeichen hinzu (wie in ğ:w!Ğ). Die Option "\-RĞ
-bedingt die Option ğ\-nĞ (siehe oben). Die Option 'readonly' kann durch ":set
-noroĞ gelöscht werden. Siehe ğ:help 'readonly'Ğ.
-.TP
-\-r
-Listet die Auslagerungsdateien und gibt Informationen zu ihrer
-Verwendbarkeit zur Wiederherstellung.
-.TP
-\-r {Datei}
-Wiederherstellungsmodus: Die Auslagerungsdatei wird zur Wiederherstellung
-verwendet und hat denselben Dateinamen wie die Text\-Datei + ğ.swpĞ. Siehe
-":help recoveryĞ.
-.TP
-\-s
-Der stille Modus: Nur wenn die ausführbare Datei als ğexĞ aufgerufen wird
-oder vor ğ\-sĞ die Option "\-eĞ gegeben wird.
-.TP
-\-s {Eingabeskript}
-Die Datei {Eingabeskript} wird gelesen und ausgeführt, als würden Sie die
-Zeichen in ihr tippen. Dasselbe kann mit dem Befehl ğ:source!
-{Eingabeskript}Ğ erreicht werden. Wird das Ende der Datei vor dem Beenden
-des Editors erreicht, werden weitere Zeichen von der Tastatur gelesen.
-.TP
-\-T {Terminal}
-Setzt den Namen des benutzten Terminals. Nur erforderlich, wenn die
-Automatik nicht funktioniert. Sollte ein \fBVim\fP bekanntes Terminal sein:
-(builtin) oder in einer termcap\- oder terminfo\-Datei definiert.
-.TP
-\-u {VimRC}
-Verwendet zur Initialisierung die Befehle in der Datei {VimRC}. Alle anderen
-Initialisierungen werden übersprungen. Benutzen Sie dies, um eine besondere
-Art von Dateien zu bearbeiten. Dies kann auch benutzt werden, um alle
-Initialisierungen zu überspringen, indem der Name ğNONEĞ angegeben wird. Für
-weitere Einzelheiten siehe ğ:help initialisationĞ innerhalb von Vim.
-.TP
-\-U {GvimRC}
-Benutzt die Befehle in der Datei {GvimRC} für die Initialisierung der
-grafischen Oberfläche. Alle anderen Initialisierungen werden
-übersprungen. Dies kann ebenfalls benutzt werden, um alle
-GUI\-Initialisierungen zu überspringen, indem der Name ğNONEĞ angegeben
-wird. Siehe ğ:help gui\-initĞ innerhalb von Vim für weitere Einzelheiten.
-.TP
-\-V[N]
-Ausführlich (verbose): Gibt Meldungen darüber, welche Befehlsdateien
-eingelesen werden, und über das Lesen und Schreiben einer VimInfo\-Datei. Die
-optionale Zahl N ist der Wert für 'verbose'. Vorgabe ist 10.
-.TP
-\-v
-Startet \fBVim\fP im Vi\-Modus, so als würde die ausführbare Datei mit ğviĞ
-aufgerufen. Dies wirkt sich nur aus, wenn die ausführbare Datei als ğexĞ
-aufgerufen wird.
-.TP
-\-w {Ausgabeskript}
-Alle Zeichen, die eingetippt werden, werden in der Datei {Ausgabeskript}
-aufgezeichnet, solange bis Sie \fBVim\fP beenden. Dies ist nützlich, falls Sie
-eine Skript\-Datei zum Benutzen mit ğvim \-sĞ oder ":source!Ğ erzeugen
-wollen. Falls die Datei {Ausgabeskript} vorhanden ist, werden die Zeichen
-angehängt.
-.TP
-\-W {Ausgabeskript}
-Wie \-w, aber eine bereits vorhandene Datei wird überschrieben.
-.TP
-\-x
-Benutzt beim Schreiben von Dateien eine Verschlüsselung. Fragt nach dem
-Schlüssel.
-.TP
-\-X
-Führt keine Verbindung zum X\-Server durch. Dadurch verkürzt sich die
-Startzeit, aber der Fenstertitel und die Zwischenablage werden nicht
-verwendet.
-.TP
-\-y
-Startet \fBVim\fP im einfachen Modus, als würde die ausführbare Datei mit
-ğevimĞ oder ğeviewĞ aufgerufen. \fBVim\fP verhält sich dann wie ein Editor zum
-Klicken und Tippen.
-.TP
-\-Z
-Eingeschränkter Modus: Funktioniert, als würde der Name der ausführbaren
-Datei mit ğrĞ beginnen.
-.TP
-\-\-
-Markiert das Ende der Optionen. Argumente, die folgen, werden als Dateinamen
-behandelt. Dies kann benutzt werden, um einen Dateinamen mit ğ\-Ğ am Anfang
-zu verwenden.
-.TP
-\-\-echo\-wid
-Nur GTK\-GUI: Schreibe die Fenster\-ID auf die Standardausgabe.
-.TP
-\-\-help
-Gibt eine Hilfe\-Nachricht aus und beendet, wie ğ\-hĞ.
-.TP
-\-\-literal
-Nimmt die Dateinamen so wie sie sind und vervollständigt sie nicht nach
-Metazeichen (*,?). Dies wirkt sich nicht unter Unix aus, wo die Shell die
-Metazeichen expandiert.
-.TP
-\-\-noplugin
-Lade keine Plugins. Impliziert durch ğ\-u NONEĞ.
-.TP
-\-\-remote
-Verbindet mit einem Vim\-Server und lässt ihn die in den restlichen
-Argumenten angegeben Dateien editieren. Wenn kein Server gefunden wird,
-führt dies zu einer Warnmeldung und die Dateien werden im gegenwärtigen Vim
-zum Bearbeiten geöffnet.
-.TP
-\-\-remote\-expr {Ausdruck}
-Verbindet mit einem Vim\-Server, führt {Ausdruck} aus und zeigt das Ergebnis
-auf der Standardausgabe an.
-.TP
-\-\-remote\-send {Zeichen}
-Verbindet mit einem Vim\-Server und sendet ihm {Zeichen}.
-.TP
-\-\-remote\-silent
-Wie ğ\-\-remoteĞ, aber ohne Warnung, wenn kein Server gefunden wird.
-.TP
-\-\-remote\-wait
-Wie ğ\-\-remoteĞ, aber Vim beendet sich nicht, bis die Dateien bearbeitet
-wurden.
-.TP
-\-\-remote\-wait\-silent
-Wie ğ\-\-remote\-waitĞ, aber ohne Warnung, wenn kein Server gefunden wird.
-.TP
-\-\-serverlist
-Listet die Namen aller gefundenen Vim\-Server auf.
-.TP
-\-\-servername {Name}
-Benutzt {Name} als Server\-Namen. Wird für den gegenwärtigen Vim benutzt,
-außer es wird mit dem Argument ğ\-\-remoteĞ benutzt, dann ist es der Name des
-zu kontaktierenden Servers.
-.TP
-\-\-socketid {id}
-Nur GTK\-GUI: Benutzt den GtkPlug\-Mechanismus, um GVim in einem anderen
-Fenster laufen zu lassen.
-.TP
-\-\-version
-Versionsinformation anzeigen und beenden
-.SH "EINGEBAUTE HILFE"
-Tippen Sie in \fBVim\fP ğ:helpĞ, um zu beginnen. Geben Sie ":help begriffĞ ein,
-um Hilfe über ein bestimmtes Thema zu bekommen. Zum Beispiel ğ:help ZZĞ für
-Hilfe über den Befehl ğZZĞ. Benutzen Sie <Tab> und CTRL\-D, um
-Begriffe zu vervollständigen (ğ:help cmdline\-completionĞ). Tags sind
-vorhanden, um von einem Ort zum anderen zu springen (eine Art
-Hypertext\-Verknüpfungen, siehe ğ:helpĞ). Auf diese Weise können alle
-Dokumentations\-Dateien aufgerufen werden, zum Beispiel ğ:help syntax.txtĞ.
-.SH DATEIEN
-.TP 15
-/usr/local/lib/vim/doc/*.txt
-Dokumentations\-Dateien für \fBVim\fP. Verwenden Sie ğ:help doc\-file\-listĞ, um
-die gesamte Liste zu bekommen.
-.TP
-/usr/local/lib/vim/doc/tags
-Die ğTagĞ\-Datei, die verwendet wird, um Informationen in der Dokumentation
-zu finden.
-.TP
-/usr/local/lib/vim/syntax/syntax.vim
-Die systemweite Einrichtung der Syntaxhervorhebung.
-.TP
-/usr/local/lib/vim/syntax/*.vim
-Syntaxdateien für die verschiedenen Sprachen.
-.TP
-/usr/local/lib/vim/vimrc
-Systemweite Einstellungsdatei für \fBVim\fP
-.TP
-~/.vimrc
-Persönliche Einstellungsdatei für \fBVim\fP
-.TP
-/usr/local/lib/vim/gvimrc
-Systemweite Einstellungsdatei für GVim
-.TP
-~/.gvimrc
-Persönliche Einstellungsdatei für GVim
-.TP
-/usr/local/lib/vim/optwin.vim
-Das Script, das von dem Befehl ğ:optionsĞ verwendet wird, eine schöne
-Möglichkeit, um Optionen zu betrachten und zu setzen.
-.TP
-/usr/local/lib/vim/menu.vim
-Systemweite Einstellungsdatei für das Menü von GVim
-.TP
-/usr/local/lib/vim/bugreport.vim
-Das Script zum Generieren eines Fehlerberichts. Siehe ğ:help bugsĞ.
-.TP
-/usr/local/lib/vim/filetype.vim
-Mit diesem Script erkennt Vim den Typ einer Datei anhand ihres
-Dateinamens. Siehe ğ:help 'filetype'Ğ.
-.TP
-/usr/local/lib/vim/scripts.vim
-Mit diesem Script erkennt Vim den Typ einer Datei anhand ihres
-Inhaltes. Siehe ğ:help 'filetype'Ğ.
-.TP
-/usr/local/lib/vim/print/*.ps
-Diese Dateien werden zum Drucken von PostScript verwendet.
-.PP
-Für die neuesten Informationen lesen Sie die Vim\-Homepage:
-.br
-<URL:http://www.vim.org/>
-.SH "SIEHE AUCH"
-vimtutor(1)
-.SH AUTOR
-\fBVim\fP wurde größtenteils von Bram Moolenaar erstellt, mit viel Hilfe von
-anderen Leuten. Siehe ğ:help creditsĞ in \fBVim.\fP
-.br
-\fBVim\fP basiert auf Stevie, der von Tim Thompson, Tony Andrews und
-G.R. (Fred) Walter geschrieben wurde. Es ist jedoch kaum etwas vom
-ursprünglichen Code übrig geblieben.
-.SH FEHLER
-Die sind möglich. Siehe ğ:help todoĞ für eine Liste bekannter Probleme.
-.PP
-Beachten Sie, dass gewisse Dinge, die manche Leute als Fehler betrachten
-mögen, in Wirklichkeit durch zu getreue Nachbildung des Vi\-Verhaltens
-verursacht werden. Und falls Sie denken, dass andere Dinge Fehler sind,
-ğweil Vi es anders tutĞ, sollten Sie einen genaueren Blick auf die Datei
-vi_diff.txt werfen (oder in Vim ğ:help vi_diff.txtĞ tippen). Sehen Sie sich
-auch die Optionen 'compatible' und 'cpoptions' an.
diff --git a/runtime/doc/vim-fr.1 b/runtime/doc/vim-fr.1
deleted file mode 100644
index 209ab915c9..0000000000
--- a/runtime/doc/vim-fr.1
+++ /dev/null
@@ -1,589 +0,0 @@
-.\" Traduction lundi 7 août 2000 par Richard Hitier
-.\" (richard.hitier@dial.oleane.com)
-.\" Mise à jour de la traduction par David Blanchet
-.\" (david.blanchet@free.fr) 2006-06-10
-.\" Mise à jour de la traduction par Dominique Pellé
-.\" (dominique.pelle@gmail.com) 2013-05-10
-.\"
-.TH VIM 1 "22 février 2002"
-.SH NOM
-vim \- Vi IMproved, éditeur de texte pour programmeurs
-.SH SYNOPSIS
-.br
-.B vim
-[options] [fichier ...]
-.br
-.B vim
-[options] \-
-.br
-.B vim
-[options] \-t marqueur
-.br
-.B vim
-[options] \-q [fichiererreurs]
-.PP
-.br
-.B ex
-.br
-.B view
-.br
-.B gvim
-.B gview
-.B evim
-.B eview
-.br
-.B rvim
-.B rview
-.B rgvim
-.B rgview
-.SH DESCRIPTION
-.B Vim
-est un éditeur de texte proposant une compatibilité ascendante
-avec Vi. Il permet d'éditer n'importe quel type de texte brut.
-Il est particulièrement adapté pour l'édition des programmes.
-.PP
-Il comporte de nombreuses améliorations par rapport à Vi : annulation sur
-plusieurs niveaux, fenêtres et tampons multiples, coloration syntaxique,
-édition en ligne de commande, complètement des noms de fichiers, aide en
-ligne, sélection visuelle, etc.
-Voir ":help vi_diff.txt" pour un résumé des différences entre
-.B Vim
-et Vi.
-.PP
-Pendant l'exécution de
-.B Vim
-\, une aide abondante est accessible au travers du système d'aide
-en ligne, grâce à la commande ":help".
-Voir la section AIDE EN LIGNE plus bas.
-.PP
-Le plus souvent
-.B Vim
-est démarré pour éditer un unique fichier avec la commande
-.PP
- vim fichier
-.PP
-Plus généralement,
-.B Vim
-est lancé avec :
-.PP
- vim [options] [listefichiers]
-.PP
-Si la listefichiers est omise, l'éditeur démarre avec un tampon vide.
-Autrement, l'une des quatre méthodes suivantes vous permettra de choisir
-un ou plusieurs fichiers à éditer.
-.TP 12
-fichier ...
-Une liste de noms de fichiers.
-Le premier sera le fichier courant et sera lu dans le tampon.
-Le curseur sera placé sur la première ligne du tampon.
-Vous pouvez passer aux autres fichiers avec la commande ":next".
-Pour éditer un fichier débutant par un tiret, faites précéder la
-liste de fichiers par "\-\-".
-.TP
-\-
-Le fichier à éditer est lu sur l'entrée standard (stdin). Les commandes sont
-lues depuis stderr, qui devrait être un terminal.
-.TP
-\-t {marqueur}
-Le fichier à éditer et la position initiale du curseur dépendent
-d'un "marqueur", qui est une sorte d'étiquette.
-{marqueur} est recherché dans le fichier des marqueurs, le fichier correspondant
-devient le fichier courant et la commande associée est exécutée.
-Principalement utile pour les programmes en C ; dans ce cas, {marqueur}
-peut être le nom d'une fonction.
-Au final, le fichier contenant cette fonction devient le fichier
-courant et le curseur est placé au début de la fonction.
-Voir ":help tag\-commands".
-.TP
-\-q [fichiererreurs]
-Démarre en mode Mise-au-point (QuickFix).
-Le fichier [fichiererreurs] est lu et la première erreur est affichée.
-Si [fichiererreurs] est omis, le nom du fichier est lu dans
-l'option 'errorfile' ("AztecC.Err" par défaut sur Amiga, "errors.err" sur les
-autres systèmes).
-La commande ":cn" permet de sauter aux erreurs suivantes.
-Voir ":help quickfix".
-.PP
-.B Vim
-se comporte différemment selon le nom de la commande (l'exécutable peut
-cependant être le même fichier).
-.TP 10
-vim
-La façon "normale", le comportement par défaut.
-.TP
-ex
-Démarre en mode Ex.
-La commande ":vi" permet de passer en mode Normal.
-Ce mode est également accessible avec l'argument "\-e".
-.TP
-view
-Démarre en mode Lecture-Seule. Vous êtes protégé de l'écriture accidentelle
-des fichiers. Ce mode est également accessible avec l'argument "\-R".
-.TP
-gvim gview
-La version graphique.
-Ouvre une nouvelle fenêtre.
-Également accessible avec l'argument "\-g".
-.TP
-evim eview
-La version graphique en mode Débutant (easy).
-Ouvre une nouvelle fenêtre.
-Également accessible avec l'argument "\-y".
-.TP
-rvim rview rgvim rgview
-Comme ci-dessus, mais avec des restrictions. Il vous sera impossible de
-lancer des commandes du shell, ou de suspendre
-.B Vim.
-Également accessible avec l'argument "\-Z".
-.SH OPTIONS
-Les options peuvent être spécifiées dans n'importe quel ordre,
-avant ou après les noms de fichiers. Les options sans arguments
-peuvent être combinées après un unique tiret.
-.TP 12
-+[num]
-Place le curseur sur la ligne "num" dans le premier fichier.
-Si "num" est omis, le curseur sera placé sur la dernière ligne.
-.TP
-+/{motif}
-Place le curseur sur la première occurrence de {motif} dans le premier fichier.
-Voir ":help search\-pattern" pour connaître les motifs de recherches
-disponibles.
-.TP
-+{commande}
-.TP
-\-c {commande}
-Exécute {commande} après la lecture du premier fichier.
-{commande} est interprétée comme une commande Ex.
-Si la {commande} contient des espaces, elle doit être entourée
-de doubles-apostrophes (cela dépend du shell utilisé).
-Exemple : Vim "+set si" main.c
-.br
-Note : vous pouvez utiliser jusqu'à 10 commandes "+" ou "\-c".
-.TP
-\-S {fichier}
-Source {fichier} après la lecture du premier fichier.
-C'est équivalent à \-c "source {fichier}".
-{fichier} ne peut pas débuter par un '\-'.
-Si {fichier} est omis, "Session.vim" est utilisé (cela ne fonctionne que si
-\-S est le dernier argument).
-.TP
-\-\-cmd {commande}
-Comme "\-c", mais la commande est exécutée juste avant de traiter les fichiers
-vimrc.
-Vous pouvez utiliser jusqu'à 10 de ces commandes, indépendamment des
-commandes "\-c".
-.TP
-\-A
-Si
-.B Vim
-a été compilé avec le support de la fonctionnalité ARABIC pour l'édition de
-fichiers de droite à gauche et les claviers arabes, cette option lance
-.B Vim
-en mode Arabe, c.-à-d. que l'option 'arabic' est activée.
-Sinon, un message d'erreur est émis et
-.B Vim
-quitte.
-.TP
-\-b
-Mode Binaire.
-Active plusieurs options pour permettre l'édition
-d'un fichier binaire ou exécutable.
-.TP
-\-C
-Compatible. Active l'option 'compatible'.
-.B Vim
-se comportera alors quasiment comme Vi, même s'il existe un fichier .vimrc.
-.TP
-\-d
-Démarre en mode Diff.
-Deux, trois ou quatre noms de fichiers doivent être spécifiés.
-.B Vim
-ouvrira alors tous les fichiers et affichera leurs différences.
-Fonctionne comme vimdiff(1).
-.TP
-\-d {périph}
-Ouvre {périph} pour l'utiliser comme terminal.
-Uniquement sur Amiga.
-Exemple :
-"\-d con:20/30/600/150".
-.TP
-\-D
-Debogage. Passe en mode Débogage lors de l'exécution de la première commande
-d'un script.
-.TP
-\-e
-Démarre
-.B Vim
-en mode Ex, comme si l'exécutable s'appelait "ex".
-.TP
-\-E
-Démarre
-.B Vim
-en mode Ex amélioré, comme si l'exécutable "exim" avait été invoqué.
-.TP
-\-f
-Premier-plan (Foreground). Pour la version graphique,
-.B Vim
-ne forke pas et ne se détache pas du shell dans lequel il a été invoqué.
-Sur Amiga,
-.B Vim
-n'est pas relancé pour ouvrir une nouvelle fenêtre.
-Cette option est utile quand
-.B Vim
-est exécuté par un programme qui attend la fin de la session d'édition
-(par exemple mail).
-Sur Amiga, les commandes ":sh" et ":!" ne fonctionneront pas.
-.TP
-\-\-nofork
-Premier-plan (Foreground). Pour la version graphique,
-.B Vim
-ne forkera pas et ne se détachera pas du shell dans lequel il a été lancé.
-.TP
-\-F
-Si
-.B Vim
-a été compilé avec le support de la fonctionnalité FKMAP pour l'édition de
-fichiers de droite à gauche et les claviers farsi, cette option lance
-.B Vim
-en mode Farsi, c.-à-d. avec les options 'fkmap' et 'rightleft' activées.
-Sinon, un message d'erreur est émis et
-.B Vim
-quitte.
-.TP
-\-g
-Si
-.B Vim
-a été compilé avec le support de l'IHM graphique, cette option active
-l'IHM graphique. Si le support n'a pas été compilé, un message d'erreur
-est émis et
-.B Vim
-quitte.
-.TP
-\-h
-Donne une aide succincte sur les arguments et les options de la ligne de
-commande. Après cela,
-.B Vim
-quitte.
-.TP
-\-H
-Si
-.B Vim
-a été compilé avec le support de la fonctionnalité RIGHTLEFT pour l'édition de
-fichiers de droite à gauche et les claviers hébreux, cette option lance
-.B Vim
-en mode Hébreu, c.-à-d. avec les options 'hkmap' et 'rightleft' activées.
-Sinon, un message d'erreur est émis et
-.B Vim
-quitte.
-.TP
-\-i {viminfo}
-Lorsque l'utilisation d'un fichier viminfo est activée, cette option indique
-le nom de fichier à utiliser à la place de "~/.viminfo" par défaut.
-Il est possible d'empêcher l'utilisation d'un fichier ".viminfo", en
-spécifiant le nom de fichier "NONE".
-.TP
-\-L
-Comme \-r.
-.TP
-\-l
-Mode Lisp.
-Active les options 'lisp' et 'showmatch'.
-.TP
-\-m
-Empêche la modification des fichiers.
-Désactive l'option 'write'.
-Vous pouvez toujours modifier le tampon, mais il vous sera impossible
-d'écrire le fichier.
-.TP
-\-M
-N'autorise aucune modification. les options 'modifiable' et 'write' sont
-désactivées, de sorte que les changements ne sont pas autorisés et que les
-fichiers ne peuvent pas être écrits. Note : ces options peuvent être activées
-pour autoriser les modifications.
-.TP
-\-N
-Mode Non-compatible. Désactive l'option 'compatible'.
-Cela améliorera le comportement de
-.B Vim
-\, mais il sera moins conforme à celui de Vi, même s'il n'existe aucun
-fichier ".vimrc".
-.TP
-\-n
-N'utilise pas de fichier d'échange (swapfile).
-Le recouvrement après un plantage sera impossible.
-Utile pour éditer un fichier sur un support très lent (disquette par ex.).
-Également activable avec ":set uc=0".
-Il est possible de l'annuler avec ":set uc=200".
-.TP
-\-nb
-Devient un serveur d'édition pour NetBeans. Consulter la documentation à ce
-sujet pour davantage de détails.
-.TP
-\-o[N]
-Ouvre N fenêtres les unes au-dessus des autres.
-Quand N est omis, ouvre une fenêtre pour chaque fichier.
-.TP
-\-O[N]
-Ouvre N fenêtres côte à côte.
-Quand N est omis, ouvre une fenêtre pour chaque fichier fichier.
-.TP
-\-p[N]
-Ouvre N onglets.
-Quand N est omis, ouvre un onglet pour chaque fichier fichier.
-.TP
-\-R
-Mode Lecture-Seule.
-Active l'option 'readonly'.
-Vous pouvez toujours éditer le tampon, mais il vous sera impossible de
-d'écraser accidentellement un fichier.
-Si vous voulez écraser un fichier, ajoutez un point d'exclamation à la commande
-Ex, comme dans ":w!".
-L'option \-R impose l'option \-n (voir ci-dessus).
-L'option 'readonly' peut être désactivée avec ":set noro".
-Voir ":help 'readonly'".
-.TP
-\-r
-Donne la liste des fichiers d'échange, avec des informations pour les utiliser
-à des fins de recouvrement.
-.TP
-\-r {file}
-Mode Recouvrement.
-Utilise le fichier d'échange pour récouvrer d'une session d'édition plantée.
-Le fichier d'échange est un fichier avec le même nom que le fichier texte,
-suivi du suffixe ".swp".
-Voir ":help recovery".
-.TP
-\-s
-Mode Silencieux. Disponible uniquement quand
-.B Vim
-est lancé en tant que "ex" ou quand l'option "\-e" a été spécifiée avant
-l'option "\-s".
-.TP
-\-s {scriptEntrée}
-Lit le fichier de script {scriptEntrée}.
-Les caractères du fichier sont interprétés comme si vous les tapiez.
-La commande ":source! {scriptEntrée}" donne le même résultat.
-Si la fin du fichier est atteinte avant que l'éditeur quitte, les caractères
-suivants sont lus depuis le clavier.
-.TP
-\-T {terminal}
-Indique à
-.B Vim
-le nom du terminal utilisé.
-Cela n'est requis que lorsque la détection automatique échoue.
-Le {terminal} devrait être connu de
-.B Vim
-(intégré) ou défini dans le fichier termcap ou terminfo.
-.TP
-\-u {vimrc}
-Utilise les commandes du fichier {vimrc} pour les initialisations.
-Toutes les autres initialisations sont omises.
-À utiliser pour éditer un type de fichiers particulier.
-Cela permet aussi d'omettre toute initialisation en spécifiant le nom de
-fichier "NONE".
-Voir ":help initialization" dans Vim pour davantage de détails.
-.TP
-\-U {gvimrc}
-Utilise les commandes du fichier {gvimrc} pour l'initialisation de l'IHM
-graphique.
-Toutes les autres initialisations graphiques sont omises.
-Cela permet aussi d'omettre toute initialisation graphique en spécifiant le nom
-de fichier "NONE".
-Voir ":help gui\-init" dans Vim pour davantage de détails.
-.TP
-\-V[N]
-Mode Verbeux.
-Donne des messages à propos des fichiers sourcés, ainsi que sur la lecture
-et les écritures dans le fichier viminfo. le nombre optionnel N précise la
-valeur de l'option 'verbose' (10 par défaut).
-.TP
-\-v
-Démarre
-.B Vim
-en mode Vi, comme si l'exécutable s'appelait "vi". Cela n'a d'effet que si
-l'exécutable invoqué est "ex".
-.TP
-\-w {scriptSortie}
-Tous les caractères que vous tapez sont enregistrés dans le fichier
-{scriptSortie}, jusqu'à ce que vous quittiez
-.B Vim.
-C'est utile quand vous voulez créer un fichier de script à utiliser avec
-"vim \-s" ou ":source!".
-Si le fichier {scriptSortie} existe, les caractères sont ajoutés à la fin.
-.TP
-\-W {scriptSortie}
-Comme \-w, mais un fichier existant sera écrasé.
-.TP
-\-x
-Chiffre les fichiers lors de l'écriture. Une clé de chiffrement sera demandée.
-.TP
-\-X
-Ne se connecte pas au serveur X. Accélère le temps de démarrage dans un
-terminal, mais le titre de la fenêtre et le presse-papier seront inaccessibles.
-.TP
-\-y
-Démarre
-.B Vim
-en mode Débutant (easy), comme si l'exécutable s'appelait "evim" ou "eview".
-Donne à
-.B Vim
-un comportement plus proche des éditeurs Ğ cliquez-tapez ğ.
-.TP
-\-Z
-Mode restreint. Fonctionne comme si l'exécutable commençait par la lettre 'r'.
-.TP
-\-\-
-Délimite la fin des options.
-Les arguments qui suivent seront considérés comme des noms de fichiers.
-Cela permet d'éditer des fichiers débutant par un '\-'.
-.TP
-\-\-echo\-wid
-IHM graphique GTK uniquement : retourne la Window ID sur stdout.
-.TP
-\-\-help
-Donne un message d'aide et quitte, comme "\-h".
-.TP
-\-\-literal
-Prend les arguments de noms de fichiers littéralement, sans étendre les
-jokers. N'a aucun effet sur Unix, où le shell étend les jokers.
-.TP
-\-\-noplugin
-Ne charge pas les greffons. Implicite avec \-u NONE.
-.TP
-\-\-remote
-Se connecte à un serveur Vim et lui fait éditer les fichiers spécifiés dans
-le reste des arguments. Si aucun serveur n'est trouvé, un avertissement est
-émis et les fichiers sont édités dans le Vim courant.
-.TP
-\-\-remote\-expr {expr}
-Se connecte à un serveur Vim, y évalue {expr} et affiche le résultat sur la
-sortie standard (stdout).
-.TP
-\-\-remote\-send {touches}
-Se connecte à un serveur Vim et y envoie {touches}.
-.TP
-\-\-remote\-silent
-Comme \-\-remote, mais sans émettre d'avertissement si aucun serveur n'est
-trouvé.
-.TP
-\-\-remote\-wait
-Comme \-\-remote, mais Vim ne quitte pas tant que le fichier est en cours
-d'édition.
-.TP
-\-\-remote\-wait\-silent
-Comme \-\-remote\-wait, mais sans émettre d'avertissement si aucun serveur n'est
-trouvé.
-.TP
-\-\-serverlist
-Donne la liste des noms de tous les serveurs Vim disponibles.
-.TP
-\-\-servername {nom}
-Utilise {nom} pour le nom de serveur. Ce nom est donné au Vim courant, à moins
-qu'il ne soit utilisé avec un argument \-\-remote. Dans ce cas, il s'agit du nom
-du serveur auquel se connecter.
-.TP
-\-\-socketid {id}
-IHM graphique GTK+ uniquement : utilise le mécanisme GtkPlug pour faire
-fonctionner gvim dans une autre fenêtre.
-.TP
-\-\-version
-Affiche les informations sur la version puis quitte.
-.SH AIDE EN LIGNE
-Taper ":help" dans
-.B Vim
-pour commencer.
-Taper ":help sujet" pour obtenir de l'aide sur un sujet précis.
-Par exemple : ":help ZZ" pour consulter l'aide sur la commande "ZZ".
-Utiliser <Tab> et CTRL\-D pour compléter les sujets (":help
-cmdline\-completion").
-Des marqueurs sont inclus dans l'aide et vous permettent de sauter d'un endroit
-à un autre (comme des liens hypertextes, voir ":help").
-L'ensemble des fichiers de la documentation peut être consulté de cette
-façon, par exemple ":help syntax.txt".
-.SH FICHIERS
-.TP 15
-/usr/local/lib/vim/doc/*.txt
-Les fichiers de la documentation de
-.B Vim.
-Utiliser ":help doc\-file\-list" pour obtenir la liste complète.
-.TP
-/usr/local/lib/vim/doc/tags
-Le fichier des marqueurs utilisé pour trouver les informations dans les
-fichiers de la documentation.
-.TP
-/usr/local/lib/vim/syntax/syntax.vim
-Initialisation de la syntaxe pour l'ensemble du système.
-.TP
-/usr/local/lib/vim/syntax/*.vim
-Fichiers de syntaxe pour différents langages.
-.TP
-/usr/local/lib/vim/vimrc
-Initialisation de
-.B Vim
-pour l'ensemble du système.
-.TP
-~/.vimrc
-Initialisation de
-.B Vim
-de votre compte utilisateur.
-.TP
-/usr/local/lib/vim/gvimrc
-Initialisation de gvim pour l'ensemble du système.
-.TP
-~/.gvimrc
-Initialisation de gvim pour votre compte utilisateur.
-.TP
-/usr/local/lib/vim/optwin.vim
-Script utilisé pour la commande ":options", une manière pratique de consulter
-et de modifier les options.
-.TP
-/usr/local/lib/vim/menu.vim
-Initialisation des menus de gvim pour l'ensemble du système.
-.TP
-/usr/local/lib/vim/bugreport.vim
-Script pour générer un rapport de bogue. Voir ":help bugs".
-.TP
-/usr/local/lib/vim/filetype.vim
-Script pour détecter le type d'un fichier d'après son nom.
-Voir ":help 'filetype'".
-.TP
-/usr/local/lib/vim/scripts.vim
-Script pour détecter le type d'un fichier d'après son contenu.
-Voir ":help 'filetype'".
-.TP
-/usr/local/lib/vim/print/*.ps
-Fichiers utilisés pour l'impression PostScript.
-.PP
-Pour disposer d'informations récentes, consulter le site Internet de VIM :
-.br
-<URL:http://www.vim.org/>
-.SH VOIR AUSSI
-vimtutor(1)
-.SH AUTEUR
-La majeure partie de
-.B Vim
-a été écrite par Bram Moolenaar, avec l'aide de nombreux autres contributeurs.
-Voir ":help credits" dans
-.B Vim.
-.br
-.B Vim
-est basé sur Stevie, réalisé par Tim Thompson,
-Tony Andrews et G.R. (Fred) Walter.
-Toutefois, pratiquement rien du code original ne subsiste.
-.SH BOGUES
-Probablement.
-Voir ":help todo" pour consulter la liste des problèmes connus.
-.PP
-NOTE : Remarquez que bon nombre de points, qui pourraient être considérés comme
-des bugs par certains, sont en fait dus à une reproduction trop fidèle
-du comportement de Vi. Et si vous pensez que d'autres points sont des
-bugs "parce que Vi le fait différemment", vous devriez jeter un oeil
-attentif au fichier vi_diff.txt (ou taper ":help vi_diff.txt" dans Vim).
-Regardez aussi les options 'compatible' et 'coptions'.
-.SH TRADUCTION
-Cette page de manuel a été traduite par Richard Hitier.
-<richard.hitier@dial.oleane.com> 2000-08-07.
-.br
-Cette page de manuel a été mise à jour par David Blanchet.
-<david.blanchet@free.fr> 2006-04-10.
-Mise à jour 2013-05-10, Dominique Pellé <dominique.pelle@gmail.com>
diff --git a/runtime/doc/vim-it.1 b/runtime/doc/vim-it.1
deleted file mode 100755
index 0ab3eff0d2..0000000000
--- a/runtime/doc/vim-it.1
+++ /dev/null
@@ -1,566 +0,0 @@
-.TH VIM 1 "22 febbraio 2002"
-.SH NOME
-vim \- VI Migliorato, un editor di testi per programmatori
-.SH SINTASSI
-.br
-.B vim
-[opzioni] [file ..]
-.br
-.B vim
-[opzioni] \-
-.br
-.B vim
-[opzioni] \-t tag
-.br
-.B vim
-[opzioni] \-q [file_errori]
-.PP
-.br
-.B ex
-.br
-.B view
-.br
-.B gvim
-.B gview
-.B evim
-.B eview
-.br
-.B rvim
-.B rview
-.B rgvim
-.B rgview
-.SH DESCRIZIONE
-.B Vim
-Un editore di testi, compatibile con, e migliore di, Vi.
-Può essere usato per editare qualsiasi file di testo.
-Particolarmente utile per editare programmi.
-.PP
-Ci sono parecchi miglioramenti rispetto a Vi: undo multipli,
-finestre e buffer multipli, evidenziazione sintattica, possibilità
-di modificare la linea di comando, completamento nomi file, help
-in linea, selezione testi in Modo Visual, etc..
-Vedere ":help vi_diff.txt" per un sommario delle differenze fra
-.B Vim
-e Vi.
-.PP
-Mentre usate
-.B Vim
-potete ricevere molto aiuto dal sistema di help online, col comando ":help".
-Vedere qui sotto la sezione AIUTO ONLINE.
-.PP
-Quasi sempre
-.B Vim
-viene invocato, per modificare un file, col comando
-.PP
- vim nome_file
-.PP
-Più in generale
-.B Vim
-viene invocato con:
-.PP
- vim [opzioni] [lista_file]
-.PP
-Se lista_file non è presente, l'editor inizia aprendo un buffer vuoto.
-Altrimenti, una e una sola delle quattro maniere indicate qui sotto può
-essere usata per scegliere uno o più file da modificare.
-.TP 12
-nome_file ..
-Una lista di nomi di file.
-Il primo di questi sarà il file corrente, e verrà letto nel buffer.
-Il cursore sarà posizionato sulla prima linea del buffer.
-Potete arrivare agli altri file col comando ":next".
-Per editare un file il cui nome inizia per "\-" premettete "\-\-" alla
-lista_file.
-.TP
-\-
-Il file da editare è letto dallo "stdin" [di solito, ma non
-necessariamente, il terminale \- NdT]. I comandi sono letti da "stderr",
-che dovrebbe essere un terminale [tty].
-.TP
-\-t {tag}
-Il file da editare e la posizione iniziale del cursore dipendono da "tag",
-una specie di "etichetta" a cui saltare.
-{tag} viene cercata nel file "tags", ed il file ad essa associato diventa
-quello corrente, ed il comando ad essa associato viene eseguito.
-Di solito si usa per programmi C, nel qual caso {tag} potrebbe essere un
-nome di funzione.
-L'effetto è che il file contenente quella funzione diventa il file corrente
-e il cursore è posizionato all'inizio della funzione.
-Vedere ":help tag\-commands".
-.TP
-\-q [file_errori]
-Inizia in Modo QuickFix [correzione veloce].
-Il file [file_errori] è letto e il primo errore è visualizzato.
-Se [file_errori] non è indicato, il suo nome è ottenuto dal valore
-dell'opzione 'errorfile' (che, se non specificata, vale "AztecC.Err"
-per l'Amiga, "errors.err" su altri sistemi).
-Si può saltare all'errore successivo col comando ":cn".
-Vedere ":help quickfix".
-.PP
-.B Vim
-si comporta in modo diverso se invocato con nomi differenti (il programma
-eseguibile "sottostante" può essere sempre lo stesso).
-.TP 10
-vim
-Modo Normal, comportamento normale.
-.TP
-ex
-Inizia in Modo "Ex".
-Si può passare in Modo Normal col comando ":vi".
-Si può invocare il Modo "Ex" anche con l'argomento "\-e".
-.TP
-view
-Inizia in Modo Read-only (Sola Lettura). Non potete modificare i file.
-Si può invocare il Modo Read-only anche con l'argomento "\-R".
-.TP
-gvim gview
-La versione GUI [Graphical User Interface].
-Apre una nuova finestra.
-Si può invocare il Modo GUI anche con l'argomento "\-g".
-.TP
-evim eview
-La versione GUI in Modo Easy (semplificata).
-Apre una nuova finestra.
-Si può invocare il Modo Easy anche con l'argomento "\-y".
-.TP
-rvim rview rgvim rgview
-Come sopra, ma con restrizioni ai comandi. Non si potranno eseguire comandi
-della shell o sospendere
-.B Vim.
-Si può chiedere la stessa cosa anche con l'argomento "\-Z".
-.SH OPZIONI
-Le opzioni possono essere in un ordine qualsiasi, prima o dopo i nomi di
-file. Opzioni che non necessitano un argomento possono essere specificate
-dietro a un solo "\-".
-.TP 12
-+[numero]
-Per il primo file il cursore sarà posizionato sulla linea "numero".
-Se "numero" manca, il cursore sarà posizionato sull'ultima linea del file.
-.TP
-+/{espressione}
-Per il primo file il cursore sarà posizionato alla
-prima occorrenza di {espressione}.
-Vedere ":help search\-pattern" per come specificare l'espressione.
-.TP
-+{comando}
-.TP
-\-c {comando}
-{comando} sarà eseguito dopo che il
-primo file è stato letto.
-{comando} è interpretato come un comando Ex.
-Se il {comando} contiene spazi deve essere incluso fra doppi apici
-(o altro delimitatore, a seconda della shell che si sta usando).
-Esempio: Vim "+set si" main.c
-.br
-Note: Si possono avere fino a 10 comandi "+" o "\-c".
-.TP
-\-S {file}
-I comandi contenuti in {file} sono eseguiti dopo la lettura del primo file.
-Equivalente a \-c "source {file}".
-{file} non può avere un nome che inizia per '\-'.
-Se {file} è omesso si usa "Session.vim" (funziona solo se \-S è l'ultimo
-argomento specificato).
-.TP
-\-\-cmd {comando}
-Come "\-c", ma il comando è eseguito PRIMA
-di eseguire qualsiasi file vimrc.
-Si possono usare fino a 10 di questi comandi, indipendentemente dai comandi
-"\-c".
-.TP
-\-A
-Se
-.B Vim
-è stato compilato con supporto Arabic per editare file con orientamento
-destra-sinistra e tastiera con mappatura Araba, questa opzione inizia
-.B Vim
-in Modo Arabic, cioè impostando 'arabic'.
-Altrimenti viene dato un messaggio di errore e
-.B Vim
-termina in modo anormale.
-.TP
-\-b
-Modo Binary (binario).
-Vengono impostate alcune opzioni che permettono di modificare un file
-binario o un programma eseguibile.
-.TP
-\-C
-Compatibile. Imposta l'opzione 'compatible'.
-In questo modo
-.B Vim
-ha quasi lo stesso comportamento di Vi, anche in presenza di un file
-di configurazione .vimrc [proprio di Vim, vi usa .exrc \- Ndt].
-.TP
-\-d
-Inizia in Modo Diff [differenze].
-Dovrebbero esserci come argomenti due o tre o quattro nomi di file.
-.B Vim
-aprirà tutti i file evidenziando le differenze fra gli stessi.
-Funziona come vimdiff(1).
-.TP
-\-d {dispositivo}
-Apre {dispositivo} per usarlo come terminale.
-Solo per l'Amiga.
-Esempio:
-"\-d con:20/30/600/150".
-.TP
-\-D
-Debugging. Vim si mette in Modo "debugging" a partire
-dall'esecuzione del primo comando da uno script.
-.TP
-\-e
-Eseguire
-.B Vim
-in Modo Ex, come se il programma eseguito sia "ex".
-.TP
-\-E
-Eseguire
-.B Vim
-in Modo Ex migliorato, come se il programma eseguito sia "exim".
-.TP
-\-f
-Direttamente [Foreground]. Per la versione GUI,
-.B Vim
-non crea [fork] una nuova finestra, indipendente dalla shell di invocazione.
-Per l'Amiga,
-.B Vim
-non è fatto ripartire per aprire una nuova finestra.
-Opzione da usare quando
-.B Vim
-è eseguito da un programma che attende la fine della
-sessione di edit (ad es. mail).
-Sull'Amiga i comandi ":sh" e ":!" non sono disponibili.
-.TP
-\-\-nofork
-Direttamente [Foreground]. Per la versione GUI,
-.B Vim
-non crea [fork] una nuova finestra, indipendente dalla shell di invocazione.
-.TP
-\-F
-Se
-.B Vim
-è stato compilato con supporto FKMAP per editare file con orientamento
-destra-sinistra e tastiera con mappatura Farsi, questa opzione inizia
-.B Vim
-in Modo Farsi, cioè impostando 'fkmap' e 'rightleft'.
-Altrimenti viene dato un messaggio di errore e
-.B Vim
-termina in modo anormale.
-.TP
-\-g
-Se
-.B Vim
-è stato compilato con supporto GUI, questa opzione chiede di usarla.
-Se Vim è stato compilato senza supporto GUI viene dato un messaggio di errore e
-.B Vim
-termina in modo anormale.
-.TP
-\-h
-Un po' di aiuto su opzioni e argomenti che si possono dare invocando Vim.
-Subito dopo
-.B Vim
-esce.
-.TP
-\-H
-Se
-.B Vim
-è stato compilato col supporto RIGHTLEFT per editare file con orientamento
-destra-sinistra e tastiera con mappatura Ebraica, questa opzione inizia
-.B Vim
-in Modo Ebraico, cioè impostando 'hkmap' e 'rightleft'.
-Altrimenti viene dato un messaggio di errore e
-.B Vim
-termina in modo anormale.
-.TP
-\-i {viminfo}
-Se è abilitato l'uso di un file viminfo, questa opzione indica il nome
-del file da usare invece di quello predefinito "~/.viminfo".
-Si può anche evitare l'uso di un file .viminfo, dando come nome "NONE".
-.TP
-\-L
-Equivalente a \-r.
-.TP
-\-l
-Modo Lisp.
-Imposta le opzioni 'lisp' e 'showmatch'.
-.TP
-\-m
-Inibisce modifica file.
-Annulla l'opzione 'write'.
-È ancora possibile modificare un buffer [in memoria \- Ndt], ma non scriverlo.
-.TP
-\-M
-Modifiche non permesse. Le opzioni 'modifiable' e 'write' sono annullate,
-in modo da impedire sia modifiche che riscritture. Da notare che queste
-opzioni possono essere abilitate in seguito, permettendo così modifiche.
-.TP
-\-N
-Modo "Non-compatibile". Annulla l'opzione 'compatible'.
-Così
-.B Vim
-va un po' meglio, ma è meno compatibile con Vi, anche in assenza di un
-file .vimrc.
-.TP
-\-n
-Inibisce l'uso di un file di swap.
-Il recupero dopo una caduta di macchina diventa impossibile.
-Utile per editare un file su un supporto molto lento (ad es. floppy).
-Il comando ":set uc=0" ha lo stesso effetto.
-Per abilitare il recupero usare ":set uc=200".
-.TP
-\-nb
-Diviene un Editor server per NetBeans. Vedere la documentazione per dettagli.
-.TP
-\-o[N]
-Apri N finestre in orizzontale.
-Se N manca, apri una finestra per ciascun file.
-.TP
-\-O[N]
-Apri N finestre, in verticale.
-Se N manca, apri una finestra per ciascun file.
-.TP
-\-R
-Modo Read-only (Sola Lettura).
-Imposta l'opzione 'readonly'.
-Si può ancora modificare il buffer, ma siete protetti da una riscrittura
-involontaria.
-Se volete davvero riscrivere il file, aggiungete un punto esclamativo
-al comando Ex, come in ":w!".
-L'opzione \-R implica anche l'opzione \-n (vedere sotto).
-L'opzione 'readonly' può essere annullata con ":set noro".
-Vedere ":help 'readonly'".
-.TP
-\-r
-Lista file di swap, assieme a dati utili per un recupero.
-.TP
-\-r {file}
-Modo Recovery (ripristino).
-Il file di swap è usato per recuperare una sessione di edit finita male.
-Il file di swap è un file con lo stesso nome file del file di testo
-editato, col suffisso ".swp".
-Vedere ":help recovery".
-.TP
-\-s
-Modo silenzioso. Solo quando invocato come "Ex" o quando l'opzione
-"\-e" è stata data prima dell'opzione "\-s".
-.TP
-\-s {scriptin}
-Lo script file {scriptin} è letto.
-I caratteri nel file sono interpretati come se immessi da voi.
-Lo stesso si può ottenere col comando ":source! {scriptin}".
-Se la fine del file di input viene raggiunta prima che Vim termini,
-l'ulteriore input viene preso dalla tastiera.
-.TP
-\-T {terminale}
-Dice a
-.B Vim
-quale tipo di terminale state usando.
-Utile solo se il terminale non viene riconosciuto correttamente da Vim.
-Dovrebbe essere un terminale noto a
-.B Vim
-(internamente) o definito nel file termcap o terminfo.
-.TP
-\-u {vimrc}
-Usa i comandi nel file {vimrc} per inizializzazioni.
-Tutte le altre inizializzazioni non sono eseguite.
-Usate questa opzione per editare qualche file di tipo speciale.
-Può anche essere usato per non fare alcuna inizializzazione dando
-come nome "NONE".
-Vedere ":help initialization" da vim per ulteriori dettagli.
-.TP
-\-U {gvimrc}
-Usa i comandi nel file {gvimrc} per inizializzazioni GUI.
-Tutte le altre inizializzazioni GUI non sono eseguite.
-Può anche essere usata per non fare alcuna inizializzazione GUI dando
-come nome "NONE".
-Vedere ":help gui-init" da vim per ulteriori dettagli.
-.TP
-\-V[N]
-Verboso. Vim manda messaggi relativi agli script file che esegue
-e quando legge o scrive un file viminfo. Il numero opzionale N è il valore
-dell'opzione 'verbose'.
-Il valore predefinito è 10.
-.TP
-\-v
-Inizia
-.B Vim
-in Modo Vi, come se il programma eseguibile fosse "vi". Questo ha
-effetto solo quando Vim viene invocato con il nome "ex".
-.TP
-\-w {scriptout}
-Ogni carattere immesso viene registrato nel file {scriptout},
-finché non uscite da
-.B Vim.
-Utile se si vuole creare uno script file da usare con "vim \-s" o
-":source!".
-Se il file {scriptout} esiste, quel che immettete viene aggiunto in fondo.
-.TP
-\-W {scriptout}
-Come \-w, ma uno script file esistente viene sovrascritto.
-.TP
-\-x
-Uso di cifratura nella scrittura dei file. E' necessario immettere
-una chiave di cifratura.
-.TP
-\-X
-Non connetterti al server X. Vim parte più rapidamente,
-ma il titolo della finestra e la clipboard non sono disponibili.
-.TP
-\-y
-Eseguire
-.B Vim
-in Modo Easy (semplificata), come se l'eseguibile invocato
-sia "evim" o "eview".
-Fa sì che
-.B Vim
-si comporti come un editor che usa solo il mouse e i caratteri.
-.TP
-\-Z
-Modo ristretto. Vim si comporta come se invocato con un nome
-che inizia per "r".
-.TP
-\-\-
-Specifica la fine delle opzioni.
-Argomenti specificati dopo questo sono considerati nomi file.
-Si può usare per editare un file il cui nome inizi per '-'.
-.TP
-\-\-echo\-wid
-Solo con GUI GTK: Visualizza Window ID su "stdout".
-.TP
-\-\-help
-Vim dà un messaggio ed esce, come con l'argomento "\-h".
-.TP
-\-\-literal
-Considera i nomi passati come argomenti letterali, senza espandere
-metacaratteri. Non necessario in Unix, la shell espande i metacaratteri.
-.TP
-\-\-noplugin
-Non caricare plugin. Implicito se si specifica \-u NONE.
-.TP
-\-\-remote
-Connettersi a un server Vim e chiedere di editare i file elencati come altri
-argomenti. Se non si trova un server viene dato un messaggio e i file sono
-editati nel Vim corrente.
-.TP
-\-\-remote\-expr {expr}
-Connettersi a un server Vim, valutare ivi {expr} e stampare il risultato
-su "stdout".
-.TP
-\-\-remote\-send {chiavi}
-Connettersi a un server Vim e spedirgli {chiavi}.
-.TP
-\-\-remote\-silent
-Come \-\-remote, ma senza avvisare se non si trova un server.
-.TP
-\-\-remote-wait
-Come \-\-remote, ma Vim non termina finché i file non sono stati editati.
-.TP
-\-\-remote\-wait\-silent
-Come \-\-remote\-wait, ma senza avvisare se non si trova un server.
-.TP
-\-\-serverlist
-Lista i nomi di tutti i server Vim disponibili.
-.TP
-\-\-servername {nome}
-Usa {nome} come nome server. Usato per il Vim corrente, a meno che sia
-usato con l'argomento \-\-remote, nel qual caso indica il server a cui
-connettersi.
-.TP
-\-\-socketid {id}
-Solo con GUI GTK: Usa il meccanismo GtkPlug per eseguire gvim in un'altra
-finestra.
-.TP
-\-\-version
-Stampa la versione di Vim ed esci.
-.SH AIUTO ONLINE
-Battere ":help" in
-.B Vim
-per iniziare.
-Battere ":help argomento" per ricevere aiuto su uno specifico argomento.
-Per esempio: ":help ZZ" per ricevere aiuto sul comando "ZZ".
-Usare <Tab> e CTRL\-D per completare gli argomenti
-(":help cmdline\-completion").
-Ci sono "tag" nei file di help per saltare da un argomento a un altro
-(simili a legami ipertestuali, vedere ":help").
-Tutti i file di documentazione possono essere navigati così. Ad es.:
-":help syntax.txt".
-.SH FILE
-.TP 15
-/usr/local/lib/vim/doc/*.txt
-I file di documentazione di
-.B Vim
-.
-Usate ":help doc\-file\-list" per avere la lista completa.
-.TP
-/usr/local/lib/vim/doc/tags
-Il file di tags usato per trovare informazioni nei file di documentazione.
-.TP
-/usr/local/lib/vim/syntax/syntax.vim
-Inizializzazioni sintattiche a livello di sistema.
-.TP
-/usr/local/lib/vim/syntax/*.vim
-File di colorazione sintattica per vari linguaggi.
-.TP
-/usr/local/lib/vim/vimrc
-Inizializzazioni
-.B Vim
-a livello di sistema.
-.TP
-~/.vimrc
-Le vostre personali inizializzazioni di
-.B Vim
-.
-.TP
-/usr/local/lib/vim/gvimrc
-Inizializzazioni gvim a livello di sistema.
-.TP
-~/.gvimrc
-Le vostre personali inizializzazioni di gvim.
-.TP
-/usr/local/lib/vim/optwin.vim
-Script Vim usato dal comando ":options", un modo semplice
-per visualizzare e impostare opzioni.
-.TP
-/usr/local/lib/vim/menu.vim
-Inizializzazioni del menù gvim a livello di sistema.
-.TP
-/usr/local/lib/vim/bugreport.vim
-Script Vim per generare una segnalazione di errore. Vedere ":help bugs".
-.TP
-/usr/local/lib/vim/filetype.vim
-Script Vim per determinare il tipo di un file a partire dal suo nome.
-Vedere ":help 'filetype'".
-.TP
-/usr/local/lib/vim/scripts.vim
-Script Vim per determinare il tipo di un file a partire dal suo contenuto.
-Vedere ":help 'filetype'".
-.TP
-/usr/local/lib/vim/print/*.ps
-File usati per stampa PostScript.
-.PP
-Per informazioni aggiornate [in inglese \- NdT] vedere la home page di Vim:
-.br
-<URL:http://www.vim.org/>
-.SH VEDERE ANCHE
-vimtutor(1)
-.SH AUTORE
-Buona parte di
-.B Vim
-è stato scritto da Bram Moolenaar, con molto aiuto da altri.
-Vedere ":help credits" in
-.B Vim.
-.br
-.B Vim
-è basato su Stevie, scritto da: Tim Thompson,
-Tony Andrews e G.R. (Fred) Walter.
-In verità, poco o nulla è rimasto del loro codice originale.
-.SH BACHI
-Probabili.
-Vedere ":help todo" per una lista di problemi noti.
-.PP
-Si noti che un certo numero di comportamenti che possono essere considerati
-errori da qualcuno, sono in effetti causati da una riproduzione fin troppo
-fedele del comportamento di Vi.
-Se ritenete che altre cose siano errori "perché Vi si comporta diversamente",
-date prima un'occhiata al file vi_diff.txt
-(o battere :help vi_diff.txt da Vim).
-Date anche un'occhiata alle opzioni 'compatible' e 'cpoptions.
diff --git a/runtime/doc/vim-pl.1 b/runtime/doc/vim-pl.1
deleted file mode 100644
index d506b33c98..0000000000
--- a/runtime/doc/vim-pl.1
+++ /dev/null
@@ -1,558 +0,0 @@
-.TH VIM 1 "2006 kwi 11"
-.SH NAME
-vim \- Vi rozbudowany, edytor tekstu dla programisty
-.SH SYNOPSIS
-.br
-.B vim
-[opcje] [plik ..]
-.br
-.B vim
-[opcje] \-
-.br
-.B vim
-[opcje] \-t znacznik
-.br
-.B vim
-[opcje] \-q [plik_b³êdu]
-.PP
-.br
-.B ex
-.br
-.B view
-.br
-.B gvim
-.B gview
-.B evim
-.B eview
-.br
-.B rvim
-.B rview
-.B rgvim
-.B rgview
-.SH OPIS
-.B Vim
-jest edytorem tekstu kompatybilnym z Vi. Może byĉ
-używany do edycji wszelkiego rodzaju plików tekstowych.
-Użyteczny zw³aszcza przy edycji programów.
-.PP
-Posiada wiele usprawnieñ w porównaniu z Vi: wielopoziomowe cofanie zmian,
-wiele okien i buforów, podĥwietlanie sk³adni, edycja linii poleceñ,
-uzupe³nianie nazw plików, pomoc on-line, wizualna selekcja, itd.
-Zobacz ":help vi_diff.txt" dla podsumowania różnic pomiêdzy
-.B Vimem
-i Vi.
-.PP
-W czasie korzystania z
-.B Vima
-można uzyskaĉ obszernħ pomoc z systemu pomocy on-line dziêki poleceniu ":help".
-Zobacz rozdzia³ POMOC ON-LINE poniżej.
-.PP
-Najczêĥciej
-.B Vim
-jest uruchamiany do edycji pojedynczego pliku poleceniem
-.PP
- vim plik
-.PP
-Bardziej ogólnie
-.B Vim
-jest uruchamiany poprzez:
-.PP
- vim [opcje] [lista plików]
-.PP
-Jeĥli brak listy plików edytor rozpocznie z pustym buforem. W innym
-wypadku istnieje dok³adnie jedna z czterech możliwoĥci by wybraĉ jeden
-lub wiêcej plików do edycji.
-.TP 12
-plik ..
-Lista nazw plików.
-Pierwsza nazwa bêdzie nazwħ bieżħcego pliku, który zostanie wczytany
-do bufora. Kursor zostanie umieszczony w pierwszym wierszu. Do
-kolejnych plików można przejĥĉ dziêki poleceniu ":next". By otworzyĉ
-plik, którego nazwa zaczyna siê od myĥlnika należy listê plików
-poprzedziĉ "\-\-".
-.TP
-\-
-Plik do edycji jest wczytany ze standardowego wejĥcia. Polecenia sħ
-odczytywane ze standardowego wyjĥcia b³êdów, którym powinien byĉ
-terminal (tty).
-.TP
-\-t {znacznik}
-Plik do edycji i poczħtkowa pozycja kursora zależy od "znacznika",
-rodzaju etykiety goto.
-{znacznika} szuka siê w pliku tags, zwiħzany z nim plik staje siê
-plikiem bieżħcym i wykonuje siê powiħzane polecenie.
-Zazwyczaj używa siê tego sposobu dla programów w C, w których wypadku
-{znacznik} może byĉ nazwħ funkcji.
-W efekcie plik zawierajħcy okreĥlonħ funkcjê staje siê plikiem
-bieżħcym a kursor jest umieszczony na poczħtku funkcji.
-Zobacz ":help tag-commands".
-.TP
-\-q [plik_b³êdów]
-Zacznij w trybie quickFix.
-Plik [plik_b³êdów] zostaje zinterpretowany i pokaże siê pierwszy b³ħd.
-Jeĥli brak opcji [plik_b³êdów] nazwa pliku zostanie pobrana z opcji
-\&'errorfile' (domyĥlnie "AztecC.Err" dla Amigi, "errros.err" dla innych
-systemów.
-Do kolejnych b³êdów można przeskoczyĉ dziêki poleceniu ":cn".
-Zobacz ":help quickfix".
-.PP
-W zależnoĥci od wywo³ania
-.B Vim
-zachowuje siê inaczej (program może byĉ ca³y czas tym samym
-plikiem).
-.TP 10
-vim
-"Normalny" sposób, wszystko jest domyĥlne.
-.TP
-ex
-Zacznij w trybie Ex.
-Przejdĵ do trybu Normalnego poleceniem ":vi".
-Można także uruchomiĉ poprzez argument "\-e".
-.TP
-view
-Zacznij w trybie tylko do odczytu. W ten sposób bêdziesz chroniony
-przed zapisywaniem pliku. Można także uruchomiĉ poprzez argument
-"\-R".
-.TP
-gvim gview
-Wersja GUI.
-Uruchamia nowe okno.
-Można także uruchomiĉ poprzez argument "\-g".
-.TP
-evim eview
-Wersja GUI w ³atwym trybie.
-Uruchamia nowe okno.
-Można także uruchomiĉ poprzez argument "\-y".
-.TP
-rvim rview rgvim rgview
-Podobnie jak powyżej, ale z ograniczeniami. Nie bêdzie można uruchomiĉ
-poleceñ pow³oki lub zawiesiĉ
-.B Vima.
-Można także uruchomiĉ poprzez argument "\-Z".
-.SH OPCJE
-Opcje można podaĉ w dowolnej kolejnoĥci, przed lub po nazwach plików.
-Opcje bez argumentów można ³ħczyĉ po pojedynczym myĥlniku.
-.TP 12
-+[num]
-W pierwszym pliku kursor zostanie umieszczony w wierszu "num".
-Jeĥli brak "num" kursor zostanie umieszczony w ostatnim wierszu.
-.TP
-+/{wzór}
-W pierwszym pliku kursor zostanie umieszczony na pierwszym wystħpieniu
-{wzór}.
-Zobacz ":help search-pattern" by dowiedzieĉ siê jakie sħ możliwe
-wzorce wyszukiwania.
-.TP
-+{polecenie}
-.TP
-\-c {polecenie}
-{polecenie} zostanie wykonane po tym jak wczyta siê pierwszy plik.
-{polecenie} jest interpretowane jako polecenie Ex.
-Jeĥli {poleceni} zawiera bia³e znaki musi byĉ umieszczone w podwójnych
-cudzys³owach (zależy to od używanej pow³oki).
-Przyk³ad: Vim "+set si" main.c
-.br
-Uwaga: Można użyĉ do 10 poleceñ "+" lub "\-c".
-.TP
-\-S {plik}
-{plik} zostanie zinterpretowany po wczytaniu pierwszego pliku.
-Jest równoważne \-c "source {plik}".
-{plik} nie może zaczynaĉ siê '\-'.
-Jeĥli nie podano {plik} zostanie użyty "Session.vim" (dzia³a tylko
-wtedy jeĥli \-S jest ostatnim argumentem).
-.TP
-\-\-cmd {polecenie}
-Podobne do "\-c", ale polecenie jest wykonywane tuż przed
-interpretacjħ jakiegokolwiek pliku vimrc.
-Można użyĉ do 10 takich poleceñ, niezależnie od poleceñ od "\-c"
-.TP
-\-A
-Jeĥli
-.B Vim
-zosta³ skompilowany ze wsparciem dla jêzyków arabskich (edycja od
-prawej do lewej i arabska mapa klawiatury) ta opcja uruchamia
-.B Vima
-w trybie arabskim, np. ustawia siê opcja 'arabic'. W innym wypadku
-pojawi siê komunikat b³êdu i
-.B Vim
-zakoñczy dzia³anie.
-.TP
-\-b
-Tryb binarny.
-Ustawi siê kilka opcji, które umożliwiħ edycjê plików binarnych lub
-wykonywalnych.
-.TP
-\-C
-Kompatybilny. Ustawia opcjê 'compatible'.
-W ten sposób
-.B Vim
-bêdzie zachowywa³ siê jak Vi, nawet jeĥli istnieje plik .vimrc.
-.TP
-\-d
-Uruchom w trybie diff.
-Powinno siê użyĉ dwóch, trzech lub czterech nazwy plików jako argumentów.
-.B Vim
-otworzy wszystkie te pliki i pokaże różnice miêdzy nimi.
-Dzia³a jak vimdiff(1).
-.TP
-\-d {urzħdzenie}
-Otwórz {urzħdzenie} by używaĉ jako terminal.
-Tylko na Amidze.
-Przyk³ad:
-"\-d con:20/30/600/150".
-.TP
-\-D
-Debugowanie. Przejdĵ do trybu debugowanie wykonujħc pierwsze polecenie
-ze skryptu.
-.TP
-\-e
-Uruchom
-.B Vima
-w trybie Ex, dzia³a tak samo jakby wywo³ano program jako "ex".
-.TP
-\-E
-Uruchom
-.B Vima
-w ulepszonym trybie Ex, dzia³a tak samo jakby wywo³ano program jako
-"exim".
-.TP
-\-f
-Pierszy plan. Dla wersji GUI.
-.B Vim
-nie nie oddzieli siê od pow³oki w jakiej zosta³ uruchomiony. Na Amidze
-.B Vim
-nie jest uruchomiony ponownie by otworzyĉ nowe okno.
-Opcja powinna byĉ użyta kiedy
-.B Vim
-jest wywo³ywany przez program, który ma zaczekaĉ na koniec sesji (np.
-mail).
-Na Amidze polecenia ":sh" i ":!" nie bêdħ dzia³aĉ.
-.TP
-\-\-nofork
-Pierwszy plan. Dla wersji GUI.
-.B Vim
-nie oddzieli siê od pow³oki w jakiej zosta³ uruchomiony.
-.TP
-\-F
-Jeĥli Vim zosta³ skompilowany ze wsparciem FKMAP dla edycji tekstów od
-prawej do lewej i mapowania klawiatury Farsi, ta opcja uruchomi
-.B Vima
-w trybie Farsi, np. zostawiħ ustawione opcje 'fkmap' i 'rightleft'.
-W innym wypadku pojawi siê komunikat b³êdu i
-.B Vim
-zakoñczy dzia³anie.
-.TP
-\-g
-Jeĥli
-.B Vim
-zosta³ skompilowany ze wsparciem dla GUI ta opcja uruchomi GUI.
-W innym wypadku pojawi siê komunikat b³êdu i
-.B Vim
-zakoñczy dzia³anie.
-.TP
-\-h
-Wyĥwietli krótkħ pomoc o argumentach linii poleceñ i opcjach. Potem
-.B Vim
-zakoñczy dzia³anie.
-.TP
-\-H
-Jeĥli
-.B Vim
-zosta³ skompilowany ze wsparciem RIGHTLEFT dla edycji od prawej do
-lewej oraz ma mapowanie klawiatury dla hebrajskiego, ta opcja uruchomi
-.B Vima
-w trybie hebrajskim, np. ustawi opcje 'hkmap' i 'rightleft'.
-W innym wypadku pojawi siê komunikat b³êdu i
-.B Vim
-zakoñczy dzia³anie.
-.TP
-\-i {viminfo}
-Kiedy
-.B Vim
-używa pliku viminfo ta opcja wskaże jakiego pliku użyĉ zamiast
-domyĥlnego "~/.viminfo".
-Można też ominħĉ użycie pliku .viminfo przez podanie nazwy "NONE".
-.TP
-\-L
-To samo co \-r.
-.TP
-\-l
-Tryb Lisp.
-Ustawia opcje 'lisp' i 'showmatch'.
-.TP
-\-m
-Zmiana pliku jest niemożliwa.
-Przestawia opcjê 'write'.
-Można zmieniaĉ zawartoĥĉ bufora, ale zapisanie pliku nie jest
-możliwe.
-.TP
-\-M
-Opcje 'modifiable' i 'write' zostanħ wy³ħczone, tak wiêc zmiany
-w pliku oraz ich zapisanie nie sħ możliwe. Wartoĥĉ tych opcji można
-zmieniĉ.
-.TP
-\-N
-Tryb niekompatybilny. Przestawia opcjê 'compatible'. Dziêki temu
-.B Vim
-bêdzie zachowywa³ siê odrobinê lepiej, ale mniej zgodnie z Vi nawet
-jeĥli nie istnieje plik .vimrc.
-.TP
-\-n
-Nie powstanie plik wymiany. Odzyskanie pliku po wypadku nie bêdzie
-możliwe.
-Wygodne jeĥli instnieje potrzeba edycji na bardzo wolnym medium (np.
-dyskietce). Ten cel można osiħgnħĉ także przez ":set uc=0". Można
-odwróciĉ przez ":set uc=200".
-.TP
-\-nb
-Uruchom jako serwer edytora dla NetBeans. Zobacz dokumentacjê by
-dowiedzieĉ siê wiêcej.
-.TP
-\-o[N]
-Otwórz N okien w stosie.
-Kiedy brak N, otwórz jedno okno dla każdego pliku.
-.TP
-\-O[N]
-Otwórz N okien obok siebie.
-Kiedy brak N, otwórz jedno okno dla każdego pliku.
-.TP
-\-p[N]
-Otwórz N kart.
-Kiedy brak N, otwórz jednħ kartê dla każdego pliku.
-.TP
-\-R
-Tryb tylko do odczytu.
-Zostanie ustawiona opcja 'readonly'.
-Ca³y czas można zmieniaĉ bufor, ale bêdzie istnia³a blokada by chroniĉ
-przed przypadkowym zapisaniem pliku.
-Jeĥli chcesz zapisaĉ plik dodaj wykrzyknik do polecenia Ex, np. ":w!".
-Opcja \-R implikuje opcjê \-n (zobacz poniżej).
-Opcja 'readonly' może zostaĉ przestawiona poprzez ":set noro".
-Zobacz ":help 'readonly'".
-.TP
-\-r
-Wypisz listê plików wymiany razem z informacjami o nich.
-.TP
-\-r {plik}
-Tryb odzyskiwania danych.
-Plik wymiany zostanie wykorzystany do odzyskania gwa³townie przerwanej sesji.
-Plik wymiany to plik z takħ samħ nazwħ co plik oryginalny z dodanym ".swp".
-Zobacz ":help recovery".
-.TP
-\-s
-Tryb cichy. Rozpoczêty tylko kiedy uruchomiony jako "Ex" lub opcja
-"\-e" zosta³a podana przed opcjħ "\-s".
-.TP
-\-s {skrypt}
-Zostanie wczytany plik {skrypt}.
-Znaki w pliku zostanħ zinterpretowane jakby by³y wpisywane.
-To samo można osiħgnħĉ poprzez polecenie ":source! {skrypt}".
-Jeĥli osiħgniêto koniec pliku zanim edytor zakoñczy³ dzia³anie, dalsze
-znaki odczytywane sħ z klawiatury.
-.TP
-\-T {terminal}
-Przekazuje
-.B Vimowi
-nazwê terminalu jakiego używasz.
-Wymagane tylko wtedy jeĥli nie dzia³a automatycznie.
-Powinien byĉ to terminal znany
-.B Vimowi
-(builtin) lub zdefiniowany w plikach termcap lub terminfo.
-.TP
-\-u {vimrc}
-Użyj poleceñ z pliku {vimrc} w czasie uruchamiania.
-Wszystkie inne możliwe pliki uruchamiania zostanħ pominiête.
-Używaj do edytowania plików specjalnych.
-Można pominħĉ także wszystkie możliwe pliki uruchamiania poprzez
-podanie nazwy "NONE".
-Zobacz ":help initialization" by poznaĉ wiêcej szczegó³ów.
-.TP
-\-U {gvimrc}
-Użyj poleceñ z pliku {gvimrc} w czasie uruchamiania GUI.
-Wszystkie inne możliwe pliki uruchamiania GUI zostanħ pominiête.
-Można pominħĉ także wszystkie możliwe pliki uruchamiania GUI poprzez
-podanie nazwy "NONE".
-Zobacz ":help gui-init" by poznaĉ wiêcej szczegó³ów.
-.TP
-\-V[N]
-Tryb gadatliwy. Wypisz wiadomoĥci o tym jaki pliki sħ wczytywane
-i o informacjach pobieranych i dodawanych do pliku viminfo. Opcjonalny
-argument N jest wartoĥciħ 'verbose'. Domyĥlnie 10.
-.TP
-\-v
-Uruchom
-.B Vima
-w trybie Vi, tak jakby program by³ nazwany "vi". Ma znaczenie
-tylko wtedy jeĥli program nazwany jest "ex".
-.TP
-\-w {plik}
-Wszystkie wciĥniêcia klawiszy, aż do zakoñczenia dzia³ania programu,
-sħ zapisywane w {plik} .
-Użyteczne jeĥli chce siê stworzyĉ skrypt do użycia z "vim \-s" lub
-":source!".
-Jeĥli {plik} istnieje, znaki sħ dopisywane.
-.TP
-\-W {plik}
-Podobnie do \-w, ale istniejħcy plik jest nadpisywany.
-.TP
-\-x
-Użyj szyfrowania podczas zapisywania plików. Zostaniesz poproszony
-o podanie klucza.
-.TP
-\-X
-Nie ³ħcz z serwerem X. Skraca czas uruchamiania w terminalu, ale tytu³
-okna i schowek nie bêdħ wykorzystywane.
-.TP
-\-y
-Uruchom
-.B Vima
-w ³atwym trybie, tak jakby program zosta³ wywo³any "evim" lub "eview".
-.B Vim
-bêdzie zachowywa³ siê bardziej jak edytor kliknij-i-wpisz.
-.TP
-\-Z
-Tryb ograniczony. Zachowuje siê jakby nazwa programu zaczyna³a siê od
-"r".
-.TP
-\-\-
-Oznacza koniec opcji.
-Argumenty po tej opcji bêdħ traktowane jak nazwy plików. Używa siê do
-otwierania plików, których nazwy zaczynajħ siê od '\-'.
-.TP
-\-\-echo\-wid
-Wy³ħcznie GTK GUI: wypisz ID okna na standardowe wyjĥcie.
-.TP
-\-\-help
-Wyĥwietl informacjê o pomocy i zakoñczy, to samo co"\-h".
-.TP
-\-\-literal
-Potraktuj nazwy plików dos³ownie i nie rozwiħzuj kwantyfikatorów. Nie
-ma znaczenia na Uniksach gdzie pow³oka rozwiħzuje kwantyfikatory.
-.TP
-\-\-noplugin
-Pomiñ ³adowanie wtyczek. Implikowane przy \-u NONE.
-.TP
-\-\-remote
-Po³ħcz siê z serwerem Vima i edytuj w nim resztê plików podanych jako
-argumenty. Jeĥli nie znaleziono serwera zostanie zg³oszony b³ħd a pliki zostanħ
-otwarte w bieżħcym Vimie.
-.TP
-\-\-remote\-expr {wyrażenie}
-Po³ħcz z serwerem Vima, rozwiħż w nim {wyrażenie} i wypisz rozwiħzanie
-na standardowe wyjĥcie.
-.TP
-\-\-remote\-send {klawisze}
-Po³ħcz z serwerem Vima i wyĥlij do niego {klawisze}.
-.TP
-\-\-remote\-silent
-Tak samo jak \-remote, ale bez ostrzeżenia kiedy nie znaleziono
-serwera.
-.TP
-\-\-remote\-wait
-Tak samo jak \-remote, ale Vim nie zakoñczy dopóki pliki pozostanħ
-otwarte.
-.TP
-\-\-remote\-wait\-silent
-Tak samo jak \-\-remote\-wait, ale bez ostrzeżenie kiedy nie
-znaleziono serwera.
-.TP
-\-\-serverlist
-Wypisz nazwy wszystkich serwerów Vima jakie można znaleĵĉ.
-.TP
-\-\-servername {nazwa}
-Użyj {nazwa} jako nazwy serwera. Wykorzystane dla bieżħcego Vima o ile
-nie po³ħczone z argumentem \-\-remote, wtedy jest to nazwa serwera do
-po³ħczenia.
-.TP
-\-\-socketid {id}
-Wy³ħcznie GTK GUI: Użyj mechanizmu GtkPlug by uruchomiĉ gvima w innym
-oknie.
-.TP
-\-\-version
-Wypisz informacjê o wersji i zakoñcz.
-.SH POMOC ON-LINE
-By rozpoczħĉ wpisz ":help" w
-.B Vimie
-Wpisz ":help temat" by uzyskaĉ pomoc na okreĥlony temat.
-Przyk³ad: ":help ZZ" by uzyskaĉ pomoc na temat polecenia "ZZ".
-Użyj <Tab> i CTRL\-D aby uzupe³niĉ tematy (":help
-cmdline\-completion"). W plikach pomocy istniejħ znaczniki by u³atwiĉ
-skakanie z jednego miejsca do innego (rodzaj linków hipertekstowych,
-zobacz ":help").
-Można w ten sposób zobaczyĉ ca³ħ dokumentacjê, np. ":help syntax.txt".
-.SH PLIKI
-.TP 15
-/usr/local/lib/vim/doc/*.txt
-Dokumentacja
-.B Vima
-Użyj ":help doc\-file\-list" aby uzyskaĉ pe³nħ listê.
-.TP
-/usr/local/lib/vim/doc/tags
-Plik znaczników s³uży do znajdowania informacji w plikach dokumentacji.
-.TP
-/usr/local/lib/vim/syntax/syntax.vim
-Globalne uruchamianie podĥwietlania sk³adni.
-.TP
-/usr/local/lib/vim/syntax/*.vim
-Pliki sk³adni dla różnych jêzyków.
-.TP
-/usr/local/lib/vim/vimrc
-Globalny plik uruchamiania
-.B Vima
-.TP
-~/.vimrc
-Osobiste parametry uruchamiania
-.B Vima
-.TP
-/usr/local/lib/vim/gvimrc
-Globalne uruchamianie gvima.
-.TP
-~/.gvimrc
-Osobiste parametry uruchamiania gvima.
-.TP
-/usr/local/lib/vim/optwin.vim
-Skrypt używany w poleceniu ":options", dobry sposób do przeglħdania
-i ustawiania opcji.
-.TP
-/usr/local/lib/vim/menu.vim
-Globalne uruchamianie menu gvima.
-.TP
-/usr/local/lib/vim/bugreport.vim
-Skrypt s³użħcy do tworzenia raportów o b³êdach. Zobacz ":help bugs".
-.TP
-/usr/local/lib/vim/filetype.vim
-Skrypt do wykrywania typu pliku wed³ug jego nazwy. Zobacz ":help 'filetype'".
-.TP
-/usr/local/lib/vim/scripts.vim
-Skrypt do wykrywania typu pliku wed³ug jego zawartoĥci. Zobacz ":help 'filetype'".
-.TP
-/usr/local/lib/vim/print/*.ps
-Pliku używane do drukowania PostScriptu.
-.PP
-Najĥwieższe wiadomoĥci na stronie
-.B Vima:
-.br
-<URL:http://www.vim.org/>
-.SH ZOBACZ TAKŻE
-vimtutor(1)
-.SH AUTOR
-.B Vim
-zosta³ napisany przez Brama Moolenaara z dużħ pomocħ innych osób.
-Zobacz ":help credits" w
-.B Vimie.
-.br
-.B Vim
-bazuje na Steviem, nad którym pracowali: Tim Thompson, Tony Andrews
-i G.R. (Fred) Walter.
-Ma³o już zosta³o z oryginalnego kodu.
-.SH B£ÊDY
-Prawdopodobne.
-Zobacz ":help todo" by poznaĉ listê znanych problemów.
-.PP
-Pamiêtaj że pewna iloĥĉ problemów, które mogħ byĉ uznawane przez
-niektórych ludzi za b³êdy sħ w rzeczywistoĥci spowodowane wiernoĥciħ
-w odtwarzaniu zachowania Vi.
-Jeĥli sħdzisz, że inne rzeczy sħ b³êdami "ponieważ Vi robi to
-inaczej", powinieneĥ przyjrzeĉ siê bliżej plikowi vi_diff.txt (lub
-wpisaĉ ":help vi_diff.txt" w Vimie).
-Sprawdĵ także opis opcji 'compatible' i 'cpoptions'.
diff --git a/runtime/doc/vim-ru.1 b/runtime/doc/vim-ru.1
deleted file mode 100644
index dfcb3ece98..0000000000
--- a/runtime/doc/vim-ru.1
+++ /dev/null
@@ -1,489 +0,0 @@
-.TH VIM 1 "2002 Feb 22"
-.SH éíñ
-vim \- Vi IMproved (ġÌĠŜÛĊÎÎÙÊ Vi), ÔĊËÓÔÏ×ÙÊ ÒĊÄÁËÔÏÒ ÄÌÑ ÒÏÇÒÁÍÍÉÓÔÏ×
-.SH ëïíáîäîáñ óôòïëá
-.br
-.B vim
-[ËÌÀŜÉ] [ĈÁÊÌ ..]
-.br
-.B vim
-[ËÌÀŜÉ] \-
-.br
-.B vim
-[ËÌÀŜÉ] \-t ÍĊÔËÁ
-.br
-.B vim
-[ËÌÀŜÉ] \-q [ĈÁÊÌ ÏÛÉÂÏË]
-.PP
-.br
-.B ex
-.br
-.B view
-.br
-.B gvim
-.B gview
-.br
-.B rvim
-.B rview
-.B rgvim
-.B rgview
-.SH ïéóáîéċ
-.B Vim
--- ÔĊËÓÔÏ×ÙÊ ÒĊÄÁËÔÏÒ, ÏÂÒÁÔÎÏ-ÓÏ×ÍĊÓÔÉÍÙÊ Ó Vi.
-ïÎ ÍÏÖĊÔ ÂÙÔĜ ÉÓÏÌĜÚÏ×ÁÎ ÄÌÑ ÒÁ×ËÉ ×ÓĊÈ ×ÉÄÏ× ÒÏÓÔÏÇÏ ÔĊËÓÔÁ.
-ïÓÏÂĊÎÎÏ ÏÎ ÈÏÒÏÛ ÄÌÑ ÒÁ×ËÉ ÉÓÈÏÄÎÙÈ ÔĊËÓÔÏ× ÒÏÇÒÁÍÍ.
-.PP
-Ï ÓÒÁ×ÎĊÎÉÀ Ó Vi,
-.B Vim
-ÉÍĊĊÔ ÍÎÏÇÏ ĠÓÏ×ĊÒÛĊÎÓÔ×Ï×ÁÎÉÊ: ÍÎÏÇÏËÒÁÔÎÁÑ ÏÔÍĊÎÁ ÏĊÒÁÉÊ,
-ÍÎÏÖĊÓÔ×ĊÎÎÏÓÔĜ ÏËÏÎ É ÂĠĈĊÒÏ×, ÏÄÓ×ĊÔËÁ ÓÉÎÔÁËÓÉÓÁ, ÒÁ×ËÁ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ,
-Á×ÔÏÄÏÏÌÎĊÎÉĊ ÉͣΠĈÁÊÌÏ×, ×ÓÔÒÏĊÎÎÁÑ ÓÒÁ×ËÁ, ×ÉÚĠÁÌĜÎÏĊ ×ÙÄĊÌĊÎÉĊ É Ô..
-óÍ. ":help vi_diff.txt" ÄÌÑ ÏÌĠŜĊÎÉÑ ÏÌÎÏÇÏ ÓÉÓËÁ ÒÁÚÌÉŜÉÊ ÍĊÖÄĠ
-.B Vim
-É Vi.
-.PP
-÷Ï ×ÒĊÍÑ ÒÁÂÏÔÙ ×
-.B Vim
-ÍÏÖÎÏ ÏÌĠŜÉÔĜ ÓÒÁ×ËĠ Ó ÏÍÏŬĜÀ ÓÉÓÔĊÍÙ ×ÓÔÒÏĊÎÎÏÊ ÓÒÁ×ËÉ (ËÏÍÁÎÄÁ ":help").
-óÍ. ÒÁÚÄĊÌ "÷óôòïċîîáñ óòá÷ëá" ÎÉÖĊ Ï ÔĊËÓÔĠ.
-.PP
-ŝÁŬĊ ×ÓĊÇÏ
-.B Vim
-ÚÁĠÓËÁÀÔ ÄÌÑ ÒÁ×ËÉ ÏÄÎÏÇÏ ĈÁÊÌÁ ÒÉ ÏÍÏŬÉ ËÏÍÁÎÄÙ
-.PP
- vim ĈÁÊÌ
-.PP
-÷ ÏÂŬĊÍ ×ÉÄĊ ËÏÍÁÎÄÁ ÚÁĠÓËÁ
-.B Vim
-×ÙÇÌÑÄÉÔ ÔÁË:
-.PP
- vim [ËÌÀŜÉ] [ÓÉÓÏË ĈÁÊÌÏ×]
-.PP
-ċÓÌÉ ÓÉÓÏË ĈÁÊÌÏ× ÏÔÓĠÔÓÔ×ĠĊÔ, ÒĊÄÁËÔÏÒ ÎÁŜÎ£Ô ÒÁÂÏÔĠ Ó ĠÓÔÙÍ ÂĠĈĊÒÏÍ.
-÷ ÒÏÔÉ×ÎÏÍ ÓÌĠŜÁĊ ÉÍÑ ĈÁÊÌÁ ÄÏÌÖÎÏ ÂÙÔĜ ĠËÁÚÁÎÏ ÏÄÎÉÍ ÉÚ ÓÌĊÄĠÀŬÉÈ ŜĊÔÙÒ£È ÓÏÓÏÂÏ×:
-.TP 12
-ĈÁÊÌ ..
-óÉÓÏË ÉͣΠĈÁÊÌÏ×.
-ĊÒ×ÙÊ ĈÁÊÌ ÂĠÄĊÔ ÏÂßÑ×ÌĊÎ ÁËÔÉ×ÎÙÍ É ÚÁÇÒĠÖĊÎ × ÂĠĈĊÒ. ëĠÒÓÏÒ ÂĠÄĊÔ ÏÍĊŬ£Î
-× ĊÒ×ÏÊ ÓÔÒÏËĊ ÂĠĈĊÒÁ. äÏÓÔĠ Ë ÄÒĠÇÉÍ ĈÁÊÌÁÍ ÍÏÖĊÔ ÂÙÔĜ ÏÓĠŬĊÓÔ×̣ΠÒÉ
-ÏÍÏŬÉ ËÏÍÁÎÄÙ ":next". ŝÔÏÂÙ ÒÁ×ÉÔĜ ĈÁÊÌ, ÉÍÑ ËÏÔÏÒÏÇÏ ÎÁŜÉÎÁĊÔÓÑ Ó ÓÉÍ×ÏÌÁ
-"ÄĊĈÉÓ" (-), ĊÒĊÄ ÓÉÓËÏÍ ĈÁÊÌÏ× ÎĊÏÂÈÏÄÉÍÏ ÏÓÔÁ×ÉÔĜ "--".
-.TP
-\-
-ĉÁÊÌ ÂĠÄĊÔ ÒÏŜÉÔÁÎ ÉÚ ÏÔÏËÁ ÓÔÁÎÄÁÒÔÎÏÇÏ ××ÏÄÁ. ëÏÍÁÎÄÙ ÂĠÄĠÔ ÓŜÉÔÙ×ÁÔĜÓÑ
-ÉÚ ÓÔÁÎÄÁÒÔÎÏÇÏ ÏÔÏËÁ ÄÉÁÇÎÏÓÔÉËÉ (stderr), ËÏÔÏÒÙÊ ÄÏÌÖĊÎ ÂÙÔĜ
-ÔĊÒÍÉÎÁÌÏÍ.
-.TP
-\-t {ÍĊÔËÁ}
-éÍÑ ĈÁÊÌÁ É ÎÁŜÁÌĜÎÁÑ ÏÚÉÉÑ ËĠÒÓÏÒÁ ÚÁ×ÉÓÑÔ ÏÔ "ÍĊÔËÉ", ÏÈÏÖĊÊ ÎÁ ÍĊÔËĠ goto.
-{ÍĊÔËÁ} ÉŬĊÔÓÑ × ĈÁÊÌĊ ÍĊÔÏË, ÓÏÏÔ×ĊÔÓÔ×ĠÀŬÉÊ ĈÁÊÌ ÓÔÁÎÏ×ÉÔÓÑ ÁËÔÉ×ÎÙÍ, Á
-ÓÏÏÔ×ĊÔÓÔ×ĠÀŬÁÑ ËÏÍÁÎÄÁ ÉÓÏÌÎÑĊÔÓÑ.
-ŝÁŬĊ ×ÓĊÇÏ ÉÓÏÌĜÚĠĊÔÓÑ × ÒÏÇÒÁÍÍÁÈ ÎÁ ÑÚÙËĊ óÉ, ÇÄĊ {ÍĊÔËÁ} ÍÏÖĊÔ ÂÙÔĜ ÉÍĊÎĊÍ
-ĈĠÎËÉÉ.
-ĉÁÊÌ, ÓÏÄĊÒÖÁŬÉÊ ĈĠÎËÉÀ, ÓÔÁÎÏ×ÉÔÓÑ ÁËÔÉ×ÎÙÍ, Á ËĠÒÓÏÒ ÏÍĊŬÁĊÔÓÑ × ÎÁŜÁÌÏ ĈĠÎËÉÉ.
-óÍ. ":help tag-commands".
-.TP
-\-q [ĈÁÊÌ ÏÛÉÂÏË]
-îÁŜÁÔĜ ÒÁÂÏÔĠ × ÒĊÖÉÍĊ ÂÙÓÔÒÏÇÏ ÉÓÒÁ×ÌĊÎÉÑ.
-ÒÉ ÜÔÏÍ ÓŜÉÔÙ×ÁĊÔÓÑ [ĈÁÊÌ ÏÛÉÂÏË] É ĊÒ×ÁÑ ÏÛÉÂËÁ ×Ù×ÏÄÉÔÓÑ ÎÁ ÜËÒÁÎ.
-ċÓÌÉ [ĈÁÊÌ ÏÛÉÂÏË] ÎĊ ĠËÁÚÁÎ, ÉÍÑ ĈÁÊÌÁ ÂĊÒ£ÔÓÑ ÉÚ ÚÎÁŜĊÎÉÑ ÏÉÉ 'errorfile'
-(Ï ĠÍÏÌŜÁÎÉÀ: "AztecC.Err" ÄÌÑ Amiga, "errors.err" ÄÌÑ ÄÒĠÇÉÈ ÓÉÓÔĊÍ).
-ë ÓÌĊÄĠÀŬÉÍ ÏÛÉÂËÁÍ ÍÏÖÎÏ ĊÒĊÊÔÉ Ï ËÏÍÁÎÄĊ ":cn".
-óÍ. ":help quickfix".
-.PP
-.B Vim
-×ĊÄ£Ô ÓĊÂÑ Ï-ÒÁÚÎÏÍĠ × ÚÁ×ÉÓÉÍÏÓÔÉ ÏÔ ÉÍĊÎÉ ËÏÍÁÎÄÙ (ÉÓÏÌÎÑĊÍÙÊ ĈÁÊÌ ÍÏÖĊÔ
-ÂÙÔĜ ÏÄÎÉÍ É ÔĊÍ ÖĊ).
-.TP 10
-vim
-"îÏÒÍÁÌĜÎÙÊ" ÚÁĠÓË, ×Ó£ Ï ĠÍÏÌŜÁÎÉÀ.
-.TP
-ex
-úÁĠÓË × ÒĊÖÉÍĊ Ex. äÌÑ ĊÒĊÈÏÄÁ × ÎÏÒÍÁÌĜÎÙÊ ÒĊÖÉÍ
-ÎĊÏÂÈÏÄÉÍÏ ×ÙÏÌÎÉÔĜ ËÏÍÁÎÄĠ ":vi". òĊÖÉÍ Ex ×ËÌÀŜÁĊÔ
-ÔÁËÖĊ ËÌÀŜ "\-e".
-.TP
-view
-úÁĠÓË × ÒĊÖÉÍĊ "ÔÏÌĜËÏ ÄÌÑ ŜÔĊÎÉÑ". ÷Ù ÂĠÄĊÔĊ ÚÁŬÉŬĊÎÙ ÏÔ ÓÌĠŜÁÊÎÏÊ ÚÁÉÓÉ
-ĈÁÊÌÁ. ôÏ ÖĊ ÓÁÍÏĊ ÍÏÖÎÏ ÓÄĊÌÁÔĜ ËÌÀŜÏÍ "\-R".
-.TP
-gvim gview
-÷ĊÒÓÉÑ Ó ÇÒÁĈÉŜĊÓËÉÍ ÉÎÔĊÒĈĊÊÓÏÍ. úÁĠÓËÁĊÔÓÑ × ÎÏ×ÏÍ ÏËÎĊ.
-ôÏ ÖĊ ÓÁÍÏĊ ÍÏÖÎÏ ÓÄĊÌÁÔĜ ÒÉ ÚÁĠÓËĊ Ó ËÌÀŜÏÍ "\-g".
-.TP
-rvim rview rgvim rgview
-ëÁË É ÒĊÄÙÄĠŬÉĊ ËÏÍÁÎÄÙ, ÎÏ Ó ÏÇÒÁÎÉŜĊÎÉÑÍÉ. îĊÌĜÚÑ ÚÁĠÓËÁÔĜ ËÏÍÁÎÄÙ ÏÂÏÌÏŜËÉ
-ÉÌÉ ÒÉÏÓÔÁÎÁ×ÌÉ×ÁÔĜ ÒÁÂÏÔĠ
-.B Vim.
-÷ÍĊÓÔÏ ÒÉÓÔÁ×ËÉ "r" ÍÏÖÎÏ ÉÓÏÌĜÚÏ×ÁÔĜ ËÌÀŜ "\-Z".
-.SH ëìàŝé
-ëÌÀŜÉ ÍÏÇĠÔ ÂÙÔĜ ĠËÁÚÁÎÙ × ÌÀÂÏÍ ÏÒÑÄËĊ, ÄÏ ÉÌÉ ÏÓÌĊ ÉÍ£Î
-ĈÁÊÌÏ×. ëÌÀŜÉ ÂĊÚ ÁÒÇĠÍĊÎÔÏ× ÍÏÇĠÔ ÂÙÔĜ ÏÂßĊÄÉÎĊÎÙ ÏÄ ÏÄÎÉÍ
-ÄĊĈÉÓÏÍ.
-.TP 12
-+[ÎÏÍĊÒ]
-÷ ĊÒ×ÏÍ ĈÁÊÌĊ ËĠÒÓÏÒ ÂĠÄĊÔ ÏÍĊŬ£Î ÎÁ ÓÔÒÏËĠ Ó ĠËÁÚÁÎÎÙÍ ÎÏÍĊÒÏÍ.
-ċÓÌÉ "ÎÏÍĊÒ" ÎĊ ĠËÁÚÁÎ, ËĠÒÓÏÒ ÂĠÄĊÔ ÏÍĊŬ£Î ÎÁ ÏÓÌĊÄÎÀÀ ÓÔÒÏËĠ.
-.TP
-+/{ÛÁÂÌÏÎ}
-÷ ĊÒ×ÏÍ ĈÁÊÌĊ ËĠÒÓÏÒ ÂĠÄĊÔ ÏÍĊŬ£Î ÎÁ ÍĊÓÔÏ ĊÒ×ÏÇÏ ÓÏ×ÁÄĊÎÉÑ
-Ó ĠËÁÚÁÎÎÙÍ ÛÁÂÌÏÎÏÍ. óÍ. ":help search-pattern" ÄÌÑ ÏÌĠŜĊÎÉÑ
-ÓÉÓËÁ ÄÏĠÓÔÉÍÙÈ ÛÁÂÌÏÎÏ×.
-.TP
-+{ËÏÍÁÎÄÁ}
-.TP
-\-c {ËÏÍÁÎÄÁ}
-{ËÏÍÁÎÄÁ} ÉÓÏÌÎÑĊÔÓÑ ÏÓÌĊ ÚÁÇÒĠÚËÉ ĊÒ×ÏÇÏ ĈÁÊÌÁ ËÁË ËÏÍÁÎÄÁ Ex.
-ċÓÌÉ {ËÏÍÁÎÄÁ} ÓÏÄĊÒÖÉÔ ÒÏÂĊÌÙ, ÔÏ ÏÎÁ ÄÏÌÖÎÁ ÂÙÔĜ ÚÁËÌÀŜĊÎÁ ×
-Ä×ÏÊÎÙĊ ËÁ×ÙŜËÉ (× ÚÁ×ÉÓÉÍÏÓÔÉ ÏÔ ÉÓÏÌĜÚĠĊÍÏÊ ÏÂÏÌÏŜËÉ).
-ÒÉÍĊÒ: vim "+set si" main.c
-.br
-ÒÉÍĊŜÁÎÉĊ: íÏÖÎÏ ĠËÁÚÙ×ÁÔĜ ÄÏ ÄĊÓÑÔÉ ËÏÍÁÎÄ "+" ÉÌÉ "\-c".
-.TP
-\-\-cmd {ËÏÍÁÎÄÁ}
-ëÁË "\-c", ÎÏ ËÏÍÁÎÄÁ ÉÓÏÌÎÑĊÔÓÑ ĊÒĊÄ ÏÂÒÁÂÏÔËÏÊ ÌÀÂÏÇÏ ĈÁÊÌÁ
-ÎÁÓÔÒÏĊË (vimrc).
-íÏÖÎÏ ĠËÁÚÙ×ÁÔĜ ÄÏ ÄĊÓÑÔÉ ÔÁËÉÈ ËÏÍÁÎÄ, ÎĊÚÁ×ÉÓÉÍÏ ÏÔ ËÏÌÉŜĊÓÔ×Á
-ËÏÍÁÎÄ "\-c".
-.TP
-\-A
-ċÓÌÉ
-.B Vim
-ÂÙÌ ÓÏÂÒÁÎ Ó ÏÄÄĊÒÖËÏÊ ÁÒÁÂÓËÏÇÏ ÑÚÙËÁ ÄÌÑ ÒÁ×ËÉ ĈÁÊÌÏ×,
-ÎÁÂÒÁÎÎÙÈ ÓÒÁ×Á ÎÁÌĊ×Ï, É Ó ÏÄÄĊÒÖËÏÊ ÁÒÁÂÓËÏÊ ËÌÁ×ÉÁÔĠÒÙ,
-ÜÔÏÔ ËÌÀŜ ÚÁĠÓËÁĊÔ
-.B Vim
-× ÁÒÁÂÓËÏÍ ÒĊÖÉÍĊ, Ó ×ËÌÀŜĊÎÎÏÊ ÏÉĊÊ 'arabic'. ÷ ÒÏÔÉ×ÎÏÍ
-ÓÌĠŜÁĊ
-.B Vim
-ÚÁ×ĊÒÛÁĊÔ ÒÁÂÏÔĠ Ó ÏÛÉÂËÏÊ.
-.TP
-\-b
-ä×ÏÉŜÎÙÊ ÒĊÖÉÍ.
-ÒÏÉÚ×ÏÄÉÔÓÑ ÎÁÓÔÒÏÊËÁ ÎĊËÏÔÏÒÙÈ ÏÉÊ, ÄĊÌÁÀŬÉÈ ×ÏÚÍÏÖÎÏÊ ÒÁ×ËĠ
-Ä×ÏÉŜÎÏÇÏ ÉÌÉ ÉÓÏÌÎÑĊÍÏÇÏ ĈÁÊÌÁ.
-.TP
-\-C
-òĊÖÉÍ ÓÏ×ÍĊÓÔÉÍÏÓÔÉ. ÷ËÌÀŜÁĊÔ ÏÉÀ 'compatible'.
-.B Vim
-ÂĠÄĊÔ ÒÁÂÏÔÁÔĜ ÏŜÔÉ ËÁË Vi, ÄÁÖĊ ĊÓÌÉ ÓĠŬĊÓÔ×ĠĊÔ ĈÁÊÌ .vimrc.
-.TP
-\-d
-òĊÖÉÍ ÏÉÓËÁ ÒÁÚÌÉŜÉÊ.
-äÏÌÖÎÏ ÂÙÔĜ ĠËÁÚÁÎÏ Ä×Á ÉÌÉ ÔÒÉ ÉÍĊÎÉ ĈÁÊÌÁ.
-.B Vim
-ÏÔËÒÏĊÔ ×ÓĊ ĈÁÊÌÙ É ÏËÁÖĊÔ ÒÁÚÌÉŜÉÑ ÍĊÖÄĠ ÎÉÍÉ
-(ËÁË vimdiff(1)).
-.TP
-\-d {ĠÓÔÒÏÊÓÔ×Ï}
-ïÔËÒÙÔĜ {ĠÓÔÒÏÊÓÔ×Ï} ÄÌÑ ÉÓÏÌĜÚÏ×ÁÎÉÑ × ËÁŜĊÓÔ×Ċ ÔĊÒÍÉÎÁÌÁ (ÔÏÌĜËÏ ÎÁ Amiga).
-ÒÉÍĊÒ:
-"\-d con:20/30/600/150".
-.TP
-\-e
-úÁĠÓÔÉÔĜ
-.B Vim
-× ÒĊÖÉÍĊ Ex, ËÁË ÂĠÄÔÏ ÉÓÏÌÎÑĊÍÙÊ ĈÁÊÌ ÉÍĊĊÔ ÉÍÑ "ex".
-.TP
-\-f
-òĊÖÉÍ ÁËÔÉ×ÎÏÇÏ ÒÉÌÏÖĊÎÉÑ. ÷ĊÒÓÉÑ
-.B Vim
-Ó ÇÒÁĈÉŜĊÓËÉÍ ÉÎÔĊÒĈĊÊÓÏÍ ÎĊ ÂĠÄĊÔ ×ĊÔ×ÉÔĜÓÑ É ÏÔËÌÀŜÁÔĜÓÑ
-ÏÔ ÚÁĠÓÔÉ×ÛĊÊ Ċ£ ÏÂÏÌÏŜËÉ. îÁ ÌÁÔĈÏÒÍĊ Amiga
-.B Vim
-ÎĊ ÂĠÄĊÔ ÓÏÚÄÁ×ÁÔĜ ÎÏ×ÏĊ ÏËÎÏ. üÔÏÔ ËÌÀŜ ÎĠÖÎÏ ÉÓÏÌĜÚÏ×ÁÔĜ,
-ËÏÇÄÁ
-.B Vim
-ÚÁĠÓËÁĊÔÓÑ ÒÏÇÒÁÍÍÏÊ, ËÏÔÏÒÁÑ ÄÏÌÖÎÁ ÖÄÁÔĜ ÚÁ×ĊÒÛĊÎÉÑ
-ÓĊÁÎÓÁ ÒÁ×ËÉ (ÎÁÒÉÍĊÒ, ÒÏÇÒÁÍÍÁ ÄÌÑ ÒÁÂÏÔÙ Ó ÜÌĊËÔÒÏÎÎÏÊ ÏŜÔÏÊ).
-îÁ ÌÁÔĈÏÒÍĊ Amiga ËÏÍÁÎÄÙ ":sh" É ":!" ÎĊ ÂĠÄĠÔ ÒÁÂÏÔÁÔĜ.
-.TP
-\-\-nofork
-òĊÖÉÍ ÁËÔÉ×ÎÏÇÏ ÒÉÌÏÖĊÎÉÑ. ÷ĊÒÓÉÑ
-.B Vim
-Ó ÇÒÁĈÉŜĊÓËÉÍ ÉÎÔĊÒĈĊÊÓÏÍ ÎĊ ÂĠÄĊÔ ×ĊÔ×ÉÔĜÓÑ É ÏÔËÌÀŜÁÔĜÓÑ
-ÏÔ ÚÁĠÓÔÉ×ÛĊÊ Ċ£ ÏÂÏÌÏŜËÉ.
-.TP
-\-F
-ċÓÌÉ
-.B Vim
-ÂÙÌ ÓÏÂÒÁÎ Ó ÏÄÄĊÒÖËÏÊ FKMAP ÄÌÑ ÒÁ×ËÉ ÔĊËÓÔÁ ÓÒÁ×Á ÎÁÌĊ×Ï
-É ÎÁÓÔÒÏĊË ËÌÁ×ÉÁÔĠÒÙ ÄÌÑ ÑÚÙËÁ ĈÁÒÓÉ, ÜÔÏÔ ËÌÀŜ ÚÁĠÓËÁĊÔ
-.B Vim
-× ÒĊÖÉÍĊ ĈÁÒÓÉ, ÉÎÁŜĊ ÇÏ×ÏÒÑ, Ó ×ËÌÀŜ£ÎÎÙÍÉ ÏÉÑÍÉ
-\&'fkmap' É 'rightleft'.
-÷ ÒÏÔÉ×ÎÏÍ ÓÌĠŜÁĊ
-.B Vim
-ÚÁ×ĊÒÛÁĊÔ ÒÁÂÏÔĠ Ó ÓÏÏÂŬĊÎÉĊÍ Ï ÏÛÉÂËĊ.
-.TP
-\-g
-ċÓÌÉ
-.B Vim
-ÂÙÌ ÓÏÂÒÁÎ Ó ÏÄÄĊÒÖËÏÊ ÇÒÁĈÉŜĊÓËÏÇÏ ÉÎÔĊÒĈĊÊÓÁ, ÜÔÏÔ ËÌÀŜ
-×ËÌÀŜÁĊÔ ÇÒÁĈÉŜĊÓËÉÊ ÉÎÔĊÒĈĊÊÓ. ÷ ÒÏÔÉ×ÎÏÍ ÓÌĠŜÁĊ
-.B Vim
-ÚÁ×ĊÒÛÁĊÔ ÒÁÂÏÔĠ Ó ÓÏÏÂŬĊÎÉĊÍ Ï ÏÛÉÂËĊ.
-.TP
-\-h
-÷Ù×ÏÄÉÔ ËÒÁÔËĠÀ ÉÎĈÏÒÍÁÉÀ Ï ÁÒÇĠÍĊÎÔÁÈ É ËÌÀŜÁÈ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ.
-ÏÓÌĊ ÜÔÏÇÏ
-.B Vim
-ÚÁ×ĊÒÛÁĊÔ ÒÁÂÏÔĠ.
-.TP
-\-H
-ċÓÌÉ
-.B Vim
-ÂÙÌ ÓÏÂÒÁÎ Ó ÏÄÄĊÒÖËÏÊ ÒÁ×ËÉ ÔĊËÓÔÁ ÓÒÁ×Á ÎÁÌĊ×Ï
-É ÎÁÓÔÒÏĊË ËÌÁ×ÉÁÔĠÒÙ ÄÌÑ É×ÒÉÔÁ, ÜÔÏÔ ËÌÀŜ ÚÁĠÓËÁĊÔ
-.B Vim
-× ÒĊÖÉÍĊ É×ÒÉÔÁ, ÉÎÁŜĊ ÇÏ×ÏÒÑ, Ó ×ËÌÀŜ£ÎÎÙÍÉ ÏÉÑÍÉ 'hkmap' É 'rightleft'.
-÷ ÒÏÔÉ×ÎÏÍ ÓÌĠŜÁĊ
-.B Vim
-ÚÁ×ĊÒÛÁĊÔ ÒÁÂÏÔĠ Ó ÓÏÏÂŬĊÎÉĊÍ Ï ÏÛÉÂËĊ.
-.TP
-\-i {viminfo}
-ċÓÌÉ ÉÓÏÌĜÚĠĊÔÓÑ ĈÁÊÌ viminfo, ÔÏ ÜÔÏÔ ËÌÀŜ ÚÁÄÁ£Ô ÉÍÑ ÔÁËÏÇÏ ĈÁÊÌÁ (×ÍĊÓÔÏ
-"~/.viminfo" Ï ĠÍÏÌŜÁÎÉÀ). íÏÖÎÏ ÔÁËÖĊ ÉÚÂĊÖÁÔĜ ÉÓÏÌĜÚÏ×ÁÎÉÑ ĈÁÊÌÁ viminfo
-ĠÔ£Í ĠËÁÚÁÎÉÑ ÉÍĊÎÉ "NONE".
-.TP
-\-L
-ôÏ ÖĊ, ŜÔÏ É \-r.
-.TP
-\-l
-òĊÖÉÍ Lisp. ÷ËÌÀŜÁÀÔÓÑ ÏÉÉ 'lisp' É 'showmatch'.
-.TP
-\-m
-éÚÍĊÎĊÎÉĊ ĈÁÊÌÏ× ÚÁÒĊŬĊÎÏ. ÒÉ ÜÔÏÍ ÏÔËÌÀŜÁĊÔÓÑ ÏÉÑ 'write', ÏÜÔÏÍĠ
-ÚÁÉÓĜ ĈÁÊÌÏ× ÓÔÁÎÏ×ÉÔÓÑ ÎĊ×ÏÚÍÏÖÎÏÊ.
-.TP
-\-N
-òĊÖÉÍ ÎĊÏÌÎÏÊ ÓÏ×ÍĊÓÔÉÍÏÓÔÉ. ïÔËÌÀŜÁĊÔÓÑ 'compatible'.
-.B Vim
-ÂĠÄĊÔ ÒÁÂÏÔÁÔĜ ÌĠŜÛĊ, ÎÏ ÎĊ ÂĠÄĊÔ ÏÌÎÏÓÔĜÀ ÓÏ×ÍĊÓÔÉÍ Ó Vi, ÄÁÖĊ ĊÓÌÉ
-ÏÔÓĠÔÓÔ×ĠĊÔ ĈÁÊÌ ÓĊÎÁÒÉÑ ÎÁÓÔÒÏĊË (.vimrc).
-.TP
-\-n
-îĊ ÉÓÏÌĜÚÏ×ÁÔĜ Ó×Ï-ĈÁÊÌ. ÷ÏÓÓÔÁÎÏ×ÌĊÎÉĊ ÒÉ ÓÂÏĊ × ÒÁÂÏÔĊ ÂĠÄĊÔ ÎĊ×ÏÚÍÏÖÎÏ.
-ġÄÏÂÎÏ ÄÌÑ ÒÁ×ËÉ ĈÁÊÌÁ ÎÁ ÏŜĊÎĜ ÍĊÄÌĊÎÎÏÍ ÎÏÓÉÔĊÌĊ (ÎÁÒÉÍĊÒ, ÇÉÂËÏÍ ÄÉÓËĊ).
-ôÏ ÖĊ ÓÁÍÏĊ ÍÏÖÎÏ ÓÄĊÌÁÔĜ ËÏÍÁÎÄÏÊ ":set uc=0". ïÔÍĊÎÁ -- ":set uc=200".
-.TP
-\-o[N]
-ïÔËÒÙÔĜ N ÏËÏÎ, ÒÁÚÄĊÌ£ÎÎÙÈ Ï ÇÏÒÉÚÏÎÔÁÌÉ. ċÓÌÉ N ÎĊ ĠËÁÚÁÎÏ, ÔÏ ÏÔËÒÙ×ÁĊÔÓÑ
-Ï ÏÄÎÏÍĠ ÏËÎĠ ÎÁ ËÁÖÄÙÊ ĈÁÊÌ.
-.TP
-\-O[N]
-ïÔËÒÙÔĜ N ÏËÏÎ, ÒÁÚÄĊÌ£ÎÎÙÈ Ï ×ĊÒÔÉËÁÌÉ. ċÓÌÉ N ÎĊ ĠËÁÚÁÎÏ, ÔÏ ÏÔËÒÙ×ÁĊÔÓÑ
-Ï ÏÄÎÏÍĠ ÏËÎĠ ÎÁ ËÁÖÄÙÊ ĈÁÊÌ.
-.TP
-\-R
-òĊÖÉÍ "ÔÏÌĜËÏ ÄÌÑ ŜÔĊÎÉÑ". ÷ËÌÀŜÁĊÔÓÑ ÏÉÑ 'readonly'.
-ĉÁÊÌ × ÂĠĈĊÒĊ ÄÏÓÔĠĊÎ ÄÌÑ ÒĊÄÁËÔÉÒÏ×ÁÎÉÑ, ÎÏ ĊÇÏ ËÏÉÀ ÎÁ ÄÉÓËĊ ÎĊÌĜÚÑ
-ÓÌĠŜÁÊÎÏ ĊÒĊÚÁÉÓÁÔĜ. äÌÑ ÓÏÈÒÁÎĊÎÉÑ ĈÁÊÌÁ ÎĊÏÂÈÏÄÉÍÏ ÄÏÂÁ×ÉÔĜ ×ÏÓËÌÉÁÔĊÌĜÎÙÊ
-ÚÎÁË Ë ÓÏÏÔ×ĊÔÓÔ×ĠÀŬĊÊ ËÏÍÁÎÄĊ Ex (ÎÁÒÉÍĊÒ, ":w!").
-ëÌÀŜ "\-R" ÏÄÒÁÚĠÍĊ×ÁĊÔ ÔÁËÖĊ, ŜÔÏ ÉÓÏÌĜÚĠĊÔÓÑ É ËÌÀŜ "\-n" (ÓÍ. ×ÙÛĊ).
-ïÉÑ 'readonly' ÍÏÖĊÔ ÂÙÔĜ ×ÙËÌÀŜĊÎÁ Ï ËÏÍÁÎÄĊ ":set noro".
-óÍ. ":help 'readonly'".
-.TP
-\-r
-÷Ù×ĊÓÔÉ ÓÉÓÏË Ó×Ï-ĈÁÊÌÏ× É ÉÎĈÏÒÍÁÉÀ Ï ÉÈ ÉÓÏÌĜÚÏ×ÁÎÉÉ ÄÌÑ ×ÏÓÓÔÁÎÏ×ÌĊÎÉÑ ÏÓÌĊ ÓÂÏÑ.
-.TP
-\-r {ĈÁÊÌ}
-òĊÖÉÍ ×ÏÓÓÔÁÎÏ×ÌĊÎÉÑ.
-äÌÑ ×ÏÓÓÔÁÎÏ×ÌĊÎÉÑ ÏÓÌĊ ÓÂÏÑ ÂĠÄĊÔ ÉÓÏÌĜÚÏ×ÁÎ Ó×Ï-ĈÁÊÌ.
-ó×Ï-ĈÁÊÌ ÉÍĊĊÔ ÔÏ ÖĊ ÉÍÑ, ŜÔÏ É ÔĊËÓÔÏ×ÙÊ ĈÁÊÌ, ÎÏ Ó ÄÏÂÁ×ÌĊÎÉĊÍ ÒÁÓÛÉÒĊÎÉÑ ".swp".
-óÍ. ":help recovery".
-.TP
-\-s
-ôÉÈÉÊ ÒĊÖÉÍ. ôÏÌĜËÏ ÒÉ ÚÁĠÓËĊ ËÁË "Ex" ÉÌÉ ĊÓÌÉ ĊÒĊÄ "\-s" ĠËÁÚÁÎ ËÌÀŜ "\-e".
-.TP
-\-s {scriptin}
-óŜÉÔÙ×ÁĊÔÓÑ ĈÁÊÌ ÓĊÎÁÒÉÑ {scriptin}. ÒÉ ÜÔÏÍ, ÓÏÄĊÒÖÉÍÏĊ ĈÁÊÌÁ ×ÏÓÒÉÎÉÍÁĊÔÓÑ
-× ×ÉÄĊ ËÏÍÁÎÄ, ËÁË ĊÓÌÉ ÂÙ ÏÎÉ ÂÙÌÉ ÎÁÂÒÁÎÙ ÎÁ ËÏÎÓÏÌÉ.
-ôÏ ÖĊ ÓÁÍÏĊ ÄÏÓÔÉÇÁĊÔÓÑ ËÏÍÁÎÄÏÊ ":source! {scriptin}".
-ċÓÌÉ ËÏÎĊ ĈÁÊÌÁ ÓŜÉÔÙ×ÁĊÔÓÑ ÄÏ ÚÁ×ĊÒÛĊÎÉÑ ÒÁÂÏÔÙ ÒĊÄÁËÔÏÒÁ, ÔÏ × ÄÁÌĜÎĊÊÛĊÍ
-××ÏÄ ÏÓĠŬĊÓÔ×ÌÑĊÔÓÑ Ó ËÌÁ×ÉÁÔĠÒÙ.
-.TP
-\-T {terminal}
-óÏÏÂŬÁĊÔ
-.B Vim
-ÔÉ ÉÓÏÌĜÚĠĊÍÏÇÏ ÔĊÒÍÉÎÁÌÁ. îĊÏÂÈÏÄÉÍÏ ÔÏÌĜËÏ × ÔĊÈ ÓÉÔĠÁÉÑÈ, ËÏÇÄÁ
-Á×ÔÏÍÁÔÉŜĊÓËÏĊ ÏÒĊÄĊÌĊÎÉĊ ÔĊÒÍÉÎÁÌÁ ÎĊ ÒÁÂÏÔÁĊÔ. éÍÑ ÔĊÒÍÉÎÁÌÁ ÄÏÌÖÎÏ ÂÙÔĜ
-ÉÚ×ĊÓÔÎÏ
-.B Vim
-(×ÓÔÒÏĊÎÏ × ÎĊÇÏ) ÉÌÉ ÏÒĊÄĊÌĊÎÏ × ĈÁÊÌÁÈ termcap ÉÌÉ terminfo.
-.TP
-\-u {vimrc}
-éÓÏÌĜÚÏ×ÁÔĜ ËÏÍÁÎÄÙ ÉÚ ĈÁÊÌÁ ÓĊÎÁÒÉÑ {vimrc} ÄÌÑ ÎÁÓÔÒÏÊËÉ.
-÷ÓĊ ÏÓÔÁÌĜÎÙĊ ĈÁÊÌÙ ÎÁÓÔÒÏĊË ÒÏĠÓËÁÀÔÓÑ.
-ġÄÏÂÎÏ ÄÌÑ ÒĊÄÁËÔÉÒÏ×ÁÎÉÑ ÓĊÉÁÌĜÎÙÈ ÔÉÏ× ĈÁÊÌÏ×.
-ŝÔÏÂÙ ÉÚÂĊÖÁÔĜ ÉÓÏÌĜÚÏ×ÁÎÉÑ ÓĊÎÁÒÉĊ× ÎÁÓÔÒÏĊË ×ÏÏÂŬĊ, ÍÏÖÎÏ ÉÓÏÌĜÚÏ×ÁÔĜ
-ÉÍÑ "NONE". óÍ. ":help initialization".
-.TP
-\-U {gvimrc}
-éÓÏÌĜÚÏ×ÁÔĜ ËÏÍÁÎÄÙ ÉÚ ĈÁÊÌÁ ÓĊÎÁÒÉÑ {gvimrc} ÄÌÑ ÎÁÓÔÒÏÊËÉ ÇÒÁĈÉŜĊÓËÏÇÏ
-ÉÎÔĊÒĈĊÊÓÁ.
-÷ÓĊ ÏÓÔÁÌĜÎÙĊ ĈÁÊÌÙ ÎÁÓÔÒÏĊË ÄÌÑ ÇÒÁĈÉŜĊÓËÏÇÏ ÉÎÔĊÒĈĊÊÓÁ ÒÏĠÓËÁÀÔÓÑ.
-ŝÔÏÂÙ ÉÚÂĊÖÁÔĜ ÉÓÏÌĜÚÏ×ÁÎÉÑ ÓĊÎÁÒÉĊ× ÎÁÓÔÒÏĊË ÇÒÁĈÉŜĊÓËÏÇÏ ÉÎÔĊÒĈĊÊÓÁ ×ÏÏÂŬĊ,
-ÍÏÖÎÏ ÉÓÏÌĜÚÏ×ÁÔĜ ÉÍÑ "NONE". óÍ. ":help gui-init".
-.TP
-\-V
-"âÏÌÔÌÉ×ÙÊ" ÒĊÖÉÍ. ÷Ù×ÏÄÉÔĜ ÓÏÏÂŬĊÎÉÑ Ï ÔÏÍ, ËÁËÉĊ ĈÁÊÌÙ ŜÉÔÁÀÔÓÑ, É Ï
-ŜÔĊÎÉÉ-ÚÁÉÓÉ ĈÁÊÌÁ viminfo.
-.TP
-\-v
-úÁĠÓÔÉÔĜ
-.B Vim
-× ÒĊÖÉÍĊ Vi, ËÁË ÂĠÄÔÏ ÉÓÏÌÎÑĊÍÙÊ ĈÁÊÌ ÉÍĊĊÔ ÉÍÑ "vi". éÍĊĊÔ ÓÍÙÓÌ ÔÏÌĜËÏ ĊÓÌÉ
-ÉÓÏÌÎÑĊÍÙÊ ĈÁÊÌ ÉÍĊĊÔ ÉÍÑ "ex".
-.TP
-\-w {scriptout}
-÷ÓĊ ÓÉÍ×ÏÌÙ, ××ĊÄ£ÎÎÙĊ Ó ËÌÁ×ÉÁÔĠÒÙ ×ÌÏÔĜ ÄÏ ÍÏÍĊÎÔÁ ÚÁ×ĊÒÛĊÎÉÑ ÒÁÂÏÔÙ,
-ÚÁÉÓÙ×ÁÀÔÓÑ × ĈÁÊÌ {scriptout}.
-ġÄÏÂÎÏ × ÔÏÍ ÓÌĠŜÁĊ, ËÏÇÄÁ ×Ù ÈÏÔÉÔĊ ÓÏÚÄÁÔĜ ĈÁÊÌ ÓĊÎÁÒÉÑ ÄÌÑ ÏÓÌĊÄĠÀŬĊÇÏ
-ÉÓÏÌĜÚÏ×ÁÎÉÑ Ó "vim \-s" ÉÌÉ ":source!". ċÓÌÉ ĈÁÊÌ {scriptout} ĠÖĊ ÓĠŬĊÓÔ×ĠĊÔ,
-ÔÏ ÎÏ×ÙĊ ÓÉÍ×ÏÌÙ ÂĠÄĠÔ ÄÏÂÁ×ÌÑÀÔÓÑ × ËÏÎĊ ĈÁÊÌÁ.
-.TP
-\-W {scriptout}
-ëÁË "\-w", ÎÏ ĠÖĊ ÓĠŬĊÓÔ×ĠÀŬÉÊ ĈÁÊÌ ÂĠÄĊÔ ĊÒĊÚÁÉÓÁÎ.
-.TP
-\-x
-ûÉĈÒÏ×ÁÔĜ ÚÁÉÓÙ×ÁĊÍÙĊ ĈÁÊÌÙ. âĠÄĊÔ ×ÙÄÁÎÏ ÒÉÇÌÁÛĊÎÉĊ ××ĊÓÔÉ ÁÒÏÌĜ.
-.TP
-\-X
-îĊ ÏÄËÌÀŜÁÔĜÓÑ Ë X-ÓĊÒ×ĊÒĠ. ġÓËÏÒÑĊÔ ÚÁÇÒĠÚËĠ ÎÁ ËÏÎÓÏÌÉ, ÎÏ ÄĊÌÁĊÔ ÎĊ×ÏÚÍÏÖÎÙÍ
-ÉÓÏÌĜÚÏ×ÁÎÉĊ ÚÁÇÏÌÏ×ËÁ ÏËÎÁ É ÂĠĈĊÒÁ ÏÂÍĊÎÁ.
-.TP
-\-Z
-ïÇÒÁÎÉŜĊÎÎÙÊ ÒĊÖÉÍ. òÁÂÏÔÁĊÔ ÔÁË ÖĊ, ËÁË É ÒÏÇÒÁÍÍÙ, ÎÁŜÉÎÁÀŬÉĊÓÑ Ó "r".
-.TP
-\-\-
-ëÏÎĊ ËÌÀŜĊÊ. ÷ÓĊ ÏÓÔÁÌĜÎÙĊ ÁÒÇĠÍĊÎÔÙ ÒÁÓÓÍÁÔÒÉ×ÁÀÔÓÑ ËÁË ÉÍĊÎÁ ĈÁÊÌÏ×.
-íÏÖĊÔ ÂÙÔĜ ÉÓÏÌĜÚÏ×ÁÎÏ ÄÌÑ ÒÁ×ËÉ ĈÁÊÌÏ×, ÉÍĊÎÁ ËÏÔÏÒÙÈ ÎÁŜÉÎÁÀÔÓÑ Ó ÄĊĈÉÓÁ.
-.TP
-\-\-help
-÷Ù×ĊÓÔÉ ËÒÁÔËĠÀ ÓÒÁ×ËĠ É ÚÁ×ĊÒÛÉÔĜ ÒÁÂÏÔĠ. ôÏ ÖĊ, ŜÔÏ É "\-h".
-.TP
-\-\-version
-÷Ù×ĊÓÔÉ ÉÎĈÏÒÍÁÉÀ Ï ×ĊÒÓÉÉ ÒÏÇÒÁÍÍÙ É ÚÁ×ĊÒÛÉÔĜ ÒÁÂÏÔĠ.
-.TP
-\-\-remote
-ÏÄËÌÀŜÉÔĜÓÑ Ë ÓĊÒ×ĊÒĠ Vim É ÚÁÓÔÁ×ÉÔĜ ĊÇÏ ÒÁ×ÉÔĜ ĈÁÊÌÙ, ĠËÁÚÁÎÎÙĊ ×
-ÏÓÌĊÄĠÀŬÉÈ ÁÒÇĠÍĊÎÔÁÈ. ċÓÌÉ ÓĊÒ×ĊÒ ÎĊ ÎÁÊÄĊÎ, ×Ù×ÏÄÉÔÓÑ ÒĊÄĠÒĊÖÄĊÎÉĊ,
-Á ĈÁÊÌÙ ÒÁ×ÑÔÓÑ × ÍĊÓÔÎÏÊ ËÏÉÉ Vim.
-.TP
-\-\-remote\-expr {×ÙÒÁÖĊÎÉĊ}
-ÏÄËÌÀŜÉÔĜÓÑ Ë ÓĊÒ×ĊÒĠ Vim É ×ÙŜÉÓÌÉÔĜ ÎÁ Î£Í ĠËÁÚÁÎÎÏĊ {×ÙÒÁÖĊÎÉĊ}.
-òĊÚĠÌĜÔÁÔ ×ÙŜÉÓÌĊÎÉÑ ÂĠÄĊÔ ×Ù×ĊÄĊÎ × ÏÔÏË ÓÔÁÎÄÁÒÔÎÏÇÏ ×Ù×ÏÄÁ (stdout).
-.TP
-\-\-remote\-send {ËÌÀŜÉ}
-ÏÄËÌÀŜÉÔĜÓÑ Ë ÓĊÒ×ĊÒĠ Vim É ĊÒĊÄÁÔĜ ĊÍĠ ĠËÁÚÁÎÎÙĊ {ËÌÀŜÉ}.
-.TP
-\-\-remote\-silent
-ëÁË "\-\-remote", ÎÏ ÂĊÚ ×Ù×ÏÄÁ ÒĊÄĠÒĊÖÄĊÎÉÑ, ĊÓÌÉ ÓĊÒ×ĊÒ ÎĊ ÎÁÊÄĊÎ.
-.TP
-\-\-remote\-wait
-ëÁË "\-\-remote", ÎÏ Vim ÎĊ ÂĠÄĊÔ ÚÁ×ĊÒÛÁÔĜ ÒÁÂÏÔĠ ÄÏ ÔĊÈ ÏÒ, ÏËÁ ÎĊ ÂĠÄĊÔ
-×ÙÏÌÎĊÎÁ ÒÁ×ËÁ ×ÓĊÈ ĈÁÊÌÏ×.
-.TP
-\-\-remote\-wait\-silent
-ëÁË "\-\-remote\-wait", ÎÏ ÂĊÚ ×Ù×ÏÄÁ ÒĊÄĠÒĊÖÄĊÎÉÑ, ĊÓÌÉ ÓĊÒ×ĊÒ ÎĊ ÎÁÊÄĊÎ.
-.TP
-\-\-serverlist
-÷Ù×ĊÓÔÉ ÓÉÓÏË ×ÓĊÈ ÄÏÓÔĠÎÙÈ ÓĊÒ×ĊÒÏ× Vim.
-.TP
-\-\-servername {ÉÍÑ}
-éÓÏÌĜÚÏ×ÁÔĜ ĠËÁÚÁÎÎÏĊ {ÉÍÑ} × ËÁŜĊÓÔ×Ċ ÉÍĊÎÉ ÓĊÒ×ĊÒÁ. ċÓÌÉ ËÌÀŜ
-"\-\-remote" ÎĊ ĠËÁÚÁÎ, ÔÏ {ÉÍÑ} ÒÉÓ×ÁÉ×ÁĊÔÓÑ ÄÁÎÎÏÊ ËÏÉÉ Vim,
-× ÒÏÔÉ×ÎÏÍ ÓÌĠŜÁĊ ĠËÁÚÙ×ÁĊÔ ÎÁ ÉÍÑ ÓĊÒ×ĊÒÁ, Ë ËÏÔÏÒÏÍĠ ÓÌĊÄĠĊÔ
-ÏÄËÌÀŜÉÔĜÓÑ.
-.TP
-\-\-socketid {id}
-ôÏÌĜËÏ ÄÌÑ ÇÒÁĈÉŜĊÓËÏÇÏ ÉÎÔĊÒĈĊÊÓÁ GTK: ÉÓÏÌĜÚÏ×ÁÔĜ ÍĊÈÁÎÉÚÍ GtkPlug ÄÌÑ
-ÚÁĠÓËÁ gvim × ÏÔÄĊÌĜÎÏÍ ÏËÎĊ.
-.TP
-\-\-echo\-wid
-ôÏÌĜËÏ ÄÌÑ ÇÒÁĈÉŜĊÓËÏÇÏ ÉÎÔĊÒĈĊÊÓÁ GTK: ×Ù×ĊÓÔÉ ÉÄĊÎÔÉĈÉËÁÔÏÒ ÏËÎÁ (Window ID)
-× ÏÔÏË ÓÔÁÎÄÁÒÔÎÏÇÏ ×Ù×ÏÄÁ (stdout).
-.SH ÷óôòïċîîáñ óòá÷ëá
-äÌÑ ÎÁŜÁÌÁ, ÎÁÂĊÒÉÔĊ ËÏÍÁÎÄĠ ":help".
-÷×ĊÄÉÔĊ ":help ÔĊÍÁ", ŜÔÏÂÙ ÏÌĠŜÉÔĜ ÓÒÁ×ËĠ Ï ËÏÎËÒĊÔÎÏÊ ÔĊÍĊ.
-îÁÒÉÍĊÒ, ËÏÍÁÎÄÁ ":help ZZ" ×Ù×ĊÄĊÔ ÉÎĈÏÒÍÁÉÀ Ï ËÏÍÁÎÄĊ "ZZ".
-éÓÏÌĜÚĠÊÔĊ <Tab> É CTRL-D ÄÌÑ Á×ÔÏÍÁÔÉŜĊÓËÏÇÏ ÄÏÏÌÎĊÎÉÑ
-ÎÁÚ×ÁÎÉÊ ÔĊÍ (":help cmdline-completion").
-äÌÑ ÂÙÓÔÒÏÇÏ ĊÒĊÍĊŬĊÎÉÑ Ï ÓÒÁ×ÏŜÎÉËĠ ÉÓÏÌĜÚĠÀÔÓÑ ÍĊÔËÉ (ŜÔÏ-ÔÏ
-×ÒÏÄĊ ÇÉĊÒÔĊËÓÔÏ×ÙÈ ÓÓÙÌÏË, ÓÍ. ":help"). ôÁËÉÍ ÏÂÒÁÚÏÍ ÍÏÖÎÏ
-ÒÏÓÍÁÔÒÉ×ÁÔĜ ×ÓĊ ĈÁÊÌÙ ÓÒÁ×ËÉ, ÎÁÒÉÍĊÒ ":help syntax.txt".
-.SH ĉáêìù
-.TP 15
-/usr/local/lib/vim/doc/*.txt
-ĉÁÊÌÙ ÓÒÁ×ÏŜÎÉËÁ
-.B Vim.
-óÍ. ":help doc-file-list" ÄÌÑ ÏÌĠŜĊÎÉÑ ÏÌÎÏÇÏ ÓÉÓËÁ.
-.TP
-/usr/local/lib/vim/doc/tags
-ĉÁÊÌ ÍĊÔÏË, ÉÓÏÌĜÚĠĊÍÙÊ ÄÌÑ ÏÉÓËÁ ÉÎĈÏÒÍÁÉÉ × ĈÁÊÌÁÈ ÓÒÁ×ËÉ.
-.TP
-/usr/local/lib/vim/syntax/syntax.vim
-óÉÓÔĊÍÎÙĊ ÎÁÓÔÒÏÊËÉ ÓÉÎÔÁËÓÉÓÁ.
-.TP
-/usr/local/lib/vim/syntax/*.vim
-ĉÁÊÌÙ ÓÉÎÔÁËÓÉÓÁ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ×.
-.TP
-/usr/local/lib/vim/vimrc
-óÉÓÔĊÍÎÙĊ ÎÁÓÔÒÏÊËÉ
-.B Vim.
-.TP
-/usr/local/lib/vim/gvimrc
-óÉÓÔĊÍÎÙÊ ÎÁÓÔÒÏÊËÉ ÇÒÁĈÉŜĊÓËÏÇÏ ÉÎÔĊÒĈĊÊÓÁ.
-.TP
-/usr/local/lib/vim/optwin.vim
-óĊÎÁÒÉÊ, ÉÓÏÌĜÚĠĊÍÙÊ ÒÉ ×ÙÏÌÎĊÎÉÉ ËÏÍÁÎÄÙ ":options".
-èÏÒÏÛÉÊ ÓÏÓÏ ÒÏÓÍÁÔÒÉ×ÁÔĜ É ÉÚÍĊÎÑÔĜ ÎÁÓÔÒÏÊËÉ.
-.TP
-/usr/local/lib/vim/menu.vim
-óÉÓÔĊÍÎÙĊ ÎÁÓÔÒÏÊËÉ ÍĊÎÀ ÄÌÑ gvim.
-.TP
-/usr/local/lib/vim/bugreport.vim
-óĊÎÁÒÉÊ ÄÌÑ ÓÏÚÄÁÎÉÑ ÏÔŜ£ÔÁ ÏÂ ÏÂÎÁÒĠÖĊÎÎÙÈ ÇÌÀËÁÈ. óÍ. ":help bugs".
-.TP
-/usr/local/lib/vim/filetype.vim
-óĊÎÁÒÉÊ ÄÌÑ ÏÒĊÄĊÌĊÎÉÑ ÔÉÁ ĈÁÊÌÁ Ï ÉÍĊÎÉ. óÍ. ":help 'filetype'".
-.TP
-/usr/local/lib/vim/scripts.vim
-óĊÎÁÒÉÊ ÄÌÑ ÏÒĊÄĊÌĊÎÉÑ ÔÉÁ ĈÁÊÌÁ Ï ÓÏÄĊÒÖÉÍÏÍĠ. óÍ. ":help 'filetype'".
-.TP
-/usr/local/lib/vim/print/*.ps
-ĉÁÊÌÙ ÄÌÑ ĊŜÁÔÉ PostScript.
-.PP
-âÏÌĊĊ Ó×ĊÖÁÑ ÉÎĈÏÒÍÁÉÑ -- ÎÁ ÓÁÊÔĊ VIM:
-.br
-<URL:http://www.vim.org/>
-.SH óíïôòé ôáëöċ
-vimtutor(1)
-.SH á÷ôïòù
-âÏÌĜÛÁÑ ŜÁÓÔĜ
-.B Vim
-ÓÏÚÄÁÎÁ âÒÁÍÏÍ íÏÏÌĊÎÁÁÒÏÍ (Bram Moolenaar), ËÏÔÏÒÏÍĠ ÏÍÏÇÁĊÔ ÏÇÒÏÍÎÏĊ
-ËÏÌÉŜĊÓÔ×Ï ÌÀÄĊÊ. óÍ. ":help credits" ×
-.B Vim.
-.br
-.B Vim
-ÂÁÚÉÒĠĊÔÓÑ ÎÁ ËÏÄĊ ÒĊÄÁËÔÏÒÁ Stevie, ÎÁÉÓÁÎÎÏÇÏ ôÉÍÏÍ ôÏÍÓÏÎÏÍ (Tim Thompson),
-ôÏÎÉ üÎÄÒÀÓÏÍ (Tony Andrews) É ç. ò. (ĉÒĊÄÏÍ) ġÏÌÔĊÒÏÍ (G.R. (Fred) Walter).
-ïÄÎÁËÏ, × ÎÁÓÔÏÑŬĊĊ ×ÒĊÍÑ × Vim ÏŜÔÉ ÎĊ ÏÓÔÁÌÏÓĜ ÎÉŜĊÇÏ ÏÔ ÉÓÔÏÒÉŜĊÓËÏÇÏ ËÏÄÁ
-ĊÇÏ ÒĊÄÛĊÓÔ×ĊÎÎÉËÁ.
-.br
-òĠÓÓËÁÑ ÌÏËÁÌÉÚÁÉÑ
-.B Vim
-×ÙÏÌÎÑĊÔÓÑ × ÒÁÍËÁÈ ÒÏĊËÔÁ "òĠ÷ÉÍ",
-ÓÍ. <URL:http://sourceforge.net/projects/ruvim/>.
-.SH çìàëé
-óËÏÒĊĊ ×ÓĊÇÏ ĊÓÔĜ.
-óÍ. ":help todo" -- ÓÉÓÏË ÉÚ×ĊÓÔÎÙÈ ÒÏÂÌĊÍ.
-.PP
-úÁÍĊÔÉÍ, ŜÔÏ ÍÎÏÇÉĊ ×ĊŬÉ, ËÏÔÏÒÙĊ ÓŜÉÔÁÀÔÓÑ ÇÌÀËÁÍÉ, ÎÁ ÓÁÍÏÍ ÄĊÌĊ
-Ñ×ÌÑÀÔÓÑ ÒĊÚĠÌĜÔÁÔÏÍ ÓÌÉÛËÏÍ ÏÌÎÏÇÏ ×ÏÓÒÏÉÚ×ĊÄĊÎÉÑ Ï×ĊÄĊÎÉÑ Vi.
-ċÓÌÉ ×Ù ÄĠÍÁĊÔĊ, ŜÔÏ ŜÔÏ-ÔÏ Ñ×ÌÑĊÔÓÑ ÏÛÉÂËÏÊ ÔÏÌĜËÏ ÏÔÏÍĠ, ŜÔÏ
-"Vi ÄĊÌÁĊÔ ÜÔÏ Ï-ÄÒĠÇÏÍĠ", ×ÎÉÍÁÔĊÌĜÎÏ ÒÏŜÉÔÁÊÔĊ ĈÁÊÌ vi_diff.txt
-(ÉÌÉ ÎÁÂĊÒÉÔĊ ":help vi_diff.txt" × Vim) É ÉÓÏÌĜÚĠÊÔĊ ÏÉÉ 'compatible'
-É 'cpoptions'.
diff --git a/runtime/doc/vim.man b/runtime/doc/vim.man
deleted file mode 100644
index 5b9b83cb6c..0000000000
--- a/runtime/doc/vim.man
+++ /dev/null
@@ -1,428 +0,0 @@
-VIM(1) VIM(1)
-
-
-
-NAME
- vim - Vi IMproved, a programmers text editor
-
-SYNOPSIS
- vim [options] [file ..]
- vim [options] -
- vim [options] -t tag
- vim [options] -q [errorfile]
-
- ex
- view
- gvim gview evim eview
- rvim rview rgvim rgview
-
-DESCRIPTION
- Vim is a text editor that is upwards compatible to Vi. It can be used
- to edit all kinds of plain text. It is especially useful for editing
- programs.
-
- There are a lot of enhancements above Vi: multi level undo, multi win-
- dows and buffers, syntax highlighting, command line editing, filename
- completion, on-line help, visual selection, etc.. See ":help
- vi_diff.txt" for a summary of the differences between Vim and Vi.
-
- While running Vim a lot of help can be obtained from the on-line help
- system, with the ":help" command. See the ON-LINE HELP section below.
-
- Most often Vim is started to edit a single file with the command
-
- vim file
-
- More generally Vim is started with:
-
- vim [options] [filelist]
-
- If the filelist is missing, the editor will start with an empty buffer.
- Otherwise exactly one out of the following four may be used to choose
- one or more files to be edited.
-
- file .. A list of filenames. The first one will be the current
- file and read into the buffer. The cursor will be posi-
- tioned on the first line of the buffer. You can get to the
- other files with the ":next" command. To edit a file that
- starts with a dash, precede the filelist with "--".
-
- - The file to edit is read from stdin. Commands are read
- from stderr, which should be a tty.
-
- -t {tag} The file to edit and the initial cursor position depends on
- a "tag", a sort of goto label. {tag} is looked up in the
- tags file, the associated file becomes the current file and
- the associated command is executed. Mostly this is used
- for C programs, in which case {tag} could be a function
- name. The effect is that the file containing that function
- becomes the current file and the cursor is positioned on
- the start of the function. See ":help tag-commands".
-
- -q [errorfile]
- Start in quickFix mode. The file [errorfile] is read and
- the first error is displayed. If [errorfile] is omitted,
- the filename is obtained from the 'errorfile' option
- (defaults to "AztecC.Err" for the Amiga, "errors.err" on
- other systems). Further errors can be jumped to with the
- ":cn" command. See ":help quickfix".
-
- Vim behaves differently, depending on the name of the command (the exe-
- cutable may still be the same file).
-
- vim The "normal" way, everything is default.
-
- ex Start in Ex mode. Go to Normal mode with the ":vi" command.
- Can also be done with the "-e" argument.
-
- view Start in read-only mode. You will be protected from writing
- the files. Can also be done with the "-R" argument.
-
- gvim gview
- The GUI version. Starts a new window. Can also be done with
- the "-g" argument.
-
- evim eview
- The GUI version in easy mode. Starts a new window. Can also
- be done with the "-y" argument.
-
- rvim rview rgvim rgview
- Like the above, but with restrictions. It will not be possi-
- ble to start shell commands, or suspend Vim. Can also be
- done with the "-Z" argument.
-
-OPTIONS
- The options may be given in any order, before or after filenames.
- Options without an argument can be combined after a single dash.
-
- +[num] For the first file the cursor will be positioned on line
- "num". If "num" is missing, the cursor will be positioned
- on the last line.
-
- +/{pat} For the first file the cursor will be positioned on the
- first occurrence of {pat}. See ":help search-pattern" for
- the available search patterns.
-
- +{command}
-
- -c {command}
- {command} will be executed after the first file has been
- read. {command} is interpreted as an Ex command. If the
- {command} contains spaces it must be enclosed in double
- quotes (this depends on the shell that is used). Example:
- Vim "+set si" main.c
- Note: You can use up to 10 "+" or "-c" commands.
-
- -S {file} {file} will be sourced after the first file has been read.
- This is equivalent to -c "source {file}". {file} cannot
- start with '-'. If {file} is omitted "Session.vim" is used
- (only works when -S is the last argument).
-
- --cmd {command}
- Like using "-c", but the command is executed just before
- processing any vimrc file. You can use up to 10 of these
- commands, independently from "-c" commands.
-
- -A If Vim has been compiled with ARABIC support for editing
- right-to-left oriented files and Arabic keyboard mapping,
- this option starts Vim in Arabic mode, i.e. 'arabic' is
- set. Otherwise an error message is given and Vim aborts.
-
- -b Binary mode. A few options will be set that makes it pos-
- sible to edit a binary or executable file.
-
- -C Compatible. Set the 'compatible' option. This will make
- Vim behave mostly like Vi, even though a .vimrc file
- exists.
-
- -d Start in diff mode. There should be two, three or four
- file name arguments. Vim will open all the files and show
- differences between them. Works like vimdiff(1).
-
- -d {device} Open {device} for use as a terminal. Only on the Amiga.
- Example: "-d con:20/30/600/150".
-
- -D Debugging. Go to debugging mode when executing the first
- command from a script.
-
- -e Start Vim in Ex mode, just like the executable was called
- "ex".
-
- -E Start Vim in improved Ex mode, just like the executable was
- called "exim".
-
- -f Foreground. For the GUI version, Vim will not fork and
- detach from the shell it was started in. On the Amiga, Vim
- is not restarted to open a new window. This option should
- be used when Vim is executed by a program that will wait
- for the edit session to finish (e.g. mail). On the Amiga
- the ":sh" and ":!" commands will not work.
-
- --nofork Foreground. For the GUI version, Vim will not fork and
- detach from the shell it was started in.
-
- -F If Vim has been compiled with FKMAP support for editing
- right-to-left oriented files and Farsi keyboard mapping,
- this option starts Vim in Farsi mode, i.e. 'fkmap' and
- 'rightleft' are set. Otherwise an error message is given
- and Vim aborts.
-
- -g If Vim has been compiled with GUI support, this option
- enables the GUI. If no GUI support was compiled in, an
- error message is given and Vim aborts.
-
- -h Give a bit of help about the command line arguments and
- options. After this Vim exits.
-
- -H If Vim has been compiled with RIGHTLEFT support for editing
- right-to-left oriented files and Hebrew keyboard mapping,
- this option starts Vim in Hebrew mode, i.e. 'hkmap' and
- 'rightleft' are set. Otherwise an error message is given
- and Vim aborts.
-
- -i {viminfo}
- When using the viminfo file is enabled, this option sets
- the filename to use, instead of the default "~/.viminfo".
- This can also be used to skip the use of the .viminfo file,
- by giving the name "NONE".
-
- -L Same as -r.
-
- -l Lisp mode. Sets the 'lisp' and 'showmatch' options on.
-
- -m Modifying files is disabled. Resets the 'write' option.
- You can still modify the buffer, but writing a file is not
- possible.
-
- -M Modifications not allowed. The 'modifiable' and 'write'
- options will be unset, so that changes are not allowed and
- files can not be written. Note that these options can be
- set to enable making modifications.
-
- -N No-compatible mode. Reset the 'compatible' option. This
- will make Vim behave a bit better, but less Vi compatible,
- even though a .vimrc file does not exist.
-
- -n No swap file will be used. Recovery after a crash will be
- impossible. Handy if you want to edit a file on a very
- slow medium (e.g. floppy). Can also be done with ":set
- uc=0". Can be undone with ":set uc=200".
-
- -nb Become an editor server for NetBeans. See the docs for
- details.
-
- -o[N] Open N windows stacked. When N is omitted, open one window
- for each file.
-
- -O[N] Open N windows side by side. When N is omitted, open one
- window for each file.
-
- -p[N] Open N tab pages. When N is omitted, open one tab page for
- each file.
-
- -R Read-only mode. The 'readonly' option will be set. You
- can still edit the buffer, but will be prevented from acci-
- dently overwriting a file. If you do want to overwrite a
- file, add an exclamation mark to the Ex command, as in
- ":w!". The -R option also implies the -n option (see
- below). The 'readonly' option can be reset with ":set
- noro". See ":help 'readonly'".
-
- -r List swap files, with information about using them for
- recovery.
-
- -r {file} Recovery mode. The swap file is used to recover a crashed
- editing session. The swap file is a file with the same
- filename as the text file with ".swp" appended. See ":help
- recovery".
-
- -s Silent mode. Only when started as "Ex" or when the "-e"
- option was given before the "-s" option.
-
- -s {scriptin}
- The script file {scriptin} is read. The characters in the
- file are interpreted as if you had typed them. The same
- can be done with the command ":source! {scriptin}". If the
- end of the file is reached before the editor exits, further
- characters are read from the keyboard.
-
- -T {terminal}
- Tells Vim the name of the terminal you are using. Only
- required when the automatic way doesn't work. Should be a
- terminal known to Vim (builtin) or defined in the termcap
- or terminfo file.
-
- -u {vimrc} Use the commands in the file {vimrc} for initializations.
- All the other initializations are skipped. Use this to
- edit a special kind of files. It can also be used to skip
- all initializations by giving the name "NONE". See ":help
- initialization" within vim for more details.
-
- -U {gvimrc} Use the commands in the file {gvimrc} for GUI initializa-
- tions. All the other GUI initializations are skipped. It
- can also be used to skip all GUI initializations by giving
- the name "NONE". See ":help gui-init" within vim for more
- details.
-
- -V[N] Verbose. Give messages about which files are sourced and
- for reading and writing a viminfo file. The optional num-
- ber N is the value for 'verbose'. Default is 10.
-
- -v Start Vim in Vi mode, just like the executable was called
- "vi". This only has effect when the executable is called
- "ex".
-
- -w {scriptout}
- All the characters that you type are recorded in the file
- {scriptout}, until you exit Vim. This is useful if you
- want to create a script file to be used with "vim -s" or
- ":source!". If the {scriptout} file exists, characters are
- appended.
-
- -W {scriptout}
- Like -w, but an existing file is overwritten.
-
- -x Use encryption when writing files. Will prompt for a crypt
- key.
-
- -X Don't connect to the X server. Shortens startup time in a
- terminal, but the window title and clipboard will not be
- used.
-
- -y Start Vim in easy mode, just like the executable was called
- "evim" or "eview". Makes Vim behave like a click-and-type
- editor.
-
- -Z Restricted mode. Works like the executable starts with
- "r".
-
- -- Denotes the end of the options. Arguments after this will
- be handled as a file name. This can be used to edit a
- filename that starts with a '-'.
-
- --echo-wid GTK GUI only: Echo the Window ID on stdout.
-
- --help Give a help message and exit, just like "-h".
-
- --literal Take file name arguments literally, do not expand wild-
- cards. This has no effect on Unix where the shell expands
- wildcards.
-
- --noplugin Skip loading plugins. Implied by -u NONE.
-
- --remote Connect to a Vim server and make it edit the files given in
- the rest of the arguments. If no server is found a warning
- is given and the files are edited in the current Vim.
-
- --remote-expr {expr}
- Connect to a Vim server, evaluate {expr} in it and print
- the result on stdout.
-
- --remote-send {keys}
- Connect to a Vim server and send {keys} to it.
-
- --remote-silent
- As --remote, but without the warning when no server is
- found.
-
- --remote-wait
- As --remote, but Vim does not exit until the files have
- been edited.
-
- --remote-wait-silent
- As --remote-wait, but without the warning when no server is
- found.
-
- --serverlist
- List the names of all Vim servers that can be found.
-
- --servername {name}
- Use {name} as the server name. Used for the current Vim,
- unless used with a --remote argument, then it's the name of
- the server to connect to.
-
- --socketid {id}
- GTK GUI only: Use the GtkPlug mechanism to run gvim in
- another window.
-
- --version Print version information and exit.
-
-ON-LINE HELP
- Type ":help" in Vim to get started. Type ":help subject" to get help
- on a specific subject. For example: ":help ZZ" to get help for the
- "ZZ" command. Use <Tab> and CTRL-D to complete subjects (":help cmd-
- line-completion"). Tags are present to jump from one place to another
- (sort of hypertext links, see ":help"). All documentation files can be
- viewed in this way, for example ":help syntax.txt".
-
-FILES
- /usr/local/lib/vim/doc/*.txt
- The Vim documentation files. Use ":help doc-file-list"
- to get the complete list.
-
- /usr/local/lib/vim/doc/tags
- The tags file used for finding information in the docu-
- mentation files.
-
- /usr/local/lib/vim/syntax/syntax.vim
- System wide syntax initializations.
-
- /usr/local/lib/vim/syntax/*.vim
- Syntax files for various languages.
-
- /usr/local/lib/vim/vimrc
- System wide Vim initializations.
-
- ~/.vimrc Your personal Vim initializations.
-
- /usr/local/lib/vim/gvimrc
- System wide gvim initializations.
-
- ~/.gvimrc Your personal gvim initializations.
-
- /usr/local/lib/vim/optwin.vim
- Script used for the ":options" command, a nice way to
- view and set options.
-
- /usr/local/lib/vim/menu.vim
- System wide menu initializations for gvim.
-
- /usr/local/lib/vim/bugreport.vim
- Script to generate a bug report. See ":help bugs".
-
- /usr/local/lib/vim/filetype.vim
- Script to detect the type of a file by its name. See
- ":help 'filetype'".
-
- /usr/local/lib/vim/scripts.vim
- Script to detect the type of a file by its contents.
- See ":help 'filetype'".
-
- /usr/local/lib/vim/print/*.ps
- Files used for PostScript printing.
-
- For recent info read the VIM home page:
- <URL:http://www.vim.org/>
-
-SEE ALSO
- vimtutor(1)
-
-AUTHOR
- Most of Vim was made by Bram Moolenaar, with a lot of help from others.
- See ":help credits" in Vim.
- Vim is based on Stevie, worked on by: Tim Thompson, Tony Andrews and
- G.R. (Fred) Walter. Although hardly any of the original code remains.
-
-BUGS
- Probably. See ":help todo" for a list of known problems.
-
- Note that a number of things that may be regarded as bugs by some, are
- in fact caused by a too-faithful reproduction of Vi's behaviour. And
- if you think other things are bugs "because Vi does it differently",
- you should take a closer look at the vi_diff.txt file (or type :help
- vi_diff.txt when in Vim). Also have a look at the 'compatible' and
- 'cpoptions' options.
-
-
-
- 2006 Apr 11 VIM(1)
diff --git a/runtime/doc/vim2html.pl b/runtime/doc/vim2html.pl
index 9066b03b16..9066b03b16 100644..100755
--- a/runtime/doc/vim2html.pl
+++ b/runtime/doc/vim2html.pl
diff --git a/runtime/doc/vimdiff-fr.1 b/runtime/doc/vimdiff-fr.1
deleted file mode 100644
index 67a64e381b..0000000000
--- a/runtime/doc/vimdiff-fr.1
+++ /dev/null
@@ -1,54 +0,0 @@
-.TH VIMDIFF 1 "30 mars 2001"
-.SH NOM
-vimdiff \- ouvre deux, trois ou quatre versions d'un fichier dans Vim et
-affiche leurs différences
-.SH SYNOPSIS
-.br
-.B vimdiff
-[options] fichier1 fichier2 [fichier3 [fichier4]]
-.PP
-.B gvimdiff
-.SH DESCRIPTION
-.B Vimdiff
-démarre
-.B Vim
-avec deux (ou trois ou quatre) fichiers.
-Chaque fichier est ouvert dans sa propre fenêtre.
-Les différences entre ces fichiers sont mises en surbrillance.
-C'est un outil très pratique pour visualiser et reporter les
-changements entre deux versions d'un même fichier.
-.PP
-Consulter vim(1) pour des informations sur l'éditeur Vim lui-même.
-.PP
-Si
-.B gvimdiff
-est invoqué, l'IHM graphique est démarrée quand elle est disponible.
-.PP
-L'option 'diff' est activée dans chacune des fenêtres, ce qui provoque la mise
-en surbrillance des différences.
-.br
-Les options 'wrap' et 'scrollbind' sont activées pour donner un aspect
-agréable au texte.
-.br
-L'option 'foldmethod' est fixée à "diff", ce qui replie les lignes consécutives
-identiques. 'foldcolumn' est fixé à 2 pour trouver les replis rapidement et
-les ouvrir ou les fermer facilement.
-.SH ARGUMENTS
-La fenêtre de Vim est partagée verticalement afin d'afficher les lignes
-correspondantes les unes en face des autres, comme si l'argument "\-O" était
-spécifié. Utilisez l'argument "\-o" pour obtenir un partage horizontal à la
-place.
-.PP
-Pour connaître les autres arguments disponibles, consultez vim(1).
-.SH VOIR AUSSI
-vim(1)
-.SH AUTEUR
-La majeure partie de
-.B Vim
-a été écrite par Bram Moolenaar, avec l'aide de nombreux autres contributeurs.
-Voir ":help credits" dans
-.B Vim.
-.SH TRADUCTION
-Cette page de manuel a été traduite par David Blanchet
-<david.blanchet@free.fr> 2005-03-12.
-Mise à jour 2012-05-06, Dominique Pellé <dominique.pelle@gmail.com>
diff --git a/runtime/doc/vimdiff-it.1 b/runtime/doc/vimdiff-it.1
deleted file mode 100755
index 2203877acf..0000000000
--- a/runtime/doc/vimdiff-it.1
+++ /dev/null
@@ -1,48 +0,0 @@
-.TH VIMDIFF 1 "30 marzo 2001"
-.SH NOME
-vimdiff \- modifica due, tre o quattro versioni di un file con Vim,
-visualizzando le differenze
-.SH SINTASSI
-.br
-.B vimdiff
-[opzioni] file1 file2 [file3 [file4]]
-.PP
-.B gvimdiff
-.SH DESCRIZIONE
-.B Vimdiff
-inizia
-.B Vim
-per due (o tre o quattro) file.
-Ogni file ha una sua finestra.
-Le differenze fra file sono evidenziate.
-È una maniera elegante per controllare modifiche e portare modifiche
-verso un'altra versione dello stesso file.
-.PP
-Vedere vim(1) per dettagli su Vim in generale.
-.PP
-Se iniziato con
-.B gvimdiff
-la GUI sarà utilizzata, se disponibile.
-.PP
-In ogni finestra l'opzione 'diff' è impostata, evidenziando così le
-differenze.
-.br
-Le opzioni 'wrap' e 'scrollbind' sono impostate per migliorare la
-visibilità del testo.
-.br
-L'opzione 'foldmethod' è impostata al valore "diff", che mette gruppi di
-linee uguali fra i diversi file in una piegatura. 'foldcolumn' è impostato
-a due per poter facilmente visualizzare le piegature, aprirle e chiuderle.
-.SH OPZIONI
-Lo schermo è diviso verticalmente, come se aveste usato l'opzione "\-O".
-Per dividerlo orizzontalmente, usare l'opzione "\-o".
-.PP
-Per tutte le altre opzioni, vedere vim(1).
-.SH VEDERE ANCHE
-vim(1)
-.SH AUTORE
-Buona parte di
-.B Vim
-è stato scritto da Bram Moolenaar, con molto aiuto da altri.
-Vedere ":help credits" in
-.B Vim.
diff --git a/runtime/doc/vimdiff-pl.1 b/runtime/doc/vimdiff-pl.1
deleted file mode 100644
index 5332f78328..0000000000
--- a/runtime/doc/vimdiff-pl.1
+++ /dev/null
@@ -1,46 +0,0 @@
-.TH VIMDIFF 1 "2001 Mar 30"
-.SH NAZWA
-vimdiff \- edytuj dwie, trzy lub cztery wersje pliku w Vimie i zobacz różnice
-.SH SYNOPSIS
-.br
-.B vimdiff
-[opcje] plik1 plik2 [plik3 [plik4]]
-.PP
-.B gvimdiff
-.SH OPIS
-.B Vimdiff
-uruchomi
-.B Vima
-z dwoma (trzema lub czterema plikami), każdy z nich we w³asnym oknie.
-Różnice miêdzy plikami zostanħ podĥwietlone.
-Jest to dobry sposób by przeanalizowaĉ różnice i przenieĥĉ zmiany z jednej
-wersji pliku do innej.
-.PP
-Zobacz vim(1) by poznaĉ wiêcej szczegó³ów o samym Vimie.
-.PP
-Kiedy uruchomiony jako
-.B gvimdiff
-zostanie uruchomione GUI (jeĥli dostêpne).
-.PP
-W każdym oknie zostanie ustawiona opcja 'diff', która spowoduje
-podĥwietlenie różnic.
-.br
-Opcje 'wrap' i 'scrollbind' zostanħ ustawione by tekst siê
-wygodnie przeglħda³o.
-.br
-Opcja 'foldmethod' zostanie ustawiona na "diff", dziêki czemu
-niezmienione linie zostanħ zwiniête. 'foldcolumn' bêdzie równe 2 aby
-³atwo wyszukiwaĉ, otwieraĉ i zamykaĉ zwiniêcia.
-.SH OPCJE
-Pionowy podzia³ zostanie użyty do wyrównania linii, tak jakby użyto
-opcji "\-O". Aby uzyskaĉ poziomy podzia³ użyj opcji "\-o".
-.PP
-Aby poznaĉ inne opcje zobacz vim(1).
-.SH ZOBACZ TAKŻE
-vim(1)
-.SH AUTOR
-Wiêkszoĥĉ
-.B Vima
-zosta³a napisana przez Brama Moolenaara przy pomocy wielu innych osób.
-Zobacz ":help credits w
-.B Vimie.
diff --git a/runtime/doc/vimdiff-ru.1 b/runtime/doc/vimdiff-ru.1
deleted file mode 100644
index 385536790e..0000000000
--- a/runtime/doc/vimdiff-ru.1
+++ /dev/null
@@ -1,50 +0,0 @@
-.TH VIMDIFF 1 "2001 March 30"
-.SH éíñ
-vimdiff \- ÏÚ×ÏÌÑĊÔ ÒĊÄÁËÔÉÒÏ×ÁÔĜ Ä×Ċ ÉÌÉ ÔÒÉ ×ĊÒÓÉÉ ĈÁÊÌÁ Ó ÏÍÏŬĜÀ Vim
-Ó ÏÔÏÂÒÁÖĊÎÉĊÍ ÒÁÚÌÉŜÉÊ.
-.SH ëïíáîäîáñ óôòïëá
-.br
-.B vimdiff
-[ËÌÀŜÉ] ĈÁÊÌ1 ĈÁÊÌ2 [ĈÁÊÌ3]
-.PP
-.B gvimdiff
-.SH ïéóáîéċ
-ëÏÍÁÎÄÁ
-.B vimdiff
-ÚÁÇÒĠÖÁĊÔ ×
-.B Vim
-Ä×Á (ÉÌÉ ÔÒÉ) ĈÁÊÌÁ. ëÁÖÄÙÊ ĈÁÊÌ ÏÔËÒÙ×ÁĊÔÓÑ × ÓÏÂÓÔ×ĊÎÎÏÍ ÏËÎĊ.
-òÁÚÌÉŜÉÑ ÍĊÖÄĠ ĈÁÊÌÁÍÉ ÏÔÏÂÒÁÖÁÀÔÓÑ Ó ÏÍÏŬĜÀ ÏÄÓ×ĊÔËÉ ÓÉÎÔÁËÓÉÓÁ.
-üÔÁ ËÏÍÁÎÄÁ ÏÚ×ÏÌÑĊÔ ÎÁÇÌÑÄÎÏ ÏÔÏÂÒÁÖÁÔĜ ×ÎĊÓ£ÎÎÙĊ ÉÚÍĊÎĊÎÉÑ É ĊÒĊÎÏÓÉÔĜ
-ÒÁÚÌÉŜÁÀŬÉĊÓÑ ĈÒÁÇÍĊÎÔÙ ÉÚ ÏÄÎÏÊ ×ĊÒÓÉÉ ĈÁÊÌÁ × ÄÒĠÇĠÀ.
-.PP
-ÏÄÒÏÂÎĊĊ Ï Vim ÓÍ. ÎÁ ÓÔÒÁÎÉĊ ÓÒÁ×ÏŜÎÉËÁ vim(1).
-.PP
-ÒÉ ÚÁĠÓËĊ Ó ÏÍÏŬĜÀ ËÏÍÁÎÄÙ
-.B gvimdiff
-ÒĊÄÁËÔÏÒ ÚÁĠÓËÁĊÔÓÑ × ÒĊÖÉÍĊ ÇÒÁĈÉŜĊÓËÏÇÏ ÉÎÔĊÒĈĊÊÓÁ, ĊÓÌÉ ÜÔÏ ×ÏÚÍÏÖÎÏ.
-.PP
-÷ ËÁÖÄÏÍ ÏËÎĊ ×ËÌÀŜÁĊÔÓÑ ÏÉÑ 'diff', ŜÔÏ ÏÚ×ÏÌÑĊÔ ÉÓÏÌĜÚÏ×ÁÔĜ ÏÄÓ×ĊÔËĠ
-ÓÉÎÔÁËÓÉÓÁ ÄÌÑ ÏÔÏÂÒÁÖĊÎÉÑ ÒÁÚÌÉŜÉÊ ÍĊÖÄĠ ĈÁÊÌÁÍÉ.
-.br
-äÌÑ ĠÌĠŜÛĊÎÉÑ ÒÁÂÏÔÙ Ó ĈÁÊÌÁÍÉ × ÒĊÖÉÍĊ ÏÔÏÂÒÁÖĊÎÉÑ ÏÔÌÉŜÉÊ ÔÁËÖĊ ×ËÌÀŜÁÀÔÓÑ
-ÏÉÉ 'wrap' É 'scrollbind'.
-.br
-úÎÁŜĊÎÉĊ ÏÉÉ 'foldmethod' ĠÓÔÁÎÁ×ÌÉ×ÁĊÔÓÑ ÒÁ×ÎÙÍ "diff", ŜÔÏ ÏÚ×ÏÌÑĊÔ
-ÒÑÔÁÔĜ × ÓËÌÁÄËĠ ÏÂÌÁÓÔÉ ÔĊËÓÔÁ, ËÏÔÏÒÙĊ ÎĊ ÏÔÌÉŜÁÀÔÓÑ × ÒÁÚÌÉŜÎÙÈ ×ĊÒÓÉÑÈ ĈÁÊÌÁ.
-úÎÁŜĊÎÉĊ ÏÉÉ 'foldcolumn' ĠÓÔÁÎÁ×ÌÉ×ÁĊÔÓÑ ÒÁ×ÎÙÍ 2, ŜÔÏÂÙ ÂÙÌÏ ÒÏŬĊ
-ÎÁÈÏÄÉÔĜ, ÏÔËÒÙ×ÁÔĜ É ÚÁËÒÙ×ÁÔĜ ÔÁËÉĊ ÓËÌÁÄËÉ.
-.SH ëìàŝé úáġóëá
-äÌÑ ×ÙÒÁ×ÎÉ×ÁÎÉÑ ÓÔÒÏË ÍĊÖÄĠ ÏËÎÁÍÉ ÉÓÏÌĜÚĠĊÔÓÑ ×ĊÒÔÉËÁÌĜÎÏĊ ÒÁÚÄĊÌĊÎÉĊ ÏËÏÎ,
-ËÁË ĊÓÌÉ ÂÙ ÉÓÏÌĜÚÏ×ÁÌÓÑ ËÌÀŜ "\-O". äÌÑ ÔÏÇÏ, ŜÔÏÂÙ ÉÓÏÌĜÚÏ×ÁÔĜ ÒÁÚÄĊÌĊÎÉĊ
-ÏËÏÎ Ï ÇÏÒÉÚÏÎÔÁÌÉ, ÓÌĊÄĠĊÔ ĠËÁÚÁÔĜ × ËÏÍÁÎÄÎÏÊ ÓÔÒÏËĊ ËÌÀŜ "\-o".
-.PP
-ïÓÔÁÌĜÎÙĊ ËÌÀŜÉ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ ÒÁÓÓÍÁÔÒÉ×ÁÀÔÓÑ ÎÁ ÓÔÒÁÎÉĊ ÓÒÁ×ÏŜÎÉËÁ vim(1).
-.SH óíïôòé ôáëöċ
-vim(1)
-.SH á÷ôïòù
-âÏÌĜÛÁÑ ŜÁÓÔĜ
-.B Vim
-ÓÏÚÄÁÎÁ âÒÁÍÏÍ íÏÏÌĊÎÁÁÒÏÍ (Bram Moolenaar), ËÏÔÏÒÏÍĠ ÏÍÏÇÁĊÔ ÏÇÒÏÍÎÏĊ
-ËÏÌÉŜĊÓÔ×Ï ÌÀÄĊÊ. óÍ. ":help credits" ×
-.B Vim.
diff --git a/runtime/doc/vimdiff.man b/runtime/doc/vimdiff.man
deleted file mode 100644
index 913ac13847..0000000000
--- a/runtime/doc/vimdiff.man
+++ /dev/null
@@ -1,46 +0,0 @@
-VIMDIFF(1) VIMDIFF(1)
-
-
-
-NAME
- vimdiff - edit two, three or four versions of a file with Vim and show
- differences
-
-SYNOPSIS
- vimdiff [options] file1 file2 [file3 [file4]]
-
- gvimdiff
-
-DESCRIPTION
- Vimdiff starts Vim on two (or three or four) files. Each file gets its
- own window. The differences between the files are highlighted. This
- is a nice way to inspect changes and to move changes from one version
- to another version of the same file.
-
- See vim(1) for details about Vim itself.
-
- When started as gvimdiff the GUI will be started, if available.
-
- In each window the 'diff' option will be set, which causes the differ-
- ences to be highlighted.
- The 'wrap' and 'scrollbind' options are set to make the text look good.
- The 'foldmethod' option is set to "diff", which puts ranges of lines
- without changes in a fold. 'foldcolumn' is set to two to make it easy
- to spot the folds and open or close them.
-
-OPTIONS
- Vertical splits are used to align the lines, as if the "-O" argument
- was used. To use horizontal splits instead, use the "-o" argument.
-
- For all other arguments see vim(1).
-
-SEE ALSO
- vim(1)
-
-AUTHOR
- Most of Vim was made by Bram Moolenaar, with a lot of help from others.
- See ":help credits" in Vim.
-
-
-
- 2001 March 30 VIMDIFF(1)
diff --git a/runtime/doc/vimtutor-fr.1 b/runtime/doc/vimtutor-fr.1
deleted file mode 100644
index 06e03fbef3..0000000000
--- a/runtime/doc/vimtutor-fr.1
+++ /dev/null
@@ -1,60 +0,0 @@
-.TH VIMTUTOR 1 "2 avril 2001"
-.SH NAME
-vimtutor \- tutoriel Vim
-.SH SYNOPSIS
-.br
-.B vimtutor [\-g] [langue]
-.SH DESCRIPTION
-.B Vimtutor
-lance le tutoriel
-.B Vim
-\.
-Il copie d'abord le fichier du tutoriel, afin que vous puissiez le modifier
-sans altérer le fichier original.
-.PP
-.B Vimtutor
-est utile pour les personnes souhaitant apprendre leurs premières commandes
-.B Vim
-\.
-.PP
-L'argument optionnel \-g lance vimtutor avec gvim plutôt qu'avec vim, si l'IHM
-graphique de vim est disponible, ou le lance avec vim si gvim n'est pas
-disponible.
-.PP
-L'argument optionnel [langue] est le nom d'une langue, spécifiée par son
-symbole à deux lettres, tels que "it" ou "es". Si l'argument [langue] est omis,
-la langue de la région linguistique actuelle sera retenue. Si le tutoriel est
-disponible dans cette langue, il est proposé. Sinon, c'est la version anglaise
-qui est proposée.
-.PP
-.B Vim
-est toujours lancé en mode Compatible Vi.
-.SH FICHIERS
-.TP 15
-/usr/local/lib/vim/tutor/tutor[.langue]
-Les fichiers textes de
-.B Vimtutor
-\.
-.TP 15
-/usr/local/lib/vim/tutor/tutor.vim
-Le script Vim utilisé pour copier les fichiers texte de
-.B Vimtutor
-\.
-.SH AUTEUR
-.B Vimtutor
-a été écrit à l'origine pour Vi par Michael C. Pierce et Robert K. Ware, de la
-Colorado School of Mines, en reprenant des idées émises par Charles Smith, de
-la Colorado State University.
-E-mail : bware@mines.colorado.edu.
-.br
-Il a été modifié pour
-.B Vim
-par Bram Moolenaar.
-Pour connaître le nom des traducteurs, consultez les fichiers textes du
-tutoriel.
-.SH VOIR AUSSI
-vim(1)
-.SH TRADUCTION
-Cette page de manuel a été traduite par David Blanchet
-<david.blanchet@free.fr> 2004-12-27.
-Mise à jour 2012-05-06, Dominique Pellé <dominique.pelle@gmail.com>
diff --git a/runtime/doc/vimtutor-it.1 b/runtime/doc/vimtutor-it.1
deleted file mode 100755
index b5c1e61e01..0000000000
--- a/runtime/doc/vimtutor-it.1
+++ /dev/null
@@ -1,58 +0,0 @@
-.TH VIMTUTOR 1 "2 aprile 2001"
-.SH NOME
-vimtutor \- Un breve corso per imparare Vim
-.SH SINTASSI
-.br
-.B vimtutor [\-g] [lingua]
-.SH DESCRIZIONE
-.B Vimtutor
-inizia il
-.B Vim
-tutor (una breve corso per imparare Vim).
-Per prima cosa viene creata una copia del file di lavoro, che può così essere
-modificato senza alterare il file usato come modello.
-.PP
-Il comando
-.B Vimtutor
-è utile a chi voglia imparare i primi comandi
-.B Vim
-.
-.PP
-L'argomento opzionale \-g inizia vimtutor usando gvim invece che vim, se la
-versione GUI di vim è disponibile. oppure utilizza vim, se gvim non è
-disponibile.
-.PP
-L'arogmento opzionale [lingua] è l'abbreviazione di due lettere del nome
-di una lingua, per esempio "it" oppure "es".
-se L'argomento [lingua] non viene specificato, si utilizza la lingua "locale"
-del computer.
-Se la versione in quella lingua del "tutor" è disponibile, sarà usata.
-Altrimenti sarà usata la versione inglese.
-.PP
-.B Vim
-è sempre iniziato in Modo compatibile con vi.
-.SH FILE
-.TP 15
-/usr/local/lib/vim/tutor/tutor[.language]
-Il/I file di testo per
-.B Vimtutor
-
-.TP 15
-/usr/local/lib/vim/tutor/tutor.vim
-Lo script di Vim usato per copiare il file di testo
-.B Vimtutor
-.
-.SH AUTORE
-The
-.B Vimtutor
-è stato scritto in origine per Vi da Michael C. Pierce e Robert K. Ware,
-Colorado School of Mines, usando idee fornite da Charles Smith,
-Colorado State University.
-E\-mail: bware@mines.colorado.edu.
-.br
-È stato modificato per
-.B Vim
-da Bram Moolenaar.
-Per i nomi dei traduttori, vedere i file usati nelle rispettive lingue.
-.SH VEDERE ANCHE
-vim(1)
diff --git a/runtime/doc/vimtutor-pl.1 b/runtime/doc/vimtutor-pl.1
deleted file mode 100644
index e603ca5b8f..0000000000
--- a/runtime/doc/vimtutor-pl.1
+++ /dev/null
@@ -1,51 +0,0 @@
-.TH VIMTUTOR 1 "2001 Kwi 2"
-.SH NAZWA
-vimtutor \- nauczyciel Vima
-.SH SYNOPSIS
-.br
-.B vimtutor -g [jêzyk]
-.SH OPIS
-.B Vimtutor
-uruchamia nauczyciela
-.B Vima.
-Najpierw kopiuje w³aĥciwy plik, dziêki temu można go zmieniaĉ bez obaw
-utraty treĥci.
-.PP
-.B Vimtutor
-przyda siê ludziom, którzy chcħ siê nauczyĉ pierwszych poleceñ
-.B Vima
-.PP
-Opcjonalny argument \-g uruchamia vimtutor w gvimie a nie w Vimie jeĥli
-graficzna wersja Vima jest dostêpna, jeĥli nie zostanie uruchomiony Vim.
-.PP
-Opcjonalny argument [jêzyk] jest dwu literowym kodem jêzyka, tak jak
-"it" lub "es".
-Jeĥli brak argumentu [jêzyk] zostanie użyty jêzyk bieżħcej
-lokalizacji.
-Jeĥli nauczyciel w tym jêzyku jest dostêpny, zostanie użyty \- w innym
-wypadku zostanie wykorzystana wersja angielska.
-.PP
-.B Vim
-jest uruchamiany zawsze w trybie kompatybilnoĥci z Vi
-.SH PLIKI
-.TP 15
-/usr/local/lib/vim/tutor/tutor[.jêzyk]
-Tekstowe pliki
-.B Vimtutora.
-.TP 15
-/usr/local/lib/vim/tutor/tutor.vim
-Skrypt Vima używany do kopiowania pliku
-.B Vimtutora.
-.SH AUTOR
-.B Vimtutor
-zosta³ poczħtkowo napisany dla Vi przez Michaela C. Pierce'a
-i Roberta K. Ware'a z Colorado School of Mines zainspirowani przez
-Charlesa Smitha z Colorado State University.
-E-mail: bware@mines.colorado.edu
-.br
-Zmodyfikowany na potrzeby
-.B Vima
-przez Brama Moolenaara.
-Nazwiska t³umaczy w plikach.
-.SH ZOBACZ TAKŻE
-vim(1)
diff --git a/runtime/doc/vimtutor-ru.1 b/runtime/doc/vimtutor-ru.1
deleted file mode 100644
index fa3c5d9b08..0000000000
--- a/runtime/doc/vimtutor-ru.1
+++ /dev/null
@@ -1,51 +0,0 @@
-.TH VIMTUTOR 1 "2001 April 2"
-.SH éíñ
-vimtutor \- ĠŜĊÂÎÉË Ï Vim
-.SH ëïíáîäîáñ óôòïëá
-.br
-.B vimtutor [ÑÚÙË]
-.SH ïéóáîéċ
-ëÏÍÁÎÄÁ
-.B vimtutor
-ÚÁĠÓËÁĊÔ ĠŜĊÂÎÉË Ï
-.B Vim.
-ÒÉ ÜÔÏÍ ÓÎÁŜÁÌÁ ÒÏÉÓÈÏÄÉÔ ÓÏÚÄÁÎÉĊ ËÏÉÉ ĈÁÊÌÁ ĠŜĊÂÎÉËÁ,
-ŜÔÏÂÙ ĊÇÏ ÍÏÖÎÏ ÂÙÌÏ ÒĊÄÁËÔÉÒÏ×ÁÔĜ ÂĊÚ ÏÁÓĊÎÉÑ ÏÔĊÒÑÔĜ ÉÓÈÏÄÎÙÊ ĈÁÊÌ.
-.PP
-ÒÏÇÒÁÍÍÁ
-.B vimtutor
-ÏÌĊÚÎÁ ÄÌÑ ÎÏ×ÉŜËÏ×, ÖĊÌÁÀŬÉÈ ÎÁĠŜÉÔĜÓÑ ÓÁÍÙÍ ÏÓÎÏ×ÎÙÍ ËÏÍÁÎÄÁÍ
-.B Vim.
-.PP
-îĊÏÂÑÚÁÔĊÌĜÎÙÊ ÁÒÁÍĊÔÒ [ÑÚÙË] ÒĊÄÓÔÁ×ÌÑĊÔ ÓÏÂÏÊ Ä×ĠÈÓÉÍ×ÏÌĜÎÙÊ ËÏÄ ÑÚÙËÁ,
-ÎÁÒÉÍĊÒ "ru" ÉÌÉ "it".
-ċÓÌÉ ÁÒÁÍĊÔÒ [ÑÚÙË] ÎĊ ĠËÁÚÁÎ, ÔÏ ÉÓÏÌĜÚĠĊÔÓÑ ÑÚÙË ÁËÔÉ×ÎÏÊ × ÎÁÓÔÏÑŬÉÊ
-ÍÏÍĊÎÔ ÌÏËÁÌÉ. ċÓÌÉ ĠŜĊÂÎÉË ÎÁ ÜÔÏÍ ÑÚÙËĊ ÎĊ ÓĠŬĊÓÔ×ĠĊÔ, ÔÏ Ï ĠÍÏÌŜÁÎÉÀ
-ÉÓÏÌĜÚĠĊÔÓÑ ĠŜĊÂÎÉË ÎÁ ÁÎÇÌÉÊÓËÏÍ ÑÚÙËĊ.
-.PP
-ÒÉ ÒÁÂÏÔĊ Ó ĠŜĊÂÎÉËÏÍ
-.B Vim
-×ÓĊÇÄÁ ÚÁĠÓËÁĊÔÓÑ × ÒĊÖÉÍĊ ÓÏ×ÍĊÓÔÉÍÏÓÔÉ Ó Vi.
-.SH ĉáêìù
-.TP 15
-/usr/local/lib/vim/tutor/tutor[.ÑÚÙË]
-ôĊËÓÔ ĠŜĊÂÎÉËÁ
-.B vimtutor.
-.TP 15
-/usr/local/lib/vim/tutor/tutor.vim
-óĊÎÁÒÉÊ Vim, ËÏÔÏÒÙÊ ÉÓÏÌĜÚĠĊÔÓÑ ÄÌÑ ÓÏÚÄÁÎÉÑ ÒÁÂÏŜĊÊ
-ËÏÉÉ ÔĊËÓÔÁ ĠŜĊÂÎÉËÁ
-.B vimtutor.
-.SH á÷ôïòù
-.B Vimtutor
-ÂÙÌ ×ĊÒ×ÙĊ ÎÁÉÓÁÎ ÄÌÑ Vi íÁÊËÌÏÍ ë. ÉÒÓÏÍ (Michael C. Pierce) É
-òÏÂĊÒÔÏÍ ë. ġÜÁ (Robert K. Ware) ÉÚ Colorado School of Mines Ï
-ÉÄĊĊ ŝÁÒÌĜÚÁ óÍÉÔÁ (Charles Smith) ÉÚ Colorado State University.
-E-mail: bware@mines.colorado.edu.
-.br
-÷ÏÓÌĊÄÓÔ×ÉÉ ĠŜĊÂÎÉË ÂÙÌ ÄÏÒÁÂÏÔÁÎ ÄÌÑ ÉÓÏÌĜÚÏ×ÁÎÉÑ ×
-.B Vim
-âÒÁÍÏÍ íÏÏÌĊÎÁÁÒÏÍ (Bram Moolenaar).
-éÍĊÎÁ ĊÒĊ×ÏÄŜÉËÏ× ĠŜĊÂÎÉËÁ ĠÏÍÉÎÁÀÔÓÑ × ÓÏÏÔ×ĊÔÓÔ×ĠÀŬÉÈ ĈÁÊÌÁÈ.
-.SH óíïôòé ôáëöċ
-vim(1)
diff --git a/runtime/doc/vimtutor.man b/runtime/doc/vimtutor.man
deleted file mode 100644
index 9f2350a0ae..0000000000
--- a/runtime/doc/vimtutor.man
+++ /dev/null
@@ -1,50 +0,0 @@
-VIMTUTOR(1) VIMTUTOR(1)
-
-
-
-NAME
- vimtutor - the Vim tutor
-
-SYNOPSIS
- vimtutor [-g] [language]
-
-DESCRIPTION
- Vimtutor starts the Vim tutor. It copies the tutor file first, so that
- it can be modified without changing the original file.
-
- The Vimtutor is useful for people that want to learn their first Vim
- commands.
-
- The optional argument -g starts vimtutor with gvim rather than vim, if
- the GUI version of vim is available, or falls back to Vim if gvim is
- not found.
-
- The optional [language] argument is the two-letter name of a language,
- like "it" or "es". If the [language] argument is missing, the language
- of the current locale will be used. If a tutor in this language is
- available, it will be used. Otherwise the English version will be
- used.
-
- Vim is always started in Vi compatible mode.
-
-FILES
- /usr/local/lib/vim/tutor/tutor[.language]
- The Vimtutor text file(s).
-
- /usr/local/lib/vim/tutor/tutor.vim
- The Vim script used to copy the Vimtutor text file.
-
-AUTHOR
- The Vimtutor was originally written for Vi by Michael C. Pierce and
- Robert K. Ware, Colorado School of Mines using ideas supplied by
- Charles Smith, Colorado State University. E-mail: bware@mines.col‐
- orado.edu.
- It was modified for Vim by Bram Moolenaar. For the names of the trans‐
- lators see the tutor files.
-
-SEE ALSO
- vim(1)
-
-
-
- 2001 April 2 VIMTUTOR(1)
diff --git a/runtime/doc/xxd-fr.1 b/runtime/doc/xxd-fr.1
deleted file mode 100644
index be780858bf..0000000000
--- a/runtime/doc/xxd-fr.1
+++ /dev/null
@@ -1,396 +0,0 @@
-.TH XXD 1 "août 1996" "Page de manuel pour xxd"
-.\"
-.\" 21st May 1996
-.\" Man page author:
-.\" Tony Nugent <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
-.\" Changes by Bram Moolenaar <Bram@vim.org>
-.\" French translation by David Blanchet <david.blanchet@free.fr> 2005-03
-.SH NOM
-.I xxd
-\- convertit en représentation hexadécimale et inversement.
-.SH SYNOPSIS
-.B xxd
-\-h[elp]
-.br
-.B xxd
-[options] [fichier_entree [fichier_sortie]]
-.br
-.B xxd
-\-r[evert] [options] [fichier_entree [fichier_sortie]]
-.SH DESCRIPTION
-.I xxd
-crée un fichier contenant la représentation hexadécimale d'un fichier
-binaire ou de l'entrée standard.
-Il peut également convertir un fichier de codes hexadécimaux en un fichier
-binaire.
-Comme
-.BR uuencode (1)
-et
-.BR uudecode (1)
-il permet la transmission de données binaires dans une représentation ASCII
-compatible avec le courrier électronique, mais a l'avantage de décoder la
-sortie standard.
-De plus, il peut être utilisé pour appliquer des rustines à des fichiers
-binaires.
-.SH OPTIONS
-Si aucun
-.I fichier_entree
-n'est spécifié, l'entrée standard est utilisée.
-Si
-.I fichier_entree
-correspond au caractère
-.RB '\-'
-\, l'entrée standard est employée comme source des données en entrée.
-Si aucun
-.I fichier_sortie
-n'est spécifié (ou qu'un caractère
-.RB '\-'
-est donné à sa place), le résultat est envoyé sur la sortie standard.
-.PP
-NOTE : un analyseur paresseux est utilisé. Il ne vérifie pas au-delà de la
-première lettre de l'option, à moins que cette dernière ne requiert un
-paramètre.
-L'espace entre l'option et son paramètre est optionnel.
-Les paramètres des options peuvent être spécifiés en notation décimale,
-hexadécimale ou octale.
-Ainsi
-.BR \-c8 ,
-.BR "\-c 8" ,
-.B \-c 010
-et
-.B \-cols 8
-sont tous équivalents.
-.TP
-.IR \-a " | " \-autoskip
-active la fonctionnalité "autoskip" : le caractère '*' remplace les lignes
-d'octets nuls. Désactivée par défaut.
-.TP
-.IR \-b " | " \-bits
-Convertit en binaires plutôt qu'en hexadécimal.
-Cette option écrit les octets comme une séquence de "1" et de "0" au lieu
-d'une conversion en hexadécimal traditionnel. Chaque ligne est précédée par un
-numéro de ligne en hexadécimal et suivie de la représentation ASCII (ou
-EBCDIC) correspondante. Les options \-r, \-p, \-i ne fonctionnent pas dans ce
-mode.
-.TP
-.IR "\-c cols " | " \-cols cols"
-place
-.RI < cols >
-octets par ligne. 16 par défaut (\-i : 12, \-ps : 30, \-b : 6). Maximum 256.
-.TP
-.IR \-E " | " \-EBCDIC
-Passe le codage des caractères de la colonne de droite de ASCII à EBCDIC.
-Cela ne change pas la représentation hexadécimale. Cette option est sans effet
-quand elle est utilisée avec \-r, \-p or \-i.
-.TP
-.IR "\-g octets " | " \-groupsize octets"
-Regroupe les octets (deux chiffres hexadécimaux ou huit chiffres binaires)
-par groupe de
-.RI < octets >
-\, séparés par des espaces blancs. Spécifiez
-.I \-g 0
-pour supprimer le regroupement.
-.RI < octets >
-vaut 2 par défaut dans le mode normal et \fI1\fP en
-représentation binaire. Le regroupement ne s'applique pas aux styles
-Postscript et Include.
-.TP
-.IR \-h " | " \-help
-Affiche un résumé des commandes disponibles et quitte. Aucune conversion n'est
-effectuée.
-.TP
-.IR \-i " | " \-include
-produit une sortie dans le style #include (fichier C à inclure). La définition
-complète d'un tableau statique est écrite et est nommée d'après le fichier
-d'origine, à moins que xxd lise depuis l'entrée standard.
-.TP
-.IR "\-l long " | " \-len long"
-Arrête après l'écriture de
-.RI < long >
-octets.
-.TP
-.IR \-p " | " \-ps " | " \-postscript " | " \-plain
-Produit une conversion continue dans le style Postscript (postscript continuous
-hexdumd style).
-Également connu sous le nom de Ğ conversion brute ğ (plain hexdump style).
-.TP
-.IR \-r " | " \-revert
-Opération inverse : convertit un fichier hexadécimal en un fichier binaire (ou
-applique une rustine à un fichier binaire).
-Si l'écriture n'a pas lieu sur la sortie standard, xxd écrit dans le fichier
-qu'il produit sans le tronquer. Utilisez la combinaison
-.I \-r \-p
-pour lire de l'hexadécimal brut sans information sur le numéro des lignes et
-sans format de colonnes particulier. Des espaces blancs et coupures de lignes
-supplémentaires sont autorisés à n'importe quel endroit.
-.TP
-.I \-seek décalage
-Utilisé après l'option
-.IR \-r :
-inverse la conversion en ajoutant
-.RI < décalage >
-aux positions dans le fichier données dans le code hexadécimal.
-.TP
-.I \-s [+][\-]décalage
-Débute au
-.RI < décalage >
-absolu ou relatif dans fichier_entree.
-\fI+ \fRindique que le décalage est relatif à la position courante dans
-l'entrée standard (sans effet si la lecture n'a pas lieu sur l'entrée
-standard). \fI\- \fRindique un décalage en caractères depuis la fin de
-l'entrée (utilisé avec \fI+\fR, désigne la position avant la position
-actuelle de l'entrée standard).
-Sans l'option \-s, xxd démarre à la position courante du fichier.
-.TP
-.I \-u
-Utilise des chiffres hexadécimaux majuscules. La casse par défaut est
-minuscule.
-.TP
-.IR \-v " | " \-version
-Affiche la version de xxd.
-.SH MISE EN GARDE
-.I xxd \-r
-effectue des opérations internes un peu obscures lors de l'évaluation
-des informations sur les numéros de lignes. Si le fichier de sortie est
-adressable, alors les numéros de lignes au début de chaque ligne d'hexadécimal
-peuvent être désordonnées, des lignes peuvent manquer ou se chevaucher. Dans
-ces cas, xxd utilisera lseek(2) pour déterminer la prochaine position. Si le
-fichier n'est pas adressable, seuls les vides sont autorisés, et ils seront
-comblés par des octets nuls.
-.PP
-.I xxd \-r
-ne génère aucune erreur lors de l'analyse. Les problèmes sont passés
-silencieusement.
-.PP
-Lors de l'édition de la représentation hexadécimale, veuillez noter que
-.I xxd \-r
-ignore tout ce qui se trouve sur la ligne après avoir lu suffisamment de
-données hexadécimales (voir l'option \-c). Cela signifie également que les
-modifications dans la colonne ASCII (ou EBCDIC) sont toujours ignorées. La
-conversion inverse de données hexadécimales brutes (postscript) avec xxd \-r
-\-p ne dépend pas d'un nombre correct de colonnes. Dans ce cas, tout ce qui
-ressemble à une paire de chiffres hexadécimaux est interprété.
-.PP
-Remarquez la différence entre
-.br
-\fI% xxd \-i fichier\fR
-.br
-et
-.br
-\fI% xxd \-i < fichier\fR
-.PP
-.I xxd \-s \+seek
-peut différer de
-.IR "xxd \-s seek" ,
-car lseek(2) est utilisé pour Ğ revenir en arrière ğ. Le '+' fait une
-différence quand la source des données est l'entrée standard et si la position
-dans le fichier de l'entrée standard n'est pas au début du fichier lorsque xxd
-est démarré et qu'il reçoit ses données.
-L'exemple suivant peut vous aider à comprendre (ou bien vous perdre davantage
-encore !)...
-.PP
-Remettre l'entrée standard au départ avant de lire ; nécessaire car 'cat' a
-déjà lu jusqu'à la fin de l'entrée standard.
-.br
-\fI% sh \-c 'cat > donnees_binaires; xxd \-s 0 > donnees_hexa' < fichier\fR
-.PP
-Convertir à partir de la position 0x480 (= 1024 + 128) du fichier.
-Le symbole '+' signifie "relativement à la position actuelle', ainsi 128 est
-ajouté aux 1024 octets comptabilisés pour dd.
-.br
-\fI% sh \-c 'dd of=donnees_binaires bs=1k count=1; xxd \-s +128 >
-donnees_hexa' < fichier\fR
-.PP
-Convertir de fichier depuis la position 0x100 (= 1024 \- 768) du fichier.
-.br
-\fI% sh \-c 'dd of=donnees_binaires bs=1k count=1; xxd \-s +\-768 >
-donnees_hexa' < fichier\fR
-.PP
-Toutefois, cette situation est peu fréquente et l'utilisation de '+' est
-rarement requise. L'auteur préfère surveiller les effets de xxd avec strace(1)
-ou truss(1) quand \-s est employé.
-.SH EXEMPLES
-Afficher la totalité du
-.B fichier
-sauf les trois premières lignes (0x30 octets en hexadécimal).
-.br
-\fI% xxd \-s 0x30 fichier\fR
-.PP
-afficher les trois dernières lignes (0x30 octets en hexadécimal) du
-.B fichier
-\.
-.br
-\fI% xxd \-s \-0x30 fichier\fR
-.PP
-.br
-Afficher 120 octets convertis en continu, avec 20 octets par ligne.
-.br
-\fI% xxd \-l 120 \-ps \-c 20 xxd\-fr.1\fR
-.br
-2e54482058584420312022616ffb742031393936
-.br
-22202250616765206465206d616e75656c20706f
-.br
-757220787864220a2e5c220a2e5c222032317374
-.br
-204d617920313939360a2e5c22204d616e207061
-.br
-676520617574686f723a0a2e5c2220202020546f
-.br
-6e79204e7567656e74203c746f6e79407363746e
-.br
-204e7567656e74203c746f6e79407363746e7567
-.br
-2e54482058584420312022417567757374203139
-.PP
-Convertir les 120 premiers octets de cette page de manuel avec 12 octets par
-ligne.
-.br
-\fI% xxd \-l 120 \-c 12 xxd\-fr.1\fR
-.br
-0000000: 2e54 4820 5858 4420 3120 2261 .TH XXD 1 "a
-.br
-000000c: 6ffb 7420 3139 3936 2220 2250 o.t 1996" "P
-.br
-0000018: 6167 6520 6465 206d 616e 7565 age de manue
-.br
-0000024: 6c20 706f 7572 2078 7864 220a l pour xxd".
-.br
-0000030: 2e5c 220a 2e5c 2220 3231 7374 .\"..\" 21st
-.br
-000003c: 204d 6179 2031 3939 360a 2e5c May 1996..\
-.br
-0000048: 2220 4d61 6e20 7061 6765 2061 " Man page a
-.br
-0000054: 7574 686f 723a 0a2e 5c22 2020 uthor:..\"
-.br
-0000060: 2020 546f 6e79 204e 7567 656e Tony Nugen
-.br
-000006c: 7420 3c74 6f6e 7940 7363 746e t <tony@sctn
-.PP
-Afficher la date écrite au début du fichier xxd\-fr.1.
-.br
-\fI% xxd \-s 0x38 \-l 13 \-c 13 xxd.1\fR
-.br
-0000036: 3231 7374 204d 6179 2031 3939 36 21st May 1996
-.PP
-Copier
-.B fichier_entree
-vers
-.B fichier_sortie
-en ajoutant 100 octets de valeur 0x00 avant.
-.br
-\fI% xxd fichier_entree | xxd \-r \-s 100 \> fichier_sortie\fR
-.PP
-Patcher la date dans le fichier xxd.1
-.br
-\fI% echo '0000037: 3574 68' | xxd \-r \- xxd\-fr.1\fR
-.br
-\fI% xxd \-s 0x38 \-l 13 \-c 13 xxd\-fr.1\fR
-.br
-0000036: 3235 7468 204d 6179 2031 3939 36 25th May 1996
-.PP
-Créer un fichier de 65537 octets tous nuls (0x00),
-sauf le dernier qui vaut 'A' (0x41 en hexadécimal).
-.br
-\fI% echo '010000: 41' | xxd \-r \> fichier\fR
-.PP
-.br
-Convertir le fichier de l'exemple précédent avec la fonctionnalité "autoskip".
-.br
-\fI% xxd \-a \-c 12 fichier\fR
-.br
-0000000: 0000 0000 0000 0000 0000 0000 ............
-.br
-*
-.br
-000fffc: 0000 0000 40 ....A
-.PP
-Créer un fichier d'un octet, contenant seulement le caractère 'A'.
-Le nombre après '\-r \-s' s'ajoute aux numéros de lignes trouvées dans le
-fichier ; les octets initiaux sont supprimés.
-.br
-\fI% echo '010000: 41' | xxd \-r \-s \-0x10000 \> fichier\fR
-.PP
-Utiliser xxd comme filtre dans un éditeur tel que
-.B vim(1)
-pour convertir une zone comprise entre les marques 'a' et 'z'.
-.br
-\fI:'a,'z!xxd\fR
-.PP
-Utiliser xxd comme filtre dans un éditeur tel que
-.B vim(1)
-pour récupérer une conversion binaire comprise entre les marques 'a' et 'z'.
-.br
-\fI:'a,'z!xxd \-r\fR
-.PP
-Utiliser xxd comme filtre dans un éditeur tel que
-.B vim(1)
-pour récupérer une ligne convertie. Placez le curseur sur la ligne et tapez :
-.br
-\fI!!xxd \-r\fR
-.PP
-Lire des caractères depuis une connexion série :
-.br
-\fI% xxd \-c1 < /dev/term/b &\fR
-.br
-\fI% stty < /dev/term/b \-echo \-opost \-isig \-icanon min 1\fR
-.br
-\fI% echo \-n foo > /dev/term/b\fR
-.SH VALEURS DE RETOUR
-Les erreurs suivantes sont rapportées :
-.TP
-0
-aucune erreur ne s'est produit.
-.TP
-\-1
-opération non supportée (
-.I xxd \-r \-i
-reste impossible).
-.TP
-1
-erreur lors de l'analyse des options.
-.TP
-2
-problème avec le fichier d'entrée.
-.TP
-3
-problème avec le fichier de sortie.
-.TP
-4, 5
-la position spécifiée n'est pas atteignable.
-.SH VOIR AUSSI
-uuencode(1), uudecode(1), patch(1)
-.SH AVERTISSEMENTS
-L'étrangeté de cet outil reflète celle du cerveau de ses créateurs.
-Utilisez cet outil à vos risques et périls. Dupliquez vos fichiers.
-Surveillez l'outil. Devenez un gourou.
-.SH VERSION
-Cette page de manuel documente la version 1.7 de xxd.
-.SH AUTEUR
-(c) 1990-1997 par Juergen Weigert
-.br
-<jnweiger@informatik.uni-erlangen.de>
-.LP
-"Distribute freely and credit me,
-.br
-make money and share with me,
-.br
-lose money and don't ask me."
-.PP
-Distribution libre en citant l'auteur,
-.br
-gagnez de l'argent, pensez à moi,
-.br
-perdez de l'argent, oubliez-moi.
-.PP
-Page de manuel débutée par Tony Nugent
-.br
-<tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
-.br
-Modifications mineures par Bram Moolenaar.
-Édité par Juergen Weigert.
-.SH TRADUCTION
-Cette page de manuel a été traduite par David Blanchet
-<david.blanchet@free.fr> 2004-12-24.
-Mise à jour 2013-05-10, Dominique Pellé <dominique.pelle@gmail.com>
diff --git a/runtime/doc/xxd-it.1 b/runtime/doc/xxd-it.1
deleted file mode 100755
index 3d8dabb950..0000000000
--- a/runtime/doc/xxd-it.1
+++ /dev/null
@@ -1,402 +0,0 @@
-.TH XXD 1 "Agosto 1996" "Pagina di manuale per xxd"
-.\"
-.\" 21 Maggio 1996
-.\" Autore della pagina di manuale:
-.\" Tony Nugent <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
-.\" Modificato da Bram Moolenaar <Bram@vim.org>
-.SH NOME
-.I xxd
-\- Produce esadecimale da un file binario o viceversa.
-.SH SINTASSI
-.B xxd
-\-h[elp]
-.br
-.B xxd
-[opzioni] [input_file [output_file]]
-.br
-.B xxd
-\-r[evert] [opzioni] [input_file [output_file]]
-.SH DESCRIZIONE
-.I xxd
-crea un'immagine esadecimale di un dato file o dello "standard input".
-Può anche ottenere da un'immagine esadecimale il file binario originale.
-Come
-.BR uuencode (1)
-e
-.BR uudecode (1)
-permette di trasmettere dati binari in una rappresentazione ASCII "a prova
-di email", ma ha anche il vantaggio di poter decodificare sullo "standard
-output". Inoltre, può essere usato per effettuare delle modifiche (patch)
-a file binari.
-.SH OPZIONI
-Se non si specifica un
-.I input_file
-il programma legge dallo "standard input".
-Se
-.I input_file
-è specificato come il carattere
-.RB \` \- '
-, l'input è letto dallo "standard input".
-Se non si specifica un
-.I output_file
-(o si mette al suo posto il carattere
-.RB \` \- '
-), i risultati sono inviati allo "standard output".
-.PP
-Si noti che la scansione dei caratteri è "pigra", e non controlla oltre
-la prima lettera dell'opzione, a meno che l'opzione sia seguita da un
-parametro.
-Gli spazi fra una singola lettera di opzione e il corrispondente parametro
-dopo di essa sono facoltativi.
-I parametri delle opzioni possono essere specificati usando la notazione
-decimale, esadecimale oppure ottale.
-Pertanto
-.BR \-c8 ,
-.BR "\-c 8" ,
-.B \-c 010
-e
-.B \-cols 8
-sono notazioni equivalenti fra loro.
-.PP
-.TP
-.IR \-a " | " \-autoskip
-Richiesta di autoskip: Un singolo '*' rimpiazza linee di zeri binari.
-Valore di default: off.
-.TP
-.IR \-b " | " \-bits
-Richiesta di una immagine binaria (cifre binarie), invece che esadecimale.
-Questa opzione scrive un byte come otto cifre "1" e "0" invece di usare i
-numeri esadecimali. Ogni linea è preceduta da un indirizzo in esadecimale e
-seguita da una decodifica ascii (o ebcdic). Le opzioni specificabili dalla
-linea comando \-r, \-p, \-i non funzionano in questo modo.
-.TP
-.IR "\-c colonne " | " \-cols colonne"
-.IR "\-c colonne " | " \-cols colonne"
-In ogni linea sono formattate
-.RI < colonne >
-colonne. Valore di default 16 (\-i: 12, \-ps: 30, \-b: 6).
-Valore massimo 256.
-.TP
-.IR \-E " | " \-EBCDIC
-Cambia la codifica della colonna di destra da ASCII a EBCDIC.
-Questo non modifica la rappresentazione esadecimale. Non ha senso
-specificare questa opzione in combinazione con \-r, \-p o \-i.
-.TP
-.IR "\-g numero_byte " | " \-groupsize numero_byte"
-Inserisci ogni
-.RI < numero_byte >
-byte di output (di due caratteri esadecimali o otto numeri binari ognuno)
-uno spazio bianco.
-Specificando
-.I \-g 0
-i byte di output non sono separati da alcuno spazio.
-.RI < numero_byte > ha come valore di default " 2
-in modalità normale [esadecimale] e \fI1\fP in modalità binaria.
-Il raggruppamento non si applica agli stili "PostScript" e "include".
-.TP
-.IR \-h " | " \-help
-stampa un sommario dei comandi disponibili ed esce. Non viene fatto
-null'altro.
-.TP
-.IR \-i " | " \-include
-L'output è nello stile dei file "include" in C. Viene preparata la
-definizione completa di un "array" [vettore], dandogli il nome del
-file di input), tranne che nel caso in cui xxd legga dallo "standard input".
-.TP
-.IR "\-l numero " | " \-len numero"
-Il programma esce dopo aver scritto
-.RI < numero >
-byte.
-.TP
-.IR \-p " | " \-ps " | " \-postscript " | " \-plain
-L'output è nello stile di un dump continuo sotto postscript.
-Noto anche come stile esadecimale semplice [plain].
-.TP
-.IR \-r " | " \-revert
-ricostruzione: converte (o mette una patch) a partire dall'immagine
-esadecimale, creando [o modificando] il file binario.
-Se non diretto allo "standard output", xxd scrive nel suo file di output
-in maniera continua, senza interruzioni. Usare la combinazione
-.I \-r \-p
-per leggere dump in stile esadecimale semplice [plain], senza l'informazione
-di numero di linea e senza un particolare tracciato di colonna. Degli spazi
-o delle linee vuote possono essere inserite a piacere [e vengono ignorate].
-.TP
-.I \-seek distanza
-Usato con l'opzione
-.IR \-r :
-(ricostruzione),
-.RI < distanza >
-viene aggiunta alla posizione nel file trovata nella immagine
-esadecimale.
-.TP
-.I \-s [+][\-]seek
-Inizia a
-.RI < seek >
-byte assoluti (o relativi) di distanza all'interno di input_file.
-\fI+ \fRindica che il "seek" è relativo alla posizione corrente nel file
-"standard input" (non significativa quando non si legge da "standard input").
-\fI\- \fRindica che il "seek" dovrebbe posizionarsi ad quel numero di
-caratteri dalla fine dell'input (o se in combinazione con
-\fI+ \fR: prime della posizione corrente nel file "standard input").
-Se non si specifica una opzione \-s, xxd inizia alla posizione
-corrente all'interno del file.
-.TP
-.I \-u
-usa lettere esadecimali maiuscole. Il valore di default è di usare
-lettere minuscole.
-.TP
-.IR \-v " | " \-version
-visualizza la stringa contenente la versione del programma.
-.SH ATTENZIONE
-.PP
-.I xxd \-r
-è capace di operare "magie" nell'utilizzare l'informazione "numero di linea".
-Se sul file di output ci si può posizionare usando la "seek", il numero di
-linea all'inizio di ogni riga esadecimale può essere non ordinato, delle
-linee possono mancare delle linee, oppure esserci delle sovrapposizioni.
-In simili casi xxd userà lseek(2) per raggiungere la posizione d'inizio.
-Se il file di output non consente di usare "seek", sono permessi solo dei
-"buchi", che saranno riempiti con zeri binari.
-.PP
-.I xxd \-r
-non genera mai errori di specifica parametri. I parametri non riconosciuti
-sono silenziosamente ignorati.
-.PP
-Nel modificare immagini esadecimali, tenete conto che
-.I xxd \-r
-salta il resto della linea, dopo aver letto abbastanza caratteri contenenti
-dati esadecimali (vedere opzione \-c). Ciò implica pure che le modifiche alle
-colonne di caratteri stampabili ascii (o ebcdic) sono sempre ignorate.
-La ricostruzione da un file immagine esadecimale in stile semplice
-(postscript) con xxd \-r \-p non dipende dal numero corretto di colonne.
-IN questo caso, qualsiasi cosa assomigli a una coppia di cifre esadecimali
-è interpretata [e utilizzata].
-.PP
-Notare la differenza fra
-.br
-\fI% xxd \-i file\fR
-.br
-e
-.br
-\fI% xxd \-i \< file\fR
-.PP
-.I xxd \-s \+seek
-può comportarsi in modo diverso da
-.IR "xxd \-s seek"
-, perché lseek(2) è usata per tornare indietro nel file di input. Il '+'
-fa differenza se il file di input è lo "standard input", e se la posizione nel
-file di "standard input" non è all'inizio del file quando xxd è eseguito,
-con questo input.
-I seguenti esempi possono contribuire a chiarire il concetto
-(o ad oscurarlo!)...
-.PP
-Riavvolge lo "standard input" prima di leggere; necessario perché `cat'
-ha già letto lo stesso file ["file"] fino alla fine dello "standard input".
-.br
-\fI% sh \-c 'cat > copia_normale; xxd \-s 0 > copia_esadecimale' < file
-.PP
-Stampa immagine esadecimale dalla posizione file 0x480 (=1024+128) in poi.
-Il segno `+' vuol dire "rispetto alla posizione corrente", quindi il `128'
-si aggiunge a 1k (1024) dove `dd' si era fermato.
-.br
-\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +128 > esadecimale' < file
-.PP
-Immagine esadecimale dalla posizione 0x100 ( = 1024\-768 ) del file in avanti.
-.br
-\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +\-768 > esadecimale' < file
-.PP
-Comunque, questo capita raramente, e l'uso del `+' non serve quasi mai.
-L'autore preferisce monitorare il comportamento di xxd con strace(1) o
-truss(1), quando si usa l'opzione \-s.
-.SH ESEMPI
-.PP
-.br
-Stampa tutto tranne le prime tre linee (0x30 byte esadecimali) di
-.B file
-\.
-.br
-\fI% xxd \-s 0x30 file
-.PP
-.br
-Stampa 3 linee (0x30 byte esadecimali) alla fine di
-.B file
-\.
-.br
-\fI% xxd \-s \-0x30 file
-.PP
-.br
-Stampa 120 byte come immagine esadecimale continua con 20 byte per linea.
-.br
-\fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR
-
-.br
-2e54482058584420312022417567757374203139
-.br
-39362220224d616e75616c207061676520666f72
-.br
-20787864220a2e5c220a2e5c222032317374204d
-.br
-617920313939360a2e5c22204d616e2070616765
-.br
-20617574686f723a0a2e5c2220202020546f6e79
-.br
-204e7567656e74203c746f6e79407363746e7567
-.br
-
-.br
-Stampa i primi 120 byte della pagina di manuale vim.1 a 12 byte per linea.
-.br
-\fI% xxd \-l 120 \-c 12 xxd.1\fR
-
-
-.br
-0000000: 2e54 4820 5858 4420 3120 2241 .TH XXD 1 "A
-.br
-000000c: 7567 7573 7420 3139 3936 2220 ugust 1996"
-.br
-0000018: 224d 616e 7561 6c20 7061 6765 "Manual page
-.br
-0000024: 2066 6f72 2078 7864 220a 2e5c for xxd"..\
-.br
-0000030: 220a 2e5c 2220 3231 7374 204d "..\" 21st M
-.br
-000003c: 6179 2031 3939 360a 2e5c 2220 ay 1996..\"
-.br
-0000048: 4d61 6e20 7061 6765 2061 7574 Man page aut
-.br
-0000054: 686f 723a 0a2e 5c22 2020 2020 hor:..\"
-.br
-0000060: 546f 6e79 204e 7567 656e 7420 Tony Nugent
-.br
-000006c: 3c74 6f6e 7940 7363 746e 7567 <tony@sctnug
-.PP
-.br
-Visualizza la data dal file xxd.1
-.br
-\fI% xxd \-s 0x36 \-l 13 \-c 13 xxd.1\fR
-.br
-0000036: 3231 7374 204d 6179 2031 3939 36 21st May 1996
-.PP
-.br
-Copiare
-.B input_file
-su
-.B output_file
-premettendogli 100 byte a 0x00.
-.br
-\fI% xxd input_file | xxd \-r \-s 100 \> output_file\fR
-.br
-
-.br
-Modificare (patch) la data nel file xxd.1
-.br
-\fI% echo '0000037: 3574 68' | xxd \-r \- xxd.1\fR
-.br
-\fI% xxd \-s 0x36 \-l 13 \-c 13 xxd.1\fR
-.br
-0000036: 3235 7468 204d 6179 2031 3939 36 25th May 1996
-.PP
-.br
-Creare un file di 65537 byte tutto a 0x00,
-tranne che l'ultimo carattere che è una 'A' (esadecimale 0x41).
-.br
-\fI% echo '010000: 41' | xxd \-r \> file\fR
-.PP
-.br
-Stampa una immagine esadecimale del file di cui sopra con opzione autoskip.
-.br
-\fI% xxd \-a \-c 12 file\fR
-.br
-0000000: 0000 0000 0000 0000 0000 0000 ............
-.br
-*
-.br
-000fffc: 0000 0000 40 ....A
-.PP
-Crea un file di 1 byte che contiene il solo carattere 'A'.
-Il numero dopo '\-r \-s' viene aggiunto a quello trovato nel file;
-in pratica, i byte precedenti non sono stampati.
-.br
-\fI% echo '010000: 41' | xxd \-r \-s \-0x10000 \> file\fR
-.PP
-Usa xxd come filtro all'interno di un editor come
-.B vim(1)
-per ottenere una immagine esadecimale di una parte di file
-delimitata dai marcatori `a' e `z'.
-.br
-\fI:'a,'z!xxd\fR
-.PP
-Usare xxd come filtro all'interno di un editor come
-.B vim(1)
-per ricostruire un pezzo di file binario da una immagine esadecimale
-delimitata dai marcatori `a' e `z'.
-.br
-\fI:'a,'z!xxd \-r\fR
-.PP
-Usare xxd come filtro all'interno di un editor come
-.B vim(1)
-per ricostruire una sola linea di file binario da una immagine esadecimale,
-Portare il cursore sopra la linea e battere:
-.br
-\fI!!xxd \-r\fR
-.PP
-Per leggere singoli caratteri da una linea seriale
-.br
-\fI% xxd \-c1 < /dev/term/b &\fR
-.br
-\fI% stty < /dev/term/b \-echo \-opost \-isig \-icanon min 1\fR
-.br
-\fI% echo \-n foo > /dev/term/b\fR
-.PP
-.SH CODICI DI RITORNO
-Il programma può restituire questi codici di errore:
-.TP
-0
-nessun errore rilevato.
-.TP
-\-1
-operazione non supportata (
-.I xxd \-r \-i
-non ancora possible).
-.TP
-1
-errore durante la scansione parametri.
-.TP
-2
-problemi con il file di input.
-.TP
-3
-problemi con il file di output.
-.TP
-4,5
-posizione "seek" specificata non raggiungibile all'interno del file.
-.SH VEDERE ANCHE
-uuencode(1), uudecode(1), patch(1)
-.br
-.SH AVVERTIMENTI
-La stranezza dello strumento rispecchia la mente del suo creatore.
-Usate a vostro rischio e pericolo. Copiate i file. Tracciate l'esecuzione.
-Diventate un mago.
-.br
-.SH VERSIONE
-Questa pagina di manuale documenta la versione 1.7 di xxd.
-.SH AUTORE
-.br
-(c) 1990-1997 Juergen Weigert
-.br
-<jnweiger@informatik.uni\-erlangen.de>
-.LP
-Distribuite liberamente ed attribuitemi il credito,
-.br
-fate soldi e condivideteli con me
-.br
-perdete soldi e non venite a chiederli a me.
-.PP
-Pagina di manuale messa in piedi da Tony Nugent
-.br
-<tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
-.br
-Piccole modifiche di Bram Moolenaar.
-Modificato da Juergen Weigert.
-.PP
diff --git a/runtime/doc/xxd-pl.1 b/runtime/doc/xxd-pl.1
deleted file mode 100644
index d9fa9be203..0000000000
--- a/runtime/doc/xxd-pl.1
+++ /dev/null
@@ -1,389 +0,0 @@
-.TH XXD 1 "Sierpieñ 1996" "Strona podrêcznika dla xxd"
-.\"
-.\" 21st May 1996
-.\" Man page author:
-.\" Tony Nugent <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
-.\" Changes by Bram Moolenaar <Bram@vim.org>
-.SH NAZWA
-.I xxd
-\- zrzut pliku do hex lub odwrotnie
-.SH SYNOPSIS
-.B xxd
-\-h[elp]
-.br
-.B xxd
-[opcje] [plik_we [plik_wy]]
-.br
-.B xxd
-\-r[evert] [opcje] [plik_we [plik_wy]]
-.SH OPIS
-.I xxd
-tworzy zrzut heksowy podanego pliku lub standardowego wejĥcia.
-Może także przetworzyĉ zrzut heksowy z powrotem do oryginalnej,
-binarnej formy.
-Podobnie jak
-.BR uuencode (1)
-i
-.BR uudecode (1)
-pozwala na przekazanie danych binarnych w bezpiecznej w poczcie formie
-ASCII, ale ma zalety dekodowania na standardowe wyjĥcie.
-Ponadto można go użyĉ do binarnego ³atania plików.
-.SH OPCJE
-Jeĥli nie podano
-.I plik_we
-xxd czyta ze standardowego wejĥcia.
-Jeĥli okreĥlono
-.I plik_we
-jako znak
-.RB \` \- '
-wtedy dane wejĥciowe czytane sħ ze standardowego wejĥcia.
-Jeĥli nie podano
-.I plik_wy
-(lub podano jako
-.RB \` \- '
-), wyniki sħ wysy³ane na standardowe wyjĥcie.
-.PP
-Pamiêtaj, że użyty zosta³ "leniwy" parser, który nie sprawdza wiêcej
-niż pierwszej litery opcji (o ile ta nie zosta³a obdarzona
-parametrem). Spacje miêdzy jedno literowymi opcjami i ich parametrami
-sħ opcjonalne. Parametry opcji mogħ byĉ okreĥlone w notacji dziesiêtnej,
-heksadecymalej lub oktalnej.
-Stħd
-.BR \-c8 ,
-.BR "\-c 8" ,
-.B \-c 010
-i
-.B \-cols 8
-sħ sobie równoważne.
-.PP
-.TP
-.IR \-a " | " \-autoskip
-prze³ħcza autoskip: pojedyncza '*' zastêpuje linie nul. Domyĥlnie
-wy³ħczone.
-.TP
-.IR \-b " | " \-bits
-Prze³ħcza do zrzutu bitowego (cyfr binarnych) zamiast heksowego.
-Opcja ta zapisuje oktety jako osiem cyfr 1 lub 0 zamiast normalnego
-zrzutu heksowego. Każda linia jest poprzedzona przez
-heksadecymalny numer linii a po nim jego reprezentacjħ w ascii (lub
-ebcdic). Opcje linii poleceñ \-r, \-p, \-i nie dzia³ajħ w tym
-trybie.
-.TP
-.IR "\-c cols " | " \-cols cols"
-formatuje liczbê
-.RI < cols >
-oktetów na wiersz. Domyĥlnie 16 (\-i: 12, \-ps: 30, \-b: 6). Maks.
-256.
-.TP
-.IR \-E " | "\-EBCDIC
-zmienia kodowanie znaków w prawej kolumnie z ASCII na EBCDIC.
-Nie zmienia prezentacji heksadecymalej. Opcja nie dzia³a w po³ħczeniu
-z \-r, \-p lub \-i.
-.TP
-.IR "\-g bajtów " | " \-groupsize bajtów"
-oddziela wyjĥcie każdych
-.RI < bajtów >
-bajtów (dwa heksowe znaki lub osiem cyfr binarnych każde) przez bia³y
-znak.
-Okreĥl
-.I \-g 0
-by wy³ħczyĉ grupowanie.
-.RI < Bajtów "> domyĥlnie jest " 2
-w trybie normalnym i \fI1\fP w trybie bitów.
-Grupowanie nie dzia³a w trybie postscriptu lub w³ħczania.
-.TP
-.IR \-h " | " \-help
-wypisuje podsumowanie dostêpnych poleceñ i koñczy dzia³anie. Nie
-zostaje przeprowadzony żaden zrzut.
-.TP
-.IR \-i " | " \-include
-wyjĥcie w stylu w³ħczania pliku w C. Zostaje zapisana kompletna
-statyczna tablica definicji (nazwana wed³ug pliku wejĥcia), o ile xxd
-nie czyta ze standardowego wejĥcia.
-.TP
-.IR "\-l len " | "\-len len"
-zakoñcz po wypisaniu
-.RI < len >
-oktetów.
-.TP
-.IR \-p " | " \-ps " | " \-postscript " | " \-plain
-wyjĥcie w postcriptowym ciħg³ym stylu zrzutu heksowego. Znany także
-jako zwyk³y zrzut heksowy.
-.TP
-.IR \-r " | " \-revert
-odwróĉ operacjê: przekonwertuj (lub za³ataj) zrzut heksowy w binarkê.
-Jeĥli nie zapisuje na standardowe wyjĥcie, xxd zapisze plik wyjĥciowy
-bez obcinania go. Użyj kombinacji
-.I \-r \-p
-by odczytaĉ zwyk³y zrzut heksadecymalny bez numerów linii
-i okreĥlonego uk³adu kolumn. Dodatkowe bia³e znaki i ³amanie wierszy
-sħ wszêdzie dozwolone.
-.TP
-.I \-seek offset
-Kiedy użyty po
-.IR \-r :
-odwraca z
-.RI < offset >
-dodanym do pozycji w pliku odnalezionym w zrzucie heksowym.
-.TP
-.I \-s [+][\-]seek
-zaczyna na
-.RI < seek >
-bajtów bezwglêdnego (lub wzglêdnego) offsetu pliku wejĥciowego.
-\fI+ \fRwskazuje, że seek jest wzglêdne do bieżħcej pozycji pliku (bez
-znaczenia jeĥli nie wczytuje ze standardowego wejĥcia). \fI\- \fRwskazuje
-że seek powinno byĉ o tyle znaków od koñca wejĥcia (lub jeĥli
-po³ħczone z \fI+\fR: przed bieżħcħ pozycjħ pliku na standardowym
-wejĥciu).
-Bez opcji \-s xxd zaczyna od bieżħcej pozycji w pliku.
-.TP
-.I \-u
-użyj wielkich liter w znakach heksowych. Domyĥlnie sħ ma³e znaki.
-.TP
-.IR \-v " | " \-version
-pokazuje wersjê programu.
-.SH OSTRZEŻENIA
-.PP
-.I xxd \-r
-potrafi okreĥliĉ numery linii. Jeĥli plik wyjĥcia jest możliwy do
-przeszukania wtedy numery linii na poczħtku wiersza zrzutu heksowego
-mogħ byĉ nie po kolei, może brakowaĉ wierszy lub nak³adaĉ siê na
-siebie. W takich wypadkach xxd użyje lseek(2) by znaleĵĉ nastêpnħ
-pozycjê. Jeĥli plik wyjĥciowy nie jest możliwy do przeszukania możliwe
-sħ tylko przerwy, które zostanħ wype³nione bajtami null.
-.PP
-.I xxd \-r
-nigdy nie podaje b³êdów analizy. Ĥmieci sħ po cichu ignorowane.
-.PP
-W czasie edycji zrzutów heksowych, proszê zauważyĉ że
-.I xxd \-r
-pomija wszystko w linii wejĥcia po odczytaniu wystarczajħcej iloĥci
-kolumn danych heksadecymalnych (zobacz opcjê \-c). Oznacza to także,
-że zmiany w drukowanych kolumnach ascii (lub ebcdic) sħ zawsze
-ignorowane. Odwrócenie zwyk³ego (lub postscriptowego) stylu zrzutu
-poprzez xxd \-r \-p nie zależy od kolejnoĥci kolumn. Tutaj cokolwiek
-co wyglħda jak para znaków heks jest interpretowane.
-.PP
-Zauważ różnicê miêdzy
-.br
-\fI% xxd \-i plik\fR
-.br
-i
-.br
-\fI% xxd \-i < plik\fR
-.PP
-.I xxd \-s \+seek
-może byĉ różne od
-.IR "xxd \-s seek" ,
-ponieważ lseek(2) jest użyty do "przewiniêcie" wejĥcia. '+' stanowi
-różnicê jeĥli ĵród³em wejĥcia jest standardowe wejĥcie i jeĥli pozycja
-w pliku ze standardowego wejĥcia nie jest poczħtkiem pliku w chwili
-uruchomienia xxd. Nastêpujħce przyk³ady mogħ wyjaĥniĉ (lub bardziej
-zmyliĉ!)...
-.PP
-Przewiñ standardowe wejĥcie przed przeczytaniem; potrzebne ponieważ
-`cat' już odczyta³ do koñca standardowego wejĥcia.
-.br
-\fI% sh \-c 'cat > zwyk³a_kopia; xxd \-s 0 > hex_kopia' < plik\fR
-.PP
-Zrzut heksowy od pozycji pliku 0x480 (=1024+128) w przód.
-Znak `+' oznacza "wzglêdny wobec bieżħcej pozycji", stħd `128' dodaje
-do 1k gdzie zakoñczy³ dd.
-.br
-\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +128 > hex_snippet' < file\fR
-.PP
-Zrzut heksowy od pozycji pliku 0x100 ( = 1024\-768) dalej.
-.br
-\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +-768 > hex_snippet' < file\fR
-.PP
-Jakkolwiek, jest to rzadka sytuacja i użycie `+' jest rzadko
-potrzebne.
-Autor woli monitorowaĉ dzia³anie xxd przy pomocy strace(1) lub truss(1) kiedy \-s jest użyte.
-.SH PRZYK£ADY
-.PP
-.br
-Wypisz wszystko z wyjħtkiem pierwszych trzech linii (heksowe 0x30 bajtów)
-.B pliku
-\.
-.br
-\fI% xxd \-s 0x30 plik\fR
-.PP
-.br
-Wypisz trzy linie (heksowe 0x30 bajtów) z koñca
-.B pliku
-\.
-.br
-\fI% xxd \-s \-0x30 plik\fR
-.PP
-.br
-Wypisz 120 bajtów jako ciħg³y zrzut heksowy z 20 oktetami na liniê.
-.br
-\fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR
-.br
-2e54482058584420312022417567757374203139
-.br
-39362220224d616e75616c207061676520666f72
-.br
-20787864220a2e5c220a2e5c222032317374204d
-.br
-617920313939360a2e5c22204d616e2070616765
-.br
-20617574686f723a0a2e5c2220202020546f6e79
-.br
-204e7567656e74203c746f6e79407363746e7567
-.br
-
-.br
-Zrzut heksowy z pierwszymi 120 bajtami tej strony podrêcznika z 12
-oktetami na liniê.
-.br
-\fI% xxd \-l 120 \-c 12 xxd.1\fR
-.br
-0000000: 2e54 4820 5858 4420 3120 2241 .TH XXD 1 "A
-.br
-000000c: 7567 7573 7420 3139 3936 2220 ugust 1996"
-.br
-0000018: 224d 616e 7561 6c20 7061 6765 "Manual page
-.br
-0000024: 2066 6f72 2078 7864 220a 2e5c for xxd"..\\
-.br
-0000030: 220a 2e5c 2220 3231 7374 204d "..\\" 21st M
-.br
-000003c: 6179 2031 3939 360a 2e5c 2220 ay 1996..\\"
-.br
-0000048: 4d61 6e20 7061 6765 2061 7574 Man page aut
-.br
-0000054: 686f 723a 0a2e 5c22 2020 2020 hor:..\\"
-.br
-0000060: 546f 6e79 204e 7567 656e 7420 Tony Nugent
-.br
-000006c: 3c74 6f6e 7940 7363 746e 7567 <tony@sctnug
-.PP
-.br
-Pokaż tylko datê z pliku xxd.1
-.br
-\fI% xxd \-s 0x36 \-l 13 \-c 13 xxd.1\fR
-.br
-0000036: 3231 7374 204d 6179 2031 3939 36 21st May 1996
-.PP
-.br
-Kopiuj
-.B plik_we
-do
-.B plik_wy
-i poprzedĵ 100 bajtami o wartoĥci 0x00.
-.br
-\fI% xxd plik_we | xxd \-r \-s 100 \> plik_wy\fR
-.br
-
-.br
-Podmieñ datê w pliku xxd.1
-.br
-\fI% echo '0000037: 3574 68' | xxd \-r \- xxd.1\fR
-.br
-\fI% xxd \-s 0x36 \-l 13 \-c 13 xxd.1\fR
-.br
-0000036: 3235 7468 204d 6179 2031 3939 36 25th May 1996
-.PP
-.br
-Utwórz plik o 65537 bajtach, wszystkich równych 0x00,
-z wyjħtkiem ostatniego, który ma byĉ 'A' (hex 0x41).
-.br
-\fI% echo '010000: 41' | xxd \-r \> plik\fR
-.PP
-.br
-Zrzut heksowy tego pliku z autoskipem.
-.br
-\fI% xxd \-a \-c 12 plik\fR
-.br
-0000000: 0000 0000 0000 0000 0000 0000 ............
-.br
-*
-.br
-000fffc: 0000 0000 40 ....A
-.PP
-Utwórz jedno bajtowy plik zawierajħcy pojednczħ literê 'A'.
-Liczba po '\-r \-s' dodaje numery linii znalezione w pliku;
-w efekcie poprzedzajħce bajty sħ ukryte.
-.br
-\fI% echo '010000: 41' | xxd \-r \-s \-0x10000 \> plik\fR
-.PP
-Użyj xxd jako filtra wewnħtrz edytora takiego jak
-.B vim(1)
-aby uzyskaĉ zrzut heksowy zakresu miêdzy markerami `a' i `z'.
-.br
-\fI:'a,'z!xxd\fR
-.PP
-Użyj xxd jako filtra wewnħtrz edytora takiego jak
-.B vim(1)
-by odzyskaĉ binarny zrzut heksowy zakresu pomiêdzy markerami `a'
-i `z'.
-.br
-\fI:'a,'z!xxd \-r\fR
-.PP
-Użyj xxd jako filtra wewnħtrz edytora takiego jak
-.B vim(1)
-by odzyskaĉ jednħ liniê zrzutu heksowego. Przejdĵ z kursorem na liniê
-i wpisz:
-.br
-\fI!!xxd \-r\fR
-.PP
-Odczytaj pojednycze znaki z portu szeregowego
-.br
-\fI% xxd \-c1 < /dev/term/b &\fR
-.br
-\fI% stty < /dev/term/b \-echo \-opost \-isig \-icanon min 1\fR
-.br
-\fI% echo \-n foo > /dev/term/b\fR
-.PP
-.SH "ZWRACANE WARTOĤCI"
-Zwracane sħ nastêpujħce wartoĥci b³êdów:
-.TP
-0
-nie znaleziono b³êdów.
-.TP
-\-1
-operacja nie jest wspierana (
-.I xxd \-r \-i
-ca³y czas niemożliwa).
-.TP
-1
-b³ħd w czasie analizowania opcji.
-.TP
-2
-problemy z plikiem wejĥciowym.
-.TP
-3
-problemy z plikiem wyjĥciowym.
-.TP
-4,5
-żħdana pozycja jest nieosiħgalna.
-.SH "ZOBACZ TAKŻE"
-uuencode(1), uudecode(1), patch(1)
-.br
-.SH OSTRZEŻENIA
-Dziwacznoĥĉ narzêdzi dorównuje dziwacznoĥci mózgu twórcy.
-Używaj wy³ħcznie na w³asnħ odpowiedzialnoĥĉ. Kopiuj pliki. Analizuj
-je. Stañ siê czarodziejem.
-.br
-.SH WERSJA
-Strona podrêcznika opisuje xxd w wersji 1.7
-.SH AUTOR
-.br
-(c) 1990-1997 by Juergen Weigert
-.br
-<jnweiger@informatik.uni-erlangen.de>
-.LP
-Kopiuj do woli i podaj moje dane,
-.br
-zarabiaj pieniħdze i dziel siê ze mnħ,
-.br
-traĉ pieniħdze i nie miej do mnie pretensji.
-.PP
-Strona podrêcznika zapoczħtkowana przez Tony'ego Nugenta
-.br
-<tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
-.br
-Ma³e zmiany: Bram Moolenaar.
-Redakcja: Juergen Weigert.
-.PP
diff --git a/runtime/doc/xxd-ru.1 b/runtime/doc/xxd-ru.1
deleted file mode 100644
index 111946ab52..0000000000
--- a/runtime/doc/xxd-ru.1
+++ /dev/null
@@ -1,408 +0,0 @@
-.TH XXD 1 "August 1996" "óÔÒÁÎÉÁ man ÄÌÑ xxd"
-.\"
-.\" 21st May 1996
-.\" Man page author:
-.\" Tony Nugent <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
-.\" Changes by Bram Moolenaar <Bram@vim.org>
-.SH éíñ
-.I xxd
-\- ÓÏÚÄÁ£Ô ÒĊÄÓÔÁ×ÌĊÎÉĊ ĈÁÊÌÁ × ×ÉÄĊ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÙÈ ËÏÄÏ× ÉÌÉ ×ÙÏÌÎÑĊÔ
-ÏÂÒÁÔÎÏĊ ÒĊÏÂÒÁÚÏ×ÁÎÉĊ.
-.SH ëïíáîäîáñ óôòïëá
-.B xxd
-\-h[elp]
-.br
-.B xxd
-[ËÌÀŜÉ] [×ÈÏÄÎÏÊ_ĈÁÊÌ [×ÙÈÏÄÎÏÊ_ĈÁÊÌ]]
-.br
-.B xxd
-\-r[evert] [ËÌÀŜÉ] [×ÈÏÄÎÏÊ_ĈÁÊÌ [×ÙÈÏÄÎÏÊ_ĈÁÊÌ]]
-.SH ïéóáîéċ
-.I xxd
-ÓÏÚÄÁ£Ô ÒĊÄÓÔÁ×ÌĊÎÉĊ ĠËÁÚÁÎÎÏÇÏ ĈÁÊÌÁ ÉÌÉ ÄÁÎÎÙÈ, ÒÏŜÉÔÁÎÎÙÈ ÉÚ ÏÔÏËÁ
-ÓÔÁÎÄÁÒÔÎÏÇÏ ××ÏÄÁ, × ×ÉÄĊ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÙÈ ËÏÄÏ×. üÔÁ ËÏÍÁÎÄÁ ÔÁËÖĊ ÍÏÖĊÔ
-×ÙÏÌÎÉÔĜ ÏÂÒÁÔÎÏĊ ÒĊÏÂÒÁÚÏ×ÁÎÉĊ ÚÁÄÁÎÎÙÈ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÙÍÉ ËÏÄÁÍÉ ÄÁÎÎÙÈ
-× ÉÓÈÏÄÎÙÊ ÂÉÎÁÒÎÙÊ ĈÏÒÍÁÔ.
-ÏÄÏÂÎÏ ËÏÍÁÎÄÁÍ
-.BR uuencode(1)
-.BR uudecode(1),
-ÏÎÁ ÏÚ×ÏÌÑĊÔ ×ÙÏÌÎÑÔĜ ÒĊÏÂÒÁÚÏ×ÁÎÉĊ ÂÉÎÁÒÎÙÈ ÄÁÎÎÙÈ × ASCII-ËÏÄ,
-ËÏÔÏÒÙÊ ÍÏÖÎÏ ĊÒĊÄÁ×ÁÔĜ Ï ÜÌĊËÔÒÏÎÎÏÊ ÏŜÔĊ, ÏÄÎÁËÏ, ÏÍÉÍÏ ÜÔÏÇÏ, ÒÏÇÒÁÍÍÁ
-xxd ÏÚ×ÏÌÑĊÔ ×ÙÏÌÎÑÔĜ ÄĊËÏÄÉÒÏ×ÁÎÉĊ × ÏÔÏË ÓÔÁÎÄÁÒÔÎÏÇÏ ×Ù×ÏÄÁ,
-Á ÔÁËÖĊ ÍÏÖĊÔ ÒÉÍĊÎÑÔĜÓÑ ÄÌÑ ÓÏÚÄÁÎÉÑ ÚÁÌÁÔÏË ÄÌÑ ÂÉÎÁÒÎÙÈ ĈÁÊÌÏ×.
-.SH ëìàŝé úáġóëá
-ċÓÌÉ
-.I ×ÈÏÄÎÏÊ_ĈÁÊÌ
-ÎĊ ÚÁÄÁÎ, ÔÏ ÓÏÏÔ×ĊÔÓÔ×ĠÀŬÉĊ ÄÁÎÎÙĊ ŜÉÔÁÀÔÓÑ ÉÚ ÏÔÏËÁ ÓÔÁÎÄÁÒÔÎÏÇÏ ××ÏÄÁ.
-÷ ÓÌĠŜÁĊ, ĊÓÌÉ × ËÁŜĊÓÔ×Ċ
-.I ×ÈÏÄÎÏÇÏ_ĈÁÊÌÁ
-ÉÓÏÌĜÚĠĊÔÓÑ ÓÉÍ×ÏÌ
-.RB \` \- ',
-ÉÓÔÏŜÎÉËÏÍ ÄÁÎÎÙÈ ÔÁËÖĊ ×ÙÓÔĠÁĊÔ ÏÔÏË ÓÔÁÎÄÁÒÔÎÏÇÏ ××ÏÄÁ.
-÷ ÔÏÍ ÓÌĠŜÁĊ, ĊÓÌÉ ÎĊ ĠËÁÚÁÎ
-.I ×ÙÈÏÄÎÏÊ_ĈÁÊÌ
-(ÉÌÉ ×ÍĊÓÔÏ ÎĊÇÏ ÉÓÏÌĜÚĠĊÔÓÑ ÓÉÍ×ÏÌ
-.RB \` \- '
-), ÒĊÚĠÌĜÔÁÔ ÒĊÏÂÒÁÚÏ×ÁÎÉÑ ÎÁÒÁ×ÌÑĊÔÓÑ × ÏÔÏË ÓÔÁÎÄÁÒÔÎÏÇÏ ×Ù×ÏÄÁ.
-.PP
-ïÂÒÁÔÉÔĊ ×ÎÉÍÁÎÉĊ, ŜÔÏ ÉÓÏÌĜÚĠĊÔÓÑ "ÌĊÎÉ×ÙÊ" ÁÌÇÏÒÉÔÍ ÒÁÚÂÏÒÁ ËÌÀŜĊÊ, ËÏÔÏÒÙÊ ÎĊ
-ÒÏ×ĊÒÑĊÔ ÂÏÌĊĊ ÏÄÎÏÊ ÂĠË×Ù ËÌÀŜÁ, ĊÓÌÉ × ÜÔÏÍ ËÌÀŜĊ ÎĊ ÉÓÏÌĜÚĠĊÔÓÑ ÁÒÁÍĊÔÒ.
-ÒÏÂĊÌÙ ÍĊÖÄĠ ĊÄÉÎÓÔ×ĊÎÎÙÍ ÓÉÍ×ÏÌÏÍ ËÌÀŜÁ É ÓÏÏÔ×ĊÔÓÔ×ĠÀŬÉÍ ÁÒÁÍĊÔÒÏÍ ÎĊ Ñ×ÌÑÀÔÓÑ
-ÏÂÑÚÁÔĊÌĜÎÙÍÉ. ÁÒÁÍĊÔÒÙ ËÌÀŜĊÊ ÍÏÇĠÔ ÂÙÔĜ ÚÁÄÁÎÙ Ó ÉÓÏÌĜÚÏ×ÁÎÉĊÍ ÄĊÓÑÔÉŜÎÏÇÏ,
-ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ÉÌÉ ×ÏÓĜÍĊÒÉŜÎÏÇÏ ĈÏÒÍÁÔÁ.
-ôÁËÉÍ ÏÂÒÁÚÏÍ, ËÌÀŜÉ
-.BR \-c8 ,
-.BR "\-c 8" ,
-.B \-c 010
-.B \-cols 8
-Ñ×ÌÑÀÔÓÑ ÒÁ×ÎÏÚÎÁŜÎÙÍÉ.
-.PP
-.TP
-.IR \-a " | " \-autoskip
-÷ËÌÀŜÁĊÔ Á×ÔÏÍÁÔÉŜĊÓËÉÊ ÒÏĠÓË: ×ÍĊÓÔÏ ÏÓÌĊÄÏ×ÁÔĊÌĜÎÏÓÔÉ
-ÎĠÌĊ×ÙÈ ÓÔÒÏË ÉÓÏÌĜÚĠĊÔÓÑ ÏÄÉÎÏŜÎÙÊ ÓÉÍ×ÏÌ '*'. Ï ĠÍÏÌŜÁÎÉÀ
-ÎĊ ÒÉÍĊÎÑĊÔÓÑ.
-.TP
-.IR \-b " | " \-bits
-÷ÍĊÓÔÏ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ËÏÄÁ ÉÓÏÌĜÚĠÀÔÓÑ ÂÉÔÙ (Ä×ÏÉŜÎÙĊ ÉĈÒÙ).
-ÒÉ ÉÓÏÌĜÚÏ×ÁÎÉÉ ÜÔÏÇÏ ËÌÀŜÁ ×ÍĊÓÔÏ ÏÂÙŜÎÏÇÏ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ÒĊÄÓÔÁ×ÌĊÎÉÑ
-ÏËÔĊÔÏ× ÉÓÏÌĜÚĠÀÔÓÑ ÎÁÂÏÒÙ ÉÚ ×ÏÓĜÍÉ ÓÉÍ×ÏÌÏ× "1" É "0". ëÁÖÄÁÑ ÓÔÒÏËÁ
-ÒĊÄ×ÁÒÑĊÔÓÑ ÎÏÍĊÒÏÍ ÓÔÒÏËÉ × ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÍ ×ÉÄĊ, Á ÚÁ×ĊÒÛÁĊÔÓÑ ÓÉÍ×ÏÌĜÎÙÍ
-ÒĊÄÓÔÁ×ÌĊÎÉĊÍ (× ×ÉÄĊ ascii ÉÌÉ ebcdic). ëÌÀŜÉ \-r, \-p, \-i × ÜÔÏÍ ÒĊÖÉÍĊ
-ÎĊ ÒÁÂÏÔÁÀÔ.
-.TP
-.IR "\-c ËÏÌ " | " \-cols ËÏÌ"
-úÁÄÁ£Ô ËÏÌÉŜĊÓÔ×Ï ÏËÔĊÔÏ×
-.RI < ËÏÌ >,
-ËÏÔÏÒÏĊ ×Ù×ÏÄÉÔÓÑ ÎÁ ËÁÖÄÏÊ ÓÔÒÏËĊ. Ï ĠÍÏÌŜÁÎÉÀ ÉÓÏÌĜÚĠĊÔÓÑ ÚÎÁŜĊÎÉĊ 16
-(\-i: 12, \-ps: 30, \-b: 6).
-íÁËÓÉÍÁÌĜÎÏ ÄÏĠÓÔÉÍÏĊ ÚÎÁŜĊÎÉĊ: 256.
-.TP
-.IR \-E " | " \-EBCDIC
-éÚÍĊÎÑĊÔ ÓÏÓÏ ËÏÄÉÒÏ×ÁÎÉÑ ÓÉÍ×ÏÌÏ× × ÒÁ×ÏÊ ËÏÌÏÎËĊ Ó ASCII ÎÁ EBCDIC. üÔÏÔ ËÌÀŜ
-ÎĊ ÉÚÍĊÎÑĊÔ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏĊ ÒĊÄÓÔÁ×ÌĊÎÉĊ. äÁÎÎÙÊ ËÌÀŜ ÎĊ ÉÍĊĊÔ ÓÍÙÓÌÁ,
-ĊÓÌÉ ÉÓÏÌĜÚĠÀÔÓÑ ËÌÀŜÉ \-r, \-p ÉÌÉ \-i.
-.TP
-.IR "\-g ÂÁÊÔ " | " \-groupsize ÂÁÊÔ"
-ÏÚ×ÏÌÑĊÔ ×ÙÏÌÎÑÔĜ ÇÒĠÉÒÏ×ËĠ ĠËÁÚÁÎÎÏÇÏ ËÏÌÉŜĊÓÔ×Á
-.RI < ÂÁÊÔÏ× >
-(Ä×Ċ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÙĊ ÉĈÒÙ ÉÌÉ ×ÏÓĊÍĜ ÂÉÔÏ×), ÏÔÄĊÌÑÑ ÇÒĠÙ ÄÒĠÇ ÏÔ ÄÒĠÇÁ ÒÏÂĊÌÁÍÉ.
-úÎÁŜĊÎÉĊ
-.I \-g 0
-ÒÉÍĊÎÑĊÔÓÑ ÄÌÑ ÏÔËÁÚÁ ÏÔ ÉÓÏÌĜÚÏ×ÁÎÉÑ ÇÒĠÉÒÏ×ËÉ.
-Ï ĠÍÏÌŜÁÎÉÀ ÉÓÏÌĜÚĠĊÔÓÑ ÚÎÁŜĊÎÉĊ
-.RI < ÂÁÊÔ "> ÒÁ×ÎÏĊ " 2
-× ÏÂÙŜÎÏÍ ÒĊÖÉÍĊ É \fI1\fP × ÂÉÔÏ×ÏÍ ÒĊÖÉÍĊ. çÒĠÉÒÏ×ËÁ ÎĊ ÒÉÍĊÎÑĊÔÓÑ
-× ÒĊÖÉÍÁÈ postscript É include.
-.TP
-.IR \-h " | " \-help
-÷Ù×ÏÄÉÔ ÓÒÁ×ËĠ Ï ÄÏÓÔĠÎÙÍ ËÌÀŜÁÍ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ É ÚÁ×ĊÒÛÁĊÔ ÒÁÂÏÔĠ ÒÏÇÒÁÍÍÙ.
-óÏÚÄÁÎÉĊ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ÒĊÄÓÔÁ×ÌĊÎÉÑ ÎĊ ×ÙÏÌÎÑĊÔÓÑ.
-.TP
-.IR \-i " | " \-include
-ÏÚ×ÏÌÑĊÔ ÓÏÚÄÁ×ÁÔĜ ×Ù×ÏÄ × ÓÔÉÌĊ ÏÄËÌÀŜÁĊÍÙÈ ÚÁÇÏÌÏ×ÏŜÎÙÈ ĈÁÊÌÏ× ÑÚÙËÁ C.
-÷Ù×ÏÄ ÓÏÄĊÒÖÉÔ ÏÌÎÏĊÎÎÏĊ ÏÒĊÄĊÌĊÎÉĊ ÓÔÁÔÉŜĊÓËÏÇÏ ÍÁÓÓÉ×Á ÄÁÎÎÙÈ, ÉÍÑ ËÏÔÏÒÏÇÏ
-ÓÏÏÔ×ĊÔÓÔ×ĠĊÔ ÉÍĊÎÉ ×ÈÏÄÎÏÇÏ ĈÁÊÌÁ, ĊÓÌÉ xxd ÎĊ ÓŜÉÔÙ×ÁĊÔ ÄÁÎÎÙĊ ÉÚ ÏÔÏËÁ ÓÔÁÎÄÁÒÔÎÏÇÏ
-××ÏÄÁ.
-.TP
-.IR "\-l ÄÌÉÎÁ " | " \-len ÄÌÉÎÁ"
-úÁ×ĊÒÛÁĊÔ ÒÁÂÏÔĠ ÏÓÌĊ ÚÁÉÓÉ ÚÁÄÁÎÎÏÇÏ × ÁÒÁÍĊÔÒĊ
-.RI < ÄÌÉÎÁ >
-ËÏÌÉŜĊÓÔ×Á ÏËÔĊÔÏ×.
-.TP
-.IR \-p " | " \-ps " | " \-postscript " | " \-plain
-éÓÏÌĜÚĠĊÔ ÎĊÒĊÒÙ×ÎÙÊ ĈÏÒÍÁÔ ×Ù×ÏÄÁ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ËÏÄÁ,
-ÉÚ×ĊÓÔÎÙÊ ËÁË "ÒÏÓÔÏÊ" ÓÔÉÌĜ ÉÌÉ ÓÔÉÌĜ "postscript".
-.TP
-.IR \-r " | " \-revert
-éÚÍĊÎÑĊÔ ÓÍÙÓÌ ÏĊÒÁÉÉ ÎÁ ÒÏÔÉ×ÏÏÌÏÖÎÙÊ: ÏÚ×ÏÌÑĊÔ ×ÙÏÌÎÑÔĜ ÒĊÏÂÒÁÚÏ×ÁÎÉĊ
-ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ÒĊÄÓÔÁ×ÌĊÎÉÑ × ÂÉÎÁÒÎÙÊ ËÏÄ (ÉÌÉ ÒÉÍĊÎÑÔĜ ÒĊÚĠÌĜÔÁÔ × ËÁŜĊÓÔ×Ċ ÚÁÌÁÔÙ).
-ċÓÌÉ ×Ù×ÏÄ ÒÏÉÓÈÏÄÉÔ ÎĊ × ÏÔÏË ÓÔÁÎÄÁÒÔÎÏÇÏ ×Ù×ÏÄÁ, ÔÏ xxd ×ÙÏÌÎÑĊÔ ÄÏÂÁ×ÌĊÎÉĊ ËÏÄÁ
-Ë ÓÏÏÔ×ĊÔÓÔ×ĠÀŬĊÍĠ ĈÁÊÌĠ. ÒÉ ÉÓÏÌĜÚÏ×ÁÎÉÉ ËÏÍÂÉÎÁÉÉ ËÌÀŜĊÊ
-.I \-r \-p
-ÒÏÉÓÈÏÄÉÔ ŜÔĊÎÉĊ "ÒÏÓÔÏÇÏ" ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ÒĊÄÓÔÁ×ÌĊÎÉÑ ÂĊÚ ÉÓÏÌĜÚÏ×ÁÎÉÑ
-ÉÎĈÏÒÍÁÉÉ Ï ÎÏÍĊÒÁÈ ÓÔÒÏË É ËÁËÏÇÏ-ÌÉÂÏ ÓĊÉÁÌĜÎÏÇÏ ÒÁÓËÒÏÑ ËÏÌÏÎÏË. ÒÏÂĊÌÙ
-É ÓÉÍ×ÏÌÙ ÎÏ×ÏÊ ÓÔÒÏËÉ ÍÏÇĠÔ ×ÓÔÒĊŜÁÔĜÓÑ × ÌÀÂÏÍ ÍĊÓÔĊ ÉÓÈÏÄÎÙÈ ÄÁÎÎÙÈ.
-.TP
-.I \-seek ÓÍĊŬĊÎÉĊ
-ÒÉ ÉÓÏÌĜÚÏ×ÁÎÉÉ ÏÓÌĊ ËÌÀŜÁ
-.I \-r
-: ÄÏÂÁ×ÌÑÔĜ ĠËÁÚÁÎÎÏĊ
-.RI < ÓÍĊŬĊÎÉĊ >
-Ë ĈÁÊÌÏ×ÙÍ ÏÚÉÉÑÍ, ÏÂÎÁÒĠÖĊÎÎÙÍ × ÉÓÈÏÄÎÙÈ ÄÁÎÎÙÈ.
-.TP
-.I \-s [\+][\-]seek
-îÁŜÉÎÁĊÔ ÒÁÂÏÔĠ Ó ĠËÁÚÁÎÎÏÇÏ ÁÂÓÏÌÀÔÎÏÇÏ (ÉÌÉ ÏÔÎÏÓÉÔĊÌĜÎÏÇÏ)
-.RI < ÓÍĊŬĊÎÉÑ >
-× ÂÁÊÔÁÈ ×Ï ×ÈÏÄÎÏÍ_ĈÁÊÌĊ.
-\fI\+ \fRĠËÁÚÙ×ÁĊÔ, ŜÔÏ ÓÍĊŬĊÎÉĊ Ñ×ÌÑĊÔÓÑ ÏÔÎÏÓÉÔĊÌĜÎÙÍ Ï ÏÔÎÏÛĊÎÉÀ
-Ë ÔĊËĠŬĊÊ ĈÁÊÌÏ×ÏÊ ÏÚÉÉÉ × ÏÔÏËĊ ÓÔÁÎÄÁÒÔÎÏÇÏ ××ÏÄÁ (ÂĊÓÓÍÙÓÌĊÎÎÏ, ĊÓÌÉ ŜÔĊÎÉĊ
-ÒÏÉÓÈÏÄÉÔ ÎĊ ÉÚ ÏÔÏËÁ ÓÔÁÎÄÁÒÔÎÏÇÏ ××ÏÄÁ). \fI\- \fRĠËÁÚÙ×ÁĊÔ, ŜÔÏ ÄÏÌÖÎÏ ÂÙÔĜ ÒÏŜÉÔÁÎÏ
-ĠËÁÚÁÎÎÏĊ ËÏÌÉŜĊÓÔ×Ï ÓÉÍ×ÏÌÏ× ÏÔ ËÏÎÁ ××ÏÄÁ (ÌÉÂÏ, ĊÓÌÉ ÓÏŜĊÔÁĊÔÓÑ Ó \fI \+ \fR:
-ĊÒĊÄ ÔĊËĠŬĊÊ ÏÚÉÉÉ ĈÁÊÌÁ × ÏÔÏËĊ ÓÔÁÎÄÁÒÔÎÏÇÏ ××ÏÄÁ).
-ċÓÌÉ ËÌÀŜ \-s ÎĊ ÉÓÏÌĜÚĠĊÔÓÑ, ÔÏ xxd ÎÁŜÉÎÁĊÔ ÒÁÂÏÔĠ ÏÔ ÔĊËĠŬĊÊ ÏÚÉÉÉ × ĈÁÊÌĊ.
-.TP
-.I \-u
-éÓÏÌĜÚĠĊÔ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÙĊ ÉĈÒÙ × ×ĊÒÈÎĊÍ ÒĊÇÉÓÔÒĊ. Ï ĠÍÏÌŜÁÎÉÀ ÉÓÏÌĜÚĠÀÔÓÑ ÉĈÒÙ ×
-ÎÉÖÎĊÍ ÒĊÇÉÓÔÒĊ ÓÉÍ×ÏÌÏ×.
-.TP
-.IR \-v " | " \-version
-ïÔÏÂÒÁÖÁĊÔ ÉÎĈÏÒÍÁÉÀ Ï ×ĊÒÓÉÉ ÒÏÇÒÁÍÍÙ.
-.SH ïä÷ïäîùċ ëáíîé
-.PP
-.I xxd \-r
-ÏÂÌÁÄÁĊÔ ×ÓÔÒÏĊÎÎÙÍ ÉÎÔĊÌÌĊËÔÏÍ ÄÌÑ ÒÁÓÏÚÎÁ×ÁÎÉÑ ÉÎĈÏÒÍÁÉÉ Ï ÎÏÍĊÒÁÈ ÓÔÒÏË.
-ċÓÌÉ ×ÏÚÍÏÖĊÎ ÏÉÓË Ï ×ÈÏÄÎÏÍĠ ĈÁÊÌĠ, ÔÏ ÎÏÍĊÒÁ ÓÔÒÏË × ÎÁŜÁÌĊ ËÁÖÄÏÊ ÓÔÒÏËÉ
-ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ÒĊÄÓÔÁ×ÌĊÎÉÑ ÍÏÇĠÔ ÂÙÔĜ ÎĊĠÏÒÑÄÏŜĊÎÎÙÍÉ, ÎĊËÏÔÏÒÙĊ ÓÔÒÏËÉ ÍÏÇĠÔ
-ÂÙÔĜ ÒÏĠŬĊÎÙ ÉÌÉ ĊÒĊÓĊËÁÔĜÓÑ ÄÒĠÇ Ó ÄÒĠÇÏÍ. ÷ ÜÔÉÈ ÓÌĠŜÁÑÈ xxd ÉÓÏÌĜÚĠĊÔ
-lseek(2) ÄÌÑ ĊÒĊÈÏÄÁ Ë ÓÌĊÄĠÀŬĊÊ ÏÚÉÉÉ. ċÓÌÉ ÏÉÓË Ï ×ÈÏÄÎÏÍĠ ĈÁÊÌĠ
-ÎĊ×ÏÚÍÏÖĊÎ, ÔÏ ÄÏĠÓÔÉÍÙ ÔÏÌĜËÏ ÒÏĠÓËÉ ÓÔÒÏË, ËÏÔÏÒÙĊ ÚÁÏÌÎÑÀÔÓÑ ÎĠÌĊ×ÙÍÉ
-ÂÁÊÔÁÍÉ.
-.PP
-.I xxd \-r
-ÎÉËÏÇÄÁ ÎĊ ×Ù×ÏÄÉÔ ÓÏÏÂŬĊÎÉÊ Ï ÏÛÉÂËÁÈ. íĠÓÏÒ ÒÏĠÓËÁĊÔÓÑ ÍÏÌŜÁ.
-.PP
-ÒÉ ÒĊÄÁËÔÉÒÏ×ÁÎÉÉ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÙÈ ÒĊÄÓÔÁ×ÌĊÎÉÊ ÂÉÎÁÒÎÙÈ ĈÁÊÌÏ× ÏÂÒÁŬÁÊÔĊ
-×ÎÉÍÁÎÉĊ, ŜÔÏ
-.I xxd \-r
-ÒÏĠÓËÁĊÔ × ÓÔÒÏËĊ ××ÏÄÁ ÌÀÂÙĊ ÄÁÎÎÙĊ ÏÓÌĊ ÒÏŜÔĊÎÉÑ ÄÏÓÔÁÔÏŜÎÏÇÏ ËÏÌÉŜĊÓÔ×Á
-ËÏÌÏÎÏË ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÙÈ ÄÁÎÎÙÈ (ÓÍ. ËÌÀŜ \-c). üÔÏ ÏÚÎÁŜÁĊÔ, ŜÔÏ ÉÚÍĊÎĊÎÉÑ,
-×ÎĊÓĊÎÎÙĊ × ËÏÌÏÎËÉ Ó ĊŜÁÔÎÙÍÉ ÓÉÍ×ÏÌÁÍÉ ascii (ÉÌÉ ebcdic), ×ÓĊÇÄÁ ÉÇÎÏÒÉÒĠÀÔÓÑ.
-ÒÉ ÏÂÒÁÔÎÏÍ ÒĊÏÂÒÁÚÏ×ÁÎÉÉ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ÒĊÄÓÔÁ×ÌĊÎÉÑ × ÓÔÉÌĊ
-postscript Ó ÏÍÏŬĜÀ ËÏÍÁÎÄÙ xxd \-r \-p ËÏÌÉŜĊÓÔ×Ï ËÏÌÏÎÏË ÎĊ ĠŜÉÔÙ×ÁĊÔÓÑ.
-÷ ÜÔÏÍ ÓÌĠŜÁĊ ÒÁÓÏÚÎÁÀÔÓÑ ×ÓĊ ÓÉÍ×ÏÌÙ, ËÏÔÏÒÙĊ ÏÈÏÖÉ ÎÁ ÁÒÙ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÙÈ ÉĈÒ.
-.PP
-ïÂÒÁÔÉÔĊ ×ÎÉÍÁÎÉĊ ÎÁ ÒÁÚÌÉŜÉĊ ÍĊÖÄĠ ËÏÍÁÎÄÁÍÉ
-.PP
-\fI% xxd \-i ĈÁÊÌ\fR
-.PP
-.PP
-\fI% xxd \-i \< ĈÁÊÌ\fR
-.PP
-ëÏÍÁÎÄÁ
-.I xxd \-s \+seek
-ÍÏÖĊÔ ÏÔÌÉŜÁÔĜÓÑ ÏÔ
-.I xxd \-s seek,
-ÏÓËÏÌĜËĠ ÄÌÑ ÔÏÇÏ, ŜÔÏÂÙ "ÏÔÍÏÔÁÔĜ" ÄÁÎÎÙĊ ÎÁ ×ÈÏÄĊ ÎÁÚÁÄ, ÉÓÏÌĜÚĠĊÔÓÑ ×ÙÚÏ× lseek(2).
-ÒÉ ÉÓÏÌĜÚÏ×ÁÎÉÉ `+' Ï×ĊÄĊÎÉĊ ÂĠÄĊÔ ÏÔÌÉŜÁÔĜÓÑ, ĊÓÌÉ ×ÈÏÄÎÙĊ ÄÁÎÎÙĊ
-ÏÓÔĠÁÀÔ Ó ÏÔÏËÁ ÓÔÁÎÄÁÒÔÎÏÇÏ ××ÏÄÁ, Á ÏÚÉÉÑ × ĈÁÊÌĊ ÓÔÁÎÄÁÒÔÎÏÇÏ ××ÏÄÁ ÎĊ ÎÁÈÏÄÉÔÓÑ
-× ÎÁŜÁÌĊ ĈÁÊÌÁ Ë ÔÏÍĠ ÍÏÍĊÎÔĠ, ËÏÇÄÁ ÒÏÇÒÁÍÍÁ xxd ÚÁĠŬĊÎÁ É ÒÉÓÔĠÁĊÔ Ë ŜÔĊÎÉÀ ××ÏÄÁ.
-îÉÖĊÓÌĊÄĠÀŬÉĊ ÒÉÍĊÒÙ ÏÍÏÇĠÔ ÒÏÑÓÎÉÔĜ (ÉÌÉ ĊŬ£ ÂÏÌĜÛĊ ÚÁĠÔÁÔĜ!) ÓÉÔĠÁÉÀ...
-.PP
-ïÔÍÏÔËÁ ÎÁÚÁÄ ÏÔÏËÁ ÓÔÁÎÄÁÒÔÎÏÇÏ ××ÏÄÁ; ÎĊÏÂÈÏÄÉÍÏ, ÏÓËÏÌĜËĠ 'cat' ĠÖĊ ×ÙÏÌÎÉÌÁ
-ŜÔĊÎÉĊ ÄÏ ËÏÎÁ ÏÔÏËÁ ÓÔÁÎÄÁÒÔÎÏÇÏ ××ÏÄÁ:
-.PP
-\fI% sh \-c 'cat > plain_copy; xxd \-s 0 > hex_copy' < file
-.PP
-÷Ù×ÏÄ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ÒĊÄÓÔÁ×ÌĊÎÉÑ ÏÔ ÏÚÉÉÉ × ĈÁÊÌĊ 0x480
-(= 1024+128).
-óÉÍ×ÏÌ `+' ÏÚÎÁŜÁĊÔ "ÏÔÎÏÓÉÔĊÌĜÎÏ ÔĊËĠŬĊÊ ÏÚÉÉÉ", ÔÁËÉÍ ÏÂÒÁÚÏÍ `128' ÄÏÂÁ×ÌÑĊÔÓÑ
-Ë ĊÒ×ÏÍĠ ËÉÌÏÂÁÊÔĠ, ÇÄĊ ÚÁ×ĊÒÛÁĊÔ ÒÁÂÏÔĠ dd:
-.PP
-\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +128 > hex_snippet' < file
-.PP
-÷Ù×ÏÄ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ÒĊÄÓÔÁ×ÌĊÎÉÑ ÏÔ ÏÚÉÉÉ × ĈÁÊÌĊ 0x100
-(= 1024-768):
-.PP
-\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +-768 > hex_snippet' < file
-.PP
-÷ ÔÏ ÖĊ ×ÒĊÍÑ, ÓÌĊÄĠĊÔ ÚÁÍĊÔÉÔĜ, ŜÔÏ ÏÄÏÂÎÙĊ ÓÉÔĠÁÉÉ ×ÓÔÒĊŜÁÀÔÓÑ ÄÏ×ÏÌĜÎÏ ÒĊÄËÏ,
-ÔÁË ŜÔÏ ÓÉÍ×ÏÌ `+' ÏÂÙŜÎÏ ÎĊ ÉÓÏÌĜÚĠĊÔÓÑ. á×ÔÏÒ ÒĊÄÏŜÉÔÁĊÔ ÎÁÂÌÀÄÁÔĜ ÚÁ ÒÁÂÏÔÏÊ
-xxd Ó ÏÍÏŬĜÀ strace(1) ÉÌÉ truss(1) × ÔĊÈ ÓÌĠŜÁÑÈ, ËÏÇÄÁ ÒÉÍĊÎÑĊÔÓÑ ËÌÀŜ
-\-s.
-.SH òéíċòù
-.PP
-.br
-÷Ù×ĊÓÔÉ ×Ó£, ËÒÏÍĊ ĊÒ×ÙÈ ÔÒ£È ÓÔÒÏË (0x30 ÂÁÊÔÏ×) ĈÁÊÌÁ
-.B file
-:
-.PP
-\fI% xxd \-s 0x30 file
-.PP
-.br
-÷Ù×ĊÓÔÉ ÔÒÉ ÓÔÒÏËÉ (0x30 ÂÁÊÔÏ×) ÏÔ ËÏÎÁ ĈÁÊÌÁ
-.B file
-:
-.PP
-\fI% xxd \-s \-0x30 file
-.PP
-.br
-÷Ù×ĊÓÔÉ 120 ÂÁÊÔÏ× × ×ÉÄĊ ÎĊÒĊÒÙ×ÎÏÇÏ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ÒĊÄÓÔÁ×ÌĊÎÉÑ
-Ï 20 ÏËÔĊÔÏ× × ÓÔÒÏËĊ:
-.PP
-\fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR
-.br
-2e544820585844203120224d616e75616c207061
-.br
-676520666f7220787864220a2e5c220a2e5c2220
-.br
-32317374204d617920313939360a2e5c22204d61
-.br
-6e207061676520617574686f723a0a2e5c222020
-.br
-2020546f6e79204e7567656e74203c746f6e7940
-.br
-7363746e7567656e2e7070702e67752e6564752e
-.br
-.PP
-.br
-÷Ù×ĊÓÔÉ ĊÒ×ÙĊ 120 ÂÁÊÔÏ× ÜÔÏÊ ÓÔÒÁÎÉÙ ÓÒÁ×ÏŜÎÉËÁ Ï 12 ÏËÔĊÔÏ× × ÓÔÒÏËĊ:
-.PP
-\fI% xxd \-l 120 \-c 12 xxd.1\fR
-.br
-0000000: 2e54 4820 5858 4420 3120 224d .TH XXD 1 "M
-.br
-000000c: 616e 7561 6c20 7061 6765 2066 anual page f
-.br
-0000018: 6f72 2078 7864 220a 2e5c 220a or xxd"..\\".
-.br
-0000024: 2e5c 2220 3231 7374 204d 6179 .\\" 21st May
-.br
-0000030: 2031 3939 360a 2e5c 2220 4d61 1996..\\" Ma
-.br
-000003c: 6e20 7061 6765 2061 7574 686f n page autho
-.br
-0000048: 723a 0a2e 5c22 2020 2020 546f r:..\\" To
-.br
-0000054: 6e79 204e 7567 656e 7420 3c74 ny Nugent <t
-.br
-0000060: 6f6e 7940 7363 746e 7567 656e ony@sctnugen
-.br
-000006c: 2e70 7070 2e67 752e 6564 752e .ppp.gu.edu.
-.PP
-.br
-ÏËÁÚÁÔĜ ÄÁÔĠ ÉÚ ĈÁÊÌÁ xxd.1:
-.PP
-\fI% xxd \-s 0x28 \-l 12 \-c 12 xxd.1\fR
-.br
-0000028: 3231 7374 204d 6179 2031 3939 21st May 199
-.PP
-.br
-óËÏÉÒÏ×ÁÔĜ
-.B ×ÈÏÄÎÏÊ_ĈÁÊÌ
-.B ×ÙÈÏÄÎÏÊ_ĈÁÊÌ
-Ó ÄÏÂÁ×ÌĊÎÉĊÍ 100 ÂÁÊÔÏ× ÓÏ ÚÎÁŜĊÎÉĊÍ 0x00 × ÎÁŜÁÌÏ ĈÁÊÌÁ:
-.PP
-\fI% xxd ×ÈÏÄÎÏÊ_ĈÁÊÌ | xxd \-r \-s 100 \> ×ÙÈÏÄÎÏÊ_ĈÁÊÌ\fR
-.br
-.PP
-.br
-úÁÍĊÎÉÔĜ ÄÁÔĠ × ĈÁÊÌĊ xxd.1:
-.PP
-\fI% echo '0000029: 3574 68' | xxd \-r \- xxd.1\fR
-.br
-\fI% xxd \-s 0x28 \-l 12 \-c 12 xxd.1\fR
-.br
-0000028: 3235 7468 204d 6179 2031 3939 25th May 199
-.PP
-.br
-óÏÚÄÁÔĜ 65537-ÂÁÊÔÎÙÊ ĈÁÊÌ, ×ÓĊ ÂÁÊÔÙ ËÏÔÏÒÏÇÏ ÉÍĊÀÔ ÚÎÁŜĊÎÉĊ
-0x00, ËÒÏÍĊ ÏÓÌĊÄÎĊÇÏ ÂÁÊÔÁ, ËÏÔÏÒÙÊ ÄÏÌÖĊÎ ÉÍĊÔĜ ÚÎÁŜĊÎÉĊ 'A'
-(0x41):
-.PP
-\fI% echo '010000: 41' | xxd \-r \> file\fR
-.PP
-.br
-óÏÚÄÁÔĜ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏĊ ÒĊÄÓÔÁ×ÌĊÎÉĊ ÜÔÏÇÏ ĈÁÊÌÁ Ó
-ÉÓÏÌĜÚÏ×ÁÎÉĊÍ Á×ÔÏÍÁÔÉŜĊÓËÏÇÏ ÒÏĠÓËÁ:
-.PP
-\fI% xxd \-a \-c 12 file\fR
-.br
-0000000: 0000 0000 0000 0000 0000 0000 ............
-.br
-*
-.br
-000fffc: 0000 0000 40 ....A
-.PP
-óÏÚÄÁÔĜ 1-ÂÁÊÔÎÙÊ ĈÁÊÌ, ÓÏÄĊÒÖÁŬÉÊ ÓÉÍ×ÏÌ 'A'.
-ŝÉÓÌÏ ÏÓÌĊ '\-r \-s' ÄÏÂÁ×ÌÑĊÔÓÑ Ë ÎÏÍĊÒÁÍ ÓÔÒÏË, ÎÁÊÄĊÎÎÙÍ × ĈÁÊÌĊ;
-ÉÎÁŜĊ ÇÏ×ÏÒÑ, ÒĊÄÛĊÓÔ×ĠÀŬÉĊ ÂÁÊÔÙ ÒÏĠÓËÁÀÔÓÑ:
-.PP
-\fI% echo '010000: 41' | xxd \-r \-s \-0x10000 \> file\fR
-.PP
-xxd ÍÏÖÎÏ ÉÓÏÌĜÚÏ×ÁÔĜ × ËÁŜĊÓÔ×Ċ ĈÉÌĜÔÒÁ × ÒĊÄÁËÔÏÒĊ, ÎÁÒÉÍĊÒ ×
-.B vim(1),
-ŜÔÏÂÙ ÓÏÚÄÁÔĜ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏĊ ÒĊÄÓÔÁ×ÌĊÎÉĊ ÏÂÌÁÓÔÉ ÍĊÖÄĠ
-ÏÔÍĊÔËÁÍÉ `a' É `z':
-.PP
-\fI:'a,'z!xxd\fR
-.PP
-÷Ù ÍÏÖĊÔĊ ÉÓÏÌĜÚÏ×ÁÔĜ xxd × ËÁŜĊÓÔ×Ċ ĈÉÌĜÔÒÁ × ÒĊÄÁËÔÏÒĊ, ÎÁÒÉÍĊÒ ×
-.B vim(1),
-ÄÌÑ ×ÏÓÓÔÁÎÏ×ÌĊÎÉÑ ÄÁÎÎÙÈ ÉÚ ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ÒĊÄÓÔÁ×ÌĊÎÉÑ
-ÍĊÖÄĠ ÏÔÍĊÔËÁÍÉ `a' É `z':
-.PP
-\fI:'a,'z!xxd \-r\fR
-.PP
-÷Ù ÍÏÖĊÔĊ ÉÓÏÌĜÚÏ×ÁÔĜ xxd × ËÁŜĊÓÔ×Ċ ĈÉÌĜÔÒÁ × ÒĊÄÁËÔÏÒĊ, ÎÁÒÉÍĊÒ ×
-.B vim(1),
-ÄÌÑ ×ÏÓÓÔÁÎÏ×ÌĊÎÉÑ ÄÁÎÎÙÈ ÉÚ ĊÄÉÎÓÔ×ĊÎÎÏÊ ÓÔÒÏËÉ
-ÛĊÓÔÎÁÄÁÔĊÒÉŜÎÏÇÏ ÒĊÄÓÔÁ×ÌĊÎÉÑ. ÏÍĊÓÔÉÔĊ ËĠÒÓÏÒ × ÓÏÏÔ×ĊÔÓÔ×ĠÀŬĠÀ ÓÔÒÏËĠ
-É ÎÁÂĊÒÉÔĊ
-.PP
-\fI!!xxd \-r\fR
-.PP
-ŝÔÏÂÙ ÒÏŜÉÔÁÔĜ ĊÄÉÎÓÔ×ĊÎÎÙÊ ÓÉÍ×ÏÌ ÉÚ ËÁÎÁÌÁ Ó×ÑÚÉ:
-.PP
-\fI% xxd \-c1 < /dev/term/b &\fR
-.br
-\fI% stty < /dev/term/b \-echo \-opost \-isig \-icanon min 1\fR
-.br
-\fI% echo \-n foo > /dev/term/b\fR
-.PP
-.SH ÷ïú÷òáŭáċíùċ úîáŝċîéñ
-ÒÏÇÒÁÍÍÁ xxd ÚÁ×ĊÒÛÁĊÔ ÒÁÂÏÔĠ ÓÏ ÓÌĊÄĠÀŬÉÍÉ ÚÎÁŜĊÎÉÑÍÉ:
-.TP
-0
-ïÛÉÂËÉ ÎĊ ÏÂÎÁÒĠÖĊÎÙ.
-.TP
-\-1
-ïĊÒÁÉÑ ÎĊ ÏÄÄĊÒÖÉ×ÁĊÔÓÑ (×ÙÏÌÎĊÎÉĊ
-.I xxd \-r \-i
-ÏËÁ ÎĊ×ÏÚÍÏÖÎÏ).
-.TP
-1
-ïÛÉÂËÁ ÒÉ ÒÁÚÂÏÒĊ ËÌÀŜĊÊ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ.
-.TP
-2
-ÒÏÂÌĊÍÙ ×Ï ×ÈÏÄÎÏÍ ĈÁÊÌĊ.
-.TP
-3
-ÒÏÂÌĊÍÙ × ×ÙÈÏÄÎÏÍ ĈÁÊÌĊ.
-.TP
-4,5
-öĊÌÁÔĊÌĜÎÁÑ ÏÚÉÉÑ ÏÉÓËÁ ÎĊÄÏÓÔÉÖÉÍÁ.
-.SH óíïôòé ôáëöċ
-uuencode(1), uudecode(1), patch(1)
-.br
-.SH òċäġòċöäċîéċ
-óÔÒÁÎÎÏÓÔĜ ÜÔÏÊ ÒÏÇÒÁÍÍÙ ÓÏÏÔ×ĊÔÓÔ×ĠĊÔ ÏÓÏÂĊÎÎÏÓÔÑÍ ÍÏÚÇÁ Ċ£ ÓÏÚÄÁÔĊÌÑ.
-éÓÏÌĜÚĠÊÔĊ Ċ£ ÎÁ Ó×ÏÊ ÓÔÒÁÈ É ÒÉÓË. ëÏÉÒĠÊÔĊ ĈÁÊÌÙ, ÏÔÓÌĊÖÉ×ÁÊÔĊ
-×ÙÚÏ×Ù, ÓÔÁÎÏ×ÉÔĊÓĜ ×ÏÌÛĊÂÎÉËÏÍ.
-.br
-.SH ÷ċòóéñ
-üÔÁ ÓÔÒÁÎÉÁ ÓÒÁ×ÏŜÎÉËÁ ÄÏËĠÍĊÎÔÉÒĠĊÔ xxd ×ĊÒÓÉÉ 1.7.
-.SH á÷ôïò
-.br
-(c) 1990-1997 àÒÇĊÎ ÷ÁÊÇĊÒÔ (Juergen Weigert)
-.br
-<jnweiger@informatik.uni-erlangen.de>
-.LP
-÷Ù ÍÏÖĊÔĊ Ó×ÏÂÏÄÎÏ ÒÁÓÒÏÓÔÒÁÎÑÔĜ ÒÏÇÒÁÍÍĠ ÓÏ ÓÓÙÌËÏÊ ÎÁ ÍĊÎÑ.
-.br
-ċÓÌÉ ÉÓÏÌĜÚÏ×ÁÎÉĊ ÜÔÏÊ ÒÏÇÒÁÍÍÙ ÒÉÎĊÓÌÏ ×ÁÍ ËÁËÏÊ-ÔÏ ÄÏÈÏÄ,
-ÏÄĊÌÉÔĊÓĜ ÓÏ ÍÎÏÊ.
-.br
-ċÓÌÉ ×Ù ÏÔĊÒÑÌÉ ÄĊÎĜÇÉ, ÔÏ Ñ ÔĠÔ ÎĊ ÒÉŜ£Í.
-.PP
-ĊÒ×ÙÊ ×ÁÒÉÁÎÔ ÓÔÒÁÎÉÙ ÓÒÁ×ÏŜÎÉËÁ ÎÁÉÓÁÎ ôÏÎÉ îÁÄÖĊÎÔÏÍ (Tony Nugent)
-.br
-<tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
-.br
-îĊÂÏÌĜÛÉĊ ÉÚÍĊÎĊÎÉÑ ×ÎĊÓĊÎÙ âÒÁÍÏÍ íÏÏÌĊÎÁÁÒÏÍ (Bram Moolenaar).
-óÔÒÁÎÉÁ ÏÔÒĊÄÁËÔÉÒÏ×ÁÎÁ àÒÇĊÎÏÍ ÷ÁÊÇĊÒÔÏÍ (Juergen Weigert).
-.PP
diff --git a/runtime/doc/xxd.man b/runtime/doc/xxd.man
deleted file mode 100644
index 057c8e911b..0000000000
--- a/runtime/doc/xxd.man
+++ /dev/null
@@ -1,262 +0,0 @@
-XXD(1) XXD(1)
-
-
-
-NAME
- xxd - make a hexdump or do the reverse.
-
-SYNOPSIS
- xxd -h[elp]
- xxd [options] [infile [outfile]]
- xxd -r[evert] [options] [infile [outfile]]
-
-DESCRIPTION
- xxd creates a hex dump of a given file or standard input. It can also
- convert a hex dump back to its original binary form. Like uuencode(1)
- and uudecode(1) it allows the transmission of binary data in a `mail-
- safe' ASCII representation, but has the advantage of decoding to stan-
- dard output. Moreover, it can be used to perform binary file patching.
-
-OPTIONS
- If no infile is given, standard input is read. If infile is specified
- as a `-' character, then input is taken from standard input. If no
- outfile is given (or a `-' character is in its place), results are sent
- to standard output.
-
- Note that a "lazy" parser is used which does not check for more than
- the first option letter, unless the option is followed by a parameter.
- Spaces between a single option letter and its parameter are optional.
- Parameters to options can be specified in decimal, hexadecimal or octal
- notation. Thus -c8, -c 8, -c 010 and -cols 8 are all equivalent.
-
-
- -a | -autoskip
- toggle autoskip: A single '*' replaces nul-lines. Default off.
-
- -b | -bits
- Switch to bits (binary digits) dump, rather than hexdump. This
- option writes octets as eight digits "1"s and "0"s instead of a
- normal hexadecimal dump. Each line is preceded by a line number
- in hexadecimal and followed by an ascii (or ebcdic) representa-
- tion. The command line switches -r, -p, -i do not work with this
- mode.
-
- -c cols | -cols cols
- format <cols> octets per line. Default 16 (-i: 12, -ps: 30, -b:
- 6). Max 256.
-
- -E | -EBCDIC
- Change the character encoding in the righthand column from ASCII
- to EBCDIC. This does not change the hexadecimal representation.
- The option is meaningless in combinations with -r, -p or -i.
-
- -g bytes | -groupsize bytes
- separate the output of every <bytes> bytes (two hex characters
- or eight bit-digits each) by a whitespace. Specify -g 0 to sup-
- press grouping. <Bytes> defaults to 2 in normal mode and 1 in
- bits mode. Grouping does not apply to postscript or include
- style.
-
- -h | -help
- print a summary of available commands and exit. No hex dumping
- is performed.
-
- -i | -include
- output in C include file style. A complete static array defini-
- tion is written (named after the input file), unless xxd reads
- from stdin.
-
- -l len | -len len
- stop after writing <len> octets.
-
- -p | -ps | -postscript | -plain
- output in postscript continuous hexdump style. Also known as
- plain hexdump style.
-
- -r | -revert
- reverse operation: convert (or patch) hexdump into binary. If
- not writing to stdout, xxd writes into its output file without
- truncating it. Use the combination -r -p to read plain hexadeci-
- mal dumps without line number information and without a particu-
- lar column layout. Additional Whitespace and line-breaks are
- allowed anywhere.
-
- -seek offset
- When used after -r: revert with <offset> added to file positions
- found in hexdump.
-
- -s [+][-]seek
- start at <seek> bytes abs. (or rel.) infile offset. + indicates
- that the seek is relative to the current stdin file position
- (meaningless when not reading from stdin). - indicates that the
- seek should be that many characters from the end of the input
- (or if combined with +: before the current stdin file position).
- Without -s option, xxd starts at the current file position.
-
- -u use upper case hex letters. Default is lower case.
-
- -v | -version
- show version string.
-
-CAVEATS
- xxd -r has some builtin magic while evaluating line number information.
- If the output file is seekable, then the linenumbers at the start of
- each hexdump line may be out of order, lines may be missing, or over-
- lapping. In these cases xxd will lseek(2) to the next position. If the
- output file is not seekable, only gaps are allowed, which will be
- filled by null-bytes.
-
- xxd -r never generates parse errors. Garbage is silently skipped.
-
- When editing hexdumps, please note that xxd -r skips everything on the
- input line after reading enough columns of hexadecimal data (see option
- -c). This also means, that changes to the printable ascii (or ebcdic)
- columns are always ignored. Reverting a plain (or postscript) style
- hexdump with xxd -r -p does not depend on the correct number of col-
- umns. Here anything that looks like a pair of hex-digits is inter-
- preted.
-
- Note the difference between
- % xxd -i file
- and
- % xxd -i < file
-
- xxd -s +seek may be different from xxd -s seek, as lseek(2) is used to
- "rewind" input. A '+' makes a difference if the input source is stdin,
- and if stdin's file position is not at the start of the file by the
- time xxd is started and given its input. The following examples may
- help to clarify (or further confuse!)...
-
- Rewind stdin before reading; needed because the `cat' has already read
- to the end of stdin.
- % sh -c "cat > plain_copy; xxd -s 0 > hex_copy" < file
-
- Hexdump from file position 0x480 (=1024+128) onwards. The `+' sign
- means "relative to the current position", thus the `128' adds to the 1k
- where dd left off.
- % sh -c "dd of=plain_snippet bs=1k count=1; xxd -s +128 > hex_snippet"
- < file
-
- Hexdump from file position 0x100 ( = 1024-768) on.
- % sh -c "dd of=plain_snippet bs=1k count=1; xxd -s +-768 > hex_snippet"
- < file
-
- However, this is a rare situation and the use of `+' is rarely needed.
- The author prefers to monitor the effect of xxd with strace(1) or
- truss(1), whenever -s is used.
-
-EXAMPLES
- Print everything but the first three lines (hex 0x30 bytes) of file.
- % xxd -s 0x30 file
-
- Print 3 lines (hex 0x30 bytes) from the end of file.
- % xxd -s -0x30 file
-
- Print 120 bytes as continuous hexdump with 20 octets per line.
- % xxd -l 120 -ps -c 20 xxd.1
- 2e54482058584420312022417567757374203139
- 39362220224d616e75616c207061676520666f72
- 20787864220a2e5c220a2e5c222032317374204d
- 617920313939360a2e5c22204d616e2070616765
- 20617574686f723a0a2e5c2220202020546f6e79
- 204e7567656e74203c746f6e79407363746e7567
-
- Hexdump the first 120 bytes of this man page with 12 octets per line.
- % xxd -l 120 -c 12 xxd.1
- 0000000: 2e54 4820 5858 4420 3120 2241 .TH XXD 1 "A
- 000000c: 7567 7573 7420 3139 3936 2220 ugust 1996"
- 0000018: 224d 616e 7561 6c20 7061 6765 "Manual page
- 0000024: 2066 6f72 2078 7864 220a 2e5c for xxd"..\
- 0000030: 220a 2e5c 2220 3231 7374 204d "..\" 21st M
- 000003c: 6179 2031 3939 360a 2e5c 2220 ay 1996..\"
- 0000048: 4d61 6e20 7061 6765 2061 7574 Man page aut
- 0000054: 686f 723a 0a2e 5c22 2020 2020 hor:..\"
- 0000060: 546f 6e79 204e 7567 656e 7420 Tony Nugent
- 000006c: 3c74 6f6e 7940 7363 746e 7567 <tony@sctnug
-
- Display just the date from the file xxd.1
- % xxd -s 0x36 -l 13 -c 13 xxd.1
- 0000036: 3231 7374 204d 6179 2031 3939 36 21st May 1996
-
- Copy input_file to output_file and prepend 100 bytes of value 0x00.
- % xxd input_file | xxd -r -s 100 > output_file
-
- Patch the date in the file xxd.1
- % echo "0000037: 3574 68" | xxd -r - xxd.1
- % xxd -s 0x36 -l 13 -c 13 xxd.1
- 0000036: 3235 7468 204d 6179 2031 3939 36 25th May 1996
-
- Create a 65537 byte file with all bytes 0x00, except for the last one
- which is 'A' (hex 0x41).
- % echo "010000: 41" | xxd -r > file
-
- Hexdump this file with autoskip.
- % xxd -a -c 12 file
- 0000000: 0000 0000 0000 0000 0000 0000 ............
- *
- 000fffc: 0000 0000 40 ....A
-
- Create a 1 byte file containing a single 'A' character. The number
- after '-r -s' adds to the linenumbers found in the file; in effect, the
- leading bytes are suppressed.
- % echo "010000: 41" | xxd -r -s -0x10000 > file
-
- Use xxd as a filter within an editor such as vim(1) to hexdump a region
- marked between `a' and `z'.
- :'a,'z!xxd
-
- Use xxd as a filter within an editor such as vim(1) to recover a binary
- hexdump marked between `a' and `z'.
- :'a,'z!xxd -r
-
- Use xxd as a filter within an editor such as vim(1) to recover one line
- of a hexdump. Move the cursor over the line and type:
- !!xxd -r
-
- Read single characters from a serial line
- % xxd -c1 < /dev/term/b &
- % stty < /dev/term/b -echo -opost -isig -icanon min 1
- % echo -n foo > /dev/term/b
-
-
-RETURN VALUES
- The following error values are returned:
-
- 0 no errors encountered.
-
- -1 operation not supported ( xxd -r -i still impossible).
-
- 1 error while parsing options.
-
- 2 problems with input file.
-
- 3 problems with output file.
-
- 4,5 desired seek position is unreachable.
-
-SEE ALSO
- uuencode(1), uudecode(1), patch(1)
-
-WARNINGS
- The tools weirdness matches its creators brain. Use entirely at your
- own risk. Copy files. Trace it. Become a wizard.
-
-VERSION
- This manual page documents xxd version 1.7
-
-AUTHOR
- (c) 1990-1997 by Juergen Weigert
- <jnweiger@informatik.uni-erlangen.de>
-
- Distribute freely and credit me,
- make money and share with me,
- lose money and don't ask me.
-
- Manual page started by Tony Nugent
- <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
- Small changes by Bram Moolenaar. Edited by Juergen Weigert.
-
-
-
-
-Manual page for xxd August 1996 XXD(1)
diff --git a/runtime/indent/lifelines.vim b/runtime/indent/lifelines.vim
index 0d9b2b46e4..0d9b2b46e4 100755..100644
--- a/runtime/indent/lifelines.vim
+++ b/runtime/indent/lifelines.vim
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index 83de3347bd..208df31596 100644
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -174,7 +174,7 @@ if(NOT DEFINED ENV{SKIP_EXEC})
add_executable(nvim ${NEOVIM_GENERATED_SOURCES} ${NEOVIM_SOURCES}
${NEOVIM_HEADERS})
target_link_libraries(nvim ${NVIM_LINK_LIBRARIES})
- install(TARGETS nvim RUNTIME DESTINATION bin)
+ install_helper(TARGETS nvim)
endif()
if(NOT DEFINED ENV{SKIP_UNITTEST})
diff --git a/src/nvim/api/tabpage.c b/src/nvim/api/tabpage.c
index 72168d936a..3e5d00671a 100644
--- a/src/nvim/api/tabpage.c
+++ b/src/nvim/api/tabpage.c
@@ -7,6 +7,7 @@
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/memory.h"
+#include "nvim/window.h"
/// Gets the number of windows in a tabpage
///
@@ -18,27 +19,18 @@ ArrayOf(Window) tabpage_get_windows(Tabpage tabpage, Error *err)
Array rv = ARRAY_DICT_INIT;
tabpage_T *tab = find_tab_by_handle(tabpage, err);
- if (!tab) {
+ if (!tab || !valid_tabpage(tab)) {
return rv;
}
- tabpage_T *tp;
- win_T *wp;
-
- FOR_ALL_TAB_WINDOWS(tp, wp) {
- if (tp != tab) {
- break;
- }
+ FOR_ALL_WINDOWS_IN_TAB(wp, tab) {
rv.size++;
}
rv.items = xmalloc(sizeof(Object) * rv.size);
size_t i = 0;
- FOR_ALL_TAB_WINDOWS(tp, wp) {
- if (tp != tab) {
- break;
- }
+ FOR_ALL_WINDOWS_IN_TAB(wp, tab) {
rv.items[i++] = WINDOW_OBJ(wp->handle);
}
@@ -90,18 +82,15 @@ Window tabpage_get_window(Tabpage tabpage, Error *err)
Window rv = 0;
tabpage_T *tab = find_tab_by_handle(tabpage, err);
- if (!tab) {
+ if (!tab || !valid_tabpage(tab)) {
return rv;
}
if (tab == curtab) {
return vim_get_current_window();
} else {
- tabpage_T *tp;
- win_T *wp;
-
- FOR_ALL_TAB_WINDOWS(tp, wp) {
- if (tp == tab && wp == tab->tp_curwin) {
+ FOR_ALL_WINDOWS_IN_TAB(wp, tab) {
+ if (wp == tab->tp_curwin) {
return wp->handle;
}
}
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 93aa0439f0..5e0f3e0c32 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -380,8 +380,6 @@ void vim_set_current_buffer(Buffer buffer, Error *err)
ArrayOf(Window) vim_get_windows(void)
{
Array rv = ARRAY_DICT_INIT;
- tabpage_T *tp;
- win_T *wp;
FOR_ALL_TAB_WINDOWS(tp, wp) {
rv.size++;
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 31fa54295a..83cddb85bf 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -514,13 +514,9 @@ void buf_freeall(buf_T *buf, int flags)
reset_synblock(curwin);
/* No folds in an empty buffer. */
- {
- win_T *win;
- tabpage_T *tp;
-
- FOR_ALL_TAB_WINDOWS(tp, win) {
- if (win->w_buffer == buf)
- clearFolding(win);
+ FOR_ALL_TAB_WINDOWS(tp, win) {
+ if (win->w_buffer == buf) {
+ clearFolding(win);
}
}
@@ -4206,8 +4202,6 @@ int read_viminfo_bufferlist(vir_T *virp, int writing)
void write_viminfo_bufferlist(FILE *fp)
{
- win_T *win;
- tabpage_T *tp;
char_u *line;
int max_buffers;
@@ -4284,8 +4278,12 @@ char_u *buf_spname(buf_T *buf)
*/
bool find_win_for_buf(buf_T *buf, win_T **wp, tabpage_T **tp)
{
- FOR_ALL_TAB_WINDOWS(*tp, *wp) {
- if ((*wp)->w_buffer == buf) {
+ *wp = NULL;
+ *tp = NULL;
+ FOR_ALL_TAB_WINDOWS(tp2, wp2) {
+ if (wp2->w_buffer == buf) {
+ *tp = tp2;
+ *wp = wp2;
return true;
}
}
diff --git a/src/nvim/diff.c b/src/nvim/diff.c
index 8f540fbe09..7927473439 100644
--- a/src/nvim/diff.c
+++ b/src/nvim/diff.c
@@ -62,8 +62,7 @@ static int diff_a_works = MAYBE;
/// @param buf
void diff_buf_delete(buf_T *buf)
{
- tabpage_T *tp;
- for (tp = first_tabpage; tp != NULL; tp = tp->tp_next) {
+ FOR_ALL_TABS(tp) {
int i = diff_buf_idx_tp(buf, tp);
if (i != DB_COUNT) {
@@ -175,8 +174,7 @@ static int diff_buf_idx_tp(buf_T *buf, tabpage_T *tp)
/// @param buf
void diff_invalidate(buf_T *buf)
{
- tabpage_T *tp;
- for (tp = first_tabpage; tp != NULL; tp = tp->tp_next) {
+ FOR_ALL_TABS(tp) {
int i = diff_buf_idx_tp(buf, tp);
if (i != DB_COUNT) {
tp->tp_diff_invalid = TRUE;
@@ -197,8 +195,7 @@ void diff_mark_adjust(linenr_T line1, linenr_T line2, long amount,
long amount_after)
{
// Handle all tab pages that use the current buffer in a diff.
- tabpage_T *tp;
- for (tp = first_tabpage; tp != NULL; tp = tp->tp_next) {
+ FOR_ALL_TABS(tp) {
int idx = diff_buf_idx_tp(curbuf, tp);
if (idx != DB_COUNT) {
diff_mark_adjust_tp(tp, idx, line1, line2, amount, amount_after);
@@ -1819,8 +1816,7 @@ int diffopt_changed(void)
// If "icase" or "iwhite" was added or removed, need to update the diff.
if (diff_flags != diff_flags_new) {
- tabpage_T *tp;
- for (tp = first_tabpage; tp != NULL; tp = tp->tp_next) {
+ FOR_ALL_TABS(tp) {
tp->tp_diff_invalid = TRUE;
}
}
@@ -2376,15 +2372,14 @@ static void diff_fold_update(diff_T *dp, int skip_idx)
/// @param buf The buffer to check.
///
/// @return TRUE if buffer "buf" is in diff-mode.
-int diff_mode_buf(buf_T *buf)
+bool diff_mode_buf(buf_T *buf)
{
- tabpage_T *tp;
- for (tp = first_tabpage; tp != NULL; tp = tp->tp_next) {
+ FOR_ALL_TABS(tp) {
if (diff_buf_idx_tp(buf, tp) != DB_COUNT) {
- return TRUE;
+ return true;
}
}
- return FALSE;
+ return false;
}
/// Move "count" times in direction "dir" to the next diff block.
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index 3b450e5245..5131dc3b38 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -5610,12 +5610,18 @@ static void spell_back_to_badword(void)
int stop_arrow(void)
{
if (arrow_used) {
+ Insstart = curwin->w_cursor; //new insertion starts here
+ if (Insstart.col > Insstart_orig.col && !ins_need_undo) {
+ // Don't update the original insert position when moved to the
+ // right, except when nothing was inserted yet.
+ update_Insstart_orig = FALSE;
+ }
+ Insstart_textlen = (colnr_T)linetabsize(get_cursor_line_ptr());
+
if (u_save_cursor() == OK) {
arrow_used = FALSE;
ins_need_undo = FALSE;
}
- Insstart = curwin->w_cursor; /* new insertion starts here */
- Insstart_textlen = (colnr_T)linetabsize(get_cursor_line_ptr());
ai_col = 0;
if (State & VREPLACE_FLAG) {
orig_line_count = curbuf->b_ml.ml_line_count;
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 0dd261f53a..0ae96365b2 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -5403,11 +5403,9 @@ static int list_join(garray_T *gap, list_T *l, char_u *sep, int echo_style, int
int garbage_collect(void)
{
int copyID;
- win_T *wp;
funccall_T *fc, **pfc;
int did_free;
int did_free_funccal = FALSE;
- tabpage_T *tp;
/* Only do this once. */
want_garbage_collect = FALSE;
@@ -5442,14 +5440,16 @@ int garbage_collect(void)
}
/* window-local variables */
- FOR_ALL_TAB_WINDOWS(tp, wp)
- set_ref_in_item(&wp->w_winvar.di_tv, copyID);
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
+ set_ref_in_item(&wp->w_winvar.di_tv, copyID);
+ }
if (aucmd_win != NULL)
set_ref_in_item(&aucmd_win->w_winvar.di_tv, copyID);
/* tabpage-local variables */
- for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
+ FOR_ALL_TABS(tp) {
set_ref_in_item(&tp->tp_winvar.di_tv, copyID);
+ }
/* global variables */
set_ref_in_ht(&globvarht, copyID);
@@ -9588,21 +9588,27 @@ find_win_by_nr (
tabpage_T *tp /* NULL for current tab page */
)
{
- win_T *wp;
- int nr;
-
- nr = get_tv_number_chk(vp, NULL);
+ int nr = get_tv_number_chk(vp, NULL);
- if (nr < 0)
+ if (nr < 0) {
return NULL;
- if (nr == 0)
+ }
+
+ if (nr == 0) {
return curwin;
+ }
- for (wp = (tp == NULL || tp == curtab) ? firstwin : tp->tp_firstwin;
- wp != NULL; wp = wp->w_next)
- if (--nr <= 0)
- break;
- return wp;
+ // This method accepts NULL as an alias for curtab.
+ if (tp == NULL) {
+ tp = curtab;
+ }
+
+ FOR_ALL_WINDOWS_IN_TAB(wp, tp) {
+ if (--nr <= 0) {
+ return wp;
+ }
+ }
+ return NULL;
}
/*
@@ -13455,15 +13461,36 @@ static int item_compare(const void *s1, const void *s2)
{
sortItem_T *si1, *si2;
char_u *p1, *p2;
- char_u *tofree1, *tofree2;
+ char_u *tofree1 = NULL, *tofree2 = NULL;
int res;
char_u numbuf1[NUMBUFLEN];
char_u numbuf2[NUMBUFLEN];
si1 = (sortItem_T *)s1;
si2 = (sortItem_T *)s2;
- p1 = tv2string(&si1->item->li_tv, &tofree1, numbuf1, 0);
- p2 = tv2string(&si2->item->li_tv, &tofree2, numbuf2, 0);
+ typval_T *tv1 = &si1->item->li_tv;
+ typval_T *tv2 = &si2->item->li_tv;
+ // tv2string() puts quotes around a string and allocates memory. Don't do
+ // that for string variables. Use a single quote when comparing with a
+ // non-string to do what the docs promise.
+ if (tv1->v_type == VAR_STRING) {
+ if (tv2->v_type != VAR_STRING || item_compare_numeric) {
+ p1 = (char_u *)"'";
+ } else {
+ p1 = tv1->vval.v_string;
+ }
+ } else {
+ p1 = tv2string(tv1, &tofree1, numbuf1, 0);
+ }
+ if (tv2->v_type == VAR_STRING) {
+ if (tv1->v_type != VAR_STRING || item_compare_numeric) {
+ p2 = (char_u *)"'";
+ } else {
+ p2 = tv2->vval.v_string;
+ }
+ } else {
+ p2 = tv2string(tv2, &tofree2, numbuf2, 0);
+ }
if (p1 == NULL)
p1 = (char_u *)"";
if (p2 == NULL)
@@ -13481,8 +13508,8 @@ static int item_compare(const void *s1, const void *s2)
res = n1 == n2 ? 0 : n1 > n2 ? 1 : -1;
}
- // When the result would be zero, compare the pointers themselves. Makes
- // the sort stable.
+ // When the result would be zero, compare the item indexes. Makes the
+ // sort stable.
if (res == 0 && !item_compare_keep_zero) {
res = si1->idx > si2->idx ? 1 : -1;
}
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 163d20f13a..44604b68c4 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -2962,13 +2962,10 @@ do_ecmd (
/* It's possible that all lines in the buffer changed. Need to update
* automatic folding for all windows where it's used. */
- {
- win_T *win;
- tabpage_T *tp;
-
- FOR_ALL_TAB_WINDOWS(tp, win)
- if (win->w_buffer == curbuf)
+ FOR_ALL_TAB_WINDOWS(tp, win) {
+ if (win->w_buffer == curbuf) {
foldUpdateAll(win);
+ }
}
/* Change directories when the 'acd' option is set. */
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c
index c3d34e9991..0703c76b8a 100644
--- a/src/nvim/ex_cmds2.c
+++ b/src/nvim/ex_cmds2.c
@@ -1204,7 +1204,6 @@ check_changed_any (
int bufnum = 0;
int bufcount = 0;
int *bufnrs;
- tabpage_T *tp;
FOR_ALL_BUFFERS(buf) {
++bufcount;
@@ -1225,9 +1224,9 @@ check_changed_any (
}
/* buf in other tab */
- for (tp = first_tabpage; tp != NULL; tp = tp->tp_next) {
+ FOR_ALL_TABS(tp) {
if (tp != curtab) {
- for (win_T *wp = tp->tp_firstwin; wp != NULL; wp = wp->w_next) {
+ FOR_ALL_WINDOWS_IN_TAB(wp, tp) {
add_bufnum(bufnrs, &bufnum, wp->w_buffer->b_fnum);
}
}
@@ -1282,7 +1281,6 @@ check_changed_any (
/* Try to find a window that contains the buffer. */
if (buf != curbuf) {
- win_T *wp;
FOR_ALL_TAB_WINDOWS(tp, wp) {
if (wp->w_buffer == buf) {
goto_tabpage_win(tp, wp);
@@ -1510,12 +1508,11 @@ do_arglist (
*/
static void alist_check_arg_idx(void)
{
- win_T *win;
- tabpage_T *tp;
-
- FOR_ALL_TAB_WINDOWS(tp, win)
- if (win->w_alist == curwin->w_alist)
- check_arg_idx(win);
+ FOR_ALL_TAB_WINDOWS(tp, win) {
+ if (win->w_alist == curwin->w_alist) {
+ check_arg_idx(win);
+ }
+ }
}
/*
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 1117b6fbcf..7fb109403e 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -5267,9 +5267,6 @@ static void ex_tabclose(exarg_T *eap)
*/
static void ex_tabonly(exarg_T *eap)
{
- tabpage_T *tp;
- int done;
-
if (cmdwin_type != 0)
cmdwin_result = K_IGNORE;
else if (first_tabpage->tp_next == NULL)
@@ -5277,8 +5274,8 @@ static void ex_tabonly(exarg_T *eap)
else {
/* Repeat this up to a 1000 times, because autocommands may mess
* up the lists. */
- for (done = 0; done < 1000; ++done) {
- for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
+ for (int done = 0; done < 1000; ++done) {
+ FOR_ALL_TABS(tp) {
if (tp->tp_topframe != topframe) {
tabpage_close_other(tp, eap->forceit);
/* if we failed to close it quit */
@@ -5287,8 +5284,10 @@ static void ex_tabonly(exarg_T *eap)
/* start over, "tp" is now invalid */
break;
}
- if (first_tabpage->tp_next == NULL)
+ }
+ if (first_tabpage->tp_next == NULL) {
break;
+ }
}
}
}
@@ -5607,18 +5606,21 @@ alist_add (
*/
void alist_slash_adjust(void)
{
- int i;
- win_T *wp;
- tabpage_T *tp;
-
- for (i = 0; i < GARGCOUNT; ++i)
- if (GARGLIST[i].ae_fname != NULL)
+ for (int i = 0; i < GARGCOUNT; ++i) {
+ if (GARGLIST[i].ae_fname != NULL) {
slash_adjust(GARGLIST[i].ae_fname);
- FOR_ALL_TAB_WINDOWS(tp, wp)
- if (wp->w_alist != &global_alist)
- for (i = 0; i < WARGCOUNT(wp); ++i)
- if (WARGLIST(wp)[i].ae_fname != NULL)
- slash_adjust(WARGLIST(wp)[i].ae_fname);
+ }
+ }
+
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
+ if (wp->w_alist != &global_alist) {
+ for (int i = 0; i < WARGCOUNT(wp); ++i) {
+ if (WARGLIST(wp)[i].ae_fname != NULL) {
+ slash_adjust(WARGLIST(wp)[i].ae_fname);
+ }
+ }
+ }
+ }
}
#endif
@@ -5808,24 +5810,27 @@ static void ex_tabmove(exarg_T *eap)
*/
static void ex_tabs(exarg_T *eap)
{
- tabpage_T *tp;
- win_T *wp;
int tabcount = 1;
msg_start();
msg_scroll = TRUE;
- for (tp = first_tabpage; tp != NULL && !got_int; tp = tp->tp_next) {
+
+ FOR_ALL_TABS(tp) {
+ if (got_int) {
+ break;
+ }
+
msg_putchar('\n');
vim_snprintf((char *)IObuff, IOSIZE, _("Tab page %d"), tabcount++);
msg_outtrans_attr(IObuff, hl_attr(HLF_T));
out_flush(); /* output one line at a time */
ui_breakcheck();
- if (tp == curtab)
- wp = firstwin;
- else
- wp = tp->tp_firstwin;
- for (; wp != NULL && !got_int; wp = wp->w_next) {
+ FOR_ALL_WINDOWS_IN_TAB(wp, tp) {
+ if (got_int) {
+ break;
+ }
+
msg_putchar('\n');
msg_putchar(wp == curwin ? '>' : ' ');
msg_putchar(' ');
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index 72dd7170ce..fbce4428db 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -5102,16 +5102,15 @@ void buf_reload(buf_T *buf, int orig_mode)
check_cursor();
update_topline();
keep_filetype = FALSE;
- {
- win_T *wp;
- tabpage_T *tp;
- /* Update folds unless they are defined manually. */
- FOR_ALL_TAB_WINDOWS(tp, wp)
+ /* Update folds unless they are defined manually. */
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
if (wp->w_buffer == curwin->w_buffer
- && !foldmethodIsManual(wp))
+ && !foldmethodIsManual(wp)) {
foldUpdateAll(wp);
+ }
}
+
/* If the mode didn't change and 'readonly' was set, keep the old
* value; the user probably used the ":view" command. But don't
* reset it, might have had a read error. */
@@ -6269,14 +6268,11 @@ aucmd_restbuf (
* page. Do not trigger autocommands here. */
block_autocmds();
if (curwin != aucmd_win) {
- tabpage_T *tp;
- win_T *wp;
-
- FOR_ALL_TAB_WINDOWS(tp, wp)
- {
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
if (wp == aucmd_win) {
- if (tp != curtab)
+ if (tp != curtab) {
goto_tabpage_tp(tp, TRUE, TRUE);
+ }
win_goto(aucmd_win);
goto win_found;
}
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index efad3c3af1..2025295c11 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -521,15 +521,19 @@ EXTERN win_T *firstwin; /* first window */
EXTERN win_T *lastwin; /* last window */
EXTERN win_T *prevwin INIT(= NULL); /* previous window */
# define W_NEXT(wp) ((wp)->w_next)
-# define FOR_ALL_WINDOWS(wp) for (win_T *wp = firstwin; wp != NULL; wp = wp->w_next)
+# define FOR_ALL_WINDOWS(wp) \
+ FOR_ALL_WINDOWS_IN_TAB(wp, curtab)
/*
* When using this macro "break" only breaks out of the inner loop. Use "goto"
* to break out of the tabpage loop.
*/
# define FOR_ALL_TAB_WINDOWS(tp, wp) \
- for ((tp) = first_tabpage; (tp) != NULL; (tp) = (tp)->tp_next) \
- for ((wp) = ((tp) == curtab) \
- ? firstwin : (tp)->tp_firstwin; (wp); (wp) = (wp)->w_next)
+ FOR_ALL_TABS(tp) \
+ FOR_ALL_WINDOWS_IN_TAB(wp, tp)
+
+# define FOR_ALL_WINDOWS_IN_TAB(wp, tp) \
+ for (win_T *wp = ((tp) == curtab) \
+ ? firstwin : (tp)->tp_firstwin; wp != NULL; wp = wp->w_next)
EXTERN win_T *curwin; /* currently active window */
@@ -550,6 +554,9 @@ EXTERN tabpage_T *first_tabpage;
EXTERN tabpage_T *curtab;
EXTERN int redraw_tabline INIT(= FALSE); /* need to redraw tabline */
+// Iterates over all tabs in the tab list
+# define FOR_ALL_TABS(tp) for (tabpage_T *tp = first_tabpage; tp != NULL; tp = tp->tp_next)
+
/*
* All buffers are linked in a list. 'firstbuf' points to the first entry,
* 'lastbuf' to the last entry and 'curbuf' to the currently active buffer.
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 7dc299e73b..e3f1d88dff 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -758,7 +758,6 @@ main_loop (
/* Exit properly */
void getout(int exitval)
{
- win_T *wp;
tabpage_T *tp, *next_tp;
exiting = TRUE;
@@ -780,11 +779,12 @@ void getout(int exitval)
/* Trigger BufWinLeave for all windows, but only once per buffer. */
for (tp = first_tabpage; tp != NULL; tp = next_tp) {
next_tp = tp->tp_next;
- for (wp = (tp == curtab)
- ? firstwin : tp->tp_firstwin; wp != NULL; wp = wp->w_next) {
- if (wp->w_buffer == NULL)
+ FOR_ALL_WINDOWS_IN_TAB(wp, tp) {
+ if (wp->w_buffer == NULL) {
/* Autocmd must have close the buffer already, skip. */
continue;
+ }
+
buf_T *buf = wp->w_buffer;
if (buf->b_changedtick != -1) {
apply_autocmds(EVENT_BUFWINLEAVE, buf->b_fname,
diff --git a/src/nvim/mark.c b/src/nvim/mark.c
index 6339cf8275..a66bf43c13 100644
--- a/src/nvim/mark.c
+++ b/src/nvim/mark.c
@@ -898,8 +898,6 @@ void mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after)
int i;
int fnum = curbuf->b_fnum;
linenr_T *lp;
- win_T *win;
- tabpage_T *tab;
static pos_T initpos = INIT_POS_T(1, 0, 0);
if (line2 < line1 && amount_after == 0L) /* nothing to do */
@@ -939,8 +937,9 @@ void mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after)
/* quickfix marks */
qf_mark_adjust(NULL, line1, line2, amount, amount_after);
/* location lists */
- FOR_ALL_TAB_WINDOWS(tab, win)
- qf_mark_adjust(win, line1, line2, amount, amount_after);
+ FOR_ALL_TAB_WINDOWS(tab, win) {
+ qf_mark_adjust(win, line1, line2, amount, amount_after);
+ }
sign_mark_adjust(line1, line2, amount, amount_after);
}
@@ -958,21 +957,26 @@ void mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after)
/*
* Adjust items in all windows related to the current buffer.
*/
- FOR_ALL_TAB_WINDOWS(tab, win)
- {
- if (!cmdmod.lockmarks)
+ FOR_ALL_TAB_WINDOWS(tab, win) {
+ if (!cmdmod.lockmarks) {
/* Marks in the jumplist. When deleting lines, this may create
* duplicate marks in the jumplist, they will be removed later. */
- for (i = 0; i < win->w_jumplistlen; ++i)
- if (win->w_jumplist[i].fmark.fnum == fnum)
+ for (i = 0; i < win->w_jumplistlen; ++i) {
+ if (win->w_jumplist[i].fmark.fnum == fnum) {
one_adjust_nodel(&(win->w_jumplist[i].fmark.mark.lnum));
+ }
+ }
+ }
if (win->w_buffer == curbuf) {
- if (!cmdmod.lockmarks)
+ if (!cmdmod.lockmarks) {
/* marks in the tag stack */
- for (i = 0; i < win->w_tagstacklen; i++)
- if (win->w_tagstack[i].fmark.fnum == fnum)
+ for (i = 0; i < win->w_tagstacklen; i++) {
+ if (win->w_tagstack[i].fmark.fnum == fnum) {
one_adjust_nodel(&(win->w_tagstack[i].fmark.mark.lnum));
+ }
+ }
+ }
/* the displayed Visual area */
if (win->w_old_cursor_lnum != 0) {
@@ -985,12 +989,14 @@ void mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after)
if (win != curwin) {
if (win->w_topline >= line1 && win->w_topline <= line2) {
if (amount == MAXLNUM) { /* topline is deleted */
- if (line1 <= 1)
+ if (line1 <= 1) {
win->w_topline = 1;
- else
+ } else {
win->w_topline = line1 - 1;
- } else /* keep topline on the same line */
+ }
+ } else { /* keep topline on the same line */
win->w_topline += amount;
+ }
win->w_topfill = 0;
} else if (amount_after && win->w_topline > line2) {
win->w_topline += amount_after;
@@ -998,15 +1004,18 @@ void mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after)
}
if (win->w_cursor.lnum >= line1 && win->w_cursor.lnum <= line2) {
if (amount == MAXLNUM) { /* line with cursor is deleted */
- if (line1 <= 1)
+ if (line1 <= 1) {
win->w_cursor.lnum = 1;
- else
+ } else {
win->w_cursor.lnum = line1 - 1;
+ }
win->w_cursor.col = 0;
- } else /* keep cursor on the same line */
+ } else { /* keep cursor on the same line */
win->w_cursor.lnum += amount;
- } else if (amount_after && win->w_cursor.lnum > line2)
+ }
+ } else if (amount_after && win->w_cursor.lnum > line2) {
win->w_cursor.lnum += amount_after;
+ }
}
/* adjust folds */
@@ -1338,12 +1347,6 @@ int removable(char_u *name)
*/
int write_viminfo_marks(FILE *fp_out)
{
- int count;
- int is_mark_set;
- int i;
- win_T *win;
- tabpage_T *tp;
-
/*
* Set b_last_cursor for the all buffers that have a window.
*/
@@ -1352,22 +1355,22 @@ int write_viminfo_marks(FILE *fp_out)
}
fputs(_("\n# History of marks within files (newest to oldest):\n"), fp_out);
- count = 0;
+ int count = 0;
FOR_ALL_BUFFERS(buf) {
/*
* Only write something if buffer has been loaded and at least one
* mark is set.
*/
if (buf->b_marks_read) {
- if (buf->b_last_cursor.lnum != 0)
- is_mark_set = TRUE;
- else {
- is_mark_set = FALSE;
- for (i = 0; i < NMARKS; i++)
+ bool is_mark_set = true;
+ if (buf->b_last_cursor.lnum == 0) {
+ is_mark_set = false;
+ for (int i = 0; i < NMARKS; i++) {
if (buf->b_namedm[i].lnum != 0) {
- is_mark_set = TRUE;
+ is_mark_set = true;
break;
}
+ }
}
if (is_mark_set && buf->b_ffname != NULL
&& buf->b_ffname[0] != NUL && !removable(buf->b_ffname)) {
@@ -1378,10 +1381,12 @@ int write_viminfo_marks(FILE *fp_out)
write_one_mark(fp_out, '^', &buf->b_last_insert);
write_one_mark(fp_out, '.', &buf->b_last_change);
/* changelist positions are stored oldest first */
- for (i = 0; i < buf->b_changelistlen; ++i)
+ for (int i = 0; i < buf->b_changelistlen; ++i) {
write_one_mark(fp_out, '+', &buf->b_changelist[i]);
- for (i = 0; i < NMARKS; i++)
+ }
+ for (int i = 0; i < NMARKS; i++) {
write_one_mark(fp_out, 'a' + i, &buf->b_namedm[i]);
+ }
count++;
}
}
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 1c3d6e372c..f4dffb0bcd 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -452,13 +452,9 @@ void free_all_mem(void)
p_hi = 0;
init_history();
- {
- win_T *win;
- tabpage_T *tab;
-
- qf_free_all(NULL);
- /* Free all location lists */
- FOR_ALL_TAB_WINDOWS(tab, win)
+ qf_free_all(NULL);
+ /* Free all location lists */
+ FOR_ALL_TAB_WINDOWS(tab, win) {
qf_free_all(win);
}
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index d7e9618639..52780b9a57 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -2027,8 +2027,6 @@ changed_lines_buf (
*/
static void changed_common(linenr_T lnum, colnr_T col, linenr_T lnume, long xtra)
{
- win_T *wp;
- tabpage_T *tp;
int i;
int cols;
pos_T *p;
@@ -2072,21 +2070,21 @@ static void changed_common(linenr_T lnum, colnr_T col, linenr_T lnume, long xtra
curbuf->b_changelistlen = JUMPLISTSIZE - 1;
memmove(curbuf->b_changelist, curbuf->b_changelist + 1,
sizeof(pos_T) * (JUMPLISTSIZE - 1));
- FOR_ALL_TAB_WINDOWS(tp, wp)
- {
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
/* Correct position in changelist for other windows on
* this buffer. */
- if (wp->w_buffer == curbuf && wp->w_changelistidx > 0)
+ if (wp->w_buffer == curbuf && wp->w_changelistidx > 0) {
--wp->w_changelistidx;
+ }
}
}
- FOR_ALL_TAB_WINDOWS(tp, wp)
- {
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
/* For other windows, if the position in the changelist is
* at the end it stays at the end. */
if (wp->w_buffer == curbuf
- && wp->w_changelistidx == curbuf->b_changelistlen)
+ && wp->w_changelistidx == curbuf->b_changelistlen) {
++wp->w_changelistidx;
+ }
}
++curbuf->b_changelistlen;
}
@@ -2098,8 +2096,7 @@ static void changed_common(linenr_T lnum, colnr_T col, linenr_T lnume, long xtra
curwin->w_changelistidx = curbuf->b_changelistlen;
}
- FOR_ALL_TAB_WINDOWS(tp, wp)
- {
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
if (wp->w_buffer == curbuf) {
/* Mark this window to be redrawn later. */
if (wp->w_redr_type < VALID)
diff --git a/src/nvim/option.c b/src/nvim/option.c
index b26b6ed4cc..96265681df 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -2210,17 +2210,16 @@ set_options_default (
int opt_flags /* OPT_FREE, OPT_LOCAL and/or OPT_GLOBAL */
)
{
- int i;
- win_T *wp;
- tabpage_T *tp;
-
- for (i = 0; !istermoption(&options[i]); i++)
- if (!(options[i].flags & P_NODEFAULT))
+ for (int i = 0; !istermoption(&options[i]); i++) {
+ if (!(options[i].flags & P_NODEFAULT)) {
set_option_default(i, opt_flags, p_cp);
+ }
+ }
/* The 'scroll' option must be computed for all windows. */
- FOR_ALL_TAB_WINDOWS(tp, wp)
- win_comp_scroll(wp);
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
+ win_comp_scroll(wp);
+ }
}
/// Set the Vi-default value of a string option.
@@ -5532,13 +5531,11 @@ set_num_option (
errmsg = e_positive;
curbuf->b_p_tw = 0;
}
- {
- win_T *wp;
- tabpage_T *tp;
- FOR_ALL_TAB_WINDOWS(tp, wp)
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
check_colorcolumn(wp);
}
+
}
/*
diff --git a/src/nvim/po/CMakeLists.txt b/src/nvim/po/CMakeLists.txt
index 4a9c97dc20..0ed39e8c49 100644
--- a/src/nvim/po/CMakeLists.txt
+++ b/src/nvim/po/CMakeLists.txt
@@ -71,7 +71,7 @@ if(HAVE_WORKING_LIBINTL AND GETTEXT_FOUND AND XGETTEXT_PRG AND ICONV_PRG AND
-P ${CMAKE_MODULE_PATH}/RunMsgfmt.cmake
DEPENDS ${poFile} ${NVIM_POT})
- install(
+ install_helper(
FILES ${moFile}
DESTINATION share/locale/${name}/LC_MESSAGES
RENAME nvim.mo)
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c
index 3bc70b6b41..b2a6b01d96 100644
--- a/src/nvim/quickfix.c
+++ b/src/nvim/quickfix.c
@@ -1466,11 +1466,7 @@ void qf_jump(qf_info_T *qi, int dir, int errornr, int forceit)
* then search in other tabs.
*/
if (!usable_win && (swb_flags & SWB_USETAB)) {
- tabpage_T *tp;
- win_T *wp;
-
- FOR_ALL_TAB_WINDOWS(tp, wp)
- {
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
if (wp->w_buffer->b_fnum == qf_ptr->qf_fnum) {
goto_tabpage_win(tp, wp);
usable_win = true;
@@ -2236,12 +2232,11 @@ static win_T *qf_find_win(qf_info_T *qi)
*/
static buf_T *qf_find_buf(qf_info_T *qi)
{
- tabpage_T *tp;
- win_T *win;
-
- FOR_ALL_TAB_WINDOWS(tp, win)
- if (is_qf_win(win, qi))
- return win->w_buffer;
+ FOR_ALL_TAB_WINDOWS(tp, win) {
+ if (is_qf_win(win, qi)) {
+ return win->w_buffer;
+ }
+ }
return NULL;
}
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c
index 193c68860d..90da02bb1b 100644
--- a/src/nvim/regexp.c
+++ b/src/nvim/regexp.c
@@ -2790,17 +2790,29 @@ static int peekchr(void)
* either "\|", "\)", "\&", or "\n" */
if (reg_magic >= MAGIC_OFF) {
char_u *p = regparse + 1;
+ bool is_magic_all = (reg_magic == MAGIC_ALL);
- /* ignore \c \C \m and \M after '$' */
+ // ignore \c \C \m \M \v \V and \Z after '$'
while (p[0] == '\\' && (p[1] == 'c' || p[1] == 'C'
- || p[1] == 'm' || p[1] == 'M' || p[1] == 'Z'))
+ || p[1] == 'm' || p[1] == 'M'
+ || p[1] == 'v' || p[1] == 'V'
+ || p[1] == 'Z')) {
+ if (p[1] == 'v') {
+ is_magic_all = true;
+ } else if (p[1] == 'm' || p[1] == 'M' || p[1] == 'V') {
+ is_magic_all = false;
+ }
p += 2;
+ }
if (p[0] == NUL
|| (p[0] == '\\'
&& (p[1] == '|' || p[1] == '&' || p[1] == ')'
|| p[1] == 'n'))
- || reg_magic == MAGIC_ALL)
+ || (is_magic_all
+ && (p[0] == '|' || p[0] == '&' || p[0] == ')'))
+ || reg_magic == MAGIC_ALL) {
curchr = Magic('$');
+ }
}
break;
case '\\':
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 122c23ed84..c46b5fa48c 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -346,7 +346,7 @@ int redraw_asap(int type)
* Note that when also inserting/deleting lines w_redraw_top and w_redraw_bot
* may become invalid and the whole window will have to be redrawn.
*/
-void
+void
redrawWinline (
linenr_T lnum,
int invalid /* window line height is invalid now */
@@ -2114,7 +2114,7 @@ static void copy_text_attr(int off, char_u *buf, int len, int attr)
* Fill the foldcolumn at "p" for window "wp".
* Only to be called when 'foldcolumn' > 0.
*/
-static void
+static void
fill_foldcolumn (
char_u *p,
win_T *wp,
@@ -2166,7 +2166,7 @@ fill_foldcolumn (
*
* Return the number of last row the line occupies.
*/
-static int
+static int
win_line (
win_T *wp,
linenr_T lnum,
@@ -2655,8 +2655,8 @@ win_line (
}
next_search_hl(wp, shl, lnum, (colnr_T)v, cur);
- // Need to get the line again, a multi-line regexp may have made it
- // invalid.
+ // Need to get the line again, a multi-line regexp may have made it
+ // invalid.
line = ml_get_buf(wp->w_buffer, lnum, false);
ptr = line + v;
@@ -2672,7 +2672,7 @@ win_line (
} else {
shl->endcol = MAXCOL;
}
- // Highlight one character for an empty match.
+ // Highlight one character for an empty match.
if (shl->startcol == shl->endcol) {
if (has_mbyte && line[shl->endcol] != NUL) {
shl->endcol += (*mb_ptr2len)(line + shl->endcol);
@@ -2680,7 +2680,7 @@ win_line (
++shl->endcol;
}
}
- if ((long)shl->startcol < v) { // match at leftcol
+ if ((long)shl->startcol < v) { // match at leftcol
shl->attr_cur = shl->attr;
search_attr = shl->attr;
}
@@ -2830,9 +2830,12 @@ win_line (
if (wp->w_p_bri && n_extra == 0 && row != startrow && filler_lines == 0) {
char_attr = 0; // was: hl_attr(HLF_AT);
- if (diff_hlf != (hlf_T)0)
+ if (diff_hlf != (hlf_T)0) {
char_attr = hl_attr(diff_hlf);
-
+ if (wp->w_p_cul && lnum == wp->w_cursor.lnum) {
+ char_attr = hl_combine_attr(char_attr, hl_attr(HLF_CUL));
+ }
+ }
p_extra = NULL;
c_extra = ' ';
n_extra = get_breakindent_win(wp, ml_get_buf(wp->w_buffer, lnum, FALSE));
@@ -2869,8 +2872,9 @@ win_line (
if (tocol == vcol)
tocol += n_extra;
/* combine 'showbreak' with 'cursorline' */
- if (wp->w_p_cul && lnum == wp->w_cursor.lnum)
- char_attr = hl_combine_attr(char_attr, HLF_CLN);
+ if (wp->w_p_cul && lnum == wp->w_cursor.lnum) {
+ char_attr = hl_combine_attr(char_attr, hl_attr(HLF_CUL));
+ }
}
}
@@ -2948,7 +2952,7 @@ win_line (
&& v >= (long)shl->startcol
&& v < (long)shl->endcol) {
shl->attr_cur = shl->attr;
- } else if (v >= (long)shl->endcol) {
+ } else if (v >= (long)shl->endcol && shl->lnum == lnum) {
shl->attr_cur = 0;
next_search_hl(wp, shl, lnum, (colnr_T)v, cur);
@@ -3016,6 +3020,9 @@ win_line (
&& n_extra == 0)
diff_hlf = HLF_CHD; /* changed line */
line_attr = hl_attr(diff_hlf);
+ if (wp->w_p_cul && lnum == wp->w_cursor.lnum) {
+ line_attr = hl_combine_attr(line_attr, hl_attr(HLF_CUL));
+ }
}
/* Decide which of the highlight attributes to use. */
@@ -3620,8 +3627,12 @@ win_line (
char_attr = line_attr;
if (diff_hlf == HLF_TXD) {
diff_hlf = HLF_CHD;
- if (attr == 0 || char_attr != attr)
+ if (attr == 0 || char_attr != attr) {
char_attr = hl_attr(diff_hlf);
+ if (wp->w_p_cul && lnum == wp->w_cursor.lnum) {
+ char_attr = hl_combine_attr(char_attr, hl_attr(HLF_CUL));
+ }
+ }
}
}
}
@@ -4676,7 +4687,7 @@ static int skip_status_match_char(expand_T *xp, char_u *s)
*
* If inversion is possible we use it. Else '=' characters are used.
*/
-void
+void
win_redr_status_matches (
expand_T *xp,
int num_matches,
@@ -4962,7 +4973,7 @@ void win_redr_status(win_T *wp)
fillchar = fillchar_status(&attr, wp == curwin);
else
fillchar = fillchar_vsep(&attr);
- screen_putchar(fillchar, wp->w_winrow + wp->w_height,
+ screen_putchar(fillchar, wp->w_winrow + wp->w_height,
W_ENDCOL(wp), attr);
}
busy = FALSE;
@@ -5024,7 +5035,7 @@ int stl_connected(win_T *wp)
/*
* Get the value to show for the language mappings, active 'keymap'.
*/
-int
+int
get_keymap_str (
win_T *wp,
char_u *buf, /* buffer for the result */
@@ -5068,7 +5079,7 @@ get_keymap_str (
* Redraw the status line or ruler of window "wp".
* When "wp" is NULL redraw the tab pages line from 'tabline'.
*/
-static void
+static void
win_redr_custom (
win_T *wp,
int draw_ruler /* TRUE or FALSE */
@@ -5606,7 +5617,7 @@ static void prepare_search_hl(win_T *wp, linenr_T lnum)
if (cur != NULL) {
cur->pos.cur = 0;
}
- bool pos_inprogress = true; // mark that a position match search is
+ bool pos_inprogress = true; // mark that a position match search is
// in progress
n = 0;
while (shl->first_lnum < lnum && (shl->rm.regprog != NULL
@@ -5637,7 +5648,7 @@ static void prepare_search_hl(win_T *wp, linenr_T lnum)
* shl->lnum is zero.
* Careful: Any pointers for buffer lines will become invalid.
*/
-static void
+static void
next_search_hl (
win_T *win,
match_T *shl, /* points to search_hl or a match */
@@ -5705,9 +5716,9 @@ next_search_hl (
if (shl->rm.regprog != NULL) {
nmatched = vim_regexec_multi(&shl->rm, win, shl->buf, lnum, matchcol, &(shl->tm));
if (called_emsg || got_int) {
- // Error while handling regexp: stop using this regexp.
+ // Error while handling regexp: stop using this regexp.
if (shl == &search_hl) {
- // don't free regprog in the match list, it's a copy
+ // don't free regprog in the match list, it's a copy
vim_regfree(shl->rm.regprog);
SET_NO_HLSEARCH(TRUE);
}
@@ -5735,11 +5746,11 @@ next_search_hl (
static int
next_search_hl_pos(
- match_T *shl, // points to a match
+ match_T *shl, // points to a match
linenr_T lnum,
- posmatch_T *posmatch, // match positions
+ posmatch_T *posmatch, // match positions
colnr_T mincol // minimal column for a match
-)
+)
{
int i;
int bot = -1;
@@ -5754,8 +5765,8 @@ next_search_hl_pos(
}
if (posmatch->pos[i].lnum == lnum) {
if (shl->lnum == lnum) {
- // partially sort positions by column numbers
- // on the same line
+ // partially sort positions by column numbers
+ // on the same line
if (posmatch->pos[i].col < posmatch->pos[bot].col) {
llpos_T tmp = posmatch->pos[i];
@@ -5772,7 +5783,7 @@ next_search_hl_pos(
if (shl->lnum == lnum) {
colnr_T start = posmatch->pos[bot].col == 0
? 0: posmatch->pos[bot].col - 1;
- colnr_T end = posmatch->pos[bot].col == 0
+ colnr_T end = posmatch->pos[bot].col == 0
? MAXCOL : start + posmatch->pos[bot].len;
shl->rm.startpos[0].lnum = 0;
@@ -6263,7 +6274,6 @@ int screen_valid(int doclear)
void screenalloc(bool doclear)
{
int new_row, old_row;
- win_T *wp;
int outofmem = FALSE;
int len;
schar_T *new_ScreenLines;
@@ -6275,7 +6285,6 @@ void screenalloc(bool doclear)
unsigned *new_LineOffset;
char_u *new_LineWraps;
short *new_TabPageIdxs;
- tabpage_T *tp;
static int entered = FALSE; /* avoid recursiveness */
static int done_outofmem_msg = FALSE; /* did outofmem message */
int retry_count = 0;
@@ -6328,8 +6337,9 @@ retry:
* Continuing with the old ScreenLines may result in a crash, because the
* size is wrong.
*/
- FOR_ALL_TAB_WINDOWS(tp, wp)
- win_free_lsize(wp);
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
+ win_free_lsize(wp);
+ }
if (aucmd_win != NULL)
win_free_lsize(aucmd_win);
@@ -6349,8 +6359,7 @@ retry:
new_LineWraps = xmalloc((size_t)(Rows * sizeof(char_u)));
new_TabPageIdxs = xmalloc((size_t)(Columns * sizeof(short)));
- FOR_ALL_TAB_WINDOWS(tp, wp)
- {
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
win_alloc_lines(wp);
}
if (aucmd_win != NULL && aucmd_win->w_lines == NULL) {
@@ -7093,7 +7102,7 @@ static void win_rest_invalid(win_T *wp)
*
* return FAIL for failure, OK for success.
*/
-int
+int
screen_ins_lines (
int off,
int row,
@@ -7266,7 +7275,7 @@ screen_ins_lines (
*
* Return OK for success, FAIL if the lines are not deleted.
*/
-int
+int
screen_del_lines (
int off,
int row,
@@ -7632,8 +7641,7 @@ void unshowmode(int force)
static void draw_tabline(void)
{
int tabcount = 0;
- tabpage_T *tp;
- int tabwidth;
+ int tabwidth = 0;
int col = 0;
int scol = 0;
int attr;
@@ -7675,18 +7683,27 @@ static void draw_tabline(void)
(char_u *)"", OPT_FREE, SID_ERROR);
called_emsg |= save_called_emsg;
} else {
- for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
+ FOR_ALL_TABS(tp) {
++tabcount;
+ }
- tabwidth = (Columns - 1 + tabcount / 2) / tabcount;
- if (tabwidth < 6)
+ if (tabcount > 0) {
+ tabwidth = (Columns - 1 + tabcount / 2) / tabcount;
+ }
+
+ if (tabwidth < 6) {
tabwidth = 6;
+ }
attr = attr_nosel;
tabcount = 0;
scol = 0;
- for (tp = first_tabpage; tp != NULL && col < Columns - 4;
- tp = tp->tp_next) {
+
+ FOR_ALL_TABS(tp) {
+ if (col >= Columns - 4) {
+ break;
+ }
+
scol = col;
if (tp->tp_topframe == topframe)
@@ -7718,8 +7735,7 @@ static void draw_tabline(void)
if (col + len >= Columns - 3)
break;
screen_puts_len(NameBuff, len, 0, col,
- hl_combine_attr(attr, hl_attr(HLF_T))
- );
+ hl_combine_attr(attr, hl_attr(HLF_T)));
col += len;
}
if (modified)
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile
index 81dc49e800..9f04f880b5 100644
--- a/src/nvim/testdir/Makefile
+++ b/src/nvim/testdir/Makefile
@@ -33,6 +33,7 @@ SCRIPTS := test_autoformat_join.out \
test106.out test107.out \
test_options.out \
test_listlbr.out test_listlbr_utf8.out \
+ test_changelist.out \
test_breakindent.out \
test_insertcount.out
diff --git a/src/nvim/testdir/test39.in b/src/nvim/testdir/test39.in
index c1e1cc49a6..7d1c672522 100644
--- a/src/nvim/testdir/test39.in
+++ b/src/nvim/testdir/test39.in
@@ -23,6 +23,9 @@ G$khhhhhkkcmno
/^aaaa/
:exe ":norm! l\<C-V>jjjlllI\<Right>\<Right> \<Esc>"
:/^aa/,/^$/w >> test.out
+/xaaa$/
+:exe ":norm! \<C-V>jjjI<>\<Left>p\<Esc>"
+:/xaaa$/,/^$/w >> test.out
:" Test for Visual block was created with the last <C-v>$
/^A23$/
:exe ":norm! l\<C-V>j$Aab\<Esc>"
@@ -77,6 +80,11 @@ bbbbbb
cccccc
dddddd
+xaaa
+bbbb
+cccc
+dddd
+
A23
4567
diff --git a/src/nvim/testdir/test39.ok b/src/nvim/testdir/test39.ok
index ef7a2c6442..d8e901563a 100644
--- a/src/nvim/testdir/test39.ok
+++ b/src/nvim/testdir/test39.ok
Binary files differ
diff --git a/src/nvim/testdir/test63.in b/src/nvim/testdir/test63.in
index ea66ee6dea..ff05afbf81 100644
--- a/src/nvim/testdir/test63.in
+++ b/src/nvim/testdir/test63.in
@@ -3,6 +3,7 @@ Test for ":match", ":2match", ":3match", "clearmatches()", "getmatches()",
STARTTEST
:so small.vim
+:set encoding=utf8
:" --- Check that "matcharg()" returns the correct group and pattern if a match
:" --- is defined.
:let @r = "*** Test 1: "
@@ -164,7 +165,27 @@ STARTTEST
:if v1 != v5 && v6 == v1 && v8 == v5 && v10 == v5 && v11 == v1
: let @r .= "OK\n"
:else
-: let @r .= "FAILED\n"
+: let @r .= "FAILED: " . v5 . "/" . v6 . "/" . v8 . "/" . v10 . "/" . v11 . "\n"
+:endif
+:call clearmatches()
+:"
+:call setline(1, 'abcdΣabcdef')
+:call matchaddpos("MyGroup1", [[1, 4, 2], [1, 9, 2]])
+:1
+:redraw!
+:let v1 = screenattr(1, 1)
+:let v4 = screenattr(1, 4)
+:let v5 = screenattr(1, 5)
+:let v6 = screenattr(1, 6)
+:let v7 = screenattr(1, 7)
+:let v8 = screenattr(1, 8)
+:let v9 = screenattr(1, 9)
+:let v10 = screenattr(1, 10)
+:let @r .= string(getmatches())."\n"
+:if v1 != v4 && v5 == v4 && v6 == v1 && v7 == v1 && v8 == v4 && v9 == v4 && v10 == v1
+: let @r .= "OK\n"
+:else
+: let @r .= "FAILED: " . v4 . "/" . v5 . "/" . v6 . "/" . v7 . "/" . v8 . "/" . v9 . "/" . v10 . "\n"
:endif
:call clearmatches()
G"rp
diff --git a/src/nvim/testdir/test63.ok b/src/nvim/testdir/test63.ok
index f804b693ac..5d619395b7 100644
--- a/src/nvim/testdir/test63.ok
+++ b/src/nvim/testdir/test63.ok
@@ -12,3 +12,5 @@ Results of test63:
*** Test 11:
[{'group': 'MyGroup1', 'id': 3, 'priority': 10, 'pos1': [1, 5, 1], 'pos2': [1, 8, 3]}]
OK
+[{'group': 'MyGroup1', 'id': 11, 'priority': 10, 'pos1': [1, 4, 2], 'pos2': [1, 9, 2]}]
+OK
diff --git a/src/nvim/testdir/test_changelist.in b/src/nvim/testdir/test_changelist.in
new file mode 100644
index 0000000000..6c7c4306c3
--- /dev/null
+++ b/src/nvim/testdir/test_changelist.in
@@ -0,0 +1,22 @@
+Test changelist position after splitting window
+Set 'undolevels' to make changelist for sourced file
+
+STARTTEST
+:so small.vim
+Gkylp:set ul=100
+Gylp:set ul=100
+gg
+:vsplit
+:try
+: normal g;
+: normal ggVGcpass
+:catch
+: normal ggVGcfail
+:finally
+: %w! test.out
+:endtry
+:qa!
+ENDTEST
+
+1
+2
diff --git a/src/nvim/testdir/test_changelist.ok b/src/nvim/testdir/test_changelist.ok
new file mode 100644
index 0000000000..2ae28399f5
--- /dev/null
+++ b/src/nvim/testdir/test_changelist.ok
@@ -0,0 +1 @@
+pass
diff --git a/src/nvim/version.c b/src/nvim/version.c
index 200d34e2fb..bcde020839 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -217,13 +217,13 @@ static int included_patches[] = {
//414,
//413 NA
//412 NA
- //411,
+ 411,
410,
//409 NA
//408,
- //407,
+ 407,
//406,
- //405,
+ 405,
//404 NA
//403 NA
//402,
@@ -237,12 +237,12 @@ static int included_patches[] = {
//394,
//393,
392,
- //391,
+ 391,
//390,
//389,
388,
387,
- //386,
+ 386,
//385,
//384 NA
383,
@@ -268,7 +268,7 @@ static int included_patches[] = {
//363,
362,
361,
- //360,
+ 360,
359,
358,
357,
diff --git a/src/nvim/window.c b/src/nvim/window.c
index f41a5d8872..2a6dcf1743 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -948,6 +948,9 @@ int win_split_ins(int size, int flags, win_T *new_wp, int dir)
p_wh = size;
}
+ // Keep same changelist position in new window.
+ wp->w_changelistidx = oldwin->w_changelistidx;
+
/*
* make the new window the current window
*/
@@ -1674,13 +1677,12 @@ close_windows (
int keep_curwin /* don't close "curwin" */
)
{
- win_T *wp;
tabpage_T *tp, *nexttp;
int h = tabline_height();
++RedrawingDisabled;
- for (wp = firstwin; wp != NULL && lastwin != firstwin; ) {
+ for (win_T *wp = firstwin; wp != NULL && lastwin != firstwin; ) {
if (wp->w_buffer == buf && (!keep_curwin || wp != curwin)
&& !(wp->w_closing || wp->w_buffer->b_closing)
) {
@@ -1695,8 +1697,8 @@ close_windows (
/* Also check windows in other tab pages. */
for (tp = first_tabpage; tp != NULL; tp = nexttp) {
nexttp = tp->tp_next;
- if (tp != curtab)
- for (wp = tp->tp_firstwin; wp != NULL; wp = wp->w_next)
+ if (tp != curtab) {
+ FOR_ALL_WINDOWS_IN_TAB(wp, tp) {
if (wp->w_buffer == buf
&& !(wp->w_closing || wp->w_buffer->b_closing)
) {
@@ -1707,6 +1709,8 @@ close_windows (
nexttp = first_tabpage;
break;
}
+ }
+ }
}
--RedrawingDisabled;
@@ -1963,7 +1967,6 @@ int win_close(win_T *win, int free_buf)
*/
void win_close_othertab(win_T *win, int free_buf, tabpage_T *tp)
{
- win_T *wp;
int dir;
tabpage_T *ptp = NULL;
int free_tp = FALSE;
@@ -1982,10 +1985,18 @@ void win_close_othertab(win_T *win, int free_buf, tabpage_T *tp)
return;
/* Autocommands may have closed the window already. */
- for (wp = tp->tp_firstwin; wp != NULL && wp != win; wp = wp->w_next)
- ;
- if (wp == NULL)
- return;
+ {
+ bool found_window = false;
+ FOR_ALL_WINDOWS_IN_TAB(wp, tp) {
+ if (wp == win) {
+ found_window = true;
+ break;
+ }
+ }
+ if (!found_window) {
+ return;
+ }
+ }
/* When closing the last window in a tab page remove the tab page. */
if (tp->tp_firstwin == tp->tp_lastwin) {
@@ -2986,14 +2997,14 @@ int make_tabpages(int maxcount)
/*
* Return TRUE when "tpc" points to a valid tab page.
*/
-int valid_tabpage(tabpage_T *tpc)
+bool valid_tabpage(tabpage_T *tpc)
{
- tabpage_T *tp;
-
- for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
- if (tp == tpc)
- return TRUE;
- return FALSE;
+ FOR_ALL_TABS(tp) {
+ if (tp == tpc) {
+ return true;
+ }
+ }
+ return false;
}
/*
@@ -3285,14 +3296,11 @@ void win_goto(win_T *wp)
*/
tabpage_T *win_find_tabpage(win_T *win)
{
- win_T *wp;
- tabpage_T *tp;
-
- for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
- for (wp = (tp == curtab ? firstwin : tp->tp_firstwin);
- wp != NULL; wp = wp->w_next)
- if (wp == win)
- return tp;
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
+ if (wp == win) {
+ return tp;
+ }
+ }
return NULL;
}
@@ -3549,28 +3557,36 @@ win_T *buf_jump_open_win(buf_T *buf)
*/
win_T *buf_jump_open_tab(buf_T *buf)
{
- win_T *wp;
- tabpage_T *tp;
- /* First try the current tab page. */
- wp = buf_jump_open_win(buf);
- if (wp != NULL)
- return wp;
+ // First try the current tab page.
+ {
+ win_T *wp = buf_jump_open_win(buf);
+ if (wp != NULL)
+ return wp;
+ }
- for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
+ FOR_ALL_TABS(tp) {
+ // Skip the current tab since we already checked it.
if (tp != curtab) {
- for (wp = tp->tp_firstwin; wp != NULL; wp = wp->w_next)
- if (wp->w_buffer == buf)
- break;
- if (wp != NULL) {
- goto_tabpage_win(tp, wp);
- if (curwin != wp)
- wp = NULL; /* something went wrong */
- break;
+ FOR_ALL_WINDOWS_IN_TAB(wp, tp) {
+ if (wp->w_buffer == buf) {
+ goto_tabpage_win(tp, wp);
+
+ // If we the current window didn't switch,
+ // something went wrong.
+ if (curwin != wp) {
+ wp = NULL;
+ }
+
+ // Return the window we switched to.
+ return wp;
+ }
}
}
+ }
- return wp;
+ // If we made it this far, we didn't find the buffer.
+ return NULL;
}
/*
@@ -4968,18 +4984,15 @@ int tabline_height(void)
*/
int min_rows(void)
{
- int total;
- tabpage_T *tp;
- int n;
-
if (firstwin == NULL) /* not initialized yet */
return MIN_LINES;
- total = 0;
- for (tp = first_tabpage; tp != NULL; tp = tp->tp_next) {
- n = frame_minheight(tp->tp_topframe, NULL);
- if (total < n)
+ int total = 0;
+ FOR_ALL_TABS(tp) {
+ int n = frame_minheight(tp->tp_topframe, NULL);
+ if (total < n) {
total = n;
+ }
}
total += tabline_height();
total += 1; /* count the room for the command line */
@@ -5019,16 +5032,15 @@ int only_one_window(void)
*/
void check_lnums(int do_curwin)
{
- win_T *wp;
-
- tabpage_T *tp;
-
- FOR_ALL_TAB_WINDOWS(tp, wp)
- if ((do_curwin || wp != curwin) && wp->w_buffer == curbuf) {
- if (wp->w_cursor.lnum > curbuf->b_ml.ml_line_count)
- wp->w_cursor.lnum = curbuf->b_ml.ml_line_count;
- if (wp->w_topline > curbuf->b_ml.ml_line_count)
- wp->w_topline = curbuf->b_ml.ml_line_count;
+ FOR_ALL_TAB_WINDOWS(tp, wp) {
+ if ((do_curwin || wp != curwin) && wp->w_buffer == curbuf) {
+ if (wp->w_cursor.lnum > curbuf->b_ml.ml_line_count) {
+ wp->w_cursor.lnum = curbuf->b_ml.ml_line_count;
+ }
+ if (wp->w_topline > curbuf->b_ml.ml_line_count) {
+ wp->w_topline = curbuf->b_ml.ml_line_count;
+ }
+ }
}
}
diff --git a/third-party/CMakeLists.txt b/third-party/CMakeLists.txt
index 66d43ff7ca..793be3172d 100644
--- a/third-party/CMakeLists.txt
+++ b/third-party/CMakeLists.txt
@@ -43,7 +43,11 @@ if(CMAKE_GENERATOR MATCHES "Makefiles")
set(MAKE_PRG "$(MAKE)")
endif()
-set(DEPS_C_COMPILER "${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_ARG1}")
+if(CMAKE_C_COMPILER_ARG1)
+ set(DEPS_C_COMPILER "${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_ARG1}")
+else()
+ set(DEPS_C_COMPILER "${CMAKE_C_COMPILER}")
+endif()
include(ExternalProject)