Raspbian Package Auto-Building

Build log for vim (2:7.4.488-7+deb8u4) on armhf

vim2:7.4.488-7+deb8u4armhf → 2019-08-03 11:25:14

sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on bm-wb-01

+==============================================================================+
| vim 2:7.4.488-7+deb8u4 (armhf)               Sat, 03 Aug 2019 10:13:53 +0000 |
+==============================================================================+

Package: vim
Version: 2:7.4.488-7+deb8u4
Source Version: 2:7.4.488-7+deb8u4
Distribution: jessie-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/run/schroot/mount/jessie-staging-armhf-sbuild-74c56aaf-a3fa-45b8-a94d-cf4d5700aecd' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.0.1 jessie-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1 jessie-staging/main Sources [7763 kB]
Get:3 http://172.17.0.1 jessie-staging/main armhf Packages [9538 kB]
Fetched 17.3 MB in 34s (508 kB/s)
Reading package lists...

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
Building dependency tree...
Reading state information...
NOTICE: 'vim' packaging is maintained in the 'Hg' version control system at:
http://anonscm.debian.org/hg/pkg-vim/vim
Need to get 12.2 MB of source archives.
Get:1 http://172.17.0.1/private/ jessie-staging/main vim 2:7.4.488-7+deb8u4 (dsc) [2520 B]
Get:2 http://172.17.0.1/private/ jessie-staging/main vim 2:7.4.488-7+deb8u4 (tar) [12.0 MB]
Get:3 http://172.17.0.1/private/ jessie-staging/main vim 2:7.4.488-7+deb8u4 (diff) [156 kB]
Fetched 12.2 MB in 2s (4457 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/vim-9hu7AN/vim-7.4.488' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/vim-9hu7AN' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/<<BUILDDIR>>/resolver-vBIbKJ/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keyring `/<<BUILDDIR>>/resolver-vBIbKJ/gpg/secring.gpg' created
gpg: keyring `/<<BUILDDIR>>/resolver-vBIbKJ/gpg/pubring.gpg' created
gpg: /<<BUILDDIR>>/resolver-vBIbKJ/gpg/trustdb.gpg: trustdb created
gpg: key 48F77B2E: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
gpg: key 48F77B2E: secret key imported
gpg: key 48F77B2E: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
Ign copy: ./ InRelease
Get:1 copy: ./ Release.gpg [299 B]
Get:2 copy: ./ Release [957 B]
Get:3 copy: ./ Sources [349 B]
Get:4 copy: ./ Packages [432 B]
Fetched 2037 B in 0s (19.0 kB/s)
Reading package lists...
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 818 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-vBIbKJ/apt_archive/ ./ sbuild-build-depends-core-dummy 0.invalid.0 [818 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 818 B in 0s (80.1 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12035 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any all)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: libacl1-dev, libgpmg1-dev, autoconf, pdf2svg, ghostscript, debhelper (>= 7.2.3~), libtinfo-dev | libncurses5-dev, libselinux1-dev, dpkg-dev (>= 1.15.1), libgtk2.0-dev, libxaw7-dev, libxt-dev, libxpm-dev, libgnomeui-dev, libperl-dev, tcl-dev, python-dev, ruby, ruby-dev, lua5.2, liblua5.2-dev
Merged Build-Conflicts: ruby1.8 (<< 1.8.7.358-8), ruby1.8-dev (<< 1.8.7.358-8)
Filtered Build-Depends: libacl1-dev, libgpmg1-dev, autoconf, pdf2svg, ghostscript, debhelper (>= 7.2.3~), libtinfo-dev, libselinux1-dev, dpkg-dev (>= 1.15.1), libgtk2.0-dev, libxaw7-dev, libxt-dev, libxpm-dev, libgnomeui-dev, libperl-dev, tcl-dev, python-dev, ruby, ruby-dev, lua5.2, liblua5.2-dev
Filtered Build-Conflicts: ruby1.8 (<< 1.8.7.358-8), ruby1.8-dev (<< 1.8.7.358-8)
dpkg-deb: building package `sbuild-build-depends-vim-dummy' in `/<<BUILDDIR>>/resolver-vBIbKJ/apt_archive/sbuild-build-depends-vim-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-vim-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
Ign copy: ./ InRelease
Get:1 copy: ./ Release.gpg [299 B]
Get:2 copy: ./ Release [963 B]
Get:3 copy: ./ Sources [664 B]
Get:4 copy: ./ Packages [726 B]
Fetched 2652 B in 0s (25.7 kB/s)
Reading package lists...
Reading package lists...

Install vim build dependencies (apt-based resolver)
---------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  autoconf bsdmainutils ca-certificates dbus dbus-x11 debhelper file
  fontconfig fontconfig-config fonts-dejavu-core gconf-service gconf2
  gconf2-common gettext gettext-base ghostscript gir1.2-atk-1.0
  gir1.2-freedesktop gir1.2-gconf-2.0 gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0
  gir1.2-gnomekeyring-1.0 gir1.2-gtk-2.0 gir1.2-pango-1.0 gnome-mime-data
  groff-base gsfonts intltool-debian libacl1-dev libart-2.0-2 libart-2.0-dev
  libasound2 libasound2-data libasprintf0c2 libatk1.0-0 libatk1.0-data
  libatk1.0-dev libattr1-dev libavahi-client-dev libavahi-client3
  libavahi-common-data libavahi-common-dev libavahi-common3 libavahi-glib-dev
  libavahi-glib1 libbonobo2-0 libbonobo2-common libbonobo2-dev libbonoboui2-0
  libbonoboui2-common libbonoboui2-dev libcairo-gobject2
  libcairo-script-interpreter2 libcairo2 libcairo2-dev libcanberra-dev
  libcanberra0 libcap-ng0 libcroco3 libcups2 libcupsfilters1 libcupsimage2
  libdatrie1 libdbus-1-dev libdbus-glib-1-2 libelfg0 libexpat1 libexpat1-dev
  libffi6 libfontconfig1 libfontconfig1-dev libfreetype6 libfreetype6-dev
  libgail-common libgail-dev libgail18 libgconf-2-4 libgconf2-dev
  libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgdk-pixbuf2.0-dev
  libgirepository-1.0-1 libglade2-0 libglib2.0-0 libglib2.0-bin
  libglib2.0-data libglib2.0-dev libgmp-dev libgmpxx4ldbl libgnome-2-0
  libgnome-keyring-common libgnome-keyring-dev libgnome-keyring0
  libgnome2-common libgnome2-dev libgnomecanvas2-0 libgnomecanvas2-common
  libgnomecanvas2-dev libgnomeui-0 libgnomeui-common libgnomeui-dev
  libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-dev libgnutls-deb0-28
  libgnutls-openssl27 libgnutls28-dev libgnutlsxx28 libgpm-dev libgpm2
  libgraphite2-3 libgs9 libgs9-common libgssapi-krb5-2 libgtk2.0-0
  libgtk2.0-common libgtk2.0-dev libharfbuzz-dev libharfbuzz-gobject0
  libharfbuzz-icu0 libharfbuzz0b libhogweed2 libice-dev libice6 libicu52
  libidl-dev libidl0 libidn11 libijs-0.35 libjasper1 libjbig0 libjbig2dec0
  libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
  liblcms2-2 libldap-2.4-2 libltdl7 liblua5.2-0 liblua5.2-dev liblzo2-2
  libmagic1 libnettle4 libogg0 libopenjp2-7 libopenjpeg5 liborbit-2-0
  liborbit2 liborbit2-dev libp11-kit-dev libp11-kit0 libpango-1.0-0
  libpango1.0-dev libpangocairo-1.0-0 libpangoft2-1.0-0 libpangoxft-1.0-0
  libpaper1 libpcre3-dev libpcrecpp0 libperl-dev libperl5.20 libpipeline1
  libpixman-1-0 libpixman-1-dev libpng12-dev libpoppler-glib8 libpoppler46
  libpopt-dev libpopt0 libpthread-stubs0-dev libpython-dev libpython-stdlib
  libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib
  libreadline-dev libreadline6-dev libruby2.1 libsasl2-2 libsasl2-modules-db
  libselinux1-dev libsepol1-dev libsigsegv2 libsm-dev libsm6 libsqlite3-0
  libssl1.0.0 libtasn1-6 libtasn1-6-dev libtcl8.6 libtdb1 libthai-data
  libthai0 libtiff5 libtinfo-dev libunistring0 libvorbis0a libvorbisfile3
  libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxaw7 libxaw7-dev
  libxcb-render0 libxcb-render0-dev libxcb-shm0 libxcb-shm0-dev libxcb1
  libxcb1-dev libxcomposite-dev libxcomposite1 libxcursor-dev libxcursor1
  libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6 libxext-dev libxext6
  libxfixes-dev libxfixes3 libxft-dev libxft2 libxi-dev libxi6 libxinerama-dev
  libxinerama1 libxml2 libxml2-dev libxml2-utils libxmu-dev libxmu-headers
  libxmu6 libxpm-dev libxpm4 libxrandr-dev libxrandr2 libxrender-dev
  libxrender1 libxt-dev libxt6 libyaml-0-2 lua5.2 m4 man-db mime-support
  nettle-dev openssl orbit2 pdf2svg pkg-config po-debconf poppler-data psmisc
  python python-dev python-minimal python2.7 python2.7-dev python2.7-minimal
  ruby ruby-dev ruby2.1 ruby2.1-dev rubygems-integration shared-mime-info tcl
  tcl-dev tcl8.6 tcl8.6-dev ucf x11-common x11proto-composite-dev
  x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev
  x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev
  x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev zlib1g-dev
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc libtool wamerican wordlist whois
  vacation dh-make gconf-defaults-service gettext-doc ghostscript-x groff
  libasound2-plugins alsa-utils libbonobo2-bin libcairo2-doc libcanberra-gtk0
  libcanberra-pulse cups-common libgail-doc libglib2.0-doc libgmp10-doc
  libmpfr-dev gnome-keyring desktop-base libgnome2-doc libgnomecanvas2-doc
  gnome-icon-theme libgnomeui-doc libgnomevfs2-bin gnutls-bin gnutls-doc
  guile-gnutls gpm krb5-doc krb5-user librsvg2-common gvfs libgtk2.0-doc
  libice-doc libjasper-runtime liblcms2-utils imagemagick libpango1.0-doc
  readline-doc libsm-doc libxaw-doc libxcb-doc libxext-doc libxt-doc less
  www-browser libmail-box-perl poppler-utils fonts-japanese-mincho
  fonts-ipafont-mincho fonts-japanese-gothic fonts-ipafont-gothic
  fonts-arphic-ukai fonts-arphic-uming fonts-nanum python-doc python-tk
  python2.7-doc binfmt-support ri bundler tcl-doc tcl-tclreadline tcl8.6-doc
Recommended packages:
  automake automaken curl wget lynx-cur autopoint libasprintf-dev
  libgettextpo-dev libgconf2-doc xdg-user-dirs libgnomevfs2-extra fonts-droid
  hicolor-icon-theme libgtk2.0-bin krb5-locales libtool-bin libpaper-utils
  libsasl2-modules libtasn1-doc libx11-doc xml-core libmail-sendmail-perl
  libjs-jquery
The following NEW packages will be installed:
  autoconf bsdmainutils ca-certificates dbus dbus-x11 debhelper file
  fontconfig fontconfig-config fonts-dejavu-core gconf-service gconf2
  gconf2-common gettext gettext-base ghostscript gir1.2-atk-1.0
  gir1.2-freedesktop gir1.2-gconf-2.0 gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0
  gir1.2-gnomekeyring-1.0 gir1.2-gtk-2.0 gir1.2-pango-1.0 gnome-mime-data
  groff-base gsfonts intltool-debian libacl1-dev libart-2.0-2 libart-2.0-dev
  libasound2 libasound2-data libasprintf0c2 libatk1.0-0 libatk1.0-data
  libatk1.0-dev libattr1-dev libavahi-client-dev libavahi-client3
  libavahi-common-data libavahi-common-dev libavahi-common3 libavahi-glib-dev
  libavahi-glib1 libbonobo2-0 libbonobo2-common libbonobo2-dev libbonoboui2-0
  libbonoboui2-common libbonoboui2-dev libcairo-gobject2
  libcairo-script-interpreter2 libcairo2 libcairo2-dev libcanberra-dev
  libcanberra0 libcap-ng0 libcroco3 libcups2 libcupsfilters1 libcupsimage2
  libdatrie1 libdbus-1-dev libdbus-glib-1-2 libelfg0 libexpat1 libexpat1-dev
  libffi6 libfontconfig1 libfontconfig1-dev libfreetype6 libfreetype6-dev
  libgail-common libgail-dev libgail18 libgconf-2-4 libgconf2-dev
  libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgdk-pixbuf2.0-dev
  libgirepository-1.0-1 libglade2-0 libglib2.0-0 libglib2.0-bin
  libglib2.0-data libglib2.0-dev libgmp-dev libgmpxx4ldbl libgnome-2-0
  libgnome-keyring-common libgnome-keyring-dev libgnome-keyring0
  libgnome2-common libgnome2-dev libgnomecanvas2-0 libgnomecanvas2-common
  libgnomecanvas2-dev libgnomeui-0 libgnomeui-common libgnomeui-dev
  libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-dev libgnutls-deb0-28
  libgnutls-openssl27 libgnutls28-dev libgnutlsxx28 libgpm-dev libgpm2
  libgraphite2-3 libgs9 libgs9-common libgssapi-krb5-2 libgtk2.0-0
  libgtk2.0-common libgtk2.0-dev libharfbuzz-dev libharfbuzz-gobject0
  libharfbuzz-icu0 libharfbuzz0b libhogweed2 libice-dev libice6 libicu52
  libidl-dev libidl0 libidn11 libijs-0.35 libjasper1 libjbig0 libjbig2dec0
  libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
  liblcms2-2 libldap-2.4-2 libltdl7 liblua5.2-0 liblua5.2-dev liblzo2-2
  libmagic1 libnettle4 libogg0 libopenjp2-7 libopenjpeg5 liborbit-2-0
  liborbit2 liborbit2-dev libp11-kit-dev libp11-kit0 libpango-1.0-0
  libpango1.0-dev libpangocairo-1.0-0 libpangoft2-1.0-0 libpangoxft-1.0-0
  libpaper1 libpcre3-dev libpcrecpp0 libperl-dev libperl5.20 libpipeline1
  libpixman-1-0 libpixman-1-dev libpng12-dev libpoppler-glib8 libpoppler46
  libpopt-dev libpopt0 libpthread-stubs0-dev libpython-dev libpython-stdlib
  libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib
  libreadline-dev libreadline6-dev libruby2.1 libsasl2-2 libsasl2-modules-db
  libselinux1-dev libsepol1-dev libsigsegv2 libsm-dev libsm6 libsqlite3-0
  libssl1.0.0 libtasn1-6 libtasn1-6-dev libtcl8.6 libtdb1 libthai-data
  libthai0 libtiff5 libtinfo-dev libunistring0 libvorbis0a libvorbisfile3
  libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxaw7 libxaw7-dev
  libxcb-render0 libxcb-render0-dev libxcb-shm0 libxcb-shm0-dev libxcb1
  libxcb1-dev libxcomposite-dev libxcomposite1 libxcursor-dev libxcursor1
  libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6 libxext-dev libxext6
  libxfixes-dev libxfixes3 libxft-dev libxft2 libxi-dev libxi6 libxinerama-dev
  libxinerama1 libxml2 libxml2-dev libxml2-utils libxmu-dev libxmu-headers
  libxmu6 libxpm-dev libxpm4 libxrandr-dev libxrandr2 libxrender-dev
  libxrender1 libxt-dev libxt6 libyaml-0-2 lua5.2 m4 man-db mime-support
  nettle-dev openssl orbit2 pdf2svg pkg-config po-debconf poppler-data psmisc
  python python-dev python-minimal python2.7 python2.7-dev python2.7-minimal
  ruby ruby-dev ruby2.1 ruby2.1-dev rubygems-integration
  sbuild-build-depends-vim-dummy shared-mime-info tcl tcl-dev tcl8.6
  tcl8.6-dev ucf x11-common x11proto-composite-dev x11proto-core-dev
  x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev
  x11proto-randr-dev x11proto-render-dev x11proto-xext-dev
  x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev zlib1g-dev
0 upgraded, 291 newly installed, 0 to remove and 3 not upgraded.
Need to get 120 MB of archives.
After this operation, 373 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-vBIbKJ/apt_archive/ ./ sbuild-build-depends-vim-dummy 0.invalid.0 [972 B]
Get:2 http://172.17.0.1/private/ jessie-staging/main libpipeline1 armhf 1.4.0-1 [24.0 kB]
Get:3 http://172.17.0.1/private/ jessie-staging/main libpopt0 armhf 1.16-10 [46.2 kB]
Get:4 http://172.17.0.1/private/ jessie-staging/main libssl1.0.0 armhf 1.0.1t-1+deb8u11 [854 kB]
Get:5 http://172.17.0.1/private/ jessie-staging/main groff-base armhf 1.22.2-8 [1045 kB]
Get:6 http://172.17.0.1/private/ jessie-staging/main bsdmainutils armhf 9.0.6 [177 kB]
Get:7 http://172.17.0.1/private/ jessie-staging/main man-db armhf 2.7.0.2-5 [972 kB]
Get:8 http://172.17.0.1/private/ jessie-staging/main libasprintf0c2 armhf 0.19.3-2 [31.1 kB]
Get:9 http://172.17.0.1/private/ jessie-staging/main libnettle4 armhf 2.7.1-5+deb8u2 [178 kB]
Get:10 http://172.17.0.1/private/ jessie-staging/main libhogweed2 armhf 2.7.1-5+deb8u2 [117 kB]
Get:11 http://172.17.0.1/private/ jessie-staging/main libffi6 armhf 3.1-2+deb8u1 [18.6 kB]
Get:12 http://172.17.0.1/private/ jessie-staging/main libp11-kit0 armhf 0.20.7-1 [66.7 kB]
Get:13 http://172.17.0.1/private/ jessie-staging/main libtasn1-6 armhf 4.2-3+deb8u3 [43.6 kB]
Get:14 http://172.17.0.1/private/ jessie-staging/main libgnutls-deb0-28 armhf 3.3.30-0+deb8u1 [678 kB]
Get:15 http://172.17.0.1/private/ jessie-staging/main libgnutls-openssl27 armhf 3.3.30-0+deb8u1 [177 kB]
Get:16 http://172.17.0.1/private/ jessie-staging/main libgpm2 armhf 1.20.4-6.1 [35.1 kB]
Get:17 http://172.17.0.1/private/ jessie-staging/main libkeyutils1 armhf 1.5.9-5 [10.9 kB]
Get:18 http://172.17.0.1/private/ jessie-staging/main libkrb5support0 armhf 1.12.1+dfsg-19+deb8u5 [55.7 kB]
Get:19 http://172.17.0.1/private/ jessie-staging/main libk5crypto3 armhf 1.12.1+dfsg-19+deb8u5 [109 kB]
Get:20 http://172.17.0.1/private/ jessie-staging/main libkrb5-3 armhf 1.12.1+dfsg-19+deb8u5 [257 kB]
Get:21 http://172.17.0.1/private/ jessie-staging/main libgssapi-krb5-2 armhf 1.12.1+dfsg-19+deb8u5 [130 kB]
Get:22 http://172.17.0.1/private/ jessie-staging/main libidn11 armhf 1.29-1+deb8u3 [133 kB]
Get:23 http://172.17.0.1/private/ jessie-staging/main libsasl2-modules-db armhf 2.1.26.dfsg1-13+deb8u1 [65.6 kB]
Get:24 http://172.17.0.1/private/ jessie-staging/main libsasl2-2 armhf 2.1.26.dfsg1-13+deb8u1 [97.3 kB]
Get:25 http://172.17.0.1/private/ jessie-staging/main libldap-2.4-2 armhf 2.4.40+dfsg-1+deb8u4 [192 kB]
Get:26 http://172.17.0.1/private/ jessie-staging/main libmagic1 armhf 1:5.22+15-2+deb8u5 [245 kB]
Get:27 http://172.17.0.1/private/ jessie-staging/main libpython2.7-minimal armhf 2.7.9-2+deb8u3 [376 kB]
Get:28 http://172.17.0.1/private/ jessie-staging/main mime-support all 3.58 [36.0 kB]
Get:29 http://172.17.0.1/private/ jessie-staging/main libexpat1 armhf 2.1.0-6+deb8u5 [60.7 kB]
Get:30 http://172.17.0.1/private/ jessie-staging/main libsqlite3-0 armhf 3.8.7.1-1+deb8u4 [378 kB]
Get:31 http://172.17.0.1/private/ jessie-staging/main libpython2.7-stdlib armhf 2.7.9-2+deb8u3 [1810 kB]
Get:32 http://172.17.0.1/private/ jessie-staging/main libpython2.7 armhf 2.7.9-2+deb8u3 [930 kB]
Get:33 http://172.17.0.1/private/ jessie-staging/main libxml2 armhf 2.9.1+dfsg1-5+deb8u7 [707 kB]
Get:34 http://172.17.0.1/private/ jessie-staging/main python2.7-minimal armhf 2.7.9-2+deb8u3 [1153 kB]
Get:35 http://172.17.0.1/private/ jessie-staging/main python-minimal armhf 2.7.9-1 [40.1 kB]
Get:36 http://172.17.0.1/private/ jessie-staging/main python2.7 armhf 2.7.9-2+deb8u3 [252 kB]
Get:37 http://172.17.0.1/private/ jessie-staging/main libpython-stdlib armhf 2.7.9-1 [19.6 kB]
Get:38 http://172.17.0.1/private/ jessie-staging/main python armhf 2.7.9-1 [151 kB]
Get:39 http://172.17.0.1/private/ jessie-staging/main libfreetype6 armhf 2.5.2-3+deb8u2 [412 kB]
Get:40 http://172.17.0.1/private/ jessie-staging/main ucf all 3.0030 [69.7 kB]
Get:41 http://172.17.0.1/private/ jessie-staging/main fonts-dejavu-core all 2.34-1 [1047 kB]
Get:42 http://172.17.0.1/private/ jessie-staging/main fontconfig-config all 2.11.0-6.3+deb8u1 [274 kB]
Get:43 http://172.17.0.1/private/ jessie-staging/main libfontconfig1 armhf 2.11.0-6.3+deb8u1 [312 kB]
Get:44 http://172.17.0.1/private/ jessie-staging/main fontconfig armhf 2.11.0-6.3+deb8u1 [402 kB]
Get:45 http://172.17.0.1/private/ jessie-staging/main libart-2.0-2 armhf 2.3.21-2 [63.8 kB]
Get:46 http://172.17.0.1/private/ jessie-staging/main libasound2-data all 1.0.28-1 [64.8 kB]
Get:47 http://172.17.0.1/private/ jessie-staging/main libasound2 armhf 1.0.28-1 [316 kB]
Get:48 http://172.17.0.1/private/ jessie-staging/main libglib2.0-0 armhf 2.42.1-1+deb8u2 [2250 kB]
Get:49 http://172.17.0.1/private/ jessie-staging/main libatk1.0-data all 2.14.0-1 [181 kB]
Get:50 http://172.17.0.1/private/ jessie-staging/main libatk1.0-0 armhf 2.14.0-1 [84.2 kB]
Get:51 http://172.17.0.1/private/ jessie-staging/main libavahi-common-data armhf 0.6.31-5 [98.8 kB]
Get:52 http://172.17.0.1/private/ jessie-staging/main libavahi-common3 armhf 0.6.31-5 [48.0 kB]
Get:53 http://172.17.0.1/private/ jessie-staging/main libavahi-client3 armhf 0.6.31-5 [50.6 kB]
Get:54 http://172.17.0.1/private/ jessie-staging/main libavahi-glib1 armhf 0.6.31-5 [36.4 kB]
Get:55 http://172.17.0.1/private/ jessie-staging/main libbonobo2-common all 2.32.1-3 [243 kB]
Get:56 http://172.17.0.1/private/ jessie-staging/main liborbit-2-0 armhf 1:2.14.19-0.3 [196 kB]
Get:57 http://172.17.0.1/private/ jessie-staging/main libbonobo2-0 armhf 2.32.1-3 [236 kB]
Get:58 http://172.17.0.1/private/ jessie-staging/main libdbus-glib-1-2 armhf 0.102-1 [190 kB]
Get:59 http://172.17.0.1/private/ jessie-staging/main gconf2-common all 3.2.6-3 [1040 kB]
Get:60 http://172.17.0.1/private/ jessie-staging/main libgconf-2-4 armhf 3.2.6-3 [413 kB]
Get:61 http://172.17.0.1/private/ jessie-staging/main gconf-service armhf 3.2.6-3 [404 kB]
Get:62 http://172.17.0.1/private/ jessie-staging/main libpixman-1-0 armhf 0.32.6-3+deb8u1 [426 kB]
Get:63 http://172.17.0.1/private/ jessie-staging/main libxau6 armhf 1:1.0.8-1 [19.9 kB]
Get:64 http://172.17.0.1/private/ jessie-staging/main libxdmcp6 armhf 1:1.1.1-1 [24.6 kB]
Get:65 http://172.17.0.1/private/ jessie-staging/main libxcb1 armhf 1.10-3 [38.1 kB]
Get:66 http://172.17.0.1/private/ jessie-staging/main libx11-data all 2:1.6.2-3+deb8u2 [126 kB]
Get:67 http://172.17.0.1/private/ jessie-staging/main libx11-6 armhf 2:1.6.2-3+deb8u2 [665 kB]
Get:68 http://172.17.0.1/private/ jessie-staging/main libxcb-render0 armhf 1.10-3 [16.0 kB]
Get:69 http://172.17.0.1/private/ jessie-staging/main libxcb-shm0 armhf 1.10-3 [11.0 kB]
Get:70 http://172.17.0.1/private/ jessie-staging/main libxext6 armhf 2:1.3.3-1 [48.1 kB]
Get:71 http://172.17.0.1/private/ jessie-staging/main libxrender1 armhf 1:0.9.8-1 [30.4 kB]
Get:72 http://172.17.0.1/private/ jessie-staging/main libcairo2 armhf 1.14.0-2.1+deb8u2 [662 kB]
Get:73 http://172.17.0.1/private/ jessie-staging/main libjpeg62-turbo armhf 1:1.3.1-12+deb8u2 [97.2 kB]
Get:74 http://172.17.0.1/private/ jessie-staging/main libjasper1 armhf 1.900.1-debian1-2.4+deb8u6 [111 kB]
Get:75 http://172.17.0.1/private/ jessie-staging/main libjbig0 armhf 2.1-3.1 [27.5 kB]
Get:76 http://172.17.0.1/private/ jessie-staging/main libtiff5 armhf 4.0.3-12.3+deb8u8 [204 kB]
Get:77 http://172.17.0.1/private/ jessie-staging/main libgdk-pixbuf2.0-common all 2.31.1-2+deb8u7 [294 kB]
Get:78 http://172.17.0.1/private/ jessie-staging/main libgdk-pixbuf2.0-0 armhf 2.31.1-2+deb8u7 [148 kB]
Get:79 http://172.17.0.1/private/ jessie-staging/main libgtk2.0-common all 2.24.25-3+deb8u2 [3137 kB]
Get:80 http://172.17.0.1/private/ jessie-staging/main libcups2 armhf 1.7.5-11+deb8u4 [254 kB]
Get:81 http://172.17.0.1/private/ jessie-staging/main libthai-data all 0.1.21-1 [159 kB]
Get:82 http://172.17.0.1/private/ jessie-staging/main libdatrie1 armhf 0.2.8-1 [29.1 kB]
Get:83 http://172.17.0.1/private/ jessie-staging/main libthai0 armhf 0.1.21-1 [43.4 kB]
Get:84 http://172.17.0.1/private/ jessie-staging/main libpango-1.0-0 armhf 1.36.8-3 [274 kB]
Get:85 http://172.17.0.1/private/ jessie-staging/main libgraphite2-3 armhf 1.3.10-1~deb8u1 [73.0 kB]
Get:86 http://172.17.0.1/private/ jessie-staging/main libharfbuzz0b armhf 0.9.35-2 [464 kB]
Get:87 http://172.17.0.1/private/ jessie-staging/main libpangoft2-1.0-0 armhf 1.36.8-3 [207 kB]
Get:88 http://172.17.0.1/private/ jessie-staging/main libpangocairo-1.0-0 armhf 1.36.8-3 [197 kB]
Get:89 http://172.17.0.1/private/ jessie-staging/main libxcomposite1 armhf 1:0.4.4-1 [16.8 kB]
Get:90 http://172.17.0.1/private/ jessie-staging/main libxfixes3 armhf 1:5.0.1-2+deb8u1 [19.9 kB]
Get:91 http://172.17.0.1/private/ jessie-staging/main libxcursor1 armhf 1:1.1.14-1+deb8u2 [31.8 kB]
Get:92 http://172.17.0.1/private/ jessie-staging/main libxdamage1 armhf 1:1.1.4-2 [13.9 kB]
Get:93 http://172.17.0.1/private/ jessie-staging/main libxi6 armhf 2:1.7.4-1+deb8u1 [74.7 kB]
Get:94 http://172.17.0.1/private/ jessie-staging/main libxinerama1 armhf 2:1.1.3-1 [16.9 kB]
Get:95 http://172.17.0.1/private/ jessie-staging/main libxrandr2 armhf 2:1.4.2-1+deb8u1 [32.9 kB]
Get:96 http://172.17.0.1/private/ jessie-staging/main shared-mime-info armhf 1.3-1 [630 kB]
Get:97 http://172.17.0.1/private/ jessie-staging/main libgtk2.0-0 armhf 2.24.25-3+deb8u2 [2014 kB]
Get:98 http://172.17.0.1/private/ jessie-staging/main libglade2-0 armhf 1:2.6.4-2 [76.2 kB]
Get:99 http://172.17.0.1/private/ jessie-staging/main libltdl7 armhf 2.4.2-1.11 [42.5 kB]
Get:100 http://172.17.0.1/private/ jessie-staging/main libogg0 armhf 1.3.2-1 [17.2 kB]
Get:101 http://172.17.0.1/private/ jessie-staging/main libtdb1 armhf 1.3.6-0+deb8u1 [37.1 kB]
Get:102 http://172.17.0.1/private/ jessie-staging/main libvorbis0a armhf 1.3.4-2+deb8u1 [82.1 kB]
Get:103 http://172.17.0.1/private/ jessie-staging/main libvorbisfile3 armhf 1.3.4-2+deb8u1 [22.6 kB]
Get:104 http://172.17.0.1/private/ jessie-staging/main libcanberra0 armhf 0.30-2.1 [35.3 kB]
Get:105 http://172.17.0.1/private/ jessie-staging/main psmisc armhf 22.21-2 [117 kB]
Get:106 http://172.17.0.1/private/ jessie-staging/main libcap-ng0 armhf 0.7.4-2 [12.0 kB]
Get:107 http://172.17.0.1/private/ jessie-staging/main dbus armhf 1.8.22-0+deb8u2 [248 kB]
Get:108 http://172.17.0.1/private/ jessie-staging/main dbus-x11 armhf 1.8.22-0+deb8u2 [72.6 kB]
Get:109 http://172.17.0.1/private/ jessie-staging/main gconf2 armhf 3.2.6-3 [419 kB]
Get:110 http://172.17.0.1/private/ jessie-staging/main gnome-mime-data all 2.18.0-1 [725 kB]
Get:111 http://172.17.0.1/private/ jessie-staging/main libgnomevfs2-common all 1:2.24.4-6 [763 kB]
Get:112 http://172.17.0.1/private/ jessie-staging/main libgnomevfs2-0 armhf 1:2.24.4-6 [450 kB]
Get:113 http://172.17.0.1/private/ jessie-staging/main libgnome2-common all 2.32.1-5 [936 kB]
Get:114 http://172.17.0.1/private/ jessie-staging/main libgnome-2-0 armhf 2.32.1-5 [463 kB]
Get:115 http://172.17.0.1/private/ jessie-staging/main libgail18 armhf 2.24.25-3+deb8u2 [537 kB]
Get:116 http://172.17.0.1/private/ jessie-staging/main libgnomecanvas2-common all 2.30.3-2 [132 kB]
Get:117 http://172.17.0.1/private/ jessie-staging/main libgnomecanvas2-0 armhf 2.30.3-2 [94.7 kB]
Get:118 http://172.17.0.1/private/ jessie-staging/main x11-common all 1:7.7+7 [287 kB]
Get:119 http://172.17.0.1/private/ jessie-staging/main libice6 armhf 2:1.0.9-1 [51.2 kB]
Get:120 http://172.17.0.1/private/ jessie-staging/main libsm6 armhf 2:1.2.2-1 [31.2 kB]
Get:121 http://172.17.0.1/private/ jessie-staging/main libbonoboui2-common all 2.24.5-2 [192 kB]
Get:122 http://172.17.0.1/private/ jessie-staging/main libbonoboui2-0 armhf 2.24.5-2 [177 kB]
Get:123 http://172.17.0.1/private/ jessie-staging/main libcairo-gobject2 armhf 1.14.0-2.1+deb8u2 [304 kB]
Get:124 http://172.17.0.1/private/ jessie-staging/main liblzo2-2 armhf 2.08-1.2 [47.6 kB]
Get:125 http://172.17.0.1/private/ jessie-staging/main libcairo-script-interpreter2 armhf 1.14.0-2.1+deb8u2 [331 kB]
Get:126 http://172.17.0.1/private/ jessie-staging/main libcroco3 armhf 0.6.8-3 [121 kB]
Get:127 http://172.17.0.1/private/ jessie-staging/main libcupsimage2 armhf 1.7.5-11+deb8u4 [115 kB]
Get:128 http://172.17.0.1/private/ jessie-staging/main libcupsfilters1 armhf 1.0.61-5+deb8u4 [98.4 kB]
Get:129 http://172.17.0.1/private/ jessie-staging/main libelfg0 armhf 0.8.13-5 [55.7 kB]
Get:130 http://172.17.0.1/private/ jessie-staging/main libgmpxx4ldbl armhf 2:6.0.0+dfsg-6+rpi1 [21.6 kB]
Get:131 http://172.17.0.1/private/ jessie-staging/main libgnome-keyring-common all 3.12.0-1 [59.5 kB]
Get:132 http://172.17.0.1/private/ jessie-staging/main libgnome-keyring0 armhf 3.12.0-1+b1 [79.9 kB]
Get:133 http://172.17.0.1/private/ jessie-staging/main libgnomeui-common all 2.24.5-3 [514 kB]
Get:134 http://172.17.0.1/private/ jessie-staging/main libgnomeui-0 armhf 2.24.5-3 [285 kB]
Get:135 http://172.17.0.1/private/ jessie-staging/main libharfbuzz-gobject0 armhf 0.9.35-2 [364 kB]
Get:136 http://172.17.0.1/private/ jessie-staging/main libicu52 armhf 52.1-8+deb8u7 [6570 kB]
Get:137 http://172.17.0.1/private/ jessie-staging/main libharfbuzz-icu0 armhf 0.9.35-2 [359 kB]
Get:138 http://172.17.0.1/private/ jessie-staging/main libidl0 armhf 0.8.14-0.4 [109 kB]
Get:139 http://172.17.0.1/private/ jessie-staging/main libijs-0.35 armhf 0.35-10 [18.5 kB]
Get:140 http://172.17.0.1/private/ jessie-staging/main liblcms2-2 armhf 2.6-3+deb8u2 [117 kB]
Get:141 http://172.17.0.1/private/ jessie-staging/main liblua5.2-0 armhf 5.2.3-1.1 [64.8 kB]
Get:142 http://172.17.0.1/private/ jessie-staging/main liborbit2 armhf 1:2.14.19-0.3 [110 kB]
Get:143 http://172.17.0.1/private/ jessie-staging/main libxft2 armhf 2.3.2-1 [48.3 kB]
Get:144 http://172.17.0.1/private/ jessie-staging/main libpangoxft-1.0-0 armhf 1.36.8-3 [193 kB]
Get:145 http://172.17.0.1/private/ jessie-staging/main libpaper1 armhf 1.1.24+nmu4 [21.4 kB]
Get:146 http://172.17.0.1/private/ jessie-staging/main libpcrecpp0 armhf 2:8.35-3.3+deb8u4 [140 kB]
Get:147 http://172.17.0.1/private/ jessie-staging/main libopenjpeg5 armhf 1:1.5.2-3 [93.3 kB]
Get:148 http://172.17.0.1/private/ jessie-staging/main libpoppler46 armhf 0.26.5-2+deb8u10 [1096 kB]
Get:149 http://172.17.0.1/private/ jessie-staging/main libpoppler-glib8 armhf 0.26.5-2+deb8u10 [106 kB]
Get:150 http://172.17.0.1/private/ jessie-staging/main libexpat1-dev armhf 2.1.0-6+deb8u5 [115 kB]
Get:151 http://172.17.0.1/private/ jessie-staging/main libpython2.7-dev armhf 2.7.9-2+deb8u3 [17.9 MB]
Get:152 http://172.17.0.1/private/ jessie-staging/main libsigsegv2 armhf 2.10-4 [28.2 kB]
Get:153 http://172.17.0.1/private/ jessie-staging/main libtcl8.6 armhf 8.6.2+dfsg-2 [862 kB]
Get:154 http://172.17.0.1/private/ jessie-staging/main libunistring0 armhf 0.9.3-5.2 [253 kB]
Get:155 http://172.17.0.1/private/ jessie-staging/main libxt6 armhf 1:1.1.4-1 [183 kB]
Get:156 http://172.17.0.1/private/ jessie-staging/main libxmu6 armhf 2:1.1.2-1 [50.8 kB]
Get:157 http://172.17.0.1/private/ jessie-staging/main libxpm4 armhf 1:3.5.12-0+deb8u1 [43.7 kB]
Get:158 http://172.17.0.1/private/ jessie-staging/main libxaw7 armhf 2:1.0.12-2 [159 kB]
Get:159 http://172.17.0.1/private/ jessie-staging/main libyaml-0-2 armhf 0.1.6-3 [41.5 kB]
Get:160 http://172.17.0.1/private/ jessie-staging/main poppler-data all 0.4.7-1 [1491 kB]
Get:161 http://172.17.0.1/private/ jessie-staging/main libgnutlsxx28 armhf 3.3.30-0+deb8u1 [12.7 kB]
Get:162 http://172.17.0.1/private/ jessie-staging/main libopenjp2-7 armhf 2.1.0-2+deb8u7 [104 kB]
Get:163 http://172.17.0.1/private/ jessie-staging/main file armhf 1:5.22+15-2+deb8u5 [60.3 kB]
Get:164 http://172.17.0.1/private/ jessie-staging/main gettext-base armhf 0.19.3-2 [116 kB]
Get:165 http://172.17.0.1/private/ jessie-staging/main m4 armhf 1.4.17-4 [238 kB]
Get:166 http://172.17.0.1/private/ jessie-staging/main autoconf all 2.69-8 [340 kB]
Get:167 http://172.17.0.1/private/ jessie-staging/main openssl armhf 1.0.1t-1+deb8u11 [653 kB]
Get:168 http://172.17.0.1/private/ jessie-staging/main ca-certificates all 20141019+deb8u4 [185 kB]
Get:169 http://172.17.0.1/private/ jessie-staging/main gettext armhf 0.19.3-2 [1167 kB]
Get:170 http://172.17.0.1/private/ jessie-staging/main intltool-debian all 0.35.0+20060710.1 [29.8 kB]
Get:171 http://172.17.0.1/private/ jessie-staging/main po-debconf all 1.0.16+nmu3 [220 kB]
Get:172 http://172.17.0.1/private/ jessie-staging/main debhelper all 9.20150101+deb8u2 [817 kB]
Get:173 http://172.17.0.1/private/ jessie-staging/main libjbig2dec0 armhf 0.13-4~deb8u2 [51.7 kB]
Get:174 http://172.17.0.1/private/ jessie-staging/main libgs9-common all 9.26a~dfsg-0+deb8u3 [5143 kB]
Get:175 http://172.17.0.1/private/ jessie-staging/main libgs9 armhf 9.26a~dfsg-0+deb8u3 [1868 kB]
Get:176 http://172.17.0.1/private/ jessie-staging/main gsfonts all 1:8.11+urwcyr1.0.7~pre44-4.2 [3364 kB]
Get:177 http://172.17.0.1/private/ jessie-staging/main ghostscript armhf 9.26a~dfsg-0+deb8u3 [98.0 kB]
Get:178 http://172.17.0.1/private/ jessie-staging/main libgirepository-1.0-1 armhf 1.42.0-2.2 [82.9 kB]
Get:179 http://172.17.0.1/private/ jessie-staging/main gir1.2-glib-2.0 armhf 1.42.0-2.2 [141 kB]
Get:180 http://172.17.0.1/private/ jessie-staging/main gir1.2-atk-1.0 armhf 2.14.0-1 [66.4 kB]
Get:181 http://172.17.0.1/private/ jessie-staging/main gir1.2-freedesktop armhf 1.42.0-2.2 [22.1 kB]
Get:182 http://172.17.0.1/private/ jessie-staging/main gir1.2-gconf-2.0 armhf 3.2.6-3 [362 kB]
Get:183 http://172.17.0.1/private/ jessie-staging/main gir1.2-gdkpixbuf-2.0 armhf 2.31.1-2+deb8u7 [16.9 kB]
Get:184 http://172.17.0.1/private/ jessie-staging/main gir1.2-gnomekeyring-1.0 armhf 3.12.0-1+b1 [40.4 kB]
Get:185 http://172.17.0.1/private/ jessie-staging/main gir1.2-pango-1.0 armhf 1.36.8-3 [201 kB]
Get:186 http://172.17.0.1/private/ jessie-staging/main gir1.2-gtk-2.0 armhf 2.24.25-3+deb8u2 [696 kB]
Get:187 http://172.17.0.1/private/ jessie-staging/main pkg-config armhf 0.28-1 [55.1 kB]
Get:188 http://172.17.0.1/private/ jessie-staging/main libart-2.0-dev armhf 2.3.21-2 [82.0 kB]
Get:189 http://172.17.0.1/private/ jessie-staging/main libglib2.0-data all 2.42.1-1+deb8u2 [2172 kB]
Get:190 http://172.17.0.1/private/ jessie-staging/main libglib2.0-bin armhf 2.42.1-1+deb8u2 [1334 kB]
Get:191 http://172.17.0.1/private/ jessie-staging/main libpcre3-dev armhf 2:8.35-3.3+deb8u4 [413 kB]
Get:192 http://172.17.0.1/private/ jessie-staging/main zlib1g-dev armhf 1:1.2.8.dfsg-2 [199 kB]
Get:193 http://172.17.0.1/private/ jessie-staging/main libglib2.0-dev armhf 2.42.1-1+deb8u2 [2473 kB]
Get:194 http://172.17.0.1/private/ jessie-staging/main libatk1.0-dev armhf 2.14.0-1 [127 kB]
Get:195 http://172.17.0.1/private/ jessie-staging/main libavahi-common-dev armhf 0.6.31-5 [61.4 kB]
Get:196 http://172.17.0.1/private/ jessie-staging/main libdbus-1-dev armhf 1.8.22-0+deb8u2 [185 kB]
Get:197 http://172.17.0.1/private/ jessie-staging/main libavahi-client-dev armhf 0.6.31-5 [55.4 kB]
Get:198 http://172.17.0.1/private/ jessie-staging/main libavahi-glib-dev armhf 0.6.31-5 [36.2 kB]
Get:199 http://172.17.0.1/private/ jessie-staging/main libidl-dev armhf 0.8.14-0.4 [113 kB]
Get:200 http://172.17.0.1/private/ jessie-staging/main orbit2 armhf 1:2.14.19-0.3 [140 kB]
Get:201 http://172.17.0.1/private/ jessie-staging/main liborbit2-dev armhf 1:2.14.19-0.3 [304 kB]
Get:202 http://172.17.0.1/private/ jessie-staging/main libpopt-dev armhf 1.16-10 [47.0 kB]
Get:203 http://172.17.0.1/private/ jessie-staging/main libbonobo2-dev armhf 2.32.1-3 [581 kB]
Get:204 http://172.17.0.1/private/ jessie-staging/main xorg-sgml-doctools all 1:1.11-1 [21.9 kB]
Get:205 http://172.17.0.1/private/ jessie-staging/main x11proto-core-dev all 7.0.26-1 [729 kB]
Get:206 http://172.17.0.1/private/ jessie-staging/main libxau-dev armhf 1:1.0.8-1 [23.0 kB]
Get:207 http://172.17.0.1/private/ jessie-staging/main libxdmcp-dev armhf 1:1.1.1-1 [40.8 kB]
Get:208 http://172.17.0.1/private/ jessie-staging/main x11proto-input-dev all 2.3.1-1 [157 kB]
Get:209 http://172.17.0.1/private/ jessie-staging/main x11proto-kb-dev all 1.0.6-2 [269 kB]
Get:210 http://172.17.0.1/private/ jessie-staging/main xtrans-dev all 1.3.4-1 [99.3 kB]
Get:211 http://172.17.0.1/private/ jessie-staging/main libpthread-stubs0-dev armhf 0.3-4 [4042 B]
Get:212 http://172.17.0.1/private/ jessie-staging/main libxcb1-dev armhf 1.10-3 [78.1 kB]
Get:213 http://172.17.0.1/private/ jessie-staging/main libx11-dev armhf 2:1.6.2-3+deb8u2 [736 kB]
Get:214 http://172.17.0.1/private/ jessie-staging/main libpng12-dev armhf 1.2.50-2+deb8u3 [237 kB]
Get:215 http://172.17.0.1/private/ jessie-staging/main libgdk-pixbuf2.0-dev armhf 2.31.1-2+deb8u7 [52.5 kB]
Get:216 http://172.17.0.1/private/ jessie-staging/main libfreetype6-dev armhf 2.5.2-3+deb8u2 [586 kB]
Get:217 http://172.17.0.1/private/ jessie-staging/main libfontconfig1-dev armhf 2.11.0-6.3+deb8u1 [876 kB]
Get:218 http://172.17.0.1/private/ jessie-staging/main x11proto-render-dev all 2:0.11.1-2 [20.8 kB]
Get:219 http://172.17.0.1/private/ jessie-staging/main libxrender-dev armhf 1:0.9.8-1 [38.8 kB]
Get:220 http://172.17.0.1/private/ jessie-staging/main x11proto-xext-dev all 7.3.0-1 [212 kB]
Get:221 http://172.17.0.1/private/ jessie-staging/main libxext-dev armhf 2:1.3.3-1 [102 kB]
Get:222 http://172.17.0.1/private/ jessie-staging/main libice-dev armhf 2:1.0.9-1 [58.1 kB]
Get:223 http://172.17.0.1/private/ jessie-staging/main libsm-dev armhf 2:1.2.2-1 [33.5 kB]
Get:224 http://172.17.0.1/private/ jessie-staging/main libpixman-1-dev armhf 0.32.6-3+deb8u1 [443 kB]
Get:225 http://172.17.0.1/private/ jessie-staging/main libxcb-render0-dev armhf 1.10-3 [21.7 kB]
Get:226 http://172.17.0.1/private/ jessie-staging/main libxcb-shm0-dev armhf 1.10-3 [12.4 kB]
Get:227 http://172.17.0.1/private/ jessie-staging/main libcairo2-dev armhf 1.14.0-2.1+deb8u2 [784 kB]
Get:228 http://172.17.0.1/private/ jessie-staging/main libharfbuzz-dev armhf 0.9.35-2 [507 kB]
Get:229 http://172.17.0.1/private/ jessie-staging/main libxft-dev armhf 2.3.2-1 [59.1 kB]
Get:230 http://172.17.0.1/private/ jessie-staging/main libpango1.0-dev armhf 1.36.8-3 [439 kB]
Get:231 http://172.17.0.1/private/ jessie-staging/main x11proto-xinerama-dev all 1.2.1-2 [4938 B]
Get:232 http://172.17.0.1/private/ jessie-staging/main libxinerama-dev armhf 2:1.1.3-1 [19.5 kB]
Get:233 http://172.17.0.1/private/ jessie-staging/main x11proto-fixes-dev all 1:5.0-2 [19.2 kB]
Get:234 http://172.17.0.1/private/ jessie-staging/main libxfixes-dev armhf 1:5.0.1-2+deb8u1 [21.9 kB]
Get:235 http://172.17.0.1/private/ jessie-staging/main libxi-dev armhf 2:1.7.4-1+deb8u1 [232 kB]
Get:236 http://172.17.0.1/private/ jessie-staging/main x11proto-randr-dev all 1.4.0-2 [46.8 kB]
Get:237 http://172.17.0.1/private/ jessie-staging/main libxrandr-dev armhf 2:1.4.2-1+deb8u1 [40.6 kB]
Get:238 http://172.17.0.1/private/ jessie-staging/main libxcursor-dev armhf 1:1.1.14-1+deb8u2 [39.3 kB]
Get:239 http://172.17.0.1/private/ jessie-staging/main x11proto-composite-dev all 1:0.4.2-2 [15.3 kB]
Get:240 http://172.17.0.1/private/ jessie-staging/main libxcomposite-dev armhf 1:0.4.4-1 [20.5 kB]
Get:241 http://172.17.0.1/private/ jessie-staging/main x11proto-damage-dev all 1:1.2.1-2 [11.8 kB]
Get:242 http://172.17.0.1/private/ jessie-staging/main libxdamage-dev armhf 1:1.1.4-2 [13.7 kB]
Get:243 http://172.17.0.1/private/ jessie-staging/main libxml2-utils armhf 2.9.1+dfsg1-5+deb8u7 [91.1 kB]
Get:244 http://172.17.0.1/private/ jessie-staging/main libgtk2.0-dev armhf 2.24.25-3+deb8u2 [2829 kB]
Get:245 http://172.17.0.1/private/ jessie-staging/main libgail-common armhf 2.24.25-3+deb8u2 [611 kB]
Get:246 http://172.17.0.1/private/ jessie-staging/main libgail-dev armhf 2.24.25-3+deb8u2 [538 kB]
Get:247 http://172.17.0.1/private/ jessie-staging/main libgnomecanvas2-dev armhf 2.30.3-2 [114 kB]
Get:248 http://172.17.0.1/private/ jessie-staging/main libgconf2-dev armhf 3.2.6-3 [433 kB]
Get:249 http://172.17.0.1/private/ jessie-staging/main libgmp-dev armhf 2:6.0.0+dfsg-6+rpi1 [552 kB]
Get:250 http://172.17.0.1/private/ jessie-staging/main nettle-dev armhf 2.7.1-5+deb8u2 [834 kB]
Get:251 http://172.17.0.1/private/ jessie-staging/main libtasn1-6-dev armhf 4.2-3+deb8u3 [85.1 kB]
Get:252 http://172.17.0.1/private/ jessie-staging/main libp11-kit-dev armhf 0.20.7-1 [62.4 kB]
Get:253 http://172.17.0.1/private/ jessie-staging/main libgnutls28-dev armhf 3.3.30-0+deb8u1 [622 kB]
Get:254 http://172.17.0.1/private/ jessie-staging/main libxml2-dev armhf 2.9.1+dfsg1-5+deb8u7 [616 kB]
Get:255 http://172.17.0.1/private/ jessie-staging/main libsepol1-dev armhf 2.3-2 [151 kB]
Get:256 http://172.17.0.1/private/ jessie-staging/main libselinux1-dev armhf 2.3-2 [147 kB]
Get:257 http://172.17.0.1/private/ jessie-staging/main libgnomevfs2-dev armhf 1:2.24.4-6 [467 kB]
Get:258 http://172.17.0.1/private/ jessie-staging/main libcanberra-dev armhf 0.30-2.1 [14.2 kB]
Get:259 http://172.17.0.1/private/ jessie-staging/main libgnome2-dev armhf 2.32.1-5 [466 kB]
Get:260 http://172.17.0.1/private/ jessie-staging/main libbonoboui2-dev armhf 2.24.5-2 [330 kB]
Get:261 http://172.17.0.1/private/ jessie-staging/main libgnome-keyring-dev armhf 3.12.0-1+b1 [84.8 kB]
Get:262 http://172.17.0.1/private/ jessie-staging/main libgnomeui-dev armhf 2.24.5-3 [337 kB]
Get:263 http://172.17.0.1/private/ jessie-staging/main libgpm-dev armhf 1.20.4-6.1 [38.1 kB]
Get:264 http://172.17.0.1/private/ jessie-staging/main libtinfo-dev armhf 5.9+20140913-1+deb8u3 [66.2 kB]
Get:265 http://172.17.0.1/private/ jessie-staging/main libreadline6-dev armhf 6.3-8 [105 kB]
Get:266 http://172.17.0.1/private/ jessie-staging/main libreadline-dev armhf 6.3-8 [994 B]
Get:267 http://172.17.0.1/private/ jessie-staging/main liblua5.2-dev armhf 5.2.3-1.1 [86.0 kB]
Get:268 http://172.17.0.1/private/ jessie-staging/main libperl5.20 armhf 5.20.2-3+deb8u12 [1352 B]
Get:269 http://172.17.0.1/private/ jessie-staging/main libperl-dev armhf 5.20.2-3+deb8u12 [2182 kB]
Get:270 http://172.17.0.1/private/ jessie-staging/main libpython-dev armhf 2.7.9-1 [19.6 kB]
Get:271 http://172.17.0.1/private/ jessie-staging/main libxt-dev armhf 1:1.1.4-1 [447 kB]
Get:272 http://172.17.0.1/private/ jessie-staging/main libxmu-headers all 2:1.1.2-1 [68.0 kB]
Get:273 http://172.17.0.1/private/ jessie-staging/main libxmu-dev armhf 2:1.1.2-1 [55.2 kB]
Get:274 http://172.17.0.1/private/ jessie-staging/main libxpm-dev armhf 1:3.5.12-0+deb8u1 [98.5 kB]
Get:275 http://172.17.0.1/private/ jessie-staging/main libxaw7-dev armhf 2:1.0.12-2 [217 kB]
Get:276 http://172.17.0.1/private/ jessie-staging/main lua5.2 armhf 5.2.3-1.1 [74.7 kB]
Get:277 http://172.17.0.1/private/ jessie-staging/main python2.7-dev armhf 2.7.9-2+deb8u3 [293 kB]
Get:278 http://172.17.0.1/private/ jessie-staging/main python-dev armhf 2.7.9-1 [1188 B]
Get:279 http://172.17.0.1/private/ jessie-staging/main rubygems-integration all 1.8 [4514 B]
Get:280 http://172.17.0.1/private/ jessie-staging/main libruby2.1 armhf 2.1.5-2+deb8u7 [3025 kB]
Get:281 http://172.17.0.1/private/ jessie-staging/main ruby2.1 armhf 2.1.5-2+deb8u7 [277 kB]
Get:282 http://172.17.0.1/private/ jessie-staging/main ruby all 1:2.1.5+deb8u2 [9688 B]
Get:283 http://172.17.0.1/private/ jessie-staging/main ruby2.1-dev armhf 2.1.5-2+deb8u7 [983 kB]
Get:284 http://172.17.0.1/private/ jessie-staging/main ruby-dev all 1:2.1.5+deb8u2 [8364 B]
Get:285 http://172.17.0.1/private/ jessie-staging/main tcl8.6 armhf 8.6.2+dfsg-2 [122 kB]
Get:286 http://172.17.0.1/private/ jessie-staging/main tcl armhf 8.6.0+8+b1 [5508 B]
Get:287 http://172.17.0.1/private/ jessie-staging/main tcl8.6-dev armhf 8.6.2+dfsg-2 [887 kB]
Get:288 http://172.17.0.1/private/ jessie-staging/main tcl-dev armhf 8.6.0+8+b1 [7874 B]
Get:289 http://172.17.0.1/private/ jessie-staging/main libattr1-dev armhf 1:2.4.47-2 [38.7 kB]
Get:290 http://172.17.0.1/private/ jessie-staging/main libacl1-dev armhf 2.2.52-2 [84.1 kB]
Get:291 http://172.17.0.1/private/ jessie-staging/main pdf2svg armhf 0.2.2-1 [7060 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 120 MB in 42s (2803 kB/s)
Selecting previously unselected package libpipeline1:armhf.
(Reading database ... 12035 files and directories currently installed.)
Preparing to unpack .../libpipeline1_1.4.0-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.4.0-1) ...
Selecting previously unselected package libpopt0:armhf.
Preparing to unpack .../libpopt0_1.16-10_armhf.deb ...
Unpacking libpopt0:armhf (1.16-10) ...
Selecting previously unselected package libssl1.0.0:armhf.
Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u11_armhf.deb ...
Unpacking libssl1.0.0:armhf (1.0.1t-1+deb8u11) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../groff-base_1.22.2-8_armhf.deb ...
Unpacking groff-base (1.22.2-8) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.6_armhf.deb ...
Unpacking bsdmainutils (9.0.6) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.7.0.2-5_armhf.deb ...
Unpacking man-db (2.7.0.2-5) ...
Selecting previously unselected package libasprintf0c2:armhf.
Preparing to unpack .../libasprintf0c2_0.19.3-2_armhf.deb ...
Unpacking libasprintf0c2:armhf (0.19.3-2) ...
Selecting previously unselected package libnettle4:armhf.
Preparing to unpack .../libnettle4_2.7.1-5+deb8u2_armhf.deb ...
Unpacking libnettle4:armhf (2.7.1-5+deb8u2) ...
Selecting previously unselected package libhogweed2:armhf.
Preparing to unpack .../libhogweed2_2.7.1-5+deb8u2_armhf.deb ...
Unpacking libhogweed2:armhf (2.7.1-5+deb8u2) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../libffi6_3.1-2+deb8u1_armhf.deb ...
Unpacking libffi6:armhf (3.1-2+deb8u1) ...
Selecting previously unselected package libp11-kit0:armhf.
Preparing to unpack .../libp11-kit0_0.20.7-1_armhf.deb ...
Unpacking libp11-kit0:armhf (0.20.7-1) ...
Selecting previously unselected package libtasn1-6:armhf.
Preparing to unpack .../libtasn1-6_4.2-3+deb8u3_armhf.deb ...
Unpacking libtasn1-6:armhf (4.2-3+deb8u3) ...
Selecting previously unselected package libgnutls-deb0-28:armhf.
Preparing to unpack .../libgnutls-deb0-28_3.3.30-0+deb8u1_armhf.deb ...
Unpacking libgnutls-deb0-28:armhf (3.3.30-0+deb8u1) ...
Selecting previously unselected package libgnutls-openssl27:armhf.
Preparing to unpack .../libgnutls-openssl27_3.3.30-0+deb8u1_armhf.deb ...
Unpacking libgnutls-openssl27:armhf (3.3.30-0+deb8u1) ...
Selecting previously unselected package libgpm2:armhf.
Preparing to unpack .../libgpm2_1.20.4-6.1_armhf.deb ...
Unpacking libgpm2:armhf (1.20.4-6.1) ...
Selecting previously unselected package libkeyutils1:armhf.
Preparing to unpack .../libkeyutils1_1.5.9-5_armhf.deb ...
Unpacking libkeyutils1:armhf (1.5.9-5) ...
Selecting previously unselected package libkrb5support0:armhf.
Preparing to unpack .../libkrb5support0_1.12.1+dfsg-19+deb8u5_armhf.deb ...
Unpacking libkrb5support0:armhf (1.12.1+dfsg-19+deb8u5) ...
Selecting previously unselected package libk5crypto3:armhf.
Preparing to unpack .../libk5crypto3_1.12.1+dfsg-19+deb8u5_armhf.deb ...
Unpacking libk5crypto3:armhf (1.12.1+dfsg-19+deb8u5) ...
Selecting previously unselected package libkrb5-3:armhf.
Preparing to unpack .../libkrb5-3_1.12.1+dfsg-19+deb8u5_armhf.deb ...
Unpacking libkrb5-3:armhf (1.12.1+dfsg-19+deb8u5) ...
Selecting previously unselected package libgssapi-krb5-2:armhf.
Preparing to unpack .../libgssapi-krb5-2_1.12.1+dfsg-19+deb8u5_armhf.deb ...
Unpacking libgssapi-krb5-2:armhf (1.12.1+dfsg-19+deb8u5) ...
Selecting previously unselected package libidn11:armhf.
Preparing to unpack .../libidn11_1.29-1+deb8u3_armhf.deb ...
Unpacking libidn11:armhf (1.29-1+deb8u3) ...
Selecting previously unselected package libsasl2-modules-db:armhf.
Preparing to unpack .../libsasl2-modules-db_2.1.26.dfsg1-13+deb8u1_armhf.deb ...
Unpacking libsasl2-modules-db:armhf (2.1.26.dfsg1-13+deb8u1) ...
Selecting previously unselected package libsasl2-2:armhf.
Preparing to unpack .../libsasl2-2_2.1.26.dfsg1-13+deb8u1_armhf.deb ...
Unpacking libsasl2-2:armhf (2.1.26.dfsg1-13+deb8u1) ...
Selecting previously unselected package libldap-2.4-2:armhf.
Preparing to unpack .../libldap-2.4-2_2.4.40+dfsg-1+deb8u4_armhf.deb ...
Unpacking libldap-2.4-2:armhf (2.4.40+dfsg-1+deb8u4) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../libmagic1_1%3a5.22+15-2+deb8u5_armhf.deb ...
Unpacking libmagic1:armhf (1:5.22+15-2+deb8u5) ...
Selecting previously unselected package libpython2.7-minimal:armhf.
Preparing to unpack .../libpython2.7-minimal_2.7.9-2+deb8u3_armhf.deb ...
Unpacking libpython2.7-minimal:armhf (2.7.9-2+deb8u3) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.58_all.deb ...
Unpacking mime-support (3.58) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../libexpat1_2.1.0-6+deb8u5_armhf.deb ...
Unpacking libexpat1:armhf (2.1.0-6+deb8u5) ...
Selecting previously unselected package libsqlite3-0:armhf.
Preparing to unpack .../libsqlite3-0_3.8.7.1-1+deb8u4_armhf.deb ...
Unpacking libsqlite3-0:armhf (3.8.7.1-1+deb8u4) ...
Selecting previously unselected package libpython2.7-stdlib:armhf.
Preparing to unpack .../libpython2.7-stdlib_2.7.9-2+deb8u3_armhf.deb ...
Unpacking libpython2.7-stdlib:armhf (2.7.9-2+deb8u3) ...
Selecting previously unselected package libpython2.7:armhf.
Preparing to unpack .../libpython2.7_2.7.9-2+deb8u3_armhf.deb ...
Unpacking libpython2.7:armhf (2.7.9-2+deb8u3) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../libxml2_2.9.1+dfsg1-5+deb8u7_armhf.deb ...
Unpacking libxml2:armhf (2.9.1+dfsg1-5+deb8u7) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.9-2+deb8u3_armhf.deb ...
Unpacking python2.7-minimal (2.7.9-2+deb8u3) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_armhf.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.9-2+deb8u3_armhf.deb ...
Unpacking python2.7 (2.7.9-2+deb8u3) ...
Selecting previously unselected package libpython-stdlib:armhf.
Preparing to unpack .../libpython-stdlib_2.7.9-1_armhf.deb ...
Unpacking libpython-stdlib:armhf (2.7.9-1) ...
Setting up libpython2.7-minimal:armhf (2.7.9-2+deb8u3) ...
Setting up python2.7-minimal (2.7.9-2+deb8u3) ...
Setting up python-minimal (2.7.9-1) ...
Selecting previously unselected package python.
(Reading database ... 13628 files and directories currently installed.)
Preparing to unpack .../python_2.7.9-1_armhf.deb ...
Unpacking python (2.7.9-1) ...
Selecting previously unselected package libfreetype6:armhf.
Preparing to unpack .../libfreetype6_2.5.2-3+deb8u2_armhf.deb ...
Unpacking libfreetype6:armhf (2.5.2-3+deb8u2) ...
Selecting previously unselected package ucf.
Preparing to unpack .../archives/ucf_3.0030_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0030) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../fonts-dejavu-core_2.34-1_all.deb ...
Unpacking fonts-dejavu-core (2.34-1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../fontconfig-config_2.11.0-6.3+deb8u1_all.deb ...
Unpacking fontconfig-config (2.11.0-6.3+deb8u1) ...
Selecting previously unselected package libfontconfig1:armhf.
Preparing to unpack .../libfontconfig1_2.11.0-6.3+deb8u1_armhf.deb ...
Unpacking libfontconfig1:armhf (2.11.0-6.3+deb8u1) ...
Selecting previously unselected package fontconfig.
Preparing to unpack .../fontconfig_2.11.0-6.3+deb8u1_armhf.deb ...
Unpacking fontconfig (2.11.0-6.3+deb8u1) ...
Selecting previously unselected package libart-2.0-2:armhf.
Preparing to unpack .../libart-2.0-2_2.3.21-2_armhf.deb ...
Unpacking libart-2.0-2:armhf (2.3.21-2) ...
Selecting previously unselected package libasound2-data.
Preparing to unpack .../libasound2-data_1.0.28-1_all.deb ...
Unpacking libasound2-data (1.0.28-1) ...
Selecting previously unselected package libasound2:armhf.
Preparing to unpack .../libasound2_1.0.28-1_armhf.deb ...
Unpacking libasound2:armhf (1.0.28-1) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../libglib2.0-0_2.42.1-1+deb8u2_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.42.1-1+deb8u2) ...
Selecting previously unselected package libatk1.0-data.
Preparing to unpack .../libatk1.0-data_2.14.0-1_all.deb ...
Unpacking libatk1.0-data (2.14.0-1) ...
Selecting previously unselected package libatk1.0-0:armhf.
Preparing to unpack .../libatk1.0-0_2.14.0-1_armhf.deb ...
Unpacking libatk1.0-0:armhf (2.14.0-1) ...
Selecting previously unselected package libavahi-common-data:armhf.
Preparing to unpack .../libavahi-common-data_0.6.31-5_armhf.deb ...
Unpacking libavahi-common-data:armhf (0.6.31-5) ...
Selecting previously unselected package libavahi-common3:armhf.
Preparing to unpack .../libavahi-common3_0.6.31-5_armhf.deb ...
Unpacking libavahi-common3:armhf (0.6.31-5) ...
Selecting previously unselected package libavahi-client3:armhf.
Preparing to unpack .../libavahi-client3_0.6.31-5_armhf.deb ...
Unpacking libavahi-client3:armhf (0.6.31-5) ...
Selecting previously unselected package libavahi-glib1:armhf.
Preparing to unpack .../libavahi-glib1_0.6.31-5_armhf.deb ...
Unpacking libavahi-glib1:armhf (0.6.31-5) ...
Selecting previously unselected package libbonobo2-common.
Preparing to unpack .../libbonobo2-common_2.32.1-3_all.deb ...
Unpacking libbonobo2-common (2.32.1-3) ...
Selecting previously unselected package liborbit-2-0:armhf.
Preparing to unpack .../liborbit-2-0_1%3a2.14.19-0.3_armhf.deb ...
Unpacking liborbit-2-0:armhf (1:2.14.19-0.3) ...
Selecting previously unselected package libbonobo2-0:armhf.
Preparing to unpack .../libbonobo2-0_2.32.1-3_armhf.deb ...
Unpacking libbonobo2-0:armhf (2.32.1-3) ...
Selecting previously unselected package libdbus-glib-1-2:armhf.
Preparing to unpack .../libdbus-glib-1-2_0.102-1_armhf.deb ...
Unpacking libdbus-glib-1-2:armhf (0.102-1) ...
Selecting previously unselected package gconf2-common.
Preparing to unpack .../gconf2-common_3.2.6-3_all.deb ...
Unpacking gconf2-common (3.2.6-3) ...
Selecting previously unselected package libgconf-2-4:armhf.
Preparing to unpack .../libgconf-2-4_3.2.6-3_armhf.deb ...
Unpacking libgconf-2-4:armhf (3.2.6-3) ...
Selecting previously unselected package gconf-service.
Preparing to unpack .../gconf-service_3.2.6-3_armhf.deb ...
Unpacking gconf-service (3.2.6-3) ...
Selecting previously unselected package libpixman-1-0:armhf.
Preparing to unpack .../libpixman-1-0_0.32.6-3+deb8u1_armhf.deb ...
Unpacking libpixman-1-0:armhf (0.32.6-3+deb8u1) ...
Selecting previously unselected package libxau6:armhf.
Preparing to unpack .../libxau6_1%3a1.0.8-1_armhf.deb ...
Unpacking libxau6:armhf (1:1.0.8-1) ...
Selecting previously unselected package libxdmcp6:armhf.
Preparing to unpack .../libxdmcp6_1%3a1.1.1-1_armhf.deb ...
Unpacking libxdmcp6:armhf (1:1.1.1-1) ...
Selecting previously unselected package libxcb1:armhf.
Preparing to unpack .../libxcb1_1.10-3_armhf.deb ...
Unpacking libxcb1:armhf (1.10-3) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../libx11-data_2%3a1.6.2-3+deb8u2_all.deb ...
Unpacking libx11-data (2:1.6.2-3+deb8u2) ...
Selecting previously unselected package libx11-6:armhf.
Preparing to unpack .../libx11-6_2%3a1.6.2-3+deb8u2_armhf.deb ...
Unpacking libx11-6:armhf (2:1.6.2-3+deb8u2) ...
Selecting previously unselected package libxcb-render0:armhf.
Preparing to unpack .../libxcb-render0_1.10-3_armhf.deb ...
Unpacking libxcb-render0:armhf (1.10-3) ...
Selecting previously unselected package libxcb-shm0:armhf.
Preparing to unpack .../libxcb-shm0_1.10-3_armhf.deb ...
Unpacking libxcb-shm0:armhf (1.10-3) ...
Selecting previously unselected package libxext6:armhf.
Preparing to unpack .../libxext6_2%3a1.3.3-1_armhf.deb ...
Unpacking libxext6:armhf (2:1.3.3-1) ...
Selecting previously unselected package libxrender1:armhf.
Preparing to unpack .../libxrender1_1%3a0.9.8-1_armhf.deb ...
Unpacking libxrender1:armhf (1:0.9.8-1) ...
Selecting previously unselected package libcairo2:armhf.
Preparing to unpack .../libcairo2_1.14.0-2.1+deb8u2_armhf.deb ...
Unpacking libcairo2:armhf (1.14.0-2.1+deb8u2) ...
Selecting previously unselected package libjpeg62-turbo:armhf.
Preparing to unpack .../libjpeg62-turbo_1%3a1.3.1-12+deb8u2_armhf.deb ...
Unpacking libjpeg62-turbo:armhf (1:1.3.1-12+deb8u2) ...
Selecting previously unselected package libjasper1:armhf.
Preparing to unpack .../libjasper1_1.900.1-debian1-2.4+deb8u6_armhf.deb ...
Unpacking libjasper1:armhf (1.900.1-debian1-2.4+deb8u6) ...
Selecting previously unselected package libjbig0:armhf.
Preparing to unpack .../libjbig0_2.1-3.1_armhf.deb ...
Unpacking libjbig0:armhf (2.1-3.1) ...
Selecting previously unselected package libtiff5:armhf.
Preparing to unpack .../libtiff5_4.0.3-12.3+deb8u8_armhf.deb ...
Unpacking libtiff5:armhf (4.0.3-12.3+deb8u8) ...
Selecting previously unselected package libgdk-pixbuf2.0-common.
Preparing to unpack .../libgdk-pixbuf2.0-common_2.31.1-2+deb8u7_all.deb ...
Unpacking libgdk-pixbuf2.0-common (2.31.1-2+deb8u7) ...
Selecting previously unselected package libgdk-pixbuf2.0-0:armhf.
Preparing to unpack .../libgdk-pixbuf2.0-0_2.31.1-2+deb8u7_armhf.deb ...
Unpacking libgdk-pixbuf2.0-0:armhf (2.31.1-2+deb8u7) ...
Selecting previously unselected package libgtk2.0-common.
Preparing to unpack .../libgtk2.0-common_2.24.25-3+deb8u2_all.deb ...
Unpacking libgtk2.0-common (2.24.25-3+deb8u2) ...
Selecting previously unselected package libcups2:armhf.
Preparing to unpack .../libcups2_1.7.5-11+deb8u4_armhf.deb ...
Unpacking libcups2:armhf (1.7.5-11+deb8u4) ...
Selecting previously unselected package libthai-data.
Preparing to unpack .../libthai-data_0.1.21-1_all.deb ...
Unpacking libthai-data (0.1.21-1) ...
Selecting previously unselected package libdatrie1:armhf.
Preparing to unpack .../libdatrie1_0.2.8-1_armhf.deb ...
Unpacking libdatrie1:armhf (0.2.8-1) ...
Selecting previously unselected package libthai0:armhf.
Preparing to unpack .../libthai0_0.1.21-1_armhf.deb ...
Unpacking libthai0:armhf (0.1.21-1) ...
Selecting previously unselected package libpango-1.0-0:armhf.
Preparing to unpack .../libpango-1.0-0_1.36.8-3_armhf.deb ...
Unpacking libpango-1.0-0:armhf (1.36.8-3) ...
Selecting previously unselected package libgraphite2-3:armhf.
Preparing to unpack .../libgraphite2-3_1.3.10-1~deb8u1_armhf.deb ...
Unpacking libgraphite2-3:armhf (1.3.10-1~deb8u1) ...
Selecting previously unselected package libharfbuzz0b:armhf.
Preparing to unpack .../libharfbuzz0b_0.9.35-2_armhf.deb ...
Unpacking libharfbuzz0b:armhf (0.9.35-2) ...
Selecting previously unselected package libpangoft2-1.0-0:armhf.
Preparing to unpack .../libpangoft2-1.0-0_1.36.8-3_armhf.deb ...
Unpacking libpangoft2-1.0-0:armhf (1.36.8-3) ...
Selecting previously unselected package libpangocairo-1.0-0:armhf.
Preparing to unpack .../libpangocairo-1.0-0_1.36.8-3_armhf.deb ...
Unpacking libpangocairo-1.0-0:armhf (1.36.8-3) ...
Selecting previously unselected package libxcomposite1:armhf.
Preparing to unpack .../libxcomposite1_1%3a0.4.4-1_armhf.deb ...
Unpacking libxcomposite1:armhf (1:0.4.4-1) ...
Selecting previously unselected package libxfixes3:armhf.
Preparing to unpack .../libxfixes3_1%3a5.0.1-2+deb8u1_armhf.deb ...
Unpacking libxfixes3:armhf (1:5.0.1-2+deb8u1) ...
Selecting previously unselected package libxcursor1:armhf.
Preparing to unpack .../libxcursor1_1%3a1.1.14-1+deb8u2_armhf.deb ...
Unpacking libxcursor1:armhf (1:1.1.14-1+deb8u2) ...
Selecting previously unselected package libxdamage1:armhf.
Preparing to unpack .../libxdamage1_1%3a1.1.4-2_armhf.deb ...
Unpacking libxdamage1:armhf (1:1.1.4-2) ...
Selecting previously unselected package libxi6:armhf.
Preparing to unpack .../libxi6_2%3a1.7.4-1+deb8u1_armhf.deb ...
Unpacking libxi6:armhf (2:1.7.4-1+deb8u1) ...
Selecting previously unselected package libxinerama1:armhf.
Preparing to unpack .../libxinerama1_2%3a1.1.3-1_armhf.deb ...
Unpacking libxinerama1:armhf (2:1.1.3-1) ...
Selecting previously unselected package libxrandr2:armhf.
Preparing to unpack .../libxrandr2_2%3a1.4.2-1+deb8u1_armhf.deb ...
Unpacking libxrandr2:armhf (2:1.4.2-1+deb8u1) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../shared-mime-info_1.3-1_armhf.deb ...
Unpacking shared-mime-info (1.3-1) ...
Selecting previously unselected package libgtk2.0-0:armhf.
Preparing to unpack .../libgtk2.0-0_2.24.25-3+deb8u2_armhf.deb ...
Unpacking libgtk2.0-0:armhf (2.24.25-3+deb8u2) ...
Selecting previously unselected package libglade2-0:armhf.
Preparing to unpack .../libglade2-0_1%3a2.6.4-2_armhf.deb ...
Unpacking libglade2-0:armhf (1:2.6.4-2) ...
Selecting previously unselected package libltdl7:armhf.
Preparing to unpack .../libltdl7_2.4.2-1.11_armhf.deb ...
Unpacking libltdl7:armhf (2.4.2-1.11) ...
Selecting previously unselected package libogg0:armhf.
Preparing to unpack .../libogg0_1.3.2-1_armhf.deb ...
Unpacking libogg0:armhf (1.3.2-1) ...
Selecting previously unselected package libtdb1:armhf.
Preparing to unpack .../libtdb1_1.3.6-0+deb8u1_armhf.deb ...
Unpacking libtdb1:armhf (1.3.6-0+deb8u1) ...
Selecting previously unselected package libvorbis0a:armhf.
Preparing to unpack .../libvorbis0a_1.3.4-2+deb8u1_armhf.deb ...
Unpacking libvorbis0a:armhf (1.3.4-2+deb8u1) ...
Selecting previously unselected package libvorbisfile3:armhf.
Preparing to unpack .../libvorbisfile3_1.3.4-2+deb8u1_armhf.deb ...
Unpacking libvorbisfile3:armhf (1.3.4-2+deb8u1) ...
Selecting previously unselected package libcanberra0:armhf.
Preparing to unpack .../libcanberra0_0.30-2.1_armhf.deb ...
Unpacking libcanberra0:armhf (0.30-2.1) ...
Selecting previously unselected package psmisc.
Preparing to unpack .../psmisc_22.21-2_armhf.deb ...
Unpacking psmisc (22.21-2) ...
Selecting previously unselected package libcap-ng0:armhf.
Preparing to unpack .../libcap-ng0_0.7.4-2_armhf.deb ...
Unpacking libcap-ng0:armhf (0.7.4-2) ...
Selecting previously unselected package dbus.
Preparing to unpack .../dbus_1.8.22-0+deb8u2_armhf.deb ...
Unpacking dbus (1.8.22-0+deb8u2) ...
Selecting previously unselected package dbus-x11.
Preparing to unpack .../dbus-x11_1.8.22-0+deb8u2_armhf.deb ...
Unpacking dbus-x11 (1.8.22-0+deb8u2) ...
Selecting previously unselected package gconf2.
Preparing to unpack .../gconf2_3.2.6-3_armhf.deb ...
Unpacking gconf2 (3.2.6-3) ...
Selecting previously unselected package gnome-mime-data.
Preparing to unpack .../gnome-mime-data_2.18.0-1_all.deb ...
Unpacking gnome-mime-data (2.18.0-1) ...
Selecting previously unselected package libgnomevfs2-common.
Preparing to unpack .../libgnomevfs2-common_1%3a2.24.4-6_all.deb ...
Unpacking libgnomevfs2-common (1:2.24.4-6) ...
Selecting previously unselected package libgnomevfs2-0:armhf.
Preparing to unpack .../libgnomevfs2-0_1%3a2.24.4-6_armhf.deb ...
Unpacking libgnomevfs2-0:armhf (1:2.24.4-6) ...
Selecting previously unselected package libgnome2-common.
Preparing to unpack .../libgnome2-common_2.32.1-5_all.deb ...
Unpacking libgnome2-common (2.32.1-5) ...
Selecting previously unselected package libgnome-2-0:armhf.
Preparing to unpack .../libgnome-2-0_2.32.1-5_armhf.deb ...
Unpacking libgnome-2-0:armhf (2.32.1-5) ...
Selecting previously unselected package libgail18:armhf.
Preparing to unpack .../libgail18_2.24.25-3+deb8u2_armhf.deb ...
Unpacking libgail18:armhf (2.24.25-3+deb8u2) ...
Selecting previously unselected package libgnomecanvas2-common.
Preparing to unpack .../libgnomecanvas2-common_2.30.3-2_all.deb ...
Unpacking libgnomecanvas2-common (2.30.3-2) ...
Selecting previously unselected package libgnomecanvas2-0:armhf.
Preparing to unpack .../libgnomecanvas2-0_2.30.3-2_armhf.deb ...
Unpacking libgnomecanvas2-0:armhf (2.30.3-2) ...
Selecting previously unselected package x11-common.
Preparing to unpack .../x11-common_1%3a7.7+7_all.deb ...
Unpacking x11-common (1:7.7+7) ...
Selecting previously unselected package libice6:armhf.
Preparing to unpack .../libice6_2%3a1.0.9-1_armhf.deb ...
Unpacking libice6:armhf (2:1.0.9-1) ...
Selecting previously unselected package libsm6:armhf.
Preparing to unpack .../libsm6_2%3a1.2.2-1_armhf.deb ...
Unpacking libsm6:armhf (2:1.2.2-1) ...
Selecting previously unselected package libbonoboui2-common.
Preparing to unpack .../libbonoboui2-common_2.24.5-2_all.deb ...
Unpacking libbonoboui2-common (2.24.5-2) ...
Selecting previously unselected package libbonoboui2-0:armhf.
Preparing to unpack .../libbonoboui2-0_2.24.5-2_armhf.deb ...
Unpacking libbonoboui2-0:armhf (2.24.5-2) ...
Selecting previously unselected package libcairo-gobject2:armhf.
Preparing to unpack .../libcairo-gobject2_1.14.0-2.1+deb8u2_armhf.deb ...
Unpacking libcairo-gobject2:armhf (1.14.0-2.1+deb8u2) ...
Selecting previously unselected package liblzo2-2:armhf.
Preparing to unpack .../liblzo2-2_2.08-1.2_armhf.deb ...
Unpacking liblzo2-2:armhf (2.08-1.2) ...
Selecting previously unselected package libcairo-script-interpreter2:armhf.
Preparing to unpack .../libcairo-script-interpreter2_1.14.0-2.1+deb8u2_armhf.deb ...
Unpacking libcairo-script-interpreter2:armhf (1.14.0-2.1+deb8u2) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../libcroco3_0.6.8-3_armhf.deb ...
Unpacking libcroco3:armhf (0.6.8-3) ...
Selecting previously unselected package libcupsimage2:armhf.
Preparing to unpack .../libcupsimage2_1.7.5-11+deb8u4_armhf.deb ...
Unpacking libcupsimage2:armhf (1.7.5-11+deb8u4) ...
Selecting previously unselected package libcupsfilters1:armhf.
Preparing to unpack .../libcupsfilters1_1.0.61-5+deb8u4_armhf.deb ...
Unpacking libcupsfilters1:armhf (1.0.61-5+deb8u4) ...
Selecting previously unselected package libelfg0:armhf.
Preparing to unpack .../libelfg0_0.8.13-5_armhf.deb ...
Unpacking libelfg0:armhf (0.8.13-5) ...
Selecting previously unselected package libgmpxx4ldbl:armhf.
Preparing to unpack .../libgmpxx4ldbl_2%3a6.0.0+dfsg-6+rpi1_armhf.deb ...
Unpacking libgmpxx4ldbl:armhf (2:6.0.0+dfsg-6+rpi1) ...
Selecting previously unselected package libgnome-keyring-common.
Preparing to unpack .../libgnome-keyring-common_3.12.0-1_all.deb ...
Unpacking libgnome-keyring-common (3.12.0-1) ...
Selecting previously unselected package libgnome-keyring0:armhf.
Preparing to unpack .../libgnome-keyring0_3.12.0-1+b1_armhf.deb ...
Unpacking libgnome-keyring0:armhf (3.12.0-1+b1) ...
Selecting previously unselected package libgnomeui-common.
Preparing to unpack .../libgnomeui-common_2.24.5-3_all.deb ...
Unpacking libgnomeui-common (2.24.5-3) ...
Selecting previously unselected package libgnomeui-0:armhf.
Preparing to unpack .../libgnomeui-0_2.24.5-3_armhf.deb ...
Unpacking libgnomeui-0:armhf (2.24.5-3) ...
Selecting previously unselected package libharfbuzz-gobject0:armhf.
Preparing to unpack .../libharfbuzz-gobject0_0.9.35-2_armhf.deb ...
Unpacking libharfbuzz-gobject0:armhf (0.9.35-2) ...
Selecting previously unselected package libicu52:armhf.
Preparing to unpack .../libicu52_52.1-8+deb8u7_armhf.deb ...
Unpacking libicu52:armhf (52.1-8+deb8u7) ...
Selecting previously unselected package libharfbuzz-icu0:armhf.
Preparing to unpack .../libharfbuzz-icu0_0.9.35-2_armhf.deb ...
Unpacking libharfbuzz-icu0:armhf (0.9.35-2) ...
Selecting previously unselected package libidl0:armhf.
Preparing to unpack .../libidl0_0.8.14-0.4_armhf.deb ...
Unpacking libidl0:armhf (0.8.14-0.4) ...
Selecting previously unselected package libijs-0.35:armhf.
Preparing to unpack .../libijs-0.35_0.35-10_armhf.deb ...
Unpacking libijs-0.35:armhf (0.35-10) ...
Selecting previously unselected package liblcms2-2:armhf.
Preparing to unpack .../liblcms2-2_2.6-3+deb8u2_armhf.deb ...
Unpacking liblcms2-2:armhf (2.6-3+deb8u2) ...
Selecting previously unselected package liblua5.2-0:armhf.
Preparing to unpack .../liblua5.2-0_5.2.3-1.1_armhf.deb ...
Unpacking liblua5.2-0:armhf (5.2.3-1.1) ...
Selecting previously unselected package liborbit2:armhf.
Preparing to unpack .../liborbit2_1%3a2.14.19-0.3_armhf.deb ...
Unpacking liborbit2:armhf (1:2.14.19-0.3) ...
Selecting previously unselected package libxft2:armhf.
Preparing to unpack .../libxft2_2.3.2-1_armhf.deb ...
Unpacking libxft2:armhf (2.3.2-1) ...
Selecting previously unselected package libpangoxft-1.0-0:armhf.
Preparing to unpack .../libpangoxft-1.0-0_1.36.8-3_armhf.deb ...
Unpacking libpangoxft-1.0-0:armhf (1.36.8-3) ...
Selecting previously unselected package libpaper1:armhf.
Preparing to unpack .../libpaper1_1.1.24+nmu4_armhf.deb ...
Unpacking libpaper1:armhf (1.1.24+nmu4) ...
Selecting previously unselected package libpcrecpp0:armhf.
Preparing to unpack .../libpcrecpp0_2%3a8.35-3.3+deb8u4_armhf.deb ...
Unpacking libpcrecpp0:armhf (2:8.35-3.3+deb8u4) ...
Selecting previously unselected package libopenjpeg5:armhf.
Preparing to unpack .../libopenjpeg5_1%3a1.5.2-3_armhf.deb ...
Unpacking libopenjpeg5:armhf (1:1.5.2-3) ...
Selecting previously unselected package libpoppler46:armhf.
Preparing to unpack .../libpoppler46_0.26.5-2+deb8u10_armhf.deb ...
Unpacking libpoppler46:armhf (0.26.5-2+deb8u10) ...
Selecting previously unselected package libpoppler-glib8:armhf.
Preparing to unpack .../libpoppler-glib8_0.26.5-2+deb8u10_armhf.deb ...
Unpacking libpoppler-glib8:armhf (0.26.5-2+deb8u10) ...
Selecting previously unselected package libexpat1-dev:armhf.
Preparing to unpack .../libexpat1-dev_2.1.0-6+deb8u5_armhf.deb ...
Unpacking libexpat1-dev:armhf (2.1.0-6+deb8u5) ...
Selecting previously unselected package libpython2.7-dev:armhf.
Preparing to unpack .../libpython2.7-dev_2.7.9-2+deb8u3_armhf.deb ...
Unpacking libpython2.7-dev:armhf (2.7.9-2+deb8u3) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../libsigsegv2_2.10-4_armhf.deb ...
Unpacking libsigsegv2:armhf (2.10-4) ...
Selecting previously unselected package libtcl8.6:armhf.
Preparing to unpack .../libtcl8.6_8.6.2+dfsg-2_armhf.deb ...
Unpacking libtcl8.6:armhf (8.6.2+dfsg-2) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../libunistring0_0.9.3-5.2_armhf.deb ...
Unpacking libunistring0:armhf (0.9.3-5.2) ...
Selecting previously unselected package libxt6:armhf.
Preparing to unpack .../libxt6_1%3a1.1.4-1_armhf.deb ...
Unpacking libxt6:armhf (1:1.1.4-1) ...
Selecting previously unselected package libxmu6:armhf.
Preparing to unpack .../libxmu6_2%3a1.1.2-1_armhf.deb ...
Unpacking libxmu6:armhf (2:1.1.2-1) ...
Selecting previously unselected package libxpm4:armhf.
Preparing to unpack .../libxpm4_1%3a3.5.12-0+deb8u1_armhf.deb ...
Unpacking libxpm4:armhf (1:3.5.12-0+deb8u1) ...
Selecting previously unselected package libxaw7:armhf.
Preparing to unpack .../libxaw7_2%3a1.0.12-2_armhf.deb ...
Unpacking libxaw7:armhf (2:1.0.12-2) ...
Selecting previously unselected package libyaml-0-2:armhf.
Preparing to unpack .../libyaml-0-2_0.1.6-3_armhf.deb ...
Unpacking libyaml-0-2:armhf (0.1.6-3) ...
Selecting previously unselected package poppler-data.
Preparing to unpack .../poppler-data_0.4.7-1_all.deb ...
Unpacking poppler-data (0.4.7-1) ...
Selecting previously unselected package libgnutlsxx28:armhf.
Preparing to unpack .../libgnutlsxx28_3.3.30-0+deb8u1_armhf.deb ...
Unpacking libgnutlsxx28:armhf (3.3.30-0+deb8u1) ...
Selecting previously unselected package libopenjp2-7:armhf.
Preparing to unpack .../libopenjp2-7_2.1.0-2+deb8u7_armhf.deb ...
Unpacking libopenjp2-7:armhf (2.1.0-2+deb8u7) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.22+15-2+deb8u5_armhf.deb ...
Unpacking file (1:5.22+15-2+deb8u5) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.19.3-2_armhf.deb ...
Unpacking gettext-base (0.19.3-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../archives/m4_1.4.17-4_armhf.deb ...
Unpacking m4 (1.4.17-4) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../autoconf_2.69-8_all.deb ...
Unpacking autoconf (2.69-8) ...
Selecting previously unselected package openssl.
Preparing to unpack .../openssl_1.0.1t-1+deb8u11_armhf.deb ...
Unpacking openssl (1.0.1t-1+deb8u11) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-certificates_20141019+deb8u4_all.deb ...
Unpacking ca-certificates (20141019+deb8u4) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.19.3-2_armhf.deb ...
Unpacking gettext (0.19.3-2) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.1) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.16+nmu3_all.deb ...
Unpacking po-debconf (1.0.16+nmu3) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20150101+deb8u2_all.deb ...
Unpacking debhelper (9.20150101+deb8u2) ...
Selecting previously unselected package libjbig2dec0.
Preparing to unpack .../libjbig2dec0_0.13-4~deb8u2_armhf.deb ...
Unpacking libjbig2dec0 (0.13-4~deb8u2) ...
Selecting previously unselected package libgs9-common.
Preparing to unpack .../libgs9-common_9.26a~dfsg-0+deb8u3_all.deb ...
Unpacking libgs9-common (9.26a~dfsg-0+deb8u3) ...
Selecting previously unselected package libgs9.
Preparing to unpack .../libgs9_9.26a~dfsg-0+deb8u3_armhf.deb ...
Unpacking libgs9 (9.26a~dfsg-0+deb8u3) ...
Selecting previously unselected package gsfonts.
Preparing to unpack .../gsfonts_1%3a8.11+urwcyr1.0.7~pre44-4.2_all.deb ...
Unpacking gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2) ...
Selecting previously unselected package ghostscript.
Preparing to unpack .../ghostscript_9.26a~dfsg-0+deb8u3_armhf.deb ...
Unpacking ghostscript (9.26a~dfsg-0+deb8u3) ...
Selecting previously unselected package libgirepository-1.0-1:armhf.
Preparing to unpack .../libgirepository-1.0-1_1.42.0-2.2_armhf.deb ...
Unpacking libgirepository-1.0-1:armhf (1.42.0-2.2) ...
Selecting previously unselected package gir1.2-glib-2.0:armhf.
Preparing to unpack .../gir1.2-glib-2.0_1.42.0-2.2_armhf.deb ...
Unpacking gir1.2-glib-2.0:armhf (1.42.0-2.2) ...
Selecting previously unselected package gir1.2-atk-1.0.
Preparing to unpack .../gir1.2-atk-1.0_2.14.0-1_armhf.deb ...
Unpacking gir1.2-atk-1.0 (2.14.0-1) ...
Selecting previously unselected package gir1.2-freedesktop:armhf.
Preparing to unpack .../gir1.2-freedesktop_1.42.0-2.2_armhf.deb ...
Unpacking gir1.2-freedesktop:armhf (1.42.0-2.2) ...
Selecting previously unselected package gir1.2-gconf-2.0.
Preparing to unpack .../gir1.2-gconf-2.0_3.2.6-3_armhf.deb ...
Unpacking gir1.2-gconf-2.0 (3.2.6-3) ...
Selecting previously unselected package gir1.2-gdkpixbuf-2.0.
Preparing to unpack .../gir1.2-gdkpixbuf-2.0_2.31.1-2+deb8u7_armhf.deb ...
Unpacking gir1.2-gdkpixbuf-2.0 (2.31.1-2+deb8u7) ...
Selecting previously unselected package gir1.2-gnomekeyring-1.0.
Preparing to unpack .../gir1.2-gnomekeyring-1.0_3.12.0-1+b1_armhf.deb ...
Unpacking gir1.2-gnomekeyring-1.0 (3.12.0-1+b1) ...
Selecting previously unselected package gir1.2-pango-1.0:armhf.
Preparing to unpack .../gir1.2-pango-1.0_1.36.8-3_armhf.deb ...
Unpacking gir1.2-pango-1.0:armhf (1.36.8-3) ...
Selecting previously unselected package gir1.2-gtk-2.0.
Preparing to unpack .../gir1.2-gtk-2.0_2.24.25-3+deb8u2_armhf.deb ...
Unpacking gir1.2-gtk-2.0 (2.24.25-3+deb8u2) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../pkg-config_0.28-1_armhf.deb ...
Unpacking pkg-config (0.28-1) ...
Selecting previously unselected package libart-2.0-dev.
Preparing to unpack .../libart-2.0-dev_2.3.21-2_armhf.deb ...
Unpacking libart-2.0-dev (2.3.21-2) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../libglib2.0-data_2.42.1-1+deb8u2_all.deb ...
Unpacking libglib2.0-data (2.42.1-1+deb8u2) ...
Selecting previously unselected package libglib2.0-bin.
Preparing to unpack .../libglib2.0-bin_2.42.1-1+deb8u2_armhf.deb ...
Unpacking libglib2.0-bin (2.42.1-1+deb8u2) ...
Selecting previously unselected package libpcre3-dev:armhf.
Preparing to unpack .../libpcre3-dev_2%3a8.35-3.3+deb8u4_armhf.deb ...
Unpacking libpcre3-dev:armhf (2:8.35-3.3+deb8u4) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.8.dfsg-2) ...
Selecting previously unselected package libglib2.0-dev.
Preparing to unpack .../libglib2.0-dev_2.42.1-1+deb8u2_armhf.deb ...
Unpacking libglib2.0-dev (2.42.1-1+deb8u2) ...
Selecting previously unselected package libatk1.0-dev.
Preparing to unpack .../libatk1.0-dev_2.14.0-1_armhf.deb ...
Unpacking libatk1.0-dev (2.14.0-1) ...
Selecting previously unselected package libavahi-common-dev.
Preparing to unpack .../libavahi-common-dev_0.6.31-5_armhf.deb ...
Unpacking libavahi-common-dev (0.6.31-5) ...
Selecting previously unselected package libdbus-1-dev:armhf.
Preparing to unpack .../libdbus-1-dev_1.8.22-0+deb8u2_armhf.deb ...
Unpacking libdbus-1-dev:armhf (1.8.22-0+deb8u2) ...
Selecting previously unselected package libavahi-client-dev.
Preparing to unpack .../libavahi-client-dev_0.6.31-5_armhf.deb ...
Unpacking libavahi-client-dev (0.6.31-5) ...
Selecting previously unselected package libavahi-glib-dev.
Preparing to unpack .../libavahi-glib-dev_0.6.31-5_armhf.deb ...
Unpacking libavahi-glib-dev (0.6.31-5) ...
Selecting previously unselected package libidl-dev:armhf.
Preparing to unpack .../libidl-dev_0.8.14-0.4_armhf.deb ...
Unpacking libidl-dev:armhf (0.8.14-0.4) ...
Selecting previously unselected package orbit2.
Preparing to unpack .../orbit2_1%3a2.14.19-0.3_armhf.deb ...
Unpacking orbit2 (1:2.14.19-0.3) ...
Selecting previously unselected package liborbit2-dev.
Preparing to unpack .../liborbit2-dev_1%3a2.14.19-0.3_armhf.deb ...
Unpacking liborbit2-dev (1:2.14.19-0.3) ...
Selecting previously unselected package libpopt-dev:armhf.
Preparing to unpack .../libpopt-dev_1.16-10_armhf.deb ...
Unpacking libpopt-dev:armhf (1.16-10) ...
Selecting previously unselected package libbonobo2-dev:armhf.
Preparing to unpack .../libbonobo2-dev_2.32.1-3_armhf.deb ...
Unpacking libbonobo2-dev:armhf (2.32.1-3) ...
Selecting previously unselected package xorg-sgml-doctools.
Preparing to unpack .../xorg-sgml-doctools_1%3a1.11-1_all.deb ...
Unpacking xorg-sgml-doctools (1:1.11-1) ...
Selecting previously unselected package x11proto-core-dev.
Preparing to unpack .../x11proto-core-dev_7.0.26-1_all.deb ...
Unpacking x11proto-core-dev (7.0.26-1) ...
Selecting previously unselected package libxau-dev:armhf.
Preparing to unpack .../libxau-dev_1%3a1.0.8-1_armhf.deb ...
Unpacking libxau-dev:armhf (1:1.0.8-1) ...
Selecting previously unselected package libxdmcp-dev:armhf.
Preparing to unpack .../libxdmcp-dev_1%3a1.1.1-1_armhf.deb ...
Unpacking libxdmcp-dev:armhf (1:1.1.1-1) ...
Selecting previously unselected package x11proto-input-dev.
Preparing to unpack .../x11proto-input-dev_2.3.1-1_all.deb ...
Unpacking x11proto-input-dev (2.3.1-1) ...
Selecting previously unselected package x11proto-kb-dev.
Preparing to unpack .../x11proto-kb-dev_1.0.6-2_all.deb ...
Unpacking x11proto-kb-dev (1.0.6-2) ...
Selecting previously unselected package xtrans-dev.
Preparing to unpack .../xtrans-dev_1.3.4-1_all.deb ...
Unpacking xtrans-dev (1.3.4-1) ...
Selecting previously unselected package libpthread-stubs0-dev:armhf.
Preparing to unpack .../libpthread-stubs0-dev_0.3-4_armhf.deb ...
Unpacking libpthread-stubs0-dev:armhf (0.3-4) ...
Selecting previously unselected package libxcb1-dev:armhf.
Preparing to unpack .../libxcb1-dev_1.10-3_armhf.deb ...
Unpacking libxcb1-dev:armhf (1.10-3) ...
Selecting previously unselected package libx11-dev:armhf.
Preparing to unpack .../libx11-dev_2%3a1.6.2-3+deb8u2_armhf.deb ...
Unpacking libx11-dev:armhf (2:1.6.2-3+deb8u2) ...
Selecting previously unselected package libpng12-dev:armhf.
Preparing to unpack .../libpng12-dev_1.2.50-2+deb8u3_armhf.deb ...
Unpacking libpng12-dev:armhf (1.2.50-2+deb8u3) ...
Selecting previously unselected package libgdk-pixbuf2.0-dev.
Preparing to unpack .../libgdk-pixbuf2.0-dev_2.31.1-2+deb8u7_armhf.deb ...
Unpacking libgdk-pixbuf2.0-dev (2.31.1-2+deb8u7) ...
Selecting previously unselected package libfreetype6-dev.
Preparing to unpack .../libfreetype6-dev_2.5.2-3+deb8u2_armhf.deb ...
Unpacking libfreetype6-dev (2.5.2-3+deb8u2) ...
Selecting previously unselected package libfontconfig1-dev:armhf.
Preparing to unpack .../libfontconfig1-dev_2.11.0-6.3+deb8u1_armhf.deb ...
Unpacking libfontconfig1-dev:armhf (2.11.0-6.3+deb8u1) ...
Selecting previously unselected package x11proto-render-dev.
Preparing to unpack .../x11proto-render-dev_2%3a0.11.1-2_all.deb ...
Unpacking x11proto-render-dev (2:0.11.1-2) ...
Selecting previously unselected package libxrender-dev:armhf.
Preparing to unpack .../libxrender-dev_1%3a0.9.8-1_armhf.deb ...
Unpacking libxrender-dev:armhf (1:0.9.8-1) ...
Selecting previously unselected package x11proto-xext-dev.
Preparing to unpack .../x11proto-xext-dev_7.3.0-1_all.deb ...
Unpacking x11proto-xext-dev (7.3.0-1) ...
Selecting previously unselected package libxext-dev:armhf.
Preparing to unpack .../libxext-dev_2%3a1.3.3-1_armhf.deb ...
Unpacking libxext-dev:armhf (2:1.3.3-1) ...
Selecting previously unselected package libice-dev:armhf.
Preparing to unpack .../libice-dev_2%3a1.0.9-1_armhf.deb ...
Unpacking libice-dev:armhf (2:1.0.9-1) ...
Selecting previously unselected package libsm-dev:armhf.
Preparing to unpack .../libsm-dev_2%3a1.2.2-1_armhf.deb ...
Unpacking libsm-dev:armhf (2:1.2.2-1) ...
Selecting previously unselected package libpixman-1-dev.
Preparing to unpack .../libpixman-1-dev_0.32.6-3+deb8u1_armhf.deb ...
Unpacking libpixman-1-dev (0.32.6-3+deb8u1) ...
Selecting previously unselected package libxcb-render0-dev:armhf.
Preparing to unpack .../libxcb-render0-dev_1.10-3_armhf.deb ...
Unpacking libxcb-render0-dev:armhf (1.10-3) ...
Selecting previously unselected package libxcb-shm0-dev:armhf.
Preparing to unpack .../libxcb-shm0-dev_1.10-3_armhf.deb ...
Unpacking libxcb-shm0-dev:armhf (1.10-3) ...
Selecting previously unselected package libcairo2-dev.
Preparing to unpack .../libcairo2-dev_1.14.0-2.1+deb8u2_armhf.deb ...
Unpacking libcairo2-dev (1.14.0-2.1+deb8u2) ...
Selecting previously unselected package libharfbuzz-dev.
Preparing to unpack .../libharfbuzz-dev_0.9.35-2_armhf.deb ...
Unpacking libharfbuzz-dev (0.9.35-2) ...
Selecting previously unselected package libxft-dev.
Preparing to unpack .../libxft-dev_2.3.2-1_armhf.deb ...
Unpacking libxft-dev (2.3.2-1) ...
Selecting previously unselected package libpango1.0-dev.
Preparing to unpack .../libpango1.0-dev_1.36.8-3_armhf.deb ...
Unpacking libpango1.0-dev (1.36.8-3) ...
Selecting previously unselected package x11proto-xinerama-dev.
Preparing to unpack .../x11proto-xinerama-dev_1.2.1-2_all.deb ...
Unpacking x11proto-xinerama-dev (1.2.1-2) ...
Selecting previously unselected package libxinerama-dev:armhf.
Preparing to unpack .../libxinerama-dev_2%3a1.1.3-1_armhf.deb ...
Unpacking libxinerama-dev:armhf (2:1.1.3-1) ...
Selecting previously unselected package x11proto-fixes-dev.
Preparing to unpack .../x11proto-fixes-dev_1%3a5.0-2_all.deb ...
Unpacking x11proto-fixes-dev (1:5.0-2) ...
Selecting previously unselected package libxfixes-dev:armhf.
Preparing to unpack .../libxfixes-dev_1%3a5.0.1-2+deb8u1_armhf.deb ...
Unpacking libxfixes-dev:armhf (1:5.0.1-2+deb8u1) ...
Selecting previously unselected package libxi-dev.
Preparing to unpack .../libxi-dev_2%3a1.7.4-1+deb8u1_armhf.deb ...
Unpacking libxi-dev (2:1.7.4-1+deb8u1) ...
Selecting previously unselected package x11proto-randr-dev.
Preparing to unpack .../x11proto-randr-dev_1.4.0-2_all.deb ...
Unpacking x11proto-randr-dev (1.4.0-2) ...
Selecting previously unselected package libxrandr-dev:armhf.
Preparing to unpack .../libxrandr-dev_2%3a1.4.2-1+deb8u1_armhf.deb ...
Unpacking libxrandr-dev:armhf (2:1.4.2-1+deb8u1) ...
Selecting previously unselected package libxcursor-dev:armhf.
Preparing to unpack .../libxcursor-dev_1%3a1.1.14-1+deb8u2_armhf.deb ...
Unpacking libxcursor-dev:armhf (1:1.1.14-1+deb8u2) ...
Selecting previously unselected package x11proto-composite-dev.
Preparing to unpack .../x11proto-composite-dev_1%3a0.4.2-2_all.deb ...
Unpacking x11proto-composite-dev (1:0.4.2-2) ...
Selecting previously unselected package libxcomposite-dev.
Preparing to unpack .../libxcomposite-dev_1%3a0.4.4-1_armhf.deb ...
Unpacking libxcomposite-dev (1:0.4.4-1) ...
Selecting previously unselected package x11proto-damage-dev.
Preparing to unpack .../x11proto-damage-dev_1%3a1.2.1-2_all.deb ...
Unpacking x11proto-damage-dev (1:1.2.1-2) ...
Selecting previously unselected package libxdamage-dev:armhf.
Preparing to unpack .../libxdamage-dev_1%3a1.1.4-2_armhf.deb ...
Unpacking libxdamage-dev:armhf (1:1.1.4-2) ...
Selecting previously unselected package libxml2-utils.
Preparing to unpack .../libxml2-utils_2.9.1+dfsg1-5+deb8u7_armhf.deb ...
Unpacking libxml2-utils (2.9.1+dfsg1-5+deb8u7) ...
Selecting previously unselected package libgtk2.0-dev.
Preparing to unpack .../libgtk2.0-dev_2.24.25-3+deb8u2_armhf.deb ...
Unpacking libgtk2.0-dev (2.24.25-3+deb8u2) ...
Selecting previously unselected package libgail-common:armhf.
Preparing to unpack .../libgail-common_2.24.25-3+deb8u2_armhf.deb ...
Unpacking libgail-common:armhf (2.24.25-3+deb8u2) ...
Selecting previously unselected package libgail-dev.
Preparing to unpack .../libgail-dev_2.24.25-3+deb8u2_armhf.deb ...
Unpacking libgail-dev (2.24.25-3+deb8u2) ...
Selecting previously unselected package libgnomecanvas2-dev:armhf.
Preparing to unpack .../libgnomecanvas2-dev_2.30.3-2_armhf.deb ...
Unpacking libgnomecanvas2-dev:armhf (2.30.3-2) ...
Selecting previously unselected package libgconf2-dev.
Preparing to unpack .../libgconf2-dev_3.2.6-3_armhf.deb ...
Unpacking libgconf2-dev (3.2.6-3) ...
Selecting previously unselected package libgmp-dev:armhf.
Preparing to unpack .../libgmp-dev_2%3a6.0.0+dfsg-6+rpi1_armhf.deb ...
Unpacking libgmp-dev:armhf (2:6.0.0+dfsg-6+rpi1) ...
Selecting previously unselected package nettle-dev.
Preparing to unpack .../nettle-dev_2.7.1-5+deb8u2_armhf.deb ...
Unpacking nettle-dev (2.7.1-5+deb8u2) ...
Selecting previously unselected package libtasn1-6-dev.
Preparing to unpack .../libtasn1-6-dev_4.2-3+deb8u3_armhf.deb ...
Unpacking libtasn1-6-dev (4.2-3+deb8u3) ...
Selecting previously unselected package libp11-kit-dev.
Preparing to unpack .../libp11-kit-dev_0.20.7-1_armhf.deb ...
Unpacking libp11-kit-dev (0.20.7-1) ...
Selecting previously unselected package libgnutls28-dev:armhf.
Preparing to unpack .../libgnutls28-dev_3.3.30-0+deb8u1_armhf.deb ...
Unpacking libgnutls28-dev:armhf (3.3.30-0+deb8u1) ...
Selecting previously unselected package libxml2-dev:armhf.
Preparing to unpack .../libxml2-dev_2.9.1+dfsg1-5+deb8u7_armhf.deb ...
Unpacking libxml2-dev:armhf (2.9.1+dfsg1-5+deb8u7) ...
Selecting previously unselected package libsepol1-dev:armhf.
Preparing to unpack .../libsepol1-dev_2.3-2_armhf.deb ...
Unpacking libsepol1-dev:armhf (2.3-2) ...
Selecting previously unselected package libselinux1-dev:armhf.
Preparing to unpack .../libselinux1-dev_2.3-2_armhf.deb ...
Unpacking libselinux1-dev:armhf (2.3-2) ...
Selecting previously unselected package libgnomevfs2-dev:armhf.
Preparing to unpack .../libgnomevfs2-dev_1%3a2.24.4-6_armhf.deb ...
Unpacking libgnomevfs2-dev:armhf (1:2.24.4-6) ...
Selecting previously unselected package libcanberra-dev:armhf.
Preparing to unpack .../libcanberra-dev_0.30-2.1_armhf.deb ...
Unpacking libcanberra-dev:armhf (0.30-2.1) ...
Selecting previously unselected package libgnome2-dev:armhf.
Preparing to unpack .../libgnome2-dev_2.32.1-5_armhf.deb ...
Unpacking libgnome2-dev:armhf (2.32.1-5) ...
Selecting previously unselected package libbonoboui2-dev:armhf.
Preparing to unpack .../libbonoboui2-dev_2.24.5-2_armhf.deb ...
Unpacking libbonoboui2-dev:armhf (2.24.5-2) ...
Selecting previously unselected package libgnome-keyring-dev.
Preparing to unpack .../libgnome-keyring-dev_3.12.0-1+b1_armhf.deb ...
Unpacking libgnome-keyring-dev (3.12.0-1+b1) ...
Selecting previously unselected package libgnomeui-dev:armhf.
Preparing to unpack .../libgnomeui-dev_2.24.5-3_armhf.deb ...
Unpacking libgnomeui-dev:armhf (2.24.5-3) ...
Selecting previously unselected package libgpm-dev:armhf.
Preparing to unpack .../libgpm-dev_1.20.4-6.1_armhf.deb ...
Unpacking libgpm-dev:armhf (1.20.4-6.1) ...
Selecting previously unselected package libtinfo-dev:armhf.
Preparing to unpack .../libtinfo-dev_5.9+20140913-1+deb8u3_armhf.deb ...
Unpacking libtinfo-dev:armhf (5.9+20140913-1+deb8u3) ...
Selecting previously unselected package libreadline6-dev:armhf.
Preparing to unpack .../libreadline6-dev_6.3-8_armhf.deb ...
Unpacking libreadline6-dev:armhf (6.3-8) ...
Selecting previously unselected package libreadline-dev:armhf.
Preparing to unpack .../libreadline-dev_6.3-8_armhf.deb ...
Unpacking libreadline-dev:armhf (6.3-8) ...
Selecting previously unselected package liblua5.2-dev:armhf.
Preparing to unpack .../liblua5.2-dev_5.2.3-1.1_armhf.deb ...
Unpacking liblua5.2-dev:armhf (5.2.3-1.1) ...
Selecting previously unselected package libperl5.20.
Preparing to unpack .../libperl5.20_5.20.2-3+deb8u12_armhf.deb ...
Unpacking libperl5.20 (5.20.2-3+deb8u12) ...
Selecting previously unselected package libperl-dev.
Preparing to unpack .../libperl-dev_5.20.2-3+deb8u12_armhf.deb ...
Unpacking libperl-dev (5.20.2-3+deb8u12) ...
Selecting previously unselected package libpython-dev:armhf.
Preparing to unpack .../libpython-dev_2.7.9-1_armhf.deb ...
Unpacking libpython-dev:armhf (2.7.9-1) ...
Selecting previously unselected package libxt-dev:armhf.
Preparing to unpack .../libxt-dev_1%3a1.1.4-1_armhf.deb ...
Unpacking libxt-dev:armhf (1:1.1.4-1) ...
Selecting previously unselected package libxmu-headers.
Preparing to unpack .../libxmu-headers_2%3a1.1.2-1_all.deb ...
Unpacking libxmu-headers (2:1.1.2-1) ...
Selecting previously unselected package libxmu-dev:armhf.
Preparing to unpack .../libxmu-dev_2%3a1.1.2-1_armhf.deb ...
Unpacking libxmu-dev:armhf (2:1.1.2-1) ...
Selecting previously unselected package libxpm-dev:armhf.
Preparing to unpack .../libxpm-dev_1%3a3.5.12-0+deb8u1_armhf.deb ...
Unpacking libxpm-dev:armhf (1:3.5.12-0+deb8u1) ...
Selecting previously unselected package libxaw7-dev:armhf.
Preparing to unpack .../libxaw7-dev_2%3a1.0.12-2_armhf.deb ...
Unpacking libxaw7-dev:armhf (2:1.0.12-2) ...
Selecting previously unselected package lua5.2.
Preparing to unpack .../lua5.2_5.2.3-1.1_armhf.deb ...
Unpacking lua5.2 (5.2.3-1.1) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../python2.7-dev_2.7.9-2+deb8u3_armhf.deb ...
Unpacking python2.7-dev (2.7.9-2+deb8u3) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../python-dev_2.7.9-1_armhf.deb ...
Unpacking python-dev (2.7.9-1) ...
Selecting previously unselected package rubygems-integration.
Preparing to unpack .../rubygems-integration_1.8_all.deb ...
Unpacking rubygems-integration (1.8) ...
Selecting previously unselected package libruby2.1:armhf.
Preparing to unpack .../libruby2.1_2.1.5-2+deb8u7_armhf.deb ...
Unpacking libruby2.1:armhf (2.1.5-2+deb8u7) ...
Selecting previously unselected package ruby2.1.
Preparing to unpack .../ruby2.1_2.1.5-2+deb8u7_armhf.deb ...
Unpacking ruby2.1 (2.1.5-2+deb8u7) ...
Selecting previously unselected package ruby.
Preparing to unpack .../ruby_1%3a2.1.5+deb8u2_all.deb ...
Unpacking ruby (1:2.1.5+deb8u2) ...
Selecting previously unselected package ruby2.1-dev:armhf.
Preparing to unpack .../ruby2.1-dev_2.1.5-2+deb8u7_armhf.deb ...
Unpacking ruby2.1-dev:armhf (2.1.5-2+deb8u7) ...
Selecting previously unselected package ruby-dev.
Preparing to unpack .../ruby-dev_1%3a2.1.5+deb8u2_all.deb ...
Unpacking ruby-dev (1:2.1.5+deb8u2) ...
Selecting previously unselected package tcl8.6.
Preparing to unpack .../tcl8.6_8.6.2+dfsg-2_armhf.deb ...
Unpacking tcl8.6 (8.6.2+dfsg-2) ...
Selecting previously unselected package tcl.
Preparing to unpack .../tcl_8.6.0+8+b1_armhf.deb ...
Unpacking tcl (8.6.0+8+b1) ...
Selecting previously unselected package tcl8.6-dev:armhf.
Preparing to unpack .../tcl8.6-dev_8.6.2+dfsg-2_armhf.deb ...
Unpacking tcl8.6-dev:armhf (8.6.2+dfsg-2) ...
Selecting previously unselected package tcl-dev:armhf.
Preparing to unpack .../tcl-dev_8.6.0+8+b1_armhf.deb ...
Unpacking tcl-dev:armhf (8.6.0+8+b1) ...
Selecting previously unselected package libattr1-dev:armhf.
Preparing to unpack .../libattr1-dev_1%3a2.4.47-2_armhf.deb ...
Unpacking libattr1-dev:armhf (1:2.4.47-2) ...
Selecting previously unselected package libacl1-dev.
Preparing to unpack .../libacl1-dev_2.2.52-2_armhf.deb ...
Unpacking libacl1-dev (2.2.52-2) ...
Selecting previously unselected package pdf2svg.
Preparing to unpack .../pdf2svg_0.2.2-1_armhf.deb ...
Unpacking pdf2svg (0.2.2-1) ...
Selecting previously unselected package sbuild-build-depends-vim-dummy.
Preparing to unpack .../sbuild-build-depends-vim-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-vim-dummy (0.invalid.0) ...
Processing triggers for systemd (215-17+deb8u13) ...
Setting up libpipeline1:armhf (1.4.0-1) ...
Setting up libpopt0:armhf (1.16-10) ...
Setting up libssl1.0.0:armhf (1.0.1t-1+deb8u11) ...
Setting up groff-base (1.22.2-8) ...
Setting up bsdmainutils (9.0.6) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up man-db (2.7.0.2-5) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libasprintf0c2:armhf (0.19.3-2) ...
Setting up libnettle4:armhf (2.7.1-5+deb8u2) ...
Setting up libhogweed2:armhf (2.7.1-5+deb8u2) ...
Setting up libffi6:armhf (3.1-2+deb8u1) ...
Setting up libp11-kit0:armhf (0.20.7-1) ...
Setting up libtasn1-6:armhf (4.2-3+deb8u3) ...
Setting up libgnutls-deb0-28:armhf (3.3.30-0+deb8u1) ...
Setting up libgnutls-openssl27:armhf (3.3.30-0+deb8u1) ...
Setting up libgpm2:armhf (1.20.4-6.1) ...
Setting up libkeyutils1:armhf (1.5.9-5) ...
Setting up libkrb5support0:armhf (1.12.1+dfsg-19+deb8u5) ...
Setting up libk5crypto3:armhf (1.12.1+dfsg-19+deb8u5) ...
Setting up libkrb5-3:armhf (1.12.1+dfsg-19+deb8u5) ...
Setting up libgssapi-krb5-2:armhf (1.12.1+dfsg-19+deb8u5) ...
Setting up libidn11:armhf (1.29-1+deb8u3) ...
Setting up libsasl2-modules-db:armhf (2.1.26.dfsg1-13+deb8u1) ...
Setting up libsasl2-2:armhf (2.1.26.dfsg1-13+deb8u1) ...
Setting up libldap-2.4-2:armhf (2.4.40+dfsg-1+deb8u4) ...
Setting up libmagic1:armhf (1:5.22+15-2+deb8u5) ...
Setting up mime-support (3.58) ...
Setting up libexpat1:armhf (2.1.0-6+deb8u5) ...
Setting up libsqlite3-0:armhf (3.8.7.1-1+deb8u4) ...
Setting up libpython2.7-stdlib:armhf (2.7.9-2+deb8u3) ...
Setting up libpython2.7:armhf (2.7.9-2+deb8u3) ...
Setting up libxml2:armhf (2.9.1+dfsg1-5+deb8u7) ...
Setting up python2.7 (2.7.9-2+deb8u3) ...
Setting up libpython-stdlib:armhf (2.7.9-1) ...
Setting up python (2.7.9-1) ...
Setting up libfreetype6:armhf (2.5.2-3+deb8u2) ...
Setting up ucf (3.0030) ...
Setting up fonts-dejavu-core (2.34-1) ...
Setting up fontconfig-config (2.11.0-6.3+deb8u1) ...
Setting up libfontconfig1:armhf (2.11.0-6.3+deb8u1) ...
Setting up fontconfig (2.11.0-6.3+deb8u1) ...
Regenerating fonts cache... done.
Setting up libart-2.0-2:armhf (2.3.21-2) ...
Setting up libasound2-data (1.0.28-1) ...
Setting up libasound2:armhf (1.0.28-1) ...
Setting up libglib2.0-0:armhf (2.42.1-1+deb8u2) ...
No schema files found: doing nothing.
Setting up libatk1.0-data (2.14.0-1) ...
Setting up libatk1.0-0:armhf (2.14.0-1) ...
Setting up libavahi-common-data:armhf (0.6.31-5) ...
Setting up libavahi-common3:armhf (0.6.31-5) ...
Setting up libavahi-client3:armhf (0.6.31-5) ...
Setting up libavahi-glib1:armhf (0.6.31-5) ...
Setting up libbonobo2-common (2.32.1-3) ...
Setting up liborbit-2-0:armhf (1:2.14.19-0.3) ...
Setting up libbonobo2-0:armhf (2.32.1-3) ...
Setting up libdbus-glib-1-2:armhf (0.102-1) ...
Setting up gconf2-common (3.2.6-3) ...

Creating config file /etc/gconf/2/path with new version
Setting up libgconf-2-4:armhf (3.2.6-3) ...
Setting up gconf-service (3.2.6-3) ...
Setting up libpixman-1-0:armhf (0.32.6-3+deb8u1) ...
Setting up libxau6:armhf (1:1.0.8-1) ...
Setting up libxdmcp6:armhf (1:1.1.1-1) ...
Setting up libxcb1:armhf (1.10-3) ...
Setting up libx11-data (2:1.6.2-3+deb8u2) ...
Setting up libx11-6:armhf (2:1.6.2-3+deb8u2) ...
Setting up libxcb-render0:armhf (1.10-3) ...
Setting up libxcb-shm0:armhf (1.10-3) ...
Setting up libxext6:armhf (2:1.3.3-1) ...
Setting up libxrender1:armhf (1:0.9.8-1) ...
Setting up libcairo2:armhf (1.14.0-2.1+deb8u2) ...
Setting up libjpeg62-turbo:armhf (1:1.3.1-12+deb8u2) ...
Setting up libjasper1:armhf (1.900.1-debian1-2.4+deb8u6) ...
Setting up libjbig0:armhf (2.1-3.1) ...
Setting up libtiff5:armhf (4.0.3-12.3+deb8u8) ...
Setting up libgdk-pixbuf2.0-common (2.31.1-2+deb8u7) ...
Setting up libgdk-pixbuf2.0-0:armhf (2.31.1-2+deb8u7) ...
Setting up libgtk2.0-common (2.24.25-3+deb8u2) ...
Setting up libcups2:armhf (1.7.5-11+deb8u4) ...
Setting up libthai-data (0.1.21-1) ...
Setting up libdatrie1:armhf (0.2.8-1) ...
Setting up libthai0:armhf (0.1.21-1) ...
Setting up libpango-1.0-0:armhf (1.36.8-3) ...
Setting up libgraphite2-3:armhf (1.3.10-1~deb8u1) ...
Setting up libharfbuzz0b:armhf (0.9.35-2) ...
Setting up libpangoft2-1.0-0:armhf (1.36.8-3) ...
Setting up libpangocairo-1.0-0:armhf (1.36.8-3) ...
Setting up libxcomposite1:armhf (1:0.4.4-1) ...
Setting up libxfixes3:armhf (1:5.0.1-2+deb8u1) ...
Setting up libxcursor1:armhf (1:1.1.14-1+deb8u2) ...
Setting up libxdamage1:armhf (1:1.1.4-2) ...
Setting up libxi6:armhf (2:1.7.4-1+deb8u1) ...
Setting up libxinerama1:armhf (2:1.1.3-1) ...
Setting up libxrandr2:armhf (2:1.4.2-1+deb8u1) ...
Setting up shared-mime-info (1.3-1) ...
Setting up libgtk2.0-0:armhf (2.24.25-3+deb8u2) ...
Setting up libglade2-0:armhf (1:2.6.4-2) ...
Setting up libltdl7:armhf (2.4.2-1.11) ...
Setting up libogg0:armhf (1.3.2-1) ...
Setting up libtdb1:armhf (1.3.6-0+deb8u1) ...
Setting up libvorbis0a:armhf (1.3.4-2+deb8u1) ...
Setting up libvorbisfile3:armhf (1.3.4-2+deb8u1) ...
Setting up libcanberra0:armhf (0.30-2.1) ...
Setting up psmisc (22.21-2) ...
Setting up libcap-ng0:armhf (0.7.4-2) ...
Setting up dbus (1.8.22-0+deb8u2) ...
All runlevel operations denied by policy
invoke-rc.d: policy-rc.d denied execution of start.
Setting up dbus-x11 (1.8.22-0+deb8u2) ...
Setting up gconf2 (3.2.6-3) ...
Setting up gnome-mime-data (2.18.0-1) ...
Setting up libgnomevfs2-common (1:2.24.4-6) ...
Setting up libgnomevfs2-0:armhf (1:2.24.4-6) ...
Setting up libgnome2-common (2.32.1-5) ...
Setting up libgnome-2-0:armhf (2.32.1-5) ...
Setting up libgail18:armhf (2.24.25-3+deb8u2) ...
Setting up libgnomecanvas2-common (2.30.3-2) ...
Setting up libgnomecanvas2-0:armhf (2.30.3-2) ...
Setting up x11-common (1:7.7+7) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
All runlevel operations denied by policy
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libice6:armhf (2:1.0.9-1) ...
Setting up libsm6:armhf (2:1.2.2-1) ...
Setting up libbonoboui2-common (2.24.5-2) ...
Setting up libbonoboui2-0:armhf (2.24.5-2) ...
Setting up libcairo-gobject2:armhf (1.14.0-2.1+deb8u2) ...
Setting up liblzo2-2:armhf (2.08-1.2) ...
Setting up libcairo-script-interpreter2:armhf (1.14.0-2.1+deb8u2) ...
Setting up libcroco3:armhf (0.6.8-3) ...
Setting up libelfg0:armhf (0.8.13-5) ...
Setting up libgmpxx4ldbl:armhf (2:6.0.0+dfsg-6+rpi1) ...
Setting up libgnome-keyring-common (3.12.0-1) ...
Setting up libgnome-keyring0:armhf (3.12.0-1+b1) ...
Setting up libgnomeui-common (2.24.5-3) ...
Setting up libgnomeui-0:armhf (2.24.5-3) ...
Setting up libharfbuzz-gobject0:armhf (0.9.35-2) ...
Setting up libicu52:armhf (52.1-8+deb8u7) ...
Setting up libharfbuzz-icu0:armhf (0.9.35-2) ...
Setting up libidl0:armhf (0.8.14-0.4) ...
Setting up libijs-0.35:armhf (0.35-10) ...
Setting up liblcms2-2:armhf (2.6-3+deb8u2) ...
Setting up liblua5.2-0:armhf (5.2.3-1.1) ...
Setting up liborbit2:armhf (1:2.14.19-0.3) ...
Setting up libxft2:armhf (2.3.2-1) ...
Setting up libpangoxft-1.0-0:armhf (1.36.8-3) ...
Setting up libpaper1:armhf (1.1.24+nmu4) ...

Creating config file /etc/papersize with new version
Setting up libpcrecpp0:armhf (2:8.35-3.3+deb8u4) ...
Setting up libopenjpeg5:armhf (1:1.5.2-3) ...
Setting up libpoppler46:armhf (0.26.5-2+deb8u10) ...
Setting up libpoppler-glib8:armhf (0.26.5-2+deb8u10) ...
Setting up libexpat1-dev:armhf (2.1.0-6+deb8u5) ...
Setting up libpython2.7-dev:armhf (2.7.9-2+deb8u3) ...
Setting up libsigsegv2:armhf (2.10-4) ...
Setting up libtcl8.6:armhf (8.6.2+dfsg-2) ...
Setting up libunistring0:armhf (0.9.3-5.2) ...
Setting up libxt6:armhf (1:1.1.4-1) ...
Setting up libxmu6:armhf (2:1.1.2-1) ...
Setting up libxpm4:armhf (1:3.5.12-0+deb8u1) ...
Setting up libxaw7:armhf (2:1.0.12-2) ...
Setting up libyaml-0-2:armhf (0.1.6-3) ...
Setting up poppler-data (0.4.7-1) ...
Setting up libgnutlsxx28:armhf (3.3.30-0+deb8u1) ...
Setting up libopenjp2-7:armhf (2.1.0-2+deb8u7) ...
Setting up file (1:5.22+15-2+deb8u5) ...
Setting up gettext-base (0.19.3-2) ...
Setting up m4 (1.4.17-4) ...
Setting up autoconf (2.69-8) ...
Setting up openssl (1.0.1t-1+deb8u11) ...
Setting up ca-certificates (20141019+deb8u4) ...
Updating certificates in /etc/ssl/certs... 152 added, 0 removed; done.
Setting up gettext (0.19.3-2) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu3) ...
Setting up debhelper (9.20150101+deb8u2) ...
Setting up libjbig2dec0 (0.13-4~deb8u2) ...
Setting up libgs9-common (9.26a~dfsg-0+deb8u3) ...
Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2) ...
Setting up libgirepository-1.0-1:armhf (1.42.0-2.2) ...
Setting up gir1.2-glib-2.0:armhf (1.42.0-2.2) ...
Setting up gir1.2-atk-1.0 (2.14.0-1) ...
Setting up gir1.2-freedesktop:armhf (1.42.0-2.2) ...
Setting up gir1.2-gconf-2.0 (3.2.6-3) ...
Setting up gir1.2-gdkpixbuf-2.0 (2.31.1-2+deb8u7) ...
Setting up gir1.2-gnomekeyring-1.0 (3.12.0-1+b1) ...
Setting up gir1.2-pango-1.0:armhf (1.36.8-3) ...
Setting up gir1.2-gtk-2.0 (2.24.25-3+deb8u2) ...
Setting up pkg-config (0.28-1) ...
Setting up libart-2.0-dev (2.3.21-2) ...
Setting up libglib2.0-data (2.42.1-1+deb8u2) ...
Setting up libglib2.0-bin (2.42.1-1+deb8u2) ...
Setting up libpcre3-dev:armhf (2:8.35-3.3+deb8u4) ...
Setting up zlib1g-dev:armhf (1:1.2.8.dfsg-2) ...
Setting up libglib2.0-dev (2.42.1-1+deb8u2) ...
Setting up libatk1.0-dev (2.14.0-1) ...
Setting up libavahi-common-dev (0.6.31-5) ...
Setting up libdbus-1-dev:armhf (1.8.22-0+deb8u2) ...
Setting up libavahi-client-dev (0.6.31-5) ...
Setting up libavahi-glib-dev (0.6.31-5) ...
Setting up libidl-dev:armhf (0.8.14-0.4) ...
Setting up orbit2 (1:2.14.19-0.3) ...
Setting up liborbit2-dev (1:2.14.19-0.3) ...
Setting up libpopt-dev:armhf (1.16-10) ...
Setting up libbonobo2-dev:armhf (2.32.1-3) ...
Setting up xorg-sgml-doctools (1:1.11-1) ...
Setting up x11proto-core-dev (7.0.26-1) ...
Setting up libxau-dev:armhf (1:1.0.8-1) ...
Setting up libxdmcp-dev:armhf (1:1.1.1-1) ...
Setting up x11proto-input-dev (2.3.1-1) ...
Setting up x11proto-kb-dev (1.0.6-2) ...
Setting up xtrans-dev (1.3.4-1) ...
Setting up libpthread-stubs0-dev:armhf (0.3-4) ...
Setting up libxcb1-dev:armhf (1.10-3) ...
Setting up libx11-dev:armhf (2:1.6.2-3+deb8u2) ...
Setting up libpng12-dev:armhf (1.2.50-2+deb8u3) ...
Setting up libgdk-pixbuf2.0-dev (2.31.1-2+deb8u7) ...
Setting up libfreetype6-dev (2.5.2-3+deb8u2) ...
Setting up libfontconfig1-dev:armhf (2.11.0-6.3+deb8u1) ...
Setting up x11proto-render-dev (2:0.11.1-2) ...
Setting up libxrender-dev:armhf (1:0.9.8-1) ...
Setting up x11proto-xext-dev (7.3.0-1) ...
Setting up libxext-dev:armhf (2:1.3.3-1) ...
Setting up libice-dev:armhf (2:1.0.9-1) ...
Setting up libsm-dev:armhf (2:1.2.2-1) ...
Setting up libpixman-1-dev (0.32.6-3+deb8u1) ...
Setting up libxcb-render0-dev:armhf (1.10-3) ...
Setting up libxcb-shm0-dev:armhf (1.10-3) ...
Setting up libcairo2-dev (1.14.0-2.1+deb8u2) ...
Setting up libharfbuzz-dev (0.9.35-2) ...
Setting up libxft-dev (2.3.2-1) ...
Setting up libpango1.0-dev (1.36.8-3) ...
Setting up x11proto-xinerama-dev (1.2.1-2) ...
Setting up libxinerama-dev:armhf (2:1.1.3-1) ...
Setting up x11proto-fixes-dev (1:5.0-2) ...
Setting up libxfixes-dev:armhf (1:5.0.1-2+deb8u1) ...
Setting up libxi-dev (2:1.7.4-1+deb8u1) ...
Setting up x11proto-randr-dev (1.4.0-2) ...
Setting up libxrandr-dev:armhf (2:1.4.2-1+deb8u1) ...
Setting up libxcursor-dev:armhf (1:1.1.14-1+deb8u2) ...
Setting up x11proto-composite-dev (1:0.4.2-2) ...
Setting up libxcomposite-dev (1:0.4.4-1) ...
Setting up x11proto-damage-dev (1:1.2.1-2) ...
Setting up libxdamage-dev:armhf (1:1.1.4-2) ...
Setting up libxml2-utils (2.9.1+dfsg1-5+deb8u7) ...
Setting up libgtk2.0-dev (2.24.25-3+deb8u2) ...
Setting up libgail-common:armhf (2.24.25-3+deb8u2) ...
Setting up libgail-dev (2.24.25-3+deb8u2) ...
Setting up libgnomecanvas2-dev:armhf (2.30.3-2) ...
Setting up libgconf2-dev (3.2.6-3) ...
Setting up libgmp-dev:armhf (2:6.0.0+dfsg-6+rpi1) ...
Setting up nettle-dev (2.7.1-5+deb8u2) ...
Setting up libtasn1-6-dev (4.2-3+deb8u3) ...
Setting up libp11-kit-dev (0.20.7-1) ...
Setting up libgnutls28-dev:armhf (3.3.30-0+deb8u1) ...
Setting up libxml2-dev:armhf (2.9.1+dfsg1-5+deb8u7) ...
Setting up libsepol1-dev:armhf (2.3-2) ...
Setting up libselinux1-dev:armhf (2.3-2) ...
Setting up libgnomevfs2-dev:armhf (1:2.24.4-6) ...
Setting up libcanberra-dev:armhf (0.30-2.1) ...
Setting up libgnome2-dev:armhf (2.32.1-5) ...
Setting up libbonoboui2-dev:armhf (2.24.5-2) ...
Setting up libgnome-keyring-dev (3.12.0-1+b1) ...
Setting up libgnomeui-dev:armhf (2.24.5-3) ...
Setting up libgpm-dev:armhf (1.20.4-6.1) ...
Setting up libtinfo-dev:armhf (5.9+20140913-1+deb8u3) ...
Setting up libreadline6-dev:armhf (6.3-8) ...
Setting up libreadline-dev:armhf (6.3-8) ...
Setting up liblua5.2-dev:armhf (5.2.3-1.1) ...
Setting up libperl5.20 (5.20.2-3+deb8u12) ...
Setting up libperl-dev (5.20.2-3+deb8u12) ...
Setting up libpython-dev:armhf (2.7.9-1) ...
Setting up libxt-dev:armhf (1:1.1.4-1) ...
Setting up libxmu-headers (2:1.1.2-1) ...
Setting up libxmu-dev:armhf (2:1.1.2-1) ...
Setting up libxpm-dev:armhf (1:3.5.12-0+deb8u1) ...
Setting up libxaw7-dev:armhf (2:1.0.12-2) ...
Setting up lua5.2 (5.2.3-1.1) ...
update-alternatives: using /usr/bin/lua5.2 to provide /usr/bin/lua (lua-interpreter) in auto mode
update-alternatives: using /usr/bin/luac5.2 to provide /usr/bin/luac (lua-compiler) in auto mode
Setting up python2.7-dev (2.7.9-2+deb8u3) ...
Setting up python-dev (2.7.9-1) ...
Setting up rubygems-integration (1.8) ...
Setting up libruby2.1:armhf (2.1.5-2+deb8u7) ...
Setting up ruby2.1 (2.1.5-2+deb8u7) ...
Setting up ruby (1:2.1.5+deb8u2) ...
Setting up ruby2.1-dev:armhf (2.1.5-2+deb8u7) ...
Setting up ruby-dev (1:2.1.5+deb8u2) ...
Setting up tcl8.6 (8.6.2+dfsg-2) ...
Setting up tcl (8.6.0+8+b1) ...
Setting up tcl8.6-dev:armhf (8.6.2+dfsg-2) ...
Setting up tcl-dev:armhf (8.6.0+8+b1) ...
Setting up libattr1-dev:armhf (1:2.4.47-2) ...
Setting up libacl1-dev (2.2.52-2) ...
Setting up pdf2svg (0.2.2-1) ...
Setting up libcupsimage2:armhf (1.7.5-11+deb8u4) ...
Setting up libcupsfilters1:armhf (1.0.61-5+deb8u4) ...
Setting up libgs9 (9.26a~dfsg-0+deb8u3) ...
Setting up ghostscript (9.26a~dfsg-0+deb8u3) ...
Setting up sbuild-build-depends-vim-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for systemd (215-17+deb8u13) ...
Processing triggers for ca-certificates (20141019+deb8u4) ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.9.0-0.bpo.1-armmp armhf (armv7l)
Toolchain package versions: binutils_2.25-5+deb8u1 dpkg-dev_1.17.27 g++-4.9_4.9.2-10+deb8u2 gcc-4.9_4.9.2-10+deb8u2 libc6-dev_2.19-18+deb8u10 libstdc++-4.9-dev_4.9.2-10+deb8u2 libstdc++6_4.9.2-10+deb8u2 linux-libc-dev_3.16.7-ckt11-1+deb8u4+rpi1
Package versions: acl_2.2.52-2 adduser_3.113+nmu3 apt_1.0.9.8.5 autoconf_2.69-8 base-files_8+rpi1 base-passwd_3.5.37 bash_4.3-11+deb8u2 binutils_2.25-5+deb8u1 bsdmainutils_9.0.6 bsdutils_1:2.25.2-6 build-essential_11.7 bzip2_1.0.6-7+deb8u1 ca-certificates_20141019+deb8u4 coreutils_8.23-4 cpio_2.11+dfsg-4.1+deb8u1 cpp_4:4.9.2-2 cpp-4.9_4.9.2-10+deb8u2 dash_0.5.7-4 dbus_1.8.22-0+deb8u2 dbus-x11_1.8.22-0+deb8u2 debconf_1.5.56+deb8u1 debconf-i18n_1.5.56+deb8u1 debfoster_2.7-2 debhelper_9.20150101+deb8u2 debianutils_4.4 diffutils_1:3.3-1 dmsetup_2:1.02.90-2.2+deb8u1 dpkg_1.17.27 dpkg-dev_1.17.27 e2fslibs_1.42.12-2 e2fsprogs_1.42.12-2 fakeroot_1.20.2-1 file_1:5.22+15-2+deb8u5 findutils_4.4.2-9 fontconfig_2.11.0-6.3+deb8u1 fontconfig-config_2.11.0-6.3+deb8u1 fonts-dejavu-core_2.34-1 g++_4:4.9.2-2 g++-4.9_4.9.2-10+deb8u2 gcc_4:4.9.2-2 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.4-1 gcc-4.9_4.9.2-10+deb8u2 gcc-4.9-base_4.9.2-10+deb8u2 gconf-service_3.2.6-3 gconf2_3.2.6-3 gconf2-common_3.2.6-3 gettext_0.19.3-2 gettext-base_0.19.3-2 ghostscript_9.26a~dfsg-0+deb8u3 gir1.2-atk-1.0_2.14.0-1 gir1.2-freedesktop_1.42.0-2.2 gir1.2-gconf-2.0_3.2.6-3 gir1.2-gdkpixbuf-2.0_2.31.1-2+deb8u7 gir1.2-glib-2.0_1.42.0-2.2 gir1.2-gnomekeyring-1.0_3.12.0-1+b1 gir1.2-gtk-2.0_2.24.25-3+deb8u2 gir1.2-pango-1.0_1.36.8-3 gnome-mime-data_2.18.0-1 gnupg_1.4.18-7+deb8u5 gpgv_1.4.18-7+deb8u5 grep_2.20-4.1 groff-base_1.22.2-8 gsfonts_1:8.11+urwcyr1.0.7~pre44-4.2 gzip_1.6-4 hostname_3.15 init_1.22 init-system-helpers_1.22 initramfs-tools_0.120+deb8u3 initscripts_2.88dsf-59 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 klibc-utils_2.0.4-2+rpi1 kmod_18-3 libacl1_2.2.52-2 libacl1-dev_2.2.52-2 libapt-pkg4.12_1.0.9.8.5 libart-2.0-2_2.3.21-2 libart-2.0-dev_2.3.21-2 libasan1_4.9.2-10+deb8u2 libasound2_1.0.28-1 libasound2-data_1.0.28-1 libasprintf0c2_0.19.3-2 libatk1.0-0_2.14.0-1 libatk1.0-data_2.14.0-1 libatk1.0-dev_2.14.0-1 libatomic1_4.9.2-10+deb8u2 libattr1_1:2.4.47-2 libattr1-dev_1:2.4.47-2 libaudit-common_1:2.4-1 libaudit1_1:2.4-1 libavahi-client-dev_0.6.31-5 libavahi-client3_0.6.31-5 libavahi-common-data_0.6.31-5 libavahi-common-dev_0.6.31-5 libavahi-common3_0.6.31-5 libavahi-glib-dev_0.6.31-5 libavahi-glib1_0.6.31-5 libblkid1_2.25.2-6 libbonobo2-0_2.32.1-3 libbonobo2-common_2.32.1-3 libbonobo2-dev_2.32.1-3 libbonoboui2-0_2.24.5-2 libbonoboui2-common_2.24.5-2 libbonoboui2-dev_2.24.5-2 libbz2-1.0_1.0.6-7+deb8u1 libc-bin_2.19-18+deb8u10 libc-dev-bin_2.19-18+deb8u10 libc6_2.19-18+deb8u10 libc6-dev_2.19-18+deb8u10 libcairo-gobject2_1.14.0-2.1+deb8u2 libcairo-script-interpreter2_1.14.0-2.1+deb8u2 libcairo2_1.14.0-2.1+deb8u2 libcairo2-dev_1.14.0-2.1+deb8u2 libcanberra-dev_0.30-2.1 libcanberra0_0.30-2.1 libcap-ng0_0.7.4-2 libcap2_1:2.24-8 libcap2-bin_1:2.24-8 libcloog-isl4_0.18.2-1 libcomerr2_1.42.12-2 libcroco3_0.6.8-3 libcryptsetup4_2:1.6.6-5 libcups2_1.7.5-11+deb8u4 libcupsfilters1_1.0.61-5+deb8u4 libcupsimage2_1.7.5-11+deb8u4 libdatrie1_0.2.8-1 libdb5.3_5.3.28-9+deb8u1 libdbus-1-3_1.8.22-0+deb8u2 libdbus-1-dev_1.8.22-0+deb8u2 libdbus-glib-1-2_0.102-1 libdebconfclient0_0.192 libdevmapper1.02.1_2:1.02.90-2.2+deb8u1 libdpkg-perl_1.17.27 libdrm2_2.4.58-2 libelfg0_0.8.13-5 libexpat1_2.1.0-6+deb8u5 libexpat1-dev_2.1.0-6+deb8u5 libfakeroot_1.20.2-1 libffi6_3.1-2+deb8u1 libfontconfig1_2.11.0-6.3+deb8u1 libfontconfig1-dev_2.11.0-6.3+deb8u1 libfreetype6_2.5.2-3+deb8u2 libfreetype6-dev_2.5.2-3+deb8u2 libgail-common_2.24.25-3+deb8u2 libgail-dev_2.24.25-3+deb8u2 libgail18_2.24.25-3+deb8u2 libgc1c2_1:7.2d-6.4 libgcc-4.9-dev_4.9.2-10+deb8u2 libgcc1_1:4.9.2-10+deb8u2 libgconf-2-4_3.2.6-3 libgconf2-dev_3.2.6-3 libgcrypt20_1.6.3-2+deb8u5 libgdbm3_1.8.3-13.1 libgdk-pixbuf2.0-0_2.31.1-2+deb8u7 libgdk-pixbuf2.0-common_2.31.1-2+deb8u7 libgdk-pixbuf2.0-dev_2.31.1-2+deb8u7 libgirepository-1.0-1_1.42.0-2.2 libglade2-0_1:2.6.4-2 libglib2.0-0_2.42.1-1+deb8u2 libglib2.0-bin_2.42.1-1+deb8u2 libglib2.0-data_2.42.1-1+deb8u2 libglib2.0-dev_2.42.1-1+deb8u2 libgmp-dev_2:6.0.0+dfsg-6+rpi1 libgmp10_2:6.0.0+dfsg-6+rpi1 libgmpxx4ldbl_2:6.0.0+dfsg-6+rpi1 libgnome-2-0_2.32.1-5 libgnome-keyring-common_3.12.0-1 libgnome-keyring-dev_3.12.0-1+b1 libgnome-keyring0_3.12.0-1+b1 libgnome2-common_2.32.1-5 libgnome2-dev_2.32.1-5 libgnomecanvas2-0_2.30.3-2 libgnomecanvas2-common_2.30.3-2 libgnomecanvas2-dev_2.30.3-2 libgnomeui-0_2.24.5-3 libgnomeui-common_2.24.5-3 libgnomeui-dev_2.24.5-3 libgnomevfs2-0_1:2.24.4-6 libgnomevfs2-common_1:2.24.4-6 libgnomevfs2-dev_1:2.24.4-6 libgnutls-deb0-28_3.3.30-0+deb8u1 libgnutls-openssl27_3.3.30-0+deb8u1 libgnutls28-dev_3.3.30-0+deb8u1 libgnutlsxx28_3.3.30-0+deb8u1 libgomp1_4.9.2-10+deb8u2 libgpg-error0_1.17-3 libgpm-dev_1.20.4-6.1 libgpm2_1.20.4-6.1 libgraphite2-3_1.3.10-1~deb8u1 libgs9_9.26a~dfsg-0+deb8u3 libgs9-common_9.26a~dfsg-0+deb8u3 libgssapi-krb5-2_1.12.1+dfsg-19+deb8u5 libgtk2.0-0_2.24.25-3+deb8u2 libgtk2.0-common_2.24.25-3+deb8u2 libgtk2.0-dev_2.24.25-3+deb8u2 libharfbuzz-dev_0.9.35-2 libharfbuzz-gobject0_0.9.35-2 libharfbuzz-icu0_0.9.35-2 libharfbuzz0b_0.9.35-2 libhogweed2_2.7.1-5+deb8u2 libice-dev_2:1.0.9-1 libice6_2:1.0.9-1 libicu52_52.1-8+deb8u7 libidl-dev_0.8.14-0.4 libidl0_0.8.14-0.4 libidn11_1.29-1+deb8u3 libijs-0.35_0.35-10 libisl10_0.12.2-2 libjasper1_1.900.1-debian1-2.4+deb8u6 libjbig0_2.1-3.1 libjbig2dec0_0.13-4~deb8u2 libjpeg62-turbo_1:1.3.1-12+deb8u2 libk5crypto3_1.12.1+dfsg-19+deb8u5 libkeyutils1_1.5.9-5 libklibc_2.0.4-2+rpi1 libkmod2_18-3 libkrb5-3_1.12.1+dfsg-19+deb8u5 libkrb5support0_1.12.1+dfsg-19+deb8u5 liblcms2-2_2.6-3+deb8u2 libldap-2.4-2_2.4.40+dfsg-1+deb8u4 liblocale-gettext-perl_1.05-8+b1 libltdl7_2.4.2-1.11 liblua5.2-0_5.2.3-1.1 liblua5.2-dev_5.2.3-1.1 liblzma5_5.1.1alpha+20120614-2 liblzo2-2_2.08-1.2 libmagic1_1:5.22+15-2+deb8u5 libmount1_2.25.2-6 libmpc3_1.0.2-1 libmpfr4_3.1.2-2 libncurses5_5.9+20140913-1+deb8u3 libncursesw5_5.9+20140913-1+deb8u3 libnettle4_2.7.1-5+deb8u2 libnih-dbus1_1.0.3-4.3 libnih1_1.0.3-4.3 libogg0_1.3.2-1 libopenjp2-7_2.1.0-2+deb8u7 libopenjpeg5_1:1.5.2-3 liborbit-2-0_1:2.14.19-0.3 liborbit2_1:2.14.19-0.3 liborbit2-dev_1:2.14.19-0.3 libp11-kit-dev_0.20.7-1 libp11-kit0_0.20.7-1 libpam-modules_1.1.8-3.1+deb8u2 libpam-modules-bin_1.1.8-3.1+deb8u2 libpam-runtime_1.1.8-3.1+deb8u2 libpam0g_1.1.8-3.1+deb8u2 libpango-1.0-0_1.36.8-3 libpango1.0-dev_1.36.8-3 libpangocairo-1.0-0_1.36.8-3 libpangoft2-1.0-0_1.36.8-3 libpangoxft-1.0-0_1.36.8-3 libpaper1_1.1.24+nmu4 libpcre3_2:8.35-3.3+deb8u4 libpcre3-dev_2:8.35-3.3+deb8u4 libpcrecpp0_2:8.35-3.3+deb8u4 libperl-dev_5.20.2-3+deb8u12 libperl5.20_5.20.2-3+deb8u12 libpipeline1_1.4.0-1 libpixman-1-0_0.32.6-3+deb8u1 libpixman-1-dev_0.32.6-3+deb8u1 libpng12-0_1.2.50-2+deb8u3 libpng12-dev_1.2.50-2+deb8u3 libpoppler-glib8_0.26.5-2+deb8u10 libpoppler46_0.26.5-2+deb8u10 libpopt-dev_1.16-10 libpopt0_1.16-10 libprocps3_2:3.3.9-9+deb8u1 libpthread-stubs0-dev_0.3-4 libpython-dev_2.7.9-1 libpython-stdlib_2.7.9-1 libpython2.7_2.7.9-2+deb8u3 libpython2.7-dev_2.7.9-2+deb8u3 libpython2.7-minimal_2.7.9-2+deb8u3 libpython2.7-stdlib_2.7.9-2+deb8u3 libreadline-dev_6.3-8 libreadline6_6.3-8 libreadline6-dev_6.3-8 libruby2.1_2.1.5-2+deb8u7 libsasl2-2_2.1.26.dfsg1-13+deb8u1 libsasl2-modules-db_2.1.26.dfsg1-13+deb8u1 libselinux1_2.3-2 libselinux1-dev_2.3-2 libsemanage-common_2.3-1 libsemanage1_2.3-1 libsepol1_2.3-2 libsepol1-dev_2.3-2 libsigsegv2_2.10-4 libslang2_2.3.0-2 libsm-dev_2:1.2.2-1 libsm6_2:1.2.2-1 libsmartcols1_2.25.2-6 libsqlite3-0_3.8.7.1-1+deb8u4 libss2_1.42.12-2 libssl1.0.0_1.0.1t-1+deb8u11 libstdc++-4.9-dev_4.9.2-10+deb8u2 libstdc++6_4.9.2-10+deb8u2 libsystemd0_215-17+deb8u13 libtasn1-6_4.2-3+deb8u3 libtasn1-6-dev_4.2-3+deb8u3 libtcl8.6_8.6.2+dfsg-2 libtdb1_1.3.6-0+deb8u1 libtext-charwidth-perl_0.04-7+b4 libtext-iconv-perl_1.7-5+b5 libtext-wrapi18n-perl_0.06-7 libthai-data_0.1.21-1 libthai0_0.1.21-1 libtiff5_4.0.3-12.3+deb8u8 libtimedate-perl_2.3000-2 libtinfo-dev_5.9+20140913-1+deb8u3 libtinfo5_5.9+20140913-1+deb8u3 libubsan0_4.9.2-10+deb8u2 libudev1_215-17+deb8u13 libunistring0_0.9.3-5.2 libusb-0.1-4_2:0.1.12-25 libustr-1.0-1_1.0.4-3 libuuid1_2.25.2-6 libvorbis0a_1.3.4-2+deb8u1 libvorbisfile3_1.3.4-2+deb8u1 libx11-6_2:1.6.2-3+deb8u2 libx11-data_2:1.6.2-3+deb8u2 libx11-dev_2:1.6.2-3+deb8u2 libxau-dev_1:1.0.8-1 libxau6_1:1.0.8-1 libxaw7_2:1.0.12-2 libxaw7-dev_2:1.0.12-2 libxcb-render0_1.10-3 libxcb-render0-dev_1.10-3 libxcb-shm0_1.10-3 libxcb-shm0-dev_1.10-3 libxcb1_1.10-3 libxcb1-dev_1.10-3 libxcomposite-dev_1:0.4.4-1 libxcomposite1_1:0.4.4-1 libxcursor-dev_1:1.1.14-1+deb8u2 libxcursor1_1:1.1.14-1+deb8u2 libxdamage-dev_1:1.1.4-2 libxdamage1_1:1.1.4-2 libxdmcp-dev_1:1.1.1-1 libxdmcp6_1:1.1.1-1 libxext-dev_2:1.3.3-1 libxext6_2:1.3.3-1 libxfixes-dev_1:5.0.1-2+deb8u1 libxfixes3_1:5.0.1-2+deb8u1 libxft-dev_2.3.2-1 libxft2_2.3.2-1 libxi-dev_2:1.7.4-1+deb8u1 libxi6_2:1.7.4-1+deb8u1 libxinerama-dev_2:1.1.3-1 libxinerama1_2:1.1.3-1 libxml2_2.9.1+dfsg1-5+deb8u7 libxml2-dev_2.9.1+dfsg1-5+deb8u7 libxml2-utils_2.9.1+dfsg1-5+deb8u7 libxmu-dev_2:1.1.2-1 libxmu-headers_2:1.1.2-1 libxmu6_2:1.1.2-1 libxpm-dev_1:3.5.12-0+deb8u1 libxpm4_1:3.5.12-0+deb8u1 libxrandr-dev_2:1.4.2-1+deb8u1 libxrandr2_2:1.4.2-1+deb8u1 libxrender-dev_1:0.9.8-1 libxrender1_1:0.9.8-1 libxt-dev_1:1.1.4-1 libxt6_1:1.1.4-1 libyaml-0-2_0.1.6-3 linux-libc-dev_3.16.7-ckt11-1+deb8u4+rpi1 login_1:4.2-3+deb8u4 lsb-base_4.1+Debian13+rpi1+nmu1 lua5.2_5.2.3-1.1 m4_1.4.17-4 make_4.0-8.1 makedev_2.3.1-93 man-db_2.7.0.2-5 mawk_1.3.3-17 mime-support_3.58 mount_2.25.2-6 mountall_2.54 multiarch-support_2.19-18+deb8u10 ncurses-base_5.9+20140913-1+deb8u3 ncurses-bin_5.9+20140913-1+deb8u3 nettle-dev_2.7.1-5+deb8u2 openssl_1.0.1t-1+deb8u11 orbit2_1:2.14.19-0.3 passwd_1:4.2-3+deb8u4 patch_2.7.5-1+deb8u1 pdf2svg_0.2.2-1 perl_5.20.2-3+deb8u12 perl-base_5.20.2-3+deb8u12 perl-modules_5.20.2-3+deb8u12 pkg-config_0.28-1 plymouth_0.9.0-9 po-debconf_1.0.16+nmu3 poppler-data_0.4.7-1 procps_2:3.3.9-9+deb8u1 psmisc_22.21-2 python_2.7.9-1 python-dev_2.7.9-1 python-minimal_2.7.9-1 python2.7_2.7.9-2+deb8u3 python2.7-dev_2.7.9-2+deb8u3 python2.7-minimal_2.7.9-2+deb8u3 raspbian-archive-keyring_20120528.2 readline-common_6.3-8 ruby_1:2.1.5+deb8u2 ruby-dev_1:2.1.5+deb8u2 ruby2.1_2.1.5-2+deb8u7 ruby2.1-dev_2.1.5-2+deb8u7 rubygems-integration_1.8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-vim-dummy_0.invalid.0 sed_4.2.2-4+deb8u1 sensible-utils_0.0.9+deb8u1 shared-mime-info_1.3-1 startpar_0.59-3 systemd_215-17+deb8u13 systemd-sysv_215-17+deb8u13 sysv-rc_2.88dsf-59 sysvinit-utils_2.88dsf-59 tar_1.27.1-2+deb8u2 tcl_8.6.0+8+b1 tcl-dev_8.6.0+8+b1 tcl8.6_8.6.2+dfsg-2 tcl8.6-dev_8.6.2+dfsg-2 tzdata_2019a-0+deb8u1 ucf_3.0030 udev_215-17+deb8u13 util-linux_2.25.2-6 x11-common_1:7.7+7 x11proto-composite-dev_1:0.4.2-2 x11proto-core-dev_7.0.26-1 x11proto-damage-dev_1:1.2.1-2 x11proto-fixes-dev_1:5.0-2 x11proto-input-dev_2.3.1-1 x11proto-kb-dev_1.0.6-2 x11proto-randr-dev_1.4.0-2 x11proto-render-dev_2:0.11.1-2 x11proto-xext-dev_7.3.0-1 x11proto-xinerama-dev_1.2.1-2 xorg-sgml-doctools_1:1.11-1 xtrans-dev_1.3.4-1 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-2 zlib1g-dev_1:1.2.8.dfsg-2

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Sat Aug  3 09:29:50 2019 UTC using RSA key ID 8D89059F
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./vim_7.4.488-7+deb8u4.dsc
dpkg-source: info: extracting vim in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking vim_7.4.488.orig.tar.gz
dpkg-source: info: unpacking vim_7.4.488-7+deb8u4.debian.tar.xz
dpkg-source: info: applying upstream/extra-rst-detection.patch
dpkg-source: info: applying upstream/es.po-recover.patch
dpkg-source: info: applying upstream/pythoncomplete-autoload-init.patch
dpkg-source: info: applying upstream/debcontrol-syntax-vcs-git.patch
dpkg-source: info: applying upstream/debian-runtime-versions.patch
dpkg-source: info: applying upstream/v7-4-576.patch
dpkg-source: info: applying upstream/netrwSavePosn.patch
dpkg-source: info: applying debian/vim-tiny.patch
dpkg-source: info: applying debian/disabled-modelines.patch
dpkg-source: info: applying debian/extra-tex-detection.patch
dpkg-source: info: applying upstream/v8-0-0056.patch
dpkg-source: info: applying upstream/v8-0-0322.patch
dpkg-source: info: applying upstream/v8-0-0377.patch
dpkg-source: info: applying upstream/v8-0-0378.patch
dpkg-source: info: applying upstream/v8-0-0703.patch
dpkg-source: info: applying upstream/v8-0-0706.patch
dpkg-source: info: applying upstream/v8-0-0707.patch
dpkg-source: info: applying upstream/v8-0-1263.patch
dpkg-source: info: applying upstream/v8-1-1365.patch

Check disc space
----------------

df: Warning: cannot read table of mounted file systems: No such file or directory
Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=jessie-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=jessie-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=jessie-staging-armhf-sbuild-74c56aaf-a3fa-45b8-a94d-cf4d5700aecd
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=xterm
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: source package vim
dpkg-buildpackage: source version 2:7.4.488-7+deb8u4
dpkg-buildpackage: source distribution jessie-security
 dpkg-source --before-build vim-7.4.488
dpkg-buildpackage: host architecture armhf
 fakeroot debian/rules clean
dh_testdir
dh_testdir
dh_testdir
dh_testdir
dh_testroot
dh_testroot
dh_testroot
dh_testroot
for x in install postinst prerm links ; do \
  rm -f debian/vim-tiny.$x ; \
done
for x in install postinst prerm links ; do \
  rm -f debian/vim-gnome.$x ; \
done
for x in install postinst prerm links ; do \
  rm -f debian/vim-gtk.$x ; \
done
rm -f debian/lintian/vim-tiny
if [ "vim-tiny" = "vim-tiny" ]; then \
  rm -f debian/tiny/vimrc.tiny; \
fi
for x in install postinst prerm links ; do \
  rm -f debian/vim-athena.$x ; \
done
rm -f debian/lintian/vim-gnome
rm -rf src/vim-tiny
if [ "vim-gnome" = "vim-tiny" ]; then \
  rm -f debian/tiny/vimrc.tiny; \
fi
dh_testdir
rm -rf src/vim-gnome
rm -f debian/lintian/vim-gtk
rm -f debian/lintian/vim-athena
if [ "vim-gtk" = "vim-tiny" ]; then \
  rm -f debian/tiny/vimrc.tiny; \
fi
dh_testdir
rm -rf src/vim-gtk
if [ "vim-athena" = "vim-tiny" ]; then \
  rm -f debian/tiny/vimrc.tiny; \
fi
rm -rf src/vim-athena
dh_testroot
dh_testroot
for x in install postinst prerm links ; do \
  rm -f debian/vim.$x ; \
done
for x in install postinst prerm links ; do \
  rm -f debian/vim-nox.$x ; \
done
rm -f debian/lintian/vim
[ ! -L src/vim-basic/po ] || /usr/bin/make -C src/vim-basic/po clean
rm -f debian/lintian/vim-nox
rm -f debian/vim-common.install debian/vim-common.links debian/vim-gui-common.install debian/vim-gui-common.links debian/vim-runtime.install debian/vim-runtime.links debian/vim-runtime.postrm debian/vim-runtime.preinst debian/runtime/debian.vim
if [ "vim-nox" = "vim-tiny" ]; then \
  rm -f debian/tiny/vimrc.tiny; \
fi
rm -rf src/vim-basic
rm -rf src/vim-nox
dh_testdir
dh_testroot
rm -f extract-stamp* build-stamp* install-stamp* configure-stamp* autoconf-stamp
rm -f debian/helpztags.1
rm -rf debian/policy/vim-policy.html
rm -f debian/policy/vim-policy.txt
rm -f debian/tmplogo.*
[ ! -f src/auto/config.cache ] || make distclean
rm -f src/auto/config.mk src/pixmaps src/runtime
[ ! -f debian/configure.dist ] || mv debian/configure.dist src/auto/configure
rm -f src/auto/config.h
rm -f runtime/doc/doctags runtime/doc/tags.ref
rm -f runtime/doc/*.html runtime/doc/*.log
dh_clean
 debian/rules build-arch
cp src/config.mk.dist src/auto/config.mk
dh_testdir
[ -f debian/configure.dist ] || cp src/auto/configure debian/configure.dist
/usr/bin/make -C src autoconf
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
if test ! -f configure.save; then mv configure configure.save; fi
autoconf
sed -e 's+>config.log+>auto/config.log+' -e 's+\./config.log+auto/config.log+' configure > auto/configure
chmod 755 auto/configure
mv -f configure.save configure
rm -rf autom4te.cache
rm -f auto/config.status auto/config.cache
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
/usr/bin/make distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && /usr/bin/make distclean
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
rm -f auto/config.cache
if test "Xdistclean" != "Xclean" \
	-a "Xdistclean" != "Xdistclean" \
	-a "Xdistclean" != "Xautoconf" \
	-a "Xdistclean" != "Xreconfig"; then \
    GUI_INC_LOC="" GUI_LIB_LOC="" \
	CC="" CPPFLAGS="" CFLAGS="" \
	LDFLAGS=""  srcdir="." \
	./configure    \
	  \
	   \
	   \
	   \
	   \
	   \
	    \
	   \
	  \
	; \
fi
cd testdir; /usr/bin/make -f Makefile clean
rm -f auto/config.status auto/config.cache config.log auto/config.log
rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk
touch auto/config.h
cp config.mk.dist auto/config.mk
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/testdir'
rm -rf *.out *.failed *.rej *.orig test.log test.out X* viminfo tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok valgrind.*
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/testdir'
if test -d po; then \
	cd po; /usr/bin/make checkclean; \
fi
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/po'
rm -f *.ck
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/po'
rm -f *.o objects/* core vim.core vim vim xxd/*.o
rm -f xxd/xxd auto/osdef.h auto/pathdef.c auto/if_perl.c
rm -f conftest* *~ auto/link.sed
rm -f memfile_test
rm -f runtime pixmaps
rm -rf vim.app
rm -rf mzscheme_base.c
if test -d po; then \
	cd po; /usr/bin/make prefix= clean; \
fi
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/po'
rm -f *.ck
rm -f core core.* *.old.po *.mo *.pot sjiscorr
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/po'
rm -f tags
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch autoconf-stamp
dh_testdir
dh_testdir
dh_testdir
dh_testdir
*** DEBIAN *** CONFIGURING VARIANT vim-tiny
*** DEBIAN *** CONFIGURING VARIANT vim-gtk
/usr/bin/make -C src shadow SHADOWDIR=vim-gtk
*** DEBIAN *** CONFIGURING VARIANT vim-gnome
/usr/bin/make -C src shadow SHADOWDIR=vim-tiny
/usr/bin/make -C src shadow SHADOWDIR=vim-gnome
*** DEBIAN *** CONFIGURING VARIANT vim-athena
/usr/bin/make -C src shadow SHADOWDIR=vim-athena
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
ln -s ../runtime .
ln -s ../runtime .
ln -s ../runtime .
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
ln -s ../runtime .
ln: failed to create symbolic link './runtime': File exists
ln -s ../pixmaps .
Makefile:2414: recipe for target 'runtime' failed
make[1]: [runtime] Error 1 (ignored)
ln -s ../pixmaps .
ln: failed to create symbolic link './runtime': File exists
Makefile:2414: recipe for target 'runtime' failed
make[1]: [runtime] Error 1 (ignored)
ln: failed to create symbolic link './runtime': File exists
ln -s ../pixmaps .
mkdir vim-tiny
Makefile:2414: recipe for target 'runtime' failed
make[1]: [runtime] Error 1 (ignored)
ln -s ../pixmaps .
ln: failed to create symbolic link './pixmaps': File exists
Makefile:2418: recipe for target 'pixmaps' failed
make[1]: [pixmaps] Error 1 (ignored)
mkdir vim-gnome
ln: failed to create symbolic link './pixmaps': File exists
Makefile:2418: recipe for target 'pixmaps' failed
make[1]: [pixmaps] Error 1 (ignored)
mkdir vim-gtk
cd vim-tiny; ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../vimtutor ../gvimtutor ../mkinstalldirs .
ln: failed to create symbolic link './pixmaps': File exists
Makefile:2418: recipe for target 'pixmaps' failed
make[1]: [pixmaps] Error 1 (ignored)
mkdir vim-athena
cd vim-gnome; ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../vimtutor ../gvimtutor ../mkinstalldirs .
cd vim-gtk; ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../vimtutor ../gvimtutor ../mkinstalldirs .
cd vim-athena; ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../vimtutor ../gvimtutor ../mkinstalldirs .
mkdir vim-tiny/auto
cd vim-tiny/auto; ln -s ../../auto/configure .
mkdir vim-gtk/auto
mkdir vim-tiny/po
cd vim-tiny/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/Makefile .
cd vim-gtk/auto; ln -s ../../auto/configure .
mkdir vim-gnome/auto
mkdir vim-gtk/po
cd vim-gnome/auto; ln -s ../../auto/configure .
cd vim-gtk/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/Makefile .
cd vim-tiny; rm -f auto/link.sed
mkdir vim-athena/auto
mkdir vim-gnome/po
cp Makefile configure vim-tiny
cd vim-athena/auto; ln -s ../../auto/configure .
cd vim-gnome/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/Makefile .
cd vim-gtk; rm -f auto/link.sed
mkdir vim-athena/po
rm -f vim-tiny/auto/config.mk vim-tiny/config.mk.dist
cp config.mk.dist vim-tiny/auto/config.mk
cp Makefile configure vim-gtk
cd vim-athena/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/Makefile .
cd vim-gnome; rm -f auto/link.sed
cp config.mk.dist vim-tiny
rm -f vim-gtk/auto/config.mk vim-gtk/config.mk.dist
mkdir vim-tiny/xxd
cp Makefile configure vim-gnome
cp config.mk.dist vim-gtk/auto/config.mk
cd vim-tiny/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
cd vim-athena; rm -f auto/link.sed
rm -f vim-gnome/auto/config.mk vim-gnome/config.mk.dist
cp config.mk.dist vim-gtk
cp config.mk.dist vim-gnome/auto/config.mk
if test -d os_mac_rsrc; then \
	cd vim-tiny; \
	ln -s ../infplist.xml .; \
	ln -s ../os_mac_rsrc ../os_mac.rsr.hqx ../dehqx.py .; \
fi
cp Makefile configure vim-athena
mkdir vim-gtk/xxd
cp config.mk.dist vim-gnome
rm -f vim-athena/auto/config.mk vim-athena/config.mk.dist
cd vim-gtk/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
mkdir vim-gnome/xxd
mkdir vim-tiny/testdir
cp config.mk.dist vim-athena/auto/config.mk
cd vim-gnome/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
cd vim-tiny/testdir; ln -s ../../testdir/Makefile \
			 ../../testdir/vimrc.unix \
			 ../../testdir/*.in \
			 ../../testdir/*.vim \
			 ../../testdir/python* \
			 ../../testdir/sautest \
			 ../../testdir/test83-tags? \
			 ../../testdir/*.ok .
cp config.mk.dist vim-athena
if test -d os_mac_rsrc; then \
	cd vim-gtk; \
	ln -s ../infplist.xml .; \
	ln -s ../os_mac_rsrc ../os_mac.rsr.hqx ../dehqx.py .; \
fi
mkdir vim-athena/xxd
if test -d os_mac_rsrc; then \
	cd vim-gnome; \
	ln -s ../infplist.xml .; \
	ln -s ../os_mac_rsrc ../os_mac.rsr.hqx ../dehqx.py .; \
fi
cd vim-athena/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
mkdir vim-gtk/testdir
cd vim-gtk/testdir; ln -s ../../testdir/Makefile \
			 ../../testdir/vimrc.unix \
			 ../../testdir/*.in \
			 ../../testdir/*.vim \
			 ../../testdir/python* \
			 ../../testdir/sautest \
			 ../../testdir/test83-tags? \
			 ../../testdir/*.ok .
mkdir vim-gnome/testdir
if test -d os_mac_rsrc; then \
	cd vim-athena; \
	ln -s ../infplist.xml .; \
	ln -s ../os_mac_rsrc ../os_mac.rsr.hqx ../dehqx.py .; \
fi
cd vim-gnome/testdir; ln -s ../../testdir/Makefile \
			 ../../testdir/vimrc.unix \
			 ../../testdir/*.in \
			 ../../testdir/*.vim \
			 ../../testdir/python* \
			 ../../testdir/sautest \
			 ../../testdir/test83-tags? \
			 ../../testdir/*.ok .
mkdir vim-athena/testdir
cd vim-athena/testdir; ln -s ../../testdir/Makefile \
			 ../../testdir/vimrc.unix \
			 ../../testdir/*.in \
			 ../../testdir/*.vim \
			 ../../testdir/python* \
			 ../../testdir/sautest \
			 ../../testdir/test83-tags? \
			 ../../testdir/*.ok .
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-tiny && LDFLAGS="-fPIE -pie -Wl,-z,relro -Wl,-z,now" CPPFLAGS="" CFLAGS="-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC" ./configure --prefix=/usr --mandir='${prefix}'/share/man --without-local-dir --with-modified-by="pkg-vim-maintainers@lists.alioth.debian.org" --with-compiledby="buildd@" --enable-fail-if-missing --with-features=small --disable-gui --disable-xsmp --disable-xsmp-interact --disable-netbeans --disable-gpm --enable-nls --enable-multibyte --enable-acl --enable-selinux --disable-smack
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-gtk && LDFLAGS="-fPIE -pie -Wl,-z,relro -Wl,-z,now" CPPFLAGS="" CFLAGS="-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security" ./configure --prefix=/usr --mandir='${prefix}'/share/man --without-local-dir --with-modified-by="pkg-vim-maintainers@lists.alioth.debian.org" --with-compiledby="buildd@" --enable-fail-if-missing --enable-cscope --enable-gpm --enable-selinux --disable-smack --with-features=huge --enable-multibyte --enable-acl --with-x --enable-xim  --enable-luainterp --disable-mzschemeinterp --enable-perlinterp --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config-arm-linux-gnueabihf --disable-python3interp --enable-rubyinterp --enable-tclinterp
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-gnome && LDFLAGS="-fPIE -pie -Wl,-z,relro -Wl,-z,now" CPPFLAGS="" CFLAGS="-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security" ./configure --prefix=/usr --mandir='${prefix}'/share/man --without-local-dir --with-modified-by="pkg-vim-maintainers@lists.alioth.debian.org" --with-compiledby="buildd@" --enable-fail-if-missing --enable-cscope --enable-gpm --enable-selinux --disable-smack --with-features=huge --enable-multibyte --enable-acl --with-x --enable-xim --enable-gui=gnome2 --disable-gtk2-check --enable-gnome-check --disable-motif-check --disable-athena-check --disable-fontset --enable-luainterp --disable-mzschemeinterp --enable-perlinterp --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config-arm-linux-gnueabihf --disable-python3interp --enable-rubyinterp --enable-tclinterp
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-athena && LDFLAGS="-fPIE -pie -Wl,-z,relro -Wl,-z,now" CPPFLAGS="" CFLAGS="-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security" ./configure --prefix=/usr --mandir='${prefix}'/share/man --without-local-dir --with-modified-by="pkg-vim-maintainers@lists.alioth.debian.org" --with-compiledby="buildd@" --enable-fail-if-missing --enable-cscope --enable-gpm --enable-selinux --disable-smack --with-features=huge --enable-multibyte --enable-acl --with-x --enable-xim --enable-gui=athena --disable-gtk2-check --disable-gnome-check --disable-motif-check --enable-athena-check --enable-fontset --enable-luainterp --disable-mzschemeinterp --enable-perlinterp --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config-arm-linux-gnueabihf --disable-python3interp --enable-rubyinterp --enable-tclinterp
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... checking whether the C compiler works... yes
checking for gcc... gcc
configure: creating cache auto/config.cache
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... checking whether make sets $(MAKE)... checking whether the C compiler works... yes
checking for gcc... gcc
yes
checking for gcc... gcc
checking whether the C compiler works... checking whether the C compiler works... yes
yes
checking for C compiler default output file name... a.out
checking for C compiler default output file name... a.out
checking for suffix of executables... checking for suffix of executables... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 

checking whether we are cross compiling... checking whether we are cross compiling... 

checking whether we are cross compiling... checking whether we are cross compiling... no
no
checking for suffix of object files... checking for suffix of object files... no
checking for suffix of object files... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... o
checking whether we are using the GNU C compiler... o
checking whether we are using the GNU C compiler... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking whether gcc accepts -g... yes
checking whether gcc accepts -g... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... yes
checking for gcc option to accept ISO C89... yes
checking for gcc option to accept ISO C89... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... none needed
checking how to run the C preprocessor... none needed
checking how to run the C preprocessor... none needed
checking how to run the C preprocessor... gcc -E
gcc -E
gcc -E
gcc -E
checking for grep that handles long lines and -e... checking for grep that handles long lines and -e... /bin/grep
/bin/grep
checking for egrep... checking for egrep... /bin/grep -E
/bin/grep -E
checking for grep that handles long lines and -e... checking for fgrep... checking for fgrep... /bin/grep
checking for egrep... /bin/grep -F
/bin/grep -F
checking for library containing strerror... checking for library containing strerror... /bin/grep -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for library containing strerror... checking for fgrep... /bin/grep -F
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... mawk
checking for strip... strip
checking for ANSI C header files... none required
checking for gawk... no
checking for mawk... mawk
checking for strip... strip
checking for ANSI C header files... none required
checking for gawk... no
checking for mawk... mawk
checking for strip... strip
checking for ANSI C header files... none required
checking for gawk... no
checking for mawk... mawk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
yes
checking --enable-fail-if-missing argument... checking --enable-fail-if-missing argument... yes
yes
yes
checking --enable-fail-if-missing argument... yes
checking for recent clang version... checking for recent clang version... checking for recent clang version... no
configure: checking for buggy tools...
no
configure: checking for buggy tools...
no
configure: checking for buggy tools...
checking for BeOS... no
checking for QNX... checking for BeOS... yes
checking --enable-fail-if-missing argument... checking for BeOS... yes
no
no
checking for Darwin (Mac OS X)... checking for QNX... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking for Darwin (Mac OS X)... no
checking AvailabilityMacros.h usability... checking for recent clang version... no
checking AvailabilityMacros.h usability... no
checking AvailabilityMacros.h usability... no
configure: checking for buggy tools...
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking AvailabilityMacros.h usability... no
checking AvailabilityMacros.h presence... no
checking AvailabilityMacros.h presence... no
checking for AvailabilityMacros.h... no
no
checking for AvailabilityMacros.h... no
checking --with-local-dir argument... no
no
checking AvailabilityMacros.h presence... checking --with-vim-name argument... Defaulting to vim
checking --with-local-dir argument... no
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... checking --with-vim-name argument... Defaulting to view
Defaulting to vim
checking --with-ex-name argument... checking --with-global-runtime argument... Defaulting to ex
no
checking --with-modified-by argument... checking --with-view-name argument... pkg-vim-maintainers@lists.alioth.debian.org
Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... pkg-vim-maintainers@lists.alioth.debian.org
checking if character set is EBCDIC... checking if character set is EBCDIC... no
checking AvailabilityMacros.h presence... no
checking for AvailabilityMacros.h... no
checking --with-local-dir argument... no
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... pkg-vim-maintainers@lists.alioth.debian.org
checking if character set is EBCDIC... no
checking for AvailabilityMacros.h... no
checking --with-local-dir argument... no
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... pkg-vim-maintainers@lists.alioth.debian.org
checking if character set is EBCDIC... no
checking --disable-smack argument... yes
no
checking --disable-selinux argument... checking --disable-smack argument... no
checking for is_selinux_enabled in -lselinux... yes
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --disable-smack argument... yes
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --disable-smack argument... yes
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... yes
checking --with-features argument... huge
checking --with-compiledby argument... buildd@
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
yes
checking --with-features argument... huge
checking --with-compiledby argument... buildd@
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... no
checking LUA_PREFIX environment var... not set, default to /usr
checking --with-luajit... no
checking for lua... /usr/bin/lua
checking Lua version... checking --with-lua-prefix argument... no
checking LUA_PREFIX environment var... not set, default to /usr
checking --with-luajit... no
checking for lua... /usr/bin/lua
checking Lua version... 5.2
checking if lua.h can be found in /usr/include... no
checking if lua.h can be found in /usr/include/lua5.2... yes
checking if link with -L/usr/lib -llua5.2 is sane... 5.2
checking if lua.h can be found in /usr/include... no
checking if lua.h can be found in /usr/include/lua5.2... yes
checking if link with -L/usr/lib -llua5.2 is sane... yes
checking --with-features argument... small
checking --with-compiledby argument... buildd@
checking --disable-xsmp argument... yes
checking --enable-luainterp argument... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... no
yes
checking --with-features argument... huge
checking --with-compiledby argument... buildd@
checking --disable-xsmp argument... checking --enable-pythoninterp argument... no
no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --enable-python3interp argument... no
checking --with-lua-prefix argument... no
checking LUA_PREFIX environment var... not set, default to /usr
checking --with-luajit... checking --enable-tclinterp argument... no
no
checking --enable-rubyinterp argument... checking for lua... no
checking --enable-cscope argument... no
checking --enable-workshop argument... /usr/bin/lua
no
checking Lua version... checking --disable-netbeans argument... yes
checking --enable-sniff argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
5.2
checking if lua.h can be found in /usr/include... no
checking if lua.h can be found in /usr/include/lua5.2... yes
checking if link with -L/usr/lib -llua5.2 is sane... checking for xmkmf... no
checking for X... yes
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/bin/perl
checking Perl version... yes
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/bin/perl
checking Perl version... yes
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/bin/perl
checking Perl version... OK
OK
OK
libraries , headers 
checking for gethostbyname... yes
checking for connect... checking if compile and link flags for Perl are sane... checking if compile and link flags for Perl are sane... checking if compile and link flags for Perl are sane... yes
checking for remove... yes
yes
checking for shmat... yes
checking --enable-pythoninterp argument... yes
yes
checking for python2... /usr/bin/python2
checking Python version... checking --enable-pythoninterp argument... yes
checking for python2... /usr/bin/python2
checking Python version... checking --enable-pythoninterp argument... yes
checking for python2... /usr/bin/python2
checking Python version... 2.7
checking Python is 2.3 or better... 2.7
checking Python is 2.3 or better... 2.7
checking Python is 2.3 or better... yep
checking Python's install prefix... yep
checking Python's install prefix... yep
checking Python's install prefix... /usr
checking Python's execution prefix... /usr
checking Python's execution prefix... /usr
checking Python's execution prefix... /usr
yes
checking for IceConnectionNumber in -lICE... /usr
/usr
checking Python's configuration directory... (cached) /usr/lib/python2.7/config-arm-linux-gnueabihf
checking Python's configuration directory... (cached) /usr/lib/python2.7/config-arm-linux-gnueabihf
/<<PKGBUILDDIR>>/src/vim-gnome/config-PyMake5325:1497: warning: overriding recipe for target 'Modules/timemodule.o'
/<<PKGBUILDDIR>>/src/vim-gnome/config-PyMake5325:1456: warning: ignoring old recipe for target 'Modules/timemodule.o'
checking Python's configuration directory... (cached) /usr/lib/python2.7/config-arm-linux-gnueabihf
/<<PKGBUILDDIR>>/src/vim-athena/config-PyMake5332:1497: warning: overriding recipe for target 'Modules/timemodule.o'
/<<PKGBUILDDIR>>/src/vim-athena/config-PyMake5332:1456: warning: ignoring old recipe for target 'Modules/timemodule.o'
/<<PKGBUILDDIR>>/src/vim-gtk/config-PyMake5318:1497: warning: overriding recipe for target 'Modules/timemodule.o'
/<<PKGBUILDDIR>>/src/vim-gtk/config-PyMake5318:1456: warning: ignoring old recipe for target 'Modules/timemodule.o'
checking if -pthread should be used... checking if -pthread should be used... checking if -pthread should be used... yes
checking if X11 header files can be found... yes
checking if compile and link flags for Python are sane... yes
checking if compile and link flags for Python are sane... yes
checking if compile and link flags for Python are sane... yes
checking for _XdmcpAuthDoIt in -lXdmcp... yes
checking --enable-python3interp argument... no
checking if -fPIE can be added for Python... yes
checking --enable-python3interp argument... no
checking if -fPIE can be added for Python... yes
checking --enable-python3interp argument... no
checking if -fPIE can be added for Python... yes
checking for IceOpenConnection in -lICE... yes
checking --enable-tclinterp argument... yes
checking --with-tclsh argument... no
checking for tclsh8.5... no
checking for tclsh8.4... no
checking for tclsh8.2... yes
no
checking for tclsh8.0... no
checking for tclsh... checking --enable-tclinterp argument... yes
/usr/bin/tclsh
checking Tcl version... checking --with-tclsh argument... no
checking for tclsh8.5... no
checking for tclsh8.4... no
checking for tclsh8.2... no
checking for tclsh8.0... no
checking for tclsh... /usr/bin/tclsh
checking Tcl version... yes
checking --enable-tclinterp argument... yes
checking --with-tclsh argument... no
checking for tclsh8.5... no
checking for tclsh8.4... no
checking for tclsh8.2... no
checking for tclsh8.0... no
checking for tclsh... /usr/bin/tclsh
checking Tcl version... 8.6 - OK
8.6 - OK
checking for location of Tcl include... /usr/include/tcl8.6/tcl.h
checking for location of tclConfig.sh script... yes
checking for XpmCreatePixmapFromData in -lXpm... checking for location of Tcl include... /usr/include/tcl8.6/tcl.h
/usr/lib/tclConfig.sh
checking for location of tclConfig.sh script... 8.6 - OK
/usr/lib/tclConfig.sh
checking for location of Tcl include... /usr/include/tcl8.6/tcl.h
checking for location of tclConfig.sh script... /usr/lib/tclConfig.sh
checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/bin/ruby
checking Ruby version... checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/bin/ruby
checking Ruby version... yes
checking if X11 header files implicitly declare return values... checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/bin/ruby
checking Ruby version... no
checking size of wchar_t is 2 bytes... OK
checking Ruby rbconfig... OK
checking Ruby rbconfig... OK
checking Ruby rbconfig... RbConfig
checking Ruby header files... no
RbConfig
checking --enable-gui argument... checking Ruby header files... no GUI support
RbConfig
checking Ruby header files... checking for CYGWIN environment... no
checking whether toupper is broken... no
checking whether __DATE__ and __TIME__ work... /usr/include/ruby-2.1.0
/usr/include/ruby-2.1.0
/usr/include/ruby-2.1.0
yes
checking whether __attribute__((unused)) is allowed... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking for main in -lelf... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdint.h usability... yes
checking stdint.h presence... yes
checking for stdint.h... yes
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking string.h usability... checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking for socket in -lsocket... checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking for socket in -lsocket... checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking for socket in -lsocket... yes
checking string.h presence... no
checking for gethostbyname in -lnsl... yes
checking for string.h... yes
no
checking for gethostbyname in -lnsl... checking sys/select.h usability... no
checking for gethostbyname in -lnsl... yes
checking sys/select.h presence... yes
yes
checking for sys/select.h... yes
checking whether compiling netbeans integration is possible... yes
checking whether compiling netbeans integration is possible... checking sys/utsname.h usability... yes
checking whether compiling netbeans integration is possible... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking termcap.h usability... yes
yes
yes
checking --enable-sniff argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... checking --enable-sniff argument... no
no
checking --enable-xim argument... checking --enable-multibyte argument... yes
checking --enable-fontset argument... yes
no
checking --enable-sniff argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... yes
checking --enable-hangulinput argument... checking --enable-fontset argument... no
no
checking --enable-xim argument... yes
checking --enable-fontset argument... yes
checking for xmkmf... no
checking for X... checking for xmkmf... no
checking for X... checking for xmkmf... no
checking for X... no
checking termcap.h presence... libraries , headers 
no
checking for termcap.h... no
libraries , headers 
libraries , headers 
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for gethostbyname... checking for gethostbyname... checking sgtty.h usability... checking for gethostbyname... yes
checking sgtty.h presence... yes
yes
checking for connect... checking for connect... yes
checking for connect... yes
checking for sgtty.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for remove... yes
checking for remove... yes
checking for remove... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
yes
checking for shmat... checking for shmat... yes
checking for shmat... yes
checking for sys/time.h... yes
checking sys/types.h usability... yes
checking sys/types.h presence... yes
checking for IceConnectionNumber in -lICE... yes
checking for IceConnectionNumber in -lICE... yes
checking for IceConnectionNumber in -lICE... yes
checking for sys/types.h... yes
checking termio.h usability... yes
yes
yes
checking termio.h presence... yes
checking if X11 header files can be found... checking if X11 header files can be found... checking if X11 header files can be found... yes
checking for termio.h... yes
checking iconv.h usability... yes
checking for _XdmcpAuthDoIt in -lXdmcp... yes
yes
checking iconv.h presence... checking for _XdmcpAuthDoIt in -lXdmcp... yes
checking for _XdmcpAuthDoIt in -lXdmcp... yes
checking for iconv.h... yes
checking inttypes.h usability... yes
checking inttypes.h presence... yes
checking for IceOpenConnection in -lICE... yes
checking for IceOpenConnection in -lICE... yes
checking for inttypes.h... yes
yes
checking for IceOpenConnection in -lICE... checking langinfo.h usability... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking langinfo.h presence... yes
yes
checking for langinfo.h... checking for XpmCreatePixmapFromData in -lXpm... yes
yes
checking for XpmCreatePixmapFromData in -lXpm... checking math.h usability... yes
checking if X11 header files implicitly declare return values... yes
checking math.h presence... yes
checking if X11 header files implicitly declare return values... yes
checking if X11 header files implicitly declare return values... yes
checking for math.h... yes
no
checking unistd.h usability... checking size of wchar_t is 2 bytes... no
checking size of wchar_t is 2 bytes... no
checking size of wchar_t is 2 bytes... yes
checking unistd.h presence... yes
checking for unistd.h... yes
checking stropts.h usability... no
checking --enable-gui argument... GNOME 2.x GUI support
checking --disable-gtktest argument... gtk test enabled
checking for pkg-config... /usr/bin/pkg-config
checking for GTK - version >= 2.2.0... no
checking --enable-gui argument... yes/auto - automatic GUI support
checking whether or not to look for GTK+ 2... yes
checking whether or not to look for GNOME... no
checking whether or not to look for Motif... yes
checking whether or not to look for Athena... yes
checking whether or not to look for neXtaw... yes
checking whether or not to look for Carbon... yes
checking --disable-gtktest argument... gtk test enabled
checking for pkg-config... /usr/bin/pkg-config
checking for GTK - version >= 2.2.0... yes
checking stropts.h presence... no
checking --enable-gui argument... Athena GUI support
checking if Athena header files can be found... yes
checking for stropts.h... yes
checking errno.h usability... yes
checking for XShapeQueryExtension in -lXext... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/resource.h usability... yes
checking for wslen in -lw... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... no
checking for dlsym in -ldl... yes
checking for XmuCreateStippledPixmap in -lXmu... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking locale.h usability... yes
checking for extra X11 defines... no
checking X11/SM/SMlib.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
yes
checking X11/SM/SMlib.h presence... checking sys/stream.h usability... yes
checking for X11/SM/SMlib.h... yes
checking X11/xpm.h usability... yes; found version 2.24.25
checking for libgnomeui-2.0... yes
yes
checking X11/xpm.h presence... yes; found version 2.24.25
checking X11/SM/SMlib.h usability... checking for FreeBSD... no
checking X11/SM/SMlib.h usability... yes
checking for X11/xpm.h... yes
checking X11/Sunkeysym.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking X11/xpm.h usability... yes
checking for X11/SM/SMlib.h... yes
checking X11/xpm.h usability... yes
checking X11/Sunkeysym.h presence... yes
checking for X11/Sunkeysym.h... yes
checking for XIMText in X11/Xlib.h... no
checking sys/stream.h presence... yes
checking for X11/Xmu/Editres.h... no
checking for sys/stream.h... no
checking termios.h usability... yes
checking X11/xpm.h presence... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
yes
checking for X11/xpm.h... yes
checking X11/Sunkeysym.h usability... checking X11/Sunkeysym.h usability... yes
checking termios.h presence... yes
checking for CYGWIN environment... no
checking whether toupper is broken... yes
checking for termios.h... yes
checking libc.h usability... yes
checking X11/Sunkeysym.h presence... yes
checking X11/Sunkeysym.h presence... yes
checking for X11/Sunkeysym.h... yes
yes
checking for X11/Sunkeysym.h... yes
checking for XIMText in X11/Xlib.h... checking for XIMText in X11/Xlib.h... yes
yes
checking for CYGWIN environment... checking for CYGWIN environment... no
checking whether toupper is broken... no
checking whether toupper is broken... no
checking whether __DATE__ and __TIME__ work... yes
checking whether __attribute__((unused)) is allowed... no
checking whether __DATE__ and __TIME__ work... no
checking whether __DATE__ and __TIME__ work... yes
checking elf.h usability... no
checking libc.h presence... yes
checking whether __attribute__((unused)) is allowed... yes
checking whether __attribute__((unused)) is allowed... no
checking for libc.h... no
checking sys/statfs.h usability... yes
yes
checking elf.h presence... checking elf.h usability... yes
checking elf.h usability... yes
checking for elf.h... yes
checking for main in -lelf... yes
checking sys/statfs.h presence... yes
checking elf.h presence... yes
checking for sys/statfs.h... yes
no
yes
checking elf.h presence... checking for dirent.h that defines DIR... checking poll.h usability... yes
checking for elf.h... yes
checking for main in -lelf... yes
checking for elf.h... yes
checking for main in -lelf... yes
checking for library containing opendir... no
yes
checking poll.h presence... no
checking for dirent.h that defines DIR... checking for dirent.h that defines DIR... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
yes
checking for library containing opendir... checking for library containing opendir... none required
checking stdarg.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
yes
checking stdarg.h presence... checking pwd.h usability... yes
checking for stdarg.h... yes
none required
checking stdint.h usability... checking stdarg.h usability... none required
checking stdarg.h usability... yes
checking stdint.h presence... yes
checking stdarg.h presence... yes
checking pwd.h presence... yes
checking stdarg.h presence... yes
checking for stdint.h... yes
yes
checking for stdarg.h... yes
yes
checking for stdarg.h... yes
yes
checking for pwd.h... yes
checking stdlib.h usability... checking stdint.h usability... checking stdint.h usability... checking utime.h usability... yes
checking stdint.h presence... yes
checking stdlib.h presence... yes
checking stdint.h presence... yes
checking for stdint.h... yes
yes
checking for stdint.h... yes
yes
checking utime.h presence... checking stdlib.h usability... yes
checking for stdlib.h... yes
checking stdlib.h usability... yes
checking for utime.h... yes
checking string.h usability... checking sys/param.h usability... yes
checking stdlib.h presence... yes
checking stdlib.h presence... yes
checking string.h presence... yes
checking for stdlib.h... yes
yes
checking for stdlib.h... yes
checking string.h usability... yes
checking for string.h... yes
checking string.h usability... checking sys/select.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking libintl.h usability... yes
checking string.h presence... yes
checking string.h presence... yes
checking sys/select.h presence... yes
checking for string.h... yes
yes
checking for string.h... yes
yes
checking for sys/select.h... yes
checking sys/select.h usability... checking sys/select.h usability... checking sys/utsname.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking libgen.h usability... yes
checking sys/select.h presence... yes
checking sys/utsname.h presence... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
yes
checking for sys/utsname.h... yes
yes
checking for sys/select.h... yes
checking sys/utsname.h usability... checking termcap.h usability... checking sys/utsname.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking util/debug.h usability... yes
checking sys/utsname.h presence... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
yes
checking for sys/utsname.h... yes
checking termcap.h usability... checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking fcntl.h usability... no
checking util/debug.h presence... no
checking termcap.h presence... yes
checking fcntl.h presence... no
checking for util/debug.h... no
checking util/msg18n.h usability... yes
checking for fcntl.h... yes
no
checking termcap.h presence... no
checking for termcap.h... no
checking fcntl.h usability... checking sgtty.h usability... no
checking for termcap.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking sgtty.h presence... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
yes
checking for sgtty.h... yes
checking sgtty.h usability... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking sys/ioctl.h presence... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
yes
checking for sys/ioctl.h... yes
no
checking util/msg18n.h presence... checking sys/ioctl.h usability... yes
checking for sgtty.h... yes
checking sys/time.h usability... checking sys/ioctl.h usability... no
checking for util/msg18n.h... no
checking frame.h usability... yes
checking sys/ioctl.h presence... yes
checking sys/time.h presence... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
yes
checking for sys/time.h... yes
yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... checking sys/types.h usability... checking sys/time.h usability... yes
checking sys/types.h presence... yes
checking sys/time.h presence... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
yes
checking for sys/types.h... yes
checking termio.h usability... checking sys/types.h usability... yes
checking for sys/time.h... yes
checking sys/types.h usability... no
checking frame.h presence... no
checking for frame.h... no
yes
checking sys/types.h presence... yes
checking termio.h presence... checking sys/acl.h usability... yes
checking sys/types.h presence... yes
yes
checking for termio.h... checking for sys/types.h... yes
yes
yes
checking for sys/types.h... yes
checking termio.h usability... checking iconv.h usability... checking termio.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking sys/access.h usability... yes
checking iconv.h presence... yes
checking termio.h presence... yes
checking termio.h presence... yes
checking for iconv.h... yes
yes
checking for termio.h... yes
checking inttypes.h usability... yes
checking for termio.h... yes
checking iconv.h usability... checking iconv.h usability... yes
checking inttypes.h presence... yes
checking for inttypes.h... yes
yes
checking iconv.h presence... yes
checking iconv.h presence... checking langinfo.h usability... yes
checking for iconv.h... yes
yes
checking for iconv.h... yes
checking inttypes.h usability... checking inttypes.h usability... no
checking sys/access.h presence... yes
checking langinfo.h presence... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... yes
checking for langinfo.h... yes
yes
checking inttypes.h presence... checking math.h usability... yes
checking for inttypes.h... yes
yes
checking inttypes.h presence... checking langinfo.h usability... yes
checking for inttypes.h... yes
checking langinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
yes
checking math.h presence... yes
checking langinfo.h presence... checking wchar.h usability... yes
checking for langinfo.h... yes
yes
checking langinfo.h presence... yes
checking for math.h... yes
checking math.h usability... checking unistd.h usability... yes
checking for langinfo.h... yes
checking math.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
yes
checking unistd.h presence... checking wctype.h usability... yes
checking for unistd.h... yes
yes
checking math.h presence... checking stropts.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking unistd.h usability... yes
checking wctype.h presence... yes
checking for math.h... yes
checking unistd.h usability... yes
checking for wctype.h... yes
checking for sys/ptem.h... yes
checking stropts.h presence... yes
checking for stropts.h... yes
yes
checking unistd.h presence... checking errno.h usability... yes
checking unistd.h presence... yes
checking for unistd.h... yes
yes
checking for unistd.h... yes
checking stropts.h usability... checking stropts.h usability... no
checking for sys/sysctl.h... yes
checking errno.h presence... yes
checking for errno.h... yes
yes
checking stropts.h presence... checking sys/resource.h usability... yes
checking stropts.h presence... yes
checking for pthread_np.h... yes
checking for stropts.h... yes
yes
checking for stropts.h... yes
checking errno.h usability... checking errno.h usability... yes
checking sys/resource.h presence... yes
checking errno.h presence... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
yes
checking for errno.h... yes
no
checking strings.h usability... checking sys/resource.h usability... checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking sys/resource.h presence... yes
checking strings.h presence... yes
checking for sys/resource.h... yes
yes
checking for strings.h... yes
checking sys/systeminfo.h usability... checking if strings.h can be included after string.h... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... yes
checking whether gcc needs -traditional... no
checking sys/systeminfo.h presence... no
checking for an ANSI C-conforming const... no
checking for sys/systeminfo.h... no
checking locale.h usability... yes
checking for working volatile... no
checking sys/systeminfo.h presence... yes
checking locale.h presence... no
checking for sys/systeminfo.h... no
checking locale.h usability... no
checking sys/systeminfo.h presence... yes
checking for locale.h... yes
yes
checking for mode_t... checking sys/stream.h usability... no
checking for sys/systeminfo.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/stream.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/stream.h usability... yes
checking for off_t... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking termios.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
yes
checking termios.h presence... checking termios.h usability... yes
checking for pid_t... yes
checking for termios.h... yes
checking libc.h usability... no
checking sys/stream.h presence... yes
checking termios.h presence... yes
checking for termios.h... yes
no
checking for sys/stream.h... no
checking libc.h usability... checking termios.h usability... yes
checking for size_t... yes
checking termios.h presence... yes
checking for termios.h... yes
checking libc.h usability... no
checking libc.h presence... yes
checking for uid_t in sys/types.h... no
checking for libc.h... no
checking sys/statfs.h usability... yes
checking for uint32_t... no
checking libc.h presence... no
checking for libc.h... no
yes
checking sys/statfs.h presence... checking sys/statfs.h usability... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/statfs.h... yes
checking poll.h usability... yes
checking for ino_t... no
checking libc.h presence... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
no
checking for libc.h... no
yes
checking poll.h presence... checking sys/statfs.h usability... checking poll.h usability... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/statfs.h presence... yes
checking poll.h presence... yes
checking for sys/statfs.h... yes
yes
checking for poll.h... yes
yes
checking for dev_t... checking poll.h usability... checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking pwd.h usability... yes
checking poll.h presence... yes
checking sys/poll.h presence... yes
checking for poll.h... yes
yes
checking for sys/poll.h... yes
checking sys/poll.h usability... checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
yes
checking whether byte ordering is bigendian... checking utime.h usability... yes
checking sys/poll.h presence... yes
checking pwd.h presence... yes
checking for sys/poll.h... yes
yes
checking for pwd.h... yes
checking pwd.h usability... checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/param.h usability... yes
checking pwd.h presence... yes
checking utime.h presence... no
checking for rlim_t... yes
checking for pwd.h... yes
yes
checking for utime.h... yes
checking utime.h usability... checking sys/param.h usability... yes
checking for stack_t... yes
checking sys/param.h presence... yes
checking whether stack_t has an ss_base field... yes
checking for sys/param.h... yes
yes
checking utime.h presence... checking libintl.h usability... yes
checking for utime.h... yes
yes
checking sys/param.h presence... checking sys/param.h usability... no
checking --with-tlib argument... empty: automatic terminal library selection
yes
checking for sys/param.h... yes
checking for tgetent in -ltinfo... checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
yes
checking sys/param.h presence... checking libgen.h usability... yes
checking libintl.h presence... yes
yes
checking for sys/param.h... yes
yes
checking for libintl.h... yes
checking libintl.h usability... checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
yes
checking libgen.h presence... yes
checking libintl.h presence... checking util/debug.h usability... yes
checking for libgen.h... yes
yes
checking for libintl.h... yes
checking whether we talk terminfo... checking libgen.h usability... checking util/debug.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking util/debug.h usability... yes
checking what tgetent() returns for an unknown terminal... no
checking util/debug.h presence... no
checking for util/debug.h... no
no
checking util/debug.h presence... checking util/msg18n.h usability... no
checking for util/debug.h... no
checking util/msg18n.h usability... zero
checking whether termcap.h contains ospeed... no
checking whether ospeed can be extern... no
checking util/debug.h presence... no
checking for util/debug.h... no
checking util/msg18n.h usability... yes
checking whether termcap.h contains UP, BC and PC... no
checking whether UP, BC and PC can be extern... no
checking util/msg18n.h presence... no
checking for util/msg18n.h... no
checking frame.h usability... no
checking util/msg18n.h presence... no
checking for util/msg18n.h... no
checking frame.h usability... yes
checking whether tputs() uses outfuntype... no
checking whether sys/select.h and sys/time.h may both be included... no
checking util/msg18n.h presence... yes
checking for /dev/ptc... no
checking for SVR4 ptys... no
checking for util/msg18n.h... no
checking frame.h usability... no
checking frame.h presence... no
checking for frame.h... no
checking sys/acl.h usability... yes
checking for ptyranges... don't know
checking default tty permissions/group... no
checking frame.h presence... no
checking for frame.h... no
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking sys/access.h usability... yes
checking sys/acl.h presence... no
checking frame.h presence... yes
checking for sys/acl.h... yes
no
checking for frame.h... no
checking sys/access.h usability... checking sys/acl.h usability... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... yes
checking sys/acl.h presence... void
checking for struct sigcontext... yes
checking for sys/acl.h... yes
checking sys/access.h usability... yes
checking getcwd implementation is broken... no
checking sys/access.h presence... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... no
checking sys/access.h presence... no
no
checking for bcmp... checking for sys/access.h... no
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking wchar.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
yes
checking wchar.h usability... checking for fchdir... no
checking sys/access.h presence... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
yes
checking wchar.h presence... checking wctype.h usability... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking sys/sysinfo.h presence... yes
checking for fchown... yes
checking for sys/sysinfo.h... yes
checking wchar.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for sys/ptem.h... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for sys/ptem.h... yes
checking wchar.h presence... yes
checking for fsync... yes
checking for wchar.h... yes
checking wctype.h usability... no
checking for sys/sysctl.h... no
checking for sys/sysctl.h... yes
yes
checking for pthread_np.h... checking for getcwd... yes
checking wctype.h presence... yes
checking for pthread_np.h... yes
checking for wctype.h... yes
checking for sys/ptem.h... yes
checking for getpseudotty... no
checking for sys/sysctl.h... no
checking strings.h usability... no
checking strings.h usability... yes
checking for pthread_np.h... yes
checking strings.h presence... no
checking for getpwent... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... yes
checking strings.h presence... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... yes
checking whether gcc needs -traditional... yes
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for getpwnam... no
checking strings.h usability... no
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for working volatile... yes
checking for mode_t... yes
checking strings.h presence... yes
yes
checking for mode_t... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... checking for getpwuid... yes
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for getrlimit... yes
checking for off_t... yes
checking for working volatile... yes
checking for off_t... yes
checking for mode_t... yes
checking for gettimeofday... yes
checking for pid_t... yes
checking for pid_t... yes
checking for getwd... yes
checking for off_t... yes
checking for lstat... yes
checking for size_t... yes
checking for size_t... yes
checking for pid_t... yes
checking for memcmp... yes
checking for uid_t in sys/types.h... yes
checking for uid_t in sys/types.h... yes
yes
checking for uint32_t... checking for uint32_t... yes
checking for size_t... yes
checking for memset... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ino_t... yes
checking for ino_t... yes
yes
checking for uid_t in sys/types.h... checking for mkdtemp... yes
checking for uint32_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for nanosleep... yes
checking for dev_t... yes
checking for dev_t... yes
checking for ino_t... yes
checking for opendir... yes
checking whether byte ordering is bigendian... yes
checking whether byte ordering is bigendian... yes
checking for dev_t... yes
checking for putenv... yes
no
checking for rlim_t... no
checking for rlim_t... checking for qsort... yes
checking for stack_t... yes
checking for stack_t... yes
checking whether stack_t has an ss_base field... yes
checking whether stack_t has an ss_base field... yes
checking whether byte ordering is bigendian... yes
no
checking --with-tlib argument... empty: automatic terminal library selection
checking for readlink... no
checking for tgetent in -ltinfo... checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -ltinfo... yes
yes
yes
checking for select... no
checking for rlim_t... yes
checking for stack_t... yes
checking whether stack_t has an ss_base field... yes
no
checking for setenv... checking --with-tlib argument... empty: automatic terminal library selection
checking whether we talk terminfo... checking for tgetent in -ltinfo... checking whether we talk terminfo... yes
yes
checking for setpgid... yes
checking what tgetent() returns for an unknown terminal... yes
checking what tgetent() returns for an unknown terminal... yes
checking whether we talk terminfo... checking for setsid... zero
checking whether termcap.h contains ospeed... zero
checking whether termcap.h contains ospeed... no
checking whether ospeed can be extern... no
checking whether ospeed can be extern... yes
checking for sigaltstack... yes
checking what tgetent() returns for an unknown terminal... yes
checking whether termcap.h contains UP, BC and PC... no
checking whether UP, BC and PC can be extern... yes
checking whether termcap.h contains UP, BC and PC... yes
checking for sigstack... no
checking whether UP, BC and PC can be extern... zero
checking whether termcap.h contains ospeed... no
checking whether ospeed can be extern... yes
checking whether tputs() uses outfuntype... yes
yes
no
checking whether tputs() uses outfuntype... checking whether sys/select.h and sys/time.h may both be included... checking for sigset... no
checking whether sys/select.h and sys/time.h may both be included... yes
yes
checking whether termcap.h contains UP, BC and PC... checking for /dev/ptc... no
checking for SVR4 ptys... yes
no
checking whether UP, BC and PC can be extern... checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for sigsetjmp... yes
checking for ptyranges... don't know
checking default tty permissions/group... yes
yes
checking for ptyranges... checking whether tputs() uses outfuntype... don't know
checking default tty permissions/group... no
checking whether sys/select.h and sys/time.h may both be included... no
checking for sigaction... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
can't determine - assume ptys are world accessible
world
checking return type of signal handlers... checking for sigvec... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... yes
checking for ptyranges... don't know
checking default tty permissions/group... void
checking for struct sigcontext... void
checking for struct sigcontext... yes
checking getcwd implementation is broken... yes
checking for strcasecmp... yes
checking getcwd implementation is broken... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... no
checking for bcmp... yes
no
checking for bcmp... checking for strerror... void
checking for struct sigcontext... yes
checking getcwd implementation is broken... yes
checking for fchdir... yes
yes
checking for fchdir... checking for strftime... no
checking for bcmp... yes
checking for fchown... yes
yes
checking for fchown... checking for stricmp... yes
checking for fchdir... yes
checking for fsync... no
checking for strncasecmp... yes
checking for fsync... yes
checking for fchown... yes
yes
checking for getcwd... yes
checking for strnicmp... checking for getcwd... yes
yes
checking for fsync... checking for getpseudotty... yes
no
checking for strpbrk... checking for getpseudotty... yes
checking for getcwd... yes
no
checking for getpwent... no
checking for strtol... checking for getpwent... yes
checking for getpseudotty... yes
yes
checking for getpwnam... checking for tgetent... yes
checking for getpwnam... no
yes
checking for getpwent... yes
checking for towlower... checking for getpwuid... yes
checking for getpwuid... yes
yes
checking for getpwnam... yes
checking for towupper... checking for getrlimit... yes
checking for getrlimit... yes
yes
checking for getpwuid... yes
checking for iswupper... checking for gettimeofday... yes
checking for gettimeofday... yes
yes
yes
checking for getrlimit... checking for getwd... checking for usleep... yes
checking for getwd... yes
yes
yes
checking for utime... checking for gettimeofday... checking for lstat... yes
checking for lstat... yes
yes
yes
checking for utimes... checking for getwd... checking for memcmp... yes
checking for memcmp... yes
checking for _LARGEFILE_SOURCE value needed for large files... yes
yes
checking for lstat... checking for memset... yes
checking for memset... no
yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... yes
checking for memcmp... yes
checking for mkdtemp... checking for mkdtemp... 64
checking for st_blksize... yes
yes
checking for nanosleep... yes
checking for memset... checking for nanosleep... yes
checking whether stat() ignores a trailing slash... yes
yes
checking for opendir... yes
checking for mkdtemp... checking for opendir... no
checking for iconv_open()... yes
yes
yes
checking for nanosleep... checking for putenv... checking for putenv... yes
checking for nl_langinfo(CODESET)... yes
yes
yes
checking for qsort... checking for opendir... checking for qsort... yes
checking for strtod in -lm... yes
yes
checking for putenv... yes
checking for readlink... checking for readlink... yes
checking for strtod() and other floating point functions... yes
yes
yes
checking for qsort... checking for select... checking for select... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... yes
yes
checking for readlink... checking for setenv... yes
checking for setenv... no
checking for acl_get_file in -lacl... yes
yes
checking for select... checking for setpgid... yes
yes
checking for fgetxattr in -lattr... checking for setpgid... yes
checking for setenv... yes
checking for setsid... yes
yes
checking for POSIX ACL support... checking for setsid... yes
yes
checking for setpgid... yes
yes
checking for acl_get in -lsec... checking for sigaltstack... checking for sigaltstack... no
checking for Solaris ACL support... yes
yes
checking for setsid... checking for sigstack... yes
no
checking for AIX ACL support... checking for sigstack... no
checking --disable-gpm argument... yes
checking --disable-sysmouse argument... no
checking for sysmouse... yes
checking for sigaltstack... yes
checking for sigset... yes
checking for sigset... no
checking for FD_CLOEXEC... yes
yes
checking for rename... checking for sigstack... yes
checking for sigsetjmp... yes
checking for sigsetjmp... yes
yes
checking for sysctl... checking for sigset... no
checking for sigaction... no
not usable
checking for sysinfo... checking for sigaction... yes
checking for sysinfo.mem_unit... yes
yes
checking for sigvec... checking for sigsetjmp... yes
checking for sysconf... yes
checking for sigvec... yes
checking size of int... yes
no
checking for sigaction... checking for strcasecmp... yes
checking for strcasecmp... yes
yes
checking for sigvec... checking for strerror... 4
checking size of long... yes
checking for strerror... yes
yes
checking for strcasecmp... checking for strftime... yes
checking for strftime... 4
checking size of time_t... yes
checking for strerror... yes
checking for stricmp... yes
checking for stricmp... yes
4
checking size of off_t... checking for strftime... no
checking for strncasecmp... no
checking for strncasecmp... yes
yes
checking for stricmp... 8
checking for strnicmp... checking uint32_t is 32 bits... yes
checking for strnicmp... no
no
checking for strncasecmp... checking for strpbrk... ok
checking whether memmove handles overlaps... no
checking for strpbrk... yes
yes
checking for strtol... checking for strnicmp... yes
checking for strtol... yes
checking whether X_LOCALE needed... yes
no
checking for tgetent... checking for strpbrk... yes
checking for tgetent... no
checking whether Xutf8SetWMProperties() can be used... yes
checking for towlower... yes
yes
checking for strtol... checking for towlower... yes
checking for _xpg4_setrunelocale in -lxpg4... yes
yes
checking for towupper... yes
checking for tgetent... checking for towupper... no
checking how to create tags... ctags
checking how to run man with a section nr... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... yes
yes
checking for towlower... yes
checking for iswupper... checking for iswupper... gettext() works
checking dlfcn.h usability... yes
yes
yes
checking for towupper... checking for usleep... checking for usleep... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... yes
yes
checking for utime... yes
checking for iswupper... no
checking for dlopen() in -ldl... checking for utime... yes
yes
checking for dlsym()... yes
checking for utimes... yes
checking for usleep... checking for utimes... yes
checking setjmp.h usability... yes
yes
checking for _LARGEFILE_SOURCE value needed for large files... yes
checking for utime... checking for _LARGEFILE_SOURCE value needed for large files... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
yes
no
no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... checking for utimes... configure: updating cache auto/config.cache
configure: creating auto/config.status
64
checking for st_blksize... 64
yes
checking for st_blksize... checking for _LARGEFILE_SOURCE value needed for large files... yes
checking whether stat() ignores a trailing slash... yes
checking whether stat() ignores a trailing slash... config.status: creating auto/config.mk
config.status: creating auto/config.h
no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for iconv_open()... no
checking for iconv_open()... touch configure-stamp-vim-tiny
dh_testdir
64
checking for st_blksize... *** DEBIAN *** CONFIGURING VARIANT vim-nox
/usr/bin/make -C src shadow SHADOWDIR=vim-nox
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
mkdir vim-nox
cd vim-nox; ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../vimtutor ../gvimtutor ../mkinstalldirs .
mkdir vim-nox/auto
cd vim-nox/auto; ln -s ../../auto/configure .
mkdir vim-nox/po
yes
checking whether stat() ignores a trailing slash... cd vim-nox/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/Makefile .
cd vim-nox; rm -f auto/link.sed
cp Makefile configure vim-nox
rm -f vim-nox/auto/config.mk vim-nox/config.mk.dist
cp config.mk.dist vim-nox/auto/config.mk
cp config.mk.dist vim-nox
mkdir vim-nox/xxd
cd vim-nox/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
if test -d os_mac_rsrc; then \
	cd vim-nox; \
	ln -s ../infplist.xml .; \
	ln -s ../os_mac_rsrc ../os_mac.rsr.hqx ../dehqx.py .; \
fi
mkdir vim-nox/testdir
cd vim-nox/testdir; ln -s ../../testdir/Makefile \
			 ../../testdir/vimrc.unix \
			 ../../testdir/*.in \
			 ../../testdir/*.vim \
			 ../../testdir/python* \
			 ../../testdir/sautest \
			 ../../testdir/test83-tags? \
			 ../../testdir/*.ok .
yes
checking for nl_langinfo(CODESET)... yes
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-nox && LDFLAGS="-fPIE -pie -Wl,-z,relro -Wl,-z,now" CPPFLAGS="" CFLAGS="-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security" ./configure --prefix=/usr --mandir='${prefix}'/share/man --without-local-dir --with-modified-by="pkg-vim-maintainers@lists.alioth.debian.org" --with-compiledby="buildd@" --enable-fail-if-missing --enable-cscope --enable-gpm --enable-selinux --disable-smack --with-features=huge --enable-multibyte --enable-acl --without-x --enable-gui=no --enable-luainterp --disable-mzschemeinterp --enable-perlinterp --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config-arm-linux-gnueabihf --disable-python3interp --enable-rubyinterp --enable-tclinterp
checking for nl_langinfo(CODESET)... no
checking for iconv_open()... yes
checking for strtod in -lm... yes
checking for strtod in -lm... yes
checking for strtod() and other floating point functions... yes
checking for strtod() and other floating point functions... yes
checking for nl_langinfo(CODESET)... yes
checking for strtod in -lm... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
no
checking for acl_get_file in -lacl... no
checking for acl_get_file in -lacl... checking whether the C compiler works... yes
checking for strtod() and other floating point functions... yes
checking for fgetxattr in -lattr... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... yes
checking for fgetxattr in -lattr... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... 
checking whether we are cross compiling... yes
checking for POSIX ACL support... yes
checking for POSIX ACL support... no
checking for acl_get_file in -lacl... no
checking for suffix of object files... yes
checking for acl_get in -lsec... o
checking whether we are using the GNU C compiler... yes
checking for acl_get in -lsec... yes
checking for fgetxattr in -lattr... yes
checking whether gcc accepts -g... no
checking for Solaris ACL support... yes
checking for gcc option to accept ISO C89... no
checking for Solaris ACL support... no
checking for AIX ACL support... yes
checking for POSIX ACL support... no
checking for AIX ACL support... none needed
checking how to run the C preprocessor... no
checking --disable-gpm argument... no
checking for gpm... gcc -E
no
checking --disable-gpm argument... no
checking for gpm... checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
yes
checking for acl_get in -lsec... checking for fgrep... /bin/grep -F
checking for library containing strerror... yes
checking --disable-sysmouse argument... no
checking for sysmouse... no
checking for Solaris ACL support... yes
checking --disable-sysmouse argument... no
checking for sysmouse... none required
checking for gawk... no
checking for mawk... mawk
checking for strip... strip
checking for ANSI C header files... no
checking for AIX ACL support... no
checking for FD_CLOEXEC... no
checking for FD_CLOEXEC... no
checking --disable-gpm argument... no
checking for gpm... yes
checking for rename... yes
checking for rename... yes
checking --disable-sysmouse argument... no
checking for sysmouse... yes
checking for sysctl... yes
checking for sysctl... yes
checking for sys/wait.h that is POSIX.1 compatible... not usable
checking for sysinfo... no
checking for FD_CLOEXEC... not usable
checking for sysinfo... yes
checking --enable-fail-if-missing argument... yes
checking for recent clang version... no
configure: checking for buggy tools...
yes
checking for sysinfo.mem_unit... checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking AvailabilityMacros.h usability... yes
checking for rename... yes
checking for sysinfo.mem_unit... yes
checking for sysconf... yes
checking for sysconf... yes
checking size of int... yes
checking size of int... yes
checking for sysctl... no
checking AvailabilityMacros.h presence... not usable
checking for sysinfo... no
checking for AvailabilityMacros.h... no
checking --with-local-dir argument... no
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... pkg-vim-maintainers@lists.alioth.debian.org
checking if character set is EBCDIC... no
checking --disable-smack argument... yes
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... yes
checking for sysinfo.mem_unit... 4
checking size of long... 4
checking size of long... yes
checking for sysconf... yes
checking --with-features argument... huge
checking --with-compiledby argument... buildd@
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... no
checking LUA_PREFIX environment var... not set, default to /usr
checking --with-luajit... no
checking for lua... /usr/bin/lua
checking Lua version... 5.2
checking if lua.h can be found in /usr/include... no
checking if lua.h can be found in /usr/include/lua5.2... yes
checking if link with -L/usr/lib -llua5.2 is sane... yes
checking size of int... 4
checking size of time_t... 4
yes
checking size of time_t... checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/bin/perl
checking Perl version... OK
4
checking size of long... 4
checking size of off_t... 4
checking size of off_t... 4
checking size of time_t... 8
checking uint32_t is 32 bits... 8
checking uint32_t is 32 bits... checking if compile and link flags for Perl are sane... ok
checking whether memmove handles overlaps... ok
checking whether memmove handles overlaps... 4
checking size of off_t... yes
checking --enable-pythoninterp argument... yes
checking for python2... /usr/bin/python2
checking Python version... 2.7
checking Python is 2.3 or better... yep
checking Python's install prefix... yes
checking whether X_LOCALE needed... yes
/usr
checking Python's execution prefix... checking whether X_LOCALE needed... /usr
8
checking Python's configuration directory... (cached) /usr/lib/python2.7/config-arm-linux-gnueabihf
checking uint32_t is 32 bits... /<<PKGBUILDDIR>>/src/vim-nox/config-PyMake19344:1497: warning: overriding recipe for target 'Modules/timemodule.o'
/<<PKGBUILDDIR>>/src/vim-nox/config-PyMake19344:1456: warning: ignoring old recipe for target 'Modules/timemodule.o'
checking if -pthread should be used... ok
checking whether memmove handles overlaps... no
yes
checking if compile and link flags for Python are sane... checking whether Xutf8SetWMProperties() can be used... no
checking whether Xutf8SetWMProperties() can be used... yes
checking --enable-python3interp argument... no
checking if -fPIE can be added for Python... yes
checking for _xpg4_setrunelocale in -lxpg4... yes
checking for _xpg4_setrunelocale in -lxpg4... yes
checking whether X_LOCALE needed... no
checking how to create tags... no
checking how to create tags... ctags
checking how to run man with a section nr... man
checking --disable-nls argument... yes
no
checking for msgfmt... msgfmt
checking for NLS... checking --enable-tclinterp argument... yes
ctags
checking how to run man with a section nr... checking --with-tclsh argument... no
checking for tclsh8.5... no
checking for tclsh8.4... no
checking for tclsh8.2... no
checking for tclsh8.0... man
no
checking --disable-nls argument... checking for tclsh... /usr/bin/tclsh
checking Tcl version... no
checking for msgfmt... msgfmt
checking for NLS... 8.6 - OK
checking for location of Tcl include... /usr/include/tcl8.6/tcl.h
checking for location of tclConfig.sh script... /usr/lib/tclConfig.sh
no
checking whether Xutf8SetWMProperties() can be used... gettext() works
gettext() works
checking for bind_textdomain_codeset... checking for bind_textdomain_codeset... checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/bin/ruby
checking Ruby version... yes
yes
checking for _nl_msg_cat_cntr... checking for _nl_msg_cat_cntr... yes
checking for _xpg4_setrunelocale in -lxpg4... OK
checking Ruby rbconfig... no
checking how to create tags... yes
checking dlfcn.h usability... yes
checking dlfcn.h usability... ctags
checking how to run man with a section nr... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... RbConfig
checking Ruby header files... yes
checking dlfcn.h presence... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... yes
checking for dlfcn.h... yes
checking for dlopen()... gettext() works
checking for bind_textdomain_codeset... no
checking for dlopen() in -ldl... no
checking for dlopen() in -ldl... yes
checking for _nl_msg_cat_cntr... /usr/include/ruby-2.1.0
yes
checking for dlsym()... yes
checking for dlsym()... yes
checking dlfcn.h usability... yes
yes
checking dlfcn.h presence... checking setjmp.h usability... yes
checking for dlfcn.h... yes
checking for dlopen()... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for GCC 3 or later... yes
checking setjmp.h presence... no
checking for dlopen() in -ldl... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
checking for setjmp.h... yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
yes
checking linker --as-needed support... yes
configure: updating cache auto/config.cache
configure: creating auto/config.status
yes
checking for dlsym()... configure: updating cache auto/config.cache
configure: creating auto/config.status
yes
checking setjmp.h usability... config.status: creating auto/config.mk
config.status: creating auto/config.mk
config.status: creating auto/config.h
yes
checking setjmp.h presence... config.status: creating auto/config.h
yes
checking for setjmp.h... yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
touch configure-stamp-vim-gtk
dh_testdir
configure: updating cache auto/config.cache
configure: creating auto/config.status
touch configure-stamp-vim-athena
*** DEBIAN *** CONFIGURING VARIANT vim-basic
/usr/bin/make -C src shadow SHADOWDIR=vim-basic
dh_testdir
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
mkdir vim-basic
cd vim-basic; ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../vimtutor ../gvimtutor ../mkinstalldirs .
mkdir vim-basic/auto
cd vim-basic/auto; ln -s ../../auto/configure .
mkdir vim-basic/po
dh_prep -p vim-tiny
cd vim-basic/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/Makefile .
cd vim-basic; rm -f auto/link.sed
cp Makefile configure vim-basic
rm -f vim-basic/auto/config.mk vim-basic/config.mk.dist
cp config.mk.dist vim-basic/auto/config.mk
cp config.mk.dist vim-basic
mkdir vim-basic/xxd
cd vim-basic/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
if test -d os_mac_rsrc; then \
	cd vim-basic; \
	ln -s ../infplist.xml .; \
	ln -s ../os_mac_rsrc ../os_mac.rsr.hqx ../dehqx.py .; \
fi
mkdir vim-basic/testdir
cd vim-basic/testdir; ln -s ../../testdir/Makefile \
			 ../../testdir/vimrc.unix \
			 ../../testdir/*.in \
			 ../../testdir/*.vim \
			 ../../testdir/python* \
			 ../../testdir/sautest \
			 ../../testdir/test83-tags? \
			 ../../testdir/*.ok .
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-basic && LDFLAGS="-fPIE -pie -Wl,-z,relro -Wl,-z,now" CPPFLAGS="" CFLAGS="-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security" ./configure --prefix=/usr --mandir='${prefix}'/share/man --without-local-dir --with-modified-by="pkg-vim-maintainers@lists.alioth.debian.org" --with-compiledby="buildd@" --enable-fail-if-missing --enable-cscope --enable-gpm --enable-selinux --disable-smack --with-features=huge --enable-multibyte --enable-acl --without-x --enable-gui=no --disable-luainterp --disable-mzschemeinterp --disable-perlinterp --disable-pythoninterp --disable-python3interp --disable-rubyinterp --disable-tclinterp
*** DEBIAN *** BUILDING VARIANT vim-tiny
/usr/bin/make -C src/vim-tiny
checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking for socket in -lsocket... make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-tiny'
mkdir objects
CC="gcc -Iproto -DHAVE_CONFIG_H        " srcdir=. sh ./osdef.sh
config.status: creating auto/config.mk
no
checking for gethostbyname in -lnsl... config.status: creating auto/config.h
yes
checking whether compiling netbeans integration is possible... touch configure-stamp-vim-gnome
dh_testdir
dh_prep -p vim-gtk
yes
checking --enable-sniff argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... *** DEBIAN *** BUILDING VARIANT vim-gtk
/usr/bin/make -C src/vim-gtk
defaulting to auto
checking --enable-fontset argument... no
defaulting to: don't HAVE_X11
checking --enable-gui argument... make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk'
mkdir objects
no GUI support
CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2      -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  " srcdir=. sh ./osdef.sh
checking X11/SM/SMlib.h usability... configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for CYGWIN environment... no
checking whether toupper is broken... checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... no
checking whether __DATE__ and __TIME__ work... 
checking whether we are cross compiling... yes
checking whether __attribute__((unused)) is allowed... yes
checking elf.h usability... no
checking for suffix of object files... yes
checking elf.h presence... o
checking whether we are using the GNU C compiler... yes
checking for elf.h... yes
checking for main in -lelf... yes
checking whether gcc accepts -g... no
checking for dirent.h that defines DIR... yes
checking for gcc option to accept ISO C89... yes
checking for library containing opendir... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
none required
checking for fgrep... /bin/grep -F
checking for library containing strerror... checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdint.h usability... none required
checking for gawk... no
checking for mawk... mawk
checking for strip... strip
checking for ANSI C header files... creating auto/pathdef.c
yes
checking stdint.h presence... yes
checking for stdint.h... yes
checking stdlib.h usability... gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/popupmnu.o popupmnu.c
yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking string.h usability... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking string.h presence... yes
checking for string.h... yes
checking sys/select.h usability... gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/quickfix.o quickfix.c
yes
checking --enable-fail-if-missing argument... yes
checking for recent clang version... no
configure: checking for buggy tools...
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking AvailabilityMacros.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
creating auto/pathdef.c
checking termcap.h usability... gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/popupmnu.o popupmnu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/regexp.o regexp.c
no
checking AvailabilityMacros.h presence... no
checking for AvailabilityMacros.h... no
checking --with-local-dir argument... no
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... pkg-vim-maintainers@lists.alioth.debian.org
checking if character set is EBCDIC... no
checking --disable-smack argument... yes
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking termcap.h presence... no
checking for termcap.h... no
yes
checking --with-features argument... huge
checking --with-compiledby argument... buildd@
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking fcntl.h usability... checking --enable-luainterp argument... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... no
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... no
checking --enable-tclinterp argument... no
checking --enable-rubyinterp argument... no
checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking for socket in -lsocket... yes
checking fcntl.h presence... no
checking for gethostbyname in -lnsl... yes
checking for fcntl.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
yes
checking whether compiling netbeans integration is possible... checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking --enable-sniff argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
defaulting to: don't HAVE_X11
checking --enable-gui argument... no GUI support
checking X11/SM/SMlib.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/types.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for CYGWIN environment... no
checking whether toupper is broken... yes
checking sys/types.h presence... yes
checking for sys/types.h... yes
checking termio.h usability... yes
checking termio.h presence... no
checking whether __DATE__ and __TIME__ work... yes
checking for termio.h... yes
checking iconv.h usability... yes
checking whether __attribute__((unused)) is allowed... yes
checking iconv.h presence... yes
checking for iconv.h... yes
yes
checking elf.h usability... checking inttypes.h usability... yes
checking elf.h presence... yes
checking inttypes.h presence... yes
checking for elf.h... yes
checking for main in -lelf... yes
checking for inttypes.h... yes
checking langinfo.h usability... no
checking for dirent.h that defines DIR... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking math.h usability... yes
checking for library containing opendir... none required
checking stdarg.h usability... yes
checking math.h presence... gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/quickfix.o quickfix.c
yes
checking for math.h... yes
checking unistd.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdint.h usability... yes
checking unistd.h presence... yes
checking stdint.h presence... yes
checking for unistd.h... yes
checking stropts.h usability... yes
checking for stdint.h... yes
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
yes
checking stropts.h presence... checking string.h usability... yes
checking for stropts.h... yes
checking errno.h usability... yes
checking string.h presence... yes
checking for string.h... yes
checking sys/select.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/resource.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/utsname.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking termcap.h usability... no
checking sys/systeminfo.h presence... no
checking termcap.h presence... no
checking for sys/systeminfo.h... no
checking locale.h usability... no
checking for termcap.h... no
checking fcntl.h usability... yes
checking locale.h presence... yes
checking fcntl.h presence... yes
checking for locale.h... yes
yes
checking for fcntl.h... yes
checking sys/stream.h usability... checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
no
checking sys/stream.h presence... checking sys/time.h usability... no
checking for sys/stream.h... no
checking termios.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/types.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking libc.h usability... yes
checking sys/types.h presence... yes
checking for sys/types.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking iconv.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking sys/statfs.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking inttypes.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
yes
checking inttypes.h presence... checking poll.h usability... yes
checking for inttypes.h... yes
checking langinfo.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
yes
checking langinfo.h presence... checking sys/poll.h usability... yes
checking for langinfo.h... yes
checking math.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
yes
checking math.h presence... checking pwd.h usability... yes
checking for math.h... yes
checking unistd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking utime.h usability... yes
checking unistd.h presence... yes
checking for unistd.h... yes
checking stropts.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/param.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking errno.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
yes
checking errno.h presence... checking libintl.h usability... yes
checking for errno.h... yes
checking sys/resource.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
yes
checking sys/resource.h presence... checking libgen.h usability... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking util/debug.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking locale.h usability... no
checking util/debug.h presence... no
checking for util/debug.h... no
yes
checking locale.h presence... checking util/msg18n.h usability... yes
checking for locale.h... yes
checking sys/stream.h usability... no
checking util/msg18n.h presence... no
checking for util/msg18n.h... no
no
checking sys/stream.h presence... checking frame.h usability... no
checking for sys/stream.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking libc.h usability... no
checking frame.h presence... no
checking for frame.h... no
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
no
checking libc.h presence... checking sys/access.h usability... no
checking for libc.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
no
checking sys/access.h presence... checking sys/poll.h usability... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
yes
checking sys/sysinfo.h presence... checking pwd.h usability... yes
checking for sys/sysinfo.h... yes
checking wchar.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking utime.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/param.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for sys/ptem.h... yes
checking sys/param.h presence... gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/regexp.o regexp.c
no
checking for sys/sysctl.h... yes
checking for sys/param.h... yes
checking libintl.h usability... yes
checking for pthread_np.h... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking libgen.h usability... no
checking strings.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking util/debug.h usability... yes
checking strings.h presence... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... yes
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for mode_t... no
checking util/debug.h presence... no
checking for util/debug.h... no
checking util/msg18n.h usability... yes
checking for off_t... no
checking util/msg18n.h presence... no
checking for util/msg18n.h... no
checking frame.h usability... yes
checking for pid_t... yes
checking for size_t... no
checking frame.h presence... no
checking for frame.h... no
checking sys/acl.h usability... yes
checking for uid_t in sys/types.h... yes
checking sys/acl.h presence... yes
checking for uint32_t... yes
checking for sys/acl.h... yes
checking sys/access.h usability... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ino_t... no
checking sys/access.h presence... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... yes
checking for dev_t... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking wchar.h usability... yes
checking whether byte ordering is bigendian... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for sys/ptem.h... no
checking for rlim_t... yes
checking for stack_t... yes
checking whether stack_t has an ss_base field... no
checking for sys/sysctl.h... no
checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -ltinfo... yes
checking for pthread_np.h... yes
no
checking strings.h usability... yes
checking strings.h presence... checking whether we talk terminfo... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... yes
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking what tgetent() returns for an unknown terminal... yes
checking for working volatile... yes
checking for mode_t... zero
checking whether termcap.h contains ospeed... no
checking whether ospeed can be extern... yes
checking for off_t... yes
checking whether termcap.h contains UP, BC and PC... no
checking whether UP, BC and PC can be extern... yes
checking for pid_t... yes
checking whether tputs() uses outfuntype... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for size_t... yes
checking for ptyranges... don't know
checking default tty permissions/group... yes
checking for uid_t in sys/types.h... yes
checking for uint32_t... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... yes
checking whether time.h and sys/time.h may both be included... void
checking for struct sigcontext... yes
checking for ino_t... yes
checking getcwd implementation is broken... no
checking for bcmp... yes
checking for dev_t... yes
checking for fchdir... yes
checking whether byte ordering is bigendian... yes
checking for fchown... no
checking for rlim_t... yes
yes
checking for stack_t... checking for fsync... yes
checking whether stack_t has an ss_base field... no
checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -ltinfo... yes
checking for getcwd... yes
yes
checking for getpseudotty... checking whether we talk terminfo... no
checking for getpwent... yes
checking for getpwnam... yes
checking what tgetent() returns for an unknown terminal... yes
checking for getpwuid... zero
checking whether termcap.h contains ospeed... no
checking whether ospeed can be extern... yes
checking for getrlimit... yes
checking whether termcap.h contains UP, BC and PC... no
checking whether UP, BC and PC can be extern... yes
checking for gettimeofday... yes
checking whether tputs() uses outfuntype... yes
checking for getwd... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for lstat... yes
checking for ptyranges... don't know
checking default tty permissions/group... yes
checking for memcmp... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... yes
checking for memset... void
checking for struct sigcontext... yes
checking getcwd implementation is broken... yes
checking for mkdtemp... no
checking for bcmp... yes
checking for nanosleep... yes
checking for fchdir... yes
checking for opendir... yes
checking for fchown... yes
checking for putenv... yes
checking for fsync... yes
checking for qsort... yes
yes
checking for getcwd... checking for readlink... yes
yes
checking for getpseudotty... checking for select... no
yes
checking for getpwent... checking for setenv... yes
yes
checking for getpwnam... checking for setpgid... yes
yes
checking for getpwuid... checking for setsid... yes
checking for getrlimit... yes
checking for sigaltstack... yes
yes
checking for gettimeofday... checking for sigstack... yes
checking for getwd... yes
checking for sigset... yes
checking for lstat... yes
checking for sigsetjmp... yes
checking for memcmp... no
checking for sigaction... yes
checking for memset... yes
checking for sigvec... yes
yes
checking for mkdtemp... checking for strcasecmp... yes
checking for nanosleep... yes
checking for strerror... yes
checking for opendir... yes
checking for strftime... yes
checking for putenv... yes
checking for stricmp... yes
checking for qsort... no
checking for strncasecmp... yes
checking for readlink... yes
checking for strnicmp... yes
checking for select... no
checking for strpbrk... yes
checking for setenv... yes
checking for strtol... yes
checking for setpgid... yes
yes
checking for tgetent... checking for setsid... yes
checking for towlower... yes
checking for sigaltstack... yes
yes
checking for towupper... checking for sigstack... yes
yes
checking for iswupper... checking for sigset... yes
yes
checking for usleep... checking for sigsetjmp... yes
checking for utime... no
checking for sigaction... yes
yes
checking for utimes... checking for sigvec... yes
yes
checking for _LARGEFILE_SOURCE value needed for large files... checking for strcasecmp... yes
no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... checking for strerror... 64
checking for st_blksize... yes
checking for strftime... yes
checking whether stat() ignores a trailing slash... yes
checking for stricmp... no
checking for iconv_open()... no
checking for strncasecmp... yes
yes
checking for strnicmp... checking for nl_langinfo(CODESET)... yes
no
checking for strtod in -lm... checking for strpbrk... yes
checking for strtod() and other floating point functions... yes
checking for strtol... yes
yes
checking for tgetent... checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... no
checking for acl_get_file in -lacl... yes
checking for towlower... yes
checking for fgetxattr in -lattr... yes
checking for towupper... yes
checking for POSIX ACL support... yes
checking for iswupper... yes
checking for acl_get in -lsec... no
checking for Solaris ACL support... yes
checking for usleep... no
checking for AIX ACL support... yes
no
checking --disable-gpm argument... no
checking for gpm... checking for utime... yes
yes
checking --disable-sysmouse argument... no
checking for sysmouse... checking for utimes... no
checking for FD_CLOEXEC... yes
checking for _LARGEFILE_SOURCE value needed for large files... yes
checking for rename... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... yes
checking for sysctl... not usable
checking for sysinfo... 64
checking for st_blksize... yes
checking for sysinfo.mem_unit... yes
checking whether stat() ignores a trailing slash... yes
checking for sysconf... yes
checking size of int... no
checking for iconv_open()... 4
checking size of long... yes
checking for nl_langinfo(CODESET)... yes
checking for strtod in -lm... 4
checking size of time_t... yes
checking for strtod() and other floating point functions... 4
checking size of off_t... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... no
checking for acl_get_file in -lacl... 8
checking uint32_t is 32 bits... yes
checking for fgetxattr in -lattr... ok
checking whether memmove handles overlaps... yes
checking for POSIX ACL support... yes
checking for _xpg4_setrunelocale in -lxpg4... yes
checking for acl_get in -lsec... no
checking how to create tags... no
checking for Solaris ACL support... ctags
checking how to run man with a section nr... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... no
checking for AIX ACL support... no
checking --disable-gpm argument... no
checking for gpm... gettext() works
checking for bind_textdomain_codeset... yes
checking --disable-sysmouse argument... no
checking for sysmouse... yes
checking for _nl_msg_cat_cntr... no
checking for FD_CLOEXEC... yes
yes
checking dlfcn.h usability... checking for rename... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... yes
checking for sysctl... not usable
checking for sysinfo... no
checking for dlopen() in -ldl... gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/screen.o screen.c
yes
checking for sysinfo.mem_unit... yes
checking for sysconf... yes
checking for dlsym()... yes
checking size of int... yes
checking setjmp.h usability... 4
checking size of long... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
configure: updating cache auto/config.cache
configure: creating auto/config.status
4
checking size of time_t... 4
config.status: creating auto/config.mk
checking size of off_t... config.status: creating auto/config.h
touch configure-stamp-vim-nox
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/screen.o screen.c
8
checking uint32_t is 32 bits... ok
checking whether memmove handles overlaps... yes
checking for _xpg4_setrunelocale in -lxpg4... no
checking how to create tags... ctags
checking how to run man with a section nr... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... gettext() works
checking for bind_textdomain_codeset... yes
checking for _nl_msg_cat_cntr... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... no
checking for dlopen() in -ldl... yes
checking for dlsym()... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
configure: updating cache auto/config.cache
configure: creating auto/config.status
config.status: creating auto/config.mk
config.status: creating auto/config.h
touch configure-stamp-vim-basic
dh_testdir
dh_prep -p vim-gnome
*** DEBIAN *** BUILDING VARIANT vim-gnome
/usr/bin/make -C src/vim-gnome
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gnome'
mkdir objects
CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include      -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  " srcdir=. sh ./osdef.sh
creating auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/popupmnu.o popupmnu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/search.o search.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/quickfix.o quickfix.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/regexp.o regexp.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/sha256.o sha256.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/spell.o spell.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/syntax.o syntax.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/tag.o tag.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/search.o search.c
dh_testdir
dh_prep -p vim-athena
*** DEBIAN *** BUILDING VARIANT vim-athena
/usr/bin/make -C src/vim-athena
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-athena'
mkdir objects
CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA       -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  " srcdir=. sh ./osdef.sh
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/term.o term.c
creating auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/popupmnu.o popupmnu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/quickfix.o quickfix.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ui.o ui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/undo.o undo.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/window.o window.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/sha256.o sha256.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/regexp.o regexp.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/spell.o spell.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/main.o main.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/memfile.o memfile.c
cd xxd; CC="gcc" CFLAGS=" -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed" \
	/usr/bin/make -f Makefile
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-tiny/xxd'
gcc  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -DUNIX -o xxd xxd.c
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-tiny/xxd'
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/buffer.o buffer.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/blowfish.o blowfish.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/charset.o charset.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/crypt.o crypt.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/crypt_zip.o crypt_zip.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/diff.o diff.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/digraph.o digraph.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/edit.o edit.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/screen.o screen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/eval.o eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ex_cmds.o ex_cmds.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ex_cmds2.o ex_cmds2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ex_docmd.o ex_docmd.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/syntax.o syntax.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ex_eval.o ex_eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ex_getln.o ex_getln.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/search.o search.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/screen.o screen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/fileio.o fileio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/tag.o tag.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/sha256.o sha256.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/fold.o fold.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/getchar.o getchar.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/term.o term.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/spell.o spell.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/hardcopy.o hardcopy.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/hashtab.o hashtab.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/if_cscope.o if_cscope.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/if_xcmdsrv.o if_xcmdsrv.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/mark.o mark.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ui.o ui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/search.o search.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/memline.o memline.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/undo.o undo.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/menu.o menu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/message.o message.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/window.o window.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/sha256.o sha256.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/misc1.o misc1.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/spell.o spell.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/misc2.o misc2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/move.o move.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui.o gui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/syntax.o syntax.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/mbyte.o mbyte.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/normal.o normal.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui_gtk.o gui_gtk.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui_gtk_x11.o gui_gtk_x11.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/tag.o tag.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ops.o ops.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/syntax.o syntax.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/option.o option.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/pty.o pty.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui_gtk_f.o gui_gtk_f.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/term.o term.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui_beval.o gui_beval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -I/usr/include/lua5.2 -o objects/if_lua.o if_lua.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/os_unix.o os_unix.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ui.o ui.c
/usr/bin/perl -e 'unless ( $] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$_ $_\n" }}' > auto/if_perl.c
/usr/bin/perl /usr/share/perl/5.20/ExtUtils/xsubpp -prototypes -typemap \
    /usr/share/perl/5.20/ExtUtils/typemap if_perl.xs >> auto/if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/pathdef.o auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE  -o objects/if_perlsfio.o if_perlsfio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o vim objects/buffer.o objects/blowfish.o objects/charset.o objects/crypt.o objects/crypt_zip.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o             objects/main.o objects/memfile.o    -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo  -lselinux -lacl -lattr -ldl          
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/tag.o tag.c
link.sh: Linked fine
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-tiny'
touch build-stamp-vim-tiny
dh_testdir
dh_prep -p vim-nox
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -I/usr/include/python2.7 -DPYTHON_HOME='"/usr"' -pthread -fPIE  -o objects/if_python.o if_python.c
*** DEBIAN *** BUILDING VARIANT vim-nox
/usr/bin/make -C src/vim-nox
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-nox'
mkdir objects
CC="gcc -Iproto -DHAVE_CONFIG_H       -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  " srcdir=. sh ./osdef.sh
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/undo.o undo.c
creating auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/popupmnu.o popupmnu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/quickfix.o quickfix.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/term.o term.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/window.o window.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/regexp.o regexp.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/if_tcl.o if_tcl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ui.o ui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -I/usr/include/ruby-2.1.0 -I/usr/include/arm-linux-gnueabihf/ruby-2.1.0 -DRUBY_VERSION=21 -o objects/if_ruby.o if_ruby.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/undo.o undo.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui.o gui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/netbeans.o netbeans.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/window.o window.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/main.o main.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui_gtk.o gui_gtk.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui_gtk_x11.o gui_gtk_x11.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui.o gui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/memfile.o memfile.c
cd xxd; CC="gcc" CFLAGS=" -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-L. -Wl,-z,relro -L/build/ruby2.1-yWDbCR/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed" \
	/usr/bin/make -f Makefile
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk/xxd'
gcc  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -L. -Wl,-z,relro -L/build/ruby2.1-yWDbCR/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -DUNIX -o xxd xxd.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui_athena.o gui_athena.c
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk/xxd'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk/po'
OLD_PO_FILE_INPUT=yes msgfmt -v -o af.mo af.po
1423 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ca.mo ca.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.mo cs.po
1284 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o de.mo de.po
1701 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o en_GB.mo en_GB.po
78 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o eo.mo eo.po
1870 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o es.mo es.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fi.mo fi.po
1768 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fr.mo fr.po
1859 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ga.mo ga.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o it.mo it.po
1863 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.mo ja.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.mo ko.po
1728 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.UTF-8.mo ko.UTF-8.po
1728 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nb.mo nb.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nl.mo nl.po
1213 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o no.mo no.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.mo pl.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pt_BR.mo pt_BR.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/pty.o pty.c
1735 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.mo ru.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.mo sk.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sv.mo sv.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.mo uk.po
1864 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o vi.mo vi.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.UTF-8.mo zh_CN.UTF-8.po
1634 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.mo zh_CN.po
1633 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.UTF-8.mo zh_TW.UTF-8.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.mo zh_TW.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.cp1250.mo cs.cp1250.po
1284 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.sjis.mo ja.sjis.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.euc-jp.mo ja.euc-jp.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.cp1250.mo pl.cp1250.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.UTF-8.mo pl.UTF-8.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.cp1251.mo ru.cp1251.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.cp1250.mo sk.cp1250.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.cp1251.mo uk.cp1251.po
1864 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.cp936.mo zh_CN.cp936.po
1633 translated messages, 3 fuzzy translations.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk/po'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk/po'
make[2]: Nothing to be done for 'converted'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/buffer.o buffer.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui_x11.o gui_x11.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui_gtk_f.o gui_gtk_f.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui_beval.o gui_beval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/pty.o pty.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui_beval.o gui_beval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -I/usr/include/lua5.2 -o objects/if_lua.o if_lua.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui_at_sb.o gui_at_sb.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/gui_at_fs.o gui_at_fs.c
/usr/bin/perl -e 'unless ( $] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$_ $_\n" }}' > auto/if_perl.c
/usr/bin/perl /usr/share/perl/5.20/ExtUtils/xsubpp -prototypes -typemap \
    /usr/share/perl/5.20/ExtUtils/typemap if_perl.xs >> auto/if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/blowfish.o blowfish.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE  -o objects/if_perlsfio.o if_perlsfio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/screen.o screen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -I/usr/include/python2.7 -DPYTHON_HOME='"/usr"' -pthread -fPIE  -o objects/if_python.o if_python.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/charset.o charset.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -I/usr/include/lua5.2 -o objects/if_lua.o if_lua.c
/usr/bin/perl -e 'unless ( $] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$_ $_\n" }}' > auto/if_perl.c
/usr/bin/perl /usr/share/perl/5.20/ExtUtils/xsubpp -prototypes -typemap \
    /usr/share/perl/5.20/ExtUtils/typemap if_perl.xs >> auto/if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE  -o objects/if_perlsfio.o if_perlsfio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/crypt.o crypt.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -I/usr/include/python2.7 -DPYTHON_HOME='"/usr"' -pthread -fPIE  -o objects/if_python.o if_python.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/crypt_zip.o crypt_zip.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/diff.o diff.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/if_tcl.o if_tcl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/digraph.o digraph.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/if_tcl.o if_tcl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -I/usr/include/ruby-2.1.0 -I/usr/include/arm-linux-gnueabihf/ruby-2.1.0 -DRUBY_VERSION=21 -o objects/if_ruby.o if_ruby.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/edit.o edit.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -I/usr/include/ruby-2.1.0 -I/usr/include/arm-linux-gnueabihf/ruby-2.1.0 -DRUBY_VERSION=21 -o objects/if_ruby.o if_ruby.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/netbeans.o netbeans.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/search.o search.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/netbeans.o netbeans.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/main.o main.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/main.o main.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/sha256.o sha256.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/eval.o eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/memfile.o memfile.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/spell.o spell.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/memfile.o memfile.c
cd xxd; CC="gcc" CFLAGS=" -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-L. -Wl,-z,relro -L/build/ruby2.1-yWDbCR/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed" \
	/usr/bin/make -f Makefile
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-athena/xxd'
gcc  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -L. -Wl,-z,relro -L/build/ruby2.1-yWDbCR/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -DUNIX -o xxd xxd.c
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-athena/xxd'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-athena/po'
OLD_PO_FILE_INPUT=yes msgfmt -v -o af.mo af.po
1423 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ca.mo ca.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.mo cs.po
1284 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o de.mo de.po
1701 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o en_GB.mo en_GB.po
78 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o eo.mo eo.po
1870 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o es.mo es.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fi.mo fi.po
1768 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fr.mo fr.po
1859 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ga.mo ga.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o it.mo it.po
1863 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.mo ja.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.mo ko.po
1728 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.UTF-8.mo ko.UTF-8.po
1728 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nb.mo nb.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nl.mo nl.po
1213 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o no.mo no.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.mo pl.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pt_BR.mo pt_BR.po
1735 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.mo ru.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.mo sk.po
cd xxd; CC="gcc" CFLAGS=" -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-L. -Wl,-z,relro -L/build/ruby2.1-yWDbCR/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed" \
	/usr/bin/make -f Makefile
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gnome/xxd'
gcc  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -L. -Wl,-z,relro -L/build/ruby2.1-yWDbCR/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -DUNIX -o xxd xxd.c
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sv.mo sv.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.mo uk.po
1864 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o vi.mo vi.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.UTF-8.mo zh_CN.UTF-8.po
1634 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.mo zh_CN.po
1633 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.UTF-8.mo zh_TW.UTF-8.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.mo zh_TW.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.cp1250.mo cs.cp1250.po
1284 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.sjis.mo ja.sjis.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.euc-jp.mo ja.euc-jp.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.cp1250.mo pl.cp1250.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.UTF-8.mo pl.UTF-8.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.cp1251.mo ru.cp1251.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.cp1250.mo sk.cp1250.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.cp1251.mo uk.cp1251.po
1864 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.cp936.mo zh_CN.cp936.po
1633 translated messages, 3 fuzzy translations.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-athena/po'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-athena/po'
make[2]: Nothing to be done for 'converted'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-athena/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/buffer.o buffer.c
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gnome/xxd'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gnome/po'
OLD_PO_FILE_INPUT=yes msgfmt -v -o af.mo af.po
1423 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ca.mo ca.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.mo cs.po
1284 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o de.mo de.po
1701 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o en_GB.mo en_GB.po
78 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o eo.mo eo.po
1870 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o es.mo es.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fi.mo fi.po
1768 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fr.mo fr.po
1859 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ga.mo ga.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o it.mo it.po
1863 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.mo ja.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.mo ko.po
1728 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.UTF-8.mo ko.UTF-8.po
1728 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nb.mo nb.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nl.mo nl.po
1213 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o no.mo no.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.mo pl.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pt_BR.mo pt_BR.po
1735 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.mo ru.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.mo sk.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sv.mo sv.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.mo uk.po
1864 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o vi.mo vi.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.UTF-8.mo zh_CN.UTF-8.po
1634 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.mo zh_CN.po
1633 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.UTF-8.mo zh_TW.UTF-8.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.mo zh_TW.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.cp1250.mo cs.cp1250.po
1284 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.sjis.mo ja.sjis.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.euc-jp.mo ja.euc-jp.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.cp1250.mo pl.cp1250.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.UTF-8.mo pl.UTF-8.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.cp1251.mo ru.cp1251.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.cp1250.mo sk.cp1250.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.cp1251.mo uk.cp1251.po
1864 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.cp936.mo zh_CN.cp936.po
1633 translated messages, 3 fuzzy translations.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gnome/po'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gnome/po'
make[2]: Nothing to be done for 'converted'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gnome/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/buffer.o buffer.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/blowfish.o blowfish.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/charset.o charset.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/blowfish.o blowfish.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/crypt.o crypt.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/charset.o charset.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/crypt_zip.o crypt_zip.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/diff.o diff.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/crypt.o crypt.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/digraph.o digraph.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/crypt_zip.o crypt_zip.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/edit.o edit.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/diff.o diff.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/syntax.o syntax.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_cmds.o ex_cmds.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/digraph.o digraph.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/edit.o edit.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_cmds2.o ex_cmds2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/tag.o tag.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/eval.o eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_docmd.o ex_docmd.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/term.o term.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/eval.o eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ui.o ui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/undo.o undo.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/window.o window.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_eval.o ex_eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_getln.o ex_getln.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -I/usr/include/lua5.2 -o objects/if_lua.o if_lua.c
/usr/bin/perl -e 'unless ( $] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$_ $_\n" }}' > auto/if_perl.c
/usr/bin/perl /usr/share/perl/5.20/ExtUtils/xsubpp -prototypes -typemap \
    /usr/share/perl/5.20/ExtUtils/typemap if_perl.xs >> auto/if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_cmds.o ex_cmds.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE  -o objects/if_perlsfio.o if_perlsfio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -I/usr/include/python2.7 -DPYTHON_HOME='"/usr"' -pthread -fPIE  -o objects/if_python.o if_python.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/fileio.o fileio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_cmds.o ex_cmds.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/if_tcl.o if_tcl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_cmds2.o ex_cmds2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -I/usr/include/ruby-2.1.0 -I/usr/include/arm-linux-gnueabihf/ruby-2.1.0 -DRUBY_VERSION=21 -o objects/if_ruby.o if_ruby.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/netbeans.o netbeans.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_docmd.o ex_docmd.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_cmds2.o ex_cmds2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/main.o main.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/fold.o fold.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_docmd.o ex_docmd.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/memfile.o memfile.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/getchar.o getchar.c
cd xxd; CC="gcc" CFLAGS=" -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-L. -Wl,-z,relro -L/build/ruby2.1-yWDbCR/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed" \
	/usr/bin/make -f Makefile
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-nox/xxd'
gcc  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -L. -Wl,-z,relro -L/build/ruby2.1-yWDbCR/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -DUNIX -o xxd xxd.c
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-nox/xxd'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-nox/po'
OLD_PO_FILE_INPUT=yes msgfmt -v -o af.mo af.po
1423 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ca.mo ca.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.mo cs.po
1284 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o de.mo de.po
1701 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o en_GB.mo en_GB.po
78 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o eo.mo eo.po
1870 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o es.mo es.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fi.mo fi.po
1768 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fr.mo fr.po
1859 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ga.mo ga.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o it.mo it.po
1863 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.mo ja.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.mo ko.po
1728 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.UTF-8.mo ko.UTF-8.po
1728 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nb.mo nb.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nl.mo nl.po
1213 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o no.mo no.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.mo pl.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pt_BR.mo pt_BR.po
1735 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.mo ru.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.mo sk.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sv.mo sv.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.mo uk.po
1864 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o vi.mo vi.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.UTF-8.mo zh_CN.UTF-8.po
1634 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.mo zh_CN.po
1633 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.UTF-8.mo zh_TW.UTF-8.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.mo zh_TW.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.cp1250.mo cs.cp1250.po
1284 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.sjis.mo ja.sjis.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.euc-jp.mo ja.euc-jp.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.cp1250.mo pl.cp1250.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.UTF-8.mo pl.UTF-8.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.cp1251.mo ru.cp1251.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.cp1250.mo sk.cp1250.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.cp1251.mo uk.cp1251.po
1864 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.cp936.mo zh_CN.cp936.po
1633 translated messages, 3 fuzzy translations.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-nox/po'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-nox/po'
make[2]: Nothing to be done for 'converted'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-nox/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/buffer.o buffer.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_eval.o ex_eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_getln.o ex_getln.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/hardcopy.o hardcopy.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/blowfish.o blowfish.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/hashtab.o hashtab.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/charset.o charset.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/if_cscope.o if_cscope.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_eval.o ex_eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/crypt.o crypt.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/fileio.o fileio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/crypt_zip.o crypt_zip.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/diff.o diff.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/if_xcmdsrv.o if_xcmdsrv.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_getln.o ex_getln.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/mark.o mark.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/digraph.o digraph.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/edit.o edit.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/memline.o memline.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/fold.o fold.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/fileio.o fileio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/menu.o menu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/getchar.o getchar.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/message.o message.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/eval.o eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/hardcopy.o hardcopy.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/misc1.o misc1.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/fold.o fold.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/hashtab.o hashtab.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/if_cscope.o if_cscope.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/if_xcmdsrv.o if_xcmdsrv.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/getchar.o getchar.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/mark.o mark.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/memline.o memline.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/misc2.o misc2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/hardcopy.o hardcopy.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/menu.o menu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/hashtab.o hashtab.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/message.o message.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/move.o move.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/if_cscope.o if_cscope.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_cmds.o ex_cmds.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/mbyte.o mbyte.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/if_xcmdsrv.o if_xcmdsrv.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/misc1.o misc1.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/mark.o mark.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/normal.o normal.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/memline.o memline.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_cmds2.o ex_cmds2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_docmd.o ex_docmd.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/menu.o menu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/misc2.o misc2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/message.o message.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ops.o ops.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/move.o move.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/mbyte.o mbyte.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/misc1.o misc1.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/option.o option.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/normal.o normal.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_eval.o ex_eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ex_getln.o ex_getln.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/misc2.o misc2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/os_unix.o os_unix.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ops.o ops.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/fileio.o fileio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/move.o move.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/pathdef.o auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE  -o objects/if_perl.o auto/if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/mbyte.o mbyte.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/option.o option.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   version.c -o objects/version.o
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/fold.o fold.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/normal.o normal.c
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -L/build/ruby2.1-yWDbCR/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o vim objects/buffer.o objects/blowfish.o objects/charset.o objects/crypt.o objects/crypt_zip.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/pty.o objects/gui_gtk_f.o objects/gui_beval.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o objects/if_python.o  objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o  objects/main.o objects/memfile.o   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config-arm-linux-gnueabihf -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions  -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.1 -lpthread -lgmp -ldl -lcrypt -lm    
link.sh: Linked fine
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk'
touch build-stamp-vim-gtk
dh_testdir
dh_prep -p vim-basic
*** DEBIAN *** BUILDING VARIANT vim-basic
/usr/bin/make -C src/vim-basic
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic'
mkdir objects
CC="gcc -Iproto -DHAVE_CONFIG_H        " srcdir=. sh ./osdef.sh
creating auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/popupmnu.o popupmnu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/getchar.o getchar.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/quickfix.o quickfix.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/os_unix.o os_unix.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/regexp.o regexp.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/hardcopy.o hardcopy.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ops.o ops.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/pathdef.o auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE  -o objects/if_perl.o auto/if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/hashtab.o hashtab.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/if_cscope.o if_cscope.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -L/build/ruby2.1-yWDbCR/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o vim objects/buffer.o objects/blowfish.o objects/charset.o objects/crypt.o objects/crypt_zip.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o objects/gui.o objects/gui_athena.o objects/gui_x11.o objects/pty.o objects/gui_beval.o objects/gui_at_sb.o objects/gui_at_fs.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o objects/if_python.o  objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o  objects/main.o objects/memfile.o -lXaw -lXmu -lXext -lXt -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -ldl  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config-arm-linux-gnueabihf -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions  -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.1 -lpthread -lgmp -ldl -lcrypt -lm    
link.sh: Linked fine
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-athena'
touch build-stamp-vim-athena
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/option.o option.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/if_xcmdsrv.o if_xcmdsrv.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/mark.o mark.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/screen.o screen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/memline.o memline.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/menu.o menu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/message.o message.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/os_unix.o os_unix.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/misc1.o misc1.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/pathdef.o auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE  -o objects/if_perl.o auto/if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/search.o search.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/sha256.o sha256.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/arm-linux-gnueabihf/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include    -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   version.c -o objects/version.o
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/spell.o spell.c
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -L/build/ruby2.1-yWDbCR/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o vim objects/buffer.o objects/blowfish.o objects/charset.o objects/crypt.o objects/crypt_zip.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/pty.o objects/gui_gtk_f.o objects/gui_beval.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o objects/if_python.o  objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o  objects/main.o objects/memfile.o   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype   -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgdk_pixbuf-2.0 -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0  -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config-arm-linux-gnueabihf -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions  -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.1 -lpthread -lgmp -ldl -lcrypt -lm    
link.sh: Linked fine
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gnome'
touch build-stamp-vim-gnome
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/syntax.o syntax.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/tag.o tag.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/misc2.o misc2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/term.o term.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/move.o move.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ui.o ui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/undo.o undo.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/window.o window.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/mbyte.o mbyte.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/normal.o normal.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/netbeans.o netbeans.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/ops.o ops.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/option.o option.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/main.o main.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/memfile.o memfile.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/os_unix.o os_unix.c
cd xxd; CC="gcc" CFLAGS=" -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed" \
	/usr/bin/make -f Makefile
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/xxd'
gcc  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -DUNIX -o xxd xxd.c
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
OLD_PO_FILE_INPUT=yes msgfmt -v -o af.mo af.po
1423 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ca.mo ca.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.mo cs.po
1284 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o de.mo de.po
1701 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o en_GB.mo en_GB.po
78 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o eo.mo eo.po
1870 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o es.mo es.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fi.mo fi.po
1768 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fr.mo fr.po
1859 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ga.mo ga.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o it.mo it.po
1863 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.mo ja.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.mo ko.po
1728 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.UTF-8.mo ko.UTF-8.po
1728 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nb.mo nb.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nl.mo nl.po
1213 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o no.mo no.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.mo pl.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pt_BR.mo pt_BR.po
1735 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.mo ru.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.mo sk.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sv.mo sv.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.mo uk.po
1864 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o vi.mo vi.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.UTF-8.mo zh_CN.UTF-8.po
1634 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.mo zh_CN.po
1633 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.UTF-8.mo zh_TW.UTF-8.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.mo zh_TW.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.cp1250.mo cs.cp1250.po
1284 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.sjis.mo ja.sjis.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.euc-jp.mo ja.euc-jp.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.cp1250.mo pl.cp1250.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.UTF-8.mo pl.UTF-8.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.cp1251.mo ru.cp1251.po
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/xxd'
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -o objects/pathdef.o auto/pathdef.c
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.cp1250.mo sk.cp1250.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.cp1251.mo uk.cp1251.po
1864 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.cp936.mo zh_CN.cp936.po
1633 translated messages, 3 fuzzy translations.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
make[2]: Nothing to be done for 'converted'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/buffer.o buffer.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/blowfish.o blowfish.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE  -o objects/if_perl.o auto/if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/charset.o charset.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/crypt.o crypt.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1   version.c -o objects/version.o
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/crypt_zip.o crypt_zip.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/diff.o diff.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/digraph.o digraph.c
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -L/build/ruby2.1-yWDbCR/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o vim objects/buffer.o objects/blowfish.o objects/charset.o objects/crypt.o objects/crypt_zip.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o  objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o objects/if_python.o  objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o  objects/main.o objects/memfile.o        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config-arm-linux-gnueabihf -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions  -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.1 -lpthread -lgmp -ldl -lcrypt -lm    
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/edit.o edit.c
link.sh: Linked fine
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-nox'
touch build-stamp-vim-nox
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/eval.o eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ex_cmds.o ex_cmds.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ex_cmds2.o ex_cmds2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ex_docmd.o ex_docmd.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ex_eval.o ex_eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ex_getln.o ex_getln.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/fileio.o fileio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/fold.o fold.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/getchar.o getchar.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/hardcopy.o hardcopy.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/hashtab.o hashtab.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/if_cscope.o if_cscope.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/if_xcmdsrv.o if_xcmdsrv.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/mark.o mark.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/memline.o memline.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/menu.o menu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/message.o message.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/misc1.o misc1.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/misc2.o misc2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/move.o move.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/mbyte.o mbyte.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/normal.o normal.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/ops.o ops.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/option.o option.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/os_unix.o os_unix.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/pathdef.o auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o vim objects/buffer.o objects/blowfish.o objects/charset.o objects/crypt.o objects/crypt_zip.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o           objects/netbeans.o  objects/main.o objects/memfile.o        -lm -ltinfo -lnsl  -lselinux -lacl -lattr -lgpm -ldl          
link.sh: Linked fine
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic'
touch build-stamp-vim-basic
dh_testdir
touch build-stamp-arch
rm configure-stamp-vim-basic configure-stamp-vim-tiny configure-stamp-vim-nox configure-stamp-vim-gnome configure-stamp-vim-athena configure-stamp-vim-gtk
 fakeroot debian/rules binary-arch
cat debian/tiny/vimrc.tiny.in | sed 's/@VIMCUR@/vim74/' > debian/tiny/vimrc.tiny
dh_testdir
dh_testdir
dh_testdir
dh_testdir
dh_testroot
dh_testroot
dh_testroot
dh_testroot
*** DEBIAN *** INSTALLING VARIANT vim-gnome
dh_installdirs
*** DEBIAN *** INSTALLING VARIANT vim-nox
dh_installdirs
*** DEBIAN *** INSTALLING VARIANT vim-gtk
dh_installdirs
*** DEBIAN *** INSTALLING VARIANT vim-athena
dh_installdirs
mv src/vim-gnome/vim src/vim-gnome/vim.gnome
mv src/vim-nox/vim src/vim-nox/vim.nox
mv src/vim-gtk/vim src/vim-gtk/vim.gtk
# variant-related installations
# variant-related installations
# variant-related installations
# to be kept in sync with those in "install-stamp-vim-basic" target
# to be kept in sync with those in "install-stamp-vim-basic" target
# to be kept in sync with those in "install-stamp-vim-basic" target
for x in install postinst prerm links ; do \
  if [ "vim-gnome" = "vim-nox" ]; then \
    sed -e "s:@PKG@:vim-gnome:" -e "s:@VARIANT@:gnome:g" \
        -e "s:@COMMON@:vim-common:" \
        debian/vim-variant.$x > debian/vim-gnome.$x ;\
  else \
    sed -e "s:@PKG@:vim-gnome:" -e "s:@VARIANT@:gnome:g" \
        -e "s:@COMMON@:vim-gui-common:" \
        debian/vim-variant.$x > debian/vim-gnome.$x ;\
  fi \
done
for x in install postinst prerm links ; do \
  if [ "vim-nox" = "vim-nox" ]; then \
    sed -e "s:@PKG@:vim-nox:" -e "s:@VARIANT@:nox:g" \
        -e "s:@COMMON@:vim-common:" \
        debian/vim-variant.$x > debian/vim-nox.$x ;\
  else \
    sed -e "s:@PKG@:vim-nox:" -e "s:@VARIANT@:nox:g" \
        -e "s:@COMMON@:vim-gui-common:" \
        debian/vim-variant.$x > debian/vim-nox.$x ;\
  fi \
done
for x in install postinst prerm links ; do \
  if [ "vim-gtk" = "vim-nox" ]; then \
    sed -e "s:@PKG@:vim-gtk:" -e "s:@VARIANT@:gtk:g" \
        -e "s:@COMMON@:vim-common:" \
        debian/vim-variant.$x > debian/vim-gtk.$x ;\
  else \
    sed -e "s:@PKG@:vim-gtk:" -e "s:@VARIANT@:gtk:g" \
        -e "s:@COMMON@:vim-gui-common:" \
        debian/vim-variant.$x > debian/vim-gtk.$x ;\
  fi \
done
mv src/vim-athena/vim src/vim-athena/vim.athena
# variant-related installations
sed -e "s:@PKG@:vim-gnome:;s:@VARIANT@:gnome:" \
    debian/lintian/vim-variant > debian/lintian/vim-gnome
# to be kept in sync with those in "install-stamp-vim-basic" target
sed -e "s:@PKG@:vim-gtk:;s:@VARIANT@:gtk:" \
    debian/lintian/vim-variant > debian/lintian/vim-gtk
sed -e "s:@PKG@:vim-nox:;s:@VARIANT@:nox:" \
    debian/lintian/vim-variant > debian/lintian/vim-nox
for x in install postinst prerm links ; do \
  if [ "vim-athena" = "vim-nox" ]; then \
    sed -e "s:@PKG@:vim-athena:" -e "s:@VARIANT@:athena:g" \
        -e "s:@COMMON@:vim-common:" \
        debian/vim-variant.$x > debian/vim-athena.$x ;\
  else \
    sed -e "s:@PKG@:vim-athena:" -e "s:@VARIANT@:athena:g" \
        -e "s:@COMMON@:vim-gui-common:" \
        debian/vim-variant.$x > debian/vim-athena.$x ;\
  fi \
done
echo "vim-gtk: spelling-error-in-binary usr/bin/vim.gtk tEH the" >> debian/lintian/vim-gtk
echo "vim-gnome: spelling-error-in-binary usr/bin/vim.gnome tEH the" >> debian/lintian/vim-gnome
for L in fr it pl ru ja; do \
  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$mandir/$L/man1/\$i.1.gz \$i.$L.1.gz \$mandir/$L/man1/vim.1.gz \\\\\n&:" \
      -i debian/vim-gtk.postinst; \
done
for L in fr it pl ru ja; do \
  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$mandir/$L/man1/\$i.1.gz \$i.$L.1.gz \$mandir/$L/man1/vim.1.gz \\\\\n&:" \
      -i debian/vim-gnome.postinst; \
done
echo "vim-nox: spelling-error-in-binary usr/bin/vim.nox tEH the" >> debian/lintian/vim-nox
for L in fr it pl ru ja; do \
  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$mandir/$L/man1/\$i.1.gz \$i.$L.1.gz \$mandir/$L/man1/vim.1.gz \\\\\n&:" \
      -i debian/vim-nox.postinst; \
done
sed -e "s:@PKG@:vim-athena:;s:@VARIANT@:athena:" \
    debian/lintian/vim-variant > debian/lintian/vim-athena
echo "vim-athena: spelling-error-in-binary usr/bin/vim.athena tEH the" >> debian/lintian/vim-athena
for L in fr it pl ru ja; do \
  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$mandir/$L/man1/\$i.1.gz \$i.$L.1.gz \$mandir/$L/man1/vim.1.gz \\\\\n&:" \
      -i debian/vim-athena.postinst; \
done
sed -i "/@LANG_ALTS@/d" debian/vim-gnome.postinst
sed -i "/@LANG_ALTS@/d" debian/vim-gtk.postinst
sed -i "/@LANG_ALTS@/d" debian/vim-nox.postinst
dh_install
dh_install
dh_install
sed -i "/@LANG_ALTS@/d" debian/vim-athena.postinst
dh_install
dh_installmenu
dh_installmenu
dh_installmenu
dh_installmenu
dh_link
dh_link
dh_link
dh_link
dh_bugfiles -A
dh_bugfiles -A
dh_bugfiles -A
dh_bugfiles -A
touch install-stamp-vim-nox
cat debian/vim-common.install.in | sed 's/@VIMCUR@/vim74/' > debian/vim-common.install
cat debian/vim-common.links.in | sed 's/@VIMCUR@/vim74/' > debian/vim-common.links
cat debian/vim-gui-common.install.in | sed 's/@VIMCUR@/vim74/' > debian/vim-gui-common.install
cat debian/vim-gui-common.links.in | sed 's/@VIMCUR@/vim74/' > debian/vim-gui-common.links
cat debian/vim-runtime.install.in | sed 's/@VIMCUR@/vim74/' > debian/vim-runtime.install
touch install-stamp-vim-gnome
cat debian/vim-runtime.links.in | sed 's/@VIMCUR@/vim74/' > debian/vim-runtime.links
cat debian/vim-runtime.postrm.in | sed 's/@VIMCUR@/vim74/' > debian/vim-runtime.postrm
touch install-stamp-vim-athena
cat debian/vim-runtime.preinst.in | sed 's/@VIMCUR@/vim74/' > debian/vim-runtime.preinst
cat debian/runtime/debian.vim.in | sed 's/@VIMCUR@/vim74/' > debian/runtime/debian.vim
dh_testdir
dh_testdir
dh_testdir
touch install-stamp-vim-gtk
dh_testdir
dh_testroot
dh_testroot
dh_testroot
dh_testroot
*** DEBIAN *** INSTALLING VARIANT vim-tiny
dh_installdirs
dh_strip --dbg-package=vim-dbg
dh_strip --dbg-package=vim-dbg
dh_strip --dbg-package=vim-dbg
mv src/vim-tiny/vim src/vim-tiny/vim.tiny
# variant-related installations
# to be kept in sync with those in "install-stamp-vim-basic" target
for x in install postinst prerm links ; do \
  sed -e "s:@PKG@:vim-tiny:" -e "s:@VARIANT@:tiny:g" \
      -e "s:@COMMON@:vim-common:" \
      debian/vim-variant.$x > debian/vim-tiny.$x ;\
done
sed -e "s:@PKG@:vim-tiny:;s:@VARIANT@:tiny:" \
    debian/lintian/vim-variant > debian/lintian/vim-tiny
for L in fr it pl ru ja; do \
  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$mandir/$L/man1/\$i.1.gz \$i.$L.1.gz \$mandir/$L/man1/vim.1.gz \\\\\n&:" \
      -i debian/vim-tiny.postinst; \
done
sed -i "/@LANG_ALTS@/d" debian/vim-tiny.postinst
# fake help installation for vim-tiny
echo "debian/tiny/doc/	usr/share/vim/vim74" >> debian/vim-tiny.install
echo "debian/tiny/vimrc.tiny	etc/vim" >> debian/vim-tiny.install
echo "etc/vim/vimrc.tiny	usr/share/vim/vimrc.tiny" >> debian/vim-tiny.links
dh_install
dh_compress
dh_compress
dh_compress
dh_installmenu
dh_fixperms
dh_fixperms
dh_fixperms
dh_link
dh_installdeb
dh_bugfiles -A
dh_installdeb
dh_installdeb
touch install-stamp-vim-tiny
dh_testdir
dh_shlibdeps
dh_testroot
*** DEBIAN *** INSTALLING VARIANT vim-basic
dh_installdirs
dh_shlibdeps
dh_shlibdeps
# UPSTREAM INSTALLATION
/usr/bin/make -C src/vim-basic STRIP=: DESTDIR=/<<PKGBUILDDIR>>/debian/tmp \
    installvimbin \
    installtutorbin \
    installgtutorbin \
    installruntime \
    installtools \
    install-languages
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic'
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr
mkdir /<<PKGBUILDDIR>>/debian/tmp
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/bin
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/bin
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/doc
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/doc
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/doc
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/print
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/print
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/print
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/colors
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/colors
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/colors
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/syntax
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/syntax
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/syntax
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/indent
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/indent
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/indent
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/ftplugin
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/ftplugin
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/ftplugin
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/autoload
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/autoload
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/autoload
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/autoload/xml
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/autoload/xml
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/autoload/xml
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/plugin
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/plugin
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/plugin
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tutor
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tutor
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tutor
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/spell
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/spell
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/spell
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/compiler
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/compiler
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/compiler
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/macros
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/macros
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/macros
cp ../runtime/tutor/README* ../runtime/tutor/tutor* /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tutor
rm -f /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tutor/*.info
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tutor/*
if test -f ../runtime/spell/en.latin1.spl; then \
  cp ../runtime/spell/*.spl ../runtime/spell/*.sug ../runtime/spell/*.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/spell; \
  chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/spell/*.spl /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/spell/*.sug /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/spell/*.vim; \
fi
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tools
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tools
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tools
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1 "-fr" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1 "-fr" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1 "-fr.UTF-8" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1 "-it" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1 "-it" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1 "-it.UTF-8" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1 "-ja.UTF-8" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1 "-pl" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1 "-pl" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1 "-pl.UTF-8" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1 "-ru" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1 "-ru.UTF-8" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1/xxd.1
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
make[2]: Nothing to be done for 'first'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
make[2]: Nothing to be done for 'converted'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/lang
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/lang
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/lang
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/keymap
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/keymap
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/keymap
if test -f /<<PKGBUILDDIR>>/debian/tmp/usr/bin/vim; then \
  mv -f /<<PKGBUILDDIR>>/debian/tmp/usr/bin/vim /<<PKGBUILDDIR>>/debian/tmp/usr/bin/vim.rm; \
  rm -f /<<PKGBUILDDIR>>/debian/tmp/usr/bin/vim.rm; \
fi
cp vim /<<PKGBUILDDIR>>/debian/tmp/usr/bin
: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/vim
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin/vim
cp vimtutor /<<PKGBUILDDIR>>/debian/tmp/usr/bin/vimtutor
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin/vimtutor
cp gvimtutor /<<PKGBUILDDIR>>/debian/tmp/usr/bin/gvimtutor
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin/gvimtutor
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1 "" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/vim.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/vimtutor.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/vimdiff.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/evim.1
generating help tags
make[2]: Entering directory '/<<PKGBUILDDIR>>/runtime/doc'
/<<PKGBUILDDIR>>/debian/tmp/usr/bin/vim -u NONE -esX -c "helptags ++t ." -c quit
make[2]: Leaving directory '/<<PKGBUILDDIR>>/runtime/doc'
cd ../runtime/doc; \
	files=`ls *.txt tags`; \
	files="$files `ls *.??x tags-?? 2>/dev/null || true`"; \
	cp $files  /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/doc; \
	cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/doc; \
	chmod 644 $files
cp  ../runtime/doc/*.pl /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/doc
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/doc/*.pl
cp ../runtime/menu.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/menu.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/menu.vim
cp ../runtime/synmenu.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/synmenu.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/synmenu.vim
cp ../runtime/delmenu.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/delmenu.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/delmenu.vim
cp ../runtime/mswin.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/mswin.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/mswin.vim
cp ../runtime/evim.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/evim.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/evim.vim
cp ../runtime/bugreport.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/bugreport.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/bugreport.vim
cp ../runtime/vimrc_example.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/vimrc_example.vim
cp ../runtime/gvimrc_example.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/gvimrc_example.vim
cp ../runtime/filetype.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/filetype.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/filetype.vim
cp ../runtime/ftoff.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/ftoff.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/ftoff.vim
cp ../runtime/scripts.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/scripts.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/scripts.vim
cp ../runtime/ftplugin.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/ftplugin.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/ftplugin.vim
cp ../runtime/ftplugof.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/ftplugof.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/ftplugof.vim
cp ../runtime/indent.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/indent.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/indent.vim
cp ../runtime/indoff.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/indoff.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/indoff.vim
cp ../runtime/optwin.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/optwin.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/optwin.vim
cd ../runtime/print; cp *.ps /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/print
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/print; chmod 644 *.ps
cd ../runtime/colors; cp *.vim README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/colors
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/colors; chmod 644 *.vim README.txt
cd ../runtime/syntax; cp *.vim README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/syntax
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/syntax; chmod 644 *.vim README.txt
cd ../runtime/indent; cp *.vim README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/indent
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/indent; chmod 644 *.vim README.txt
cd ../runtime/autoload; cp *.vim README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/autoload
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/autoload; chmod 644 *.vim README.txt
cd ../runtime/autoload/xml; cp *.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/autoload/xml
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/autoload/xml; chmod 644 *.vim
cd ../runtime/plugin; cp *.vim README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/plugin
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/plugin; chmod 644 *.vim README.txt
cd ../runtime/ftplugin; cp *.vim README.txt logtalk.dict /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/ftplugin
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/ftplugin; chmod 644 *.vim README.txt
cd ../runtime/compiler; cp *.vim README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/compiler
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/compiler; chmod 644 *.vim README.txt
cp -r ../runtime/macros/* /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/macros
chmod 755 `find /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/macros -type d -print`
chmod 644 `find /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/macros -type f -print`
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/macros/less.sh
cvs=`find /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/macros \( -name CVS -o -name AAPDIR -o -name "*.info" \) -print`; \
      if test -n "$cvs"; then \
	 rm -rf $cvs; \
      fi
if test -f /<<PKGBUILDDIR>>/debian/tmp/usr/bin/xxd; then \
  mv -f /<<PKGBUILDDIR>>/debian/tmp/usr/bin/xxd /<<PKGBUILDDIR>>/debian/tmp/usr/bin/xxd.rm; \
  rm -f /<<PKGBUILDDIR>>/debian/tmp/usr/bin/xxd.rm; \
fi
cp xxd/xxd /<<PKGBUILDDIR>>/debian/tmp/usr/bin
: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/xxd
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin/xxd
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1 "" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/xxd.1
cp -r ../runtime/tools/* /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tools
cvs=`find /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tools \( -name CVS -o -name AAPDIR \) -print`; \
      if test -n "$cvs"; then \
	 rm -rf $cvs; \
      fi
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tools/*
perlpath=`./which.sh perl` && sed -e "s+/usr/bin/perl+$perlpath+" ../runtime/tools/efm_perl.pl >/<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tools/efm_perl.pl
awkpath=`./which.sh nawk` && sed -e "s+/usr/bin/nawk+$awkpath+" ../runtime/tools/mve.awk >/<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tools/mve.awk; if test -z "$awkpath"; then \
	awkpath=`./which.sh gawk` && sed -e "s+/usr/bin/nawk+$awkpath+" ../runtime/tools/mve.awk >/<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tools/mve.awk; if test -z "$awkpath"; then \
	awkpath=`./which.sh awk` && sed -e "s+/usr/bin/nawk+$awkpath+" ../runtime/tools/mve.awk >/<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tools/mve.awk; fi; fi
chmod 755 `grep -l "^#!" /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/tools/*`
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1 "-fr" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1/vim.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1/vimtutor.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1/vimdiff.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1/evim.1
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1 "-fr" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1/vim.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1/vimtutor.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1/vimdiff.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1/evim.1
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1 "-fr.UTF-8" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1/vim.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1/vimtutor.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1/vimdiff.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1/evim.1
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1 "-it" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1/vim.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1/vimtutor.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1/vimdiff.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1/evim.1
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1 "-it" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1/vim.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1/vimtutor.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1/vimdiff.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1/evim.1
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1 "-it.UTF-8" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1/vim.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1/vimtutor.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1/vimdiff.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1/evim.1
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1 "-ja.UTF-8" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1/vim.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1/vimtutor.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1/vimdiff.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1/evim.1
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1 "-pl" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1/vim.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1/vimtutor.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1/vimdiff.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1/evim.1
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1 "-pl" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1/vim.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1/vimtutor.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1/vimdiff.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1/evim.1
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1 "-pl.UTF-8" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1/vim.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1/vimtutor.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1/vimdiff.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1/evim.1
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1 "-ru" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1/vim.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1/vimtutor.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1/vimdiff.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1/evim.1
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1 "-ru.UTF-8" /usr/share/vim /usr/share/vim/vim74 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1/vim.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1/vimtutor.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1/vimdiff.1
installing /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1/evim.1
/bin/sh ./installml.sh install "" \
	/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1 vim vimdiff evim ex view rvim rview gvim gview rgvim rgview gvimdiff eview
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1/ex.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1/view.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1/rvim.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1/rview.1
/bin/sh ./installml.sh install "" \
	/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1 vim vimdiff evim ex view rvim rview gvim gview rgvim rgview gvimdiff eview
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1/ex.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1/view.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1/rvim.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1/man1/rview.1
/bin/sh ./installml.sh install "" \
	/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1 vim vimdiff evim ex view rvim rview gvim gview rgvim rgview gvimdiff eview
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1/ex.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1/view.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1/rvim.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8/man1/rview.1
/bin/sh ./installml.sh install "" \
	/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1 vim vimdiff evim ex view rvim rview gvim gview rgvim rgview gvimdiff eview
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1/ex.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1/view.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1/rvim.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1/rview.1
/bin/sh ./installml.sh install "" \
	/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1 vim vimdiff evim ex view rvim rview gvim gview rgvim rgview gvimdiff eview
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1/ex.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1/view.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1/rvim.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1/man1/rview.1
/bin/sh ./installml.sh install "" \
	/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1 vim vimdiff evim ex view rvim rview gvim gview rgvim rgview gvimdiff eview
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1/ex.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1/view.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1/rvim.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8/man1/rview.1
/bin/sh ./installml.sh install "" \
	/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1 vim vimdiff evim ex view rvim rview gvim gview rgvim rgview gvimdiff eview
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1/ex.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1/view.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1/rvim.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ja/man1/rview.1
/bin/sh ./installml.sh install "" \
	/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1 vim vimdiff evim ex view rvim rview gvim gview rgvim rgview gvimdiff eview
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1/ex.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1/view.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1/rvim.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl/man1/rview.1
/bin/sh ./installml.sh install "" \
	/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1 vim vimdiff evim ex view rvim rview gvim gview rgvim rgview gvimdiff eview
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1/ex.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1/view.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1/rvim.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2/man1/rview.1
/bin/sh ./installml.sh install "" \
	/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1 vim vimdiff evim ex view rvim rview gvim gview rgvim rgview gvimdiff eview
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1/ex.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1/view.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1/rvim.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8/man1/rview.1
/bin/sh ./installml.sh install "" \
	/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1 vim vimdiff evim ex view rvim rview gvim gview rgvim rgview gvimdiff eview
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1/ex.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1/view.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1/rvim.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R/man1/rview.1
/bin/sh ./installml.sh install "" \
	/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1 vim vimdiff evim ex view rvim rview gvim gview rgvim rgview gvimdiff eview
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1/ex.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1/view.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1/rvim.1
creating link /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8/man1/rview.1
if test -n "yes" -a -f po/Makefile; then \
   cd po; /usr/bin/make prefix=/<<PKGBUILDDIR>>/debian/tmp/usr LOCALEDIR=/<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/lang \
   INSTALL_DATA=cp FILEMOD=644 install; \
fi
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
for lang in af ca cs de en_GB eo es fi fr ga it ja ko ko.UTF-8 nb nl no pl pt_BR ru sk sv uk vi zh_CN zh_CN.UTF-8 zh_TW zh_TW.UTF-8 cs.cp1250 ja.sjis ja.euc-jp pl.cp1250 pl.UTF-8 ru.cp1251 sk.cp1250 uk.cp1251 zh_CN.cp936; do \
  dir=/<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/lang/$lang/; \
  if test ! -x "$dir"; then \
    mkdir $dir; chmod 755 $dir; \
  fi; \
  dir=/<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/lang/$lang/LC_MESSAGES; \
  if test ! -x "$dir"; then \
    mkdir $dir; chmod 755 $dir; \
  fi; \
  if test -r $lang.mo; then \
    cp $lang.mo $dir/vim.mo; \
    chmod 644 $dir/vim.mo; \
  fi; \
done
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
if test -d ../runtime/lang; then \
   cp ../runtime/lang/README.txt ../runtime/lang/*.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/lang; \
   chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/lang/README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/lang/*.vim; \
fi
if test -d ../runtime/keymap; then \
   cp ../runtime/keymap/README.txt ../runtime/keymap/*.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/keymap; \
   chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/keymap/README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim74/keymap/*.vim; \
fi
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic'
if [ yes = "yes" ]; then \
  if [ -e src/vim-nox/vim ]; then \
    /usr/bin/make -j1 -C src/vim-nox test; \
  else \
    /usr/bin/make -j1 -C src/vim-basic test; \
  fi; \
fi
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic'
/usr/bin/make -f Makefile vim
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic'
make[2]: 'vim' is up to date.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic'
if test -n "yes" -a -f po/Makefile; then \
	cd po; /usr/bin/make -f Makefile check VIM=../vim; \
fi
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq af.po
touch af.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ca.po
dh_gencontrol
touch ca.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq cs.po
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums
dh_builddeb -- -Zxz
touch cs.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq de.po
dpkg-deb: building package `vim-nox' in `../vim-nox_7.4.488-7+deb8u4_armhf.deb'.
dh_gencontrol
touch de.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq en_GB.po
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums
touch en_GB.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq eo.po
dh_builddeb -- -Zxz
dpkg-deb: building package `vim-athena' in `../vim-athena_7.4.488-7+deb8u4_armhf.deb'.
touch eo.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq es.po
touch es.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq fi.po
dh_testdir
dh_testroot
dh_strip --dbg-package=vim-dbg
dh_compress
touch fi.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq fr.po
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
touch fr.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ga.po
dh_testdir
dh_testroot
dh_strip --dbg-package=vim-dbg
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_compress
dh_md5sums
dh_fixperms
dh_builddeb -- -Zxz
dpkg-deb: building package `vim-gnome' in `../vim-gnome_7.4.488-7+deb8u4_armhf.deb'.
touch ga.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq it.po
dh_installdeb
dh_shlibdeps
dh_gencontrol
touch it.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.po
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums
dh_builddeb -- -Zxz
dpkg-deb: building package `vim-tiny' in `../vim-tiny_7.4.488-7+deb8u4_armhf.deb'.
touch ja.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ko.po
touch ko.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ko.UTF-8.po
touch ko.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq nb.po
touch nb.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq nl.po
touch nl.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq no.po
touch no.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.po
touch pl.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pt_BR.po
touch pt_BR.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ru.po
touch ru.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sk.po
touch sk.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sv.po
dh_gencontrol
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums
dh_builddeb -- -Zxz
touch sv.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq uk.po
dpkg-deb: building package `vim-gtk' in `../vim-gtk_7.4.488-7+deb8u4_armhf.deb'.
touch uk.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq vi.po
touch vi.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.UTF-8.po
touch zh_CN.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.po
touch zh_CN.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_TW.UTF-8.po
touch zh_TW.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_TW.po
touch zh_TW.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq cs.cp1250.po
touch cs.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.sjis.po
touch ja.sjis.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.euc-jp.po
touch ja.euc-jp.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.cp1250.po
touch pl.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.UTF-8.po
touch pl.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ru.cp1251.po
touch ru.cp1251.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sk.cp1250.po
touch sk.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq uk.cp1251.po
touch uk.cp1251.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.cp936.po
touch zh_CN.cp936.ck
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
if test vim != vim -a ! -r vim; then \
	ln -s vim vim; \
fi
cd testdir; /usr/bin/make -f Makefile  VIMPROG=../vim  SCRIPTSOURCE=../../runtime
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/testdir'
rm -f test.log
rm -rf test1.failed test.out X* viminfo tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok wrongtermsize
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test1.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test1.in" 57 lines, 2069 charactersFirst a simple test to check if the test script works.

If Vim was not compiled with the +eval feature, the small.vim script will be
set to copy the test.ok file to test.out, so that it looks like the test
succeeded.  Otherwise an empty small.vim is written.  small.vim is sourced by
tests that require the +eval feature or other features that are missing in the
small version.

If Vim was not compiled with the +windows feature, the tiny.vim script will be
set like small.vim above.  tiny.vim is sourced by tests that require the
+windows feature or other features that are missing in the tiny version.

If Vim was not compiled with the +multi_byte feature, the mbyte.vim script will
be set like small.vim above.  mbyte.vim is sourced by tests that require the
+multi_byte feature.
Similar logic is applied to the +mzscheme feature, using mzscheme.vim.
Similar logic is applied to the +lua feature, using lua.vim.

STARTTEST
:" If columns or lines are too small, create wrongtermsize.
:" (Some tests will fail. When columns and/or lines are small)
:if &lines < 24 || &columns < 80 | sp another | w! wrongtermsize | qa! | endif[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 1133 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l


/ENDTEST:w! mzscheme.vim
:w! lua.vim
:"
:" If +multi_byte feature supported, make mbyte.vim empty.
:if has("multi_byte") | sp another | w! mbyte.vim | q | endif
:"
:" If +mzscheme feature supported, make mzscheme.vim empty.
:if has("mzscheme") | sp another | w! mzscheme.vim | q | endif
:"
:" If +lua feature supported, make lua.vim empty.
:if has("lua") | sp another | w! lua.vim | q | endif
:"
:" If +eval feature supported quit here, leaving tiny.vim and small.vim empty.
:" Otherwise write small.vim to skip the test.
:if 1 | q! | endif
:w! small.vim
:" If +windows feature not supported :sp will fail and tiny.vim will be
:" written to skip the test.
:sp another
:wq! tiny.vim
:qa!
ENDTEST
[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h" If columns or lines are too small, create wrongtermsize.
[?25l[?12l[?25h[?25l:[?12l[?25h" (Some tests will fail. When columns and/or lines are small)
[?25l[?12l[?25h[?25l:[?12l[?25hif &lines < 24 || &columns < 80 | sp another | w! wrongtermsize | qa! | endif
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Write a single line to test.out to check if testing works at all.
[?25l[?12l[?25h[?25l:[?12l[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?12l[?25h[?25lthis is a test[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New File] 1 line, 15 characters written[?12l[?25h[?25l:[?12l[?25h" Create small.vim and tiny.vim empty, create mbyte.vim to skip the test.
[?25l[?12l[?25h
[?25l[?12l[?25h[?25l:[?12l[?25hw! small.vim
[?25l"small.vim" [New File] 1 line, 1 character written[?12l[?25h[?25l:[?12l[?25hw! tiny.vim
[?25l"tiny.vim" [New File] 1 line, 1 character written[?12l[?25h[?25le! test.ok
w! test.outqa![?12l[?25h[?25l:[?12l[?25hw! mbyte.vim
[?25l"mbyte.vim" [New File] 4 lines, 28 characters written[?12l[?25h[?25l:[?12l[?25hw! mzscheme.vim
[?25l"mzscheme.vim" [New File] 4 lines, 28 characters written[?12l[?25h[?25l:[?12l[?25hw! lua.vim
[?25l"lua.vim" [New File] 4 lines, 28 characters written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" If +multi_byte feature supported, make mbyte.vim empty.
[?25l[?12l[?25h[?25l:[?12l[?25hif has("multi_byte") | sp another | w! mbyte.vim | q | endif
[?25l"another" [New File]
"mbyte.vim" 0 lines, 0 characters writtene! test.ok[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" If +mzscheme feature supported, make mzscheme.vim empty.
[?25l[?12l[?25h[?25l:[?12l[?25hif has("mzscheme") | sp another | w! mzscheme.vim | q | endif
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" If +lua feature supported, make lua.vim empty.
[?25l[?12l[?25h[?25l:[?12l[?25hif has("lua") | sp another | w! lua.vim | q | endif
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" If +eval feature supported quit here, leaving tiny.vim and small.vim empty.
[?25l[?12l[?25h[?25l:[?12l[?25h" Otherwise write small.vim to skip the test.
[?25l[?12l[?25h[?25l:[?12l[?25hif 1 | q! | endif
[?25l[?1l>[?12l[?25h[?1049lrm -rf X* viminfo
rm -rf test2.failed test.ok test.out X* viminfo
cp test2.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test2.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test2.in" 29 lines, 717 charactersThis is a test if a URL is recognized by "gf", with the cursor before and
after the "://".  Also test ":\\".

STARTTEST
:so small.vim
/^first
/tmp
:call append(0, expand("<cfile>"))
/^second
/URL
:call append(1, expand("<cfile>"))
:if has("ebcdic")
: set isf=@,240-249,/,.,-,_,+,,,$,:,~,\
:else
: set isf=@,48-57,/,.,-,_,+,,,$,:,~,\
:endif
/^third
/name
:call append(2, expand("<cfile>"))
/^fourth
/URL
:call append(3, expand("<cfile>"))[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 336 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST5GdG:wq! test.out
ENDTEST[?12l[?25h[?25l
first test for URL://machine.name/tmp/vimtest2a and other text
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l/[?12l[?25h^first
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l/[?12l[?25htmp
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(0, expand("<cfile>"))
[?25l[?12l[?25h[?25l/[?12l[?25h^second
[?25l
second test for URL://machine.name/tmp/vimtest2b. And other text[?12l[?25h[?25l
/[?12l[?25hURL
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(1, expand("<cfile>"))
[?25l[?12l[?25h[?25l:[?12l[?25hif has("ebcdic")
[?25l
:  [?12l[?25h: set isf=@,240-249,/,.,-,_,+,,,$,:,~,\

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: set isf=@,48-57,/,.,-,_,+,,,$,:,~,\

[?25l:  [?12l[?25h:endif
[?25lSTARTTEST
:so small.vim
/^first
/tmp[?12l[?25h[?25l
/[?12l[?25h^third
[?25l
third test for URL:\\machine.name\vimtest2c and other text[?12l[?25h[?25l
/[?12l[?25hname
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(2, expand("<cfile>"))
[?25l[?12l[?25h[?25l/[?12l[?25h^fourth
[?25l
fourth test for URL:\\machine.name\tmp\vimtest2d, and other text[?12l[?25h[?25l
/[?12l[?25hURL
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(3, expand("<cfile>"))
[?25l[?12l[?25h[?25lThis is a test if a URL is recognized by "gf", with the cursor before and
after the "://".  Also test ":\\".

STARTTEST
:so small.vim[?12l[?25h[?25l29 fewer linesURL:\\machine.name\tmp\vimtest2d
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               29 fewer lines[?12l[?25h[?25l:[?12l[?25hwq! test.out
[?25l"test.out" [New File] 4 lines, 128 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test3.failed test.ok test.out X* viminfo
cp test3.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test3.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test3.in" 2070 lines, 21304 characters/* vim: set cin ts=4 sw=4 : */

Test for 'cindent'

STARTTEST
:so small.vim
:set nocompatible viminfo+=nviminfo modeline
:edit" read modeline
/start of AUTO
=/end of AUTO
ENDTEST

/* start of AUTO matically checked vim: set ts=4 : */
{if (test)cmd1;cmd2;
}

{if (test)cmd1;else[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l/* vim: set cin ts=4 sw=4 : */[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 125 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nocompatible viminfo+=nviminfo modeline
[?25l[?12l[?25h[?25l:[?12l[?25hedit                " read modeline
[?25l"test3.in"2070L, 21304Cif (test)cmd1;cmd2;if (test)cmd1;else[?12l[?25h[?25l/[?12l[?25hstart of AUTO
[?25l[?12l[?25h[?25l/[?12l[?25hend of AUTO
[?25l881 lines to indent...
8500
750
650
550
450
350
250
150
50 lines to indent... 
882 lines indented [?12l[?25h[?25l/^STARTTEST
namespace test test2
{
    1111111111111111111;
}
namespace111111111
{
    111111111111111111;
}

/* end of AUTO */

STARTTEST
:set tw=0 wm=60 columns=80 noai fo=croq
/serious/e
a about life, the universe, and the rest^[
ENDTEST

{

/* this is
 * a real serious important big
 * comment
 */[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 93C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset tw=0 wm=60 columns=80 noai fo=croq
[?25lnamespace test test2
{
    1111111111111111111;
}
namespace111111111
{
    111111111111111111;
}

/* end of AUTO */

STARTTEST
:set tw=0 wm=60 columns=80 noai fo=croq
/serious/e
a about life, the universe, and the rest^[
ENDTEST

{

/* this is
 * a real serious important big
 * comment
 */[?12l[?25h[?25l/[?12l[?25hserious/e
[?25l[?12l[?25h[?25l


-- INSERT --
about life, the
 * universe, and the
 * rest important big[?12l[?25h[?25l
* comment[?12l[?25h[?25l
/^STARTTEST
*/
    /* insert " about life, the universe, and the rest" after "serious" */
}

STARTTEST[?12l[?25h[?25l
:set nocin
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 6L, 78C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/comments
joabout life^[/happens
jothere^[/below
oline^[/this
Ohello^[[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset nocin
[?25l[?12l[?25h[?25l/[?12l[?25hcomments
[?25l{
    /** Testing for comments, without 'cin' set[?12l[?25h[?25l
*/[?12l[?25h[?25l
-- INSERT --
about life[?12l[?25h[?25l
/[?12l[?25hhappens
[?25l/*
* what happens here?[?12l[?25h[?25l
*/[?12l[?25h[?25l
-- INSERT --
there[?12l[?25h[?25l
/[?12l[?25hbelow
[?25l/*the end of the comment, try inserting a line below */[?12l[?25h[?25l
-- INSERT --
line[?12l[?25h[?25l
/[?12l[?25hthis
[?25l/* how aboutthis one */[?12l[?25h[?25l
-- INSERT --hello[?12l[?25h[?25l
this one */[?12l[?25h[?25l
/^STARTTEST
}

STARTTEST[?12l[?25h[?25l
:set cin
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 18C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/vec2
==[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cin
[?25l[?12l[?25h[?25l/[?12l[?25hvec2
[?25l{
    var = this + that + vec[0] * vec[0]+ vec[1] * vec[1]+ vec2[2] * vec[2];[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set cin
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 5L, 51C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1:set cino=}4
/testing1
k2==/testing2
k2==[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cin
[?25l[?12l[?25h[?25l:[?12l[?25hset cino=}4
[?25l[?12l[?25h[?25l/[?12l[?25htesting1
[?25l{asdf asdflkajds f;
    if (tes & ting) {asdf asdf asdf ;asdfa sdf asdf;}
    testing1;[?12l[?25h [?25l

/[?12l[?25htesting2
[?25lif (tes & ting)
    {asdf asdf asdf ;asdfa sdf asdf;}
    testing2;[?12l[?25h [?25l
/^STARTTEST
}

STARTTEST[?12l[?25h[?25l
:set cin
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1:set cino=(0,)20
/main
=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cin
[?25l[?12l[?25h[?25l:[?12l[?25hset cino=(0,)20
[?25l[?12l[?25h[?25l/[?12l[?25hmain
[?25lmain ( int first_par, /*[?12l[?25h[?25l
19 lines to indent...
20indented [?12l[?25h[?25l
* Comment for[?12l[?25h[?25l
/^STARTTEST
* Comment for* first par*/second_par /** Comment for* second par*/);

}

STARTTEST
:set cin
:set cino=es,n0s
/main
=][
ENDTEST

main(void)
{
    /* Make sure that cino=X0s is not parsed like cino=Xs. */
    if (cond)foo();[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cin
[?25l[?12l[?25h[?25l:[?12l[?25hset cino=es,n0s
[?25l[?12l[?25h[?25l/[?12l[?25hmain
[?25l[?12l[?25h[?25l8 lines to indent...
9indented [?12l[?25h
[?25l/^STARTTEST
else
    {bar();
    }
}

STARTTEST[?12l[?25h[?25l
:set cin
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 26C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1:set cino=
]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cin
[?25l[?12l[?25h[?25l:[?12l[?25hset cino=
[?25l[?12l[?25h[?25l{[?12l[?25h[?25l
11 lines to indent...
12indented [?12l[?25h[?25l
do[?12l[?25h[?25l
/^STARTTEST
if (){if ()asdf;elseasdf;}
    } while ();
    cmd;/* this should go under the } */
}

STARTTEST
]]=][
ENDTEST

void f()
{
    if ( k() ) {l();} else { /* Start (two words) end */m();
    }[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 1L, 6C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h


[?25l8 lines to indent...
9indented [?12l[?25h
   [?25l/^STARTTEST
n();
}

STARTTEST[?12l[?25h[?25l
:set cino={s,e-s
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino={s,e-s
[?25l[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
7 lines to indent...
8indented     {[?12l[?25h[?25l
if ( k() )[?12l[?25h[?25l
/^STARTTEST
{l();} else { /* Start (two words) end */m();}
    n();    /* should be under the if () */
}

STARTTEST[?12l[?25h[?25l
:set cino={s,fs
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 25C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
]]=/ foo[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino={s,fs
[?25l[?12l[?25h[?25lvoid bar(void)
{[?12l[?25h[?25l
/[?12l[?25h foo
[?25l30 lines to indent...
31indented     {[?12l[?25h[?25l/^STARTTEST
void func(void)
    {
    a = 1;{b = 2;}
    c = 3;
    d = 4;
    }
/* foo */

STARTTEST
:set cino=
/while
ohere^[
ENDTEST

a()
{
  do {
    a = a +a;
  } while ( a );/* add text under this line */[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 25C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=
[?25l[?12l[?25h[?25l/[?12l[?25hwhile
[?25l[?12l[?25h[?25l
-- INSERT --
here[?12l[?25h[?25l
if ( a )
    i[?12l[?25h[?25l
/^STARTTEST
a;
}

STARTTEST[?12l[?25h[?25l
:set cino= com=
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 109C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/comment
olabel2: b();^Mlabel3 /* post */:^M/* pre */ label4:^Mf(/*com*/);^Mif (/*com*/)^^Mcmd();^[[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino= com=
[?25l[?12l[?25h[?25l/[?12l[?25hcomment
[?25la()
{
label1:/* hmm */// comment[?12l[?25h[?25l
-- INSERT --label2: b();
label3 /* post */:
/* pre */ label4:f(/*com*/);if (/*com*/)cmd();[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set comments& comments^=s:/*,m:**,ex:*/
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 53C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/simple
=5j[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset comments& comments^=s:/*,m:**,ex:*/
[?25l[?12l[?25h[?25l/[?12l[?25hsimple
[?25l/*
  * A simple comment[?12l[?25h[?25l
5 lines to indent...
6indented * A simple comment[?12l[?25h[?25l
*/[?12l[?25h[?25l
/^STARTTEST
/*
** A different comment
*/

STARTTEST[?12l[?25h[?25l
:set cino=c0
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 70C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=c0
[?25l[?12l[?25h[?25l:[?12l[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
4 lines to indent...
5indented [?12l[?25h[?25l
[?12l[?25h[?25l
/^STARTTEST
/*********A comment.
    *********/
}

STARTTEST[?12l[?25h[?25l
:set cino=c0,C1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 73C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=c0,C1
[?25l[?12l[?25h[?25l:[?12l[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
4 lines to indent...
5indented [?12l[?25h[?25l
[?12l[?25h[?25l
/^STARTTEST
/*********
    A comment.
    *********/
}

STARTTEST[?12l[?25h[?25l
:set cino=
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 17C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=
[?25l[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
5 lines to indent...
6indented [?12l[?25h[?25l
c = c1 &&[?12l[?25h[?25l
/^STARTTEST
(c2 ||c3) && c4;
}

STARTTEST[?12l[?25h[?25l
:set cino=(s
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(s
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
5 lines to indent...
6indented [?12l[?25h[?25l
c = c1 &&[?12l[?25h[?25l
/^STARTTEST
(c2 ||c3) && c4;
}

STARTTEST[?12l[?25h[?25l
:set cino=(s,U1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(s,U1  
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
5 lines to indent...
6indented [?12l[?25h[?25l
c = c1 &&[?12l[?25h[?25l
/^STARTTEST
(c2 ||c3) && c4;
}

STARTTEST[?12l[?25h[?25l
:set cino=(0
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
4 lines to indent...
5indented [?12l[?25h[?25l
if (   c1[?12l[?25h[?25l
/^STARTTEST
&& (   c2|| c3))foo;
}

STARTTEST[?12l[?25h[?25l
:set cino=(0,w1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0,w1  
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
4 lines to indent...
5indented [?12l[?25h[?25l
if (   c1[?12l[?25h[?25l
/^STARTTEST
&& (   c2|| c3))foo;
}

STARTTEST[?12l[?25h[?25l
:set cino=(s
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(s
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
8 lines to indent...
9indented [?12l[?25h[?25l
c = c1 && ([?12l[?25h[?25l
/^STARTTEST
c2 ||c3) && c4;
    if (c1 && c2)foo;
}

STARTTEST[?12l[?25h[?25l
:set cino=(s,m1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(s,m1  
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
8 lines to indent...
9indented [?12l[?25h[?25l
c = c1 && ([?12l[?25h[?25l
/^STARTTEST
c2 ||c3
    ) && c4;
    if (c1 && c2
    )foo;
}

STARTTEST[?12l[?25h[?25l
:set cino=b1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=b1
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
9 lines to indent...
10 lines indented [?12l[?25h[?25l
switch (x)[?12l[?25h[?25l
/^STARTTEST
{case 1:a = b;break;default:a = 0;break;
    }
}

STARTTEST[?12l[?25h[?25l
:set cino=(0,W5
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0,W5
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
10 lines to indent...
11indented [?12l[?25h[?25l
invokeme([?12l[?25h[?25l
/^STARTTEST
argu,ment);
    invokeme(argu,ment);
    invokeme(argu,ment);
}

STARTTEST[?12l[?25h[?25l
:set cino=/6
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=/6
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
3 lines to indent...
4indented [?12l[?25h[?25l
statement;[?12l[?25h[?25l
/^STARTTEST
// comment 1// comment 2
}

STARTTEST[?12l[?25h[?25l
:set cino=
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 34C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-12kdd]]/comment 1/+1
==[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=
[?25l[?12l[?25h[?25l==ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
/[?12l[?25hcomment 1/+1
[?25lstatement;// comment 1
    // comment 2[?12l[?25h[?25l    // comment 2[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set cino=g0
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=g0
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lclass CAbc
{[?12l[?25h[?25l
6 lines to indent...
7indented [?12l[?25h[?25l
int Test() { return FALSE; }[?12l[?25h[?25l
/^STARTTEST
public: // comment
    void testfall();
protected:
    void testfall();
};

STARTTEST[?12l[?25h[?25l
:set cino=(0,gs,hs
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 29C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0,gs,hs
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lclass Foo : public Bar
{[?12l[?25h[?25l
5 lines to indent...
6indented [?12l[?25h[?25l
public:[?12l[?25h[?25l
/^STARTTEST
virtual void method1(void) = 0;virtual void method2(int arg1,int arg2,int arg3) = 0;
};

STARTTEST[?12l[?25h[?25l
:set cino=+20
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 24C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=+20
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid
foo()
{[?12l[?25h[?25l
4 lines to indent...
5indented [?12l[?25h[?25l
if (a)[?12l[?25h[?25l
/^STARTTEST
{
    } elseasdf;
}

STARTTEST[?12l[?25h[?25l
:set cino=(0,W2s
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0,W2s
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25l
{[?12l[?25h[?25l
34 lines to indent...
35indented [?12l[?25h[?25l
averylongfunctionnamelongfunctionnameaverylongfunctionname()->asd([?12l[?25h[?25l
/^STARTTEST
dec)->asdfasdfasdf(asdfadsf,asdfasdf,asdfasdf,),func(asdfadf,asdfasdf),asdasdf);
}

STARTTEST
:set cino=M1
2kdd]]=][
ENDTEST

int main ()
{
    if (cond1 &&cond2)foo;
}[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=M1
[?25l[?12l[?25h[?25l
[?12l[?25h[?25l4 lines to indent...
5indented [?12l[?25h
   [?25l/^STARTTEST

STARTTEST[?12l[?25h[?25l
:set cino=(0,ts
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd2j=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0,ts
[?25l[?12l[?25h[?25l2kdd2j=][ENDTEST[?12l[?25h

[?25l
7 lines to indent...
8indented [?12l[?25h[?25l
void func(int a[?12l[?25h[?25l
/^STARTTEST
#if defined(FOO), int b, int c
#endif)
{
}

STARTTEST[?12l[?25h[?25l
:set cino=(0
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd2j=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0
[?25l[?12l[?25h[?25l2kdd2j=][ENDTEST[?12l[?25h

[?25l
8 lines to indent...
9indented [?12l[?25h[?25l
void[?12l[?25h[?25l
/^STARTTEST
func(int a
#if defined(FOO), int b, int c
#endif
    )
{
}

STARTTEST[?12l[?25h[?25l
:set cino&
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 22C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd2j=7][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino&
[?25l[?12l[?25h[?25l2kdd2j=7][
ENDTEST[?12l[?25h

[?25l
69 lines to indent...
50
7indented [?12l[?25h[?25l
void func(void)[?12l[?25h[?25l
/^STARTTEST
int a,int b)
{
}void
func6(int a)
{
}

STARTTEST
:set cino&
:set cino+=l1
2kdd2j=][
ENDTEST

void func(void)
{
    int tab[] =
    {1, 2, 3,4, 5, 6};[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino&
[?25l[?12l[?25h[?25l:[?12l[?25hset cino+=l1
[?25l[?12l[?25h[?25l
[?12l[?25h

[?25l22 lines to indent...
23indented [?12l[?25h
[?25l/^STARTTEST
break;case baz: {printf("baz");break;}case quux:printf("But don't break the indentation of this instruction\n");break;
    }
}

STARTTEST
:set cino&
2kdd2j=][
ENDTEST

void func(void)
{
    cout << "a"
    << "b"
    << ") :"
    << "c";
}[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino&
[?25l[?12l[?25h[?25l
[?12l[?25h

[?25l6 lines to indent...
7indented     << "b"
        << ") :"
        << "c";[?12l[?25h
[?25l/^STARTTEST

STARTTEST[?12l[?25h[?25l
:set com=s1:/*,m:*,ex:*/
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 38C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
]]3jofoo();^[[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset com=s1:/*,m:*,ex:*/
[?25l[?12l[?25h[?25lvoid func(void)
{[?12l[?25h[?25l/** This is a comment.*/[?12l[?25h[?25l
-- INSERT --
foo();[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set cino&
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd2j=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino&
[?25l[?12l[?25h[?25l2kdd2j=][ENDTEST[?12l[?25h

[?25l
8 lines to indent...
9indented [?12l[?25h[?25l
void func(void)[?12l[?25h[?25l
/^STARTTEST
{
    for (int i = 0; i < 10; ++i)if (i & 1) {foo(1);} elsefoo(0);
    baz();
}

STARTTEST[?12l[?25h[?25l
:set cino=k2s,(0
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd3j=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2s,(0
[?25l[?12l[?25h[?25l2kdd3j=][ENDTEST[?12l[?25h[?25l
void func(void)[?12l[?25h[?25l
23 lines to indent...
24indented [?12l[?25h[?25l
{[?12l[?25h[?25l
/^STARTTEST
if (   c1&& (      c2|| c3))foo;
    func( c1&& (     c2|| c3))foo;
}

STARTTEST
:set cino=k2s,(s
2kdd3j=][
ENDTEST

void func(void)
{
    if (condition1
    && condition2)
    action();
    function(argument1
    && argument2);[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2s,(s
[?25l[?12l[?25h[?25l
[?12l[?25h


[?25l23 lines to indent...
24indented         && condition2)
        action();    && argument2);[?12l[?25h
[?25l/^STARTTEST
if (   c1&& (      c2|| c3))foo;
    func(   c1&& (      c2|| c3))foo;
}

STARTTEST
:set cino=k2s,(s,U1
2kdd3j=][
ENDTEST

void func(void)
{
    if (condition1
    && condition2)
    action();
    function(argument1
    && argument2);[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2s,(s,U1
[?25l[?12l[?25h[?25l
[?12l[?25h


[?25l24 lines to indent...
25indented         && condition2)
        action();    && argument2);[?12l[?25h
[?25l/^STARTTEST
&& (c22345|| c3))printf("foo\n");c = c1 &&(c2 ||c3) && c4;
}

STARTTEST
:set cino=k2s,(0,W4
2kdd3j=][
ENDTEST

void func(void)
{
    if (condition1
    && condition2)
    action();
    function(argument1
    && argument2);[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2s,(0,W4
[?25l[?12l[?25h[?25l
[?12l[?25h


[?25l29 lines to indent...
30indented         && condition2)
        action();         && argument2);[?12l[?25h
[?25l/^STARTTEST
&& (   c2|| c3))foo;a_long_line(argument,argument);
    a_short_line(argument,argument);
}

STARTTEST
:set cino=k2s,u2
2kdd3j=][
ENDTEST

void func(void)
{
    if (condition1
    && condition2)
    action();
    function(argument1
    && argument2);[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2s,u2
[?25l[?12l[?25h[?25l
[?12l[?25h


[?25l18 lines to indent...
19indented         && condition2)
        action();        && argument2);[?12l[?25h
[?25l/^STARTTEST
foo;
    if (c1 &&(c2 || c3))
    {
    }
    if (c123456789&& (c22345|| c3))printf("foo\n");
}

STARTTEST
:set cino=k2s,(0,w1
2kdd3j=][
ENDTEST

void func(void)
{
    if (condition1
    && condition2)
    action();
    function(argument1
    && argument2);[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2s,(0,w1
[?25l[?12l[?25h[?25l
[?12l[?25h


[?25l27 lines to indent...
28indented         && condition2)
        action();         && argument2);[?12l[?25h
[?25l/^STARTTEST
if (   c1&& (      c2|| c3))foo;
    func(   c1&& (      c2|| c3))foo;
}

STARTTEST
:set cino=k2,(s
2kdd3j=][
ENDTEST

void func(void)
{
    if (condition1&& condition2)action();
    function(argument1&& argument2);[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2,(s
[?25l[?12l[?25h[?25l
[?12l[?25h


[?25l14 lines to indent...
15indented [?12l[?25h
[?25l/^STARTTEST
if (c1 && (c2 ||c3))foo;
    if (c1 &&(c2 || c3))
    {
    }
}

STARTTEST[?12l[?25h[?25l
:set cino=N-s
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 47C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/^NAMESPACESTART
=/^NAMESPACEEND[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=N-s
[?25l[?12l[?25h[?25l/[?12l[?25h^NAMESPACESTART
[?25lNAMESPACESTART[?12l[?25h[?25l
/[?12l[?25h^NAMESPACEEND
[?25l61 lines to indent...
50
62indented [?12l[?25h[?25l/^STARTTEST
namespace test test2
{
    1111111111111111111;
}
namespace111111111
{
    111111111111111111;
}
NAMESPACEEND


STARTTEST
:set cino=j1,J1
/^JSSTART
=/^JSEND
ENDTEST

JSSTART
var bar = {
foo: {
that: this,
some: ok,
},[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=j1,J1
[?25l[?12l[?25h[?25l/[?12l[?25h^JSSTART
[?25l[?12l[?25h[?25l/[?12l[?25h^JSEND
[?25l12 lines to indent...
13indented     foo: {
        that: this,
        some: ok,
    },[?12l[?25h[?25l/^STARTTEST
"bar":{a : 2,b: "123abc",x: 4,"y": 5
    }
}
JSEND

STARTTEST[?12l[?25h[?25l
:set cino=j1,J1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/^JSSTART
=/^JSEND[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=j1,J1
[?25l[?12l[?25h[?25l/[?12l[?25h^JSSTART
[?25lJSSTART[?12l[?25h[?25l
/[?12l[?25h^JSEND
[?25l5 lines to indent...
6indented [?12l[?25h[?25l/^STARTTEST
var foo = [
    1,
    2,
    3
];
JSEND

STARTTEST[?12l[?25h[?25l
:set cino=j1,J1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/^JSSTART
=/^JSEND[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=j1,J1
[?25l[?12l[?25h[?25l/[?12l[?25h^JSSTART
[?25lJSSTART[?12l[?25h[?25l
/[?12l[?25h^JSEND
[?25l7 lines to indent...
8indented [?12l[?25h[?25l/^STARTTEST
function bar() {
    var foo = [1,2,3
    ];
}
JSEND

STARTTEST[?12l[?25h[?25l
:set cino=j1,J1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/^JSSTART
=/^JSEND[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=j1,J1
[?25l[?12l[?25h[?25l/[?12l[?25h^JSSTART
[?25lJSSTART[?12l[?25h[?25l
/[?12l[?25h^JSEND
[?25l58 lines to indent...
509indented [?12l[?25h[?25l/^STARTTEST
return false;}_arguments[0]=options;method.apply(this,_arguments);}});
    }

})(jQuery);
JSEND

STARTTEST
:set cino=j1,J1
/^JSSTART
=/^JSEND
ENDTEST

JSSTART
function init(options) {
$(this).data(class_name+'_public',$.extend({},{
foo: 'bar',
bar: 2,
foobar: [[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=j1,J1
[?25l[?12l[?25h[?25l/[?12l[?25h^JSSTART
[?25l[?12l[?25h[?25l/[?12l[?25h^JSEND
[?25l14 lines to indent...
15indented     $(this).data(class_name+'_public',$.extend({},{
        foo: 'bar',
        bar: 2,
        foobar: [[?12l[?25h[?25l/^STARTTEST
1,2,3],callback: function(){return true;}
    }, options||{}));
}
JSEND

STARTTEST[?12l[?25h[?25l
:set cino=j1,J1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/^JSSTART
=/^JSEND[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=j1,J1
[?25l[?12l[?25h[?25l/[?12l[?25h^JSSTART
[?25lJSSTART[?12l[?25h[?25l
/[?12l[?25h^JSEND
[?25l16 lines to indent...
17indented [?12l[?25h[?25l/^STARTTEST
(function($){
    function init(options) {$(this).data(class_name+'_public',$.extend({},{foo: 'bar',bar: 2,foobar: [1,2,3],callback: function(){return true;}}, options||{}));
    }
})(jQuery);
JSEND

STARTTEST[?12l[?25h[?25l
:g/^STARTTEST/.,/^ENDTEST/d
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 61C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l216 fewer lines}JSENDJSSTART(function($){function init(options) {$(this).data(class_name+'_public',$.extend({},{: 'bar',bar: 2,foobar: [1,    2,    3],callback: function(){        return true;
     }
        }, options||{}));
    }
})(jQuery);
JSEND[?12l[?25h[?25l:[?12l[?25h1;/start of AUTO/,$wq! test.out
[?25l"test.out" [New] 1834L, 18193C written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test4.failed test.ok test.out X* viminfo
cp test4.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test4.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test4.in" 31 lines, 839 charactersTest for autocommand that changes current buffer on BufEnter event.
Check if modelines are interpreted for the correct buffer.

STARTTEST
:so small.vim
:set nocompatible viminfo+=nviminfo
:au BufEnter Xxx brew
/start of
:.,/end of/w! Xxx   " write test file Xxx
:set ai modeline modelines=3
:sp Xxx" split to Xxx, autocmd will do :brew
G?this is a
othis should be auto-indented^[
:" Append text with autoindent to this file
:au! BufEnter Xxx
:buf Xxx" go to Xxx, no autocmd anymore
G?this is a
othis should be in column 1^[:wq " append text without autoindent to Xxx
G:r Xxx" include Xxx in the current file
:?startstart?,$w! test.out
:qa!
ENDTEST[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for autocommand that changes current buffer on BufEnter event.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 557 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nocompatible viminfo+=nviminfo
[?25l[?12l[?25h[?25l:[?12l[?25hau BufEnter Xxx brew
[?25l[?12l[?25h[?25l/[?12l[?25hstart of
[?25lstartstart
start of test file Xxx[?12l[?25h[?25l
:[?12l[?25h.,/end of/w! Xxx   " write test file Xxx
[?25l"Xxx" [New] 7L, 124C written[?12l[?25h[?25l:[?12l[?25hset ai modeline modelines=3
[?25l[?12l[?25h[?25l:[?12l[?25hsp Xxx             " split to Xxx, autocmd will do :brew
[?25l"Xxx" 7L, 124CTest for autocommand that changes current buffer on BufEnter event.
Check if modelines are interpreted for the correct buffer.STARTTESTso small.vim:set nocompatible viminfo+=nviminfo
:au BufEnter Xxx brew/start of.,/end of/w! Xxx   " write test file Xxx:set ai modeline modelines=3
:sp Xxx             " split to Xxx, autocmd will do :brew
test4.in                                                                        buf Xxx            " go to Xxx, no autocmd anymore
G?this is aothis should be in column 1^[:wq " append text without autoindent to Xxx
G:r Xxx             " include Xxx in the current file:?startstart?,$w! test.outqa!ENDTESTstartstart of test file Xxx
test4.in                                                                        test4.in" line 1 of 31 --3%-- col 1[?12l[?25h[?25l:qa!ENDTESTstartstart
start of test file Xxx
vim: set noai :        this is a test
        this is a test
        this is a test        this is a testend of test file Xxx[?12l[?25h[?25l?[?12l[?25hthis is a
[?25l[?12l[?25h[?25l-- INSERT --        this should be auto-indented[+][+][?12l[?25h[?25l
end of test file Xxx[?12l[?25h[?25l:[?12l[?25h                   " Append text with autoindent to this file
[?25l[?12l[?25h[?25l:[?12l[?25hau! BufEnter Xxx
[?25l[?12l[?25h[?25l:[?12l[?25hbuf Xxx            " go to Xxx, no autocmd anymore
[?25l"Xxx" 7L, 124Cstart of test file Xxx
vim: set noai :
        this is a test
        this is a test
        this is a test

end of test file Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxxt          [?12l[?25h[?25l?[?12l[?25hthis is a
[?25l[?12l[?25h[?25l-- INSERT --this should be in column 1[+][?12l[?25h[?25l:[?12l[?25hwq " append text without autoindent to Xxx
[?25l"Xxx8L, 151C writtenSTARTTEST:so small.vim:set nocompatible viminfo+=nviminfo
:au BufEnter Xxx brew/start of:.,/end of/w! Xxx   " write test file Xxx
:set ai modeline modelines=3
:sp Xxx             " split to Xxx, autocmd will do :brewG?this is aothis should be auto-indented^[:                   " Append text with autoindent to this fileau! BufEnter Xxx:buf Xxx   " go to Xxx, no autocmd anymore
G?this is aothis should be in column 1^[:wq " append text without autoindent to Xxx
G:r Xxx             " include Xxx in the current file
:?startstart?,$w! test.out
:qa!ENDTESTstarstart of test file Xxx[?12l[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a testthis should be auto-indented
end of test file Xxx[?12l[?25h[?25l
:[?12l[?25hr Xxx             " include Xxx in the current file
[?25l"Xxx" 8L, 151C
start of test file Xxx[?12l[?25h[?25l
:[?12l[?25h?startstart?,$w! test.out
[?25l"test.out" [New] 17L, 316C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test5.failed test.ok test.out X* viminfo
cp test5.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test5.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test5.in" 29 lines, 949 charactersTest for autocommand that deletes the current buffer on BufLeave event.
Also test deleting the last buffer, should give a new, empty buffer.

STARTTEST
:so small.vim
:au BufLeave Xxx bwipe
/start of
:.,/end of/w! Xxx" write test file Xxx
:sp Xxx" split to Xxx
:bwipe" delete buffer Xxx, now we're back here
G?this is a
othis is some more text^[
:" Append some text to this file
:?start?,$w! test.out" Write current file contents
:bwipe test.out" delete alternate buffer
:au bufleave test5.in bwipe
:bwipe!" delete current buffer, get an empty one
ithis is another test line^[:w >>test.out
:" append an extra line to the output file
:qa!
ENDTEST

start of test file Xxx[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for autocommand that deletes the current buffer on BufLeave event.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 664 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hau BufLeave Xxx bwipe
[?25l[?12l[?25h[?25l/[?12l[?25hstart of
[?25l[?12l[?25h[?25l:[?12l[?25h.,/end of/w! Xxx               " write test file Xxx
[?25l"Xxx" [New File] 7 lines, 124 characters written[?12l[?25h[?25l:[?12l[?25hsp Xxx                         " split to Xxx
[?25l"Xxx" 7 lines, 124 charactersstart of test file Xxxvim: set noai :this is a test
        this is a test
        this is a test
        this is a test
end of test file Xxx
~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx                                                                             ?start?,$w! test.outWrite current file contentsbwipe test.out      delete alternate bufferau bufleave test5.in bwipebwipe!                         " delete current buffer, get an empty one
ithis is another test line^[:w >>test.out:                               " append an extra line to the output file
:qa!ENDTESTstart of test file Xxx
test5.in                                                                        [?12l[?25h[?25l:[?12l[?25hbwipe                          " delete buffer Xxx, now we're back here
[?25lTest for autocommand that deletes the current buffer on BufLeave event.
Also test deleting the last buffer, should give a new, empty buffer.STARTTEST:so small.vim:au BufLeave Xxx bwipe
/start of:.,/end of/w! Xxx               " write test file Xxx:sp Xxx                         " split to Xxx:bwipe                          " delete buffer Xxx, now we're back hereG?this is aothis is some more text^[                    Append some text to this file
:?start?,$w! test.outWrite current file contents
:bwipe test.out                 " delete alternate buffer
:au bufleave test5.in bwipe:bwipe!                         " delete current buffer, get an empty one
ithis is another test line^[:w >>test.out   " append an extra line to the output file
:qa!ENDTESTstart of test file Xxx"test5.in" line 23 of 29 --79%-- col 1[?12l[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a test
end of test file Xxx[?12l[?25h[?25l
?[?12l[?25hthis is a
[?25l[?12l[?25h[?25l
this is some more text[?12l[?25h[?25l
end of test file Xxx[?12l[?25h[?25l
:[?12l[?25h                               " Append some text to this file
[?25l[?12l[?25h[?25l:[?12l[?25h?start?,$w! test.out           " Write current file contents
[?25l"test.out" [New File] 8 lines, 147 characters written[?12l[?25h[?25l:[?12l[?25hbwipe test.out                 " delete alternate buffer
[?25l[?12l[?25h[?25l:[?12l[?25hau bufleave test5.in bwipe
[?25l[?12l[?25h[?25l:[?12l[?25hbwipe!                         " delete current buffer, get an empty one
[?25lError detected while processing BufLeave Auto commands for "test5.in":
E89: No write since last change for buffer 1 (add ! to override)

Press ENTER or type command to continue[?12l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25lthis is another test line[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1 line, 26 characters appended[?12l[?25h[?25l:[?12l[?25h                               " append an extra line to the output file
[?25l[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test6.failed test.ok test.out X* viminfo
cp test6.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test6.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test6.in" 24 lines, 739 charactersTest for autocommand that redefines the argument list, when doing ":all".

STARTTEST
:so small.vim
:au BufReadPost Xxx2 next Xxx2 Xxx1
/^start of
A1^[:.,/end of/w! Xxx1    " write test file Xxx1
$r2:.,/end of/w! Xxx2     " write test file Xxx2
$r3:.,/end of/w! Xxx3     " write test file Xxx3
:next! Xxx1 Xxx2 Xxx3     " redefine arglist; go to Xxx1
:all" open window for all args
:w! test.out" Write contents of Xxx1
^W^W^W^W:w >>test.out     " Append contents of last window (Xxx1)
:rew" should now be in Xxx2
:w >>test.out" Append contents of Xxx2
:qa!
ENDTEST

start of test file Xxxthis is a testthis is a testthis is a testthis is a test[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for autocommand that redefines the argument list, when doing ":all".[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 13 lines, 537 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hau BufReadPost Xxx2 next Xxx2 Xxx1
[?25l[?12l[?25h[?25l/[?12l[?25h^start of
[?25l[?12l[?25h[?25l1[?12l[?25h[?25l:[?12l[?25h.,/end of/w! Xxx1    " write test file Xxx1
[?25l"Xxx1" [New File] 6 lines, 109 characters written[?12l[?25h[?25l2[?12l[?25h[?25l:[?12l[?25h.,/end of/w! Xxx2     " write test file Xxx2
[?25l"Xxx2" [New File] 6 lines, 109 characters written[?12l[?25h[?25l3[?12l[?25h[?25l:[?12l[?25h.,/end of/w! Xxx3     " write test file Xxx3
[?25l"Xxx3" [New File] 6 lines, 109 characters written[?12l[?25h[?25l:[?12l[?25hnext! Xxx1 Xxx2 Xxx3     " redefine arglist; go to Xxx1
[?25l"Xxx1"6 lines, 109 charactersstart of test file Xxx1this is a test
        this is a test
        this is a test
        this is a testend of test file Xxx
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hall                      " open window for all args
[?25l"Xxx2"6 lines, 109 characters

"Xxx2" 6 lines, 109 characters

"Xxx1" line 1 of 6 --16%-- col 1 (file (3) of 2)

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hw! test.out              " Write contents of Xxx1
[?25l"test.out" [New File] 6 lines, 109 characters written

Press ENTER or type command to continue[?12l[?25h[?25lstart of test file Xxx1this is a testthis is a testthis is a testthis is a test
end of test file Xxx
~                                                                               Xxx1                                                                            start of test file Xxx2this is a testthis is a testthis is a testthis is a test
end of test file Xxx
Xxx2                                                                            start of test file Xxx1this is a testthis is a testthis is a testthis is a test
end of test file Xxx
~                                                                               Xxx1                                                                            [?12l[?25hXxx1                                                                             Xxx2                                                                            Xxx2                                                                             Xxx1                                                                            [?25l:[?12l[?25hw >>test.out     " Append contents of last window (Xxx1)
[?25l"test.out" 6 lines, 109 characters appended[?12l[?25h[?25l:[?12l[?25hrew                      " should now be in Xxx2
[?25l"Xxx2" line 1 of 6 --16%-- col 1 (file 1 of 2)22 [?12l[?25h[?25l:[?12l[?25hw >>test.out             " Append contents of Xxx2
[?25l"test.out" 6 lines, 109 characters appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test7.failed test.ok test.out X* viminfo
cp test7.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test7.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test7.in" 26 lines, 675 charactersTest for autocommand that changes the buffer list, when doing ":ball".

STARTTEST
:so small.vim
/^start of
A1^[:.,/end of/w! Xxx1   " write test file Xxx1
:sp Xxx1
:close
$r2:.,/end of/w! Xxx2    " write test file Xxx2
:sp Xxx2
:close
$r3:.,/end of/w! Xxx3    " write test file Xxx3
:sp Xxx3
:close
:au BufReadPost Xxx2 bwipe
$r4:ball" open window for all args, close Xxx2
:.,$w! test.out" Write contents of this file
^W^W:w >>test.out" Append contents of second window (Xxx1)
^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)
:qa!
ENDTEST

start of test file Xxx[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for autocommand that changes the buffer list, when doing ":ball".[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 508 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l/[?12l[?25h^start of
[?25l[?12l[?25h[?25l1[?12l[?25h[?25l:[?12l[?25h.,/end of/w! Xxx1   " write test file Xxx1
[?25l"Xxx1" [New File] 4 lines, 77 characters written[?12l[?25h[?25l:[?12l[?25hsp Xxx1
[?25l"Xxx1" 4 lines, 77 charactersstart of test file Xxx1this is a test
        this is a test
end of test file Xxx
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx1                                                                            closeau BufReadPost Xxx2 bwipe
$r4:ball                 " open window for all args, close Xxx2
:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)
:qa!ENDTESTstart of test file Xxx1
test7.in [+]                                                                    [?12l[?25h[?25l:[?12l[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3
:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2
:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)
:qa!ENDTESTstart of test file Xxx1[?12l[?25h[?25l2[?12l[?25h[?25l:[?12l[?25h.,/end of/w! Xxx2    " write test file Xxx2
[?25l"Xxx2" [New File] 4 lines, 77 characters written[?12l[?25h[?25l:[?12l[?25hsp Xxx2
[?25l"Xxx2" 4 lines, 77 charactersstart of test file Xxx2this is a test
        this is a test
end of test file Xxx
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx2                                                                            closeau BufReadPost Xxx2 bwipe
$r4:ball                 " open window for all args, close Xxx2
:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)
:qa!ENDTESTstart of test file Xxx2
test7.in [+]                                                                    [?12l[?25h[?25l:[?12l[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3
:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2
:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)
:qa!ENDTESTstart of test file Xxx2[?12l[?25h[?25l3[?12l[?25h[?25l:[?12l[?25h.,/end of/w! Xxx3    " write test file Xxx3
[?25l"Xxx3" [New File] 4 lines, 77 characters written[?12l[?25h[?25l:[?12l[?25hsp Xxx3
[?25l"Xxx3" 4 lines, 77 charactersstart of test file Xxx3this is a test
        this is a test
end of test file Xxx
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx3                                                                            closeau BufReadPost Xxx2 bwipe
$r4:ball                 " open window for all args, close Xxx2
:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)
:qa!ENDTESTstart of test file Xxx3
test7.in [+]                                                                    [?12l[?25h[?25l:[?12l[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3
:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2
:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)
:qa!ENDTESTstart of test file Xxx3[?12l[?25h[?25l:[?12l[?25hau BufReadPost Xxx2 bwipe
[?25l[?12l[?25h[?25l4[?12l[?25h[?25l:[?12l[?25hball                 " open window for all args, close Xxx2
[?25l"Xxx1"4 lines, 77 characters

"Xxx2" 4 lines, 77 characters

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h.,$w! test.out          " Write contents of this file
[?25l"test.out" [New File] 4 lines, 77 characters written

Press ENTER or type command to continue[?12l[?25h[?25l:close
:au BufReadPost Xxx2 bwipe
$r4:ball" open window for all args, close Xxx2
:.,$w! test.out" Write contents of this file
^W^W:w >>test.out" Append contents of second window (Xxx1)
^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)
:qa!
ENDTEST

start of test file Xxx4
test7.in [+]                                                                    start of test file Xxx1this is a testthis is a test
end of test file Xxx
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx1                                                                            [?12l[?25h
test7.in [+]                                                                     Xxx1                                                                            [?25l:[?12l[?25hw >>test.out        " Append contents of second window (Xxx1)
[?25l"test.out" 4 lines, 77 characters appended[?12l[?25htest7.in [+]                                                                    Xxx1                                                                             [?25l:[?12l[?25h/^start of/,$w >>test.out   " Append contents of last window (this file)
[?25lsearch hit BOTTOM, continuing at TOP"test.out" 4 lines, 77 characters appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test8.failed test.ok test.out X* viminfo
cp test8.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test8.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test8.in" 46 lines, 1236 charactersTest for BufWritePre autocommand that deletes or unloads the buffer.
Test for BufUnload autocommand that unloads all other buffers.

STARTTEST
:so small.vim
:au BufWritePre Xxx1 bunload
:au BufWritePre Xxx2 bwipe
/^start of
A1^[:.,/end of/w! Xxx1  " write test file Xxx1
$r2:.,/end of/w! Xxx2   " write test file Xxx2
:e! Xxx2" edit Xxx2
:bdel test8.in" delete this file from the buffer list
:e Xxx1" edit Xxx1
:w" write it, will unload it and give an error msg
:w! test.out" Write contents of this file
:e! Xxx2" start editing Xxx2
:bwipe test.out" remove test.out from the buffer list
:w" write it, will delete the buffer and give an error msg:w >>test.out" Append contents of this file
:au! BufWritePre
:func CloseAll()
  let i = 0
  while i <= bufnr('$')[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for BufWritePre autocommand that deletes or unloads the buffer.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1054 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTif i != bufnr('%') && bufloaded(i)exe  i . "bunload"
    endif
    let i += 1
  endwhile
endfunc
:func WriteToOut()
  edit! test.out
  $put ='VimLeave done'
  write
endfunc
:set viminfo='100,nviminfo
:au BufUnload * call CloseAll()
:au VimLeave * call WriteToOut()
:e small.vim
:sp mbyte.vim
:q
:qa!
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hau BufWritePre Xxx1 bunload
[?25l[?12l[?25h[?25l:[?12l[?25hau BufWritePre Xxx2 bwipe
[?25l[?12l[?25h[?25l/[?12l[?25h^start of
[?25l
start of Xxx[?12l[?25h[?25l1[?12l[?25h[?25l
:[?12l[?25h.,/end of/w! Xxx1  " write test file Xxx1
[?25l"Xxx1" [New File] 3 lines, 31 characters written[?12l[?25h[?25l2[?12l[?25h[?25l:[?12l[?25h.,/end of/w! Xxx2   " write test file Xxx2
[?25l"Xxx2" [New File] 3 lines, 31 characters written[?12l[?25h[?25l:[?12l[?25he! Xxx2                " edit Xxx2
[?25l"Xxx2" 3 lines, 31 charactersstart of Xxx2
        testend of Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hbdel test8.in^I^I" delete this file from the buffer list
[?25l[?12l[?25h[?25l:[?12l[?25he Xxx1                 " edit Xxx1
[?25l"Xxx1" 3 lines, 31 characters1
[?12l[?25h[?25l:[?12l[?25hw                      " write it, will unload it and give an error msg
[?25l"Xxx2"3 lines, 31 characters

E203: Autocommands deleted or unloaded buffer to be written

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hw! test.out            " Write contents of this file
[?25l"test.out" [New File] 3 lines, 31 characters written

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25he! Xxx2                " start editing Xxx2
[?25l"Xxx2" 3 lines, 31 charactersstart of Xxx2test
end of Xxx"Xxx2" 3 lines, 31 characters[?12l[?25h[?25l:[?12l[?25hbwipe test.out         " remove test.out from the buffer list
[?25l[?12l[?25h[?25l:[?12l[?25hw                      " write it, will delete the buffer and give an error ms

g[?25l"Xxx1"3 lines, 31 characters
E203: Autocommands deleted or unloaded buffer to be written

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hw >>test.out           " Append contents of this file
[?25l"test.out" 3 lines, 31 characters appended

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hau! BufWritePre
[?25lstart of Xxx1test
end of Xxx[?12l[?25h[?25l:[?12l[?25hfunc CloseAll()
[?25l
:  [?12l[?25h  let i = 0

[?25l:  [?12l[?25h  while i <= bufnr('$')

[?25l:    [?12l[?25h    if i != bufnr('%') && bufloaded(i)

[?25l:      [?12l[?25h      exe  i . "bunload"

[?25l:      [?12l[?25h    endif

[?25l:    [?12l[?25h    let i += 1

[?25l:    [?12l[?25h  endwhile

[?25l:  [?12l[?25hendfunc
[?25lstart of Xxx1test
end of Xxx
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hfunc WriteToOut()
[?25l
:  [?12l[?25h  edit! test.out

[?25l:  [?12l[?25h  $put ='VimLeave done'

[?25l:  [?12l[?25h  write

[?25l:  [?12l[?25hendfunc
[?25lstart of Xxx1test
end of Xxx
~                                                                               [?12l[?25h[?25l:[?12l[?25hset viminfo='100,nviminfo
[?25l[?12l[?25h[?25l:[?12l[?25hau BufUnload * call CloseAll()
[?25l[?12l[?25h[?25l:[?12l[?25hau VimLeave * call WriteToOut()
[?25l[?12l[?25h[?25l:[?12l[?25he small.vim
[?25lError detected while processing function CloseAll:

line    4:

E515: No buffers were unloaded: 0bunload

"small.vim" 1 line, 1 character

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hsp mbyte.vim
[?25l"mbyte.vim" 0 lines, 0 characters~                                                                               ~                                                                               ~                                                                               mbyte.vim                                                                       small.vim                                                                       "mbyte.vim" 0 lines, 0 characters[?12l[?25h[?25l:[?12l[?25hq
[?25lError detected while processing function CloseAll:

line    4:

E515: No buffers were unloaded: 0bunload

"test.out" 6 lines, 62 characters

"test.out" 7 lines, 76 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test9.failed test.ok test.out X* viminfo
cp test9.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test9.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test9.in" 12 lines, 255 charactersTest for Bufleave autocommand that deletes the buffer we are about to edit.

STARTTEST
:so small.vim
:au BufLeave test9.in bwipe yy
:e yy
:/^start of/,$w! test.out      " Write contents of this file
:qa!
ENDTEST

start of test file xx
end of test file xx
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for Bufleave autocommand that deletes the buffer we are about to edit.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 117 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hau BufLeave test9.in bwipe yy
[?25l[?12l[?25h[?25l:[?12l[?25he yy
[?25lE143: Autocommands unexpectedly deleted new buffer yy[?12l[?25h[?25l:[?12l[?25h/^start of/,$w! test.out      " Write contents of this file
[?25l"test.out" [New File] 2 lines, 42 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test10.failed test.ok test.out X* viminfo
cp test10.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test10.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test10.in" 114 lines, 3080 charactersTest for 'errorformat'.  This will fail if the quickfix feature was disabled.

STARTTEST
:so small.vim
:" Also test a BOM is ignored.
:so mbyte.vim
:set encoding=utf-8
:7/start of errorfile/,/end of errorfile/w! Xerrorfile1
:7/start of errorfile/,/end of errorfile/-1w! Xerrorfile2
:/start of testfile/,/end of testfile/w! Xtestfile
:set efm+==%f=\\,\ line\ %l%*\\D%v%*[^\ ]\ %m
:set efm^=%AError\ in\ \"%f\"\ at\ line\ %l:,%Z%p^,%C%m
:cf Xerrorfile2
:clast
:copen
:let a=w:quickfix_title
:wincmd p
lgR^R=a^M^[
:cf Xerrorfile1
grA
:cn
gRLINE 6, COL 19^[
:cn[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for 'errorformat'.  This will fail if the quickfix feature was disabled.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 50 lines, 801 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:cn
gR. TAB-SPACE POINTER^[
:clast
:cprev
:cprev
:wincmd w
:let a=w:quickfix_title
:wincmd p
lgR^R=a^M^[
:w! test.out" Write contents of this file
:qa!
ENDTEST

start of errorfile
"Xtestfile", line 4.12: 1506-045 (S) Undeclared identifier fd_set.
"Xtestfile", line 6 col 19; this is an error
gcc -c -DHAVE_CONFIsing-prototypes -I/usr/X11R6/include  version.c
Xtestfile:9: parse error before `asd'
make: *** [vim] Error 1
in file "Xtestfile" linenr 10: there is an error

2 returned
"Xtestfile", line 11 col 1; this is an error[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" Also test a BOM is ignored.
[?25l[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset encoding=utf-8
[?25l:cn
gR. TAB-SPACE POINTER^[
:clast
:cprev
:cprev
:wincmd w
:let a=w:quickfix_title
:wincmd p
lgR^R=a^M^[
:w! test.out" Write contents of this file
:qa!
ENDTEST

start of errorfile
"Xtestfile", line 4.12: 1506-045 (S) Undeclared identifier fd_set.
<feff>"Xtestfile", line 6 col 19; this is an error
gcc -c -DHAVE_CONFIsing-prototypes -I/usr/X11R6/include  version.c
Xtestfile:9: parse error before `asd'
make: *** [vim] Error 1
in file "Xtestfile" linenr 10: there is an error

2 returned
"Xtestfile", line 11 col 1; this is an error[?12l[?25h[?25l:[?12l[?25h7/start of errorfile/,/end of errorfile/w! Xerrorfile1
[?25l"Xerrorfile1" [New File] 83 lines, 1974 characters written[?12l[?25h[?25l:[?12l[?25h7/start of errorfile/,/end of errorfile/-1w! Xerrorfile2
[?25l"Xerrorfile2" [New File] 82 lines, 1957 characters written[?12l[?25h[?25l:[?12l[?25h/start of testfile/,/end of testfile/w! Xtestfile
[?25l"Xtestfile" [New File] 23 lines, 937 characters written[?12l[?25h[?25l:[?12l[?25hset efm+==%f=\\,\ line\ %l%*\\D%v%*[^\ ]\ %m
[?25l[?12l[?25h[?25l:[?12l[?25hset efm^=%AError\ in\ \"%f\"\ at\ line\ %l:,%Z%p^,%C%m
[?25l[?12l[?25h[?25l:[?12l[?25hcf Xerrorfile2
[?25l"Xtestfile" 23 lines, 937 characters

(50 of 70): 1506-045 (S) Undeclared identifier fd_set.

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hclast
[?25l(70 of 70): What is the title of the quickfix window?

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hcopen
[?25lxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 12xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 13xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 14
        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 15
        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 16
        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 17
        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 18
        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 19
        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 20
        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 21        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 22
Xtestfile                                                                       Xtestfile|18 col 14|  x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 118Xtestfile|19 col 15|  x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 119Xtestfile|20 col 16|  x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 220|| || Does anyone know what is the problem and how to correction it?
Xtestfile|21 col 9| What is the title of the quickfix window?
Xtestfile|22 col 9| What is the title of the quickfix window?                   [Quickfix List]                                                                 [?12l[?25h[?25l

:[?12l[?25hlet a=w:quickfix_title
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd p
[?25lXtestfile                                                                       [Quickfix List]                                                                  [?12l[?25hx[?25l=[?12l[?25ha
[?25l:cf Xerrorfile2[+][?12l[?25h[?25l
end of testfile[?12l[?25h[?25l:[?12l[?25hcf Xerrorfile1
[?25lstart of testfile 2 3 4 5 6 7 8 9xxxxxxxxxxxxxxx10
        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 11

|| :qa!|| ENDTEST
|| || start of errorfile
Xtestfile|4 col 12| 1506-045 (S) Undeclared identifier fd_set.                  Xtestfile|6 col 19| this is an error
|| gcc -c -DHAVE_CONFIsing-prototypes -I/usr/X11R6/include  version.c
Xtestfile|9| parse error before `asd'|| make: *** [vim] Error 1Xtestfile|10| there is an error[?12l[?25h[?25lA[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|4 col 12| 1506-045 (S) Undeclared identifier fd_set.Xtestfile|6 col 19| this is an error                                            [?12l[?25h[?25lLINE 6, COL 19[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|6 col 19| this is an errorXtestfile|9| parse error before `asd'                                           [?12l[?25h[?25lNO COLUMN SPECIFIED[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|9| parse error before `asd'Xtestfile|10| there is an error                                                 [?12l[?25h[?25lAGAIN NO COLUMN[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|10| there is an error||
|| 2 returned
Xtestfile|11 col 1| this is an error                                            [?12l[?25h[?25l
COL 1[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 12[?12l[?25h[?25l:[?12l[?25hcn
[?25l
Xtestfile|11 col 1| this is an errorXtestfile|12 col 2| this is another error                                       [?12l[?25h[?25lCOL 2[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 13[?12l[?25h[?25l:[?12l[?25hcn
[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 14
Xtestfile|12 col 2| this is another errorXtestfile|14 col 10| this is an error in column 10                              [?12l[?25h[?25lCOL 10[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 15[?12l[?25h[?25l:[?12l[?25hcn
[?25l
Xtestfile|14 col 10| this is an error in column 10Xtestfile|15 col 10| this is another error, but in vcol 10 this time            [?12l[?25h[?25lVCOL 10[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 16[?12l[?25h[?25l:[?12l[?25hcn
[?25l
Xtestfile|15 col 10| this is another error, but in vcol 10 this timeXtestfile|16| yet another problem                                               [?12l[?25h[?25lI[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 17[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|16| yet another problemXtestfile|17 col 13|  x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 117                                                                               [?12l[?25h[?25l. SPACE POINTER[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 18[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|17 col 13|  x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 117Xtestfile|18 col 14|  x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 118                                                                               [?12l[?25h[?25l. DOT POINTER[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 19[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|18 col 14|  x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 118Xtestfile|19 col 15|  x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 119                                                                               [?12l[?25h[?25l. DASH POINTER[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 20[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|19 col 15|  x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 119Xtestfile|20 col 16|  x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 220                                                                               [?12l[?25h[?25l. TAB-SPACE POINTER[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 21[?12l[?25h[?25l:[?12l[?25hclast
[?25lXtestfile|20 col 16|  x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    line 220||
|| Does anyone know what is the problem and how to correction it?
Xtestfile|21 col 9| What is the title of the quickfix window?
Xtestfile|22 col 9| What is the title of the quickfix window?
|| end of errorfile                                                             ~                                                                               [?12l[?25h[?25l:[?12l[?25hcprev
[?25l
xxxxxxxx:cf Xerrorfile2xxxxxxx    line 22Xtestfile|22 col 9| What is the title of the quickfix window?                   || end of errorfile[?12l[?25h[?25l:[?12l[?25hcprev
[?25lXtestfile|21 col 9| What is the title of the quickfix window?                   Xtestfile|22 col 9| What is the title of the quickfix window?[?12l[?25h[?25l:[?12l[?25hwincmd w
[?25lXtestfile [+]                                                                    [Quickfix List]                                                                 [?12l[?25h[?25l:[?12l[?25hlet a=w:quickfix_title
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd p
[?25lXtestfile [+]                                                                   [Quickfix List]                                                                  [?12l[?25hx[?25l=[?12l[?25ha
[?25l:cf Xerrorfile1[?12l[?25h[?25l:[?12l[?25hw! test.out             " Write contents of this file
[?25l"test.out" [New File] 23 lines, 942 characters written    [?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test11.failed test.ok test.out X* viminfo
cp test11.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test11.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test11.in" 84 lines, 3366 charactersTests for autocommands:
- FileWritePrewriting a compressed file
- FileReadPostreading a compressed file
- BufNewFilereading a file template
- BufReadPredecompressing the file to be read
- FilterReadPresubstituting characters in the temp file
- FilterReadPostsubstituting characters after filtering
- FileReadPreset options for decompression
- FileReadPostdecompress the file

Note: This test is skipped if "gzip" is not available.
$GZIP is made empty, "-v" would cause trouble.
Use a FileChangedShell autocommand to avoid a prompt for "Xtestfile.gz" being
modified outside of Vim (noticed on Solaris).

STARTTEST
:so small.vim
:" drop out when there is no gzip program
:if !executable("gzip")
: e! test.ok
: w! test.out
: qa!
:endif[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for autocommands:[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 48 lines, 2298 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:au! FileReadPre    *.gz   exe 'silent !gzip -d ' . shellescape(expand("<afile>""))
:au  FileReadPre    *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
:au! FileReadPost   *.gz   '[,']s/l/L/
:$r Xtestfile.gz" Read compressed file
:w" write it, after filtering
:au!" remove all autocommands
:e" Edit test.out again
:set nobin ff&   " use the default fileformat for writing
:w
:qa!
ENDTEST

startstart
start of testfile
line 2  Abcdefghijklmnopqrstuvwxyz
line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 4  Abcdefghijklmnopqrstuvwxyz
line 5  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 6  Abcdefghijklmnopqrstuvwxyz
line 7  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 8  Abcdefghijklmnopqrstuvwxyz
line 9  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" drop out when there is no gzip program
[?25l[?12l[?25h[?25l:[?12l[?25hif !executable("gzip")
[?25l
:  [?12l[?25h: e! test.ok

[?25l:  [?12l[?25h: w! test.out

[?25l:  [?12l[?25h: qa!

[?25l:  [?12l[?25h:endif
[?25l:au! FileReadPre    *.gz   exe 'silent !gzip -d ' . shellescape(expand("<afile>""))
:au  FileReadPre    *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
:au! FileReadPost   *.gz   '[,']s/l/L/[?12l[?25h[?25l:[?12l[?25hlet $GZIP = ""
[?25l[?12l[?25h[?25l:[?12l[?25hau FileChangedShell * echo "caught FileChangedShell"
[?25l[?12l[?25h[?25l:[?12l[?25hset bin
[?25l[?12l[?25h[?25l:[?12l[?25hau FileWritePre    *.gz   '[,']!gzip
[?25l[?12l[?25h[?25l:[?12l[?25hau FileWritePost   *.gz   undo
[?25l[?12l[?25h[?25l:[?12l[?25h/^start of testfile/,/^end of testfile/w! Xtestfile.gz
[?25l[?12l[?25h[?25l11 lines filtered
"Xtestfile.gz" [New File][Incomplete last line] 1 line, 111 characters written

10 more lines; before #1  0 seconds ago

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hau FileReadPost    *.gz   '[,']!gzip -d
[?25l:au  FileReadPre    *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
:au! FileReadPost   *.gz   '[,']s/l/L/
:$r Xtestfile.gz" Read compressed file
:w                           " write it, after filtering
:au!             " remove all autocommandse" Edit test.out againset nobin ff&   " use the default fileformat for writing
:wqa!ENDTESTstartstart
start of testfile
line 2  Abcdefghijklmnopqrstuvwxyz
line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx45678910
end of testfile[?12l[?25h[?25l
:[?12l[?25h$r Xtestfile.gz                " Read and decompress the testfile
[?25l"Xtestfile.gz" [Incomplete last line] 1 line, 111 characters
[?12l[?25h[?25lstart of test.c
/*
 * Here is a new .c file
 */
end of test.c
start of testfile[?12l[?25h[?25l
:[?12l[?25h?startstart?,$w! test.out      " Write contents of this file
[?25l"test.out" [New File] 29 lines, 788 characters written[?12l[?25h[?25l:[?12l[?25hau BufNewFile      *.c    read Xtest.c
[?25l[?12l[?25h[?25l:[?12l[?25h/^start of test.c/+1,/^end of test.c/-1w! Xtest.c
[?25lsearch hit BOTTOM, continuing at TOP"Xtest.c" [New File] 3 lines, 32 characters written[?12l[?25h[?25l:[?12l[?25he! foo.c                       " Will load Xtest.c
[?25l"foo.c" [New File]
"Xtest.c" 3 lines, 32 characters

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hau FileAppendPre   *.out  '[,']s/new/NEW/
[?25l/*
 * Here is a new .c file
 */
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hau FileAppendPost  *.out  !cat Xtest.c >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hw>>test.out                    " Append it to the output file
[?25l"test.out" 4 lines, 33 characters appended

:!cat Xtest.c >>test.out

[?12l[?25h
Press ENTER or type command to continue[?25l:[?12l[?25hau! FileAppendPre
[?25l/*
 * Here is a NEW .c file
 */
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h" setup autocommands to decompress before reading and re-compress afterwards
[?25l[?12l[?25h[?25l:[?12l[?25hau BufReadPre      *.gz   exe '!gzip -d ' . shellescape(expand("<afile>"))
[?25l[?12l[?25h[?25l:[?12l[?25hau BufReadPre      *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?12l[?25h[?25l:[?12l[?25hau BufReadPost     *.gz   call rename(expand("<afile>"), expand("<afile>:r"))
[?25l[?12l[?25h[?25l:[?12l[?25hau BufReadPost     *.gz   exe '!gzip ' . shellescape(expand("<afile>:r"))
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtestfile.gz                " Edit compressed file
[?25l:!gzip -d 'Xtestfile.gz'

[?12l[?25h[?25l"Xtestfile.gz""Xtestfile.gz" 11 lines, 357 characters:!gzip 'Xtestfile'

[?12l[?25h[?25lcaught FileChangedShell
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hw>>test.out                    " Append it to the output file
[?25l"test.out" 11 lines, 357 characters appended

:!cat Xtest.c >>test.out

[?12l[?25h
Press ENTER or type command to continue[?25l:[?12l[?25hset shelltemp                  " need temp files here
[?25lstart of testfile
line 2  Abcdefghijklmnopqrstuvwxyz
line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 4  Abcdefghijklmnopqrstuvwxyz
line 5  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 6  Abcdefghijklmnopqrstuvwxyz
line 7  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 8  Abcdefghijklmnopqrstuvwxyz
line 9  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 10 Abcdefghijklmnopqrstuvwxyz
end of testfile
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hau FilterReadPre   *.out  call rename(expand("<afile>"), expand("<afile>") . "

.t")
[?25lstart of testfile[?12l[?25h[?25l:[?12l[?25hau FilterReadPre   *.out  exe 'silent !sed s/e/E/ ' . shellescape(expand("<afi

le>")) . ".t >" . shellescape(expand("<afile>"))
[?25lstart of testfile[?12l[?25h[?25l:[?12l[?25hau FilterReadPre   *.out  exe 'silent !rm ' . shellescape(expand("<afile>")) .

'.t'
[?25lstart of testfile[?12l[?25h[?25l:[?12l[?25hau FilterReadPost  *.out  '[,']s/x/X/g
[?25l[?12l[?25h[?25l:[?12l[?25he! test.out                    " Edit the output file
[?25l"test.out" 50 lines, 1242 charactersstarstart of testfile2  Abcdefghijklmnopqrstuvwxyz3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx4  Abcdefghijklmnopqrstuvwxyz5  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx6  Abcdefghijklmnopqrstuvwxyz7  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8  Abcdefghijklmnopqrstuvwxyz9  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 10 Abcdefghijklmnopqrstuvwxyz
end of testfilestart of test.c/* * Here is a new .c file */end of test.cstart of testfileline 2  Abcdefghijklmnopqrstuvwxyzline 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 4  Abcdefghijklmnopqrstuvwxyzline 5  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[?12l[?25h[?25l:[?12l[?25h23,$!cat
[?25l[?12l[?25h[?25l218 substitutions on 15 lines

28 lines filtered

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h23,$s/\r$//                 " remove CR for when sed adds them
[?25lE486: Pattern not found: \r$
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hau! FileReadPre    *.gz   exe 'silent !gzip -d ' . shellescape(expand("<afile>

"))
[?25lstartstart
start of testfile
line 2  Abcdefghijklmnopqrstuvwxyz
line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxE 5  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[?12l[?25h[?25l
:[?12l[?25hau  FileReadPre    *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?12l[?25h[?25l:[?12l[?25hau! FileReadPost   *.gz   '[,']s/l/L/
[?25l[?12l[?25h[?25l:[?12l[?25h$r Xtestfile.gz             " Read compressed file
[?25l[?12l[?25h[?25l"Xtestfile.gz" 11 lines, 357 characters

11 substitutions on 11 lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hw                           " write it, after filtering
[?25l"test.out"61 lines, 1599 characters written

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hau!             " remove all autocommands
[?25lE216: No such group or event: " remove all autocommands

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25he               " Edit test.out again
[?25l"test.out"61 lines, 1599 charactersstartstart
start of testfile
line 2  Abcdefghijklmnopqrstuvwxyz
line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"test.out" 61 lines, 1599 characters[?12l[?25h[?25l:[?12l[?25hset nobin ff&   " use the default fileformat for writing
[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"test.out" 61 lines, 1599 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test12.failed test.ok test.out X* viminfo
cp test12.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test12.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test12.in" 52 lines, 1199 charactersTests for 'directory' option.
- ".", in same dir as file
- "./dir", in directory relative to file
- "dir", in directory relative to current dir

STARTTEST
:so small.vim
:set nocompatible viminfo+=nviminfo
:set dir=.,~
:/start of testfile/,/end of testfile/w! Xtest1
:" do an ls of the current dir to find the swap file (should not be there)
:if has("unix")
:  !ls .X*.swp >test.out
:else
:  r !ls X*.swp >test.out
:endif
:!echo first line >>test.out
:e Xtest1
:if has("unix")
:" Do an ls of the current dir to find the swap file, remove the leading dot
:" to make the result the same for all systems.
:  r!ls .X*.swp
:  s/\.*X/X/[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for 'directory' option.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 40 lines, 965 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:!mkdir Xtest2
:set dir=./Xtest2,.,~
:e Xtest1
:!ls X*.swp >>test.out
:!echo under under >>test.out
:!ls Xtest2 >>test.out
:!echo under Xtest1.swp >>test.out
:!mkdir Xtest.je
:/start of testfile/,/end of testfile/w! Xtest2/Xtest3
:set dir=Xtest.je,~
:e Xtest2/Xtest3
:swap
:!ls Xtest2 >>test.out
:!echo under Xtest3 >>test.out
:!ls Xtest.je >>test.out
:!echo under Xtest3.swp >>test.out
:qa!
ENDTEST

start of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nocompatible viminfo+=nviminfo
[?25l[?12l[?25h[?25l:[?12l[?25hset dir=.,~
[?25l[?12l[?25h[?25l:[?12l[?25h/start of testfile/,/end of testfile/w! Xtest1
[?25l"Xtest1" [New] 4L, 70C written[?12l[?25h[?25l:[?12l[?25h" do an ls of the current dir to find the swap file (should not be there)
[?25l[?12l[?25h[?25l:[?12l[?25hif has("unix")
[?25l
:  [?12l[?25h:  !ls .X*.swp >test.out

[?25l:!ls .X*.swp >test.out[?1l>[?12l[?25h[?1049l
ls: cannot access .X*.swp: No such file or directory

shell returned 2

Press ENTER or type command to continue[?1049h[?1h=
[?25l:  :[?12l[?25helse

[?25l:  [?12l[?25h:  r !ls X*.swp >test.out

[?25l:  [?12l[?25h:endif
[?25l:[?12l[?25h!echo first line >>test.out
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25he Xtest1
[?25l"Xtest1" 4L, 70Cstart of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtest1" 4L, 70C[?12l[?25h[?25l:[?12l[?25hif has("unix")
[?25l
:  [?12l[?25h:" Do an ls of the current dir to find the swap file, remove the leading dot

[?25l:  [?12l[?25h:" to make the result the same for all systems.

[?25l:  [?12l[?25h:  r!ls .X*.swp

[?25l:  [?12l[?25h:  s/\.*X/X/

[?25l:  [?12l[?25h:  .w >>test.out
[?25l"test.out" 1L, 11C appended

:  [?12l[?25h:  undo

[?25l1 line less; before #1  0 seconds ago

:  [?12l[?25h:else

[?25l:  [?12l[?25h:  !ls X*.swp >>test.out

[?25l:  [?12l[?25h:endif
[?25lstart of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h!echo under Xtest1.swp >>test.out
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!mkdir Xtest2
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25hset dir=./Xtest2,.,~
[?25lstart of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25he Xtest1
[?25l"Xtest1" 4L, 70C[?12l[?25h[?25l:[?12l[?25h!ls X*.swp >>test.out
[?25l[?1l>[?12l[?25h[?1049l
ls: cannot access X*.swp: No such file or directory

shell returned 2

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!echo under under >>test.out
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!ls Xtest2 >>test.out
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!echo under Xtest1.swp >>test.out
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!mkdir Xtest.je
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h/start of testfile/,/end of testfile/w! Xtest2/Xtest3
[?25lsearch hit BOTTOM, continuing at TOP"Xtest2/Xtest3" [New] 4L, 70C writtenstart of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtest2/Xtest3" [New] 4L, 70C written[?12l[?25h[?25l:[?12l[?25hset dir=Xtest.je,~
[?25l[?12l[?25h[?25l:[?12l[?25he Xtest2/Xtest3
[?25l"Xtest2/Xtest3" 4L, 70C[?12l[?25h[?25l:[?12l[?25hswap
[?25lXtest.je/Xtest3.swp[?12l[?25h[?25l:[?12l[?25h!ls Xtest2 >>test.out
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!echo under Xtest3 >>test.out
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!ls Xtest.je >>test.out
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!echo under Xtest3.swp >>test.out
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l
# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test13.failed test.ok test.out X* viminfo
cp test13.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test13.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test13.in" 59 lines, 1142 charactersTests for autocommands on :close command

Write three files and open them, each in a window.
Then go to next window, with autocommand that deletes the previous one.
Do this twice, writing the file.

Also test deleting the buffer on a Unload event.  If this goes wrong there
will be the ATTENTION prompt.

Also test changing buffers in a BufDel autocommand.  If this goes wrong there
are ml_line errors and/or a Crash.

STARTTEST
:so small.vim
:/^start of testfile/,/^end of testfile/w! Xtestje1
:/^start of testfile/,/^end of testfile/w! Xtestje2
:/^start of testfile/,/^end of testfile/w! Xtestje3
:e Xtestje1
otestje1^[
:w
:sp Xtestje2
otestje2^[
:w[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for autocommands on :close command[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 39 lines, 640 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:au! BufUnload Xtestje1 bwipe
:e Xtestje3
:w >>test.out
:e Xtestje2
:sp Xtestje1
:e
:w >>test.out
:au!
:only
:e Xtestje1
:bwipe Xtestje2 Xtestje3 test.out test13.in
:au BufWipeout Xtestje1 buf Xtestje1
:bwipe
:w >>test.out
:doau \|
:qa!
ENDTEST

start of testfilecontentscontentscontents
end of testfile[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h/^start of testfile/,/^end of testfile/w! Xtestje1
[?25l"Xtestje1" [New File] 5 lines, 64 characters written[?12l[?25h[?25l:[?12l[?25h/^start of testfile/,/^end of testfile/w! Xtestje2
[?25l"Xtestje2" [New File] 5 lines, 64 characters written[?12l[?25h[?25l:[?12l[?25h/^start of testfile/,/^end of testfile/w! Xtestje3
[?25l"Xtestje3" [New File] 5 lines, 64 characters written[?12l[?25h[?25l:[?12l[?25he Xtestje1
[?25l"Xtestje1" 5 lines, 64 charactersstart of testfile        contents
        contents
        contents
end of testfile
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25ltestje1[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtestje1" 6 lines, 72 characters written[?12l[?25h[?25l:[?12l[?25hsp Xtestje2
[?25l"Xtestje2" 5 lines, 64 characters        contents


end of testfile~                                                                               Xtestje2                                                                        testje1        contents        contents        contentsend of testfileXtestje1                                                                        [?12l[?25h[?25ltestje2[+][?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtestje2" 6 lines, 72 characters written    [?12l[?25h[?25l:[?12l[?25hsp Xtestje3
[?25l"Xtestje3" 5 lines, 64 charactersstart of testfilecontentscontentscontents
end of testfile
~                                                                               ~                                                                               Xtestje3                                                                        testje2contentscontentscontents
end of testfile
~                                                                               ~                                                                               Xtestje2                                                                        testje1contentscontentscontents
end of testfile
~                                                                               Xtestje1                                                                        [?12l[?25h[?25ltestje3[+][?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtestje3" 6 lines, 72 characters written    [?12l[?25hXtestje3                                                                         Xtestje2                                                                        [?25l:[?12l[?25hau WinLeave Xtestje2 bwipe
[?25l[?12l[?25h[?25lstart of testfile
testje3contentscontentscontents
end of testfile
~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtestje3                                                                        testje1contentscontentscontents
end of testfile
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtestje1                                                                        [?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New File] 6 lines, 72 characters written[?12l[?25h[?25l:[?12l[?25hau WinLeave Xtestje1 bwipe Xtestje3
[?25l[?12l[?25h[?25l:[?12l[?25hclose
[?25l1~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 6 lines, 72 characters appended[?12l[?25h[?25l:[?12l[?25he Xtestje1
[?25l"Xtestje1" 6 lines, 72 characters[?12l[?25h[?25l:[?12l[?25hbwipe Xtestje2 Xtestje3 test.out
[?25lE94: No matching buffer for Xtestje2 Xtestje3 test.out[?12l[?25h[?25l:[?12l[?25hau!
[?25l[?12l[?25h[?25l:[?12l[?25hau! BufUnload Xtestje1 bwipe
[?25l[?12l[?25h[?25l:[?12l[?25he Xtestje3
[?25l"Xtestje3" 6 lines, 72 characters3[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 6 lines, 72 characters appended[?12l[?25h[?25l:[?12l[?25he Xtestje2
[?25l"Xtestje2" 6 lines, 72 characters2[?12l[?25h[?25l:[?12l[?25hsp Xtestje1
[?25l"Xtestje1" 6 lines, 72 characters1Xtestje1                                                                        start of testfiletestje2        contents        contents        contentsend of testfileXtestje2                                                                        [?12l[?25h[?25l:[?12l[?25he
[?25lE143: Autocommands unexpectedly deleted new buffer Xtestje122 "Xtestje2" line 1 of 6 --16%-- col 1t[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 6 lines, 72 characters appended[?12l[?25h[?25l:[?12l[?25hau!
[?25l[?12l[?25h[?25l:[?12l[?25honly
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25he Xtestje1
[?25l"Xtestje1" 6 lines, 72 characters1[?12l[?25h[?25l:[?12l[?25hbwipe Xtestje2 Xtestje3 test.out test13.in
[?25l4 buffers wiped out[?12l[?25h[?25l:[?12l[?25hau BufWipeout Xtestje1 buf Xtestje1
[?25l[?12l[?25h[?25l:[?12l[?25hbwipe
[?25l"Xtestje1" 6 lines, 72 characters[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 6 lines, 72 characters appended[?12l[?25h[?25l:[?12l[?25hdoau \|
[?25lE216: No such group or event: |[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test14.failed test.ok test.out X* viminfo
cp test14.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test14.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test14.in" 99 lines, 1606 charactersTests for "vaBiB", end could be wrong.
Also test ":s/pat/sub/" with different ~s in sub.
Also test for ^Vxff and ^Vo123 in Insert mode.
Also test "[m", "]m", "[M" and "]M"
Also test search()

STARTTEST
:so small.vim
/Start cursor here
vaBiBD:?Bug?,/Piece/-2w! test.out
/^- Bug
:s/u/~u~/
:s/i/~u~/
:s/o/~~~/
:.w >>test.out
:if has("ebcdic")
: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>"
:else
: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"
:endif
:exe "normal " . tt
:unlet tt
:.w >>test.out[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for "vaBiB", end could be wrong.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 56 lines, 1141 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:$put =@/
/^substitute
:keeppatterns s/asdf/xyz/
:$put =@/
/^substitute
Y:$put =@0
/bar /e
:$put =@0
-:keeppatterns /xyz
0dn:/^search()/,$w >>test.out
:qa!
ENDTEST

- Bug in "vPPPP" on this text (Webb):{cmd;{cmd;    /* <-- Start cursor here */{}}}[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l/[?12l[?25hStart cursor here
[?25l[?12l[?25h[?25l[?12l[?25h[?25l{ 
                        cmd;    /* <-- Start cursor here */ 
                        { 
                        } 
                [?12l[?25h[?25l                cmd; 
                }[?12l[?25h[?25l


6 fewer lines        }Piece of Java{        tt m1 {                t1;e1[?12l[?25h[?25l:[?12l[?25h?Bug?,/Piece/-2w! test.out
[?25l"test.out" [New File] 3 lines, 44 characters written[?12l[?25h[?25l/[?12l[?25h^- Bug
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25hs/u/~u~/
[?25l[?12l[?25h[?25l:[?12l[?25hs/i/~u~/
[?25luuun "vPPPP" on this text (Webb):
[?12l[?25h[?25l:[?12l[?25hs/o/~~~/
[?25luuuuuuuuun this text (Webb):
[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 48 characters appended[?12l[?25h[?25l:[?12l[?25hif has("ebcdic")
[?25l
:  [?12l[?25h: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>

"
[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"

[?25l:  [?12l[?25h:endif
[?25l:$put =@/
/^substitute
:keeppatterns s/asdf/xyz/
:$put =@/
/^substitute[?12l[?25h[?25l:[?12l[?25hexe "normal " . tt
[?25lABC !a^Og^G8[?12l[?25h[?25l:[?12l[?25hunlet tt
[?25l[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?12l[?25h[?25l:[?12l[?25hset vb
[?25l[?12l[?25h[?25l/[?12l[?25h^Piece
[?25l[?12l[?25h[?25l{A[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?12l[?25h[?25ltt m2 {[?12l[?25h[?25l{B[?12l[?25h[?25l
:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?12l[?25h[?25lt2;} e2tt m3 {[?12l[?25h[?25l{C[?12l[?25h[?25l
:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?12l[?25h[?25l{DC[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?12l[?25h[?25l{EA[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?12l[?25h[?25l{F[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 3 characters appended[?12l[?25h[?25l}G e1[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?12l[?25h
[?25lif (x){t3;}} e3[?12l[?25h[?25l}H e3[?12l[?25h[?25l
:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?12l[?25h[?25l
}[?12l[?25h[?5h[?5l[?25l}I[?12l[?25h[?25l
:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 3 characters appended[?12l[?25h[?25l}JH e3[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 8 characters appended[?12l[?25h[?25l}K e2[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?12l[?25h[?25l{LF[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l/[?12l[?25h^foobar
[?25lfoobar[?12l[?25h[?25l
:[?12l[?25hlet startline = line('.')
[?25l[?12l[?25h[?25l:[?12l[?25hcall search('foobar', 'c')
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), line('.') - startline)
[?25l[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25hcall search('^$', 'c')
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), line('.') - startline)
[?25l[?12l[?25h[?25l:[?12l[?25hcall search('^$', 'bc')
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), line('.') - startline)
[?25l[?12l[?25h[?25l/[?12l[?25htwo
[?25lsubstitute foo asdf

one two[?12l[?25h[?25l
:[?12l[?25hcall search('.', 'c')
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), getline('.')[col('.') - 1:])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l/[?12l[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25hs/foo/bar/
[?25lbar
[?12l[?25h[?25l:[?12l[?25h$put =@/
[?25lsearch()
0
1
1
two
foo[?12l[?25h[?25l
/[?12l[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25hkeeppatterns s/asdf/xyz/
[?25lxyz[?12l[?25h[?25l:[?12l[?25h$put =@/
[?25l
^substitute[?12l[?25h[?25l
/[?12l[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25h$put =@0
[?25l
substitute bar xyz[?12l[?25h[?25l
/[?12l[?25hbar /e
[?25l[?12l[?25h[?25l:[?12l[?25h$put =@0
[?25l
substitute bar xyz[?12l[?25h[?25l

:[?12l[?25hkeeppatterns /xyz
[?25l[?12l[?25h[?25l
/bar /exyz[?12l[?25h[?25l:[?12l[?25h/^search()/,$w >>test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 9 lines, 58 characters appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test15.failed test.ok test.out X* viminfo
cp test15.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test15.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test15.in" 136 lines, 2246 charactersTests for :right on text with embedded TAB.
Also test formatting a paragraph.
Also test undo after ":%s" and formatting.

STARTTEST
:so small.vim
:set tw=65

:/^\s*test for :left/,/^\s*test for :center/ left
:/^\s*test for :center/,/^\s*test for :right/ center
:/^\s*test for :right/,/^xxx/-1 right
:set fo+=tcroql tw=72
/xxxxxxxx$
0gq6kk
:set nocp viminfo+=nviminfo
:" undo/redo here to make the next undo only work on the following changes
u^R
:map gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
/^aa
ggu
:?test for :left?,$w! test.out
:qa!
ENDTEST[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for :right on text with embedded TAB.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 401 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset tw=65
[?25l[?12l[?25h[?25l
test for :left[?12l[?25h[?25l
:[?12l[?25h/^\s*test for :left/,/^\s*test for :center/ left
[?25lsearch hit BOTTOM, continuing at TOPtest for :left[?12l[?25h[?25l:[?12l[?25h/^\s*test for :center/,/^\s*test for :right/ center
[?25l[?12l[?25h[?25l:[?12l[?25h/^\s*test for :right/,/^xxx/-1 right
[?25l[?12l[?25h[?25l:[?12l[?25hset fo+=tcroql tw=72
[?25l[?12l[?25h[?25l/[?12l[?25hxxxxxxxx$
[?25lasxa;ofaaxxxoikeasdfaqweraxxxoikeaaxxxoikeyfaaxxxoikeydfaaxxxoikeysdfaaxxxoikeyasdfaaxxxoikeyxasdfaaxxxoikeyasxxdfaaxxxoikeyasxa;ofaaxxxoikeyasdfaqweraxxxoikey

xxxxx xx xxxxxx
xxxxxxx xxxxxxxxx xxx xxxx xxxxx xxxxx xxx xx
xxxxxxxxxxxxxxxxxx xxxxx xxxx, xxxx xxxx xxxx xxxx xxx xx xx
xx xxxxxxx. xxxx xxxx.

> xx xx, xxxx xxxx xxx xxxx xxx xxxxx xxx xxx xxxxxxx xxx xxxxx
> xxxxxx xxxxxxx: xxxx xxxxxxx, xx xxxxxx xxxx xxxxxxxxxx

aa aa aa aa
bb bb bb bb
cc cc cc cc[?12l[?25h
[?25l
 xx xxxxxx xxxxxxx xxxxxxxxx xxx xxxx xxxxx xxxxx xxx xxxx xxxxxxx.
xxxx xxxx.xxxxxxx: xxxx xxxxxxx, xx xxxx xxxxxxx~                                                                               [?12l[?25h
[?25l:[?12l[?25hset nocp viminfo+=nviminfo
[?25l[?12l[?25h[?25l:[?12l[?25h" undo/redo here to make the next undo only work on the following changes
[?25l[?12l[?25h[?25l1 more line; before #1  0 seconds ago0gq6kk
:set nocp viminfo+=nviminfo
:" undo/redo here to make the next undo only work on the following changes
u^R
:map gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
/^aa
ggu
:?test for :left?,$w! test.out
:qa!
ENDTESTtest for :leftaafaadfaasdfaaasdfaaxasdfaa
asxxdfaatest for :centeraafaafd asdf[?12l[?25h[?25l1 line less; after #1  0 seconds agotest for :lefta      afa    adfa      asdfaaasdfa           axasdfaa                test for :center  aa  fa        afd asdf[?12l[?25h
[?25l:[?12l[?25hmap gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
[?25l[?12l[?25h[?25l/[?12l[?25h^aa
[?25lasxxdfaaxxxoikeasxa;ofaaxxxoikeasdfaqweraxxxoikeaaxxxoikeyfaaxxxoikeydfaaxxxoikeysdfaaxxxoikeyasdfaaxxxoikeyxasdfaaxxxoikeyasxxdfaaxxxoikeyasxa;ofaaxxxoikeyasdfaqweraxxxoikey

xxxxx xx xxxxxx xxxxxxx xxxxxxxxx xxx xxxx xxxxx xxxxx xxx xx
xxxxxxxxxxxxxxxxxx xxxxx xxxx, xxxx xxxx xxxx xxxx xxx xx xx xx xxxxxxx.
xxxx xxxx.

> xx xx, xxxx xxxx xxx xxxx xxx xxxxx xxx xxx xxxxxxx xxx xxxxx xxxxxx
> xxxxxxx: xxxx xxxxxxx, xx xxxxxx xxxx xxxxxxxxxx

aa aa aa aa
bb bb bb bb
cc cc cc cc[?12l[?25h[?25l


:.,.+2s/^/x/
3 substitutions on 3 linesxaa aa aa aa
xbb bb bb bb
xcc cc cc cc
[?12l[?25h[?25l:set tw=3
[?12l[?25h[?25l


3 more lines
aaaaaa3 more lines[?12l[?25h[?25l
3 fewer lines; before #2  0 seconds agoaa aa aa aa
bb bb bb bb
cc cc cc cc
~                                                                               [?12l[?25h
[?25l:[?12l[?25h?test for :left?,$w! test.out
[?25l"test.out"[New] 111L, 2304C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test17.failed test.ok test.out X* viminfo
cp test17.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test17.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test17.in" 141 lines, 2634 charactersTests for:
- "gf" on ${VAR},
- ":checkpath!" with various 'include' settings.

STARTTEST
:so small.vim
:if has("ebcdic")
: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}
:else
: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}
:endif
:function! DeleteDirectory(dir)
: if has("win16") || has("win32") || has("win64") || has("dos16") || has("dos32"")
:  exec "silent !rmdir /Q /S " . a:dir
: else
:  exec "silent !rm -rf " . a:dir
: endif
:endfun
:if has("unix")
:let $CDIR = "."
/CDIR
:else[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for:[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 33 lines, 771 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/TDIR
:endif
:" Dummy writing for making that sure gf doesn't fail even if the current
:" file is modified. It can be occurred when executing the following command
:" directly on Windows without fixing the 'fileformat':
:"  > nmake -f Make_dos.mak test17.out
:w! test.out
gf
:set ff=unix
:w! test.out
:brewind
ENDTEST${CDIR}/test17a.in$TDIR/test17a.in

STARTTEST
:" check for 'include' without \zs or \ze
:lang C
:call delete("./Xbase.a")
:call DeleteDirectory("Xdir1")
:!mkdir Xdir1
:!mkdir "Xdir1/dir2"[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif has("ebcdic")
[?25l
:  [?12l[?25h: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}

[?25l:  [?12l[?25h:endif
[?25l/TDIR
:endif
:" Dummy writing for making that sure gf doesn't fail even if the current
:" file is modified. It can be occurred when executing the following command[?12l[?25h[?25l:[?12l[?25hfunction! DeleteDirectory(dir)
[?25l
:  [?12l[?25h: if has("win16") || has("win32") || has("win64") || has("dos16") || has("do

s32")

[?25l:    [?12l[?25h:  exec "silent !rmdir /Q /S " . a:dir

[?25l:    [?12l[?25h: else

[?25l:    [?12l[?25h:  exec "silent !rm -rf " . a:dir

[?25l:    [?12l[?25h: endif

[?25l:  [?12l[?25h:endfun
[?25l/TDIR
:endif
:" Dummy writing for making that sure gf doesn't fail even if the current
:" file is modified. It can be occurred when executing the following command
:" directly on Windows without fixing the 'fileformat':
:"  > nmake -f Make_dos.mak test17.out
:w! test.out[?12l[?25h[?25l:[?12l[?25hif has("unix")
[?25l
:  [?12l[?25h:let $CDIR = "."

[?25l:  [?12l[?25h/CDIR

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h:if has("amiga")

[?25l:    [?12l[?25h:let $TDIR = "/testdir"

[?25l:    [?12l[?25h:else

[?25l:    [?12l[?25h:let $TDIR = "."

[?25l:    [?12l[?25h:endif

[?25l:  [?12l[?25h/TDIR

[?25l:  [?12l[?25h:endif
[?25l/TDIR
:endif
:" Dummy writing for making that sure gf doesn't fail even if the current
:" file is modified. It can be occurred when executing the following command
:" directly on Windows without fixing the 'fileformat':
:"  > nmake -f Make_dos.mak test17.out
:w! test.out
gf
:set ff=unix
:w! test.out[?12l[?25h[?25l:[?12l[?25h" Dummy writing for making that sure gf doesn't fail even if the current
[?25l[?12l[?25h[?25l:[?12l[?25h" file is modified. It can be occurred when executing the following command
[?25l[?12l[?25h[?25l:[?12l[?25h" directly on Windows without fixing the 'fileformat':
[?25l[?12l[?25h[?25l:[?12l[?25h"  > nmake -f Make_dos.mak test17.out
[?25l[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New File] 141 lines, 2634 characters written[?12l[?25h[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/./test17a.in" 3 lines, 88

characters

Press ENTER or type command to continue[?12l[?25h[?25lThis file is just to test "gf" in test 17.
The contents is not important.
Just testing!~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset ff=unix
[?25l[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" 3 lines, 88 characters written[?12l[?25h[?25l:[?12l[?25hbrewind
[?25l"test17.in" 141 lines, 2634 characters:" Dummy writing for making that sure gf doesn't fail even if the current
:" file is modified. It can be occurred when executing the following command
:" directly on Windows without fixing the 'fileformat':
:"  > nmake -f Make_dos.mak test17.out:w! test.outgf:set ff=unix:w! test.out:brewindENDTEST        ${CDIR}/test17a.in        $TDIR/test17a.inSTARTTEST:" check for 'include' without \zs or \ze:lang C:call delete("./Xbase.a"):call DeleteDirectory("Xdir1"):!mkdir Xdir1:!mkdir "Xdir1/dir2":e! Xdir1/dir2/foo.ai#include   "bar.a"^[[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 23 lines, 395 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:e Xdir1/dir2/baz.a
i#include"foo.a"^[
:w
:e Xbase.a
:set path=Xdir1/dir2
i#include    <foo.a>^[
:w
:redir! >>test.out
:checkpath!
:redir END
:brewind
ENDTEST

STARTTEST
:" check for 'include' with \zs and \ze
:call delete("./Xbase.b")
:call DeleteDirectory("Xdir1")
:!mkdir Xdir1
:!mkdir "Xdir1/dir2"
:let &include='^\s*%inc\s*/\zs[^/]\+\ze'
:function! DotsToSlashes()
:  return substitute(v:fname, '\.', '/', 'g') . '.b'
:endfunction[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h" check for 'include' without \zs or \ze
[?25l[?12l[?25h[?25l:[?12l[?25hlang C
[?25l[?12l[?25h[?25l:[?12l[?25hcall delete("./Xbase.a")
[?25l[?12l[?25h[?25l:[?12l[?25hcall DeleteDirectory("Xdir1")
[?25l[?1l>[?12l[?25h[?1049l[?1049h[?1h=[?25l:[?12l[?25h!mkdir Xdir1
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!mkdir "Xdir1/dir2"
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25he! Xdir1/dir2/foo.a
[?25l"Xdir1/dir2/foo.a" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l#include   "bar.a"[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/foo.a" [New File] 1 line, 19 characters written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/bar.a
[?25l"Xdir1/dir2/bar.a" [New File][?12l[?25h[?25l#include      "baz.a"[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/bar.a" [New File] 1 line, 22 characters written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/baz.a
[?25l"Xdir1/dir2/baz.a" [New File][?12l[?25h[?25l#include"foo.a"[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/baz.a" [New File] 1 line, 28 characters written[?12l[?25h[?25l:[?12l[?25he Xbase.a
[?25l"Xbase.a" [New File][?12l[?25h[?25l:[?12l[?25hset path=Xdir1/dir2
[?25l[?12l[?25h[?25l#include    <foo.a>[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xbase.a" [New File] 1 line, 20 characters written[?12l[?25h[?25l:[?12l[?25hredir! >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hcheckpath!
[?25l--- Included files in path ---

Xdir1/dir2/foo.a

Xdir1/dir2/foo.a -->

  Xdir1/dir2/bar.a

  Xdir1/dir2/bar.a -->

    Xdir1/dir2/baz.a

    Xdir1/dir2/baz.a -->

      "foo.a"  (Already listed)

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25l#include    <foo.a>
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hbrewind
[?25l"test17.in" 141 lines, 2634 charactersi#include            "foo.a"^[
:w:e Xbase.a:set path=Xdir1/dir2i#include    <foo.a>^[:w:redir! >>test.out:checkpath!:redir END:brewindENDTESTSTARTTEST:" check for 'include' with \zs and \ze:call delete("./Xbase.b"):call DeleteDirectory("Xdir1"):!mkdir Xdir1:!mkdir "Xdir1/dir2":let &include='^\s*%inc\s*/\zs[^/]\+\ze':function! DotsToSlashes():  return substitute(v:fname, '\.', '/', 'g') . '.b':endfunction:let &includeexpr='DotsToSlashes()'[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 27 lines, 531 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:e Xdir1/dir2/baz.b
i%inc/foo/^[
:w
:e Xbase.b
:set path=Xdir1/dir2
i%inc    /foo/^[
:w
:redir! >>test.out
:checkpath!
:redir END
:brewind
ENDTEST

STARTTEST
:" check for 'include' with \zs and no \ze
:call delete("./Xbase.c")
:call DeleteDirectory("Xdir1")
:!mkdir Xdir1
:!mkdir "Xdir1/dir2"
:let &include='^\s*%inc\s*\%([[:upper:]][^[:space:]]*\s\+\)\?\zs\S\+\ze'
:function! StripNewlineChar()
:  if v:fname =~ '\n$'
:    return v:fname[:-2][?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h" check for 'include' with \zs and \ze
[?25l[?12l[?25h[?25l:[?12l[?25hcall delete("./Xbase.b")
[?25l[?12l[?25h[?25l:[?12l[?25hcall DeleteDirectory("Xdir1")
[?25l[?1l>[?12l[?25h[?1049l[?1049h[?1h=[?25l:[?12l[?25h!mkdir Xdir1
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!mkdir "Xdir1/dir2"
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25hlet &include='^\s*%inc\s*/\zs[^/]\+\ze'
[?25l:e Xdir1/dir2/baz.b
i%inc/foo/^[
:w
:e Xbase.b
:set path=Xdir1/dir2
i%inc    /foo/^[
:w
:redir! >>test.out
:checkpath!
:redir END
:brewind
ENDTEST

STARTTEST
:" check for 'include' with \zs and no \ze
:call delete("./Xbase.c")
:call DeleteDirectory("Xdir1")
:!mkdir Xdir1
:!mkdir "Xdir1/dir2"
:let &include='^\s*%inc\s*\%([[:upper:]][^[:space:]]*\s\+\)\?\zs\S\+\ze'
:function! StripNewlineChar()
:  if v:fname =~ '\n$'
:    return v:fname[:-2][?12l[?25h[?25l:[?12l[?25hfunction! DotsToSlashes()
[?25l
:  [?12l[?25h:  return substitute(v:fname, '\.', '/', 'g') . '.b'

[?25l:  [?12l[?25h:endfunction
[?25l:e Xdir1/dir2/baz.b
i%inc/foo/^[[?12l[?25h[?25l:[?12l[?25hlet &includeexpr='DotsToSlashes()'
[?25l[?12l[?25h[?25l:[?12l[?25he! Xdir1/dir2/foo.b
[?25l"Xdir1/dir2/foo.b" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l%inc   /bar/[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/foo.b" [New File] 1 line, 13 characters written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/bar.b
[?25l"Xdir1/dir2/bar.b" [New File][?12l[?25h[?25l%inc      /baz/[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/bar.b" [New File] 1 line, 16 characters written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/baz.b
[?25l"Xdir1/dir2/baz.b" [New File][?12l[?25h[?25l%inc/foo/[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/baz.b" [New File] 1 line, 22 characters written[?12l[?25h[?25l:[?12l[?25he Xbase.b
[?25l"Xbase.b" [New File][?12l[?25h[?25l:[?12l[?25hset path=Xdir1/dir2
[?25l[?12l[?25h[?25l%inc    /foo/[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xbase.b" [New File] 1 line, 14 characters written[?12l[?25h[?25l:[?12l[?25hredir! >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hcheckpath!
[?25l--- Included files in path ---

Xdir1/dir2/foo.b

Xdir1/dir2/foo.b -->

  Xdir1/dir2/bar.b

  Xdir1/dir2/bar.b -->

    Xdir1/dir2/baz.b

    Xdir1/dir2/baz.b -->

      foo  (Already listed)

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25l%inc    /foo/
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hbrewind
[?25l"test17.in" 141 lines, 2634 charactersi%inc            /foo/^[
:w:e Xbase.b:set path=Xdir1/dir2i%inc    /foo/^[:w:redir! >>test.out:checkpath!:redir END:brewindENDTESTSTARTTEST:" check for 'include' with \zs and no \ze:call delete("./Xbase.c"):call DeleteDirectory("Xdir1"):!mkdir Xdir1:!mkdir "Xdir1/dir2":let &include='^\s*%inc\s*\%([[:upper:]][^[:space:]]*\s\+\)\?\zs\S\+\ze':function! StripNewlineChar():  if v:fname =~ '\n$':    return v:fname[:-2]:  endif[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 39 lines, 743 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:w
:e Xdir1/dir2/baz.c
i%incfoo.c^[
:w
:e Xdir1/dir2/FALSE.c
i%incfoo.c^[
:w
:e Xbase.c
:set path=Xdir1/dir2
i%inc    FALSE.c foo.c^[
:w
:redir! >>test.out
:checkpath!
:redir END
:brewind
:" change "\" to "/" for Windows and fix 'fileformat'
:e test.out
:%s#\\#/#g
:set ff&
:w
:q
ENDTEST
[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h" check for 'include' with \zs and no \ze
[?25l[?12l[?25h[?25l:[?12l[?25hcall delete("./Xbase.c")
[?25l[?12l[?25h[?25l:[?12l[?25hcall DeleteDirectory("Xdir1")
[?25l[?1l>[?12l[?25h[?1049l[?1049h[?1h=[?25l:[?12l[?25h!mkdir Xdir1
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!mkdir "Xdir1/dir2"
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25hlet &include='^\s*%inc\s*\%([[:upper:]][^[:space:]]*\s\+\)\?\zs\S\+\ze'
[?25l:w
:e Xdir1/dir2/baz.c
i%incfoo.c^[
:w
:e Xdir1/dir2/FALSE.c
i%incfoo.c^[
:w
:e Xbase.c
:set path=Xdir1/dir2
i%inc    FALSE.c foo.c^[
:w
:redir! >>test.out
:checkpath!
:redir END
:brewind
:" change "\" to "/" for Windows and fix 'fileformat'
:e test.out
:%s#\\#/#g
:set ff&
:w
:q
ENDTEST
[?12l[?25h[?25l
:[?12l[?25hfunction! StripNewlineChar()
[?25l
:  [?12l[?25h:  if v:fname =~ '\n$'

[?25l:    [?12l[?25h:    return v:fname[:-2]

[?25l:    [?12l[?25h:  endif

[?25l:  [?12l[?25h:  return v:fname

[?25l:  [?12l[?25h:endfunction
[?25l:w
:e Xdir1/dir2/baz.c
i%incfoo.c^[
:w
:e Xdir1/dir2/FALSE.c[?12l[?25h[?25l
:[?12l[?25hlet &includeexpr='StripNewlineChar()'
[?25l[?12l[?25h[?25l:[?12l[?25he! Xdir1/dir2/foo.c
[?25l"Xdir1/dir2/foo.c" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l%inc   bar.c[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/foo.c" [New File] 1 line, 13 characters written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/bar.c
[?25l"Xdir1/dir2/bar.c" [New File][?12l[?25h[?25l%inc      baz.c[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/bar.c" [New File] 1 line, 16 characters written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/baz.c
[?25l"Xdir1/dir2/baz.c" [New File][?12l[?25h[?25l%incfoo.c[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/baz.c" [New File] 1 line, 22 characters written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/FALSE.c
[?25l"Xdir1/dir2/FALSE.c" [New File][?12l[?25h[?25l%incfoo.c[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/FALSE.c" [New File] 1 line, 22 characters written[?12l[?25h[?25l:[?12l[?25he Xbase.c
[?25l"Xbase.c" [New File][?12l[?25h[?25l:[?12l[?25hset path=Xdir1/dir2
[?25l[?12l[?25h[?25l%inc    FALSE.c foo.c[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xbase.c" [New File] 1 line, 22 characters written[?12l[?25h[?25l:[?12l[?25hredir! >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hcheckpath!
[?25l--- Included files in path ---

Xdir1/dir2/foo.c

Xdir1/dir2/foo.c -->

  Xdir1/dir2/bar.c

  Xdir1/dir2/bar.c -->

    Xdir1/dir2/baz.c

    Xdir1/dir2/baz.c -->

      foo.c  (Already listed)

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25l%inc    FALSE.c foo.c
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hbrewind
[?25l"test17.in" 141 lines, 2634 characters:w:e Xdir1/dir2/baz.ci%inc            foo.c^[:w:e Xdir1/dir2/FALSE.ci%inc            foo.c^[:w:e Xbase.c:set path=Xdir1/dir2i%inc    FALSE.c foo.c^[:w:redir! >>test.out:checkpath!:redir END:brewind:" change "\" to "/" for Windows and fix 'fileformat':e test.out:%s#\\#/#g:set ff&:w:qENDTEST[?12l[?25h[?25l:[?12l[?25h" change "\" to "/" for Windows and fix 'fileformat'
[?25l[?12l[?25h[?25l:[?12l[?25he test.out
[?25l"test.out" 33 lines, 655 charactersThis file is just to test "gf" in test 17.
The contents is not important.
Just testing!--- Included files in path ---
Xdir1/dir2/foo.a
Xdir1/dir2/foo.a -->
  Xdir1/dir2/bar.a  Xdir1/dir2/bar.a -->    Xdir1/dir2/baz.a
    Xdir1/dir2/baz.a -->
      "foo.a"  (Already listed)--- Included files in path ---Xdir1/dir2/foo.b
Xdir1/dir2/foo.b -->
  Xdir1/dir2/bar.b
  Xdir1/dir2/bar.b -->
    Xdir1/dir2/baz.b
    Xdir1/dir2/baz.b -->foo  (Already listed)[?12l[?25h[?25l:[?12l[?25h%s#\\#/#g
[?25lE486: Pattern not found: \\[?12l[?25h[?25l:[?12l[?25hset ff&
[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"test.out" 33 lines, 655 characters written[?12l[?25h[?25l:[?12l[?25hq
[?25l[?1l>[?12l[?25h[?1049l
# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test18.failed test.ok test.out X* viminfo
cp test18.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test18.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test18.in" 16 lines, 213 charactersTests for not doing smart indenting when it isn't set.

STARTTEST
:so small.vim
:set nocin nosi ai
/some
2cc#test^[
:?start?,$w! test.out
:qa!
ENDTEST

start textsome test texttest text
test texttest text
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for not doing smart indenting when it isn't set.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 76 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nocin nosi ai
[?25l[?12l[?25h[?25l/[?12l[?25hsome
[?25l[?12l[?25h[?25l
#test~                                                                               [?12l[?25h[?25l:[?12l[?25h?start?,$w! test.out
[?25l"test.out" [New File] 4 lines, 41 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test19.failed test.ok test.out X* viminfo
cp test19.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test19.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test19.in" 33 lines, 692 charactersTests for "r<Tab>" with 'smarttab' and 'expandtab' set/not set.
Also test that dv_ works correctly

STARTTEST
:so small.vim
:set smarttab expandtab ts=8 sw=4
:" make sure that backspace works, no matter what termcap is used
:set t_kD=^Vx7f t_kb=^Vx08
/some
r:set noexpandtab
/other
r
:" Test replacing with Tabs and then backspacing to undo it
0wR^H^H^H^[
:" Test replacing with Tabs
0wR^[
:" Test that copyindent works with expandtab set
:set expandtab smartindent copyindent ts=8 sw=8 sts=8
o{
x^[:set nosol
/Second line/
fwdv_:?^start?,$w! test.out
:qa![?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for "r<Tab>" with 'smarttab' and 'expandtab' set/not set.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 447 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset smarttab expandtab ts=8 sw=4
[?25l[?12l[?25h[?25l:[?12l[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?12l[?25h[?25l:[?12l[?25hset t_kD=^^? t_kb=^^H
[?25lSTARTTEST
:so small.vim
:set smarttab expandtab ts=8 sw=4
:" make sure that backspace works, no matter what termcap is used
:set t_kD=^Vx7f t_kb=^Vx08
/some
r:set noexpandtab
/other
r
:" Test replacing with Tabs and then backspacing to undo it
0wR^H^H^H^[
:" Test replacing with Tabs
0wR^[
:" Test that copyindent works with expandtab set
:set expandtab smartindent copyindent ts=8 sw=8 sts=8
o{
x^[:set nosol
/Second line/
fwdv_:?^start?,$w! test.out
:qa!
ENDTEST
[?12l[?25h[?25l
/[?12l[?25hsome
[?25lstart textsome test text[?12l[?25h[?25l    ome test text[?12l[?25h[?25l
:[?12l[?25hset noexpandtab
[?25l[?12l[?25h[?25l/[?12l[?25hother
[?25ltest textother test text[?12l[?25h[?25l    ther test text[?12l[?25h[?25l
a cde[?12l[?25h[?25l
:[?12l[?25h" Test replacing with Tabs and then backspacing to undo it
[?25l[?12l[?25h
    [?25l[?12l[?25h[?25l
f ghi[?12l[?25h[?25l
:[?12l[?25h" Test replacing with Tabs
[?25l[?12l[?25h
    [?25l     hi[?12l[?25h[?25l
test text[?12l[?25h[?25l
:[?12l[?25h" Test that copyindent works with expandtab set
[?25l[?12l[?25h[?25l:[?12l[?25hset expandtab smartindent copyindent ts=8 sw=8 sts=8
[?25l[?12l[?25h[?25l{x[?12l[?25h[?25l
:[?12l[?25hset nosol
[?25l[?12l[?25h[?25l/[?12l[?25hSecond line/
[?25l
Second line beginning with whitespace[?12l[?25h[?25l
  with whitespace[?12l[?25h[?25l
:[?12l[?25h?^start?,$w! test.out
[?25l"test.out" [New File] 10 lines, 121 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test20.failed test.ok test.out X* viminfo
cp test20.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test20.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test20.in" 28 lines, 398 charactersTests Blockwise Visual when there are TABs before the text.
First test for undo working properly when executing commands from a register.
Also test this in an empty buffer.

STARTTEST
:so tiny.vim
G0"ay$k@au
:new
@auY:quit!
GP
/start here$
"by$^Vjjlld
/456$
^Vjj"bP
:/56$/,$-1w! test.out
:qa!
ENDTEST

123456
234567
345678

test text test tex start here[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests Blockwise Visual when there are TABs before the text.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 107 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso tiny.vim
[?25l[?12l[?25h[?25lsome texttest text
test text

Ox^[jAy^[kdd[?12l[?25h[?25lx[?12l[?25h
[?25ly[?12l[?25h[?25ly
Ox^[jAy^[kdd[?12l[?25h[?25l

2 changes; before #1  0 seconds ago[?12l[?25h
[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       123456
234567
345678test text test tex start here
                some texttest
test textOx^[jAy^[kdd
test20.in                                                                       [?12l[?25h[?25lx[+][?12l[?25h
[?25ly[?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l1 line less; before #1  0 seconds ago    [?12l[?25h[?25l:[?12l[?25hquit!
[?25l:so tiny.vim
G0"ay$k@au:new@auY:quit!GP/start here$"by$^Vjjlld/456$^Vjj"bP:/56$/,$-1w! test.out:qa!ENDTEST123456
234567
345678test text test tex start heresome
         test text
test textOx^[jAy^[kdd[?12l[?25h[?25l[?12l[?25h[?25l
Ox^[jAy^[kdd[?12l[?25h[?25l
/[?12l[?25hstart here$
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l[?12l[?25h[?25ls[?12l[?25h[?25le[?12l[?25h[?25lt t[?12l[?25h[?25lat [?12l[?25h[?25lrt hereextex[?12l[?25h[?25l/[?12l[?25h456$
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l[?12l[?25h[?25l4
234[?12l[?25h[?25l5
345[?12l[?25h[?25l[?12l[?25h[?25lstart here56
234start here67
345start here78[?12l[?25h[?25l:[?12l[?25h/56$/,$-1w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 10 lines, 106 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test21.failed test.ok test.out X* viminfo
cp test21.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test21.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test21.in" 19 lines, 297 charactersTests for [ CTRL-I with a count and CTRL-W CTRL-I with a count

STARTTEST
:so small.vim
/start
6[      :.w! test.out
?start here
6^W     :.w >>test.out
:qa!
ENDTEST

#include test21.in

/* test text test tex start heresome texttest textstart OK if found this linestart found wrong line
test text
~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for [ CTRL-I with a count and CTRL-W CTRL-I with a count[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 73 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l/[?12l[?25hstart
[?25l[?12l[?25h[?25l:[?12l[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 30 characters written[?12l[?25h[?25l?[?12l[?25hstart here
[?25l[?12l[?25h[?25l6^W     :.w >>test.ou:qa!
ENDTEST#include test21.in/* test text test tex start here
                some text
    test text
       start OK if found this linestart found wrong line
test21.in                                                                       6^W     :.w >>test.out
:qa!ENDTEST#include test21.in/* test text test tex start here
                some text                test text                start OK if found this linetest21.in                                                                       [?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 30 characters appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test22.failed test.ok test.out X* viminfo
cp test22.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test22.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test22.in" 13 lines, 197 charactersTests for file with some lines ending in CTRL-M, some not^M
^M
STARTTEST
:set ta tx
:e!
:$-3,$w! test.out
:qa!
ENDTEST

this lines ends in a^M
this one doesn't
this one does^M
and the last one doesn't
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for file with some lines ending in CTRL-M, some not^M[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 4 lines, 38 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset ta tx
[?25l[?12l[?25h[?25l:[?12l[?25he!
[?25l"test22.in" 13 lines, 197 characters[?12l[?25h[?25l:[?12l[?25h$-3,$w! test.out
[?25l"test.out" [New File] 4 lines, 79 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test23.failed test.ok test.out X* viminfo
cp test23.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test23.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test23.in" 15 lines, 282 charactersTests for complicated + argument to :edit command

STARTTEST
:$-1w! Xfile1
:$w! Xfile2
:edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w
:w! test.out
:e Xfile1
:w >> test.out
:qa!
ENDTEST

The result should be in Xfile1: "fooPIPEbar", in Xfile2: "fooSLASHbar"
foo|bar
foo/bar
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for complicated + argument to :edit command[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 7 lines, 125 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h$-1w! Xfile1
[?25l"Xfile1" [New File] 1 line, 8 characters written[?12l[?25h[?25l:[?12l[?25h$w! Xfile2
[?25l"Xfile2" [New File] 1 line, 8 characters written[?12l[?25h[?25l:[?12l[?25hedit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w
[?25l"Xfile1" 1 line, 8 characters

foo|bar

"Xfile1" 1 line, 11 characters written

"Xfile2" 1 line, 8 characters

foo/bar

"Xfile2" 1 line, 12 characters written

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New File] 1 line, 12 characters written

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25he Xfile1
[?25l"Xfile1" 1 line, 11 charactersfooPIPEbar
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xfile1" 1 line, 11 characters[?12l[?25h[?25l:[?12l[?25hw >> test.out
[?25l"test.out" 1 line, 11 characters appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test24.failed test.ok test.out X* viminfo
cp test24.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test24.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test24.in" 89 lines, 1301 charactersTests for regexp with backslash and other special characters inside []
Also test backslash for hex/octal numbered character.

STARTTEST
:set nocompatible viminfo+=nviminfo
/[\x]
x/[\t\]]
x/[]y]
x/[\]]
x/[y^]
x/[$y]
x/[\x61]
x/[\x60-\x64]
xj0/[\x785]
x/[\o143]
x/[\o140-\o144]
x/[\o417]
x/\%x42
x/\%o103
x/[\x00]
x
:s/[\x00-\x10]//g[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for regexp with backslash and other special characters inside [][?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 51 lines, 519 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:s/^\(\h\w*\%(->\|\.\)\=\)\+=/YY/

:s/aaa/xyz/

:s/~/bcd/

:s/~\+/BB/
:"
:?start?,$w! test.out
:qa!
ENDTEST

start
test \text test text
test    text test text
test text ]test text
test ]text test text
test text te^st text
test te$xt test text
test taext test text  x61
test tbext test text  x60-x64
test 5text test text  x78 5[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset nocompatible viminfo+=nviminfo
[?25l[?12l[?25h[?25l/[?12l[?25h[\x]
[?25l[?12l[?25h[?25ltext test text[?12l[?25h[?25l/[?12l[?25h[\t\]]
[?25l[?12l[?25h[?25ltext test tex[?12l[?25h[?25l/[?12l[?25h[]y]
[?25l[?12l[?25h[?25ltest text[?12l[?25h[?25l/[?12l[?25h[\]]
[?25l[?12l[?25h[?25ltext test text[?12l[?25h[?25l/[?12l[?25h[y^]
[?25l[?12l[?25h[?25lst text[?12l[?25h[?25l/[?12l[?25h[$y]
[?25l[?12l[?25h[?25lxt test text[?12l[?25h[?25l/[?12l[?25h[\x61]
[?25l[?12l[?25h[?25lext test text  x61[?12l[?25h[?25l/[?12l[?25h[\x60-\x64]
[?25l[?12l[?25h[?25lext test text  x60-x64[?12l[?25h
[?25l/[?12l[?25h[\x785]
[?25l[?12l[?25h[?25ltext test text  x78 5[?12l[?25h[?25l/[?12l[?25h[\o143]
[?25l
testc text test text  o143[?12l[?25h[?25l text test text  o143[?12l[?25h[?25l
/[?12l[?25h[\o140-\o144]
[?25l
tesdt text test text  o140-o144[?12l[?25h[?25lt text test text  o140-o14[?12l[?25h[?25l
/[?12l[?25h[\o417]
[?25l
test7 text test text  o41 7[?12l[?25h[?25l text test text  o41 7[?12l[?25h[?25l
/[?12l[?25h\%x42
[?25l
test text tBest text  \%x42[?12l[?25h[?25lest text  \%x42[?12l[?25h[?25l
/[?12l[?25h\%o103
[?25l
test text teCst text  \%o103[?12l[?25h[?25lst text  \%o103[?12l[?25h[?25l
/[?12l[?25h[\x00]
[?25l
test text ^@test text  [\x00][?12l[?25h[?25ltest text  [\x00][?12l[?25h[?25l
test te^@xt t^Dest t^Pext  [\x00-\x10][?12l[?25h[?25l
:[?12l[?25hs/[\x00-\x10]//g
[?25l3 substitutions on 1 linext test text  [\x00-\x10][?12l[?25h[?25l
test \xyztext test text  [\x-z][?12l[?25h[?25l
:[?12l[?25hs/[\x-z]\+//
[?25ltext test text  [\x-z][?12l[?25h[?25l
test text tev\uyst text  [\u-z][?12l[?25h[?25l
:[?12l[?25hs/[\u-z]\{2,}//
[?25lst text  [\u-z][?12l[?25h[?25l
xx aaaaa xx a[?12l[?25h[?25l
:[?12l[?25hs/\(a\)\+//
[?25l xx [?12l[?25h[?25l
xx aaaaa xx a[?12l[?25h[?25l
:[?12l[?25hs/\(a*\)\+//
[?25l[?12l[?25h[?25l
xx aaaaa xx a[?12l[?25h[?25l
:[?12l[?25hs/\(a*\)*//
[?25l[?12l[?25h[?25l
xx aaaaa xx[?12l[?25h[?25l
:[?12l[?25hs/\(a\)\{2,3}/A/
[?25lAaa xx[?12l[?25h[?25l
xx aaaaa xx[?12l[?25h[?25l
:[?12l[?25hs/\(a\)\{-2,3}/A/
[?25lAaaa x[?12l[?25h[?25l
xx aaa12aa xx[?12l[?25h[?25l
:[?12l[?25hs/\(a\)*\(12\)\@>/A/
[?25lAaa xx[?12l[?25h[?25l
xx foobar xbar xx[?12l[?25h[?25l
:[?12l[?25hs/\(foo\)\@<!bar/A/
[?25lA xx[?12l[?25h[?25l
xx an file xx[?12l[?25h[?25l
:[?12l[?25hs/\(an\_s\+\)\@<=file/A/
[?25lA xx[?12l[?25h[?25l
x= 9;[?12l[?25h[?25l
:[?12l[?25hs/^\(\h\w*\%(->\|\.\)\=\)\+=/XX/
[?25lXX
[?12l[?25h[?25l
hh= 77;[?12l[?25h[?25l
:[?12l[?25hs/^\(\h\w*\%(->\|\.\)\=\)\+=/YY/
[?25lYY 77;[?12l[?25h[?25l
aaa[?12l[?25h[?25l
:[?12l[?25hs/aaa/xyz/
[?25lxyz
 [?12l[?25h[?25l
xyz[?12l[?25h[?25l
:[?12l[?25hs/~/bcd/
[?25lbcd
 [?12l[?25h[?25l
bcdbcdbcd[?12l[?25h[?25l
:[?12l[?25hs/~\+/BB/
[?25lBB[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h?start?,$w! test.out
[?25l"test.out" [New] 32L, 586C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test25.failed test.ok test.out X* viminfo
cp test25.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test25.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test25.in" 31 lines, 840 charactersTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.
This only works for Unix, because of the symbolic link.

STARTTEST
:so small.vim
:set hidden
:" Create a link from test25.dir to the current directory.
:!rm -f test25.dir
:!ln -s . test25.dir
:" Create tags.text, with the current directory name inserted.
/tags line
:r !pwd
d$/test
hP:.w! tags.test
:" Try jumping to a tag in the current file, but with a path that contains a
:" symbolic link.  When wrong, this will give the ATTENTION message.  The next
:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.
:set tags=tags.test
G^] x:.w! test.out
:!rm -f test25.dir tags.test
:qa!
ENDTEST[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 540 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset hidden
[?25l[?12l[?25h[?25l:[?12l[?25h" Create a link from test25.dir to the current directory.
[?25l[?12l[?25h[?25l:[?12l[?25h!rm -f test25.dir
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!ln -s . test25.dir
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h" Create tags.text, with the current directory name inserted.
[?25lTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.
This only works for Unix, because of the symbolic link.

STARTTEST
:so small.vim
:set hidden
:" Create a link from test25.dir to the current directory.
:!rm -f test25.dir
:!ln -s . test25.dir
:" Create tags.text, with the current directory name inserted.
/tags line
:r !pwd
d$/test
hP:.w! tags.test
:" Try jumping to a tag in the current file, but with a path that contains a
:" symbolic link.  When wrong, this will give the ATTENTION message.  The next
:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.
:set tags=tags.test
G^] x:.w! test.out
:!rm -f test25.dir tags.test
:qa!
ENDTEST
[?12l[?25h[?25l
/[?12l[?25htags line
[?25lhis only works for Unix, because of the symbolic link.STARTTEST
:so small.vim
:set hidden" Create a link from test25.dir to the current directory.
:!rm -f test25.dirln -s . test25.dir
:" Create tags.text, with the current directory name inserted.
/tags line:r !pwdd$/test
hP:.w! tags.test
:" Try jumping to a tag in the current file, but with a path that contains a
:" symbolic link.  When wrong, this will give the ATTENTION message.  The next
:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.
:set tags=tags.testG^] x:.w! test.out:!rm -f test25.dir tags.test
:qa!ENDTESTtags line:
[?12l[?25h[?25l:[?12l[?25hr !pwd
[?25l[?12l[?25h[?25lSTARTTEST
:so small.vim
:set hidden
:" Create a link from test25.dir to the current directory.
:!rm -f test25.dir
:!ln -s . test25.dir
:" Create tags.text, with the current directory name inserted.
/tags line
:r !pwd
d$/test
hP:.w! tags.test
:" Try jumping to a tag in the current file, but with a path that contains a
:" symbolic link.  When wrong, this will give the ATTENTION message.  The next
:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.
:set tags=tags.test
G^] x:.w! test.out
:!rm -f test25.dir tags.test
:qa!
ENDTEST

tags line:
/<<PKGBUILDDIR>>/src/vim-basic/testdir
[?12l[?25h[?25l[?12l[?25h[?25l
/[?12l[?25htest
[?25l
SECTION_OFF     /test25.dir/test25.in   /^#define  SECTION_OFF  3$/[?12l[?25h[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/test25.dir/t@                                                                               
SECTION_OFF     /<<PKGBUILDDIR>>/src/vim-basic/testdir/test25.dir/ttest25.in/^#define  SECTION_OFF  3$/[?12l[?25h[?25l

:[?12l[?25h.w! tags.test
[?25l"tags.test" [New File] 1 line, 113 characters written[?12l[?25h[?25l:[?12l[?25h" Try jumping to a tag in the current file, but with a path that contains a
[?25l[?12l[?25h[?25l:[?12l[?25h" symbolic link.  When wrong, this will give the ATTENTION message.  The next
[?25l[?12l[?25h[?25l:[?12l[?25h" space will then be eaten by hit-return, instead of moving the cursor to 'd'.
[?25l[?12l[?25h[?25l:[?12l[?25hset tags=tags.test
[?25l[?12l[?25h[?25l/*tx.c*/
#define  SECTION_OFF  3
#define  NUM_SECTIONS 3

SECTION_OFF[?12l[?25h#[?25lefine  SECTION_OFF  3[?12l[?25h[?25l:[?12l[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 23 characters written[?12l[?25h[?25l:[?12l[?25h!rm -f test25.dir tags.test
[?25l[?1l>[?12l[?25h[?1049l
[No write since last change]

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l
# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test26.failed test.ok test.out X* viminfo
cp test26.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test26.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test26.in" 44 lines, 750 charactersTest for :execute, :while and :if

STARTTEST
:so small.vim
mt:let i = 0
:while i < 12
:  let i = i + 1
:  if has("ebcdic")
:    execute "normal o" . i . "\047"
:  else
:    execute "normal o" . i . "\033"
:  endif
:  if i % 2
:    normal Ax^V^[
:    if i == 9
:      break
:    endif
:    if i == 5
:      continue
:    else
:      let j = 9
:      while j > 0
:if has("ebcdic")[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for :execute, :while and :if[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 39 lines, 696 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:      let j = 9
:      while j > 0
:if has("ebcdic")
:execute "normal" j . "a" . j . "\x27"
:else
:execute "normal" j . "a" . j . "\x1b"
:endif
:let j = j - 1
:      endwhile
:    endif
:  endif
:  if i == 9
:    if has("ebcdic")
:      execute "normal Az\047"
:    else
:      execute "normal Az\033"
:    endif
:  endif
:endwhile
:unlet i j
:'t,$w! test.out
:qa!
ENDTEST
[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hlet i = 0
[?25l[?12l[?25h[?25l:[?12l[?25hwhile i < 12
[?25l
:  [?12l[?25h:  let i = i + 1

[?25l:  [?12l[?25h:  if has("ebcdic")

[?25l:    [?12l[?25h:    execute "normal o" . i . "\047"

[?25l:    [?12l[?25h:  else

[?25l:    [?12l[?25h:    execute "normal o" . i . "\033"

[?25l:    [?12l[?25h:  endif

[?25l:  [?12l[?25h:  if i % 2

[?25l:    [?12l[?25h:    normal Ax^^[

[?25l:    [?12l[?25h:    if i == 9

[?25l:      [?12l[?25h:      break

[?25l:      [?12l[?25h:    endif

[?25l:    [?12l[?25h:    if i == 5

[?25l:      [?12l[?25h:      continue

[?25l:      [?12l[?25h:    else

[?25l:      [?12l[?25h:      let j = 9

[?25l:      [?12l[?25h:      while j > 0

[?25l:[?12l[?25h:        if has("ebcdic")

[?25l:[?12l[?25h:          execute "normal" j . "a" . j . "\x27"

[?25l:[?12l[?25h:        else

[?25l:[?12l[?25h:          execute "normal" j . "a" . j . "\x1b"

[?25l:[?12l[?25h:        endif

[?25l:[?12l[?25h:        let j = j - 1

[?25l:[?12l[?25h:      endwhile

[?25l:      [?12l[?25h:    endif

[?25l:    [?12l[?25h:  endif

[?25l:  [?12l[?25h:  if i == 9

[?25l:    [?12l[?25h:    if has("ebcdic")

[?25l:      [?12l[?25h:      execute "normal Az\047"

[?25l:      [?12l[?25h:    else

[?25l:      [?12l[?25h:      execute "normal Az\033"

[?25l:      [?12l[?25h:    endif

[?25l:    [?12l[?25h:  endif

[?25l:  [?12l[?25h:endwhile
[?25l:  endif
:  if i == 9
:    if has("ebcdic")
:      execute "normal Az\047"
:    else
:      execute "normal Az\033"
:    endif
:  endif
:endwhile
:unlet i j
:'t,$w! test.out
:qa!
ENDTEST

1x999999999888888887777777666666555554444333221
2
3x999999999888888887777777666666555554444333221
4
5x
6
7x999999999888888887777777666666555554444333221
8
9x[?12l[?25h[?25l
:[?12l[?25hunlet i j
[?25l[?12l[?25h[?25l:[?12l[?25h't,$w! test.out
[?25l"test.out" [New File] 10 lines, 159 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test27.failed test.ok test.out X* viminfo
cp test27.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test27.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test27.in" 20 lines, 270 charactersTest for expanding file names

STARTTEST
:!mkdir Xdir1
:!mkdir Xdir2
:!mkdir Xdir3
:cd Xdir3
:!mkdir Xdir4
:cd ..
:w Xdir1/file
:w Xdir3/Xdir4/file
:n Xdir?/*/file
Go^R%^[:.w! test.out
:n! Xdir?/*/nofile
Go^R%^[:.w >>test.out
:e! xx
:!rm -rf Xdir1 Xdir2 Xdir3
:qa!
ENDTEST

~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for expanding file names[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 15 lines, 220 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h!mkdir Xdir1
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!mkdir Xdir2
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!mkdir Xdir3
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25hcd Xdir3
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xdir3Test for expanding file names

STARTTEST
:!mkdir Xdir1
:!mkdir Xdir2
:!mkdir Xdir3
:cd Xdir3
:!mkdir Xdir4
:cd ..
:w Xdir1/file
:w Xdir3/Xdir4/file
:n Xdir?/*/file
Go^R%^[:.w! test.out
:n! Xdir?/*/nofile
Go^R%^[:.w >>test.out
:e! xx
:!rm -rf Xdir1 Xdir2 Xdir3
:qa!
ENDTEST

~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h!mkdir Xdir4
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdirTest for expanding file names

STARTTEST
:!mkdir Xdir1
:!mkdir Xdir2
:!mkdir Xdir3
:cd Xdir3
:!mkdir Xdir4
:cd ..
:w Xdir1/file
:w Xdir3/Xdir4/file
:n Xdir?/*/file
Go^R%^[:.w! test.out
:n! Xdir?/*/nofile
Go^R%^[:.w >>test.out
:e! xx
:!rm -rf Xdir1 Xdir2 Xdir3
:qa!
ENDTEST

~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw Xdir1/file
[?25l"Xdir1/file" [New File] 20 lines, 270 characters written[?12l[?25h[?25l:[?12l[?25hw Xdir3/Xdir4/file
[?25l"Xdir3/Xdir4/file" [New File] 20 lines, 270 characters written[?12l[?25h[?25l:[?12l[?25hn Xdir?/*/file
[?25l"Xdir3/Xdir4/file" 20 lines, 270 characters[?12l[?25h[?25l
Xdir3/Xdir4/file[?12l[?25h[?25l:[?12l[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 17 characters written[?12l[?25h[?25l:[?12l[?25hn! Xdir?/*/nofile
[?25l"Xdir?/*/nofile" [New DIRECTORY]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l
Xdir?/*/nofile[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 15 characters appended[?12l[?25h[?25l:[?12l[?25he! xx
[?25l"xx" [New File]~                                                                               [?12l[?25h[?25l:[?12l[?25h!rm -rf Xdir1 Xdir2 Xdir3
[?25l[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l
# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test28.failed test.ok test.out X* viminfo
cp test28.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test28.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test28.in" 23 lines, 364 charactersTest for sourcing a file with CTRL-V's at the end of the line

STARTTEST
:/firstline/+1,/lastline/-1w! Xtestfile
:so Xtestfile
Gmm__1^[^[__2^[__3^[^[__4^[__5^[:'m,$s/^@/0/g
:'m,$w! test.out
:qa!
ENDTEST

firstline
map __1 afirst
map __2 asecond
map __3 athird
map __4 afourth
map __5 afifth
map __1 asd^V
map __2 asd^V^V
map __3 asd^V^V
map __4 asd^V^V^V
map __5 asd^V^V^V
lastline[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for sourcing a file with CTRL-V's at the end of the line[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 114 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h/firstline/+1,/lastline/-1w! Xtestfile
[?25l"Xtestfile" [New File] 10 lines, 148 characters written[?12l[?25h[?25l:[?12l[?25hso Xtestfile
[?25l[?12l[?25h[?25l
sd
map __2 asd^[[?12l[?25h[?25lsecond[?12l[?25hd  [?25lsd^[[?12l[?25h^[  [?25lsd^@map __5 asd^@[?12l[?25h[?25lfifth[?12l[?25h[?25l
:[?12l[?25h'm,$s/^@/0/g
[?25l0map __5 asd0fifth[?12l[?25h[?25l:[?12l[?25h'm,$w! test.out
[?25l"test.out" [New File] 2 lines, 45 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test29.failed test.ok test.out X* viminfo
cp test29.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test29.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test29.in" 230 lines, 4222 charactersTest for joining lines and marks in them
 in compatible and nocompatible modes
 and with 'joinspaces' set or not
 and with 'cpoptions' flag 'j' set or not

STARTTEST
:so small.vim
:set nocompatible viminfo+=nviminfo
:set nojoinspaces
:set cpoptions-=j
/firstline/
j"td/^STARTTEST/-1
PJjJjJjJjJjJjJjJjJjJjJjJjJjJj05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions+=jj05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions-=j joinspaces
j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptionss+=j
j05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions-=j nojoinspaces compatible
j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj4Jy3l$pjd/STARTTEST/-2
ENDTEST

firstline
asdfasdf.
asdf[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for joining lines and marks in them[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 478 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nocompatible viminfo+=nviminfo
[?25l[?12l[?25h[?25l:[?12l[?25hset nojoinspaces
[?25l[?12l[?25h[?25l:[?12l[?25hset cpoptions-=j
[?25l[?12l[?25h[?25l/[?12l[?25hfirstline/
[?25l[?12l[?25h
[?25l/[?12l[?25h^STARTTEST/-1
[?25l+-1
37 fewer linesSTARTTEST
/^{/+1[?12l[?25h[?25lmore linesasdfasdf.
asdf[?12l[?25h[?25lasdf
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.      [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.      [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25lf asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
zx cvn.[?12l[?25h
zx cv[?25las dfg?
hjkl iop!
ert[?12l[?25h
hjkl i[?25l. as dfg? hjkl iop! ert
zx cvn.
as dfg?hjkl iop![?12l[?25h er[?25lt er[?12l[?25h
zx cv[?25lrn[?12l[?25h[?25lnop[?12l[?25h[?25l:[?12l[?25hset cpoptions+=j
[?25l[?12l[?25h
zx cv
hjkl i[?25l. as dfg? hjkl iop! ertSTARTTEST[?12l[?25h er[?25lt er[?12l[?25h
zx cv[?25lrn[?12l[?25h[?25lnop[?12l[?25h[?25l:[?12l[?25hset cpoptions-=j joinspaces
[?25l[?12l[?25h
[?25l

37 more linesasdfasdf.
[?12l[?25h[?25lasdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l  asdf[?12l[?25h[?25l
asdfasdf. [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.      [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.      [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25lf asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
zx cvn.[?12l[?25h
zx cv[?25las dfg?
hjkl iop![?12l[?25h
hjkl i[?25l.  as dfg?  hjkl iop!  ert
zx cvn.
as dfg?[?12l[?25h  er[?25lt  e[?12l[?25h
zx cv[?25len[?12l[?25h[?25lnop[?12l[?25h[?25l


:[?12l[?25hset cpoptions+=j
[?25l[?12l[?25h
zx cv[?25l
hjkl iop![?12l[?25h
hjkl i[?25l.  as dfg? hjkl iop! ertSTARTTEST[?12l[?25h er[?25lt er[?12l[?25h
zx cv[?25lrn[?12l[?25h[?25lnop[?12l[?25h[?25l


:[?12l[?25hset cpoptions-=j nojoinspaces compatible
[?25l[?12l[?25h
[?25l

37 more linesasdfasdf.
[?12l[?25h[?25lasdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l  asdf[?12l[?25h[?25l
asdfasdf. [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.      [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.      [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25lf asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
zx cvn.[?12l[?25h[?25l.  as dfg? hjkl iop! ert[?12l[?25h[?25lt  a[?12l[?25h[?25l
zx cvn.[?12l[?25h[?25l
/[?12l[?25hSTARTTEST/-2
[?25l+-2
4 fewer lines[?12l[?25h[?25l/^STARTTEST

STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 12 lines, 147 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set comments=s1:/*,mb:*,ex:*/,://
:set nojoinspaces fo=j
:set backspace=eol,start
:.,+3join
j4J
:.,+2join
j3J
:.,+2join
j3J
:.,+2join
jj3J
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l{[?12l[?25h[?25l
:[?12l[?25hset comments=s1:/*,mb:*,ex:*/,://
[?25l[?12l[?25h[?25l:[?12l[?25hset nojoinspaces fo=j
[?25l[?12l[?25h[?25l:[?12l[?25hset backspace=eol,start
[?25l[?12l[?25h[?25l:[?12l[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed. */
[?12l[?25h[?25l
[?12l[?25h[?25l/* Make sure the previous comment leader is not removed. */
[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h.,+2join
[?25l// Should the next comment leader be left alone? Yes.
[?12l[?25h[?25l
[?12l[?25h[?25l// Should the next comment leader be left alone? Yes.
[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?12l[?25h[?25l
[?12l[?25h[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h.,+2join
[?25lif (condition) // Remove the next comment leader! OK, I will.
[?12l[?25h[?25l
action();[?12l[?25h[?25l
[?12l[?25h[?25lif (condition) // Remove the next comment leader! OK, I will.
[?12l[?25h[?25l
action();
[?12l[?25h[?25l
/^STARTTEST
}

STARTTEST[?12l[?25h[?25l
:" Test with backspace set to the non-compatible setting
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 17 lines, 308 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:inoremap <c-u> <left><c-u>
Avim3^U^[
:iunmap <c-u>
Avim4^U^U^[
:" Test with backspace set to the compatible setting
:set bs=
A vim5^[A^U^U^[
A vim6^[Azwei^Gu^U^[
:inoremap <c-u> <left><c-u>
A vim7^U^U^[
:set cp
ENDTEST
1 this shouldn't be deleted
2 this shouldn't be deleted
3 this shouldn't be deleted
4 this should be deleted
5 this shouldn't be deleted
6 this shouldn't be deleted
7 this shouldn't be deleted
8 this shouldn't be deleted (not touched yet)

STARTTEST
/^{/+1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h" Test with backspace set to the non-compatible setting
[?25l[?12l[?25h[?25l/[?12l[?25h^\d\+ this
[?25l[?12l[?25h[?25l:[?12l[?25hset cp bs=2
[?25l[?12l[?25h[?25l[?12l[?25hd    [?25lvim2[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset cpo-=<
[?25l[?12l[?25h[?25l:[?12l[?25hinoremap <c-u> <left><c-u>
[?25l[?12l[?25h[?25ld3[?12l[?25h[?25l:[?12l[?25hiunmap <c-u>
[?25l[?12l[?25h[?25l[?12l[?25h
[?25l:[?12l[?25h" Test with backspace set to the compatible setting
[?25l[?12l[?25h[?25l:[?12l[?25hset bs=
[?25l[?12l[?25h[?25lvim5[?12l[?25h[?25ld vim6[?12l[?25h6    [?25lzwei[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hinoremap <c-u> <left><c-u>
[?25l[?12l[?25h[?25lvim7[?12l[?25h
[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 21 lines, 356 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTESTj3J
:.,+2join
j3J
:.,+2join
jj3J
j:.,+2join
jj3J
j:.,+5join
j6J
oSome code!^M// Make sure backspacing does not remove this comment leader.^[0i^HH^[
ENDTEST

{

/*
 * Make sure the previous comment leader is not removed.
 */

/*
 * Make sure the previous comment leader is not removed.
 */[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l[?12l[?25h[?25l:[?12l[?25hset comments=sO:*\ -,mO:*\ \ ,exO:*/
[?25l[?12l[?25h[?25l:[?12l[?25hset comments+=s1:/*,mb:*,ex:*/,://
[?25l[?12l[?25h[?25l:[?12l[?25hset comments+=s1:>#,mb:#,ex:#<,:<
[?25l[?12l[?25h[?25l:[?12l[?25hset cpoptions-=j joinspaces fo=j
[?25l[?12l[?25h[?25l:[?12l[?25hset backspace=eol,start
[?25l[?12l[?25h[?25l:[?12l[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed.  *//* List:
 * - item1
 *   foo bar baz[?12l[?25h
[?25l/* Make sure the previous comment leader is not removed.  */*   foo bar baz
 * - item2
 *   foo bar baz[?12l[?25h
[?25l:[?12l[?25h.,+8join
[?25l/* List: item1 foo bar baz foo bar baz item2 foo bar baz foo bar baz *//* List:- item1  foo bar baz
 * - item2[?12l[?25h
[?25l/* List: item1 foo bar baz foo bar baz item2 foo bar baz foo bar baz */// Should the next comment leader be left alone?
// Yes.// Should the next comment leader be left alone?[?12l[?25h
[?25l:[?12l[?25h.,+2join
[?25lShould the next comment leader be left alone?  Yes.


// Yes.[?12l[?25h
[?25l// Should the next comment leader be left alone?  Yes.* Here the comment leader should be left intact. */
// And so should this one.[?12l[?25h
[?25l


:[?12l[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.* Here the comment leader should be left intact. */[?12l[?25h
[?25l/* Here the comment leader should be left intact. */ // And so should this one.[?12l[?25h
[?25l:[?12l[?25h.,+2join
[?25lif (condition) // Remove the next comment leader!  OK, I will.
[?12l[?25h[?25l
action();[?12l[?25h[?25l
[?12l[?25h[?25lif (condition) // Remove the next comment leader!  OK, I will.
[?12l[?25h[?25l
action();
[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h.,+2join
[?25lint i = 7 /* foo *// 3 // comment
[?12l[?25h[?25l
;[?12l[?25h[?25l
[?12l[?25h[?25lint i = 7 /* foo *// 3 // comment
[?12l[?25h[?25l
;
[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h.,+5join
[?25l># Note that the last character of the ending comment leader (left angle bracket@                                                                               ># Note that the last character of the ending comment leader (left angle brackett) is a comment leader itself. Make sure that this comment leader is not removed  from the next line #< < On this line a new comment is opened which spans 2 liness. This comment should retain its comment leader.[?12l[?25h[?25l
[?12l[?25h[?25l># Note that the last character of the ending comment leader (left angle bracket@                                                                               ># Note that the last character of the ending comment leader (left angle brackett) is a comment leader itself. Make sure that this comment leader is not removed  from the next line #< < On this line a new comment is opened which spans 2 liness. This comment should retain its comment leader.[?12l[?25h[?25l
[?12l[?25h[?25lSome code!
// Make sure backspacing does not remove this comment leader.[?12l[?25h
[?25l// Make sure backspacing does not remove this comment leader.
}[?12l[?25h
[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:g/^STARTTEST/.,/^ENDTEST/d
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 61 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST[?12l[?25h[?25l
:?firstline?+1,$w! test.out[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l74 fewer lines// Should the next comment leader be left alone?  Yes./* Here the comment leader should be left intact. */ // And so should this one.
/* Here the comment leader should be left intact. */ // And so should this one.
if (condition) // Remove the next comment leader!  OK, I will.
    action();if (condition) // Remove the next comment leader!  OK, I will.
    action();int i = 7 /* foo *// 3 // comment
 ;int i = 7 /* foo *// 3 // comment ;># Note that the last character of the ending comment leader (left angle brackett) is a comment leader itself. Make sure that this comment leader is not removed  from the next line #< < On this line a new comment is opened which spans 2 liness. This comment should retain its comment leader.># Note that the last character of the ending comment leader (left angle brackett) is a comment leader itself. Make sure that this comment leader is not removed  from the next line #< < On this line a new comment is opened which spans 2 liness. This comment should retain its comment leader.

Some code!// Make sure backspacing does not remove this comment leader.
}[?12l[?25h[?25l:[?12l[?25h?firstline?+1,$w! test.out
[?25l"test.out" [New File] 97 lines, 3018 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test30.failed test.ok test.out X* viminfo
cp test30.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test30.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test30.in" 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' option

Note: This test will fail if "cat" is not available.

STARTTEST
:so small.vim
:" first write three test files, one in each format
:set fileformat=unix
:set fileformats=
:/^1/w! XX1
:/^2/w! XX2
:/^3/w! XX3
:/^4/w! XX4
:/^5/w! XX5
:/^6/w! XX6
:/^7/w! XX7
:/^8/w! XX8
:/^9/w! XX9
:/^10/w! XX10
:/^unix/;/eof/-1w! XXUnix
:/^dos/;/eof/-1w! XXDos
:set bin noeol
:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for a lot of variations of the 'fileformats' option[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 195 lines, 3271 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:$r XXtt62
:$r XXtt63
Go7^[:$r XXtt71
Go8^[:$r XXtt81
Go9^[:$r XXtt91
:$r XXtt92
:$r XXtt93
Go10^[:$r XXUnix
:set nobinary ff&
:w
:qa!
ENDTEST

1
2
3
4
5
6
7
8
9
10[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" first write three test files, one in each format
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformat=unix
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformats=
[?25l[?12l[?25h[?25l:[?12l[?25h/^1/w! XX1
[?25l"XX1" [New File] 1 line, 2 characters written[?12l[?25h[?25l:[?12l[?25h/^2/w! XX2
[?25l"XX2" [New File] 1 line, 2 characters written[?12l[?25h[?25l:[?12l[?25h/^3/w! XX3
[?25l"XX3" [New File] 1 line, 2 characters written[?12l[?25h[?25l:[?12l[?25h/^4/w! XX4
[?25l"XX4" [New File] 1 line, 2 characters written[?12l[?25h[?25l:[?12l[?25h/^5/w! XX5
[?25l"XX5" [New File] 1 line, 2 characters written[?12l[?25h[?25l:[?12l[?25h/^6/w! XX6
[?25l"XX6" [New File] 1 line, 2 characters written[?12l[?25h[?25l:[?12l[?25h/^7/w! XX7
[?25l"XX7" [New File] 1 line, 2 characters written[?12l[?25h[?25l:[?12l[?25h/^8/w! XX8
[?25l"XX8" [New File] 1 line, 2 characters written[?12l[?25h[?25l:[?12l[?25h/^9/w! XX9
[?25l"XX9" [New File] 1 line, 2 characters written[?12l[?25h[?25l:[?12l[?25h/^10/w! XX10
[?25l"XX10" [New File] 1 line, 3 characters written[?12l[?25h[?25l:[?12l[?25h/^unix/;/eof/-1w! XXUnix
[?25l"XXUnix" [New File] 2 lines, 10 characters writtenunix"XXUnix" [New File] 2 lines, 10 characters written[?12l[?25h[?25l:[?12l[?25h/^dos/;/eof/-1w! XXDos
[?25l"XXDos" [New File] 2 lines, 10 characters writtenunix
eof

dos^M"XXDos" [New File] 2 lines, 10 characters written[?12l[?25h[?25l:[?12l[?25hset bin noeol
[?25l[?12l[?25h[?25l:[?12l[?25h$w! XXMac
[?25l"XXMac" [New File][Incomplete last line] 1 line, 8 characters written[?12l[?25h[?25l:[?12l[?25hset nobin eol
[?25l[?12l[?25h[?25l:[?12l[?25hbwipe XXUnix XXDos XXMac
[?25l3 buffers wiped out[?12l[?25h[?25l:[?12l[?25h" create mixed format files
[?25l[?12l[?25h[?25l:[?12l[?25hif has("vms")
[?25l
:  [?12l[?25h: !copy XXUnix,XXDos XXUxDs.

[?25l:  [?12l[?25h: !copy XXUnix,XXMac XXUxMac.

[?25l:  [?12l[?25h: !copy XXDos,XXMac  XXDosMac.

[?25l:  [?12l[?25h: !copy XXUnix,XXDos,XXMac XXUxDsMc.

[?25l:  [?12l[?25h:elseif has("win32")

[?25l:  [?12l[?25h: !copy /b XXUnix+XXDos XXUxDs

[?25l:  [?12l[?25h: !copy /b XXUnix+XXMac XXUxMac

[?25l:  [?12l[?25h: !copy /b XXDos+XXMac XXDosMac

[?25l:  [?12l[?25h: !copy /b XXUnix+XXDos+XXMac XXUxDsMc

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: !cat XXUnix XXDos >XXUxDs

[?25l:!cat XXUnix XXDos >XXUxDs[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:  :[?12l[?25h !cat XXUnix XXMac >XXUxMac

[?25l:!cat XXUnix XXMac >XXUxMac[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:  :[?12l[?25h !cat XXDos XXMac >XXDosMac

[?25l:!cat XXDos XXMac >XXDosMac[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:  :[?12l[?25h !cat XXUnix XXDos XXMac >XXUxDsMc

[?25l:!cat XXUnix XXDos XXMac >XXUxDsMc[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:  :[?12l[?25hendif
[?25l:[?12l[?25h"
[?25l:$r XXtt93
Go10^[:$r XXUnix
:set nobinary ff&
:w
:qa!
ENDTEST

1
2
3
4
5
6
7
8
9
10

unix
unix
eof

dos^M
[?12l[?25h[?25l
:[?12l[?25h" try reading and writing with 'fileformats' empty
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformat=unix
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUnix
[?25l"XXUnix" 2 lines, 10 charactersunixunix~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New File] 2 lines, 10 characters written[?12l[?25h[?25l:[?12l[?25he! XXDos
[?25l"XXDos" 2 lines, 10 charactersdos^M
dos^M[?12l[?25h[?25l:[?12l[?25hw! XXtt01
[?25l"XXtt01" [New File] 2 lines, 10 characters written[?12l[?25h[?25l:[?12l[?25he! XXMac
[?25l"XXMac" [Incomplete last line] 1 line, 8 charactersmacmac^M
~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt02
[?25l"XXtt02" [New File] 1 line, 9 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" 222 lines, 3463 characters

3 buffers wiped out

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hset fileformat=dos
[?25l:qa!
ENDTEST12345678910unixunixeofdos^Mdos^Meofmac^Mmac^M[?12l[?25h[?25l:[?12l[?25he! XXUnix
[?25l"XXUnix" [CR missing][dos format] 2 lines, 10 charactersunix
unix~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt11
[?25l"XXtt11" [New File][dos format] 2 lines, 12 characters written[?12l[?25h[?25l:[?12l[?25he! XXDos
[?25l"XXDos" [dos format] 2 lines, 10 charactersdosdos[?12l[?25h[?25l:[?12l[?25hw! XXtt12
[?25l"XXtt12" [New File][dos format] 2 lines, 10 characters written[?12l[?25h[?25l:[?12l[?25he! XXMac
[?25l"XXMac" [Incomplete last line][dos format] 1 line, 8 charactersmac^Mmac^M
~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt13
[?25l"XXtt13" [New File][dos format] 1 line, 10 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [CR missing][dos format] 222 lines, 3463 characters

3 buffers wiped out

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hset fileformat=mac
[?25l:qa!
ENDTEST12345678910unixunixeofdosdoseofmac^Jmac[?12l[?25h[?25l:[?12l[?25he! XXUnix
[?25l"XXUnix" [Incomplete last line][mac format] 1 line, 10 charactersunix^Junix^J
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt21
[?25l"XXtt21" [New File][mac format] 1 line, 11 characters written[?12l[?25h[?25l:[?12l[?25he! XXDos
[?25l"XXDos" [Incomplete last line][mac format] 3 lines, 10 charactersdos^Jdos^J[?12l[?25h[?25l:[?12l[?25hw! XXtt22
[?25l"XXtt22" [New File][mac format] 3 lines, 11 characters written[?12l[?25h[?25l:[?12l[?25he! XXMac
[?25l"XXMac" [mac format] 2 lines, 8 charactersmac
mac~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt23
[?25l"XXtt23" [New File][mac format] 2 lines, 8 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [Incomplete last line][mac format] 5 lines, 3463 characters

3 buffers wiped out

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h"
[?25l^Jdos
^Jeof^J^Jmac
mac^J[?12l[?25h[?25l:[?12l[?25h" try reading and writing with 'fileformats' set to one format
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformats=unix
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunixdos^M
dos^M
mac^Mmac^M[?12l[?25h[?25l:[?12l[?25hw! XXtt31
[?25l"XXtt31" [New File] 5 lines, 29 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset fileformats=dos
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line][CR missing][dos format] 5 lines, 28 character

s
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hw! XXtt32
[?25l"XXtt32" [New File][dos format] 5 lines, 32 characters written

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos format] 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' option

Note: This test will fail if "cat" is not available."test30.in" [CR missing][dos format] 222 lines, 3463 characters[?12l[?25h[?25l:[?12l[?25hset fileformats=mac
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [mac format] 4 lines, 28 charactersunix^Junix^Jdos^Jdos
^Jmacmac
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt33
[?25l"XXtt33" [New File][mac format] 4 lines, 28 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" [Incomplete last line][mac format] 5 lines, 3463 characters^Jdoseof^J^Jmac
mac^J[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" try reading and writing with 'fileformats' set to two formats
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformats=unix,dos
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunixdos^M
dos^M
mac^Mmac^M[?12l[?25h[?25l:[?12l[?25hw! XXtt41
[?25l"XXtt41" [New File] 5 lines, 29 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25he! XXUxMac
[?25l"XXUxMac" [Incomplete last line] 3 lines, 18 charactersunixunix
mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt42
[?25l"XXtt42" [New File] 3 lines, 19 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxMac
[?25l"test30.in" 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25he! XXDosMac
[?25l"XXDosMac" [Incomplete last line][dos format] 3 lines, 18 charactersdodos
mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt43
[?25l"XXtt43" [New File][dos format] 3 lines, 20 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXDosMac
[?25l"test30.in" 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset fileformats=unix,mac
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDs
[?25l"XXUxDs" 4 lines, 20 charactersunixunix
dos^Mdos^M
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt51
[?25l"XXtt51" [New File] 4 lines, 20 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDs
[?25l"test30.in" 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix
dos^Mdos^M
mac^Mmac^M
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt52
[?25l"XXtt52" [New File] 5 lines, 29 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25he! XXDosMac
[?25l"XXDosMac" [mac format] 4 lines, 18 charactersdo^Jdos
^Jmacmac
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt53
[?25l"XXtt53" [New File][mac format] 4 lines, 18 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXDosMac
[?25l"test30.in" 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset fileformats=dos,mac
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDs
[?25l"XXUxDs" [CR missing][dos format] 4 lines, 20 charactersunixunix
dosdos
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt61
[?25l"XXtt61" [New File][dos format] 4 lines, 22 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDs
[?25l"test30.in" [CR missing][dos format] 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25he! XXUxMac
[?25l"XXUxMac" [Incomplete last line][CR missing][dos format] 3 lines, 18 charactersunixunix
mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt62
[?25l"XXtt62" [New File][dos format] 3 lines, 22 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxMac
[?25l"test30.in" [CR missing][dos format] 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line][CR missing][dos format] 5 lines, 28 character

s
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hw! XXtt63
[?25l"XXtt63" [New File][dos format] 5 lines, 32 characters written

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos format] 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' option

Note: This test will fail if "cat" is not available."test30.in" [CR missing][dos format] 222 lines, 3463 characters[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" try reading and writing with 'fileformats' set to three formats
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformats=unix,dos,mac
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix
dos^Mdos^M
mac^Mmac^M
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt71
[?25l"XXtt71" [New File] 5 lines, 29 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset fileformats=mac,dos,unix
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix
dos^Mdos^M
mac^Mmac^M
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt81
[?25l"XXtt81" [New File] 5 lines, 29 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25h" try with 'binary' set
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformats=mac,unix,dos
[?25l[?12l[?25h[?25l:[?12l[?25hset binary
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix
dos^Mdos^M
mac^Mmac^M
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt91
[?25l"XXtt91" [New File][Incomplete last line] 5 lines, 28 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset fileformats=mac
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix
dos^Mdos^M
mac^Mmac^M
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt92
[?25l"XXtt92" [New File][Incomplete last line] 5 lines, 28 characters written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 222 lines, 3463 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset fileformats=dos
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix
dos^Mdos^M
mac^Mmac^M
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw! XXtt93
[?25l"XXtt93" [New File][Incomplete last line] 5 lines, 28 characters written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Append "END" to each file so that we can see what the last written char was.
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformat=unix nobin
[?25l[?12l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?12l[?25h[?25lEND[?12l[?25h[?25l:[?12l[?25hw >>XXtt01
[?25l"XXtt01" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt02
[?25l"XXtt02" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt11
[?25l"XXtt11" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt12
[?25l"XXtt12" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt13
[?25l"XXtt13" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt21
[?25l"XXtt21" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt22
[?25l"XXtt22" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt23
[?25l"XXtt23" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt31
[?25l"XXtt31" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt32
[?25l"XXtt32" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt33
[?25l"XXtt33" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt41
[?25l"XXtt41" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt42
[?25l"XXtt42" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt43
[?25l"XXtt43" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt51
[?25l"XXtt51" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt52
[?25l"XXtt52" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt53
[?25l"XXtt53" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt61
[?25l"XXtt61" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt62
[?25l"XXtt62" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt63
[?25l"XXtt63" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt71
[?25l"XXtt71" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt81
[?25l"XXtt81" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt91
[?25l"XXtt91" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt92
[?25l"XXtt92" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt93
[?25l"XXtt93" 1 line, 4 characters appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Concatenate the results.
[?25l[?12l[?25h[?25l:[?12l[?25h" Make fileformat of test.out the native fileformat.
[?25l[?12l[?25h[?25l:[?12l[?25h" Add a newline at the end.
[?25l[?12l[?25h[?25l:[?12l[?25hset binary
[?25l[?12l[?25h[?25l:[?12l[?25he! test.out
[?25l"test.out" 2 lines, 10 charactersunix
unix[?12l[?25h[?25l:[?12l[?25h$r XXtt01
[?25l"XXtt01" 3 lines, 14 charactersdos^Mdos^MEND[?12l[?25h[?25l:[?12l[?25h$r XXtt02
[?25l"XXtt02" 2 lines, 13 charactersmac^Mmac^MEND[?12l[?25h
[?25l
1[?12l[?25h[?25l:[?12l[?25h$r XXtt11
[?25l"XXtt11" 3 lines, 16 charactersunix^Munix^MEND[?12l[?25h[?25l:[?12l[?25h$r XXtt12
[?25l"XXtt12" 3 lines, 14 charactersdos^Mdos^MEND[?12l[?25h[?25l:[?12l[?25h$r XXtt13
[?25l"XXtt13" 2 lines, 14 charactersmac^Mmac^M^MEND[?12l[?25h
[?25l
2[?12l[?25h[?25l:[?12l[?25h$r XXtt21
[?25l"XXtt21" 3 lines, 15 charactersunixunix^MEND[?12l[?25h[?25l:[?12l[?25h$r XXtt22
[?25l"XXtt22" 3 lines, 15 charactersdos^Mdos^M^MEND[?12l[?25h[?25l:[?12l[?25h$r XXtt23
[?25l"XXtt23" 1 line, 12 characters
mac^Mmac^MEND[?12l[?25h[?25l
3[?12l[?25h[?25l
:[?12l[?25h$r XXtt31
[?25l"XXtt31" 6 lines, 33 characters
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt32
[?25l"XXtt32" 6 lines, 36 charactersunix
dos^M
dos^M
mac^Mmac^M
END
unix^M[?12l[?25h[?25l
:[?12l[?25h$r XXtt33
[?25l"XXtt33" 5 lines, 32 charactersunix^M
dos^M
dos^M
mac^Mmac^M^M
END
unix[?12l[?25h[?25lunix
dos^M
dos^M
mac^Mmac^MEND
[?12l[?25h[?25l
4[?12l[?25h[?25l
:[?12l[?25h$r XXtt41
[?25l"XXtt41" 6 lines, 33 characters
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt42
[?25l"XXtt42" 4 lines, 23 charactersunix
dos^M
dos^M
mac^Mmac^M
END
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt43
[?25l"XXtt43" 4 lines, 24 charactersunix
mac^Mmac^M
END
dos^M[?12l[?25h[?25ldos^M
mac^Mmac^M^M
END
[?12l[?25h[?25l
5[?12l[?25h[?25l
:[?12l[?25h$r XXtt51
[?25l"XXtt51" 5 lines, 24 characters
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt52
[?25l"XXtt52" 6 lines, 33 charactersunix
dos^M
dos^M
END
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt53
[?25l"XXtt53" 3 lines, 22 charactersunix
dos^M
dos^M
mac^Mmac^M
END
dos^M[?12l[?25h[?25ldos^M
mac^Mmac^MEND
[?12l[?25h[?25l
6[?12l[?25h[?25l
:[?12l[?25h$r XXtt61
[?25l"XXtt61" 5 lines, 26 characters
unix^M[?12l[?25h[?25l
:[?12l[?25h$r XXtt62
[?25l"XXtt62" 4 lines, 26 charactersunix^M
dos^M
dos^M
END
unix^M[?12l[?25h[?25l
:[?12l[?25h$r XXtt63
[?25l"XXtt63" 6 lines, 36 charactersunix^M
mac^Mmac^M^M
END
unix^M[?12l[?25h[?25lunix^M
dos^M
dos^M
mac^Mmac^M^M
END
[?12l[?25h[?25l
7[?12l[?25h[?25l
:[?12l[?25h$r XXtt71
[?25l"XXtt71" 6 lines, 33 characters
unix[?12l[?25h[?25lunix
dos^M
dos^M
mac^Mmac^M
END
[?12l[?25h[?25l
8[?12l[?25h[?25l
:[?12l[?25h$r XXtt81
[?25l"XXtt81" 6 lines, 33 characters
unix[?12l[?25h[?25lunix
dos^M
dos^M
mac^Mmac^M
END
[?12l[?25h[?25l
9[?12l[?25h[?25l
:[?12l[?25h$r XXtt91
[?25l"XXtt91" 5 lines, 32 characters
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt92
[?25l"XXtt92" 5 lines, 32 charactersunix
dos^M
dos^M
mac^Mmac^MEND
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt93
[?25l"XXtt93" 5 lines, 32 charactersunix
dos^M
dos^M
mac^Mmac^MEND
unix[?12l[?25h[?25lunix
dos^M
dos^M
mac^Mmac^MEND
[?12l[?25h[?25l
10[?12l[?25h[?25l
:[?12l[?25h$r XXUnix
[?25l"XXUnix" 2 lines, 10 characters
unix[?12l[?25h[?25l
:[?12l[?25hset nobinary ff&
[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"test.out" 121 lines, 664 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l
# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test31.failed test.ok test.out X* viminfo
cp test31.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test31.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test31.in" 75 lines, 1545 charactersTest for commands that close windows and/or buffers:
:quit
:close
:hide
:only
:sall
:all
:ball
:buf
:edit

STARTTEST
:so tiny.vim
GA 1^[:$w! Xtest1
$r2:$w! Xtest2
$r3:$w! Xtest3
:n! Xtest1 Xtest2
A 1^[:set hidden
:" test for working :n when hidden set; write "testtext 2"
:n
:w! test.out
:" test for failing :rew when hidden not set; write "testtext 2 2"
:set nohidden[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for commands that close windows and/or buffers:[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 60 lines, 1410 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:set hidden
:e Xtest1
:w >>test.out
:" test ":close" not hiding when 'hidden' not set in modified buffer;
:" write "testtext 3 3 3"
:sp Xtest3
:set nohidden
A 3^[:close
:w >>test.out
:" test ":close!" does hide when 'hidden' not set in modified buffer;
:" write "testtext 1"
A 3^[:close!
:w >>test.out
:set nohidden
:" test ":all!" hides changed buffer; write "testtext 2 2 2"
:sp Xtest4
GA 4^[:all!
:1wincmd w
:w >>test.out
:qa!
ENDTEST

testtext[?12l[?25h
[?25l

:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso tiny.vim
[?25l[?12l[?25h
[?25l1[?12l[?25h[?25l:[?12l[?25h$w! Xtest1
[?25l"Xtest1" [New File] 1 line, 11 characters written[?12l[?25h[?25l2[?12l[?25h[?25l:[?12l[?25h$w! Xtest2
[?25l"Xtest2" [New File] 1 line, 11 characters written[?12l[?25h[?25l3[?12l[?25h[?25l:[?12l[?25h$w! Xtest3
[?25l"Xtest3" [New File] 1 line, 11 characters written[?12l[?25h[?25l:[?12l[?25hn! Xtest1 Xtest2
[?25l"Xtest1" 1 line, 11 characterstesttext 1~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l1[?12l[?25h[?25l:[?12l[?25hset hidden
[?25l[?12l[?25h[?25l:[?12l[?25h" test for working :n when hidden set; write "testtext 2"
[?25l[?12l[?25h[?25l:[?12l[?25hn
[?25l"Xtest2" 1 line, 11 characters2[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New File] 1 line, 11 characters written[?12l[?25h[?25l:[?12l[?25h" test for failing :rew when hidden not set; write "testtext 2 2"
[?25l[?12l[?25h[?25l:[?12l[?25hset nohidden
[?25l[?12l[?25h[?25l2[?12l[?25h[?25l:[?12l[?25hrew
[?25lE37: No write since last change (add ! to override)[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?12l[?25h[?25l:[?12l[?25h" test for working :rew when hidden set; write "testtext 1 1"
[?25l[?12l[?25h[?25l:[?12l[?25hset hidden
[?25l[?12l[?25h[?25l:[?12l[?25hrew
[?25l"Xtest1" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)1 1
[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?12l[?25h[?25l:[?12l[?25h" test for :all keeping a buffer when it's modified; write "testtext 1 1 1"
[?25l[?12l[?25h[?25l:[?12l[?25hset nohidden
[?25l[?12l[?25h[?25l1[?12l[?25h[?25l:[?12l[?25hsp
[?25lXtest1 [+]                                                                      testtext 1 1 1Xtest1 [+]                                                                      [?12l[?25h[?25l:[?12l[?25hn Xtest2 Xtest3
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)2 22 [?12l[?25h[?25l:[?12l[?25hall
[?25l"Xtest3" 1 line, 11 characterstesttext 1 1 1
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest1 [+]                                                                      testtext 2 2
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?12l[?25h[?25l:[?12l[?25h1wincmd w
[?25lXtest1 [+]                                                                      Xtest2 [+]                                                                       [?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?12l[?25h[?25l:[?12l[?25h" test abandoning changed buffer, should be unloaded even when 'hidden' set
[?25l[?12l[?25h[?25l:[?12l[?25h" write "testtext 2 2" twice
[?25l[?12l[?25h[?25l:[?12l[?25hset hidden
[?25l[?12l[?25h[?25l1 1[?12l[?25h[?25l:[?12l[?25hq!
[?25ltesttext 2 2
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?12l[?25h[?25l:[?12l[?25hunhide
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?12l[?25h[?25l:[?12l[?25h" test ":hide" hides anyway when 'hidden' not set; write "testtext 3"
[?25l[?12l[?25h[?25l:[?12l[?25hset nohidden
[?25l[?12l[?25h[?25l2[?12l[?25h[?25l:[?12l[?25hhide
[?25l3~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?12l[?25h[?25l:[?12l[?25h" test ":edit" failing in modified buffer when 'hidden' not set
[?25l[?12l[?25h[?25l:[?12l[?25h" write "testtext 3 3"
[?25l[?12l[?25h[?25l3[?12l[?25h[?25l:[?12l[?25he Xtest1
[?25lE37: No write since last change (add ! to override)[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?12l[?25h[?25l:[?12l[?25h" test ":edit" working in modified buffer when 'hidden' set; write "testtext 1

"[?25ltesttext 3 3[?12l[?25h[?25l:[?12l[?25hset hidden
[?25l[?12l[?25h[?25l:[?12l[?25he Xtest1
[?25l"Xtest1" 1 line, 11 characters1[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?12l[?25h[?25l:[?12l[?25h" test ":close" not hiding when 'hidden' not set in modified buffer;
[?25l[?12l[?25h[?25l:[?12l[?25h" write "testtext 3 3 3"
[?25l[?12l[?25h[?25l:[?12l[?25hsp Xtest3
[?25l"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (file 2 of 2)3 3Xtest3 [+]                                                                      testtext 1Xtest1                                                                          [?12l[?25h[?25l:[?12l[?25hset nohidden
[?25l[?12l[?25h[?25l3[?12l[?25h[?25l:[?12l[?25hclose
[?25lE37: No write since last change (add ! to override)[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?12l[?25h[?25l:[?12l[?25h" test ":close!" does hide when 'hidden' not set in modified buffer;
[?25l[?12l[?25h[?25l:[?12l[?25h" write "testtext 1"
[?25l[?12l[?25h[?25l3 3[?12l[?25h[?25l:[?12l[?25hclose!
[?25l1~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?12l[?25h[?25l:[?12l[?25hset nohidden
[?25l[?12l[?25h[?25l:[?12l[?25h" test ":all!" hides changed buffer; write "testtext 2 2 2"
[?25l[?12l[?25h[?25l:[?12l[?25hsp Xtest4
[?25l"Xtest4" [New File]Xtest4                                                                          testtext 1Xtest1                                                                          [?12l[?25h[?25l 4[+][?12l[?25h[?25l:[?12l[?25hall!
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)

"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (file 2 of 2)

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h1wincmd w
[?25ltesttext 2 2 2
~                                                                               Xtest2 [+]                                                                      testtext 3 3 3 3~                                                                               3 [+][?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test32.failed test.ok test.out X* viminfo
cp test32.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test32.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test32.in" 60 lines, 1391 charactersTest for insert expansion

:se cpt=.,w
* add-expands (word from next line) from other window
* add-expands (current buffer first)
* Local expansion, ends in an empty line (unless it becomes a global expansion)
* starts Local and switches to global add-expansion
:se cpt=.,w,i
* i-add-expands and switches to local
* add-expands lines (it would end in an empty line if it didn't ignored it self):se cpt=kXtestfile
* checks k-expansion, and file expansion (use Xtest11 instead of test11,
* because TEST11.OUT may match first on DOS)
:se cpt=w
* checks make_cyclic in other window
:se cpt=u nohid
* checks unloaded buffer expansion
* checks adding mode abortion
:se cpt=t,d
* tag expansion, define add-expansion interrupted
* t-expansion

STARTTEST[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for insert expansion[?12l[?25h[?25l/^STARTTEST
[?12l[?25h[?25l
:so small.vim[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 27 lines, 533 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTESTO^N^[IX^[A^X^F^N^[
:" use CTRL-X CTRL-F to complete Xtest11.one, remove it and then use
:" CTRL-X CTRL-F again to verify this doesn't cause trouble.
OX^X^F^H^H^H^H^H^H^H^H^X^F^[ddk
:se cpt=w
OST^N^P^P^P^P^[
:se cpt=u nohid
^WoOEN^N
unl^N^X^X^P^[
:se cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
O^X^]^X^D^X^D^X^X^D^X^D^X^D^X^D
a^N^[
:wq! test.out
ENDTEST

start of testfile
run1
run2
end of testfile

test11  36Gepeto/Tag/
asd     test11file      36G
Makefileto      run[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hse nocp viminfo+=nviminfo cpt=.,w ff=unix | $-2,$w!Xtestfile | set ff&
[?25l"Xtestfile" [New] 3L, 57C written[?12l[?25h[?25l:[?12l[?25hse cot=
[?25l[?12l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       unl^N^X^X^P^[
:se cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
O^X^]^X^D^X^D^X^X^D^X^D^X^D^X^D
a^N^[:wq! test.out
ENDTESTstart of testfile
run1run2test32.in                                                                       [?12l[?25h[?25l-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning: test32.inomatch in file test32.in
-- Keyword completion (^N^P) match 1 of 4match in file test32.in^-- Keyword completion (^N^P) match 2 of 4-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Adding Keyword completion (^N^P) -- Searching...
Scanning: test32.inomatch in file test32.in
-- Adding Keyword completion (^N^P) Word from other line#include "Xtestfile"
run1 run2[+][?12l[?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?12l[?25h[?25l3[?12l[?25h
[?25l-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning: test32.ino-- Keyword completion (^N^P) match 1 of 115-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Adding Keyword completion (^N^P) -- Searching...
Scanning: test32.ino-- Adding Keyword completion (^N^P) Word from other line-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Keyword Local completion (^N^P) -- Searching...match 1 of 4. match 2 of 4 match 3 of 4 match 4 of 4 Back at original-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Keyword Local completion (^N^P) -- Searching...match 1 of 4. match 2 of 4-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Keyword completion (^N^P) -- Searching...
Scanning: test32.ino-- Keyword completion (^N^P) The only match-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Adding Keyword completion (^N^P) -- Searching...
Scanning: test32.ino-- Adding Keyword completion (^N^P) match 1 of 2match in file test32.ine-- Adding Keyword completion (^N^P) Word from other linerun3 run3

run1 run2[?12l[?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?12l[?25h
[?25l:[?12l[?25hse cpt=.,w,i
[?25l[?12l[?25h[?25l-- INSERT --Keyword completion (^N^P) -- Searching...
Scanning: test32.ino included file: Xtestfile
match in file test32.in-- Keyword completion (^N^P) The only match-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Adding Keyword completion (^N^P) -- Searching...
Scanning: test32.ino included file: Xtestfile
match in file test32.in-- Adding Keyword completion (^N^P) The only match-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Adding Keyword completion (^N^P) -- Searching...
Scanning: test32.ino included file: Xtestfile
match in file test32.in-- Adding Keyword completion (^N^P) The only match-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Keyword Local completion (^N^P) -- Searching...match 1 of 3.-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- Whole line completion (^L^N^P)^ U-- Searching...
Scanning: test32.ine-- Whole line completion (^L^N^P) match 1 of 57INSERT --e-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) match 1 of 57Addinge Whole line completion (^L^N^P) -- Searching...
Scanning: test32.ine-- Adding Whole line completion (^L^N^P) The only match Back at original The only matchMakefileto      run3
Makefileto      run3
Makefileto      run3[?12l[?25h[?25l-- INSERT --[?12l[?25h[?25l:[?12l[?25hse cpt=kXtestfile
[?25l[?12l[?25h[?25l:[?12l[?25hw Xtest11.one
[?25l"Xtest11.one" [New] 9L, 104C writtenXtest11.one+   [?12l[?25h[?25l:[?12l[?25hw Xtest11.two
[?25l"Xtest11.two" [New] 9L, 104C written[?12l[?25h[?25l-- INSERT --Keyword completion (^N^P) -- Searching...
Scanning dictionary: Xtestfile-match in file Xtestfile-- Keyword completion (^N^P) match 1 of 9test11[+]I[?12l[?25h [?25l-- Keyword completion (^N^P) match 1 of 9-- INSERT --[?12l[?25h[?25l-- INSERT --Xtest11
[?12l[?25h[?25l-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- File name completion (^F^N^P)s ^-- Searching...match 1 of 2. match 2 of 2.two[?12l[?25h[?25l-- INSERT --[?12l[?25h[?25l:[?12l[?25h" use CTRL-X CTRL-F to complete Xtest11.one, remove it and then use
[?25l[?12l[?25h[?25l:[?12l[?25h" CTRL-X CTRL-F again to verify this doesn't cause trouble.
[?25l[?12l[?25h[?25l-- INSERT --^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- File name completion (^F^N^P)s ^-- Searching...match 1 of 4.INSERTa -- -- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- File name completion (^F^N^P)s ^-- Searching...match 1 of 303.
Makefilerun1 run2d[?12l[?25h [?25l-- INSERT --[?12l[?25h[?25l
run1 run2~                                                                               [?12l[?25h
[?25l:[?12l[?25hse cpt=w
[?25l[?12l[?25h[?25l-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning: test32.inomatch in file test32.in
-- Keyword completion (^N^P) The only match Back at originalmatch in file test32.in^-- Keyword completion (^N^P) The only match Back at originalmatch in file test32.in^-- Keyword completion (^N^P) The only match
STARTTEST
run1 run2[?12l[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?12l[?25h[?25l:[?12l[?25hse cpt=u nohid
[?25l[?12l[?25h[?25l

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l-- INSERT --Keyword completion (^N^P) -- Searching...
Scanning: test32.inomatch in file test32.in
-- Keyword completion (^N^P) The only match-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning: test32.inomatch in file test32.in
-- Keyword completion (^N^P) match 1 of 3-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Keyword completion (^N^P) -- Searching...
Scanning: test32.inomatch in file test32.in
-- Keyword completion (^N^P) The only matchENDTEST
unless[?12l[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?12l[?25h[?25l:[?12l[?25hse cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
[?25l[?12l[?25h[?25l-- INSERT --^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- Tag completion (^]^N^P)^ N-- Searching...match 1 of 3.INSERTm --e-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) match 1 of 3Definition completion (^D^N^P)^ U-- Searching...Scanning included file: Xtestfile match in file Xtestfile-- Definition completion (^D^N^P) The only matchINSERTt --n-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- Addinge Definition completion (^D^N^P) -- Searching...
Scanning included file: Xtestfile^match in file Xtestfile-- Adding Definition completion (^D^N^P) The only matchINSERT --f-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- INSERTe --^^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- Definition completion (^D^N^P)^ U-- Searching...
Scanning included file: Xtestfile match in file Xtestfile-- Definition completion (^D^N^P) The only matchINSERTt --n-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- Addinge Definition completion (^D^N^P) -- Searching...
Scanning included file: Xtestfile^match in file Xtestfile-- Adding Definition completion (^D^N^P) The only matchINSERT --f-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- Addinge Definition completion (^D^N^P) -- Searching...
Scanning included file: Xtestfile^match in file Xtestfile-- Adding Definition completion (^D^N^P) The only matchINSERT --f-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- Addinge Definition completion (^D^N^P) -- Searching...
Scanning included file: Xtestfile^match in file Xtestfile-- Adding Definition completion (^D^N^P) Word from other lineINSERT --f-- Keyword completion (^N^P) -- Searching...
Scanning tags.pincluded file: Xtestfile
-- Keyword completion (^N^P) The only matchtest11file      36Gepeto/Tag/ asd
asd[?12l[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?12l[?25h
ru[?25l:[?12l[?25hwq! test.out
[?25l"test.out" [New] 15L, 175C written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test33.failed test.ok test.out X* viminfo
cp test33.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test33.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test33.in" 34 lines, 616 charactersTest for 'lisp'
If the lisp feature is not enabled, this will fail!

STARTTEST
:so small.vim
:set lisp
/^(defun
=G:/^(defun/,$w! test.out
:q!
ENDTEST

(defun html-file (base)
(format nil "~(~A~).html" base))

(defmacro page (name title &rest body)
(let ((ti (gensym)))
`(with-open-file (*standard-output*
(html-file ,name)
:direction :output
:if-exists :supersede)
(let ((,ti ,title))
(as title ,ti)
(with center[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for 'lisp'[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 63 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset lisp
[?25l[?12l[?25h[?25l/[?12l[?25h^(defun
[?25l[?12l[?25h[?25l22 lines to indent...
23indented   (format nil "~(~A~).html" base))


  (let ((ti (gensym)))
       `(with-open-file (*standard-output*
                 (html-file ,name)
                  :direction :output
                         :if-exists :supersede)
                        (let ((,ti ,title))
              (as title ,ti)
            (with center[?12l[?25h[?25l:[?12l[?25h/^(defun/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 23 lines, 544 characters written[?12l[?25h[?25l:[?12l[?25hq!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test34.failed test.ok test.out X* viminfo
cp test34.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test34.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test34.in" 87 lines, 1833 charactersTest for user functions.
Also test an <expr> mapping calling a function.
Also test that a builtin function cannot be replaced.
Also test for regression when calling arbitrary expression.

STARTTEST
:so small.vim
:function Table(title, ...)
:  let ret = a:title
:  let idx = 1
:  while idx <= a:0
:    exe "let ret = ret . a:" . idx
:    let idx = idx + 1
:  endwhile
:  return ret
:endfunction
:function Compute(n1, n2, divname)
:  if a:n2 == 0
:    return "fail"
:  endif
:  exe "let g:" . a:divname . " = ". a:n1 / a:n2
:  return "ok"
:endfunction[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for user functions.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 78 lines, 1621 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:call append(line('$'), max([1, 2, 3]))
:try
:    " Regression: the first line below used to throw ?E110: Missing ')'?
:    " Second is here just to prove that this line is correct when not skipping
:    " rhs of &&.
:    $put =(0&&(function('tr'))(1, 2, 3))
:    $put =(1&&(function('tr'))(1, 2, 3))
:catch
:    $put ='!!! Unexpected exception:'
:    $put =v:exception
:endtry
:$-9,$w! test.out
:delfunc Table
:delfunc Compute
:delfunc Expr1
:delfunc Expr2
:delfunc ListItem
:delfunc ListReset
:unlet retval counter
:q!
ENDTEST

here[?12l[?25h
[?25l

:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hfunction Table(title, ...)
[?25l
:  [?12l[?25h:  let ret = a:title

[?25l:  [?12l[?25h:  let idx = 1

[?25l:  [?12l[?25h:  while idx <= a:0

[?25l:    [?12l[?25h:    exe "let ret = ret . a:" . idx

[?25l:    [?12l[?25h:    let idx = idx + 1

[?25l:    [?12l[?25h:  endwhile

[?25l:  [?12l[?25h:  return ret

[?25l:  [?12l[?25h:endfunction
[?25l:call append(line('$'), max([1, 2, 3]))
:try
:    " Regression: the first line below used to throw ?E110: Missing ')'?
:    " Second is here just to prove that this line is correct when not skipping
:    " rhs of &&.
:    $put =(0&&(function('tr'))(1, 2, 3))
:    $put =(1&&(function('tr'))(1, 2, 3))
:catch[?12l[?25h[?25l

:[?12l[?25hfunction Compute(n1, n2, divname)
[?25l
:  [?12l[?25h:  if a:n2 == 0

[?25l:    [?12l[?25h:    return "fail"

[?25l:    [?12l[?25h:  endif

[?25l:  [?12l[?25h:  exe "let g:" . a:divname . " = ". a:n1 / a:n2

[?25l:  [?12l[?25h:  return "ok"

[?25l:  [?12l[?25h:endfunction
[?25l:call append(line('$'), max([1, 2, 3]))
:try
:    " Regression: the first line below used to throw ?E110: Missing ')'?
:    " Second is here just to prove that this line is correct when not skipping
:    " rhs of &&.
:    $put =(0&&(function('tr'))(1, 2, 3))[?12l[?25h[?25l

:[?12l[?25hfunc Expr1()
[?25l
:  [?12l[?25h:  normal! v

[?25l:  [?12l[?25h:  return "111"

[?25l:  [?12l[?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))
:try
:    " Regression: the first line below used to throw ?E110: Missing ')'?[?12l[?25h[?25l

:[?12l[?25hfunc Expr2()
[?25l
:  [?12l[?25h:  call search('XX', 'b')

[?25l:  [?12l[?25h:  return "222"

[?25l:  [?12l[?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))
:try
:    " Regression: the first line below used to throw ?E110: Missing ')'?[?12l[?25h[?25l

:[?12l[?25hfunc ListItem()
[?25l
:  [?12l[?25h:  let g:counter += 1

[?25l:  [?12l[?25h:  return g:counter . '. '

[?25l:  [?12l[?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))
:try
:    " Regression: the first line below used to throw ?E110: Missing ')'?[?12l[?25h[?25l

:[?12l[?25hfunc ListReset()
[?25l
:  [?12l[?25h:  let g:counter = 0

[?25l:  [?12l[?25h:  return ''

[?25l:  [?12l[?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))
:try
:    " Regression: the first line below used to throw ?E110: Missing ')'?[?12l[?25h[?25l

:[?12l[?25hfunc FuncWithRef(a)
[?25l
:  [?12l[?25h:  unlet g:FuncRef

[?25l:  [?12l[?25h:  return a:a

[?25l:  [?12l[?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))
:try
:    " Regression: the first line below used to throw ?E110: Missing ')'?[?12l[?25h[?25l

:[?12l[?25hlet g:FuncRef=function("FuncWithRef")
[?25l[?12l[?25h[?25l:[?12l[?25hlet counter = 0
[?25l[?12l[?25h[?25l:[?12l[?25hinoremap <expr> ( ListItem()
[?25l[?12l[?25h[?25l:[?12l[?25hinoremap <expr> [ ListReset()
[?25l[?12l[?25h[?25l:[?12l[?25himap <expr> + Expr1()
[?25l[?12l[?25h[?25l:[?12l[?25himap <expr> * Expr2()
[?25l[?12l[?25h[?25l:[?12l[?25hlet retval = "nop"
[?25l[?12l[?25h[?25l/[?12l[?25h^here
[?25l[?12l[?25h[?25lher$=[?12l[?25hTable("xxx", 4, "asdf")
[?25l=[?12l[?25hCompute(45, 0, "retval")
[?25l=[?12l[?25hretval
[?25l=[?12l[?25hCompute(45, 5, "retval")
[?25l=[?12l[?25hretval
[?25l=[?12l[?25hg:FuncRef(333)

[?25lError detected while processing function Expr1:

line    1:

E523: Not allowed here

Press ENTER or type command to continue[?12l[?25h[?25l:    $put =(0&&(function('tr'))(1, 2, 3))
:    $put =(1&&(function('tr'))(1, 2, 3))
:catch
:    $put ='!!! Unexpected exception:'$put =v:exception
:endtry$-9,$w! test.outdelfunc Table
:delfunc Computedelfunc Expr1delfunc Expr2
:delfunc ListItemListReset
:unlet retval counter
:q!ENDTESTxxx4asdf fail nop ok 9 333
XX111-XX---222---
1. one2. two[?12l[?25h[?25l1. one again[?12l[?25h[?25l
:[?12l[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?12l[?25h[?25l:[?12l[?25hcall extend(g:, {'max': function('min')})
[?25lE704: Funcref variable name must start with a capital: max[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?12l[?25h[?25l:[?12l[?25htry
[?25l
:  [?12l[?25h:    " Regression: the first line below used to throw ?E110: Missing ')'?

[?25l:  [?12l[?25h:    " Second is here just to prove that this line is correct when not skipp

ing

[?25l:  [?12l[?25h:    " rhs of &&.

[?25l:  [?12l[?25h:    $put =(0&&(function('tr'))(1, 2, 3))

[?25l:  [?12l[?25h:    $put =(1&&(function('tr'))(1, 2, 3))

[?25l:  [?12l[?25h:catch

[?25l:  [?12l[?25h:    $put ='!!! Unexpected exception:'

[?25l:  [?12l[?25h:    $put =v:exception

[?25l:  [?12l[?25h:endtry
[?25l:    $put =v:exception
:endtry
:$-9,$w! test.out
:delfunc Table
:delfunc Compute
:delfunc Expr1
:delfunc Expr2
:delfunc ListItem
:delfunc ListReset
:unlet retval counter
:q!ENDTESTxxx4asdf fail nop ok 9 333
XX111-XX
---222---
1. one
2. two1. one again
330[?12l[?25h[?25l
:[?12l[?25h$-9,$w! test.out
[?25l"test.out" [New File] 10 lines, 81 characters written[?12l[?25h[?25l:[?12l[?25hdelfunc Table
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc Compute
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc Expr1
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc Expr2
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc ListItem
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc ListReset
[?25l[?12l[?25h[?25l:[?12l[?25hunlet retval counter
[?25l[?12l[?25h[?25l:[?12l[?25hq!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test35.failed test.ok test.out X* viminfo
cp test35.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test35.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test35.in" 21 lines, 448 charactersTest Ctrl-A and Ctrl-X, which increment and decrement decimal, hexadecimal,
and octal numbers.

STARTTEST
/^start-here
:set nrformats=octal,hex
j^A102^X^Al^Xl^A64^A128^X$^X
:set nrformats=octal
0^A102^X^Al^X2^Aw65^A129^Xblx6lD
:set nrformats=hex
0101^Xl257^X^ATxldt ^A ^X ^X
:set nrformats=
0200^Xl100^Xw78^X^Ak
:$-3,$wq! test.out
ENDTEST

start-here
100     0x100     077     0
100     0x100     077
100     0x100     077     0xfF     0xFf
100     0x100     077
~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest Ctrl-A and Ctrl-X, which increment and decrement decimal, hexadecimal,[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 10 lines, 200 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^start-here
[?25l[?12l[?25h[?25l:[?12l[?25hset nrformats=octal,hex
[?25l[?12l[?25h
[?25l101[?12l[?25h[?25l
-1     0x100     077     0[?12l[?25h[?25l0     0x100     077     0[?12l[?25h0[?25l0ff[?12l[?25hf[?25l     0100     0[?12l[?25h[?25l20[?12l[?25h[?25l00[?12l[?25h0     [?25l-1[?12l[?25h[?25l:[?12l[?25hset nrformats=octal
[?25l[?12l[?25h
[?25l101[?12l[?25h[?25l
-1     0x100     077 
-[?12l[?25h[?25l0     0x100     077 
[?12l[?25h0[?25l     -1x100     077[?12l[?25h[?25l1x100     077 [?12l[?25h[?25l0200[?12l[?25h[?25l37777777777[?12l[?25h0[?25l7 [?12l[?25h777777[?25l[?12l[?25h[?25l:[?12l[?25hset nrformats=hex
[?25l[?12l[?25h
[?25l-1     0x100     077     0xfF     0xFf[?12l[?25h1[?25lffffffff     077     0xfF     0xFf[?12l[?25h[?25l00000000[?12l[?25h0[?25l     077     0xfF     0xFf[?12l[?25h[?25l8[?12l[?25h8[?25lFE[?12l[?25hE[?25lfe[?12l[?25h[?25l:[?12l[?25hset nrformats=
[?25l[?12l[?25h
[?25l-100     0x100     077
-10[?12l[?25h0[?25l     -100x100     077[?12l[?25h[?25l-001[?12l[?25h[?25l000 [?12l[?25h[?25l:[?12l[?25h$-3,$wq! test.out
[?25l"test.out" [New File] 4 lines, 120 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test36.failed test.ok test.out X* viminfo
cp test36.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test36.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test36.in" 105 lines, 1950 charactersTest character classes in regexp using regexpengine 0, 1, 2.

STARTTEST
/^start-here/+1
Y:s/\%#=0\d//g
p:s/\%#=1\d//g
p:s/\%#=2\d//g
p:s/\%#=0[0-9]//g
p:s/\%#=1[0-9]//g
p:s/\%#=2[0-9]//g
p:s/\%#=0\D//g
p:s/\%#=1\D//g
p:s/\%#=2\D//g
p:s/\%#=0[^0-9]//g
p:s/\%#=1[^0-9]//g
p:s/\%#=2[^0-9]//g
p:s/\%#=0\o//g
p:s/\%#=1\o//g
p:s/\%#=2\o//g
p:s/\%#=0[0-7]//g
p:s/\%#=1[0-7]//g
p:s/\%#=2[0-7]//g
p:s/\%#=0\O//g[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest character classes in regexp using regexpengine 0, 1, 2.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 98 lines, 1775 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTp:s/\%#=1\L//g
p:s/\%#=2\L//g
p:s/\%#=0[^a-z]//g
p:s/\%#=1[^a-z]//g
p:s/\%#=2[^a-z]//g
p:s/\%#=0\u//g
p:s/\%#=1\u//g
p:s/\%#=2\u//g
p:s/\%#=0[A-Z]//g
p:s/\%#=1[A-Z]//g
p:s/\%#=2[A-Z]//g
p:s/\%#=0\U//g
p:s/\%#=1\U//g
p:s/\%#=2\U//g
p:s/\%#=0[^A-Z]//g
p:s/\%#=1[^A-Z]//g
p:s/\%#=2[^A-Z]//g
:/^start-here/+1,$wq! test.out
ENDTEST







:[?12l[?25hs/\%#=0\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=1\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=2\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=0[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=1[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=2[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?12l[?25h[?25l


~                                                                               [?12l[?25h[?25l


~                                                                               [?12l[?25h[?25l


~                                                                               [?12l[?25h[?25l


~                                                                               [?12l[?25h[?25l


~                                                                               [?12l[?25h[?25l


:[?12l[?25hs/\%#=0\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l


:[?12l[?25hs/\%#=2\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=1[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=2[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?12l[?25h[?25l




~                                                                               [?12l[?25h[?25l


~                                                                               [?12l[?25h[?25l


:[?12l[?25hs/\%#=0\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l


:[?12l[?25hs/\%#=2\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l


:[?12l[?25hs/\%#=1[^0-9A-Fa-f]//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l


~                                                                               [?12l[?25h[?25l





:[?12l[?25hs/\%#=0\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=1\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=2\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=0[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=1[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=2[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?12l[?25h[?25l







:[?12l[?25hs/\%#=0\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=1\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=2\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=0[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=1[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=2[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?12l[?25h[?25l







:[?12l[?25hs/\%#=0\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=1\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=2\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=0[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=1[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=2[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?12l[?25h[?25l







:[?12l[?25hs/\%#=0\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=1\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=2\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=0[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=1[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=2[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?12l[?25h[?25l


~                                                                               [?12l[?25h[?25l


~                                                                               [?12l[?25h[?25l


~                                                                               [?12l[?25h[?25l


~                                                                               [?12l[?25h[?25l


~                                                                               [?12l[?25h[?25l


:[?12l[?25hs/\%#=0\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l


:[?12l[?25hs/\%#=2\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=1[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?12l[?25h[?25l

:[?12l[?25hs/\%#=2[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?12l[?25h[?25l:[?12l[?25h/^start-here/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 96 lines, 4032 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test37.failed test.ok test.out X* viminfo
cp test37.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test37.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test37.in" 116 lines, 3262 charactersTest for 'scrollbind'. <eralston@computer.org>   Do not add a line below!
STARTTEST
:so small.vim
:set noscrollbind
:set scrollopt=ver,jump
:set scrolloff=2
:set nowrap
:set noequalalways
:set splitbelow
:" TEST using two windows open to one buffer, one extra empty window
:split
:new
^Wt:
:resize 8
/^start of window 1$/
zt:
:set scrollbind
^Wj:
:resize 7
/^start of window 2$/
zt:
:set scrollbind
:" -- start of tests --[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for 'scrollbind'. <eralston@computer.org>   Do not add a line below![?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 72 lines, 1498 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTHk^WtH^WjHyy^Wbp^Wtyy^Wbp:
^Wt:set noscb
ggL^Wj:set noscb
ggL:set scb
^Wt:set scb
^WtG^WjG^Wt:syncbind
Hk^WjH^WtHyy^Wbp^Wt^Wjyy^Wbp:
^WtH3k^WjH^WtHyy^Wbp^Wt^Wjyy^Wbp:
:" ***** done with tests *****
:w! test.out" Write contents of this file
:qa!
ENDTEST


start of window 1
. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03
. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04
. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
. line 07 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07
. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset noscrollbind
[?25l[?12l[?25h[?25l:[?12l[?25hset scrollopt=ver,jump
[?25l[?12l[?25h[?25l:[?12l[?25hset scrolloff=2
[?25l[?12l[?25h[?25l:[?12l[?25hset nowrap
[?25l[?12l[?25h[?25l:[?12l[?25hset noequalalways
[?25l[?12l[?25h[?25l:[?12l[?25hset splitbelow
[?25l[?12l[?25h[?25l:[?12l[?25h" TEST using two windows open to one buffer, one extra empty window
[?25l[?12l[?25h[?25l:[?12l[?25hsplit
[?25l^WtH3k^WtHyybp^Wt^Wjyy^Wbp:
:" ***** done with tests *****
:w! test.out    " Write contents of this file
:qa!ENDTESTstart of window 1. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02test37.in                                                                       Hk^WjH^WtHyy^Wbp^Wt^Wjyy^Wbp:
^WtH3k^WjH^WtHyy^Wbp^Wt^Wjyy^Wbp:
:" ***** done with tests *****
:w! test.out     " Write contents of this file
:qa!ENDTESTstart of window 11122
test37.in                                                                       [?12l[?25h[?25l:[?12l[?25hnew
[?25l:w! test.out             " Write contents of this file
:qa!ENDTESTtest37.in                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [?12l[?25htest37.in                                                                       [No Name]                                                                        [?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hresize 8
[?25l:" ***** done with tests *****w! test.out             " Write contents of this file
:qa!ENDTESTstart of window 1
. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
test37.in                                                                       :" ***** done with tests *****:w! test.out             " Write contents of this fileqa!ENDTESTstart of window 1[?12l[?25h[?25l/[?12l[?25h^start of window 1$/
[?25l
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?12l[?25h[?25l. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03
. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04
. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset scrollbind
[?25l[?12l[?25htest37.in                                                                        test37.in                                                                       [?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hresize 7
[?25l[?12l[?25h[?25l/[?12l[?25h^start of window 2$/
[?25lend of window 1start of window 2
. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01
. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03[?12l[?25h[?25l
. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset scrollbind
[?25l[?12l[?25h[?25l:[?12l[?25h" -- start of tests --
[?25l[?12l[?25h[?25l:[?12l[?25h" TEST scrolling down
[?25l[?12l[?25h

[?25l. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
. line 07 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07
. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08
. line 09 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09
. line 10 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 10. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
. line 07 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 07
. line 08 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 08
. line 09 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 09[?12l[?25htest37.in                                                                        [No Name]                                                                       [?25l
. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[+][?12l[?25h[?25l0[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l
. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?12l[?25h[?25l1[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    


[?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
. line 12 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 12
. line 13 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 13
. line 14 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 14
. line 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 15
end of window 1. line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13
. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15[?12l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l
. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?12l[?25h[?25l2[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?12l[?25h[?25l3[?12l[?25h[?25l

:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" TEST scrolling up
[?25l[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04
. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
. line 07 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07
. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08440505060607070808090900[?12l[?25htest37.in                                                                        test37.in                                                                       test37.in                                                                       test37.in                                                                        test37.in                                                                        [No Name] [+]                                                                   [?25l
. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?12l[?25h[?25l4[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l
. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?12l[?25h[?25l5[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25lstart of window 1
. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03start of window 2
. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01
. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03
[?12l[?25htest37.in                                                                       test37.in                                                                        test37.in                                                                        test37.in                                                                       test37.in                                                                        [No Name] [+]                                                                   [?25l
. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?12l[?25h[?25l6[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?12l[?25h[?25l7[?12l[?25h[?25l

:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" TEST horizontal scrolling
[?25l[?12l[?25h[?25l:[?12l[?25hset scrollopt+=hor
[?25l[?12l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?12l[?25h[?25l4 line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
5 line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?12l[?25h[?25l
[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0656789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06[?12l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?12l[?25h[?25l
[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?12l[?25h[?25l
[?12l[?25h[?25l

:[?12l[?25h[?25l[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415UTSRQPONMLKJIHGREDCBA9876543210 09101112131415[?12l[?25h[?25l. line 09 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09
. line 10 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 10
. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
. line 12 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 12
. line 13 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 13
. line 14 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 14
. line 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 15
end of window 1

. line 09 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 09
. line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13
. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15[?12l[?25h[?25l[?12l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?12l[?25h[?25l
[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    
test37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?12l[?25h[?25l
[?12l[?25h[?25l

:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset scrollopt-=hor
[?25l[?12l[?25h[?25l:[?12l[?25h" ****** tests using two different buffers *****
[?25l[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        test37.in                                                                       [?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hclose
[?25lstart of window 20000000000[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset noscrollbind
[?25l[?12l[?25h[?25l:[?12l[?25h/^start of window 2$/,/^end of window 2$/y
[?25l18 lines yanked[?12l[?25h[?25l:[?12l[?25hnew
[?25ltest37.in                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [?12l[?25htest37.in                                                                       [No Name]                                                                        test37.in                                                                        [No Name]                                                                       [?25l4 more lines[+][?12l[?25h


[?25l18 more linesstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l/[?12l[?25h^start of window 1$/
[?25lsearch hit BOTTOM, continuing at TOPENDTESTstart of window 1010102020303[?12l[?25h[?25l
. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset scrollbind
[?25l[?12l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l:[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h^start of window 2$/
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03
. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04
. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset scrollbind
[?25l[?12l[?25h[?25l:[?12l[?25h" -- start of tests --
[?25l[?12l[?25h[?25l:[?12l[?25h" TEST scrolling down
[?25l[?12l[?25h


[?25l. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
. line 07 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07
. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08
. line 09 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
. line 07 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 07
. line 08 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 08
. line 09 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 09
. line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10[?12l[?25h[No Name] [+]                                                                    [No Name] [+]                                                                   [?25l
. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
[?12l[?25h[?25l0[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l
. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
[?12l[?25h[?25l1[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    

[?25l. line 10 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 10
. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
. line 12 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 12
. line 13 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 13
. line 14 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 14
. line 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 15. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13
. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16[?12l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l
. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
[?12l[?25h[?25l2[?12l[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
[?12l[?25h[?25l3[?12l[?25h[?25l

:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" TEST scrolling up
[?25l[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l440505060607070808090900. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04
. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
. line 07 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 07
. line 08 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 08[?12l[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l
. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?12l[?25h[?25l4[?12l[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l
. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?12l[?25h[?25l5[?12l[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [?25lstart of window 1
. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03start of window 2
. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01
. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03
[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l
. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?12l[?25h[?25l6[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?12l[?25h[?25l7[?12l[?25h[?25l

:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" TEST horizontal scrolling
[?25l[?12l[?25h[?25l:[?12l[?25hset scrollopt+=hor
[?25l[?12l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?12l[?25h[?25l3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
46 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
56 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?12l[?25h[?25l
[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06UTSRQPONMLKJIHGREDCBA9876543210 07[?12l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?12l[?25h[?25l
[?12l[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?12l[?25h[?25l
[?12l[?25h[?25l

:[?12l[?25h[?25l[?12l[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415

UTSRQPONMLKJIHGREDCBA9876543210 0910111213141516[?12l[?25h[?25l. line 09 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09
. line 10 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 10
. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
. line 12 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 12
. line 13 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 13
. line 14 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 14
. line 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 15

. line 09 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 09
. line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13
. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16[?12l[?25h[?25l[?12l[?25h[No Name] [+]                                                                    [No Name] [+]                                                                   [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?12l[?25h[?25l
[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    
test37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?12l[?25h[?25l
[?12l[?25h[?25l

:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset scrollopt-=hor
[?25l[?12l[?25h[?25l:[?12l[?25h" TEST syncbind
[?25l[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?12l[?25hset noscb
[?25l[?12l[?25h[?25lTest for 'scrollbind'. <eralston@computer.org>   Do not add a line below!
STARTTEST:so small.vim:set noscrollbind:set scrollopt=ver,jump:set scrolloff=2:set nowrap[?12l[?25h


test37.in                                                                        [No Name] [+]                                                                   [?25l:[?12l[?25hset noscb
[?25l[?12l[?25h[?25lstart of window 201010202[?12l[?25h[?25l:[?12l[?25hset scb
[?25l[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?12l[?25hset scb
[?25l[?12l[?25h[?25l. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
end of window 2end of test37.in (please don't delete this line)

end of window 2
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25lzt::set scrollbind:" -- start of tests --:" TEST scrolling downL5jHyy^Wbpr0^WtHyy^Wbpr1^WtL6jHyy^Wbpr2^WkHyy^Wbpr3:
:" TEST scrolling up
^WtH4k^WjH^WtHyy^Wbpr4^WkHyy^Wbpr5^Wk3k^WtH^WjHyy^Wbpr6^WtHyy^Wbpr7:
test37.in                                                                        . line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16[No Name] [+]                                                                   [?12l[?25h[?25l:[?12l[?25hsyncbind
[?25l[?12l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l
:set scrollbind
[?12l[?25h[?25l

:[?12l[?25h[?25l[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?12l[?25hset noscb
[?25l[?12l[?25h[?25lTest for 'scrollbind'. <eralston@computer.org>   Do not add a line below!
STARTTEST
:so small.vimset noscrollbindset scrollopt=ver,jump
:set scrolloff=2set nowrap[?12l[?25h


test37.in                                                                        [No Name] [+]                                                                   [?25l:[?12l[?25hset noscb
[?25l[?12l[?25h[?25lstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?12l[?25h[?25l:[?12l[?25hset scb
[?25l[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?12l[?25hset scb
[?25l[?12l[?25h[?25l. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
end of window 2end of test37.in (please don't delete this line)

end of window 2
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25lzt::set scrollbind:" -- start of tests --:" TEST scrolling downL5jHyy^Wbpr0^WtHyy^Wbpr1^WtL6jHyy^Wbpr2^WkHyy^Wbpr3:
:" TEST scrolling up
^WtH4k^WjH^WtHyy^Wbpr4^WkHyy^Wbpr5^Wk3k^WtH^WjHyy^Wbpr6^WtHyy^Wbpr7:
test37.in                                                                        . line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16[No Name] [+]                                                                   [?12l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?12l[?25hsyncbind
[?25l[?12l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?12l[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l
:set scrollbind
[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?12l[?25h[?25l

:[?12l[?25h[?25l[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25lzt:
:set scrollbind
^Wj:
:resize 7. line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13[?12l[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l
^Wj:
[?12l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
[?12l[?25h[?25l

:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" ***** done with tests *****
[?25l[?12l[?25h[?25l:[?12l[?25hw! test.out             " Write contents of this file
[?25l"test.out" [New File] 33 lines, 1329 characters writtentest.out]      [?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test38.failed test.ok test.out X* viminfo
cp test38.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test38.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test38.in" 35 lines, 455 charactersTest Virtual replace mode.

STARTTEST
:so small.vim
:" make sure that backspace works, no matter what termcap is used
:set t_kD=^Vx7f t_kb=^Vx08
ggdGa
abcdefghi
jk      lmn
    opq rst
^Duvwxyz
^[gg:set ai
:set bs=2
gR0^D 1
A
BCDEFGHIJKL
MNO
PQR^[G:ka
o0^D
abcdefghi
jk      lmn[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 29 lines, 407 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTopq rst
^Duvwxyz
^['ajgR0^D 1
A
BCDEFGHIJKL
MNO
PQR^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^[:$
iab     cdefghi jkl^[0gRAB......CDEFGHI.J^[o^[:
iabcdefghijklmnopqrst^[0gRAB    IJKLMNO QR^[:wq! test.out
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?12l[?25h[?25l:[?12l[?25hset t_kD=^^? t_kb=^^H
[?25l^[gg:set ai
:set bs=2
gR0^D 1
A
BCDEFGHIJKL
MNO
PQR^[G:ka
o0^D
abcdefghi
jk      lmn
    opq rst
^Duvwxyz
^['ajgR0^D 1
A
BCDEFGHIJKL
MNO
PQR^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^[:$
iab     cdefghi jkl^[0gRAB......CDEFGHI.J^[o^[:
iabcdefghijklmnopqrst^[0gRAB    IJKLMNO QR^[:wq! test.out
ENDTEST
[?12l[?25h[?25lTest Virtual replace mode.

STARTTEST
:so small.vim
:" make sure that backspace works, no matter what termcap is used
:set t_kD=^Vx7f t_kb=^Vx08
ggdGa
abcdefghi
jk      lmn
    opq rst
^Duvwxyz[?12l[?25h[?25l
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?12l[?25h[?25l
abcdefghijk      lmn    opq rstuvwxyz[?12l[?25h[?25l:[?12l[?25hset ai
[?25l[?12l[?25h[?25l:[?12l[?25hset bs=2
[?25l[?12l[?25h[?25l 1
 A BCDEFGHIJ    KL        MNOPQR[?12l[?25h[?25l:[?12l[?25hka
[?25l[?12l[?25h[?25labcdefghijk      lmn    opq rstuvwxyz[?12l[?25h
[?25l 1[?12l[?25h[?25l:[?12l[?25h$
[?25l[?12l[?25h[?25lab      cdefghi jkl[?12l[?25h
[?25lAB......CDEFGHI.J[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25labcdefghijklmnopqrst[?12l[?25h
[?25lAB      IJKLMNO QR[?12l[?25h[?25l:[?12l[?25hwq! test.out
[?25l"test.out" [New File] 13 lines, 107 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test39.failed test.ok test.out X* viminfo
cp test39.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test39.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test39.in" 101 lines, 2052 charactersTest Visual block mode commands
And test "U" in Visual mode, also on German sharp S.

STARTTEST
:so small.vim
:so mbyte.vim
:" This only works when 'encoding' is "latin1", don't depend on the environment
:set enc=latin1
/^abcde
:" Test shift-right of a block
jllll^Vjj>wll^Vjlll>
:" Test shift-left of a block
G$hhhh^Vkk<
:" Test block-insert
Gkl^VkkkIxyz^[
:" Test block-replace
Gllll^Vkkklllrq
:" Test block-change
G$khhh^Vhhkkcmno^[
:$-4,$w! test.out
:" Test block-insert using cursor keys for movement
/^aaaa/[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 66 lines, 1771 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTG3o123456789^[2k05l^V2jr^MG3o98765^[2k02l^V2jr^V^M
G3o123456789^[2k05l^V2jr
G3o98765^[2k02l^V2jr^V
:"
:" Test cursor position. When ve=block and Visual block mode and $gj
:set ve=block
:exe ":norm! 2k\<C-V>$gj\<Esc>"
:let cpos=getpos("'>")
:$put ='col:'.cpos[2].' off:'.cpos[3]
:/^the/,$w >> test.out
:qa!
ENDTESTline1line2line3

aaaaaa
bbbbbb
cccccc
dddddd

xaaa[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" This only works when 'encoding' is "latin1", don't depend on the environment
[?25l[?12l[?25h[?25l:[?12l[?25hset enc=latin1
[?25lG3o123456789^[2k05l^V2jr^MG3o98765^[2k02l^V2jr^V^M
G3o123456789^[2k05l^V2jr
G3o98765^[2k02l^V2jr^V
:"
:" Test cursor position. When ve=block and Visual block mode and $gj
:set ve=block
:exe ":norm! 2k\<C-V>$gj\<Esc>"
:let cpos=getpos("'>")
:$put ='col:'.cpos[2].' off:'.cpos[3]
:/^the/,$w >> test.out
:qa!
ENDTESTline1line2line3

aaaaaa
bbbbbb
cccccc
dddddd

xaaa[?12l[?25h[?25l/[?12l[?25h^abcde
[?25lbbbb
cccc
dddd

A23
4567

B23
4567

C23
4567

abcdefghijklm[?12l[?25h[?25l
:[?12l[?25h" Test shift-right of a block
[?25l[?12l[?25h[?25l
abcdefghijklm[?12l[?25habcd[?25l[?12l[?25h[?25l
e
abcdefghijklm
abcd[?12l[?25h[?25l
e
abcdefghijklm
abcd[?12l[?25h[?25l
3 lines >ed 1 time        efghijklm
abcd        efghijklm
abcd        efghijklm[?12l[?25h     ef[?25l[?12l[?25h[?25lg[?12l[?25h[?25lhg[?12l[?25h[?25lih[?12l[?25h[?25lji[?12l[?25h[?25l        ghijklm        ghijklm[?12l[?25h[?25l:[?12l[?25h" Test shift-left of a block
[?25l[?12l[?25h[?25l
abcdefghijklm[?12l[?25h[?25l[?12l[?25h[?25li[?12l[?25h[?25l [?12l[?25h[?25l


3 lines <ed 1 timeef    efghijklmi[?12l[?25h[?25l:[?12l[?25h" Test block-insert
[?25l[?12l[?25h
a[?25l[?12l[?25h[?25lb[?12l[?25h[?25lb[?12l[?25h[?25lb[?12l[?25h[?25l
ab
ab
abxyzbcdefghijklm
axyzbcd
axyzbcd
axyzbcd[?12l[?25h
a[?25l:[?12l[?25h" Test block-replace
[?25l[?12l[?25h


abcd[?25l[?12l[?25h[?25le[?12l[?25h[?25lb[?12l[?25h[?25lb[?12l[?25h[?25lbccf[?12l[?25h[?25lcddg[?12l[?25h[?25ld  h[?12l[?25h[?25lqqqq
axyzqqqq
axyzqqqq
abcdqqqq[?12l[?25h
axyz[?25l:[?12l[?25h" Test block-change
[?25l[?12l[?25h

[?25l[?12l[?25h[?25lj[?12l[?25h[?25li[?12l[?25h[?25l     ghijkl[?12l[?25h[?25lef  gkl[?12l[?25h[?25lmnomnomno[?12l[?25h[?25l:[?12l[?25h$-4,$w! test.out
[?25l"test.out" [New File] 5 lines, 108 characters written[?12l[?25h[?25l:[?12l[?25h" Test block-insert using cursor keys for movement
[?25l[?12l[?25h[?25l/[?12l[?25h^aaaa/
[?25lsearch hit BOTTOM, continuing at TOPaaaaaasearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25hexe ":norm! l\<C-V>jjjlllI\<Right>\<Right>  \<Esc>"
[?25l  aaa
bbb  bbb
ccc  ccc
ddd  ddd[?12l[?25h[?25l:[?12l[?25h/^aa/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5 lines, 37 characters appended[?12l[?25h[?25l/[?12l[?25hxaaa$/
[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! \<C-V>jjjI<>\<Left>p\<Esc>"
[?25l<p>xaaa
<p>bbbb
<p>cccc
<p>dddd[?12l[?25h[?25l:[?12l[?25h/xaaa$/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5 lines, 33 characters appended[?12l[?25h[?25l:[?12l[?25h" Test for Visual block was created with the last <C-v>$
[?25l[?12l[?25h[?25l/[?12l[?25h^A23$/
[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! l\<C-V>j$Aab\<Esc>"
[?25lab
4567ab[?12l[?25h[?25l:[?12l[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 14 characters appended[?12l[?25h[?25l:[?12l[?25h" Test for Visual block was created with the middle <C-v>$ (1)
[?25l[?12l[?25h[?25l/[?12l[?25h^B23$/
[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! l\<C-V>j$hAab\<Esc>"
[?25lab
4567ab[?12l[?25h[?25l:[?12l[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 15 characters appended[?12l[?25h[?25l:[?12l[?25h" Test for Visual block was created with the middle <C-v>$ (2)
[?25l[?12l[?25h[?25l/[?12l[?25h^C23$/
[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! l\<C-V>j$hhAab\<Esc>"
[?25lab
axyzqqqq   mnoghijklm
axyzqqqqef mnoghijklm
axyzqqqqefgmnoklm
abcdqqqqijklm[?12l[?25h[?25l
the [?25l
:[?12l[?25h" VU must uppercase a whole line
[?25l[?12l[?25h[?25l
[?25l
:[?12l[?25h" same, when it's the last line in the buffer
[?25l[?12l[?25h[?25l[?12l[?25h[?25l
[?25l
:[?12l[?25h" Uppercase two lines
[?25l[?12l[?25h[?25l
blah didoh dut[?12l[?25h[?25l
doh dut [?12l[?25h[?25lblah di t[?12l[?25h[?25l
BLAH DIDOH DUT[?12l[?25h[?25l
:[?12l[?25h" Uppercase part of two lines
[?25l[?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l
333the yo[?12l[?25h[?25lut[?12l[?25h[?25lUTUSSEUU END
333THE YOUTU[?12l[?25h[?25l

:[?12l[?25h" visual replace using Enter or NL
[?25l[?12l[?25h
[?25l123456789
123456789
123456789[?12l[?25h
12345[?25l[?12l[?25h[?25l66[?12l[?25h[?25l789[?12l[?25h[?25l789
12345
789
[?12l[?25h[?25l98765
98765
98765[?12l[?25h
98[?25l[?12l[?25h[?25l7
987
98[?12l[?25h[?25l^M65
98^M65
98^M65[?12l[?25h
98
[?25l123456789
123456789
123456789[?12l[?25h
12345[?25l[?12l[?25h[?25l66[?12l[?25h[?25l789[?12l[?25h[?25l789
12345
789
[?12l[?25h[?25l98765
98765
98765[?12l[?25h
98[?25l[?12l[?25h[?25l7
987
98[?12l[?25h[?25l^@65
98^@65
98^@65[?12l[?25h[?25l


:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test cursor position. When ve=block and Visual block mode and $gj
[?25l[?12l[?25h[?25l:[?12l[?25hset ve=block
[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! 2k\<C-V>$gj\<Esc>"
[?25l[?12l[?25h[?25l:[?12l[?25hlet cpos=getpos("'>")
[?25l[?12l[?25h[?25l:[?12l[?25h$put ='col:'.cpos[2].' off:'.cpos[3]
[?25l
col:4 off:0[?12l[?25h[?25l
:[?12l[?25h/^the/,$w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 27 lines, 244 characters appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test40.failed test.ok test.out X* viminfo
cp test40.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test40.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test40.in" 63 lines, 1536 charactersTest for "*Cmd" autocommands

STARTTEST
:so small.vim
:/^start/,$w! Xxx" write lines below to Xxx
:au BufReadCmd XtestA 0r Xxx|$del
:e XtestA" will read text of Xxd instead
:au BufWriteCmd XtestA call append(line("$"), "write")
:w" will append a line to the file
:r XtestA" should not read anything
:" now we have:
:" 1     start of Xxx
:" 2test40
:" 3     end of Xxx
:" 4     write
:au FileReadCmd XtestB '[r Xxx
:2r XtestB" will read Xxx below line 2 instead
:" 1     start of Xxx
:" 2test40
:" 3     start of Xxx
:" 4test40
:" 5     end of Xxx
:" 6     end of Xxx[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for "*Cmd" autocommands[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1455 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:$w >>test.out" append "end of Xxx" to test.out
:au BufReadCmd XtestE 0r test.out|$del
:sp XtestE" split window with test.out
5Goasdf^[^W^W:"
:au BufWriteCmd XtestE w! test.out
:wall" will write other window to test.out
:" 1     start of Xxx
:" 2test40
:" 3     start of Xxx
:" 4test401
:" 5     end of Xxx
:" 6     asdf
:" 7     end of Xxx
:" 8     write
:" 9test401
:" 10    end of Xxx
:" 11    end of Xxx
:qa!
ENDTEST

start of Xxxtest40
end of Xxx[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h/^start/,$w! Xxx^I^I" write lines below to Xxx
[?25l"Xxx" [New File] 3 lines, 32 characters written[?12l[?25h[?25l:[?12l[?25hau BufReadCmd XtestA 0r Xxx|$del
[?25l[?12l[?25h[?25l:[?12l[?25he XtestA^I^I^I" will read text of Xxd instead
[?25l"Xxx" 3 lines, 32 charactersstart of Xxx        test40end of Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hau BufWriteCmd XtestA call append(line("$"), "write")
[?25l[?12l[?25h[?25l:[?12l[?25hw^I^I^I^I" will append a line to the file
[?25lwrite[?12l[?25h[?25l:[?12l[?25hr XtestA^I^I^I" should not read anything
[?25lE484: Can't open file XtestA[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" now we have:
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 2^I^Itest40
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 3^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 4^Iwrite
[?25l[?12l[?25h[?25l:[?12l[?25hau FileReadCmd XtestB '[r Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h2r XtestB^I^I^I" will read Xxx below line 2 instead
[?25l"Xxx" 3 lines, 32 charactersstart of Xxxtest40
end of Xxx[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 2^I^Itest40
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 4^I^Itest40
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 7^Iwrite
[?25l[?12l[?25h[?25l:[?12l[?25hau FileWriteCmd XtestC '[,']copy $
[?25l[?12l[?25h[?25ltest401[?12l[?25h[?25l:[?12l[?25h4,5w XtestC^I^I^I" will copy lines 4 and 5 to the end
[?25l        test401end of Xxx[?12l[?25h[?25l:[?12l[?25hr XtestC^I^I^I" should not read anything
[?25lE484: Can't open file XtestC[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 2^I^Itest40
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 4^I^Itest401
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 7^Iwrite
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 8^I^Itest401
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 9^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25hau FILEAppendCmd XtestD '[,']w! test.out
[?25l[?12l[?25h[?25l:[?12l[?25hw >>XtestD^I^I^I" will write all lines to test.out
[?25l"test.out" [New File] 9 lines, 91 characters written[?12l[?25h[?25l:[?12l[?25h$r XtestD^I^I^I" should not read anything
[?25lE484: Can't open file XtestD[?12l[?25h[?25l:[?12l[?25h$w >>test.out^I^I^I" append "end of Xxx" to test.out
[?25l"test.out" 1 line, 11 characters appended[?12l[?25h[?25l:[?12l[?25hau BufReadCmd XtestE 0r test.out|$del
[?25l[?12l[?25h[?25l:[?12l[?25hsp XtestE^I^I^I" split window with test.out
[?25l"test.out" 10 lines, 102 charactersend of XxxXtestE                                                                          end of Xxxwrite        test401end of XxxXtestA                                                                          [?12l[?25h[?25lasdf[+][?12l[?25hXtestE [+]                                                                       XtestA                                                                          [?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hau BufWriteCmd XtestE w! test.out
[?25l[?12l[?25h[?25l:[?12l[?25hwall^I^I^I^I" will write other window to test.out
[?25l"test.out" 11 lines, 107 characters written   [?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 2^I^Itest40
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 4^I^Itest401
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 6^Iasdf
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 7^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 8^Iwrite
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 9^I^Itest401
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 10^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 11^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test41.failed test.ok test.out X* viminfo
cp test41.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test41.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test41.in" 24 lines, 421 charactersTest for writing and reading a file of over 100 Kbyte

1 line: "This is the start"
3001 lines: "This is the leader"
1 line: "This is the middle"
3001 lines: "This is the trailer"
1 line: "This is the end"

STARTTEST
:%d
aThis is the start
This is the leader
This is the middle
This is the trailer
This is the end^[kY3000p2GY3000p
:w! Xtest
:%d
:e! Xtest
:.w! test.out
3003G:.w >>test.out
6005G:.w >>test.out
:qa!
ENDTEST[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for writing and reading a file of over 100 Kbyte[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 13 lines, 196 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?12l[?25h[?25lThis is the start
This is the leaderThis is the middleThis is the trailerThis is the end[?12l[?25h[?25l3000 more linestrailer
This is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailer[?12l[?25h[?25lleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleader[?12l[?25h
[?25l:[?12l[?25hw! Xtest
[?25l"Xtest" [New File] 6005 lines, 117092 characters written[?12l[?25h[?25l:[?12l[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?12l[?25h[?25l:[?12l[?25he! Xtest
[?25l"Xtest" 6005 lines, 117092 charactersThis is the start
This is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leader[?12l[?25h[?25l:[?12l[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 18 characters written[?12l[?25h[?25lThis is the leader
This is the leader
This is the leader
This is the leader
This is the leader
This is the leader
This is the leader
This is the leader
This is the leader
This is the leader
This is the leader
This is the middle
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 19 characters appended[?12l[?25h[?25lThis is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the trailer
This is the end
[?12l[?25h[?25l
:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 16 characters appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test42.failed test.ok test.out X* viminfo
cp test42.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test42.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test42.in" 130 lines, 2368 charactersTest for writing and reading a file starting with a BOM

STARTTEST
:so mbyte.vim
:set encoding=utf-8
:set fileencodings=ucs-bom,latin-1
:set ff=unix ffs=unix" This changes the file for DOS and MAC
:" --- Write the test files
:/^latin-1$/+1w! Xtest0
:/^utf-8$/+1w! Xtest1
:/^utf-8-err$/+1w! Xtest2
:/^ucs-2$/+1w! Xtest3
:/^ucs-2le$/+1w! Xtest4
:" Need to add a NUL byte after the NL byte
:set bin
:e! Xtest4" Ignore change from setting 'ff'
o^V^@^[:set noeol
:w
:set ffs& nobinary" Allow default test42.in format
:e #
:set ff=unix" Format for files to write
:/^ucs-4$/+1w! Xtest5
:/^ucs-4le$/+1w! Xtest6[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for writing and reading a file starting with a BOM[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 111 lines, 2116 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:e! test.out
:$r Xtest0x
:$r Xtest1x
:$r Xtest2x
:$r Xtest3x
:$r Xtest4x
:$r Xtest5x
:$r Xtest6x
:set nobin ff&" Write the file in default format
:w! test.out
:qa!
ENDTEST

latin-1
utf-8
utf-8
utf-8-err
utf-8~@err
ucs-2
ucs-2le
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset encoding=utf-8
[?25l:e! test.out
:$r Xtest0x
:$r Xtest1x
:$r Xtest2x
:$r Xtest3x
:$r Xtest4x
:$r Xtest5x
:$r Xtest6x
:set nobin ff&" Write the file in default format
:w! test.out
:qa!
ENDTEST

latin-1
<fe><fe>latin-1
utf-8
<feff>utf-8
utf-8-err
<feff>utf-8<80>err
ucs-2
<fe><ff>^@u^@c^@s^@-^@2^@
ucs-2le
<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?12l[?25h[?25l:[?12l[?25hset fileencodings=ucs-bom,latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hset ff=unix ffs=unix           " This changes the file for DOS and MAC
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Write the test files
[?25l[?12l[?25h[?25l:[?12l[?25h/^latin-1$/+1w! Xtest0
[?25l"Xtest0" [New File] 1 line, 10 characters written[?12l[?25h[?25l:[?12l[?25h/^utf-8$/+1w! Xtest1
[?25l"Xtest1" [New File] 1 line, 9 characters written[?12l[?25h[?25l:[?12l[?25h/^utf-8-err$/+1w! Xtest2
[?25l"Xtest2" [New File] 1 line, 13 characters written[?12l[?25h[?25l:[?12l[?25h/^ucs-2$/+1w! Xtest3
[?25l"Xtest3" [New File] 1 line, 14 characters written[?12l[?25h[?25l:[?12l[?25h/^ucs-2le$/+1w! Xtest4
[?25l"Xtest4" [New File] 1 line, 17 characters written[?12l[?25h[?25l:[?12l[?25h" Need to add a NUL byte after the NL byte
[?25l[?12l[?25h[?25l:[?12l[?25hset bin
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest4                      " Ignore change from setting 'ff'
[?25l"Xtest4" 1 line, 17 characters<ff><fe>u^@c^@s^@-^@2^@l^@e^@
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h
[?25l^@[?12l[?25h[?25l:[?12l[?25hset noeol
[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtest4" [Incomplete last line] 2 lines, 18 characters written[?12l[?25h[?25l:[?12l[?25hset ffs& nobinary              " Allow default test42.in format
[?25l[?12l[?25h[?25l:[?12l[?25he #
[?25l"test42.in" [converted] 130 lines, 2385 characters:$r Xtest0x:$r Xtest1x
:$r Xtest2x:$r Xtest3x:$r Xtest4x:$r Xtest5x:$r Xtest6x:set nobin ff&               " Write the file in default format:w! test.out:qa!ENDTESTlatin-1þþlatin-1utf-8utf-8utf-8-errutf-8<80>errucs-2þÿ^@u^@c^@s^@-^@2^@ucs-2leÿþu^@c^@s^@-^@2^@l^@e^@ucs-4[?12l[?25h[?25l:[?12l[?25hset ff=unix                    " Format for files to write
[?25l[?12l[?25h[?25l:[?12l[?25h/^ucs-4$/+1w! Xtest5
[?25l"Xtest5" [converted][New File] 1 line, 30 characters written[?12l[?25h[?25l:[?12l[?25h/^ucs-4le$/+1w! Xtest6
[?25l"Xtest6" [converted][New File] 1 line, 35 characters written[?12l[?25h[?25l:[?12l[?25h" Need to add three NUL bytes after the NL byte
[?25l[?12l[?25h[?25l:[?12l[?25hset bin
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest6                      " ! for when setting 'ff' is a change
[?25l"Xtest6" 1 line, 33 characters<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h
~   [?25l
^@^@^@[?12l[?25h[?25l:[?12l[?25hset noeol
[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtest6" [Incomplete last line] 2 lines, 36 characters written[?12l[?25h[?25l:[?12l[?25hset nobin
[?25l[?12l[?25h[?25l:[?12l[?25he #
[?25l"test42.in" [converted] 130 lines, 2385 characters:$r Xtest0x:$r Xtest1x
:$r Xtest2x:$r Xtest3x:$r Xtest4x:$r Xtest5x:$r Xtest6x:set nobin ff&               " Write the file in default format:w! test.out:qa!ENDTESTlatin-1þþlatin-1utf-8utf-8utf-8-errutf-8<80>errucs-2þÿ^@u^@c^@s^@-^@2^@ucs-2leÿþu^@c^@s^@-^@2^@l^@e^@ucs-4[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check that editing a latin-1 file doesn't see a BOM
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest0
[?25l"Xtest0" [converted] 1 line, 12 charactersþþlatin-1~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hredir! >test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l  fileencoding=latin1

nobomb

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lþþlatin-1
~                                                                               [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 12 characters appended[?12l[?25h[?25l:[?12l[?25hset bomb fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest0x
[?25l"Xtest0x" [converted][New File] 1 line, 12 characters written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check utf-8
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest1
[?25l"Xtest1" 1 line, 9 charactersutf-8[?12l[?25h[?25l:[?12l[?25hredir >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l  fileencoding=utf-8

  bomb

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lutf-8
~                                                                               [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?12l[?25h[?25l:[?12l[?25hset fenc=utf-8
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest1x
[?25l"Xtest1x" [New File] 1 line, 9 characters written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check utf-8 with an error (will fall back to latin-1)
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest2
[?25l"Xtest2" [converted] 1 line, 17 charactersutf-8<80>err
[?12l[?25h[?25l:[?12l[?25hredir >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l  fileencoding=latin1

nobomb

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lutf-8<80>err
~                                                                               [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 17 characters appended[?12l[?25h[?25l:[?12l[?25hset fenc=utf-8
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest2x
[?25l"Xtest2x" [New File] 1 line, 17 characters written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check ucs-2
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest3
[?25l"Xtest3" [converted] 1 line, 8 charactersucs-2[?12l[?25h[?25l:[?12l[?25hredir >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l  fileencoding=utf-16

  bomb

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lucs-2
~                                                                               [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?12l[?25h[?25l:[?12l[?25hset fenc=ucs-2
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest3x
[?25l"Xtest3x" [converted][New File] 1 line, 8 characters written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check ucs-2le
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest4
[?25l"Xtest4" [converted] 1 line, 10 charactersle
[?12l[?25h[?25l:[?12l[?25hredir >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l  fileencoding=utf-16le

  bomb

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lucs-2le
~                                                                               [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 8 characters appended[?12l[?25h[?25l:[?12l[?25hset fenc=ucs-2le
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest4x
[?25l"Xtest4x" [converted][New File] 1 line, 10 characters written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check ucs-4
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest5
[?25l"Xtest5" [converted] 1 line, 10 characters4[?12l[?25h[?25l:[?12l[?25hredir >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l  fileencoding=ucs-4

  bomb

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lucs-4
~                                                                               [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?12l[?25h[?25l:[?12l[?25hset fenc=ucs-4
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest5x
[?25l"Xtest5x" [converted][New File] 1 line, 10 characters written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check ucs-4le
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest6
[?25l"Xtest6" [converted] 1 line, 12 charactersle
[?12l[?25h[?25l:[?12l[?25hredir >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l  fileencoding=ucs-4le

  bomb

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lucs-4le
~                                                                               [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 8 characters appended[?12l[?25h[?25l:[?12l[?25hset fenc=ucs-4le
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest6x
[?25l"Xtest6x" [converted][New File] 1 line, 12 characters written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check the files written with BOM
[?25l[?12l[?25h[?25l:[?12l[?25hset bin
[?25l[?12l[?25h[?25l:[?12l[?25he! test.out
[?25l"test.out" 35 lines, 275 characters  fileencoding=latin1nobomb<fe><fe>latin-1  fileencoding=utf-8  bombutf-8  fileencoding=latin1nobomb<feff>utf-8<80>err  fileencoding=utf-16  bombucs-2  fileencoding=utf-16le[?12l[?25h[?25l:[?12l[?25h$r Xtest0x
[?25l"Xtest0x" 1 line, 10 charactersbomb
ucs-2lefileencoding=ucs-4
  bomb
ucs-4fileencoding=ucs-4le
  bomb
ucs-4le
<fe><fe>latin-1[?12l[?25h[?25l
:[?12l[?25h$r Xtest1x
[?25l"Xtest1x" 1 line, 9 characters
<feff>utf-8[?12l[?25h[?25l
:[?12l[?25h$r Xtest2x
[?25l"Xtest2x" 1 line, 17 characters
utf-8<80>err[?12l[?25h[?25l
:[?12l[?25h$r Xtest3x
[?25l"Xtest3x" 1 line, 14 characters
<fe><ff>^@u^@c^@s^@-^@2^@[?12l[?25h[?25l
:[?12l[?25h$r Xtest4x
[?25l"Xtest4x" [Incomplete last line] 2 lines, 18 characters
<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?12l[?25h[?25l
:[?12l[?25h$r Xtest5x
[?25l"Xtest5x" 1 line, 28 characters^@
^@^@<fe><ff>^@^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@[?12l[?25h[?25l
:[?12l[?25h$r Xtest6x
[?25l"Xtest6x" [Incomplete last line] 2 lines, 36 characters
<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@[?12l[?25h[?25l
:[?12l[?25hset nobin ff&               " Write the file in default format
[?25l[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" 44 lines, 409 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test43.failed test.ok test.out X* viminfo
cp test43.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test43.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test43.in" 34 lines, 473 charactersTests for regexp with various magic settings.

STARTTEST
:so small.vim
:set nocompatible viminfo+=nviminfo
/^1
/a*b\{2}c\+/e
x/\Md\*e\{2}f\+/e
x:set nomagic
/g\*h\{2}i\+/e
x/\mj*k\{2}l\+/e
x/\vm*n{2}o+/e
x/\V^aa$
x:set magic
/\v(a)(b)\2\1\1/e
x/\V[ab]\(\[xy]\)\1
x:$
:set undolevels=100
dv?bar?
Yup:"
:?^1?,$w! test.out
:qa!
ENDTEST[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for regexp with various magic settings.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 268 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nocompatible viminfo+=nviminfo
[?25l[?12l[?25h[?25l/[?12l[?25h^1
[?25l
1 a aa abb abbccc[?12l[?25h[?25l
/[?12l[?25ha*b\{2}c\+/e
[?25l[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h\Md\*e\{2}f\+/e
[?25l
2 d dd dee deefff[?12l[?25h[?25l[?12l[?25h[?25l
:[?12l[?25hset nomagic
[?25l[?12l[?25h[?25l/[?12l[?25hg\*h\{2}i\+/e
[?25l
3 g gg ghh ghhiii[?12l[?25h[?25l[?12l[?25h[?25l
/[?12l[?25h\mj*k\{2}l\+/e
[?25l
4 j jj jkk jkklll[?12l[?25h[?25l[?12l[?25h[?25l
/[?12l[?25h\vm*n{2}o+/e
[?25l
5 m mm mnn mnnooo[?12l[?25h[?25l[?12l[?25h[?25l
/[?12l[?25h\V^aa$
[?25l
6 x ^aa$ x[?12l[?25h[?25laa$ x[?12l[?25h[?25l
:[?12l[?25hset magic
[?25l[?12l[?25h[?25l/[?12l[?25h\v(a)(b)\2\1\1/e
[?25l
7 (a)(b) abbaa[?12l[?25h[?25l[?12l[?25h[?25l
/[?12l[?25h\V[ab]\(\[xy]\)\1
[?25l
8 axx [ab]xx[?12l[?25h[?25lab]x[?12l[?25h[?25l
:[?12l[?25h$
[?25l9 foobar[?12l[?25h[?25l
:[?12l[?25hset undolevels=100
[?25l[?12l[?25h[?25l?[?12l[?25hbar?
[?25l~                                                                               [?12l[?25h[?25l

1 more line; before #2  0 seconds agobar[?12l[?25h[?25l
9 foo
[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h?^1?,$w! test.out
[?25l"test.out" [New] 11L, 137C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test44.failed test.ok test.out X* viminfo
cp test44.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test44.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test44.in" 68 lines, 2601 charactersTests for regexp with multi-byte encoding and various magic settings.
Test matchstr() with a count and multi-byte chars.
See test99 for exactly the same test with re=2.

STARTTEST
:so mbyte.vim
:set nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo
:set re=1
/^1
/a*b\{2}c\+/e
x/\Md\*e\{2}f\+/e
x:set nomagic
/g\*h\{2}i\+/e
x/\mj*k\{2}l\+/e
x/\vm*n{2}o+/e
x/\V^aa$
x:set magic
/\v(a)(b)\2\1\1/e
x/\V[ab]\(\[xy]\)\1
x:" Now search for multi-byte without composing char
/ม
x:" Now search for multi-byte with composing char
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for regexp with multi-byte encoding and various magic settings.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 41 lines, 1362 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTx?.
:@w
:?^1?,$w! test.out
:e! test.out
:w!
:qa!
ENDTEST

1 a aa abb abbccc
2 d dd dee deefff
3 g gg ghh ghhiii
4 j jj jkk jkklll
5 m mm mnn mnnooo
6 x ^aa$ x
7 (a)(b) abbaa
8 axx [ab]xx
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo
[?25lx?.
:@w
:?^1?,$w! test.out
:e! test.out
:w!
:qa!
ENDTEST

1 a aa abb abbccc
2 d dd dee deefff
3 g gg ghh ghhiii
4 j jj jkk jkklll
5 m mm mnn mnnooo
6 x ^aa$ x
7 (a)(b) abbaa
8 axx [ab]xx
:[?12l[?25h" Test \%u, [\u] and friends
[?25l[?12l[?25h[?25l/[?12l[?25h\%u20ac
[?25l
/[?12l[?25h[\u4f7f\u5929]\+
[?25l
/[?12l[?25h\%U12345678
[?25l
/[?12l[?25h[\U1234abcd\u1234\uabcd]
[?25l
/[?12l[?25h\%d21879b
[?25l
/[?12l[?25h [[=A=]]* [[=B=]]* [[=C=]]* [[=D=]]* [[=E=]]* [[=F=]]* [[=G=]]* [[=H=]]* [[=I=

]]* [[=J=]]* [[=K=]]* [[=L=]]* [[=M=]]* [[=N=]]* [[=O=]]* [[=P=]]* [[=Q=]]* [[=R

=]]* [[=S=]]* [[=T=]]* [[=U=]]* [[=V=]]* [[=W=]]* [[=X=]]* [[=Y=]]* [[=Z=]]*/e
[?25lPress ENTER or type command to continue[?12l[?25h[?25l:w!
:qa!
ENDTEST1 a aa abb abbcc
2 d dd dee deeff
3 g gg ghh ghhii
4 j jj jkk jkkll
5 m mm mnn mnnoo
/[?12l[?25h [[=a=]]* [[=b=]]* [[=c=]]* [[=d=]]* [[=e=]]* [[=f=]]* [[=g=]]* [[=h=]]* [[=i=

]]* [[=j=]]* [[=k=]]* [[=l=]]* [[=m=]]* [[=n=]]* [[=o=]]* [[=p=]]* [[=q=]]* [[=r

=]]* [[=s=]]* [[=t=]]* [[=u=]]* [[=v=]]* [[=w=]]* [[=x=]]* [[=y=]]* [[=z=]]*/e
[?25lPress ENTER or type command to continue[?12l[?25h[?25l1 a aa abb abbcc
2 d dd dee deeff
3 g gg ghh ghhii
4 j jj jkk jkkll
5 m mm mnn mnnoo
:[?12l[?25h" Test backwards search from a multi-byte char
[?25l[?12l[?25h[?25l/[?12l[?25hx
[?25l
:[?12l[?25h?^1?,$w! test.out
[?25l"test.out" [New] 20L, 1011C written[?12l[?25h[?25l:[?12l[?25he! test.out
[?25l"test.out" 20L, 1011C1 a aa abb abbcc
2 d dd dee deeff
3 g gg ghh ghhii
4 j jj jkk jkkll
5 m mm mnn mnnoo
6 x aa$ x7 (a)(b) abba
8 axx ab]xx
e y
:[?12l[?25hw!
[?25l"test.out" 24L, 1025C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test45.failed test.ok test.out X* viminfo
cp test45.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test45.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test45.in" 80 lines, 1824 charactersTests for folding. vim: set ft=vim :

STARTTEST
:so small.vim
:" We also need the +syntax feature here.
:if !has("syntax")
   e! test.ok
   w! test.out
   qa!
:endif
:" basic test if a fold can be created, opened, moving to the end and closed
/^1
zf2j:call append("$", "manual " . getline(foldclosed(".")))
zo:call append("$", foldclosed("."))
]z:call append("$", getline("."))
zc:call append("$", getline(foldclosed(".")))
:" test folding with markers.
:set fdm=marker fdl=1 fdc=3
/^5
:call append("$", "marker " . foldlevel("."))
[z:call append("$", foldlevel("."))
jo{{ ^[r{jj:call append("$", foldlevel("."))
kYpj:call append("$", foldlevel("."))[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for folding. vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 63 lines, 1691 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/bb$
:call append("$", "expr " . foldlevel("."))
/hh$
:call append("$", foldlevel("."))
/ii$
:call append("$", foldlevel("."))
/kk$
:call append("$", foldlevel("."))
:/^last/+1,$w! test.out
:delfun Flvl
:qa!
ENDTEST

1 aa
2 bb
3 cc
4 dd {{{
5 ee {{{ }}}
6 ff }}}
7 gg
8 hh
9 ii
a jj[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" We also need the +syntax feature here.
[?25l[?12l[?25h[?25l:[?12l[?25hif !has("syntax")
[?25l
:  [?12l[?25h   e! test.ok

[?25l:  [?12l[?25h   w! test.out

[?25l:  [?12l[?25h   qa!

[?25l:  [?12l[?25h:endif
[?25l/bb$
:call append("$", "expr " . foldlevel("."))
/hh$
:call append("$", foldlevel("."))[?12l[?25h[?25l:[?12l[?25h" basic test if a fold can be created, opened, moving to the end and closed
[?25l[?12l[?25h[?25l/[?12l[?25h^1
[?25l[?12l[?25h[?25l+--  3 lines: 1 aa--------------------------------------------------------------4 dd {{{
5 ee {{{ }}}
6 ff }}}
7 gg8 hh9 ii
a jj
b kk
last[?12l[?25h[?25l:[?12l[?25hcall append("$", "manual " . getline(foldclosed(".")))
[?25l[?12l[?25h[?25l1 aa2 bb3 cc4 dd {{{
5 ee {{{ }}}
6 ff }}}
7 gg
8 hh
9 ii
a jj[?12l[?25h[?25l:[?12l[?25hcall append("$", foldclosed("."))
[?25l[?12l[?25h

[?25l:[?12l[?25hcall append("$", getline("."))
[?25l[?12l[?25h[?25l+--  3 lines: 1 aa--------------------------------------------------------------4 dd {{{
5 ee {{{ }}}
6 ff }}}
7 gg8 hh9 ii
a jj
b kk
last[?12l[?25h[?25l:[?12l[?25hcall append("$", getline(foldclosed(".")))
[?25l[?12l[?25h[?25l:[?12l[?25h" test folding with markers.
[?25l[?12l[?25h[?25l:[?12l[?25hset fdm=marker fdl=1 fdc=3
[?25l   /bb$
   :call append("$", "expr " . foldlevel("."))
   /hh$
   :call append("$", foldlevel("."))
   /ii$
   :call append("$", foldlevel("."))
   /kk$
   :call append("$", foldlevel("."))
   :/^last/+1,$w! test.out
   :delfun Flvl
   :qa!
   ENDTEST
   
   1 aa   2 bb   3 cc-  4 dd {{{
|- 5 ee {{{ }}}
|  6 ff }}}
   7 gg
   8 hh
   9 ii
   a jj[?12l[?25h[?25l/[?12l[?25h^5
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", "marker " . foldlevel("."))
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l{{ |  6 ff }}}[?12l[?25h[?25l-{|
|
|
|[?12l[?25h[?25l


:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l6 ff }}}
 7 gg
 8 hh[?12l[?25h[?25l:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l:[?12l[?25h" test folding with indent
[?25l[?12l[?25h[?25l:[?12l[?25hset fdm=indent sw=2
[?25l 
  
  
  
 
   [?12l[?25h[?25l/[?12l[?25h^2 b
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l
-  2 bb[?12l[?25h[?25l
|-    3 cc[?12l[?25h[?25l:[?12l[?25hcall append("$", "indent " . foldlevel("."))
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l:[?12l[?25h" test syntax folding
[?25l[?12l[?25h[?25l:[?12l[?25hset fdm=syntax fdl=0
[?25l 
  [?12l[?25h[?25l:[?12l[?25hsyn region Hup start="dd" end="ii" fold contains=Fd1,Fd2,Fd3
[?25l+  +--  8 lines: 4 dd ----------------------------------------------------------a jjb kklastmanual 1 aa-13 cc[?12l[?25h[?25l:[?12l[?25hsyn region Fd1 start="ee" end="ff" fold contained
[?25l[?12l[?25h[?25l:[?12l[?25hsyn region Fd2 start="gg" end="hh" fold contained
[?25l[?12l[?25h[?25l:[?12l[?25hsyn region Fd3 start="commentstart" end="commentend" fold contained
[?25l[?12l[?25h[?25l   1 aa
   marker 2
   1
   1
   0
   indent 2
   1[?12l[?25h[?25l:[?12l[?25hcall append("$", "folding " . getline("."))
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", getline("."))
[?25l[?12l[?25h[?25l
--4 dd {{{commentstart  ||5 ee {{{ }}}
||{{{||6 ff }}}
||6 ff }}}||7 gg
||8 hh
||9 ii
||a jj||b kk
||last
||manual 1 aa
||-1||3 cc[?12l[?25h[?25l commentend- 
|-

| 
  
  
  
  
  
  [?12l[?25h[?25l:[?12l[?25hset fdl=1
[?25l+ +---  3 lines: 5 ee --------------------------------------------------------- 6 ff }}}+ +---  2 lines: 7 gg----------------------------------------------------------9 ii  a jj
  b kk
 lastmanual 1 aa-13 cc1 aamarker 21[?12l[?25h[?25l:[?12l[?25hcall append("$", getline("."))
[?25l[?12l[?25h[?25l:[?12l[?25hset fdl=0
[?25l+  +--  8 lines: 4 dd commentstart  commentend----------------------------------  a jj b kk  last manual 1 aa-13 cc1 aarker 2110indent[?12l[?25h[?25l
-4 dd {{{commentstart  commentend|-5 ee {{{ }}}
||{{{||6 ff }}}
|6 ff }}}|-7 gg
||8 hh
|9 iia jjb kklastmanual 1 aa-13 cc[?12l[?25h[?25l   :call append("$", foldlevel("."))
   :/^last/+1,$w! test.out
   :delfun Flvl
   :qa!
   ENDTEST
   
   1 aa
     2 bb
       3 cc
-  4 dd {{{commentstart  commentend
|- 5 ee {{{ }}}
|| {{{
|| 6 ff }}}
|  6 ff }}}
|- 7 gg
|| 8 hh
|  9 ii
   a jj
   b kk
   last
   manual 1 aa
   -1
   3 cc[?12l[?25h[?25l:[?12l[?25hcall append("$", getline("."))
[?25l[?12l[?25h[?25l:[?12l[?25h" test expression folding
[?25l[?12l[?25h[?25l:[?12l[?25hfun Flvl()
[?25l
:  [?12l[?25h  let l = getline(v:lnum)

[?25l:  [?12l[?25h  if l =~ "bb$"

[?25l:    [?12l[?25h    return 2

[?25l:    [?12l[?25h  elseif l =~ "gg$"

[?25l:    [?12l[?25h    return "s1"

[?25l:    [?12l[?25h  elseif l =~ "ii$"

[?25l:    [?12l[?25h    return ">2"

[?25l:    [?12l[?25h  elseif l =~ "kk$"

[?25l:    [?12l[?25h    return "0"

[?25l:    [?12l[?25h  endif

[?25l:  [?12l[?25h  return "="

[?25l:  [?12l[?25hendfun
[?25l   :call append("$", foldlevel("."))
   :/^last/+1,$w! test.out
   :delfun Flvl
   :qa!
   ENDTEST
   
   1 aa
     2 bb
       3 cc
-  4 dd {{{commentstart  commentend
|- 5 ee {{{ }}}
|| {{{[?12l[?25h[?25l:[?12l[?25hset fdm=expr fde=Flvl()
[?25l+  +-- 11 lines: 2 bb-----------------------------------------------------------b kk last  manual 1 aa  -1  3 cc 1 aa  marker 2
  1 10indent 21+  +--  4 lines: folding 9 ii---------------------------------------------------~                                                                            ~                                                                            [?12l[?25h[?25l/[?12l[?25hbb$
[?25lsearch hit BOTTOM, continuing at TOP--  2 bb||    3 cc
||4 dd {{{commentstart  commentend
||5 ee {{{ }}}
||{{{
||6 ff }}}
||6 ff }}}
||7 gg|8 hh
|+ +---  2 lines: 9 ii----------------------------------------------------------b kklastmanual 1 aa
 -13 cc1 aa[?12l[?25h[?25l:[?12l[?25hcall append("$", "expr " . foldlevel("."))
[?25l[?12l[?25h[?25l/[?12l[?25hhh$
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l/[?12l[?25hii$
[?25l-9 ii||a jjb kklastmanual 1 aa-13 cc[?12l[?25h[?25l:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l/[?12l[?25hkk$
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l:[?12l[?25h/^last/+1,$w! test.out
[?25l"test.out" [New File] 18 lines, 96 characters written[?12l[?25h[?25l:[?12l[?25hdelfun Flvl
[?25l[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test46.failed test.ok test.out X* viminfo
cp test46.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test46.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test46.in" 27 lines, 431 charactersTests for multi-line regexps with ":s". vim: set ft=vim :

STARTTEST
:" test if replacing a line break works with a back reference
:/^1/,/^2/s/\n\(.\)/ \1/
:" test if inserting a line break works with a back reference
:/^3/,/^4/s/\(.\)$/\r\1/
:" test if replacing a line break with another line break works
:/^5/,/^6/s/\(\_d\{3}\)/x\1x/
:/^1/,$w! test.out
:qa!
ENDTEST

1 aa
bb
cc
2 dd
ee
3 ef
gh
4 ij
5 a8
8b c9[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for multi-line regexps with ":s". vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 8 lines, 292 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h" test if replacing a line break works with a back reference
[?25l[?12l[?25h[?25l:[?12l[?25h/^1/,/^2/s/\n\(.\)/ \1/
[?25l4 substitutions on 1 line1 aa bb cc 2 dd ee9d
6 e7
77f
xxxxx4 substitutions on 1 line[?12l[?25h[?25l:[?12l[?25h" test if inserting a line break works with a back reference
[?25l[?12l[?25h[?25l:[?12l[?25h/^3/,/^4/s/\(.\)$/\r\1/
[?25l3 substitutions on 3 linesfgh
4 i
j3 substitutions on 3 lines[?12l[?25h[?25l:[?12l[?25h" test if replacing a line break with another line break works
[?25l[?12l[?25h[?25l:[?12l[?25h/^5/,/^6/s/\(\_d\{3}\)/x\1x/
[?25l3 substitutions on 2 linesx8
8xb cx9
9xd
6 ex7
7x7f3 substitutions on 2 lines[?12l[?25h[?25l:[?12l[?25h/^1/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 13 lines, 70 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test47.failed test.ok test.out X* viminfo
cp test47.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test47.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test47.in" 62 lines, 1351 charactersTests for vertical splits and filler lines in diff mode

STARTTEST
:so small.vim
:" Disable the title to avoid xterm keeping the wrong one.
:set notitle noicon
/^1
yG:new
pkdd:w! Xtest
ddGpkkrXoxxx^[:w! Xtest2
:file Nop
ggoyyy^[jjjozzzz^[
:vert diffsplit Xtest
:vert diffsplit Xtest2
:" jump to second window for a moment to have filler line appear at start of
:" first window
^W^Wgg^Wpgg:let one = winline()
j:let one = one . "-" . winline()
j:let one = one . "-" . winline()
j:let one = one . "-" . winline()
j:let one = one . "-" . winline()
j:let one = one . "-" . winline()
^W^Wgg:let two = winline()[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for vertical splits and filler lines in diff mode[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 52 lines, 1250 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:diffoff!
:windo :bw!
:enew
:put =range(4,10)
:1d _
:vnew
:put =range(1,10)
:1d _
:windo :diffthis
:wincmd h
:let w0=line('w0')
:enew
:put =w0
:.w >> test.out
:unlet! one two three w0
:qa!
ENDTEST

1 aa
2 bb
3 cc
4 dd
5 ee[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" Disable the title to avoid xterm keeping the wrong one.
[?25l[?12l[?25h[?25l:[?12l[?25hset notitle noicon
[?25l[?12l[?25h[?25l/[?12l[?25h^1
[?25l[?12l[?25h[?25l5 lines yanked[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       let w0=line('w0')
:enewput =w0.w >> test.out
:unlet! one two three w0
:qa!
ENDTEST1 aa
2 bb
test47.in                                                                       [?12l[?25h[?25l5 more lines1 aa2 bb3 cc4 dd5 ee[+][?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hw! Xtest
[?25l"Xtest" [New File] 5 lines, 25 characters writtenXtesta         [?12l[?25h[?25l
~                                                                               [+][?12l[?25h


[?25l
1 aa[?12l[?25h[?25lX[?12l[?25h[?25lxxx[?12l[?25h[?25l:[?12l[?25hw! Xtest2
[?25l"Xtest2" [New File] 6 lines, 29 characters written    [?12l[?25h[?25l:[?12l[?25hfile Nop
[?25l"Nop" [Not edited] line 4 of 6 --66%-- col 3Nops   [?12l[?25h[?25lyyy[+][?12l[?25h
3 
X 
xx[?25lzzzz[?12l[?25h
5 e[?25l:[?12l[?25hvert diffsplit Xtest
[?25l"Xtest" 5 lines, 25 characters  1 aa                                  |
  2 bb|
  --------------------------------------|
  3 cc|
  4 dd                                  |
  --------------------------------------|
  --------------------------------------|
  5 ee||||  --------------------------------------
  
  ~~
Xtest+     -------------------------------------  2 bb  yyy                                    3 cc  X dd                                   xxx                                    zzzz                                   5 ee  1 aa                                     ~~Nop [+]                                [?12l[?25h[?25l:[?12l[?25hvert diffsplit Xtest2
[?25l"Xtest2" 6 lines, 29 characters  ------------------------|
  2 bb|
  ------------------------|
  3 cc|
  X dd                    |
  xxx                     |
  ------------------------|
  5 ee|
  1 aa                    |||  
  ~                       ~                       
Xtest2                       1 aa                    |  2 bb|  ------------------------|  3 cc|  4 dd                    |  ------------------------|  ------------------------|  5 ee||||  ------------------------    ~                       ~                       Xtest                        ------------------------  2 bb  yyy                       3 cc  X dd                      xxx                       zzzz                      5 ee  1 aa                        ~                       ~                       Nop [+]                   :let w0=line('w0')
:enew
:put =w0
:.w >> test.out
:unlet! one two three w0
:qa!
ENDTEST

1 aa
2 bb
test47.in                                                                       [?12l[?25h[?25l:[?12l[?25h" jump to second window for a moment to have filler line appear at start of
[?25l[?12l[?25h[?25l:[?12l[?25h" first window
[?25l[?12l[?25h[?25lXtest2                      Xtest                      [?12l[?25h[?25l[?12l[?25h[?25lXtest2                     Xtest                       [?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet one = winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet one = one . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet one = one . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet one = one . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet one = one . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet one = one . "-" . winline()
[?25l[?12l[?25h[?25l


Xtest2                      Xtest                      [?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet two = winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet two = two . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet two = two . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet two = two . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet two = two . "-" . winline()
[?25l[?12l[?25h[?25lXtest                       Nop [+]                   [?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = three . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = three . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = three . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = three . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = three . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = three . "-" . winline()
[?25l[?12l[?25hNop [+]                    test47.in                                                                       [?25l:[?12l[?25hcall append("$", one)
[?25l[+][?12l[?25h[?25l:[?12l[?25hcall append("$", two)
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", three)
[?25l[?12l[?25h[?25l:[?12l[?25h$-2,$w! test.out
[?25l"test.out" [New File] 3 lines, 36 characters written[?12l[?25h[?25l:[?12l[?25h" Test that diffing shows correct filler lines
[?25l[?12l[?25h[?25l:[?12l[?25hdiffoff!
[?25l--
2 bb  
3 cc                      
X dd  
xxx                       
5 ee                      
1 aa                      
~                         
~                         
~   
~   1 aa                      2 bb  3 cc                      4 dd  5 ee                      ~                         ~                         ~                         ~                         ~   ~   2 bbyyy3 ccX ddxxxzzzz5 ee1 aa~                         ~   ~   [?12l[?25h[?25l:[?12l[?25hwindo :bw!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25henew
[?25l[?12l[?25h[?25l:[?12l[?25hput =range(4,10)
[?25l7 more lines45678910[?12l[?25h[?25l:[?12l[?25h1d _
[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hvnew
[?25l ||||||||||||||||||||||~                                       
~                                       
~                                       
~                                       
~                                       
~                                       [No Name]                                45678910~~~~~~~~~~~~~~~[No Name] [+]                          [?12l[?25h[?25l:[?12l[?25hput =range(1,10)
[?25l10 more lines1                                       
2                                       
3                                       
4                                       
5                                       
6                                       
7                                       
8                                       
9                                       
10                                      [+][?12l[?25h[?25l:[?12l[?25h1d _
[?25l1                                       
2                                       
3                                       
4                                       
5                                       
6                                       
7                                       
8                                       
9                                       
10                                      
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
                                        
~                                       [?12l[?25h[?25l:[?12l[?25hwindo :diffthis
[?25l  1                                     
  2                                     
  3                                     
  4
  5
  6
  7
  8
  9
- 10
  
  
  
  
  
  
  
  
  
  
  
  ~~~~~~~~~~~~
[No Name] [+]                               -------------------------------------  -------------------------------------  -------------------------------------  4  5  6  7  8  9- 10                        ~~~~~~~~~~~~[No Name] [+]                          [?12l[?25h[?25l:[?12l[?25hwincmd h
[?25l[No Name] [+]                            [No Name] [+]                           [?12l[?25h[?25l:[?12l[?25hlet w0=line('w0')
[?25l[?12l[?25h[?25l:[?12l[?25henew
[?25lE37: No write since last change (add ! to override)[?12l[?25h[?25l:[?12l[?25hput =w0
[?25l123                                     45678
 9 
-10                                    -------------------------------------45678 9-10[?12l[?25h[?25l:[?12l[?25h.w >> test.out
[?25l"test.out" 1 line, 2 characters appended[?12l[?25h[?25l:[?12l[?25hunlet! one two three w0
[?25l[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test48.failed test.ok test.out X* viminfo
cp test48.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test48.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test48.in" 78 lines, 1542 charactersThis is a test of 'virtualedit'.

STARTTEST
:so small.vim
:set noswf
:set ve=all
-dgg
:"
:"   Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
:"    Repeating CTRL-N fixes it. (Mary Ellen Foster)
2/w
C^N^[
:"
:"   Using "C" then then <CR> moves the last remaining character to the next
:"    line.  (Mary Ellen Foster)
j^/are
C^Mare belong to vim^[
:"
:"   When past the end of a line that ends in a single character "b" skips
:"    that word.
^$15lbC7^[
:"
:"   Make sure 'i' works[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lThis is a test of 'virtualedit'.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 57 lines, 1331 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:set display=
:"
:"   Test for ^Y/^E due to bad w_virtcol value, reported by
:"   Roy <royl@netropolis.net>.
^O^[3li^E^[4li^E^[4li^E   <-- should show the name of a noted text editor^[
^o^[4li^Y^[4li^Y^[4li^Y   <-- and its version number^[-dd
:"
:" Test for yanking and pasting using the small delete register
gg/^foo
dewve"-p
:wq! test.out
ENDTEST
foo, bar
keyword keyw
all your base are belong to us
1 2 3 4 5 6
'i'
'C'
'a'
'A'
'D'
this is a test
this is a test[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset noswf
[?25l[?12l[?25h[?25l:[?12l[?25hset ve=all
[?25l[?12l[?25h[?25l61 fewer linesthis is a test
"r"
a^Vb^Msd
abcv6efi.him0kl


~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               61 fewer lines[?12l[?25h
[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"   Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
[?25l[?12l[?25h[?25l:[?12l[?25h"    Repeating CTRL-N fixes it. (Mary Ellen Foster)
[?25l[?12l[?25h[?25l/[?12l[?25hw
[?25l[?12l[?25h[?25l$Scanning tags.
The only matchword[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"   Using "C" then then <CR> moves the last remaining character to the next
[?25l[?12l[?25h[?25l:[?12l[?25h"    line.  (Mary Ellen Foster)
[?25l[?12l[?25h
[?25l/[?12l[?25hare
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l$are belong to vim
1 2 3 4 5 6
'i
'C
'a
'A
'D'this is a test
"r"^Vb^Msdabcv6efi.him0kl[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"   When past the end of a line that ends in a single character "b" skips
[?25l[?12l[?25h[?25l:[?12l[?25h"    that word.
[?25l[?12l[?25h
[?25l$7[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"   Make sure 'i' works
[?25l[?12l[?25h
'i'   [?25l<-- should be 3 ' '[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"   Make sure 'C' works
[?25l[?12l[?25h
'C'   [?25l$<-- should be 3 ' '[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"   Make sure 'a' works
[?25l[?12l[?25h
'a'   [?25l <-- should be 4 ' '[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"   Make sure 'A' works
[?25l[?12l[?25h
'A'   [?25l<-- should be 0 ' '[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"   Make sure 'D' works
[?25l[?12l[?25h
'D'   [?25l<-- 'D' should be intact[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"   Test for yank bug reported by Mark Waggoner.
[?25l[?12l[?25h[?25l:[?12l[?25hset ve=block
[?25l[?12l[?25h
[?25l[?12l[?25h[?25laaa[?12l[?25h[?25laaablock of 4 lines yanked[?12l[?25h[?25l3 more linesa
aa [?12l[?25h
[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test "r" beyond the end of the line
[?25l[?12l[?25h[?25l:[?12l[?25hset ve=all
[?25l[?12l[?25h[?25l/[?12l[?25h^"r"
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h"r"    [?25lx[?12l[?25h[?25lx<-- should be 'x'[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"   Test to make sure 'x' can delete control characters
[?25l[?12l[?25h[?25l:[?12l[?25hset display=uhex
[?25l<16>b<0d>sd[?12l[?25h
[?25l<16>b<0d>sd[?12l[?25h[?25lb<0d>sd[?12l[?25h[?25l<0d>sd[?12l[?25h[?25lsd[?12l[?25h[?25ld[?12l[?25h[?25l[?12l[?25h[?25l[This line should contain only the text between the brackets.][?12l[?25h[?25l:[?12l[?25hset display=
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"   Test for ^Y/^E due to bad w_virtcol value, reported by
[?25l[?12l[?25h[?25l:[?12l[?25h"   Roy <royl@netropolis.net>.
[?25l[?12l[?25h
[?25l[?12l[?25h   [?25lv[?12l[?25hv   [?25li[?12l[?25hi   [?25lm   <-- should show the name of a noted text editor[?12l[?25h
[?25l[?12l[?25h    [?25l6[?12l[?25h6   [?25l.[?12l[?25h.   [?25l0   <-- and its version number[?12l[?25h[?25l
~                                                                               [?12l[?25h
    [?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test for yanking and pasting using the small delete register
[?25l[?12l[?25h[?25l/[?12l[?25h^foo
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l, bar[?12l[?25h, [?25l[?12l[?25h[?25lba[?12l[?25h[?25l[?12l[?25h[?25lfoo[?12l[?25h
keyw[?25l:[?12l[?25hwq! test.out
[?25l"test.out" [New File] 22 lines, 449 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test49.failed test.ok test.out X* viminfo
cp test49.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test49.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test49.in" 30 lines, 631 charactersThis is a test of the script language.

If after adding a new test, the test output doesn't appear properly in
test49.failed, try to add one or more "G"s at the line ending in "test.out"

STARTTEST
:so small.vim
:se nocp nomore viminfo+=nviminfo
:lang mess C
:so test49.vim
GGGGGGGGGGGGGG"rp:.-,$w! test.out
:"
:" make valgrind happy
:redir => funclist
:silent func
:redir END
:for line in split(funclist, "\n")
:  let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')
:  if name != ''
:    exe "delfunc " . name
:  endif
:endfor
:for v in keys(g:)[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lThis is a test of the script language.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 21 lines, 401 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:  silent! exe "unlet " . v
:endfor
:unlet v
:qa!
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hse nocp nomore viminfo+=nviminfo
[?25l[?12l[?25h[?25l:[?12l[?25hlang mess C
[?25l[?12l[?25h[?25l:[?12l[?25hso test49.vim
[?25lError detected while processing function G:

line   16:

E171: Missing :endif:     endwhile

*** Test   1: OK (34695)

   function F()

1      Xpath 1" X: 1

2      let first = 1

3      XloopINIT 2 8

4      while 1

5Xloop 1" X: 2      + 0 * 16

6if first

7Xloop 2" X: 4      + 0 * 32

8let first = 0

9XloopNEXT

10break

11else

12Xloop 4" X: 0      + 0 * 64

13return

14endif

15     endwhile

   endfunction"/tmp/vwbvfxC/0"[noeol] 18L, 528C
15 substitutions on 15 lines
Pattern not found: ^\s*$
"/tmp/vwbvfxC/0" 15L, 476C written
"test49.in" 30L, 631C
   function G()
1      Xpath 256" X: 256    + 0 * 2048
2      let first = 1
3      XloopINIT 512 8
4      while 1
5Xloop 1" X: 512    + 0 * 4096
6if first
7Xloop 2" X: 1024   + 0 * 8192
8let first = 0
9XloopNEXT
10break
11else
12Xloop 4" X: 0      + 0 * 16384
13return

14endif

15if 1    " unmatched :if

16     endwhile

   endfunction"/tmp/vwbvfxC/1"[noeol] 19L, 588C
16 substitutions on 16 lines
Pattern not found: ^\s*$
"/tmp/vwbvfxC/1" 16L, 534C written
"test49.in" 30L, 631C
Error detected while processing /tmp/vwbvfxC/1:
line   16:
E171: Missing :endif:      endwhile
*** Test   2: OK (34695)
*** Test   3: OK (1384648195)
*** Test   4: OK (32883)
   function F()
1      if 1
2Xpath 1" X: 1
3let loops = 3
4XloopINIT 2 16
5while loops > 0"    3:  2:     1:
6Xloop 1" X: 2 + 2*16 + 0*16*16
7if (loops == 2)
8Xloop 2" X:     4*16

9return

10Xloop 4" X:     0

11endif

12Xloop 8" X: 16

13let loops = loops - 1

14XloopNEXT

15endwhile

16Xpath 8192" X: 0

17     else

18Xpath 16384" X: 0

19     endif

   endfunction"/tmp/vwbvfxC/2"[noeol] 22L, 784C
19 substitutions on 19 lines
Pattern not found: ^\s*$
"/tmp/vwbvfxC/2" 19L, 724C written
"test49.in" 30L, 631C
*** Test   5: OK (32883)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
"/tmp/vwbvfxC/3" [New] 53L, 1582C written14L, 358C appended26L, 824C appended34L, 986C appended
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/4[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/4" 130L, 2431C appended131L, 2453C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!>/tmp/vwbvfxC/5[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/5"' -S /tmp/vwbvfxC/4[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/5" 21L, 130C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test   6: OK (603978947)
Error detected while processing /<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim:
line  976:
E492: Not an editor command: ^Iasdf
line  988:
E492: Not an editor command: ^Iasdf
line  996:
E492: Not an editor command: asdf
line  999:
E492: Not an editor command: asdf | Xpath 32768^I^I^I^I" X: 0
*** Test   7: OK (90563)

Error detected while processing function F:

line    5:

E492: Not an editor command: ^I    asdf

line    7:

E492: Not an editor command: ^I    asdf | Xpath 8^I^I^I" X: 0

line   19:

E492: Not an editor command: ^I    asdf

line   21:

E492: Not an editor command: ^I    asdf | Xpath 2048^I^I^I" X: 0

line   29:

E121: Undefined variable: novar

E15: Invalid expression: novar^I^I" returns (default return value 0)

Error detected while processing function G:

line    5:

E492: Not an editor command: ^I    asdf^I^I" returns -1

Error detected while processing function H:

line    5:

E492: Not an editor command: ^I    asdf^I^I" returns -1

*** Test   8: OK (562493431)

Error detected while processing function F..G..H..I:

line    2:

E492: Not an editor command:     asdf^I^I" error

*** Test   9: OK (363)

Error detected while processing /<<PKGBUILDDIR>>/src/vim-basic/tes

tdir/test49.vim:

line 1201:

E15: Invalid expression: | strlen("\"") | Xpath 512^I^I" X: 0

E15: Invalid expression: 1 ||| strlen("\"") | Xpath 512^I^I" X: 0

line 1211:

E15: Invalid expression: | strlen("\"") | Xpath 8192^I^I" X: 0

E15: Invalid expression: 1 ||| strlen("\"") | Xpath 8192^I^I" X: 0

line 1220:

E15: Invalid expression: | strlen("\"") | Xpath 131072^I^I" X: 0

E15: Invalid expression: 1 ||| strlen("\"") | Xpath 131072^I^I" X: 0

*** Test  10: OK (559615)

line 1252:

E492: Not an editor command:     asdf^I^I" error

*** Test  11: OK (2049)

1
line 1330:

E492: Not an editor command:     asdf^I^I" error

line 1338:

E492: Not an editor command:     asdf^I^I" error

*** Test  12: OK (352256)

line 1357:

E121: Undefined variable: asdf

E15: Invalid expression: asdf

line 1368:

E121: Undefined variable: asdf

E15: Invalid expression: asdf | Xpath 32 | endwhile | Xpath 64^I" X: 0

*** Test  13: OK (145)

Error detected while processing function F:

line    8:

E121: Undefined variable: g:boolvar

E15: Invalid expression: g:boolvar^I" possibly undefined

*** Test  14: OK (42413)

E121: Undefined variable: g:boolvar

E15: Invalid expression: g:boolvar | Xloop 8 | else | Xloop 16 | endif    " X: 

8
*** Test  15: OK (42413)

line    5:

E583: multiple :else:     else^I^I

Error detected while processing function G:

line    5:

E584: :elseif after :else:     elseif 1^I^I" aborts function

Error detected while processing function H:

line    7:

E583: multiple :else:     else^I^I

Error detected while processing function I:

line    7:

E584: :elseif after :else:     elseif 1^I^I" aborts function

*** Test  16: OK (8722)

Error detected while processing function F:

line   18:

E171: Missing :endif:     endwhile^I

E171: Missing :endif:     endwhile^I

line   34:

E171: Missing :endif:     endwhile^I

E171: Missing :endif:     endwhile^I

E171: Missing :endif:     endwhile^I

line   47:

E580: :endif without :if: ^Iendif^I

E580: :endif without :if: ^Iendif^I

E580: :endif without :if: ^Iendif^I

Error detected while processing /<<PKGBUILDDIR>>/src/vim-basic/tes

tdir/test49.vim:

line 1626:

E171: Missing :endif: endwhile 

*** Test  17: OK (285127993)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/6[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/6" 16L, 304C appended17L, 326C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/7[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -

c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/7"' -c 'breakad

dfile 8 /tmp/vwbvfxC/6' -S /tmp/vwbvfxC/6[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/7" 3L, 6C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/8[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/8" 6L, 127C appended7L, 149C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/9[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -

c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/9"' -c 'breakad

dfile 4 /tmp/vwbvfxC/8' -S /tmp/vwbvfxC/8[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/9" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/10[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/10" 21L, 486C appended22L, 508C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/11[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -

c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/11"' -c 'breaka

dd func 7 F' -S /tmp/vwbvfxC/10[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/11" 3L, 18C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/12[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/12" 13L, 364C appended14L, 386C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/13[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -

c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/13"' -c 'breaka

dd func 3 G' -S /tmp/vwbvfxC/12[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/13" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  18: OK (67224583)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/14[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/14" 12L, 201C appended13L, 223C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/15[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/15"' -S /tmp/vwbvf

xC/14[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/15" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/16[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/16" 12L, 205C appended13L, 227C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/17[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/17"' -S /tmp/vwbvf

xC/16[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/17" 2L, 7C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/18[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/18" 6L, 122C appended7L, 144C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/19[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/19"' -S /tmp/vwbvf

xC/18[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/19" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/20[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/20" 8L, 176C appended9L, 198C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/21[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/21"' -S /tmp/vwbvf

xC/20[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/21" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/22[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/22" 10L, 215C appended11L, 237C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/23[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/23"' -S /tmp/vwbvf

xC/22[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/23" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/24[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/24" 7L, 149C appended8L, 171C8L, 170C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/25[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/25"' -S /tmp/vwbvf

xC/24[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/25" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  19: OK (69275973)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/26[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/26" 9L, 135C appended10L, 157C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/27[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/27"' -S /tmp/vwbvf

xC/26[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/27" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/28[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/28" 10L, 155C appended11L, 177C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/29[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/29"' -S /tmp/vwbvf

xC/28[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/29" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/30[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/30" 12L, 204C appended13L, 226C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/31[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/31"' -S /tmp/vwbvf

xC/30[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/31" 4L, 18C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/32[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/32" 12L, 214C appended13L, 236C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/33[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/33"' -S /tmp/vwbvf

xC/32[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/33" 4L, 22C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/34[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/34" 12L, 211C appended13L, 233C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/35[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/35"' -S /tmp/vwbvf

xC/34[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/35" 3L, 22C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/36[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/36" 14L, 263C appended15L, 285C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/37[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/37"' -S /tmp/vwbvf

xC/36[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/37" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/38[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/38" 14L, 277C appended15L, 299C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/39[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/39"' -S /tmp/vwbvf

xC/38[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/39" 4L, 40C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  20: OK (1874575085)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/40[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/40" 58L, 1022C appended59L, 1044C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/41[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/41"' -S /tmp/vwbvf

xC/40[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/41" 9L, 56C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  21: OK (147932225)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/42[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/42" 23L, 418C appended24L, 440C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/43[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/43"' -S /tmp/vwbvf

xC/42[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/43" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/44[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/44" 23L, 437C appended24L, 459C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/45[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -

c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/45"' -c 'breaka

dd func 2 Interrupt' -S /tmp/vwbvfxC/44[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/45" 1L, 3C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/46[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/46" 21L, 386C appended22L, 408C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/47[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/47"' -S /tmp/vwbvf

xC/46[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/47" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  22: OK (4161)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/48[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/48" 25L, 432C appended26L, 454C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/49[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/49"' -S /tmp/vwbvf

xC/48[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/49" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  23: OK (49)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/50[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/50" 16L, 392C appended17L, 414C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/51[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/51"' -S /tmp/vwbvf

xC/50[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/51" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  24: OK (41)
*** Test  25: OK (260177811)

*** Test  26: OK (1681500476)

*** Test  27: OK (1996459)

   function F()

1      try

2Xpath 1" X: 1

3try

4Xpath 2" X: 2

5return

6Xpath 4" X: 0

7finally

8Xpath 8" X: 8

9endtry

10Xpath 16" X: 0

11     finally

12Xpath 32" X: 32

13     endtry

14     Xpath 64" X: 0

   endfunction"/tmp/vwbvfxC/52"[noeol] 17L, 552C
14 substitutions on 14 lines
Pattern not found: ^\s*$
"/tmp/vwbvfxC/52" 14L, 502C written
"test49.in" 30L, 631C
   function G()
1      try
2Xpath 128" X: 128
3return
4Xpath 256" X: 0
5      finally
6Xpath 512" X: 512
7call F()
8Xpath 1024" X: 1024
9      endtry
10     Xpath 2048" X: 0
   endfunction"/tmp/vwbvfxC/53"[noeol] 13L, 406C
10 substitutions on 10 lines
Pattern not found: ^\s*$
"/tmp/vwbvfxC/53" 10L, 378C written
"test49.in" 30L, 631C
   function H()
1      try
2Xpath 4096" X: 4096
3call G()
4Xpath 8192" X: 8192
5      finally
6Xpath 16384" X: 16384
7return
8Xpath 32768" X: 0
9      endtry

10     Xpath 65536" X: 0

   endfunction"/tmp/vwbvfxC/54"[noeol] 13L, 409C
10 substitutions on 10 lines
Pattern not found: ^\s*$
"/tmp/vwbvfxC/54" 10L, 381C written
"test49.in" 30L, 631C
*** Test  28: OK (1996459)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/55[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/55" 39L, 721C appended40L, 743C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!>/tmp/vwbvfxC/56[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/56"' -S /tmp/vwbvfxC/55[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/56" 6L, 21C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/57[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/57" 23L, 509C appended24L, 531C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/58[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/58"' -S /tmp/vwbvf

xC/57[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/58" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  29: OK (170428555)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/59[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/59" 60L, 1101C appended61L, 1123C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/60[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nv

iminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/60"' -

c'breakadd func 3 F' -c 'breakadd file 19 /tmp/vwbvfxC/59' -c 'breakadd file 31

/tmp/vwbvfxC/59' -S /tmp/vwbvfxC/59[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/60" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  30: OK (190905173)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/61[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/61" 60L, 1122C appended61L, 1144C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/62[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/62"' -S /tmp/vwbvf

xC/61[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/62" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  31: OK (190905173)
*** Test  32: OK (354833067)

*** Test  33: OK (1216907538)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/63[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/63" 63L, 1288C appended64L, 1310C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/64[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi

minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvf

xC/64"' -c 'breakadd func 16 C' -S /tmp/vwbvfxC/63[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/64" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  34: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/65[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/65" 63L, 1285C appended64L, 1307C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/66[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi

minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvf

xC/66"' -c 'breakadd func 16 B' -S /tmp/vwbvfxC/65[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/66" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  35: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/67[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/67" 66L, 1430C appended67L, 1452C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/68[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin

fo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/

68"' -c 'breakadd func 16 R' -S /tmp/vwbvfxC/67[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/68" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  36: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/69[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/69" 73L, 1488C appended74L, 1510C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/70[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/70"' -c 'breakadd

func 16 F' -S /tmp/vwbvfxC/69[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/70" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  37: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/71[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/71" 82L, 1519C appended83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/72[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi

minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvf

xC/72"' -c 'breakadd func 16 E' -S /tmp/vwbvfxC/71[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/72" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  38: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/73[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/73" 83L, 1538C appended84L, 1560C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/74[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -

c'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVi

mResult = "/tmp/vwbvfxC/74"' -c 'breakadd func 16 I' -c 'breakadd func 22 I' -S

/tmp/vwbvfxC/73[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/74" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  39: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/75[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/75" 82L, 1519C appended83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/76[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi

minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvf

xC/76"' -c 'breakadd func 16 T' -S /tmp/vwbvfxC/75[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/76" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  40: OK (357908480)
*** Test  41: OK (3076095)

*** Test  42: OK (1505155949)

*** Test  43: OK (1157763329)

*** Test  44: OK (1031761407)

*** Test  45: OK (1157763329)

*** Test  46: OK (739407)

*** Test  47: OK (371213935)

*** Test  48: OK (756255461)

*** Test  49: OK (179000669)

   function C()

1      try

2Xpath 1" X: 1

3throw "arrgh"

4Xpath 2" X: 0

5      catch /arrgh/

6Xpath 4" X: 4

7      endtry

8      Xpath 8" X: 8

   endfunction"/tmp/vwbvfxC/77"[noeol] 11L, 334C
8 substitutions on 8 lines
Pattern not found: ^\s*$
"/tmp/vwbvfxC/77" 8L, 295C written
"test49.in" 30L, 631C
   function T1()
1      XloopNEXT
2      try
3Xloop 1" X: 16 + 16*16
4throw "arrgh"
5Xloop 2" X: 0
6      finally

7Xloop 4" X: 64 + 64*16

8      endtry

9      Xloop 8" X: 0

   endfunction"/tmp/vwbvfxC/78"[noeol] 12L, 364C
9 substitutions on 9 lines
Pattern not found: ^\s*$
"/tmp/vwbvfxC/78" 9L, 323C written
"test49.in" 30L, 631C
   function T2()
1      try
2Xpath 4096" X: 4096
3call T1()
4Xpath 8192" X: 0
5      finally
6Xpath 16384" X: 16384
7      endtry

8      Xpath 32768" X: 0

   endfunction"/tmp/vwbvfxC/79"[noeol] 11L, 332C
8 substitutions on 8 lines
Pattern not found: ^\s*$
"/tmp/vwbvfxC/79" 8L, 305C written
"test49.in" 30L, 631C
*** Test  50: OK (363550045)
*** Test  51: OK (40744667)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/81[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/81" 2L, 41C appended3L, 63C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!>/tmp/vwbvfxC/82[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/82"' -S /tmp/vwbvfxC/81[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/82" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/80" 8L, 182C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/83[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/83" 7L, 115C appended8L, 137C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/84[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/84"' -S /tmp/vwbvfxC/83[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/84" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/80" 8L, 181C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/85[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/85" 12L, 180C appended13L, 202C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/86[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/86"' -S /tmp/vwbvfxC/85[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/86" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/80" 10L, 209C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/87[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/87" 8L, 139C appended9L, 161C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/88[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/88"' -S /tmp/vwbvfxC/87[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/88" 2L, 11C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/80" 10L, 217C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/89[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/89" 5L, 87C appended6L, 109C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/90[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir!

>/tmp/vwbvfxC/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin =

1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/90"' -c 'breakadd file 4 /tmp/vwbvfxC

/89' -S /tmp/vwbvfxC/89[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/90" 1L, 7C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/80" [noeol] 9L, 202C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/91[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/91" 7L, 189C appended8L, 211C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/92[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/92"' -S /tmp/vwbvfxC/91[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/92" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/80" 9L, 252C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/93[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/93" 7L, 199C appended8L, 221C8L, 220C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/94[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/94"' -S /tmp/vwbvfxC/93[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/94" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/80" 9L, 214C
"test49.in" 30L, 631C
*** Test  52: OK (1247112011)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/96[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/96" 1L, 10C appended2L, 32C2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/97[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/97"' -S /tmp/vwbvfxC/96[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/97" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 154C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/98[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/98" 3L, 39C appended4L, 61C

3 substitutions on 3 lines
"/tmp/vwbvfxC/98" 4L, 58C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/99[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/99"' -S /tmp/vwbvfxC/98[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/99" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 158C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/100[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/100" 4L, 45C appended5L, 67C

4 substitutions on 4 lines
"/tmp/vwbvfxC/100"5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/101[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/101"' -S /tmp/vwbvfxC/100[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/101" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 159C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/102[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/102" 3L, 33C appended4L, 55C

3 substitutions on 3 lines
"/tmp/vwbvfxC/102"4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/103[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/103"' -S /tmp/vwbvfxC/102[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/103" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 159C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/104[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/104" 5L, 65C appended6L, 87C

5 substitutions on 5 lines
"/tmp/vwbvfxC/104"6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/105[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/105"' -S /tmp/vwbvfxC/104[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/105" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 159C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/106[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/106" 1L, 9C appended2L, 31C2L, 30C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/107[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/107"' -S /tmp/vwbvfxC/106[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/107" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 153C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/108[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/108" 3L, 38C appended4L, 60C

3 substitutions on 3 lines
"/tmp/vwbvfxC/108"4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/109[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/109"' -S /tmp/vwbvfxC/108[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/109" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 157C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/110[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/110" 4L, 44C appended5L, 66C

4 substitutions on 4 lines
"/tmp/vwbvfxC/110"5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/111[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/111"' -S /tmp/vwbvfxC/110[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/111" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 157C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/112[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/112" 3L, 32C appended4L, 54C

3 substitutions on 3 lines
"/tmp/vwbvfxC/112"4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/113[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/113"' -S /tmp/vwbvfxC/112[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/113" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 157C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/114[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/114" 5L, 64C appended6L, 86C

5 substitutions on 5 lines
"/tmp/vwbvfxC/114"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/115[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/115"' -S /tmp/vwbvfxC/114[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/115" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 157C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/116[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/116" 1L, 11C appended2L, 33C2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/117[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/117"' -S /tmp/vwbvfxC/116[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/117" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 157C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/118[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/118" 3L, 40C appended4L, 62C

3 substitutions on 3 lines
"/tmp/vwbvfxC/118"4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/119[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/119"' -S /tmp/vwbvfxC/118[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/119" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 161C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/120[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/120" 4L, 46C appended5L, 68C

4 substitutions on 4 lines
"/tmp/vwbvfxC/120"5L, 64C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/121[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/121"' -S /tmp/vwbvfxC/120[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/121" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 161C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/122[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/122" 3L, 34C appended4L, 56C

3 substitutions on 3 lines
"/tmp/vwbvfxC/122"4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/123[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/123"' -S /tmp/vwbvfxC/122[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/123" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 161C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/124[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/124" 5L, 66C appended6L, 88C

5 substitutions on 5 lines
"/tmp/vwbvfxC/124"6L, 83C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/125[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/125"' -S /tmp/vwbvfxC/124[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/125" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 161C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/126[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/126" 4L, 37C appended5L, 59C

4 substitutions on 4 lines
"/tmp/vwbvfxC/126"5L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/127[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/127"' -S /tmp/vwbvfxC/126[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/127" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 150C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/128[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/128" 4L, 41C appended5L, 63C

4 substitutions on 4 lines
"/tmp/vwbvfxC/128"5L, 59C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/129[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'

-c 'let ExtraVimResult = "/tmp/vwbvfxC/129"' -S /tmp/vwbvfxC/128[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/129" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/95" 6L, 159C
"test49.in" 30L, 631C
*** Test  53: OK (131071)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/131[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/131" 1L, 13C appended2L, 35C2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/132[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/132"' -S /tmp/vwbvfxC/131[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/132" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/130" 6L, 164C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/133[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/133" 3L, 36C appended4L, 58C

3 substitutions on 3 lines
"/tmp/vwbvfxC/133"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/134[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/134"' -S /tmp/vwbvfxC/133[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/134" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/130" 6L, 168C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/135[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/135" 3L, 38C appended4L, 60C

3 substitutions on 3 lines
"/tmp/vwbvfxC/135"4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/136[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/136"' -S /tmp/vwbvfxC/135[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/136" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/130" 6L, 154C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/137[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/137" 4L, 48C appended5L, 70C

4 substitutions on 4 lines
"/tmp/vwbvfxC/137"5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/138[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/138"' -S /tmp/vwbvfxC/137[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/138" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/130" 6L, 168C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/139[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/139" 4L, 53C appended5L, 75C

4 substitutions on 4 lines
"/tmp/vwbvfxC/139"5L, 71C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/140[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/140"' -S /tmp/vwbvfxC/139[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/140" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/130" 6L, 155C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/141[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/141" 5L, 62C appended6L, 84C

5 substitutions on 5 lines
"/tmp/vwbvfxC/141"6L, 79C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/142[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/142"' -S /tmp/vwbvfxC/141[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/142" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/130" 6L, 155C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/143[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/143" 5L, 64C appended6L, 86C

5 substitutions on 5 lines
"/tmp/vwbvfxC/143"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/144[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/144"' -S /tmp/vwbvfxC/143[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/144" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/130" 6L, 154C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/145[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/145" 3L, 36C appended4L, 58C

3 substitutions on 3 lines
"/tmp/vwbvfxC/145"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/146[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/146"' -S /tmp/vwbvfxC/145[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/146" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/130" 6L, 168C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/147[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/147" 5L, 67C appended6L, 89C

5 substitutions on 5 lines
"/tmp/vwbvfxC/147"6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/148[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/148"' -S /tmp/vwbvfxC/147[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/148" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/130" 6L, 167C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/149[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/149" 5L, 68C appended6L, 90C

5 substitutions on 5 lines
"/tmp/vwbvfxC/149"6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/150[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/150"' -S /tmp/vwbvfxC/149[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/150" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/130" 6L, 168C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/151[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/151" 7L, 95C appended8L, 117C

7 substitutions on 7 lines
"/tmp/vwbvfxC/151"8L, 110C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/152[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/152"' -S /tmp/vwbvfxC/151[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/152" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/130" 6L, 167C
"test49.in" 30L, 631C
*** Test  54: OK (2047)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/154[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/154" 1L, 13C appended2L, 35C2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/155[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/155"' -S /tmp/vwbvfxC/154[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/155" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/153" 6L, 172C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/156[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/156" 3L, 36C appended4L, 58C

3 substitutions on 3 lines
"/tmp/vwbvfxC/156"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/157[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/157"' -S /tmp/vwbvfxC/156[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/157" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/153" 6L, 176C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/158[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/158" 4L, 48C appended5L, 70C

4 substitutions on 4 lines
"/tmp/vwbvfxC/158"5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/159[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/159"' -S /tmp/vwbvfxC/158[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/159" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/153" 6L, 176C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/160[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/160" 3L, 36C appended4L, 58C

3 substitutions on 3 lines
"/tmp/vwbvfxC/160"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/161[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/161"' -S /tmp/vwbvfxC/160[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/161" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/153" 6L, 176C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/162[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/162" 5L, 68C appended6L, 90C

5 substitutions on 5 lines
"/tmp/vwbvfxC/162"6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/163[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/163"' -S /tmp/vwbvfxC/162[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/163" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/153" 6L, 176C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/164[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/164" 1L, 10C appended2L, 32C2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/165[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/165"' -S /tmp/vwbvfxC/164[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/165" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/153" 6L, 166C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/166[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/166" 3L, 33C appended4L, 55C

3 substitutions on 3 lines
"/tmp/vwbvfxC/166"4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/167[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/167"' -S /tmp/vwbvfxC/166[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/167" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/153" 6L, 170C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/168[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/168" 4L, 45C appended5L, 67C

4 substitutions on 4 lines
"/tmp/vwbvfxC/168"5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/169[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/169"' -S /tmp/vwbvfxC/168[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/169" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/153" 6L, 170C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/170[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/170" 3L, 33C appended4L, 55C

3 substitutions on 3 lines
"/tmp/vwbvfxC/170"4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/171[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/171"' -S /tmp/vwbvfxC/170[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/171" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/153" 6L, 170C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/172[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/172" 5L, 65C appended6L, 87C

5 substitutions on 5 lines
"/tmp/vwbvfxC/172"6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/173[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/173"' -S /tmp/vwbvfxC/172[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/173" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/153" 6L, 170C
"test49.in" 30L, 631C
*** Test  55: OK (1023)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/175[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/175" 1L, 11C appended2L, 33C2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/176[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/176"' -S /tmp/vwbvfxC/175[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/176" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/174" 6L, 158C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/177[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/177" 3L, 34C appended4L, 56C

3 substitutions on 3 lines
"/tmp/vwbvfxC/177"4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/178[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/178"' -S /tmp/vwbvfxC/177[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/178" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/174" 6L, 162C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/179[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/179" 3L, 40C appended4L, 62C

3 substitutions on 3 lines
"/tmp/vwbvfxC/179"4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/180[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/180"' -S /tmp/vwbvfxC/179[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/180" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/174" 6L, 162C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/181[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/181" 3L, 32C appended4L, 54C

3 substitutions on 3 lines
"/tmp/vwbvfxC/181"4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/182[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/182"' -S /tmp/vwbvfxC/181[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/182" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/174" 6L, 152C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/183[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/183" 3L, 35C appended4L, 57C

3 substitutions on 3 lines
"/tmp/vwbvfxC/183"4L, 54C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/184[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/184"' -S /tmp/vwbvfxC/183[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/184" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/174" 6L, 155C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/185[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/185" 4L, 44C appended5L, 66C

4 substitutions on 4 lines
"/tmp/vwbvfxC/185"5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/186[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/186"' -S /tmp/vwbvfxC/185[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/186" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/174" 6L, 152C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/187[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/187" 4L, 47C appended5L, 69C

4 substitutions on 4 lines
"/tmp/vwbvfxC/187"5L, 65C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/188[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/188"' -S /tmp/vwbvfxC/187[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/188" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/174" 6L, 155C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/189[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/189" 5L, 64C appended6L, 86C

5 substitutions on 5 lines
"/tmp/vwbvfxC/189"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/190[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/190"' -S /tmp/vwbvfxC/189[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/190" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/174" 6L, 152C
"test49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/191[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/191" 5L, 67C appended6L, 89C

5 substitutions on 5 lines
"/tmp/vwbvfxC/191"6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/192[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t

mp/vwbvfxC/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1

'-c 'let ExtraVimResult = "/tmp/vwbvfxC/192"' -S /tmp/vwbvfxC/191[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/192" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/tmp/vwbvfxC/174" 6L, 155C
"test49.in" 30L, 631C
*** Test  56: OK (511)
   function FuncException()

1      let g:exception = v:exception

   endfunction"/tmp/vwbvfxC/193" [noeol] 4L, 80C
Pattern not found: ^\s*$
"/tmp/vwbvfxC/193"1L, 36C written
"test49.in" 30L, 631C
   function FuncThrowpoint()

1      let g:throwpoint = v:throwpoint

   endfunction"/tmp/vwbvfxC/194" [noeol] 4L, 83C
Pattern not found: ^\s*$
"/tmp/vwbvfxC/194"1L, 38C written
"test49.in" 30L, 631C
   function T(arg, line)

1      if a:line == 2

2throw a:arg" in line 2

3      elseif a:line == 4

4throw a:arg" in line 4

5      elseif a:line == 6

6throw a:arg" in line 6

7      elseif a:line == 8

8throw a:arg" in line 8

9      endif

   endfunction"/tmp/vwbvfxC/195"[noeol] 12L, 341C
9 substitutions on 9 lines
8 substitutions on 8 lines
Pattern not found: ^\s*$
"/tmp/vwbvfxC/195"9L, 292C written
"test49.in" 30L, 631C
   function G(arg, line)
1      call T(a:arg, a:line)
   endfunction"/tmp/vwbvfxC/196"[noeol] 4L, 69C
Pattern not found: ^\s*$
"/tmp/vwbvfxC/196"1L, 30C written
"test49.in" 30L, 631C
   function F(arg, line)
1      call G(a:arg, a:line)
   endfunction"/tmp/vwbvfxC/197"[noeol] 4L, 69C
Pattern not found: ^\s*$
"/tmp/vwbvfxC/197"1L, 30C written
"test49.in" 30L, 631C
*** Test  57: OK (2147450880)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/198[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/198" 87L, 1700C appended88L, 1722C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/199[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -

c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/199"' -c 'break

add func 4 T' -S /tmp/vwbvfxC/198[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/199" 8L, 36C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  58: OK (624945)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/200[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/200" 293L, 5789C appended294L, 5811C

3 substitutions on 3 lines
"/tmp/vwbvfxC/200"294L, 5808C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/201[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo

'-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/201"' -c 'br

eakadd file 115 /tmp/vwbvfxC/200' -c 'breakadd file 225 /tmp/vwbvfxC/200' -S /tm

p/vwbvfxC/200[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/201"28L, 162C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  59: OK (2038431743)
"/n/o/n/w/r/i/t/a/b/l/e/_/f/i/l/e"
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/202[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/202" 33L, 765C appended34L, 787C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/203[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -

c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/203"' -c 'break

add file 7 /tmp/vwbvfxC/202' -S /tmp/vwbvfxC/202[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/203" 3L, 27C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  60: OK (311511339)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/204[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/204" 115L, 2272C appended116L, 2294C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/205[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin

fo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/

205"' -c 'breakadd file 8 /tmp/vwbvfxC/204' -c 'breakadd file 36 /tmp/vwbvfxC/20

4' -c 'breakadd file 40 /tmp/vwbvfxC/204' -c 'breakadd file 69 /tmp/vwbvfxC/204'

-c 'breakadd file 95 /tmp/vwbvfxC/204' -c 'breakadd file 97 /tmp/vwbvfxC/204' -

S/tmp/vwbvfxC/204[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/205" 14L, 81C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  61: OK (374889517)
   function F()
1      while 1
2      " Missing :endwhile
   endfunction"/tmp/vwbvfxC/206"[noeol] 5L, 73C
Pattern not found: ^\s*$
"/tmp/vwbvfxC/206"2L, 40C written
"test49.in" 30L, 631C
*** Test  62: OK (286331153)
"/i/m/p/o/s/s/i/b/l/e" Error detected while processing /<<PKGBUILDDIR>>/src/vim-basic/tes

tdir/test49.vim:

line 6342:

"/i/m/p/o/s/s/i/b/l/e" E212: Can't open file for writing

*** Test  63: OK (236978127)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/207[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/207" 149L, 2828C appended150L, 2850C

6 substitutions on 6 lines
"/tmp/vwbvfxC/207"150L, 2844C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/208[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -

c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/208"' -c 'break

add file 63 /tmp/vwbvfxC/207' -S /tmp/vwbvfxC/207[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/208" 16L, 97C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  64: OK (1499645335)
*** Test  65: OK (70187)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/209[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/209" 78L, 1520C appended79L, 1542C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/210[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -

c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/210"' -c 'break

add func 8 F' -S /tmp/vwbvfxC/209[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/210" 6L, 22C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  66: OK (5464)
*** Test  67: OK (212514423)

*** Test  68: OK (212514423)

*** Test  69: OK (8995471)

*** Test  70: OK (69544277)

*** Test  71: OK (34886997)

*** Test  72: OK (1789569365)

   function F0()

   endfunction

   function F1()

   endfunction

*** Test  73: OK (9032615)
"/tmp/vwbvfxC/211" [New File]
"test49.in" 30L, 631C
"/tmp/vwbvfxC/212" [New File]
"test49.in" 30L, 631C

*** Test  74: OK (224907669)

*** Test  75: OK (2000403408)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/213[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/213" 253L, 6369C appended254L, 6391C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/214[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|

set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp

/vwbvfxC/214"' -c 'breakadd func 2 INT' -S /tmp/vwbvfxC/213[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/214" 28L, 167C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  76: OK (1610087935)
Error detected while processing function ERR:

line    2:

E492: Not an editor command:     asdf

E492: Not an editor command:     asdf

E492: Not an editor command:     asdf

*** Test  77: OK (1388671)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/215[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/215" 161L, 4543C appended162L, 4565C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/216[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/216"' -S /tmp/vwbv

fxC/215[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/216" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  78: OK (134217728)
Error detected while processing function NEXT:

line    1:

E121: Undefined variable: novar

E15: Invalid expression: novar | Xloop 1

E121: Undefined variable: novar

E488: Trailing characters

E108: No such variable: "novar"

E488: Trailing characters

E121: Undefined variable: novar

E15: Invalid expression: novar

E475: Invalid argument: {novar} | Xloop 1

E121: Undefined variable: novar

E15: Invalid expression:  novar

E475: Invalid argument: { novar} | Xloop 1

*** Test  79: OK (70288929)

Error detected while processing /<<PKGBUILDDIR>>/src/vim-basic/tes

tdir/test49.vim:

line 8828:

E584: :elseif after :else: elseif 1 ||| 2

line 8838:

E584: :elseif after :else: elseif 1 ||| 2

line 8846:

E582: :elseif without :if: elseif 1 ||| 2

line 8854:

E582: :elseif without :if:     elseif 1 ||| 2

*** Test  80: OK (17895765)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/217[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/217" 15L, 272C appended16L, 294C16L, 293C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/218[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/218"' -S /tmp/vwbv

fxC/217[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/218" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/219[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/219" 12L, 227C appended13L, 249C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/220[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -

c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/220"' -c 'break

add file 8 /tmp/vwbvfxC/219' -S /tmp/vwbvfxC/219[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/220" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  81: OK (387)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/221[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/221" 20L, 417C appended21L, 439C21L, 438C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/222[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/222"' -S /tmp/vwbv

fxC/221[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/222" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/223[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/223" 24L, 480C appended25L, 502C25L, 501C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/224[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/224"' -S /tmp/vwbv

fxC/223[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/224" 1L, 4C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/225[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/225" 17L, 390C appended18L, 412C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/226[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -

c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/226"' -c 'break

add file 7 /tmp/vwbvfxC/225' -S /tmp/vwbvfxC/225[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/226" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/227[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/227" 21L, 444C appended22L, 466C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/228[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -

c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/228"' -c 'break

add func 6 I' -S /tmp/vwbvfxC/227[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/228" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  82: OK (8454401)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/229[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/229" 17L, 307C appended18L, 329C18L, 328C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/230[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '

let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/230"' -S /tmp/vwbv

fxC/229[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/230" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C
:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/231[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/231" 14L, 266C appended15L, 288C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/232[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -

c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/232"' -c 'break

add file 8 /tmp/vwbvfxC/231' -S /tmp/vwbvfxC/231[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/232" 3L, 13C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  83: OK (2835)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/233[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/233" 154L, 3580C appended155L, 3602C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/234[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo

'-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/234"' -c 'br

eakadd func 1 INT' -S /tmp/vwbvfxC/233[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/234"18L, 118C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  84: OK (934782101)
TMP
"/tmp/vwbvfxC/235" [noeol] 2L, 6C/  
"test49.in" 30L, 631C
"/n/o/n/e/x/i/s/t/e/n/t"

"/tmp/vwbvfxC/237" 1L, 1C
"test49.in" 30L, 631C

:!echo XYZ >/tmp/vwbvfxC/238[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/239" [New File]
"test49.in" 30L, 631C

*** Test  85: OK (198689)

Error detected while processing /<<PKGBUILDDIR>>/src/vim-basic/tes

tdir/test49.vim:

line 9612:

E123: Undefined function: F

*.mak
"*.mak" [New File]

Cannot open file "*.mak"

line 9615:

E480: No match: .*

line 9616:

E193: :endfunction not inside a function

Error detected while processing function ExecAsScript..MakeScript:

line    3:

E123: Undefined function: F
"/tmp/vwbvfxC/240" c[noeol] 4L, 106C

search hit BOTTOM, continuing at TOP
line   10:
E486: Pattern not found: .*F(.*)

search hit BOTTOM, continuing at TOP
line   11:
E486: Pattern not found: ^\d*\s*endfunction\>

4 substitutions on 4 lines
"/tmp/vwbvfxC/240"3L, 106C written
"test49.in" 30L, 631C

Error detected while processing /tmp/vwbvfxC/240:

line    1:

E492: Not an editor command: Error detected while processing function ExecAsScr

ipt..MakeScript:

line    2:

E492: Not an editor command: line    3:

line    3:

E492: Not an editor command: E123: Undefined function: F

Error detected while processing /<<PKGBUILDDIR>>/src/vim-basic/tes

tdir/test49.vim:

line 9622:

E130: Unknown function: F

*** Test  86: OK (0)

5
*** Test  87: OK (0)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!echo 'source /tmp/vwbvfxC/3' >/tmp/vwbvfxC/241[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vwbvfxC/241" 151L, 3929C appended152L, 3951C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<9hu7AN/vim-7.4.488/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409C

:!>/tmp/vwbvfxC/242[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nvimi

nfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vwbvfxC/242"' -c

'breakadd func 5 ThrowOnInterrupt' -S /tmp/vwbvfxC/241[?1l>[?12l[?25h[?1049l

shell returned 1

Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/vwbvfxC/242" 16L, 281C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9852L, 225409Ctest49.in" 30L, 631C
*** Test  88: OK (50443995)
Press ENTER or type command to continue:se nocp nomore viminfo+=nviminfo
:lang mess C
:so test49.vim
GGGGGGGGGGGGGG"rp:.-,$w! test.out
:"
:" make valgrind happy
:redir => funclist
:silent func
:redir END
:for line in split(funclist, "\n")
:  let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')
:  if name != ''
:    exe "delfunc " . name
:  endif
:endfor
:for v in keys(g:)
:  silent! exe "unlet " . v
:endfor
:unlet v
:qa!
ENDTEST

Results of test49.vim:[?12l[?25h
[?25l
98 more lines
*** Test   1: OK (34695)98 more lines[?12l[?25h[?25l:[?12l[?25h.-,$w! test.out
[?25l"test.out" [New] 99L, 2869C written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" make valgrind happy
[?25l[?12l[?25h[?25l:[?12l[?25hredir => funclist
[?25l[?12l[?25h[?25l:[?12l[?25hsilent func
[?25l[?12l[?25h[?25l:[?12l[?25hredir END
[?25l[?12l[?25h[?25l:[?12l[?25hfor line in split(funclist, "\n")
[?25l
:  [?12l[?25h:  let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')

[?25l:  [?12l[?25h:  if name != ''

[?25l:    [?12l[?25h:    exe "delfunc " . name

[?25l:    [?12l[?25h:  endif

[?25l:  [?12l[?25h:endfor
[?25l:lang mess C
:so test49.vim
GGGGGGGGGGGGGG"rp:.-,$w! test.out
:"
:" make valgrind happy[?12l[?25h[?25l
:[?12l[?25hfor v in keys(g:)
[?25l
:  [?12l[?25h:  silent! exe "unlet " . v

[?25l:  [?12l[?25h:endfor
[?25l:lang mess C
:so test49.vim[?12l[?25h[?25l
:[?12l[?25hunlet v
[?25l[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l
# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test51.failed test.ok test.out X* viminfo
cp test51.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test51.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test51.in" 36 lines, 808 charactersTests for ":highlight". vim: set ft=vim :

STARTTEST
:so small.vim
:" basic test if ":highlight" doesn't crash
:highlight
:hi Search
:" test setting colors.
:" test clearing one color and all doesn't generate error or warning
:hi NewGroup term=bold cterm=italic ctermfg=DarkBlue ctermbg=Grey gui= guifg=#000ff00 guibg=Cyan
:hi Group2 term= cterm=
:hi Group3 term=underline cterm=bold
:redir! >test.out
:hi NewGroup
:hi Group2
:hi Group3
:hi clear NewGroup
:hi NewGroup
:hi Group2
:hi Group2 NONE
:hi Group2
:hi clear[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for ":highlight". vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 31 lines, 746 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:hi Group3
:hi Crash term='asdf
:redir END
:" filter ctermfg and ctermbg, the numbers depend on the terminal
:e test.out
:%s/ctermfg=\d*/ctermfg=2/
:%s/ctermbg=\d*/ctermbg=3/
:" filter out possibly translated error message
:%s/E475: [^:]*:/E475:/
:" fix the fileformat
:set ff&
:wq!
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" basic test if ":highlight" doesn't crash
[?25l[?12l[?25h[?25l:[?12l[?25hhighlight
[?25l
SpecialKey     xxx term=bold ctermfg=4 guifg=Blue

NonTextxxx term=bold cterm=bold ctermfg=4 gui=bold guifg=Blue

Directory      xxx term=bold ctermfg=4 guifg=Blue

ErrorMsgxxx term=standout cterm=bold ctermfg=7 ctermbg=1 guifg=White

guibg=Red

IncSearch      xxx term=reverse cterm=reverse gui=reverse

Searchxxx term=reverse ctermfg=0 ctermbg=3 guibg=Yellow

MoreMsgxxx term=bold ctermfg=2 gui=bold guifg=SeaGreen

ModeMsgxxx term=bold cterm=bold gui=bold

LineNrxxx term=underline ctermfg=3 guifg=Brown

CursorLineNr   xxx term=bold ctermfg=3 gui=bold guifg=Brown

Questionxxx term=standout ctermfg=2 gui=bold guifg=SeaGreen

StatusLine     xxx term=bold,reverse cterm=bold,reverse gui=bold,reverse

StatusLineNC   xxx term=reverse cterm=reverse gui=reverse

VertSplit      xxx term=reverse cterm=reverse gui=reverse

Titlexxx term=bold ctermfg=5 gui=bold guifg=Magenta

Visualxxx term=reverse cterm=reverse guibg=LightGrey

VisualNOS      xxx cleared

WarningMsg     xxx term=standout ctermfg=1 guifg=Red

WildMenuxxx term=standout ctermfg=0 ctermbg=3 guifg=Black guibg=Yellow

Foldedxxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue

guibg=LightGrey

FoldColumn     xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey

DiffAddxxx term=bold ctermbg=4 guibg=LightBlue

DiffChange     xxx term=bold ctermbg=5 guibg=LightMagenta

DiffDelete     xxx term=bold cterm=bold ctermfg=4 ctermbg=6 gui=bold guifg=Blue

guibg=LightCyan

DiffTextxxx term=reverse cterm=bold ctermbg=1 gui=bold guibg=Red

SignColumn     xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey

Concealxxx ctermfg=7 ctermbg=0 guifg=LightGrey guibg=DarkGrey

SpellBadxxx term=reverse ctermbg=1 gui=undercurl guisp=Red

SpellCapxxx term=reverse ctermbg=4 gui=undercurl guisp=Blue

SpellRare      xxx term=reverse ctermbg=5 gui=undercurl guisp=Magenta

SpellLocal     xxx term=underline ctermbg=6 gui=undercurl guisp=DarkCyan

Pmenuxxx ctermfg=0 ctermbg=5 guibg=LightMagenta

PmenuSelxxx ctermfg=0 ctermbg=7 guibg=Grey

PmenuSbar      xxx ctermbg=7 guibg=Grey

PmenuThumb     xxx ctermbg=0 guibg=Black

TabLinexxx term=underline cterm=underline ctermfg=0 ctermbg=7

gui=underline guibg=LightGrey

TabLineSel     xxx term=bold cterm=bold gui=bold

TabLineFill    xxx term=reverse cterm=reverse gui=reverse

CursorColumn   xxx term=reverse ctermbg=7 guibg=Grey90

CursorLine     xxx term=underline cterm=underline guibg=Grey90

ColorColumn    xxx term=reverse ctermbg=1 guibg=LightRed

MatchParen     xxx term=reverse ctermbg=6 guibg=Cyan

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hhi Search
[?25l
Searchxxx term=reverse ctermfg=0 ctermbg=3 guibg=Yellow

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h" test setting colors.
[?25l:hi NewGroup
:hi Group2
:hi Group3
:hi clear NewGroup
:hi NewGroup
:hi Group2
:hi Group2 NONE
:hi Group2
:hi clear
:hi Group3
:hi Crash term='asdf
:redir END
:" filter ctermfg and ctermbg, the numbers depend on the terminal
:e test.out
:%s/ctermfg=\d*/ctermfg=2/
:%s/ctermbg=\d*/ctermbg=3/
:" filter out possibly translated error message
:%s/E475: [^:]*:/E475:/
:" fix the fileformat
:set ff&
:wq!
ENDTEST
[?12l[?25h[?25l
:[?12l[?25h" test clearing one color and all doesn't generate error or warning
[?25l[?12l[?25h[?25l:[?12l[?25hhi NewGroup term=bold cterm=italic ctermfg=DarkBlue ctermbg=Grey gui= guifg=#0

0ff00 guibg=Cyan
[?25lE418: Illegal value: guifg=#00ff00Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hhi Group2 term= cterm=
[?25lE418: Illegal value: cterm=

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hhi Group3 term=underline cterm=bold
[?25l:hi NewGroup
:hi Group2[?12l[?25h[?25l
:[?12l[?25hredir! >test.out
[?25l[?12l[?25h[?25l:[?12l[?25hhi NewGroup
[?25l
NewGroupxxx term=bold cterm=italic ctermfg=4 ctermbg=7

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hhi Group2
[?25l
Group2xxx cleared

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hhi Group3
[?25l
Group3xxx term=underline cterm=bold

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hhi clear NewGroup
[?25l:hi NewGroup
:hi Group2
:hi Group3
:hi clear NewGroup
:hi NewGroup
:hi Group2[?12l[?25h[?25l
:[?12l[?25hhi NewGroup
[?25l
NewGroupxxx cleared

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hhi Group2
[?25l
Group2xxx cleared

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hhi Group2 NONE
[?25l:hi NewGroup
:hi Group2
:hi Group3
:hi clear NewGroup[?12l[?25h[?25l
:[?12l[?25hhi Group2
[?25l
Group2xxx cleared

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hhi clear
[?25l:hi NewGroup
:hi Group2
:hi Group3
:hi clear NewGroup
:hi NewGroup
:hi Group2
:hi Group2 NONE
:hi Group2
:hi clear
:hi Group3
:hi Crash term='asdf
:redir END
:" filter ctermfg and ctermbg, the numbers depend on the terminal
:e test.out
:%s/ctermfg=\d*/ctermfg=2/
:%s/ctermbg=\d*/ctermbg=3/
:" filter out possibly translated error message
:%s/E475: [^:]*:/E475:/
:" fix the fileformat
:set ff&
:wq!
ENDTEST
[?12l[?25h[?25l
:[?12l[?25hhi Group3
[?25l
Group3xxx cleared

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hhi Crash term='asdf
[?25lE475: Invalid argument: term='asdf

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25l:hi NewGroup
:hi Group2
:hi Group3[?12l[?25h[?25l
:[?12l[?25h" filter ctermfg and ctermbg, the numbers depend on the terminal
[?25l[?12l[?25h[?25l:[?12l[?25he test.out
[?25l"test.out" 20 lines, 289 charactersNewGroup       xxx term=bold cterm=italic ctermfg=4 ctermbg=7Group2         xxx clearedGroup3         xxx term=underline cterm=boldNewGroup       xxx clearedGroup2         xxx clearedGroup2         xxx clearedGroup3         xxx clearedE475: Invalid argument: term='asdf
~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h%s/ctermfg=\d*/ctermfg=2/
[?25l2
[?12l[?25h[?25l:[?12l[?25h%s/ctermbg=\d*/ctermbg=3/
[?25l3
[?12l[?25h[?25l:[?12l[?25h" filter out possibly translated error message
[?25l[?12l[?25h[?25l:[?12l[?25h%s/E475: [^:]*:/E475:/
[?25lterm='asdf[?12l[?25h[?25l:[?12l[?25h" fix the fileformat
[?25l[?12l[?25h[?25l:[?12l[?25hset ff&
[?25l[?12l[?25h[?25l:[?12l[?25hwq!
[?25l"test.out" 20 lines, 271 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test52.failed test.ok test.out X* viminfo
cp test52.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test52.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test52.in" 65 lines, 1645 charactersTests for reading and writing files with conversion for Win32.

STARTTEST
:so mbyte.vim
:" make this a dummy test for non-Win32 systems
:if !has("win32") | e! test.ok | wq! test.out | endif
:"
:" write tests:
:" combine three values for 'encoding' with three values for 'fileencoding'
:" also write files for read tests
/^1
:set encoding=utf-8
:.w! ++enc=utf-8 test.out
:.w ++enc=cp1251 >>test.out
:.w ++enc=cp866 >>test.out
:.w! ++enc=utf-8 Xutf8
/^2
:set encoding=cp1251
:.w ++enc=utf-8 >>test.out
:.w ++enc=cp1251 >>test.out
:.w ++enc=cp866 >>test.out
:.w! ++enc=cp1251 Xcp1251
/^3[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for reading and writing files with conversion for Win32.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 57 lines, 1333 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:e Xcp1251
:.w ++enc=cp1251 >>test.out
:set fencs=utf-8,cp866
:e Xcp866
:.w ++enc=cp1251 >>test.out
:"
:" read three 'fileencoding's with cp866 'encoding'
:set encoding=cp866 fencs=utf-8,cp1251
:e Xutf8
:.w ++enc=cp866 >>test.out
:e Xcp1251
:.w ++enc=cp866 >>test.out
:set fencs=utf-8,cp866
:e Xcp866
:.w ++enc=cp866 >>test.out
:"
:qa!
ENDTEST

[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" make this a dummy test for non-Win32 systems
[?25l[?12l[?25h[?25l:[?12l[?25hif !has("win32") | e! test.ok | wq! test.out | endif
[?25l"test.ok" 18 lines, 1374 characters

"test.out" [New File] 18 lines, 1374 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test53.failed test.ok test.out X* viminfo
cp test53.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test53.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test53.in" 123 lines, 2343 charactersTests for string and html text objects. vim: set ft=vim :

Note that the end-of-line moves the cursor to the next test line.

Also test match() and matchstr()

Also test the gn command and repeating it.

STARTTEST
:so small.vim
/^start:/
da"
0va'a'rx
02f`da`
0fXdi"
03f'vi'ry
:set quoteescape=+*-
di`
$F"va"oha"i"rz
:"
/^<begin
jfXdit
0fXdit[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for string and html text objects. vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 73 lines, 1554 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTcgnj^[
:" Make sure there is no other match y uppercase.
/^Vx59
gggnd
:" test repeating dgn
/^Johnny
ggdgn.
:" test repeating gUgn
/^Depp
gggUgn.
:/^start:/,/^end:/wq! test.out
ENDTEST

start: "wo\"rd\\" foo
'foo' 'bar' 'piep'
bla bla `quote` blah
out " in "noXno"
"'" 'blah' rep 'buh'
bla `s*`d-`+++`l**` b`la
voo "nah" sdf " asdf" sdf " sdf" sd

<begin>
-<b>asdf<i>Xasdf</i>asdf</b>-[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l/[?12l[?25h^start:/
[?25l[?12l[?25h[?25lfo[?12l[?25h
[?25l[?12l[?25h[?25l'foo'[?12l[?25h[?25l 'bar'[?12l[?25h[?25l
xxxxxxxxxxxx
[?12l[?25h
[?25lblah[?12l[?25h
[?25l"[?12l[?25h
[?25l[?12l[?25h[?25l' rep[?12l[?25h[?25lyyyyy[?12l[?25h[?25l:[?12l[?25hset quoteescape=+*-
[?25l[?12l[?25h[?25l` b`la[?12l[?25h[?25l[?12l[?25h[?25l" sdf"[?12l[?25h[?25l" [?12l[?25h[?25l"[?12l[?25h[?25l asdf" sdf [?12l[?25h[?25lah" sdf "
voo "[?12l[?25h[?25lzzzzzzzzzzzzzzzzzzzzzzzzzzzz
voo "[?12l[?25h
[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l/[?12l[?25h^<begin
[?25l[?12l[?25h
[?25l</i>asdf</b>-[?12l[?25h[?25l
-<b>asdX<i>a<i />sdf</i>asdf</b>-[?12l[?25h
[?25l</b>-[?12l[?25h[?25l
-<b>asdf<i>Xasdf</i>asdf</b>-
-<b>[?12l[?25h[?25lasdf</b>-[?12l[?25h[?25l
-<b>asdX<i>as<b />df</i>asdf</b>-[?12l[?25h
[?25l
--[?12l[?25h[?25l
</begin>
<[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hput =matchstr(\"abcd\", \".\", 0, 2) " b
[?25l
b[?12l[?25h[?25l
:[?12l[?25hput =matchstr(\"abcd\", \"..\", 0, 2) " bc
[?25l
bc[?12l[?25h[?25l
:[?12l[?25hput =matchstr(\"abcd\", \".\", 2, 0) " c (zero and negative -> first match)
[?25l
c[?12l[?25h[?25l
:[?12l[?25hput =matchstr(\"abcd\", \".\", 0, -1) " a
[?25l
a[?12l[?25h[?25l
:[?12l[?25hput =match(\"abcd\", \".\", 0, 5) " -1
[?25l
-1[?12l[?25h[?25l
:[?12l[?25hput =match(\"abcd\", \".\", 0, -1) " 0
[?25l
0[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '.', 0, 1) " 0
[?25l
0[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '.', 0, 2) " 1
[?25l
1[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '.', 0, 3) " 2
[?25l
2[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '.', 0, 4) " -1
[?25l
-1[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '.', 1, 1) " 1
[?25l
1[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '.', 2, 1) " 2
[?25l
2[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '.', 3, 1) " -1
[?25l
-1[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '$', 0, 1) " 3
[?25l
3[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '$', 0, 2) " -1
[?25l
-1[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '$', 1, 1) " 3
[?25l
3[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '$', 2, 1) " 3
[?25l
3[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '$', 3, 1) " 3
[?25l
3[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '$', 4, 1) " -1
[?25l
-1[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '\zs', 0, 1) " 0
[?25l
0[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '\zs', 0, 2) " 1
[?25l
1[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '\zs', 0, 3) " 2
[?25l
2[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '\zs', 0, 4) " 3
[?25l
3[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '\zs', 0, 5) " -1
[?25l
-1[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '\zs', 1, 1) " 1
[?25l
1[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '\zs', 2, 1) " 2
[?25l
2[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '\zs', 3, 1) " 3
[?25l
3[?12l[?25h[?25l
:[?12l[?25hput =match('abc', '\zs', 4, 1) " -1
[?25l
-1[?12l[?25h[?25l
/[?12l[?25h^foobar
[?25lSEARCH:
foobar[?12l[?25h[?25lfooba[?12l[?25h[?25l
searchmatch[?12l[?25h[?25l
/[?12l[?25hone\_s*two\_s
[?25l
one[?12l[?25h[?25l
:[?12l[?25h1
[?25lTests for string and html text objects. vim: set ft=vim :

Note that the end-of-line moves the cursor to the next test line.

Also test match() and matchstr()

Also test the gn command and repeating it.

STARTTEST
:so small.vim
/^start:/
da"
0va'a'rx
02f`da`
0fXdi"
03f'vi'ry
:set quoteescape=+*-
di`
$F"va"oha"i"rz
:"
/^<begin
jfXdit
0fXdit[?12l[?25h[?25l1
2
3
-1
1
2
3
-1
SEARCH:
searchmatch
one 
two
abcdx | abcdx | abcdx
join
lines
zero width pattern
delete first and last chars
uniquepattern uniquepattern
my very excellent mother just served us nachos
for (i=0; i<=10; i++)
Y
text
Y[?12l[?25h[?25l--1
Johnny[?12l[?25h
[?25l/[?12l[?25h[a]bcdx
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25h1
[?25lTests for string and html text objects. vim: set ft=vim :

Note that the end-of-line moves the cursor to the next test line.

Also test match() and matchstr()

Also test the gn command and repeating it.

STARTTEST
:so small.vim
/^start:/
da"
0va'a'rx
02f`da`
0fXdi"
03f'vi'ry
:set quoteescape=+*-
di`
$F"va"oha"i"rz
:"
/^<begin
jfXdit
0fXdit[?12l[?25h[?25l0
1
2
3
-1
1
2
3
-1
SEARCH:
searchmatch
abcdx | abcdx | abcdx
join
lines
zero width pattern
delete first and last chars
uniquepattern uniquepattern
my very excellent mother just served us nachos
for (i=0; i<=10; i++)
Y
text
Y
--1[?12l[?25h[?25l | abcdx[?12l[?25h[?25l/[?12l[?25hjoin
[?25l[?12l[?25h[?25l/[?12l[?25h$
[?25l[?12l[?25h
[?25ljoin [?12l[?25h[?25l
join linesJohnny[?12l[?25h[?25l/[?12l[?25h\>\zs
[?25l[?12l[?25h
[?25lzero[?12l[?25h[?25lwidth pattern[?12l[?25h[?25l/[?12l[?25h^
[?25l[?12l[?25h[?25l[?12l[?25h[?25lelete first and last chars[?12l[?25h[?25l/[?12l[?25h\zs
[?25l[?12l[?25h[?25l[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h[u]niquepattern/s
[?25l[?12l[?25h[?25l[?12l[?25h[?25lu[?12l[?25h[?25lniquepatter[?12l[?25h[?25l
 uniquepattern[?12l[?25h
[?25l/[?12l[?25hmother
[?25l[?12l[?25h[?25l:[?12l[?25hset selection=exclusive
[?25l[?12l[?25h[?25lngoose just served us nachos[?12l[?25h[?25l/[?12l[?25hi
[?25l[?12l[?25h[?25lj[?12l[?25h
[?25l:[?12l[?25h" Make sure there is no other match y uppercase.
[?25l[?12l[?25h[?25l/[?12l[?25h^Y
[?25l[?12l[?25h[?25lTests for string and html text objects. vim: set ft=vim :

Note that the end-of-line moves the cursor to the next test line.

Also test match() and matchstr()

Also test the gn command and repeating it.

STARTTEST
:so small.vim
/^start:/
da"
0va'a'rx
02f`da`
0fXdi"
03f'vi'ry
:set quoteescape=+*-
di`
$F"va"oha"i"rz
:"
/^<begin
jfXdit
0fXdit[?12l[?25h[?25l3
-1
SEARCH:
searchmatch
abcdx |  | abcdx
join lines
zerowidth pattern
elete first and last char
 uniquepattern
my very excellent mongoose just served us nachos
for (j=0; i<=10; i++)
Y
text
Y
--1
Johnny
--2
Johnny
--3
Depp
--4
Depp
--5[?12l[?25h[?25l[?12l[?25h
[?25l:[?12l[?25h" test repeating dgn
[?25l[?12l[?25h[?25l/[?12l[?25h^Johnny
[?25l[?12l[?25h[?25lTests for string and html text objects. vim: set ft=vim :

Note that the end-of-line moves the cursor to the next test line.

Also test match() and matchstr()

Also test the gn command and repeating it.

STARTTEST
:so small.vim
/^start:/
da"
0va'a'rx
02f`da`
0fXdi"
03f'vi'ry
:set quoteescape=+*-
di`
$F"va"oha"i"rz
:"
/^<begin
jfXdit
0fXdit[?12l[?25h[?25l-1
SEARCH:
searchmatch
abcdx |  | abcdx
join lines
zerowidth pattern
elete first and last char
 uniquepattern
my very excellent mongoose just served us nachos
for (j=0; i<=10; i++)

text
Y
--1

--2
Johnny
--3
Depp
--4
Depp
--5
end:[?12l[?25h[?25l[?12l[?25h
[?25l:[?12l[?25h" test repeating gUgn
[?25l[?12l[?25h[?25l/[?12l[?25h^Depp
[?25l[?12l[?25h[?25lTests for string and html text objects. vim: set ft=vim :

Note that the end-of-line moves the cursor to the next test line.

Also test match() and matchstr()

Also test the gn command and repeating it.

STARTTEST
:so small.vim
/^start:/
da"
0va'a'rx
02f`da`
0fXdi"
03f'vi'ry
:set quoteescape=+*-
di`
$F"va"oha"i"rz
:"
/^<begin
jfXdit
0fXdit[?12l[?25h[?25l-1
SEARCH:
searchmatch
abcdx |  | abcdx
join lines
zerowidth pattern
elete first and last char
 uniquepattern
my very excellent mongoose just served us nachos
for (j=0; i<=10; i++)

text
Y
--1

--2

--3
DEPP
--4
Depp
--5
end:[?12l[?25h[?25l

DEPP
[?12l[?25h
[?25l

:[?12l[?25h/^start:/,/^end:/wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 64 lines, 485 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test54.failed test.ok test.out X* viminfo
cp test54.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test54.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test54.in" 22 lines, 658 charactersSome tests for buffer-local autocommands

STARTTEST
:so small.vim
:e xx
:if has("vms")
: !del test.out.*
: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > test.oout
:else
: !rm -f test.out
: au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out
:endif
:e somefile" here, autocommand for xx shall write test.out
:" but autocommand shall not apply to buffer named <buffer>:bwipe xx" here, autocommand shall be auto-deleted
:e xx" nothing shall be written
:e somefile" nothing shall be written
:qa!
ENDTEST

start of test file xx
end of test file xx[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lSome tests for buffer-local autocommands[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 15 lines, 555 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25he xx
[?25l"xx" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hif has("vms")
[?25l
:  [?12l[?25h: !del test.out.*

[?25l:  [?12l[?25h: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > te

st.out

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: !rm -f test.out

[?25l:!rm -f test.out[?1l>[?12l[?25h[?1049l

Press ENTER or type command to continue[?1049h[?1h=
[?25l:  :[?12l[?25h au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out

[?25l:  [?12l[?25h:endif
[?25l:[?12l[?25he somefile           " here, autocommand for xx shall write test.out 
[?25l:!echo buffer-local autommand in xx>> test.out

[?12l[?25h[?25l"somefile" [New File]

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h                     " but autocommand shall not apply to buffer named <buffer

>[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hbwipe xx             " here, autocommand shall be auto-deleted
[?25l[?12l[?25h[?25l:[?12l[?25he xx                 " nothing shall be written
[?25l"xx" [New File][?12l[?25h[?25l:[?12l[?25he somefile           " nothing shall be written
[?25l"somefile" [New File][?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l
# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test55.failed test.ok test.out X* viminfo
cp test55.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test55.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test55.in" 425 lines, 9033 charactersTests for List and Dictionary types.     vim: set ft=vim :

STARTTEST
:so small.vim
:fun Test(...)
:lang C
:" Creating List directly with different types
:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]
:$put =string(l)
:$put =string(l[-1])
:$put =string(l[-4])
:try
:  $put =string(l[-5])
:catch
:  $put =v:exception[:14]
:endtry
:" List slices
:$put =string(l[:])
:$put =string(l[1:])
:$put =string(l[:-2])
:$put =string(l[0:8])
:$put =string(l[8:-1])
:"[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for List and Dictionary types.     vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 419 lines, 8947 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:$put =string(d)
:endfun
:"
:call Test(1, 2, [3, 4], {5: 6})  " This may take a while
:"
:delfunc Test
:unlet dict
:call garbagecollect(1)
:"
:" test for patch 7.3.637
:let a = 'No error caught'
:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
o^R=a^M^[:"
:lang C
:redir => a
:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
:redir END
o^R=a^M^[:"
:"
:/^start:/,$wq! test.out
ENDTEST

start:[?12l[?25h
[?25l

:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hfun Test(...)
[?25l
:  [?12l[?25h:lang C

[?25l:  [?12l[?25h:" Creating List directly with different types

[?25l:  [?12l[?25h:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25h:$put =string(l[-1])

[?25l:  [?12l[?25h:$put =string(l[-4])

[?25l:  [?12l[?25h:try

[?25l:    [?12l[?25h:  $put =string(l[-5])

[?25l:    [?12l[?25h:catch

[?25l:    [?12l[?25h:  $put =v:exception[:14]

[?25l:    [?12l[?25h:endtry

[?25l:  [?12l[?25h:" List slices

[?25l:  [?12l[?25h:$put =string(l[:])

[?25l:  [?12l[?25h:$put =string(l[1:])

[?25l:  [?12l[?25h:$put =string(l[:-2])

[?25l:  [?12l[?25h:$put =string(l[0:8])

[?25l:  [?12l[?25h:$put =string(l[8:-1])

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:" List identity

[?25l:  [?12l[?25h:let ll = l

[?25l:  [?12l[?25h:let lx = copy(l)

[?25l:  [?12l[?25h:try

[?25l:    [?12l[?25h:  $put =(l == ll) . (l isnot ll) . (l is ll) . (l == lx) . (l is lx) . (l

isnot lx)

[?25l:    [?12l[?25h:catch

[?25l:    [?12l[?25h:  $put =v:exception

[?25l:    [?12l[?25h:endtry

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:" Creating Dictionary directly with different types

[?25l:  [?12l[?25h:let d = {001: 'asd', 'b': [1, 2, function('strlen')], -1: {'a': 1},}

[?25l:  [?12l[?25h:$put =string(d) . d.1

[?25l:  [?12l[?25h:$put =string(sort(keys(d)))

[?25l:  [?12l[?25h:$put =string (values(d))

[?25l:  [?12l[?25h:for [key, val] in items(d)

[?25l:    [?12l[?25h:  $put =key . ':' . string(val)

[?25l:    [?12l[?25h:  unlet key val

[?25l:    [?12l[?25h:endfor

[?25l:  [?12l[?25h:call extend  (d, {3:33, 1:99})

[?25l:  [?12l[?25h:call extend(d, {'b':'bbb', 'c':'ccc'}, "keep")

[?25l:  [?12l[?25h:try

[?25l:    [?12l[?25h:  call extend(d, {3:333,4:444}, "error")

[?25l:    [?12l[?25h:catch

[?25l:    [?12l[?25h:  $put =v:exception[:15] . v:exception[-1:-1]

[?25l:    [?12l[?25h:endtry

[?25l:  [?12l[?25h:$put =string(d)

[?25l:  [?12l[?25h:call filter(d, 'v:key =~ ''[ac391]''')

[?25l:  [?12l[?25h:$put =string(d)

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:" Dictionary identity

[?25l:  [?12l[?25h:let dd = d

[?25l:  [?12l[?25h:let dx = copy(d)

[?25l:  [?12l[?25h:try

[?25l:    [?12l[?25h:  $put =(d == dd) . (d isnot dd) . (d is dd) . (d == dx) . (d is dx) . (d

isnot dx)

[?25l:    [?12l[?25h:catch

[?25l:    [?12l[?25h:  $put =v:exception

[?25l:    [?12l[?25h:endtry

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:" Changing var type should fail

[?25l:  [?12l[?25h:try

[?25l:    [?12l[?25h:  let d = []

[?25l:    [?12l[?25h:catch

[?25l:    [?12l[?25h:  $put =v:exception[:14] . v:exception[-1:-1]

[?25l:    [?12l[?25h:endtry

[?25l:  [?12l[?25h:try

[?25l:    [?12l[?25h:  let l = {}

[?25l:    [?12l[?25h:catch

[?25l:    [?12l[?25h:  $put =v:exception[:14] . v:exception[-1:-1]

[?25l:    [?12l[?25h:endtry

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:" removing items with :unlet

[?25l:  [?12l[?25h:unlet l[2]

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25h:let l = range(8)

[?25l:  [?12l[?25h:try

[?25l:    [?12l[?25h:unlet l[:3]

[?25l:    [?12l[?25h:unlet l[1:]

[?25l:    [?12l[?25h:catch

[?25l:    [?12l[?25h:$put =v:exception

[?25l:    [?12l[?25h:endtry

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:unlet d.c

[?25l:  [?12l[?25h:unlet d[-1]

[?25l:  [?12l[?25h:$put =string(d)

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:" removing items out of range: silently skip items that don't exist

[?25l:  [?12l[?25hlet l = [0, 1, 2, 3]

[?25l:  [?12l[?25h:unlet l[2:1]

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25hlet l = [0, 1, 2, 3]

[?25l:  [?12l[?25h:unlet l[2:2]

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25hlet l = [0, 1, 2, 3]

[?25l:  [?12l[?25h:unlet l[2:3]

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25hlet l = [0, 1, 2, 3]

[?25l:  [?12l[?25h:unlet l[2:4]

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25hlet l = [0, 1, 2, 3]

[?25l:  [?12l[?25h:unlet l[2:5]

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25hlet l = [0, 1, 2, 3]

[?25l:  [?12l[?25h:unlet l[-1:2]

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25hlet l = [0, 1, 2, 3]

[?25l:  [?12l[?25h:unlet l[-2:2]

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25hlet l = [0, 1, 2, 3]

[?25l:  [?12l[?25h:unlet l[-3:2]

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25hlet l = [0, 1, 2, 3]

[?25l:  [?12l[?25h:unlet l[-4:2]

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25hlet l = [0, 1, 2, 3]

[?25l:  [?12l[?25h:unlet l[-5:2]

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25hlet l = [0, 1, 2, 3]

[?25l:  [?12l[?25h:unlet l[-6:2]

[?25l:  [?12l[?25h:$put =string(l)

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:" assignment to a list

[?25l:  [?12l[?25h:let l = [0, 1, 2, 3]

[?25l:  [?12l[?25h:let [va, vb] = l[2:3]

[?25l:  [?12l[?25h:$put =va

[?25l:  [?12l[?25h:$put =vb

[?25l:  [?12l[?25h:try

[?25l:    [?12l[?25h:  let [va, vb] = l

[?25l:    [?12l[?25h:catch

[?25l:    [?12l[?25h:  $put =v:exception[:14]

[?25l:    [?12l[?25h:endtry

[?25l:  [?12l[?25h:try

[?25l:    [?12l[?25h:  let [va, vb] = l[1:1]

[?25l:    [?12l[?25h:catch

[?25l:    [?12l[?25h:  $put =v:exception[:14]

[?25l:    [?12l[?25h:endtry

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:" manipulating a big Dictionary (hashtable.c has a border of 1000 entries)

[?25l:  [?12l[?25h:let d = {}

[?25l:  [?12l[?25h:for i in range(1500)

[?25l:    [?12l[?25h: let d[i] = 3000 - i

[?25l:    [?12l[?25h:endfor

[?25l:  [?12l[?25h:$put =d[0] . ' ' . d[100] . ' ' . d[999] . ' ' . d[1400] . ' ' . d[1499]

[?25l:  [?12l[?25h:try

[?25l:    [?12l[?25h:  let n = d[1500]

[?25l:    [?12l[?25h:catch

[?25l:    [?12l[?25h:  $put =substitute(v:exception, '\v(.{14}).*( \d{4}).*', '\1\2', '')

[?25l:    [?12l[?25h:endtry

[?25l:  [?12l[?25h:" lookup each items

[?25l:  [?12l[?25h:for i in range(1500)

[?25l:    [?12l[?25h: if d[i] != 3000 - i

[?25l:      [?12l[?25h:  $put =d[i]

[?25l:      [?12l[?25h: endif

[?25l:    [?12l[?25h:endfor

[?25l:  [?12l[?25h: let i += 1

[?25l:  [?12l[?25h:" delete even items

[?25l:  [?12l[?25h:while i >= 2

[?25l:    [?12l[?25h: let i -= 2

[?25l:    [?12l[?25h: unlet d[i]

[?25l:    [?12l[?25h:endwhile

[?25l:  [?12l[?25h:$put =get(d, 1500 - 100, 'NONE') . ' ' . d[1]

[?25l:  [?12l[?25h:" delete odd items, checking value, one intentionally wrong

[?25l:  [?12l[?25h:let d[33] = 999

[?25l:  [?12l[?25h:let i = 1

[?25l:  [?12l[?25h:while i < 1500

[?25l:    [?12l[?25h: if d[i] != 3000 - i

[?25l:      [?12l[?25h:  $put =i . '=' . d[i]

[?25l:      [?12l[?25h: else

[?25l:      [?12l[?25h:  unlet d[i]

[?25l:      [?12l[?25h: endif

[?25l:    [?12l[?25h: let i += 2

[?25l:    [?12l[?25h:endwhile

[?25l:  [?12l[?25h:$put =string(d)  " must be almost empty now

[?25l:  [?12l[?25h:unlet d

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:" Dictionary function

[?25l:  [?12l[?25h:let dict = {}

[?25l:  [?12l[?25h:func dict.func(a) dict

[?25l:    [?12l[?25h:  $put =a:a . len(self.data)

[?25l:    [?12l[?25h:endfunc

[?25l:    [?12l[?25h:let dict.data = [1,2,3]

[?25l:    [?12l[?25h:call dict.func("len: ")

[?25l:    [?12l[?25h:let x = dict.func("again: ")

[?25l:    [?12l[?25h:try

[?25l:      [?12l[?25h:  let Fn = dict.func

[?25l:      [?12l[?25h:  call Fn('xxx')

[?25l:      [?12l[?25h:catch

[?25l:      [?12l[?25h:  $put =v:exception[:15]

[?25l:      [?12l[?25h:endtry

[?25l:    [?12l[?25h:" 

[?25l:    [?12l[?25h:" Function in script-local List or Dict

[?25l:    [?12l[?25h:let g:dict = {}

[?25l:    [?12l[?25h:function g:dict.func() dict

[?25l:      [?12l[?25h:  $put ='g:dict.func'.self.foo[1].self.foo[0]('asdf')

[?25l:      [?12l[?25h:endfunc

[?25l:      [?12l[?25h:let g:dict.foo = ['-', 2, 3]

[?25l:      [?12l[?25h:call insert(g:dict.foo, function('strlen'))

[?25l:      [?12l[?25h:call g:dict.func()

[?25l:      [?12l[?25h:" 

[?25l:      [?12l[?25h:" Nasty: remove func from Dict that's being called (works)

[?25l:      [?12l[?25h:let d = {1:1}

[?25l:      [?12l[?25h:func d.func(a)

[?25l:[?12l[?25h:  return "a:". a:a

[?25l:[?12l[?25h:endfunc

[?25l:[?12l[?25h:$put =d.func(string(remove(d, 'func')))

[?25l:[?12l[?25h:"

[?25l:[?12l[?25h:" Nasty: deepcopy() dict that refers to itself (fails when noref used

)
[?25l:[?12l[?25h:let d = {1:1, 2:2}

[?25l:[?12l[?25h:let l = [4, d, 6]

[?25l:[?12l[?25h:let d[3] = l

[?25l:[?12l[?25h:let dc = deepcopy(d)

[?25l:[?12l[?25h:try

[?25l:[?12l[?25h:  let dc = deepcopy(d, 1)

[?25l:[?12l[?25h:catch

[?25l:[?12l[?25h:  $put =v:exception[:14]

[?25l:[?12l[?25h:endtry

[?25l:[?12l[?25h:let l2 = [0, l, l, 3]

[?25l:[?12l[?25h:let l[1] = l2

[?25l:[?12l[?25h:let l3 = deepcopy(l2)

[?25l:[?12l[?25h:$put ='same list: ' . (l3[1] is l3[2])

[?25l:[?12l[?25h:"

[?25l:[?12l[?25h:" Locked variables

[?25l:[?12l[?25h:for depth in range(5)

[?25l:[?12l[?25h:  $put ='depth is ' . depth

[?25l:[?12l[?25h:  for u in range(3)

[?25l:[?12l[?25h:    unlet l

[?25l:[?12l[?25h:    let l = [0, [1, [2, 3]], {4: 5, 6: {7: 8}}]

[?25l:[?12l[?25h:    exe "lockvar " . depth . " l"

[?25l:[?12l[?25h:    if u == 1

[?25l:[?12l[?25h:      exe "unlockvar l"

[?25l:[?12l[?25h:    elseif u == 2

[?25l:[?12l[?25h:      exe "unlockvar " . depth . " l"

[?25l:[?12l[?25h:    endif

[?25l:[?12l[?25h:    let ps = islocked("l").islocked("l[1]").islocked("l[1][1]").i

slocked("l[1][1][0]").'-'.islocked("l[2]").islocked("l[2]['6']").islocked("l[2][

'6'][7]")

[?25l:[?12l[?25h:    $put =ps

[?25l:[?12l[?25h:    let ps = ''

[?25l:[?12l[?25h:    try

[?25l:[?12l[?25h:      let l[1][1][0] = 99

[?25l:[?12l[?25h:      let ps .= 'p'

[?25l:[?12l[?25h:    catch

[?25l:[?12l[?25h:      let ps .= 'F'

[?25l:[?12l[?25h:    endtry

[?25l:[?12l[?25h:    try

[?25l:[?12l[?25h:      let l[1][1] = [99]

[?25l:[?12l[?25h:      let ps .= 'p'

[?25l:[?12l[?25h:    catch

[?25l:[?12l[?25h:      let ps .= 'F'

[?25l:[?12l[?25h:    endtry

[?25l:[?12l[?25h:    try

[?25l:[?12l[?25h:      let l[1] = [99]

[?25l:[?12l[?25h:      let ps .= 'p'

[?25l:[?12l[?25h:    catch

[?25l:[?12l[?25h:      let ps .= 'F'

[?25l:[?12l[?25h:    endtry

[?25l:[?12l[?25h:    try

[?25l:[?12l[?25h:      let l[2]['6'][7] = 99

[?25l:[?12l[?25h:      let ps .= 'p'

[?25l:[?12l[?25h:    catch

[?25l:[?12l[?25h:      let ps .= 'F'

[?25l:[?12l[?25h:    endtry

[?25l:[?12l[?25h:    try

[?25l:[?12l[?25h:      let l[2][6] = {99: 99}

[?25l:[?12l[?25h:      let ps .= 'p'

[?25l:[?12l[?25h:    catch

[?25l:[?12l[?25h:      let ps .= 'F'

[?25l:[?12l[?25h:    endtry

[?25l:[?12l[?25h:    try

[?25l:[?12l[?25h:      let l[2] = {99: 99}

[?25l:[?12l[?25h:      let ps .= 'p'

[?25l:[?12l[?25h:    catch

[?25l:[?12l[?25h:      let ps .= 'F'

[?25l:[?12l[?25h:    endtry

[?25l:[?12l[?25h:    try

[?25l:[?12l[?25h:      let l = [99]

[?25l:[?12l[?25h:      let ps .= 'p'

[?25l:[?12l[?25h:    catch

[?25l:[?12l[?25h:      let ps .= 'F'

[?25l:[?12l[?25h:    endtry

[?25l:[?12l[?25h:    $put =ps

[?25l:[?12l[?25h:  endfor

[?25l:[?12l[?25h:endfor

[?25l:[?12l[?25h:unlet l

[?25l:[?12l[?25h:let l = [1, 2, 3, 4]

[?25l:[?12l[?25h:lockvar! l

[?25l:[?12l[?25h:$put =string(l)

[?25l:[?12l[?25h:unlockvar l[1]

[?25l:[?12l[?25h:unlet l[0:1]

[?25l:[?12l[?25h:$put =string(l)

[?25l:[?12l[?25h:unlet l[1:2]

[?25l:[?12l[?25h:$put =string(l)

[?25l:[?12l[?25h:unlockvar l[1]

[?25l:[?12l[?25h:let l[0:1] = [0, 1]

[?25l:[?12l[?25h:$put =string(l)

[?25l:[?12l[?25h:let l[1:2] = [0, 1]

[?25l:[?12l[?25h:$put =string(l)

[?25l:[?12l[?25h:unlet l

[?25l:[?12l[?25h:" :lockvar/islocked() triggering script autoloading

[?25l:[?12l[?25h:set rtp+=./sautest

[?25l:[?12l[?25h:lockvar g:footest#x

[?25l:[?12l[?25h:unlockvar g:footest#x

[?25l:[?12l[?25h:$put ='locked g:footest#x:'.islocked('g:footest#x')

[?25l:[?12l[?25h:$put ='exists g:footest#x:'.exists('g:footest#x')

[?25l:[?12l[?25h:$put ='g:footest#x: '.g:footest#x

[?25l:[?12l[?25h:"

[?25l:[?12l[?25h:" a:000 function argument

[?25l:[?12l[?25h:" first the tests that should fail

[?25l:[?12l[?25h:try

[?25l:[?12l[?25h:  let a:000 = [1, 2]

[?25l:[?12l[?25h:catch

[?25l:[?12l[?25h:  $put ='caught a:000'

[?25l:[?12l[?25h:endtry

[?25l:[?12l[?25h:try

[?25l:[?12l[?25h:  let a:000[0] = 9

[?25l:[?12l[?25h:catch

[?25l:[?12l[?25h:  $put ='caught a:000[0]'

[?25l:[?12l[?25h:endtry

[?25l:[?12l[?25h:try

[?25l:[?12l[?25h:  let a:000[2] = [9, 10]

[?25l:[?12l[?25h:catch

[?25l:[?12l[?25h:  $put ='caught a:000[2]'

[?25l:[?12l[?25h:endtry

[?25l:[?12l[?25h:try

[?25l:[?12l[?25h:  let a:000[3] = {9: 10}

[?25l:[?12l[?25h:catch

[?25l:[?12l[?25h:  $put ='caught a:000[3]'

[?25l:[?12l[?25h:endtry

[?25l:[?12l[?25h:" now the tests that should pass

[?25l:[?12l[?25h:try

[?25l:[?12l[?25h:  let a:000[2][1] = 9

[?25l:[?12l[?25h:  call extend(a:000[2], [5, 6])

[?25l:[?12l[?25h:  let a:000[3][5] = 8

[?25l:[?12l[?25h:  let a:000[3]['a'] = 12

[?25l:[?12l[?25h:  $put =string(a:000)

[?25l:[?12l[?25h:catch

[?25l:[?12l[?25h:  $put ='caught ' . v:exception

[?25l:[?12l[?25h:endtry

[?25l:[?12l[?25h:"

[?25l:[?12l[?25h:" reverse(), sort(), uniq()

[?25l:[?12l[?25h:let l = ['-0', 'A11', 2, 2, 'xaaa', 4, 'foo', 'foo6', 'foo', [0, 1, 2

], 'x8', [0, 1, 2], 1.5]

[?25l:[?12l[?25h:$put =string(uniq(copy(l)))

[?25l:[?12l[?25h:$put =string(reverse(l))

[?25l:[?12l[?25h:$put =string(reverse(reverse(l)))

[?25l:[?12l[?25h:$put =string(sort(l))

[?25l:[?12l[?25h:$put =string(reverse(sort(l)))

[?25l:[?12l[?25h:$put =string(sort(reverse(sort(l))))

[?25l:[?12l[?25h:$put =string(uniq(sort(l)))

[?25l:[?12l[?25h:let l=[7, 9, 'one', 18, 12, 22, 'two', 10.0e-16, -1, 'three', 0xff, 0

.22, 'four']

[?25l:[?12l[?25h:$put =string(sort(copy(l), 'n'))

[?25l:[?12l[?25h:let l=[7, 9, 18, 12, 22, 10.0e-16, -1, 0xff, 0, -0, 0.22, 'bar', 'BAR

', 'Bar', 'Foo', 'FOO', 'foo', 'FOOBAR', {}, []]

[?25l:[?12l[?25h:$put =string(sort(copy(l), 1))

[?25l:[?12l[?25h:$put =string(sort(copy(l), 'i'))

[?25l:[?12l[?25h:$put =string(sort(copy(l)))

[?25l:[?12l[?25h:"

[?25l:[?12l[?25h:" splitting a string to a List

[?25l:[?12l[?25h:$put =string(split('  aa  bb '))

[?25l:[?12l[?25h:$put =string(split('  aa  bb  ', '\W\+', 0))

[?25l:[?12l[?25h:$put =string(split('  aa  bb  ', '\W\+', 1))

[?25l:[?12l[?25h:$put =string(split('  aa  bb  ', '\W', 1))

[?25l:[?12l[?25h:$put =string(split(':aa::bb:', ':', 0))

[?25l:[?12l[?25h:$put =string(split(':aa::bb:', ':', 1))

[?25l:[?12l[?25h:$put =string(split('aa,,bb, cc,', ',\s*', 1))

[?25l:[?12l[?25h:$put =string(split('abc', '\zs'))

[?25l:[?12l[?25h:$put =string(split('abc', '\zs', 1))

[?25l:[?12l[?25h:"

[?25l:[?12l[?25h:" compare recursively linked list and dict

[?25l:[?12l[?25h:let l = [1, 2, 3, 4]

[?25l:[?12l[?25h:let d = {'1': 1, '2': l, '3': 3}

[?25l:[?12l[?25h:let l[1] = d

[?25l:[?12l[?25h:$put =(l == l)

[?25l:[?12l[?25h:$put =(d == d)

[?25l:[?12l[?25h:$put =(l != deepcopy(l))

[?25l:[?12l[?25h:$put =(d != deepcopy(d))

[?25l:[?12l[?25h:"

[?25l:[?12l[?25h:" compare complex recursively linked list and dict

[?25l:[?12l[?25h:let l = []

[?25l:[?12l[?25h:call add(l, l)

[?25l:[?12l[?25h:let dict4 = {"l": l}

[?25l:[?12l[?25h:call add(dict4.l, dict4)

[?25l:[?12l[?25h:let lcopy = deepcopy(l)

[?25l:[?12l[?25h:let dict4copy = deepcopy(dict4)

[?25l:[?12l[?25h:$put =(l == lcopy)

[?25l:[?12l[?25h:$put =(dict4 == dict4copy)

[?25l:[?12l[?25h:"

[?25l:[?12l[?25h:" Pass the same List to extend()

[?25l:[?12l[?25h:let l = [1, 2, 3, 4, 5]

[?25l:[?12l[?25h:call extend(l, l)

[?25l:[?12l[?25h:$put =string(l)

[?25l:[?12l[?25h:"

[?25l:[?12l[?25h:" Pass the same Dict to extend()

[?25l:[?12l[?25h:let d = { 'a': {'b': 'B'}}

[?25l:[?12l[?25h:call extend(d, d)

[?25l:[?12l[?25h:$put =string(d)

[?25l:[?12l[?25h:"

[?25l:[?12l[?25h:" Pass the same Dict to extend() with "error"

[?25l:[?12l[?25h:try

[?25l:[?12l[?25h:  call extend(d, d, "error")

[?25l:[?12l[?25h:catch

[?25l:[?12l[?25h:  $put =v:exception[:15] . v:exception[-1:-1]

[?25l:[?12l[?25h:endtry

[?25l:[?12l[?25h:$put =string(d)

[?25l:[?12l[?25h:endfun
[?25l:$put =string(d)
:endfun
:"
:call Test(1, 2, [3, 4], {5: 6})  " This may take a while
:"
:delfunc Test
:unlet dict
:call garbagecollect(1)
:"
:" test for patch 7.3.637
:let a = 'No error caught'
:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
o^R=a^M^[:"
:lang C
:redir => a
:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
:redir END
o^R=a^M^[:"
:"
:/^start:/,$wq! test.out
ENDTEST

start:[?12l[?25h[?25l

:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall Test(1, 2, [3, 4], {5: 6})  " This may take a while
[?25lError detected while processing function Test:
line   87:

E684: list index out of range: 1

line  102:

E684: list index out of range: 2

line  285:

E741: Value is locked: l[0:1]

line  287:

E741: Value is locked: l[1:2]

line  290:

E741: Value is locked: l[0:1] = [0, 1]

line  292:

E741: Value is locked: l[1:2] = [0, 1]

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h"
[?25l['bar', 'BAR', 'Bar', 'Foo', 'FOO', 'foo', 'FOOBAR', -1, 0, 0, 0.22, 1.0e-15, 122, 18, 22, 255, 7, 9, [], {}]
['BAR', 'Bar', 'FOO', 'FOOBAR', 'Foo', 'bar', 'foo', -1, 0, 0, 0.22, 1.0e-15, 122, 18, 22, 255, 7, 9, [], {}]
['aa', 'bb']
['aa', 'bb']
['', 'aa', 'bb', '']
['', '', 'aa', '', 'bb', '', '']
['aa', '', 'bb']
['', 'aa', '', 'bb', '']
['aa', '', 'bb', 'cc', '']
['a', 'b', 'c']
['', 'a', '', 'b', '', 'c', '']
110011[1, 2, 3, 4, 5, 1, 2, 3, 4, 5]
{'a': {'b': 'B'}}
Vim(call):E737: a
{'a': {'b': 'B'}}[?12l[?25h[?25l
:[?12l[?25hdelfunc Test
[?25l[?12l[?25h[?25l:[?12l[?25hunlet dict
[?25l[?12l[?25h[?25l:[?12l[?25hcall garbagecollect(1)
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" test for patch 7.3.637
[?25l[?12l[?25h[?25l:[?12l[?25hlet a = 'No error caught'
[?25l[?12l[?25h[?25l:[?12l[?25htry|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
[?25l[?12l[?25h[?25l=[?12l[?25ha
[?25lVim(foldopen):E490:
~                                                                               [?12l[?25h[?25l

:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hlang C
[?25l[?12l[?25h[?25l:[?12l[?25hredir => a
[?25l[?12l[?25h[?25l:[?12l[?25htry|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
[?25lError detected while processing :
E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*'

)|endtry

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25l['BAR', 'Bar', 'FOO', 'FOOBAR', 'Foo', 'bar', 'foo', -1, 0, 0, 0.22, 1.0e-15, 122, 18, 22, 255, 7, 9, [], {}]
['aa', 'bb'][?12l[?25h[?25l

=[?12l[?25ha
[?25lError detected while processing :
E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*'))|endtry
[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 137 lines, 2935 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test56.failed test.ok test.out X* viminfo
cp test56.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test56.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test56.in" 21 lines, 457 charactersTest for script-local function.     vim: set ft=vim :

STARTTEST
:so small.vim
:"
:set nocp viminfo+=nviminfo
:/^start:/+1,/^end:/-1w! Xtest.vim
:source Xtest.vim
_x
:$-1,$wq! test.out
ENDTEST

start:
fun <SID>DoLast()
  call append(line('$'), "last line")
endfun
fun s:DoNothing()
  call append(line('$'), "nothing line")
endfun
nnoremap <buffer> _x    :call <SID>DoNothing()<bar>call <SID>DoLast()<bar>delfunnc <SID>DoNothing<bar>delfunc <SID>DoLast<cr>
end:
~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for script-local function.     vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 7 lines, 120 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hset nocp viminfo+=nviminfo
[?25l[?12l[?25h[?25l:[?12l[?25h/^start:/+1,/^end:/-1w! Xtest.vim
[?25l"Xtest.vim" [New] 7L, 251C written[?12l[?25h[?25l:[?12l[?25hsource Xtest.vim
[?25l[?12l[?25h[?25l:call <SNR>3_DoNothing()|call <SNR>3_DoLast()|delfunc <SNR>3_DoNothing|delfunc 

<SNR>3_DoLast
Press ENTER or type command to continue[?12l[?25h[?25lTest for script-local function.     vim: set ft=vim :nothing line[?12l[?25h[?25l:[?12l[?25h$-1,$wq! test.out
[?25l"test.out" [New] 2L, 23C written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test57.failed test.ok test.out X* viminfo
cp test57.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test57.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test57.in" 500 lines, 3666 charactersTests for :sort command.     vim: set ft=vim :

STARTTEST
:so small.vim
:"
:/^t01:/+1,/^t02/-1sort
:/^t02:/+1,/^t03/-1sort n
:/^t03:/+1,/^t04/-1sort x
:/^t04:/+1,/^t05/-1sort u
:/^t05:/+1,/^t06/-1sort!
:/^t06:/+1,/^t07/-1sort! n
:/^t07:/+1,/^t08/-1sort! u
:/^t08:/+1,/^t09/-1sort o
:/^t09:/+1,/^t10/-1sort! x
:/^t10:/+1,/^t11/-1sort/./
:/^t11:/+1,/^t12/-1sort/../
:/^t12:/+1,/^t13/-1sort/../u
:/^t13:/+1,/^t14/-1sort/./n
:/^t14:/+1,/^t15/-1sort/./r
:/^t15:/+1,/^t16/-1sort/../r
:/^t16:/+1,/^t17/-1sort/./rn
:/^t17:/+1,/^t18/-1sort/\d/
:/^t18:/+1,/^t19/-1sort/\d/r[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for :sort command.     vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 30 lines, 842 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:/^t19:/+1,/^t20/-1sort/\d/n
:/^t20:/+1,/^t21/-1sort/\d/rn
:/^t21:/+1,/^t22/-1sort/\d\d/
:/^t22:/+1,/^t23/-1sort/\d\d/n
:/^t23:/+1,/^t24/-1sort/\d\d/x
:/^t24:/+1,/^t25/-1sort/\d\d/r
:/^t25:/+1,/^t26/-1sort/\d\d/rn
:/^t26:/+1,/^t27/-1sort/\d\d/rx
:/^t27:/+1,/^t28/-1sort no
:/^t01:/,$wq! test.out
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h/^t01:/+1,/^t02/-1sort
[?25lt01: alphebetical[?12l[?25h[?25l
:[?12l[?25h/^t02:/+1,/^t03/-1sort n
[?25la321
ab
abc
b123
b321
b321
b321b
b322b
c123d
c321d
t02: numeric
abc
ab
a-24
x-22
0
a122
a123
b123[?12l[?25h[?25l:[?12l[?25h/^t03:/+1,/^t04/-1sort x
[?25lc123d
 123b
a321
b321
c321d
b321
b321b
b322b
t03: hexadecimal[?12l[?25h[?25l
:[?12l[?25h/^t04:/+1,/^t05/-1sort u
[?25la122
a123
a321
b123
b321
b321
b321b
b322b
c123d
c321d
t04: alpha, unique

 123b
a
a122
a123
a321
ab
abc
b123
b321
b321b
b322b[?12l[?25h[?25l:[?12l[?25h/^t05:/+1,/^t06/-1sort!
[?25lc123d
c321d
t05: alpha, reverse
c321d[?12l[?25h[?25l
:[?12l[?25h/^t06:/+1,/^t07/-1sort! n        
[?25lb123
abc
ab
a321
a123
a122
a
 123b


t06: numeric, reverse
b322b
b321b
b321
c321d
b321
a321
 123b
c123d
b123
a123
a122[?12l[?25h[?25l:[?12l[?25h/^t07:/+1,/^t08/-1sort! u
[?25la
ab
abc
t07: unique, reverse
c321d[?12l[?25h[?25l
:[?12l[?25h/^t08:/+1,/^t09/-1sort o         
[?25lb321
b123
abc
ab
a321
a123
a122
a
 123b

t08: octal
abc
ab
a


a122
a123
b123
c123d
 123b
a321
b321[?12l[?25h[?25l:[?12l[?25h/^t09:/+1,/^t10/-1sort! x        
[?25lc321d
b321
b321b
b322b
t09: reverse, hexadecimal
c321d[?12l[?25h[?25l
:[?12l[?25h/^t10:/+1,/^t11/-1sort/./        
[?25lb123
a321
a123
a122
 123b
abc
ab
a


t10: alpha, skip first character
a


a122
a123
b123
 123b
c123d
a321
b321
b321
b321b[?12l[?25h[?25l:[?12l[?25h/^t11:/+1,/^t12/-1sort/../       
[?25lc321d
b322b
ab
abc
t11: alpha, skip first 2 characters
ab[?12l[?25h[?25l
:[?12l[?25h/^t12:/+1,/^t13/-1sort/../u
[?25lb321
b321b
c321d
a122
b322b
a123
b123
 123b
c123d
abc
t12: alpha, unique, skip first 2 characters
ab
a

a321
b321
b321b
c321d
a122
b322b
a123
b123
 123b[?12l[?25h[?25l:[?12l[?25h/^t13:/+1,/^t14/-1sort/./n
[?25lc123d
abc
t13: numeric, skip first character
abc[?12l[?25h[?25l
:[?12l[?25h/^t14:/+1,/^t15/-1sort/./r
[?25la123
b123
c123d
 123b
a321
b321
c321d
b321
b321b
b322b
t14: alpha, sort on first character123b
abc
ab
a
a321
a123
a122
b321
b123
b322b[?12l[?25h[?25l:[?12l[?25h/^t15:/+1,/^t16/-1sort/../r
[?25lb321
b321b
c123d
c321d
t15: alpha, sort on first 2 characters
a[?12l[?25h[?25l
:[?12l[?25h/^t16:/+1,/^t17/-1sort/./rn
[?25la321
abc
ab
b123
b321
b322b
b321
b321b
c123d
c321d
t16: numeric, sort on first character
abc
ab
a
a321
a123
a122
b321
b123
c123d
 123b
c321d
b322b[?12l[?25h[?25l:[?12l[?25h/^t17:/+1,/^t18/-1sort/\d/
[?25lb321
b321b


t17: alpha, skip past first digit
abc[?12l[?25h[?25l
:[?12l[?25h/^t18:/+1,/^t19/-1sort/\d/r
[?25lb321
b321
b321b
c321d
a122
b322b
a123
b123
 123b
c123d
t18: alpha, sort on first digit
abc
ab
a


a123
a122
b123
c123d
 123b
a321
b321[?12l[?25h[?25l:[?12l[?25h/^t19:/+1,/^t20/-1sort/\d/n
[?25lc321d
b322b
b321
b321b
t19: numeric, skip past first digit
abc[?12l[?25h[?25l
:[?12l[?25h/^t20:/+1,/^t21/-1sort/\d/rn
[?25lb321
c321d
b321
b321b
a122
b322b
a123
b123
c123d
 123b
t20: numeric, sort on first digit
abc
ab
a


a123
a122
b123
c123d
 123b
a321
b321[?12l[?25h[?25l:[?12l[?25h/^t21:/+1,/^t22/-1sort/\d\d/
[?25lc321d
b322b
b321
b321b
t21: alpha, skip past first 2 digits
abc[?12l[?25h[?25l
:[?12l[?25h/^t22:/+1,/^t23/-1sort/\d\d/n
[?25lb321
b321
b321b
c321d
a122
b322b
a123
b123
 123b
c123d
t22: numeric, skip past first 2 digits
abc
ab
a


a321
b321
c321d
b321
b321b
a122
b322b[?12l[?25h[?25l:[?12l[?25h/^t23:/+1,/^t24/-1sort/\d\d/x
[?25la123
b123
c123d
 123b
t23: hexadecimal, skip past first 2 digits
abc[?12l[?25h[?25l
:[?12l[?25h/^t24:/+1,/^t25/-1sort/\d\d/r
[?25lb321
b321
a122
a123
b123
b321b
c321d
b322b
 123b
c123d
t24: alpha, sort on first 2 digits
abc
ab
a


a123
a122
b123
c123d
 123b
a321
b321[?12l[?25h[?25l:[?12l[?25h/^t25:/+1,/^t26/-1sort/\d\d/rn
[?25lc321d
b322b
b321
b321b
t25: numeric, sort on first 2 digits
abc[?12l[?25h[?25l
:[?12l[?25h/^t26:/+1,/^t27/-1sort/\d\d/rx
[?25la122
b123
c123d
 123b
a321
b321
c321d
b322b
b321
b321b
t26: hexadecimal, sort on first 2 digits
abc
ab
a


a123
a122
b123
c123d
 123b
a321
b321[?12l[?25h[?25l:[?12l[?25h/^t27:/+1,/^t28/-1sort no
[?25lE474: Invalid argument[?12l[?25h[?25l:[?12l[?25h/^t01:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 459 lines, 2739 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test58.failed test.ok test.out X* viminfo
cp test58.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test58.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test58.in" 639 lines, 10884 charactersTests for spell checking.     vim: set ft=vim :

STARTTEST
:so small.vim
:"
:" Don't want to depend on the locale from the environment
:set enc=latin1
:e!
:"
:" Check using z= in new buffer (crash fixed by patch 7.4a.028).
:set maxmem=512 spell
iasd^[z=:"
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=
  $put =''
  $put ='test '. a:aff . '-' . a:dic
  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest
  " use that spell file[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for spell checking.     vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 109 lines, 2556 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:call TestOne('6', '6')
:call TestOne('7', '7')
:"
:" NOSLITSUGS
:call TestOne('8', '8')
:"
:" clean up for valgrind
:delfunc TestOne
:set spl= enc=latin1
:"
gg:/^test output:/,$wq! test.out
ENDTEST

1affstart
SET ISO8859-1


[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Don't want to depend on the locale from the environment
[?25l[?12l[?25h[?25l:[?12l[?25hset enc=latin1
[?25l:call TestOne('6', '6')
:call TestOne('7', '7')
:"
:" NOSLITSUGS
:call TestOne('8', '8')
:"
:" clean up for valgrind
:delfunc TestOne
:set spl= enc=latin1
:"
gg:/^test output:/,$wq! test.out
ENDTEST

1affstart
SET ISO8859-1


:so small.vim
:"Don't want to depend on the locale from the environment
:set enc=latin1e!"Check using z= in new buffer (crash fixed by patch 7.4a.028).
:set maxmem=512 spelliasd^[z=:"
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=$put =''
  $put ='test '. a:aff . '-' . a:dic  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest  " use that spell file[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Check using z= in new buffer (crash fixed by patch 7.4a.028).
[?25l[?12l[?25h[?25l:[?12l[?25hset maxmem=512 spell
[?25lvimvim

STARTTESTvimlatin1
:ezmaxmem
iasdzaff/.dic
:func TestOne(aff, dicspellfilea:affa:dicspldic and .aff
  exea:aff . 'affstarta:aff . 'affend/-1w! Xtest.aff
  exea:dic . 'dicstarta:dic . 'dicend/-1w! Xtest.dic
  mkspell! Xtest Xtest[?12l[?25h[?25lasdTests for spell checking.     vim: set ft=vim :[?12l[?25h[?25lChange "asdTests" to:

 1 "Acid tests"

 2 "Attests"

 3 "Ass Tests"

 4 "Asa Tests"

 5 "Ase Tests"

 6 "As Tests"

 7 "Sad Tests"

 8 "Ads Tests"

 9 "As tests"

10 "As detests"

11 "Add Tests"

12 "Aid Tests"

13 "Ash Tests"

14 "Ad Tests"

15 "And Tests"

16 "Ask Tests"

17 "Asp Tests"

18 "USD Tests"

19 "Astutest"

20 "Sadists"

21 "Asst Tests"

22 "Assad Tests"

Type number and <Enter> or click with mouse (empty cancels): [?12l[?25h[?25l:[?12l[?25h"
[?25lasdTests for spell checking.     vim: set ft=vim :

STARTTEST
:so small.vim
:"
:" Don't want to depend on the locale from the environment
:set enc=latin1
:e!
:"
:" Check using z= in new buffer (crash fixed by patch 7.4a.028).
:set maxmem=512 spell
iasd^[z=:"
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=
  $put =''
  $put ='test '. a:aff . '-' . a:dic
  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest
  " use that spell file[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Function to test .aff/.dic with list of good and bad words.
[?25l[?12l[?25h[?25l:[?12l[?25hfunc TestOne(aff, dic)
[?25l
:  [?12l[?25h  set spellfile=

[?25l:  [?12l[?25h  $put =''

[?25l:  [?12l[?25h  $put ='test '. a:aff . '-' . a:dic

[?25l:  [?12l[?25h  " Generate a .spl file from a .dic and .aff file.

[?25l:  [?12l[?25h  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

[?25l:  [?12l[?25h  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

[?25l:  [?12l[?25h  mkspell! Xtest Xtest

[?25l:  [?12l[?25h  " use that spell file

[?25l:  [?12l[?25h  set spl=Xtest.latin1.spl spell

[?25l:  [?12l[?25h  " list all valid words

[?25l:  [?12l[?25h  spelldump

[?25l:  [?12l[?25h  %yank

[?25l:  [?12l[?25h  quit

[?25l:  [?12l[?25h  $put

[?25l:  [?12l[?25h  $put ='-------'

[?25l:  [?12l[?25h  " find all bad words and suggestions for them

[?25l:  [?12l[?25h  exe '1;/^' . a:aff . 'good:'

[?25l:  [?12l[?25h  normal 0f:]s

[?25l:  [?12l[?25h  let prevbad = ''

[?25l:  [?12l[?25h  while 1

[?25l:    [?12l[?25h    let [bad, a] = spellbadword()

[?25l:    [?12l[?25h    if bad == '' || bad == prevbad || bad == 'badend'

[?25l:      [?12l[?25h      break

[?25l:      [?12l[?25h    endif

[?25l:    [?12l[?25h    let prevbad = bad

[?25l:    [?12l[?25h    let lst = spellsuggest(bad, 3)

[?25l:    [?12l[?25h    normal mm

[?25l:    [?12l[?25h    $put =bad

[?25l:    [?12l[?25h    $put =string(lst)

[?25l:    [?12l[?25h    normal `m]s

[?25l:    [?12l[?25h  endwhile

[?25l:  [?12l[?25hendfunc
[?25lasdTests for spell checking.     vim: set ft=vim :

STARTTEST
:so small.vim
:"
:" Don't want to depend on the locale from the environment
:set enc=latin1
:e!
:"
:" Check using z= in new buffer (crash fixed by patch 7.4a.028).
:set maxmem=512 spell
iasd^[z=:"
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=
  $put =''
  $put ='test '. a:aff . '-' . a:dic
  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest
  " use that spell file[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall TestOne('1', '1')
[?25l"Xtest.aff" [New File] 46 lines, 754 characters written

"Xtest.dic" [New File] 11 lines, 71 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - test
Compressing word tree...
Compressed 29 of 127 nodes; 98 (77%) remaining

Writing spell file Xtest.latin1.spl ...

Done!

Estimated runtime memory use: 490 bytes

Reading back spell file...

Performing soundfolding...

Total number of words: 16

Number of words after soundfolding: 16

Compressing word tree...

Compressed 39 of 104 nodes; 65 (62%) remaining

Writing suggestion file Xtest.latin1.sug ...

Estimated runtime memory use: 357 bytes

17 lines yanked

17 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h$put =soundfold('goobledygoook')
[?25lthe end
uk
wrong
-------
bad
['put', 'uk', 'OK']
inputs
['input', 'puts', 'outputs']
comment
['Comment', 'outtest', 'the end']
ok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
end
['put', 'uk', 'test']th['put', 'uk', 'test']gebletegek[?12l[?25h[?25l
kepereneven[?12l[?25h[?25l
:[?12l[?25h$put =soundfold('oeverloos gezwets edale')
[?25l
everles gesvets etele[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" and now with SAL instead of SOFO items; test automatic reloading
[?25l[?12l[?25h[?25lasdTests for spell checking.     vim: set ft=vim :

STARTTEST
:so small.vim
:"
:" Don't want to depend on the locale from the environment
:set enc=latin1
:e!
:"
:" Check using z= in new buffer (crash fixed by patch 7.4a.028).
:set maxmem=512 spell
iasd^[z=:"
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=
  $put =''
  $put ='test '. a:aff . '-' . a:dic
  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest
  " use that spell file[?12l[?25h[?25l:[?12l[?25h/^affstart_sal/+1,/^affend_sal/-1w! Xtest.aff
[?25l"Xtest.aff" 151 lines, 3412 characters written[?12l[?25h[?25l:[?12l[?25hmkspell! Xtest Xtest
[?25lReading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - test
Compressing word tree...
Compressed 29 of 127 nodes; 98 (77%) remaining

Writing spell file Xtest.latin1.spl ...

Done!

Estimated runtime memory use: 490 bytes

Performing soundfolding...

Total number of words: 16

Number of words after soundfolding: 15

Compressing word tree...

Compressed 33 of 75 nodes; 42 (56%) remaining

Writing suggestion file Xtest.latin1.sug ...

Estimated runtime memory use: 241 bytes

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h$put =soundfold('goobledygoook')
[?25l-------
bad
['put', 'uk', 'OK']
inputs
['input', 'puts', 'outputs']
comment
['Comment', 'outtest', 'the end']
ok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
end['put', 'uk', 'test']
the['put', 'uk', 'test']gebletegekkepereneveneverles gesvet etelekbltykk[?12l[?25h[?25l
kprnfn[?12l[?25h[?25l
:[?12l[?25h$put =soundfold('oeverloos gezwets edale')
[?25l
*fls kswts tl[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" also use an addition file
[?25l[?12l[?25h[?25lasdTests for spell checking.     vim: set ft=vim :

STARTTEST
:so small.vim
:"
:" Don't want to depend on the locale from the environment
:set enc=latin1
:e!
:"
:" Check using z= in new buffer (crash fixed by patch 7.4a.028).
:set maxmem=512 spell
iasd^[z=:"
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=
  $put =''
  $put ='test '. a:aff . '-' . a:dic
  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest
  " use that spell file[?12l[?25h[?25l:[?12l[?25h/^addstart/+1,/^addend/-1w! Xtest.latin1.add
[?25l"Xtest.latin1.add" [New File] 3 lines, 38 characters written[?12l[?25h[?25l:[?12l[?25hmkspell! Xtest.latin1.add.spl Xtest.latin1.add
[?25lReading word file Xtest.latin1.add ...
Compressing word tree...

Compressed 0 of 29 nodes; 29 (100%) remaining

Writing spell file Xtest.latin1.add.spl ...

Done!

Estimated runtime memory use: 145 bytes

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hset spellfile=Xtest.latin1.add
[?25lasdTests for spell checking.     vim: set ft=vim :

STARTTEST
:so small.vim
:"
:" Don't want to depend on the locale from the environment[?12l[?25h[?25l/[?12l[?25h^test2:
[?25l2good: puts
badend

addstart
/regions=usgbnz
elequint/2
elekwint/3
addend

test2:
elequint test elekwint test elekwent asdf

Test rules for compounding.

3affstart
SET ISO8859-1

COMPOUNDMIN 3
COMPOUNDRULE m*
NEEDCOMPOUND x
3affend[?12l[?25h[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25linputs
['input', 'puts', 'outputs']
comment
['Comment', 'outtest', 'the end']
ok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
[?12l[?25h[?25l
:[?12l[?25hset spl=Xtest_us.latin1.spl
[?25l[?12l[?25h[?25l/[?12l[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOP2good: puts
badend

addstart
/regions=usgbnz
elequint/2
elekwint/3
addend

test2:
elequint test elekwint test elekwent asdf

Test rules for compounding.

3affstart
SET ISO8859-1

COMPOUNDMIN 3
COMPOUNDRULE m*
NEEDCOMPOUND x
3affend
search hit BOTTOM, continuing at TOP[?12l[?25h
[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25l['input', 'puts', 'outputs']
comment
['Comment', 'outtest', 'the end']
ok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
[?12l[?25h[?25l2good: puts
badend

addstart
/regions=usgbnz
elequint/2
elekwint/3
addend

test2:
elequint test elekwint test elekwent asdf

Test rules for compounding.

3affstart
SET ISO8859-1

COMPOUNDMIN 3
COMPOUNDRULE m*
NEEDCOMPOUND x
3affend[?12l[?25h[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25lcomment
['Comment', 'outtest', 'the end']
ok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
[?12l[?25h[?25l
:[?12l[?25hset spl=Xtest_gb.latin1.spl
[?25lelequint
[?12l[?25h[?25l/[?12l[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOP2good: puts
badend

addstart
/regions=usgbnz
elequint/2
elekwint/3
addend

test2:
elequint test elekwint test elekwent asdf

Test rules for compounding.

3affstart
SET ISO8859-1

COMPOUNDMIN 3
COMPOUNDRULE m*
NEEDCOMPOUND x
3affend
search hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25l['Comment', 'outtest', 'the end']
ok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
elekwint
[?12l[?25h[?25l2good: puts
badend

addstart
/regions=usgbnz
elequint/2
elekwint/3
addend

test2:
elequint test elekwint test elekwent asdf

Test rules for compounding.

3affstart
SET ISO8859-1

COMPOUNDMIN 3
COMPOUNDRULE m*
NEEDCOMPOUND x
3affend[?12l[?25h[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25lok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
elekwint
elekwent
[?12l[?25h[?25l
:[?12l[?25hset spl=Xtest_nz.latin1.spl
[?25lelequint
elekwint
elekwint
[?12l[?25h[?25l/[?12l[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOP2good: puts
badend

addstart
/regions=usgbnz
elequint/2
elekwint/3
addend

test2:
elequint test elekwint test elekwent asdf

Test rules for compounding.

3affstart
SET ISO8859-1

COMPOUNDMIN 3
COMPOUNDRULE m*
NEEDCOMPOUND x
3affend
search hit BOTTOM, continuing at TOP[?12l[?25h
[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25l['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
elekwint
elekwent
elequint
[?12l[?25h[?25l2good: puts
badend

addstart
/regions=usgbnz
elequint/2
elekwint/3
addend

test2:
elequint test elekwint test elekwent asdf

Test rules for compounding.

3affstart
SET ISO8859-1

COMPOUNDMIN 3
COMPOUNDRULE m*
NEEDCOMPOUND x
3affend[?12l[?25h[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25lOk
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
elekwint
elekwent
elequint
elekwent
[?12l[?25h[?25l
:[?12l[?25hset spl=Xtest_ca.latin1.spl
[?25lelequint
elekwint
elekwint

elequint
[?12l[?25h[?25l/[?12l[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOP2good: puts
badend

addstart
/regions=usgbnz
elequint/2
elekwint/3
addend

test2:
elequint test elekwint test elekwent asdf

Test rules for compounding.

3affstart
SET ISO8859-1

COMPOUNDMIN 3
COMPOUNDRULE m*
NEEDCOMPOUND x
3affend
search hit BOTTOM, continuing at TOP[?12l[?25h
[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25l['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
elekwint
elekwent
elequint
elekwent
elequint
[?12l[?25h[?25l2good: puts
badend

addstart
/regions=usgbnz
elequint/2
elekwint/3
addend

test2:
elequint test elekwint test elekwent asdf

Test rules for compounding.

3affstart
SET ISO8859-1

COMPOUNDMIN 3
COMPOUNDRULE m*
NEEDCOMPOUND x
3affend[?12l[?25h[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25ltest
['Test', 'testn', 'testen']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
elekwint
elekwent
elequint
elekwent
elequint
elekwint
[?12l[?25h[?25l
:[?12l[?25hunlet str a
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Postponed prefixes
[?25l[?12l[?25h[?25l:[?12l[?25hcall TestOne('2', '1')
[?25l"Xtest.aff" 44 lines, 447 characters written

"Xtest.dic" 11 lines, 71 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - test
Compressing word tree...
Compressed 10 of 98 nodes; 88 (89%) remaining

Compressed 0 of 13 nodes; 13 (100%) remaining

Writing spell file Xtest.latin1.spl ...

Done!

Estimated runtime memory use: 505 bytes

17 lines yanked

17 more lines

2affend

2good: puts
badendaddstar
/regions=usgbnz
elequ/2/3
addendtest2:test elekwint test elekwent asdf[?12l[?25h[?25l:[?12l[?25h" Compound words
[?25l[?12l[?25h[?25l:[?12l[?25hcall TestOne('3', '3')
[?25l"Xtest.aff" 5 lines, 60 characters written

"Xtest.dic" 5 lines, 29 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - foo
Compressing word tree...
Compressed 6 of 29 nodes; 23 (79%) remaining

Writing spell file Xtest.latin1.spl ...

Done!

Estimated runtime memory use: 115 bytes

3 lines yanked

3 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hcall TestOne('4', '4')
[?25l"Xtest.aff" 45 lines, 559 characters written

"Xtest.dic" 8 lines, 59 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - word
Compressing word tree...
Compressed 2 of 91 nodes; 89 (97%) remaining

Compressed 0 of 15 nodes; 15 (100%) remaining

Writing spell file Xtest.latin1.spl ...

Done!

Estimated runtime memory use: 520 bytes

12 lines yanked

12 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hcall TestOne('5', '5')
[?25l"Xtest.aff" 25 lines, 237 characters written

"Xtest.dic" 6 lines, 57 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - foo
Compressing word tree...
Compressed 19 of 105 nodes; 86 (81%) remaining

Writing spell file Xtest.latin1.spl ...

Done!

Estimated runtime memory use: 440 bytes

10 lines yanked

10 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hcall TestOne('6', '6')
[?25l"Xtest.aff" 23 lines, 211 characters written

"Xtest.dic" 6 lines, 53 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - mee
Compressing word tree...
Compressed 19 of 87 nodes; 68 (78%) remaining

Writing spell file Xtest.latin1.spl ...

Done!

Estimated runtime memory use: 350 bytes

9 lines yanked

9 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hcall TestOne('7', '7')
[?25l"Xtest.aff" 22 lines, 223 characters written

"Xtest.dic" 6 lines, 67 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - mee
Compressing word tree...
Compressed 19 of 89 nodes; 70 (78%) remaining

Writing spell file Xtest.latin1.spl ...

Done!

Estimated runtime memory use: 360 bytes

9 lines yanked

9 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h"
[?25l1234
mee/391,111,9999
bar/17,61003,123
lead/2
tail/123
middle/77,1
7dicend

bad: mee meea2 prabar probarmaat middle leadmiddle middletail tailleadleadprobar
badend

Test NOSLITSUGS

8affstart
SET ISO8859-1

NOSPLITSUGS
8affend

8dicstart[?12l[?25h[?25l:[?12l[?25h" NOSLITSUGS
[?25l[?12l[?25h[?25l:[?12l[?25hcall TestOne('8', '8')
[?25l"Xtest.aff" 3 lines, 27 characters written

"Xtest.dic" 4 lines, 20 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - foo
Compressing word tree...
Compressed 8 of 26 nodes; 18 (69%) remaining

Writing spell file Xtest.latin1.spl ...

Done!

Estimated runtime memory use: 90 bytes

4 lines yanked

4 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h"
[?25lNOSPLITSUGS
8affend

8dicstart
1234
foo
bar
faabar
8dicend

8good: foo bar faabar
bad: foobar barfootest output:test 1-1# file: Xtest.latin1.spl
input[?12l[?25h[?25l:[?12l[?25h" clean up for valgrind
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc TestOne
[?25l[?12l[?25h[?25l:[?12l[?25hset spl= enc=latin1
[?25lNOSPLITSUGS
8affend

8dicstart
1234
foo
bar
faabar
8dicend

8good: foo bar faabar
bad: foobar barfoo
badend


test output:

test 1-1
# file: Xtest.latin1.spl
Comment
deol
input[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25lasdTests for spell checking.     vim: set ft=vim :

STARTTEST
:so small.vim
:"
:" Don't want to depend on the locale from the environment
:set enc=latin1
:e!
:"
:" Check using z= in new buffer (crash fixed by patch 7.4a.028).
:set maxmem=512 spell
iasd^[z=:"
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=
  $put =''
  $put ='test '. a:aff . '-' . a:dic
  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest
  " use that spell file[?12l[?25h[?25l:[?12l[?25h/^test output:/,$wq! test.out
[?25l"test.out" [New File] 283 lines, 3793 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test59.failed test.ok test.out X* viminfo
cp test59.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test59.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test59.in" 626 lines, 10897 charactersTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :

STARTTEST
:so small.vim
:so mbyte.vim
:"
:" Don't want to depend on the locale from the environment.  The .aff and .dic
:" text is in latin1, the test text is utf-8.
:set enc=latin1
:e!
:set enc=utf-8
:set fenc=
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=
  $put =''
  $put ='test '. a:aff . '-' . a:dic
  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest
  " use that spell file[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 106 lines, 2520 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:call TestOne('3', '3')
:call TestOne('4', '4')
:call TestOne('5', '5')
:call TestOne('6', '6')
:call TestOne('7', '7')
:"
:" clean up for valgrind
:delfunc TestOne
:set spl= enc=latin1
:"
gg:/^test output:/,$wq! test.out
ENDTEST

1affstart
SET ISO8859-1


[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Don't want to depend on the locale from the environment.  The .aff and .dic
[?25l[?12l[?25h[?25l:[?12l[?25h" text is in latin1, the test text is utf-8.
[?25l[?12l[?25h[?25l:[?12l[?25hset enc=latin1
[?25l:call TestOne('3', '3')
:call TestOne('4', '4')
:call TestOne('5', '5')
:call TestOne('6', '6')
:call TestOne('7', '7')
:"
:" clean up for valgrind
:delfunc TestOne
:set spl= enc=latin1
:"
gg:/^test output:/,$wq! test.out
ENDTEST

1affstart
SET ISO8859-1


:" text is in latin1, the test text is utf-8.enc=latin1e!
:set enc=utf-8:set fenc=
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=$put =''
  $put ='test '. a:aff . '-' . a:dic  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest  " use that spell file[?12l[?25h[?25l:[?12l[?25hset enc=utf-8
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :

STARTTEST
:so small.vim
:so mbyte.vim
:"
:" Don't want to depend on the locale from the environment.  The .aff and .dic
:" text is in latin1, the test text is utf-8.
:set enc=latin1
:e!
:set enc=utf-8
:set fenc=
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=
  $put =''
  $put ='test '. a:aff . '-' . a:dic
  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest
  " use that spell file[?12l[?25h[?25l:[?12l[?25hset fenc=
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Function to test .aff/.dic with list of good and bad words.
[?25l[?12l[?25h[?25l:[?12l[?25hfunc TestOne(aff, dic)
[?25l
:  [?12l[?25h  set spellfile=

[?25l:  [?12l[?25h  $put =''

[?25l:  [?12l[?25h  $put ='test '. a:aff . '-' . a:dic

[?25l:  [?12l[?25h  " Generate a .spl file from a .dic and .aff file.

[?25l:  [?12l[?25h  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

[?25l:  [?12l[?25h  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

[?25l:  [?12l[?25h  mkspell! Xtest Xtest

[?25l:  [?12l[?25h  " use that spell file

[?25l:  [?12l[?25h  set spl=Xtest.utf-8.spl spell

[?25l:  [?12l[?25h  " list all valid words

[?25l:  [?12l[?25h  spelldump

[?25l:  [?12l[?25h  %yank

[?25l:  [?12l[?25h  quit

[?25l:  [?12l[?25h  $put

[?25l:  [?12l[?25h  $put ='-------'

[?25l:  [?12l[?25h  " find all bad words and suggestions for them

[?25l:  [?12l[?25h  exe '1;/^' . a:aff . 'good:'

[?25l:  [?12l[?25h  normal 0f:]s

[?25l:  [?12l[?25h  let prevbad = ''

[?25l:  [?12l[?25h  while 1

[?25l:    [?12l[?25h    let [bad, a] = spellbadword()

[?25l:    [?12l[?25h    if bad == '' || bad == prevbad || bad == 'badend'

[?25l:      [?12l[?25h      break

[?25l:      [?12l[?25h    endif

[?25l:    [?12l[?25h    let prevbad = bad

[?25l:    [?12l[?25h    let lst = spellsuggest(bad, 3)

[?25l:    [?12l[?25h    normal mm

[?25l:    [?12l[?25h    $put =bad

[?25l:    [?12l[?25h    $put =string(lst)

[?25l:    [?12l[?25h    normal `m]s

[?25l:    [?12l[?25h  endwhile

[?25l:  [?12l[?25hendfunc
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :

STARTTEST
:so small.vim
:so mbyte.vim
:"
:" Don't want to depend on the locale from the environment.  The .aff and .dic
:" text is in latin1, the test text is utf-8.
:set enc=latin1
:e!
:set enc=utf-8
:set fenc=
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=
  $put =''
  $put ='test '. a:aff . '-' . a:dic
  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest
  " use that spell file[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall TestOne('1', '1')
[?25l"Xtest.aff" [New File] 48 lines, 768 characters written

"Xtest.dic" [New File] 11 lines, 71 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - test
Compressing word tree...
Compressed 29 of 131 nodes; 102 (77%) remaining

Writing spell file Xtest.utf-8.spl ...

Done!

Estimated runtime memory use: 510 bytes

Reading back spell file...

Performing soundfolding...

Total number of words: 16

Number of words after soundfolding: 16

Compressing word tree...

Compressed 39 of 104 nodes; 65 (62%) remaining

Writing suggestion file Xtest.utf-8.sug ...

Estimated runtime memory use: 357 bytes

17 lines yanked

17 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h$put =soundfold('goobledygoook')
[?25lthe end
uk
wrong
-------
bad
['put', 'uk', 'OK']
inputs
['input', 'puts', 'outputs']
comment
['Comment', 'outtest', 'the end']
ok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
déôl
['deol', 'déôr', 'test']
end
['put', 'uk', 'test']the['put', 'uk', 'test']gebletegek[?12l[?25h[?25l
:[?12l[?25h$put =soundfold('kóopërÿnôven')
[?25l
kepereneven[?12l[?25h[?25l
:[?12l[?25h$put =soundfold('oeverloos gezwets edale')
[?25l
everles gesvets etele[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" and now with SAL instead of SOFO items; test automatic reloading
[?25l[?12l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :

STARTTEST
:so small.vim
:so mbyte.vim
:"
:" Don't want to depend on the locale from the environment.  The .aff and .dic
:" text is in latin1, the test text is utf-8.
:set enc=latin1
:e!
:set enc=utf-8
:set fenc=
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=
  $put =''
  $put ='test '. a:aff . '-' . a:dic
  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest
  " use that spell file[?12l[?25h[?25l:[?12l[?25h/^affstart_sal/+1,/^affend_sal/-1w! Xtest.aff
[?25l"Xtest.aff" 153 lines, 3426 characters written[?12l[?25h[?25l:[?12l[?25hmkspell! Xtest Xtest
[?25lReading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - test
Compressing word tree...
Compressed 29 of 131 nodes; 102 (77%) remaining

Writing spell file Xtest.utf-8.spl ...

Done!

Estimated runtime memory use: 510 bytes

Performing soundfolding...

Total number of words: 16

Number of words after soundfolding: 15

Compressing word tree...

Compressed 33 of 75 nodes; 42 (56%) remaining

Writing suggestion file Xtest.utf-8.sug ...

Estimated runtime memory use: 241 bytes

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h$put =soundfold('goobledygoook')
[?25l-------
bad
['put', 'uk', 'OK']
inputs
['input', 'puts', 'outputs']
comment
['Comment', 'outtest', 'the end']
ok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
déôl
['deol', 'déôr', 'test']
end['put', 'uk', 'test']
the['put', 'uk', 'test']gebletegekkepereneveneverles gesvet etelekbltykk[?12l[?25h[?25l
:[?12l[?25h$put =soundfold('kóopërÿnôven')
[?25l
kprnfn[?12l[?25h[?25l
:[?12l[?25h$put =soundfold('oeverloos gezwets edale')
[?25l
*fls kswts tl[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" also use an addition file
[?25l[?12l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :

STARTTEST
:so small.vim
:so mbyte.vim
:"
:" Don't want to depend on the locale from the environment.  The .aff and .dic
:" text is in latin1, the test text is utf-8.
:set enc=latin1
:e!
:set enc=utf-8
:set fenc=
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=
  $put =''
  $put ='test '. a:aff . '-' . a:dic
  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest
  " use that spell file[?12l[?25h[?25l:[?12l[?25h/^addstart/+1,/^addend/-1w! Xtest.utf-8.add
[?25l"Xtest.utf-8.add" [New File] 3 lines, 38 characters written[?12l[?25h[?25l:[?12l[?25hmkspell! Xtest.utf-8.add.spl Xtest.utf-8.add
[?25lReading word file Xtest.utf-8.add ...
Compressing word tree...

Compressed 0 of 29 nodes; 29 (100%) remaining

Writing spell file Xtest.utf-8.add.spl ...

Done!

Estimated runtime memory use: 145 bytes

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hset spellfile=Xtest.utf-8.add
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :

STARTTEST
:so small.vim
:so mbyte.vim
:"[?12l[?25h[?25l/[?12l[?25h^test2:
[?25ltomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword
bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword
badend

test2:
elequint test elekwint test elekwent asdf

Test affix flags with two characters

5affstart
SET ISO8859-1

FLAG long

NEEDAFFIX !![?12l[?25h[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25linputs
['input', 'puts', 'outputs']
comment
['Comment', 'outtest', 'the end']
ok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
déôl
['deol', 'déôr', 'test']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
[?12l[?25h[?25l
:[?12l[?25hset spl=Xtest_us.utf-8.spl
[?25l[?12l[?25h[?25l/[?12l[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword
bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword
badend

test2:
elequint test elekwint test elekwent asdf

Test affix flags with two characters

5affstart
SET ISO8859-1

FLAG long

NEEDAFFIX !!

search hit BOTTOM, continuing at TOP[?12l[?25h
[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25l['input', 'puts', 'outputs']
comment
['Comment', 'outtest', 'the end']
ok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
déôl
['deol', 'déôr', 'test']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
[?12l[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword
bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword
badend

test2:
elequint test elekwint test elekwent asdf

Test affix flags with two characters

5affstart
SET ISO8859-1

FLAG long

NEEDAFFIX !!

COMPOUNDRULE ssmm*ee[?12l[?25h[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25lcomment
['Comment', 'outtest', 'the end']
ok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
déôl
['deol', 'déôr', 'test']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
[?12l[?25h[?25l
:[?12l[?25hset spl=Xtest_gb.utf-8.spl
[?25lelequint
[?12l[?25h[?25l/[?12l[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword
bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword
badend

test2:
elequint test elekwint test elekwent asdf

Test affix flags with two characters

5affstart
SET ISO8859-1

FLAG long

NEEDAFFIX !!

search hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25l['Comment', 'outtest', 'the end']
ok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
déôl
['deol', 'déôr', 'test']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
elekwint
[?12l[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword
bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword
badend

test2:
elequint test elekwint test elekwent asdf

Test affix flags with two characters

5affstart
SET ISO8859-1

FLAG long

NEEDAFFIX !!

COMPOUNDRULE ssmm*ee[?12l[?25h[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25lok
['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
déôl
['deol', 'déôr', 'test']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
elekwint
elekwent
[?12l[?25h[?25l
:[?12l[?25hset spl=Xtest_nz.utf-8.spl
[?25lelequint
elekwint
elekwint
[?12l[?25h[?25l/[?12l[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword
bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword
badend

test2:
elequint test elekwint test elekwent asdf

Test affix flags with two characters

5affstart
SET ISO8859-1

FLAG long

NEEDAFFIX !!

search hit BOTTOM, continuing at TOP[?12l[?25h
[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25l['OK', 'uk', 'put']
Ok
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
déôl
['deol', 'déôr', 'test']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
elekwint
elekwent
elequint
[?12l[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword
bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword
badend

test2:
elequint test elekwint test elekwent asdf

Test affix flags with two characters

5affstart
SET ISO8859-1

FLAG long

NEEDAFFIX !!

COMPOUNDRULE ssmm*ee[?12l[?25h[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25lOk
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
déôl
['deol', 'déôr', 'test']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
elekwint
elekwent
elequint
elekwent
[?12l[?25h[?25l
:[?12l[?25hset spl=Xtest_ca.utf-8.spl
[?25lelequint
elekwint
elekwint

elequint
[?12l[?25h[?25l/[?12l[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword
bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword
badend

test2:
elequint test elekwint test elekwent asdf

Test affix flags with two characters

5affstart
SET ISO8859-1

FLAG long

NEEDAFFIX !!

search hit BOTTOM, continuing at TOP[?12l[?25h
[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25l['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
déôl
['deol', 'déôr', 'test']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
elekwint
elekwent
elequint
elekwent
elequint
[?12l[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword
bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword
badend

test2:
elequint test elekwint test elekwent asdf

Test affix flags with two characters

5affstart
SET ISO8859-1

FLAG long

NEEDAFFIX !!

COMPOUNDRULE ssmm*ee[?12l[?25h[?25l:[?12l[?25hlet [str, a] = spellbadword()
[?25l[?12l[?25h[?25l:[?12l[?25h$put =str
[?25ltest
['Test', 'testn', 'testen']
déôl
['deol', 'déôr', 'test']
end
['put', 'uk', 'test']
the
['put', 'uk', 'test']
gebletegek
kepereneven
everles gesvets etele
kbltykk
kprnfn
*fls kswts tl
elekwent
elequint
elekwint
elekwint
elekwent
elequint
elekwent
elequint
elekwint
[?12l[?25h[?25l
:[?12l[?25hunlet str a
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Postponed prefixes
[?25l[?12l[?25h[?25l:[?12l[?25hcall TestOne('2', '1')
[?25l"Xtest.aff" 46 lines, 461 characters written

"Xtest.dic" 11 lines, 71 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - test
Compressing word tree...
Compressed 10 of 102 nodes; 92 (90%) remaining

Compressed 0 of 13 nodes; 13 (100%) remaining

Writing spell file Xtest.utf-8.spl ...

Done!

Estimated runtime memory use: 525 bytes

17 lines yanked

17 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h"
[?25laddstart
/regions=usgbnz
elequint/2
elekwint/3
addend

1good: wrong OK puts. Test the end
bad:  inputs comment ok Ok. test déôl end the
badend

2good: puts
bad: inputs comment ok Ok end the. test déôl
badendTest rules for compounding.3affstart
SET ISO8859-1COMPOUNDMIN 3
COMPOUNDRULE m*
NEEDCOMPOUND x
3affend[?12l[?25h[?25l:[?12l[?25h" Compound words
[?25l[?12l[?25h[?25l:[?12l[?25hcall TestOne('3', '3')
[?25l"Xtest.aff" 5 lines, 60 characters written

"Xtest.dic" 5 lines, 29 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - foo
Compressing word tree...
Compressed 6 of 31 nodes; 25 (80%) remaining

Writing spell file Xtest.utf-8.spl ...

Done!

Estimated runtime memory use: 125 bytes

3 lines yanked

3 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hcall TestOne('4', '4')
[?25l"Xtest.aff" 45 lines, 559 characters written

"Xtest.dic" 8 lines, 59 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - word
Compressing word tree...
Compressed 2 of 91 nodes; 89 (97%) remaining

Compressed 0 of 15 nodes; 15 (100%) remaining

Writing spell file Xtest.utf-8.spl ...

Done!

Estimated runtime memory use: 520 bytes

12 lines yanked

12 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hcall TestOne('5', '5')
[?25l"Xtest.aff" 25 lines, 237 characters written

"Xtest.dic" 6 lines, 57 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - foo
Compressing word tree...
Compressed 19 of 107 nodes; 88 (82%) remaining

Writing spell file Xtest.utf-8.spl ...

Done!

Estimated runtime memory use: 440 bytes

10 lines yanked

10 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hcall TestOne('6', '6')
[?25l"Xtest.aff" 23 lines, 211 characters written

"Xtest.dic" 6 lines, 53 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - mee
Compressing word tree...
Compressed 19 of 89 nodes; 70 (78%) remaining

Writing spell file Xtest.utf-8.spl ...

Done!

Estimated runtime memory use: 350 bytes

9 lines yanked

9 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hcall TestOne('7', '7')
[?25l"Xtest.aff" 26 lines, 338 characters written

"Xtest.dic" 6 lines, 67 characters written

Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...

line      2, word      0 - mee
Compressing word tree...
Compressed 19 of 91 nodes; 72 (79%) remaining

Writing spell file Xtest.utf-8.spl ...

Done!

Estimated runtime memory use: 360 bytes

9 lines yanked

9 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h"
[?25l1234
mee/391,111,9999
bar/17,61003,123
lead/2
tail/123
middle/77,1
7dicend

7good: meea1 meeaé bar prebar barmeat prebarmeat  leadprebarlead tail leadtail  leadmiddletail
bad: mee meea2 prabar probarmaat middle leadmiddle middletail tailleadleadprobar
badend

test output:

test 1-1
# file: Xtest.utf-8.spl
Comment
deol
déôr
input
OK[?12l[?25h[?25l:[?12l[?25h" clean up for valgrind
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc TestOne
[?25l[?12l[?25h[?25l:[?12l[?25hset spl= enc=latin1
[?25l1234
mee/391,111,9999
bar/17,61003,123
lead/2
tail/123
middle/77,1
7dicend

7good: meea1 meeaé bar prebar barmeat prebarmeat  leadprebarlead tail leadtail  leadmiddletail
bad: mee meea2 prabar probarmaat middle leadmiddle middletail tailleadleadprobar
badend

test output:

test 1-1
# file: Xtest.utf-8.spl
Comment
deol
déôr
input
OK[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :

STARTTEST
:so small.vim
:so mbyte.vim
:"
:" Don't want to depend on the locale from the environment.  The .aff and .dic
:" text is in latin1, the test text is utf-8.
:set enc=latin1
:e!
:set enc=utf-8
:set fenc=
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
  set spellfile=
  $put =''
  $put ='test '. a:aff . '-' . a:dic
  " Generate a .spl file from a .dic and .aff file.
  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
  mkspell! Xtest Xtest
  " use that spell file[?12l[?25h[?25l:[?12l[?25h/^test output:/,$wq! test.out
[?25l"test.out" [New File] 270 lines, 3685 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test60.failed test.ok test.out X* viminfo
cp test60.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test60.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test60.in" 610 lines, 13323 charactersTests for the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :

STARTTEST
:so small.vim
:function! RunTest(str, result)
    if exists(a:str) == a:resultecho "OK"
    elseecho "FAILED: Checking for " . a:str
    endif
endfunction
:function! TestExists()
    augroup myagroupautocmd! BufEnter*.my     echo "myfile edited"autocmd! FuncUndefined  UndefFun exec "fu UndefFun()\nendfu"
    augroup END
    set rtp+=./sautestlet test_cases = []" valid autocmd group
    let test_cases += [['#myagroup', 1]]
    " valid autocmd group with garbage[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 605 lines, 13230 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTredir END
endfunction
:call TestExists()
:"
:function TestHas()
  redir >> test.out
  for pl in ['6.9.999', '7.1.999', '7.4.123', '9.1.0', '9.9.1']
    echo 'has patch ' . pl . ': ' . has('patch-' . pl)
  endfor
  redir END
endfunc
:call TestHas()
:"
:delfunc TestExists
:delfunc RunTest
:delfunc TestFuncArg
:edit! test.out
:set ff=unix
:w
:qa!
:while getchar(1) | call getchar() | endwhile
ENDTEST
[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hfunction! RunTest(str, result)
[?25l
:  [?12l[?25h    if exists(a:str) == a:result

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED: Checking for " . a:str

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25hendfunction
[?25lredir END
endfunction
:call TestExists()
:"
:function TestHas()
  redir >> test.out[?12l[?25h[?25l
:[?12l[?25hfunction! TestExists()
[?25l
:  [?12l[?25h    augroup myagroup

[?25l:  [?12l[?25h^Iautocmd! BufEnter       *.my     echo "myfile edited"

[?25l:  [?12l[?25h^Iautocmd! FuncUndefined  UndefFun exec "fu UndefFun()\nendfu"

[?25l:  [?12l[?25h    augroup END

[?25l:  [?12l[?25h    set rtp+=./sautest

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    let test_cases = []

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " valid autocmd group

[?25l:  [?12l[?25h    let test_cases += [['#myagroup', 1]]

[?25l:  [?12l[?25h    " valid autocmd group with garbage

[?25l:  [?12l[?25h    let test_cases += [['#myagroup+b', 0]]

[?25l:  [?12l[?25h    " Valid autocmd group and event

[?25l:  [?12l[?25h    let test_cases += [['#myagroup#BufEnter', 1]]

[?25l:  [?12l[?25h    " Valid autocmd group, event and pattern

[?25l:  [?12l[?25h    let test_cases += [['#myagroup#BufEnter#*.my', 1]]

[?25l:  [?12l[?25h    " Valid autocmd event

[?25l:  [?12l[?25h    let test_cases += [['#BufEnter', 1]]

[?25l:  [?12l[?25h    " Valid autocmd event and pattern

[?25l:  [?12l[?25h    let test_cases += [['#BufEnter#*.my', 1]]

[?25l:  [?12l[?25h    " Non-existing autocmd group or event

[?25l:  [?12l[?25h    let test_cases += [['#xyzagroup', 0]]

[?25l:  [?12l[?25h    " Non-existing autocmd group and valid autocmd event

[?25l:  [?12l[?25h    let test_cases += [['#xyzagroup#BufEnter', 0]]

[?25l:  [?12l[?25h    " Valid autocmd group and event with no matching pattern

[?25l:  [?12l[?25h    let test_cases += [['#myagroup#CmdwinEnter', 0]]

[?25l:  [?12l[?25h    " Valid autocmd group and non-existing autocmd event

[?25l:  [?12l[?25h    let test_cases += [['#myagroup#xyzacmd', 0]]

[?25l:  [?12l[?25h    " Valid autocmd group and event and non-matching pattern

[?25l:  [?12l[?25h    let test_cases += [['#myagroup#BufEnter#xyzpat', 0]]

[?25l:  [?12l[?25h    " Valid autocmd event and non-matching pattern

[?25l:  [?12l[?25h    let test_cases += [['#BufEnter#xyzpat', 0]]

[?25l:  [?12l[?25h    " Empty autocmd group, event and pattern

[?25l:  [?12l[?25h    let test_cases += [['###', 0]]

[?25l:  [?12l[?25h    " Empty autocmd group and event or empty event and pattern

[?25l:  [?12l[?25h    let test_cases += [['##', 0]]

[?25l:  [?12l[?25h    " Valid autocmd event

[?25l:  [?12l[?25h    let test_cases += [['##FileReadCmd', 1]]

[?25l:  [?12l[?25h    " Non-existing autocmd event

[?25l:  [?12l[?25h    let test_cases += [['##MySpecialCmd', 0]]

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing and working option (long form)

[?25l:  [?12l[?25h    let test_cases += [['&textwidth', 1]]

[?25l:  [?12l[?25h    " Existing and working option (short form)

[?25l:  [?12l[?25h    let test_cases += [['&tw', 1]]

[?25l:  [?12l[?25h    " Existing and working option with garbage

[?25l:  [?12l[?25h    let test_cases += [['&tw-', 0]]

[?25l:  [?12l[?25h    " Global option

[?25l:  [?12l[?25h    let test_cases += [['&g:errorformat', 1]]

[?25l:  [?12l[?25h    " Local option

[?25l:  [?12l[?25h    let test_cases += [['&l:errorformat', 1]]

[?25l:  [?12l[?25h    " Negative form of existing and working option (long form)

[?25l:  [?12l[?25h    let test_cases += [['&nojoinspaces', 0]]

[?25l:  [?12l[?25h    " Negative form of existing and working option (short form)

[?25l:  [?12l[?25h    let test_cases += [['&nojs', 0]]

[?25l:  [?12l[?25h    " Non-existing option

[?25l:  [?12l[?25h    let test_cases += [['&myxyzoption', 0]]

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing and working option (long form)

[?25l:  [?12l[?25h    let test_cases += [['+incsearch', 1]]

[?25l:  [?12l[?25h    " Existing and working option with garbage

[?25l:  [?12l[?25h    let test_cases += [['+incsearch!1', 0]]

[?25l:  [?12l[?25h    " Existing and working option (short form)

[?25l:  [?12l[?25h    let test_cases += [['+is', 1]]

[?25l:  [?12l[?25h    " Existing option that is hidden.

[?25l:  [?12l[?25h    let test_cases += [['+autoprint', 0]]

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing environment variable

[?25l:  [?12l[?25h    let $EDITOR_NAME = 'Vim Editor'

[?25l:  [?12l[?25h    let test_cases += [['$EDITOR_NAME', 1]]

[?25l:  [?12l[?25h    " Non-existing environment variable

[?25l:  [?12l[?25h    let test_cases += [['$NON_ENV_VAR', 0]]

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Valid internal function

[?25l:  [?12l[?25h    let test_cases += [['*bufnr', 1]]

[?25l:  [?12l[?25h    " Valid internal function with ()

[?25l:  [?12l[?25h    let test_cases += [['*bufnr()', 1]]

[?25l:  [?12l[?25h    " Non-existing internal function

[?25l:  [?12l[?25h    let test_cases += [['*myxyzfunc', 0]]

[?25l:  [?12l[?25h    " Valid internal function with garbage

[?25l:  [?12l[?25h    let test_cases += [['*bufnr&6', 0]]

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Valid user defined function

[?25l:  [?12l[?25h    let test_cases += [['*TestExists', 1]]

[?25l:  [?12l[?25h    " Non-existing user defined function

[?25l:  [?12l[?25h    let test_cases += [['*MyxyzFunc', 0]]

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Function that may be created by FuncUndefined event

[?25l:  [?12l[?25h    let test_cases += [['*UndefFun', 0]]

[?25l:  [?12l[?25h    " Function that may be created by script autoloading

[?25l:  [?12l[?25h    let test_cases += [['*footest#F', 0]]

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    redir! > test.out

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    for [test_case, result] in test_cases

[?25l:    [?12l[?25h        echo test_case . ": " . result

[?25l:    [?12l[?25h        call RunTest(test_case, result)

[?25l:    [?12l[?25h    endfor

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Valid internal command (full match)

[?25l:  [?12l[?25h    echo ':edit: 2'

[?25l:  [?12l[?25h    if exists(':edit') == 2

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Valid internal command (full match) with garbage

[?25l:  [?12l[?25h    echo ':edit/a: 0'

[?25l:  [?12l[?25h    if exists(':edit/a') == 0

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Valid internal command (partial match)

[?25l:  [?12l[?25h    echo ':q: 1'

[?25l:  [?12l[?25h    if exists(':q') == 1

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing internal command

[?25l:  [?12l[?25h    echo ':invalidcmd: 0'

[?25l:  [?12l[?25h    if !exists(':invalidcmd')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " User defined command (full match)

[?25l:  [?12l[?25h    command! MyCmd :echo 'My command'

[?25l:  [?12l[?25h    echo ':MyCmd: 2'

[?25l:  [?12l[?25h    if exists(':MyCmd') == 2

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " User defined command (partial match)

[?25l:  [?12l[?25h    command! MyOtherCmd :echo 'Another command'

[?25l:  [?12l[?25h    echo ':My: 3'

[?25l:  [?12l[?25h    if exists(':My') == 3

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Command modifier

[?25l:  [?12l[?25h    echo ':rightbelow: 2'

[?25l:  [?12l[?25h    if exists(':rightbelow') == 2

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing user defined command (full match)

[?25l:  [?12l[?25h    delcommand MyCmd

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    echo ':MyCmd: 0'

[?25l:  [?12l[?25h    if !exists(':MyCmd')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing user defined command (partial match)

[?25l:  [?12l[?25h    delcommand MyOtherCmd

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    echo ':My: 0'

[?25l:  [?12l[?25h    if !exists(':My')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Valid local variable

[?25l:  [?12l[?25h    let local_var = 1

[?25l:  [?12l[?25h    echo 'local_var: 1'

[?25l:  [?12l[?25h    if exists('local_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Valid local variable with garbage

[?25l:  [?12l[?25h    let local_var = 1

[?25l:  [?12l[?25h    echo 'local_var%n: 0'

[?25l:  [?12l[?25h    if !exists('local_var%n')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing local variable

[?25l:  [?12l[?25h    unlet local_var

[?25l:  [?12l[?25h    echo 'local_var: 0'

[?25l:  [?12l[?25h    if !exists('local_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing autoload variable that may be autoloaded

[?25l:  [?12l[?25h    echo 'footest#x: 0'

[?25l:  [?12l[?25h    if !exists('footest#x')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Valid local list

[?25l:  [?12l[?25h    let local_list = ["blue", "orange"]

[?25l:  [?12l[?25h    echo 'local_list: 1'

[?25l:  [?12l[?25h    if exists('local_list')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Valid local list item

[?25l:  [?12l[?25h    echo 'local_list[1]: 1'

[?25l:  [?12l[?25h    if exists('local_list[1]')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Valid local list item with garbage

[?25l:  [?12l[?25h    echo 'local_list[1]+5: 0'

[?25l:  [?12l[?25h    if !exists('local_list[1]+5')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Invalid local list item

[?25l:  [?12l[?25h    echo 'local_list[2]: 0'

[?25l:  [?12l[?25h    if !exists('local_list[2]')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing local list

[?25l:  [?12l[?25h    unlet local_list

[?25l:  [?12l[?25h    echo 'local_list: 0'

[?25l:  [?12l[?25h    if !exists('local_list')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Valid local dictionary

[?25l:  [?12l[?25h    let local_dict = {"xcord":100, "ycord":2}

[?25l:  [?12l[?25h    echo 'local_dict: 1'

[?25l:  [?12l[?25h    if exists('local_dict')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing local dictionary

[?25l:  [?12l[?25h    unlet local_dict

[?25l:  [?12l[?25h    echo 'local_dict: 0'

[?25l:  [?12l[?25h    if !exists('local_dict')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing local curly-brace variable

[?25l:  [?12l[?25h    let str = "local"

[?25l:  [?12l[?25h    let curly_{str}_var = 1

[?25l:  [?12l[?25h    echo 'curly_' . str . '_var: 1'

[?25l:  [?12l[?25h    if exists('curly_{str}_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing local curly-brace variable

[?25l:  [?12l[?25h    unlet curly_{str}_var

[?25l:  [?12l[?25h    echo 'curly_' . str . '_var: 0'

[?25l:  [?12l[?25h    if !exists('curly_{str}_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing global variable

[?25l:  [?12l[?25h    let g:global_var = 1

[?25l:  [?12l[?25h    echo 'g:global_var: 1'

[?25l:  [?12l[?25h    if exists('g:global_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing global variable with garbage

[?25l:  [?12l[?25h    echo 'g:global_var-n: 1'

[?25l:  [?12l[?25h    if !exists('g:global_var-n')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing global variable

[?25l:  [?12l[?25h    unlet g:global_var

[?25l:  [?12l[?25h    echo 'g:global_var: 0'

[?25l:  [?12l[?25h    if !exists('g:global_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing global list

[?25l:  [?12l[?25h    let g:global_list = ["blue", "orange"]

[?25l:  [?12l[?25h    echo 'g:global_list: 1'

[?25l:  [?12l[?25h    if exists('g:global_list')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing global list

[?25l:  [?12l[?25h    unlet g:global_list

[?25l:  [?12l[?25h    echo 'g:global_list: 0'

[?25l:  [?12l[?25h    if !exists('g:global_list')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing global dictionary

[?25l:  [?12l[?25h    let g:global_dict = {"xcord":100, "ycord":2}

[?25l:  [?12l[?25h    echo 'g:global_dict: 1'

[?25l:  [?12l[?25h    if exists('g:global_dict')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing global dictionary

[?25l:  [?12l[?25h    unlet g:global_dict

[?25l:  [?12l[?25h    echo 'g:global_dict: 0'

[?25l:  [?12l[?25h    if !exists('g:global_dict')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing global curly-brace variable

[?25l:  [?12l[?25h    let str = "global"

[?25l:  [?12l[?25h    let g:curly_{str}_var = 1

[?25l:  [?12l[?25h    echo 'g:curly_' . str . '_var: 1'

[?25l:  [?12l[?25h    if exists('g:curly_{str}_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing global curly-brace variable

[?25l:  [?12l[?25h    unlet g:curly_{str}_var

[?25l:  [?12l[?25h    echo 'g:curly_' . str . '_var: 0'

[?25l:  [?12l[?25h    if !exists('g:curly_{str}_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing window variable

[?25l:  [?12l[?25h    echo 'w:window_var: 1'

[?25l:  [?12l[?25h    let w:window_var = 1

[?25l:  [?12l[?25h    if exists('w:window_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing window variable

[?25l:  [?12l[?25h    unlet w:window_var

[?25l:  [?12l[?25h    echo 'w:window_var: 0'

[?25l:  [?12l[?25h    if !exists('w:window_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing window list

[?25l:  [?12l[?25h    let w:window_list = ["blue", "orange"]

[?25l:  [?12l[?25h    echo 'w:window_list: 1'

[?25l:  [?12l[?25h    if exists('w:window_list')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing window list

[?25l:  [?12l[?25h    unlet w:window_list

[?25l:  [?12l[?25h    echo 'w:window_list: 0'

[?25l:  [?12l[?25h    if !exists('w:window_list')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing window dictionary

[?25l:  [?12l[?25h    let w:window_dict = {"xcord":100, "ycord":2}

[?25l:  [?12l[?25h    echo 'w:window_dict: 1'

[?25l:  [?12l[?25h    if exists('w:window_dict')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing window dictionary

[?25l:  [?12l[?25h    unlet w:window_dict

[?25l:  [?12l[?25h    echo 'w:window_dict: 0'

[?25l:  [?12l[?25h    if !exists('w:window_dict')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing window curly-brace variable

[?25l:  [?12l[?25h    let str = "window"

[?25l:  [?12l[?25h    let w:curly_{str}_var = 1

[?25l:  [?12l[?25h    echo 'w:curly_' . str . '_var: 1'

[?25l:  [?12l[?25h    if exists('w:curly_{str}_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing window curly-brace variable

[?25l:  [?12l[?25h    unlet w:curly_{str}_var

[?25l:  [?12l[?25h    echo 'w:curly_' . str . '_var: 0'

[?25l:  [?12l[?25h    if !exists('w:curly_{str}_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing buffer variable

[?25l:  [?12l[?25h    echo 'b:buffer_var: 1'

[?25l:  [?12l[?25h    let b:buffer_var = 1

[?25l:  [?12l[?25h    if exists('b:buffer_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing buffer variable

[?25l:  [?12l[?25h    unlet b:buffer_var

[?25l:  [?12l[?25h    echo 'b:buffer_var: 0'

[?25l:  [?12l[?25h    if !exists('b:buffer_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing buffer list

[?25l:  [?12l[?25h    let b:buffer_list = ["blue", "orange"]

[?25l:  [?12l[?25h    echo 'b:buffer_list: 1'

[?25l:  [?12l[?25h    if exists('b:buffer_list')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing buffer list

[?25l:  [?12l[?25h    unlet b:buffer_list

[?25l:  [?12l[?25h    echo 'b:buffer_list: 0'

[?25l:  [?12l[?25h    if !exists('b:buffer_list')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing buffer dictionary

[?25l:  [?12l[?25h    let b:buffer_dict = {"xcord":100, "ycord":2}

[?25l:  [?12l[?25h    echo 'b:buffer_dict: 1'

[?25l:  [?12l[?25h    if exists('b:buffer_dict')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing buffer dictionary

[?25l:  [?12l[?25h    unlet b:buffer_dict

[?25l:  [?12l[?25h    echo 'b:buffer_dict: 0'

[?25l:  [?12l[?25h    if !exists('b:buffer_dict')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing buffer curly-brace variable

[?25l:  [?12l[?25h    let str = "buffer"

[?25l:  [?12l[?25h    let b:curly_{str}_var = 1

[?25l:  [?12l[?25h    echo 'b:curly_' . str . '_var: 1'

[?25l:  [?12l[?25h    if exists('b:curly_{str}_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing buffer curly-brace variable

[?25l:  [?12l[?25h    unlet b:curly_{str}_var

[?25l:  [?12l[?25h    echo 'b:curly_' . str . '_var: 0'

[?25l:  [?12l[?25h    if !exists('b:curly_{str}_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Script-local tests

[?25l:  [?12l[?25h    source test60.vim

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Existing Vim internal variable

[?25l:  [?12l[?25h    echo 'v:version: 1'

[?25l:  [?12l[?25h    if exists('v:version')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Non-existing Vim internal variable

[?25l:  [?12l[?25h    echo 'v:non_exists_var: 0'

[?25l:  [?12l[?25h    if !exists('v:non_exists_var')

[?25l:    [?12l[?25h^Iecho "OK"

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h^Iecho "FAILED"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h    " Function arguments

[?25l:  [?12l[?25h    function TestFuncArg(func_arg, ...)

[?25l:    [?12l[?25h        echo 'a:func_arg: 1'

[?25l:    [?12l[?25h        if exists('a:func_arg')

[?25l:      [?12l[?25h            echo "OK"

[?25l:      [?12l[?25h        else

[?25l:      [?12l[?25h            echo "FAILED"

[?25l:      [?12l[?25h        endif

[?25l:    [?12l[?25h

[?25l:    [?12l[?25h        echo 'a:non_exists_arg: 0'

[?25l:    [?12l[?25h        if !exists('a:non_exists_arg')

[?25l:      [?12l[?25h            echo "OK"

[?25l:      [?12l[?25h        else

[?25l:      [?12l[?25h            echo "FAILED"

[?25l:      [?12l[?25h        endif

[?25l:    [?12l[?25h

[?25l:    [?12l[?25h        echo 'a:1: 1'

[?25l:    [?12l[?25h        if exists('a:1')

[?25l:      [?12l[?25h            echo "OK"

[?25l:      [?12l[?25h        else

[?25l:      [?12l[?25h            echo "FAILED"

[?25l:      [?12l[?25h        endif

[?25l:    [?12l[?25h

[?25l:    [?12l[?25h        echo 'a:2: 0'

[?25l:    [?12l[?25h        if !exists('a:2')

[?25l:      [?12l[?25h            echo "OK"

[?25l:      [?12l[?25h        else

[?25l:      [?12l[?25h            echo "FAILED"

[?25l:      [?12l[?25h        endif

[?25l:    [?12l[?25h    endfunction

[?25l:    [?12l[?25h

[?25l:    [?12l[?25h    call TestFuncArg("arg1", "arg2")

[?25l:    [?12l[?25h

[?25l:    [?12l[?25h    echo ' g:footest#x =' g:footest#x

[?25l:    [?12l[?25h    echo '   footest#F()' footest#F()

[?25l:    [?12l[?25h    echo 'UndefFun()' UndefFun()

[?25l:    [?12l[?25h

[?25l:    [?12l[?25h    redir END

[?25l:    [?12l[?25hendfunction
[?25lredir END
endfunction
:call TestExists()
:"
:function TestHas()
  redir >> test.out
  for pl in ['6.9.999', '7.1.999', '7.4.123', '9.1.0', '9.9.1']
    echo 'has patch ' . pl . ': ' . has('patch-' . pl)
  endfor
  redir END
endfunc
:call TestHas()
:"
:delfunc TestExists
:delfunc RunTest
:delfunc TestFuncArg
:edit! test.out
:set ff=unix
:w
:qa!
:while getchar(1) | call getchar() | endwhile
ENDTEST
[?12l[?25h[?25l
:[?12l[?25hcall TestExists()
[?25l#myagroup: 1
OK

#myagroup+b: 0

OK

#myagroup#BufEnter: 1

OK

#myagroup#BufEnter#*.my: 1

OK

#BufEnter: 1

OK

#BufEnter#*.my: 1

OK

#xyzagroup: 0

OK

#xyzagroup#BufEnter: 0

OK

#myagroup#CmdwinEnter: 0

OK

#myagroup#xyzacmd: 0

OK

#myagroup#BufEnter#xyzpat: 0

OK

#BufEnter#xyzpat: 0

OK

###: 0

OK

##: 0

OK

##FileReadCmd: 1

OK

##MySpecialCmd: 0

OK

&textwidth: 1

OK

&tw: 1

OK

&tw-: 0

OK

&g:errorformat: 1

OK

&l:errorformat: 1

OK

&nojoinspaces: 0

OK

&nojs: 0

OK

&myxyzoption: 0

OK

+incsearch: 1

OK

+incsearch!1: 0

OK

+is: 1

OK

+autoprint: 0

OK

$EDITOR_NAME: 1

OK

$NON_ENV_VAR: 0

OK

*bufnr: 1

OK

*bufnr(): 1

OK

*myxyzfunc: 0

OK

*bufnr&6: 0

OK

*TestExists: 1

OK

*MyxyzFunc: 0

OK

*UndefFun: 0

OK

*footest#F: 0

OK

:edit: 2

OK

:edit/a: 0

OK

:q: 1

OK

:invalidcmd: 0

OK

:MyCmd: 2

OK

:My: 3

OK

:rightbelow: 2

OK

:MyCmd: 0

OK

:My: 0

OK

local_var: 1

OK

local_var%n: 0

OK

local_var: 0

OK

footest#x: 0

OK

local_list: 1

OK

local_list[1]: 1

OK

local_list[1]+5: 0

OK

local_list[2]: 0

OK

local_list: 0

OK

local_dict: 1

OK

local_dict: 0

OK

curly_local_var: 1

OK

curly_local_var: 0

OK

g:global_var: 1

OK

g:global_var-n: 1

OK

g:global_var: 0

OK

g:global_list: 1

OK

g:global_list: 0

OK

g:global_dict: 1

OK

g:global_dict: 0

OK

g:curly_global_var: 1

OK

g:curly_global_var: 0

OK

w:window_var: 1

OK

w:window_var: 0

OK

w:window_list: 1

OK

w:window_list: 0

OK

w:window_dict: 1

OK

w:window_dict: 0

OK

w:curly_window_var: 1

OK

w:curly_window_var: 0

OK

b:buffer_var: 1

OK

b:buffer_var: 0

OK

b:buffer_list: 1

OK

b:buffer_list: 0

OK

b:buffer_dict: 1

OK

b:buffer_dict: 0

OK

b:curly_buffer_var: 1

OK

b:curly_buffer_var: 0

OK

s:script_var: 1

OK

s:script_var: 0

OK

s:script_list: 1

OK

s:script_list: 0

OK

s:script_dict: 1

OK

s:script_dict: 0

OK

s:curly_script_var: 1

OK

s:curly_script_var: 0

OK

*s:my_script_func: 1

OK

*s:my_script_func: 0

OK

v:version: 1

OK

v:non_exists_var: 0

OK

a:func_arg: 1

OK

a:non_exists_arg: 0

OK

a:1: 1

OK

a:2: 0

OK

 g:footest#x = 1

   footest#F() 0

UndefFun() 0

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h"
[?25lredir END
endfunction
:call TestExists()
:"
:function TestHas()
  redir >> test.out
  for pl in ['6.9.999', '7.1.999', '7.4.123', '9.1.0', '9.9.1']
    echo 'has patch ' . pl . ': ' . has('patch-' . pl)
  endfor
  redir END
endfunc
:call TestHas()
:"
:delfunc TestExists
:delfunc RunTest
:delfunc TestFuncArg
:edit! test.out
:set ff=unix
:w
:qa!
:while getchar(1) | call getchar() | endwhile
ENDTEST
[?12l[?25h[?25l
:[?12l[?25hfunction TestHas()
[?25l
:  [?12l[?25h  redir >> test.out

[?25l:  [?12l[?25h  for pl in ['6.9.999', '7.1.999', '7.4.123', '9.1.0', '9.9.1']

[?25l:    [?12l[?25h    echo 'has patch ' . pl . ': ' . has('patch-' . pl)

[?25l:    [?12l[?25h  endfor

[?25l:  [?12l[?25h  redir END

[?25l:  [?12l[?25hendfunc
[?25lredir END
endfunction
:call TestExists()
:"
:function TestHas()
  redir >> test.out[?12l[?25h[?25l
:[?12l[?25hcall TestHas()
[?25lhas patch 6.9.999: 1

has patch 7.1.999: 1

has patch 7.4.123: 1

has patch 9.1.0: 0

has patch 9.9.1: 0

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h"
[?25lredir END
endfunction
:call TestExists()
:"
:function TestHas()[?12l[?25h[?25l
:[?12l[?25hdelfunc TestExists
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc RunTest
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc TestFuncArg
[?25l[?12l[?25h[?25l:[?12l[?25hedit! test.out
[?25l"test.out" [Incomplete last line] 211 lines, 2041 characters#myagroup: 1
OK#myagroup+b: 0
OK#myagroup#BufEnter: 1
OK#myagroup#BufEnter#*.my: 1OK#BufEnter: 1
OK#BufEnter#*.my: 1
OK
#xyzagroup: 0OK#xyzagroup#BufEnter: 0
OK#myagroup#CmdwinEnter: 0
OK
#myagroup#xyzacmd: 0
OK#myagroup#BufEnter#xyzpat: 0
OK[?12l[?25h[?25l:[?12l[?25hset ff=unix
[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"test.out" 211 lines, 2042 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test61.failed test.ok test.out X* viminfo
cp test61.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test61.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test61.in" 113 lines, 1774 charactersTests for undo tree.
Since this script is sourced we need to explicitly break changes up in
undo-able pieces.  Do that by setting 'undolevels'.
Also tests :earlier and :later.

STARTTEST
:echo undotree().entries
ENDTEST

STARTTEST
:" Delete three characters and undo
Gx:set ul=100
x:set ul=100
x:.w! test.out
g-:.w >>test.out
g-:.w >>test.out
g-:.w >>test.out
g-:.w >>test.out
:"
:/^111/w >>test.out
:" Delete three other characters and go back in time step by step
$x:set ul=100
x:set ul=100[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for undo tree.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1 line, 25 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hecho undotree().entries
[?25l[][?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 97 lines, 1501 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:set ul=100
ob^[
:set ul=100
o1^[a2^R=setline('.','1234')

^[uu:"
oc^[
:set ul=100
o1^[a2^R=setline('.','1234')

^[u:"
od^[
:set ul=100
o1^[a2^R=string(123)
^[u:"
:%w >>test.out
:qa!
ENDTEST

1111 -----
2222 -----

123456789[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h" Delete three characters and undo
[?25l[?12l[?25h[?25l23456789[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l3456789[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l456789[?12l[?25h[?25l:[?12l[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 7 characters written[?12l[?25h[?25l
1 change; before #3  0 seconds ago3456789
[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 8 characters appended[?12l[?25h[?25l
1 change; before #2  0 seconds ago23456789
[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 9 characters appended[?12l[?25h[?25l
1 change; before #1  0 seconds ago123456789
[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?12l[?25h[?25l
Already at oldest change[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h/^111/w >>test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 1 line, 11 characters appended[?12l[?25h[?25l:[?12l[?25h" Delete three other characters and go back in time step by step
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?12l[?25h[?25l:[?12l[?25hsleep 1
[?25l[?12l[?25h[?25l
1 change; before #6  1 seconds ago7[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 8 characters appended[?12l[?25h[?25l
1 change; before #5  1 seconds ago8[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 9 characters appended[?12l[?25h[?25l
4 changes; after #3  2 seconds ago456789[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?12l[?25h[?25l
1 change; before #3  2 seconds ago3456789
[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 8 characters appended[?12l[?25h[?25l
1 change; before #2  2 seconds ago23456789
[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 9 characters appended[?12l[?25h[?25l
1 change; before #1  2 seconds ago123456789
[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?12l[?25h[?25l
Already at oldest change[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?12l[?25h[?25l
Already at oldest change[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?12l[?25h[?25l
3 changes; after #6  1 seconds ago[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h/^222/w >>test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 1 line, 11 characters appended[?12l[?25h[?25l:[?12l[?25h" Delay for three seconds and go some seconds forward and backward
[?25l[?12l[?25h[?25l:[?12l[?25hsleep 2
[?25l[?12l[?25h[?25l6a[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25lab[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25lbc[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?12l[?25h[?25l:[?12l[?25hear 1s
[?25l3 changes; before #7  1 seconds ago[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?12l[?25h[?25l:[?12l[?25hear 3s
[?25l3 changes; before #4  4 seconds ago789[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?12l[?25h[?25l:[?12l[?25hlater 1s
[?25l3 changes; after #6  4 seconds ago[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?12l[?25h[?25l:[?12l[?25hlater 1h
[?25l3 changes; after #9  1 seconds agoabc[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" test undojoin
[?25l[?12l[?25h
[?25l
aaaa[?12l[?25h[?25l
:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l
bbbb[?12l[?25h[?25l
1 line less; before #11  0 seconds ago~                                                                               [?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 5 characters appended[?12l[?25h[?25l
bbbb[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l:[?12l[?25hundojoin
[?25l[?12l[?25h[?25l
cccc[?12l[?25h[?25l
2 fewer lines; before #12  0 seconds ago~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1 line, 5 characters appended[?12l[?25h[?25l:[?12l[?25he! Xtest
[?25l"Xtest" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25lone one one[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l:[?12l[?25hw!
[?25l"Xtest" [New File] 1 line, 12 characters written[?12l[?25h[?25l
two[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l
two[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtest" 3 lines, 20 characters written[?12l[?25h[?25l
three[?12l[?25h[?25l:[?12l[?25hearlier 1f
[?25l1 line less; before #4  0 seconds ago~                                                                               [?12l[?25h[?25l:[?12l[?25h" expect "one one one\ntwo\ntwo"
[?25l[?12l[?25h[?25l:[?12l[?25h%yank a
[?25l3 lines yanked[?12l[?25h[?25l:[?12l[?25hearlier 1f
[?25l2 fewer lines; before #2  0 seconds ago~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h" expect "one one one"
[?25l[?12l[?25h[?25l:[?12l[?25h%yank b
[?25l[?12l[?25h[?25l:[?12l[?25hearlier 1f
[?25l1 line less; before #1  0 seconds ago[?12l[?25h[?25l:[?12l[?25h" expect empty line
[?25l[?12l[?25h[?25l:[?12l[?25h%yank c
[?25l[?12l[?25h[?25l:[?12l[?25hlater 1f
[?25l1 more line; after #1  0 seconds agoone one one
[?12l[?25h[?25l:[?12l[?25h" expect "one one one"
[?25l[?12l[?25h[?25l:[?12l[?25h%yank d
[?25l[?12l[?25h[?25l:[?12l[?25hlater 1f
[?25l2 more lines; after #3  0 seconds agotwotwo[?12l[?25h[?25l:[?12l[?25h" expect "one one one\ntwo\ntwo"
[?25l[?12l[?25h[?25l:[?12l[?25h%yank e
[?25l3 lines yanked[?12l[?25h[?25l:[?12l[?25hlater 1f
[?25l1 more line; after #4  0 seconds agothree[?12l[?25h[?25l:[?12l[?25h" expect "one one one\ntwo\ntwo\nthree"
[?25l[?12l[?25h[?25l---[?12l[?25h[?25l:[?12l[?25h0put e
[?25l3 more linesone one one
two
two3 more lines[?12l[?25h[?25l---[?12l[?25h[?25l:[?12l[?25h0put d
[?25lone one one[?12l[?25h[?25l---[?12l[?25h[?25l:[?12l[?25h0put c
[?25l[?12l[?25h[?25l---[?12l[?25h[?25l:[?12l[?25h0put b
[?25lone one one[?12l[?25h[?25l---[?12l[?25h[?25l:[?12l[?25h0put a
[?25l3 more linesone one one
two
two3 more lines[?12l[?25h[?25l---[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 19 lines, 115 characters appended[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nocp viminfo+=nviminfo
[?25l[?12l[?25h[?25l:[?12l[?25henew!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l-- INSERT --a[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l-- INSERT --b[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l-- INSERT --1[?12l[?25h[?25l-- INSERT --=[?12l[?25hsetline('.','1234')
[?25l20
34-- INSERT --u[?12l[?25h3[?25l[?12l[?25h[?25l1 line less; before #4  0 seconds ago~                                                                               [?12l[?25h[?25l3~                                                                               [?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l-- INSERT --c[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l-- INSERT --1[?12l[?25h[?25l-- INSERT --=[?12l[?25hsetline('.','1234')
[?25l20
34-- INSERT --u[?12l[?25h3[?25l[?12l[?25h[?25l1 line less; before #7  0 seconds ago~                                                                               [?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l-- INSERT --d[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l-- INSERT --1[?12l[?25h[?25l-- INSERT --=[?12l[?25hstring(123)
[?25l2123[?12l[?25h[?25l1 line less; before #9  0 seconds ago~                                                                               [?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h%w >>test.out
[?25l"test.out" 6L, 12C appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
flaky test ok first time
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test62.failed test.ok test.out X* viminfo
cp test62.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test62.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test62.in" 191 lines, 5514 charactersTests for tab pages

STARTTEST
:so small.vim
:lang C
:" Simple test for opening and closing a tab page
:tabnew
:let nr = tabpagenr()
:q
:call append(line('$'), 'tab page ' . nr)
:unlet nr
:"
:" Open three tab pages and use ":tabdo"
:0tabnew
:1tabnew
:888tabnew
:tabdo call append(line('$'), 'this is tab page ' . tabpagenr())
:tabclose! 2
:tabrewind
:let line1 = getline('$')
:undo
:q
:tablast[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for tab pages[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 185 lines, 5465 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTC tabnext 1autocmd TabDestructive TabEnter * nested :C tabnext 2 | C tabclose 3C tabnext 3let g:r+=[tabpagenr().'/'.tabpagenr('$')]
    elselet g:r+=["=== tabnext 3 ===","BufLeave","WinLeave","TabLeave","WinEnterr","TabEnter","=== tabnext 2 ===","=== tabclose 3 ===","2/2","=== tabnew ===","WiinLeave","TabLeave","WinEnter","TabEnter","BufLeave","BufEnter","=== tabnext 1 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","BufEnter","=== tabnexxt 3 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ===",""=== tabclose 3 ===","BufEnter","=== tabclose 3 ===","2/2",]
    endif
endfunction
:call Test()
:$ put =g:r
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST

Results:[?12l[?25h
[?25l

:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hlang C
[?25l[?12l[?25h[?25l:[?12l[?25h" Simple test for opening and closing a tab page
[?25l[?12l[?25h[?25l:[?12l[?25htabnew
[?25l test62.in  [No Name]                                                           X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hlet nr = tabpagenr()
[?25l[?12l[?25h[?25l:[?12l[?25hq
[?25lC tabnext 1autocmd TabDestructive TabEnter * nested :C tabnext 2 | C tabclose 3C tabnext 3let g:r+=[tabpagenr().'/'.tabpagenr('$')]
    elselet g:r+=["=== tabnext 3 ===","BufLeave","WinLeave","TabLeave","WinEnterr","TabEnter","=== tabnext 2 ===","=== tabclose 3 ===","2/2","=== tabnew ===","WiinLeave","TabLeave","WinEnter","TabEnter","BufLeave","BufEnter","=== tabnext 1 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","BufEnter","=== tabnexxt 3 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ===",""=== tabclose 3 ===","BufEnter","=== tabclose 3 ===","2/2",]
    endif
endfunction
:call Test()
:$ put =g:r
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST

Results:[?12l[?25h[?25l

:[?12l[?25hcall append(line('$'), 'tab page ' . nr)
[?25l[?12l[?25h[?25l:[?12l[?25hunlet nr
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Open three tab pages and use ":tabdo"
[?25l[?12l[?25h[?25l:[?12l[?25h0tabnew
[?25l [No Name]  + test62.in                                                         X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h1tabnew
[?25l [No Name]  [No Name]  + test62.in                                              X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h888tabnew
[?25l [No Name]  [No Name]  + test62.in  [No Name]                                   X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25htabdo call append(line('$'), 'this is tab page ' . tabpagenr())
[?25l + [No Name]  + [No Name]  + test62.in  + [No Name]                             Xthis is tab page 4
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25htabclose! 2
[?25ltest62.in + [No Name]               X[?12l[?25h[?25l:[?12l[?25htabrewind
[?25l + [No Name]  + test62.in  + [No Name]                                          Xthis is tab page 1
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hlet line1 = getline('$')
[?25l[?12l[?25h[?25l:[?12l[?25hundo
[?25l2 fewer lines; before #1  0 seconds ago[No Name]e ]  + test62.in  + [No Name]    X~                                                                               [?12l[?25h[?25l:[?12l[?25hq
[?25l + test62.in  + [No Name]                                                       Xautocmd TabDestructive TabEnter * nested :C tabnext 2 | C tabclose 3C tabnext 3let g:r+=[tabpagenr().'/'.tabpagenr('$')]
    elselet g:r+=["=== tabnext 3 ===","BufLeave","WinLeave","TabLeave","WinEnterr","TabEnter","=== tabnext 2 ===","=== tabclose 3 ===","2/2","=== tabnew ===","WiinLeave","TabLeave","WinEnter","TabEnter","BufLeave","BufEnter","=== tabnext 1 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","BufEnter","=== tabnexxt 3 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ===",""=== tabclose 3 ===","BufEnter","=== tabclose 3 ===","2/2",]
    endif
endfunction
:call Test()
:$ put =g:r
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST

Results:[?12l[?25h[?25l

:[?12l[?25htablast
[?25l + test62.in  + [No Name]                                                       Xthis is tab page 4
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hlet line2 = getline('$')
[?25l[?12l[?25h[?25l:[?12l[?25hq!
[?25lC tabnext 1autocmd TabDestructive TabEnter * nested :C tabnext 2 | C tabclose 3C tabnext 3let g:r+=[tabpagenr().'/'.tabpagenr('$')]
    elselet g:r+=["=== tabnext 3 ===","BufLeave","WinLeave","TabLeave","WinEnterr","TabEnter","=== tabnext 2 ===","=== tabclose 3 ===","2/2","=== tabnew ===","WiinLeave","TabLeave","WinEnter","TabEnter","BufLeave","BufEnter","=== tabnext 1 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","BufEnter","=== tabnexxt 3 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ===",""=== tabclose 3 ===","BufEnter","=== tabclose 3 ===","2/2",]
    endif
endfunction
:call Test()
:$ put =g:r
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST

Results:[?12l[?25h[?25l

:[?12l[?25hcall append(line('$'), line1)
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), line2)
[?25l[?12l[?25h[?25l:[?12l[?25hunlet line1 line2
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test for settabvar() and gettabvar() functions. Open a new tab page and 
[?25l[?12l[?25h[?25l:[?12l[?25h" set 3 variables to a number, string and a list. Verify that the variables
[?25l[?12l[?25h[?25l:[?12l[?25h" are correctly set.
[?25l[?12l[?25h[?25l:[?12l[?25htabnew
[?25l + test62.in  [No Name]                                                         X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25htabfirst
[?25l + test62.in  [No Name]                                                         Xautocmd TabDestructive TabEnter * nested :C tabnext 2 | C tabclose 3C tabnext 3let g:r+=[tabpagenr().'/'.tabpagenr('$')]
    elselet g:r+=["=== tabnext 3 ===","BufLeave","WinLeave","TabLeave","WinEnterr","TabEnter","=== tabnext 2 ===","=== tabclose 3 ===","2/2","=== tabnew ===","WiinLeave","TabLeave","WinEnter","TabEnter","BufLeave","BufEnter","=== tabnext 1 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","BufEnter","=== tabnexxt 3 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ===",""=== tabclose 3 ===","BufEnter","=== tabclose 3 ===","2/2",]
    endif
endfunction
:call Test()
:$ put =g:r
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST

Results:[?12l[?25h[?25l

:[?12l[?25hcall settabvar(2, 'val_num', 100)
[?25l + test62.in  [No Name]                                                         Xautocmd TabDestructive TabEnter * nested :C tabnext 2 | C tabclose 3C tabnext 3let g:r+=[tabpagenr().'/'.tabpagenr('$')]
    elselet g:r+=["=== tabnext 3 ===","BufLeave","WinLeave","TabLeave","WinEnterr","TabEnter","=== tabnext 2 ===","=== tabclose 3 ===","2/2","=== tabnew ===","WiinLeave","TabLeave","WinEnter","TabEnter","BufLeave","BufEnter","=== tabnext 1 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","BufEnter","=== tabnexxt 3 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ===",""=== tabclose 3 ===","BufEnter","=== tabclose 3 ===","2/2",]
    endif
endfunction
:call Test()
:$ put =g:r
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST

Results:[?12l[?25h[?25l

:[?12l[?25hcall settabvar(2, 'val_str', 'SetTabVar test')
[?25l + test62.in  [No Name]                                                         Xautocmd TabDestructive TabEnter * nested :C tabnext 2 | C tabclose 3C tabnext 3let g:r+=[tabpagenr().'/'.tabpagenr('$')]
    elselet g:r+=["=== tabnext 3 ===","BufLeave","WinLeave","TabLeave","WinEnterr","TabEnter","=== tabnext 2 ===","=== tabclose 3 ===","2/2","=== tabnew ===","WiinLeave","TabLeave","WinEnter","TabEnter","BufLeave","BufEnter","=== tabnext 1 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","BufEnter","=== tabnexxt 3 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ===",""=== tabclose 3 ===","BufEnter","=== tabclose 3 ===","2/2",]
    endif
endfunction
:call Test()
:$ put =g:r
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST

Results:[?12l[?25h[?25l

:[?12l[?25hcall settabvar(2, 'val_list', ['red', 'blue', 'green'])
[?25l + test62.in  [No Name]                                                         Xautocmd TabDestructive TabEnter * nested :C tabnext 2 | C tabclose 3C tabnext 3let g:r+=[tabpagenr().'/'.tabpagenr('$')]
    elselet g:r+=["=== tabnext 3 ===","BufLeave","WinLeave","TabLeave","WinEnterr","TabEnter","=== tabnext 2 ===","=== tabclose 3 ===","2/2","=== tabnew ===","WiinLeave","TabLeave","WinEnter","TabEnter","BufLeave","BufEnter","=== tabnext 1 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","BufEnter","=== tabnexxt 3 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ===",""=== tabclose 3 ===","BufEnter","=== tabclose 3 ===","2/2",]
    endif
endfunction
:call Test()
:$ put =g:r
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST

Results:[?12l[?25h[?25l

:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hlet test_status = 'gettabvar: fail'
[?25l[?12l[?25h[?25l:[?12l[?25hif gettabvar(2, 'val_num') == 100 && gettabvar(2, 'val_str') == 'SetTabVar tes

t' && gettabvar(2, 'val_list') == ['red', 'blue', 'green']
[?25l:  [?12l[?25h:    let test_status = 'gettabvar: pass'

[?25l:  [?12l[?25h:endif
 + test62.in  [No Name]                                                         X[?25lautocmd TabDestructive TabEnter * nested :C tabnext 2 | C tabclose 3[?12l[?25h[?25l

:[?12l[?25hcall append(line('$'), test_status)
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25htabnext 2
[?25l + test62.in  [No Name]                                                         X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hlet test_status = 'settabvar: fail'
[?25l[?12l[?25h[?25l:[?12l[?25hif t:val_num == 100 && t:val_str == 'SetTabVar test'  && t:val_list == ['red',

'blue', 'green']
[?25l:  [?12l[?25h:   let test_status = 'settabvar: pass'

[?25l:  [?12l[?25h:endif
 + test62.in  [No Name]                                                         X[?25l[?12l[?25h[?25l:[?12l[?25htabclose
[?25lC tabnext 1autocmd TabDestructive TabEnter * nested :C tabnext 2 | C tabclose 3C tabnext 3let g:r+=[tabpagenr().'/'.tabpagenr('$')]
    elselet g:r+=["=== tabnext 3 ===","BufLeave","WinLeave","TabLeave","WinEnterr","TabEnter","=== tabnext 2 ===","=== tabclose 3 ===","2/2","=== tabnew ===","WiinLeave","TabLeave","WinEnter","TabEnter","BufLeave","BufEnter","=== tabnext 1 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","BufEnter","=== tabnexxt 3 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ===",""=== tabclose 3 ===","BufEnter","=== tabclose 3 ===","2/2",]
    endif
endfunction
:call Test()
:$ put =g:r
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST

Results:[?12l[?25h[?25l

:[?12l[?25hcall append(line('$'), test_status)
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hif has('gui') || has('clientserver')
[?25l
:  [?12l[?25h:" Test for ":tab drop exist-file" to keep current window.

[?25l:  [?12l[?25h:sp test1

[?25l:  [?12l[?25h:tab drop test1

[?25l:  [?12l[?25h:let test_status = 'tab drop 1: fail'

[?25l:  [?12l[?25h:if tabpagenr('$') == 1 && winnr('$') == 2 && winnr() == 1

[?25l:    [?12l[?25h:    let test_status = 'tab drop 1: pass'

[?25l:    [?12l[?25h:endif

[?25l:  [?12l[?25h:close

[?25l:  [?12l[?25h:call append(line('$'), test_status)

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:" Test for ":tab drop new-file" to keep current window of tabpage 1.

[?25l:  [?12l[?25h:split

[?25l:  [?12l[?25h:tab drop newfile

[?25l:  [?12l[?25h:let test_status = 'tab drop 2: fail'

[?25l:  [?12l[?25h:if tabpagenr('$') == 2 && tabpagewinnr(1, '$') == 2 && tabpagewinnr(1) == 1

[?25l:    [?12l[?25h:    let test_status = 'tab drop 2: pass'

[?25l:    [?12l[?25h:endif

[?25l:  [?12l[?25h:tabclose

[?25l:  [?12l[?25h:q

[?25l:  [?12l[?25h:call append(line('$'), test_status)

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:"

[?25l:  [?12l[?25h:" Test for ":tab drop multi-opend-file" to keep current tabpage and window.

[?25l:  [?12l[?25h:new test1

[?25l:  [?12l[?25h:tabnew

[?25l:  [?12l[?25h:new test1

[?25l:  [?12l[?25h:tab drop test1

[?25l:  [?12l[?25h:let test_status = 'tab drop 3: fail'

[?25l:  [?12l[?25h:if tabpagenr() == 2 && tabpagewinnr(2, '$') == 2 && tabpagewinnr(2) == 1

[?25l:    [?12l[?25h:    let test_status = 'tab drop 3: pass'

[?25l:    [?12l[?25h:endif

[?25l:  [?12l[?25h:tabclose

[?25l:  [?12l[?25h:q

[?25l:  [?12l[?25h:call append(line('$'), test_status)

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h:" :drop not supported

[?25l:  [?12l[?25h:call append(line('$'), 'tab drop 1: pass')

[?25l:  [?12l[?25h:call append(line('$'), 'tab drop 2: pass')

[?25l:  [?12l[?25h:call append(line('$'), 'tab drop 3: pass')

[?25l:  [?12l[?25h:endif
[?25lC tabnext 1autocmd TabDestructive TabEnter * nested :C tabnext 2 | C tabclose 3C tabnext 3let g:r+=[tabpagenr().'/'.tabpagenr('$')]
    elselet g:r+=["=== tabnext 3 ===","BufLeave","WinLeave","TabLeave","WinEnterr","TabEnter","=== tabnext 2 ===","=== tabclose 3 ===","2/2","=== tabnew ===","WiinLeave","TabLeave","WinEnter","TabEnter","BufLeave","BufEnter","=== tabnext 1 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","BufEnter","=== tabnexxt 3 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ===",""=== tabclose 3 ===","BufEnter","=== tabclose 3 ===","2/2",]
    endif
endfunction
:call Test()
:$ put =g:r
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST

Results:[?12l[?25h[?25l

:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hfor i in range(9) | tabnew | endfor
[?25l + 2.in   Name]   Name]   Name]   Name]   Name]   Name]   Name]   Name]   Name] X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h + 2.in   Name]   Name]   Name]   Name]   Name]   Name]   Name]   Name]   Name] X[?25lautocmd TabDestructive TabEnter * nested :C tabnext 2 | C tabclose 3C tabnext 3let g:r+=[tabpagenr().'/'.tabpagenr('$')]
    elselet g:r+=["=== tabnext 3 ===","BufLeave","WinLeave","TabLeave","WinEnterr","TabEnter","=== tabnext 2 ===","=== tabclose 3 ===","2/2","=== tabnew ===","WiinLeave","TabLeave","WinEnter","TabEnter","BufLeave","BufEnter","=== tabnext 1 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","BufEnter","=== tabnexxt 3 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ====","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 ===",""=== tabclose 3 ===","BufEnter","=== tabclose 3 ===","2/2",]
    endif
endfunction
:call Test()
:$ put =g:r
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST

Results:[?12l[?25h
[?25ltab page 2
this is tab page 3
this is tab page 1
this is tab page 4
gettabvar: pass
settabvar: pass
tab drop 1: pass
tab drop 2: pass
tab drop 3: pass
~                                                                               ~                                                                               [?12l[?25h[?25l


=[?12l[?25htabpagenr()
[?25l1[?12l[?25h[?25l:[?12l[?25htabmove 5
[?25l  Name]   + 2.in  X[?12l[?25h[?25l=[?12l[?25htabpagenr()
[?25l
6[?12l[?25h[?25l
:[?12l[?25htabmove -2
[?25l + 2.in   Name]   X[?12l[?25h[?25l=[?12l[?25htabpagenr()
[?25l
4[?12l[?25h[?25l
:[?12l[?25htabmove +4
[?25l  Name]   + 2.in  X[?12l[?25h[?25l=[?12l[?25htabpagenr()
[?25l
8[?12l[?25h[?25l
:[?12l[?25htabmove
[?25l  Name]   + 2.in X[?12l[?25h[?25l=[?12l[?25htabpagenr()
[?25l
10[?12l[?25h[?25l
:[?12l[?25htabmove -20
[?25l + 2.in   Name]X X[?12l[?25h[?25l=[?12l[?25htabpagenr()
[?25l
1[?12l[?25h[?25l
:[?12l[?25htabmove +20
[?25l  Name]   + 2.in X[?12l[?25h[?25l=[?12l[?25htabpagenr()
[?25l
10[?12l[?25h[?25l
:[?12l[?25h3tabmove
[?25l + 2.in   Name]X X[?12l[?25h[?25l=[?12l[?25htabpagenr()
[?25l
4[?12l[?25h[?25l
:[?12l[?25h7tabmove 5
[?25l  Name]   + 2.in  X[?12l[?25h[?25l=[?12l[?25htabpagenr()
[?25l
6[?12l[?25h[?25l
:[?12l[?25hlet a='No error caught.'
[?25l[?12l[?25h[?25l:[?12l[?25htry
[?25l
:  [?12l[?25h:tabmove foo

[?25l:  [?12l[?25h:catch E474

[?25l:  [?12l[?25h:let a='E474 caught.'

[?25l:  [?12l[?25h:endtry
  Name]   Name]   Name]   Name]   Name]  + 2.in   Name]   Name]   Name]   Name] X[?25lENDTEST

Results:[?12l[?25h[?25l
=[?12l[?25ha
[?25lE474 caught.[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test autocommands
[?25l[?12l[?25h[?25l:[?12l[?25htabonly!
[?25l:qa![?12l[?25h[?25l:[?12l[?25hlet g:r=[]
[?25l[?12l[?25h[?25l:[?12l[?25hcommand -nargs=1 -bar C :call add(g:r, '=== ' . <q-args> . ' ===')|<args>
[?25l[?12l[?25h[?25l:[?12l[?25hfunction Test()
[?25l
:  [?12l[?25h    let hasau=has('autocmd')

[?25l:  [?12l[?25h    if hasau

[?25l:    [?12l[?25h        autocmd TabEnter * :call add(g:r, 'TabEnter')

[?25l:    [?12l[?25h        autocmd WinEnter * :call add(g:r, 'WinEnter')

[?25l:    [?12l[?25h        autocmd BufEnter * :call add(g:r, 'BufEnter')

[?25l:    [?12l[?25h        autocmd TabLeave * :call add(g:r, 'TabLeave')

[?25l:    [?12l[?25h        autocmd WinLeave * :call add(g:r, 'WinLeave')

[?25l:    [?12l[?25h        autocmd BufLeave * :call add(g:r, 'BufLeave')

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h    let t:a='a'

[?25l:  [?12l[?25h    C tab split

[?25l:  [?12l[?25h    if !hasau

[?25l:    [?12l[?25h        let g:r+=['WinLeave', 'TabLeave', 'WinEnter', 'TabEnter']

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h    let t:a='b'

[?25l:  [?12l[?25h    C tabnew

[?25l:  [?12l[?25h    if !hasau

[?25l:    [?12l[?25h        let g:r+=['WinLeave', 'TabLeave', 'WinEnter', 'TabEnter', 'BufLeav

e', 'BufEnter']

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h    let t:a='c'

[?25l:  [?12l[?25h    call add(g:r, join(map(range(1, tabpagenr('$')), 'gettabvar(v:val, "a")'

)))

[?25l:  [?12l[?25h    C call map(range(1, tabpagenr('$')), 'settabvar(v:val, ''a'', v:val*2)')

[?25l:  [?12l[?25h    call add(g:r, join(map(range(1, tabpagenr('$')), 'gettabvar(v:val, "a")'

)))

[?25l:  [?12l[?25h    let w:a='a'

[?25l:  [?12l[?25h    C vsplit

[?25l:  [?12l[?25h    if !hasau

[?25l:    [?12l[?25h        let g:r+=['WinLeave', 'WinEnter']

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h    let w:a='a'

[?25l:  [?12l[?25h    let tabn=tabpagenr()

[?25l:  [?12l[?25h    let winr=range(1, winnr('$'))

[?25l:  [?12l[?25h    C tabnext 1

[?25l:  [?12l[?25h    if !hasau

[?25l:    [?12l[?25h        let g:r+=['BufLeave', 'WinLeave', 'TabLeave', 'WinEnter', 'TabEnte

r', 'BufEnter']

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25h    call add(g:r, join(map(copy(winr), 'gettabwinvar('.tabn.', v:val, "a")')

))
[?25l:  [?12l[?25h    C call map(copy(winr), 'settabwinvar('.tabn.', v:val, ''a'', v:val*2)')

[?25l:  [?12l[?25h    call add(g:r, join(map(copy(winr), 'gettabwinvar('.tabn.', v:val, "a")')

))
[?25l:  [?12l[?25h    if hasau

[?25l:    [?12l[?25h        augroup TabDestructive

[?25l:    [?12l[?25h            autocmd TabEnter * :C tabnext 2 | C tabclose 3

[?25l:    [?12l[?25h        augroup END

[?25l:    [?12l[?25h        C tabnext 3

[?25l:    [?12l[?25h        let g:r+=[tabpagenr().'/'.tabpagenr('$')]

[?25l:    [?12l[?25h        autocmd! TabDestructive TabEnter

[?25l:    [?12l[?25h        C tabnew

[?25l:    [?12l[?25h        C tabnext 1

[?25l:    [?12l[?25h        autocmd TabDestructive TabEnter * nested :C tabnext 2 | C tabclose

3
[?25l:    [?12l[?25h        C tabnext 3

[?25l:    [?12l[?25h        let g:r+=[tabpagenr().'/'.tabpagenr('$')]

[?25l:    [?12l[?25h    else

[?25l:    [?12l[?25h        let g:r+=["=== tabnext 3 ===","BufLeave","WinLeave","TabLeave","Wi

nEnter","TabEnter","=== tabnext 2 ===","=== tabclose 3 ===","2/2","=== tabnew ==

=","WinLeave","TabLeave","WinEnter","TabEnter","BufLeave","BufEnter","=== tabnex

t 1 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","BufEnter","=== 

tabnext 3 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabne

xt 2 ===","BufLeave","WinLeave","TabLeave","WinEnter","TabEnter","=== tabnext 2 

===","=== tabclose 3 ===","BufEnter","=== tabclose 3 ===","2/2",]

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25hendfunction
[?25l:qa!
ENDTEST

Results:
tab page 2
this is tab page 3
this is tab page 1
this is tab page 4
gettabvar: pass
settabvar: pass
tab drop 1: pass
tab drop 2: pass
tab drop 3: pass
1
6
4
8
10
1
10
4
6
E474 caught.[?12l[?25h[?25l
:[?12l[?25hcall Test()
[?25l + test62.in  + test62.in                                                       XENDTEST

Results:
tab page 2
this is tab page 3
this is tab page 1
this is tab page 4
gettabvar: pass
settabvar: pass
tab drop 1: pass
tab drop 2: pass
tab drop 3: pass
1
6
4
8
10
1
10
4
6
E474 caught.[?12l[?25h[?25l
:[?12l[?25h$ put =g:r
[?25l68 more linesWinLeave
TabLeave
WinEnter
TabEnterBufEnter=== tabnext 3 ===BufLeaveWinLeaveTabLeaveWinEnterTabEnter=== tabnext 2 ===
BufLeave
WinLeave
TabLeave
WinEnter
TabEnter
=== tabnext 2 ===
=== tabclose 3 ===
BufEnter
=== tabclose 3 ===
2/2[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h/^Results/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 88 lines, 1038 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test63.failed test.ok test.out X* viminfo
cp test63.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test63.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test63.in" 195 lines, 5991 charactersTest for ":match", ":2match", ":3match", "clearmatches()", "getmatches()",
"matchadd()", "matchaddpos", "matcharg()", "matchdelete()", and "setmatches()".

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: "
:highlight MyGroup1 ctermbg=red guibg=red
:highlight MyGroup2 ctermbg=green guibg=green
:highlight MyGroup3 ctermbg=blue guibg=blue
:match MyGroup1 /TODO/
:2match MyGroup2 /FIXME/
:3match MyGroup3 /XXX/
:if matcharg(1) == ['MyGroup1', 'TODO'] && matcharg(2) == ['MyGroup2', 'FIXME']  && matcharg(3) == ['MyGroup3', 'XXX']
:  let @r .= "OK\n"
:else
:  let @r .= "FAILED\n"
:endif
:" --- Check that "matcharg()" returns an empty list if the argument is not 1,
:" --- 2 or 3 (only 0 and 4 are tested).[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for ":match", ":2match", ":3match", "clearmatches()", "getmatches()",[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 188 lines, 5797 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST: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
:/^Results/,$wq! test.out
ENDTEST

Results of test63:[?12l[?25h
[?25l

:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset encoding=utf8
[?25l: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
:/^Results/,$wq! test.out
ENDTEST

Results of test63:[?12l[?25h[?25l

:[?12l[?25h" --- Check that "matcharg()" returns the correct group and pattern if a match
[?25l[?12l[?25h[?25l:[?12l[?25h" --- is defined.
[?25l[?12l[?25h[?25l:[?12l[?25hlet @r = "*** Test 1: "
[?25l[?12l[?25h[?25l:[?12l[?25hhighlight MyGroup1 ctermbg=red guibg=red
[?25l[?12l[?25h[?25l:[?12l[?25hhighlight MyGroup2 ctermbg=green guibg=green
[?25l[?12l[?25h[?25l:[?12l[?25hhighlight MyGroup3 ctermbg=blue guibg=blue
[?25l[?12l[?25h[?25l:[?12l[?25hmatch MyGroup1 /TODO/
[?25l[?12l[?25h[?25l:[?12l[?25h2match MyGroup2 /FIXME/
[?25l[?12l[?25h[?25l:[?12l[?25h3match MyGroup3 /XXX/
[?25l[?12l[?25h[?25l:[?12l[?25hif matcharg(1) == ['MyGroup1', 'TODO'] && matcharg(2) == ['MyGroup2', 'FIXME']

&& matcharg(3) == ['MyGroup3', 'XXX']
[?25l:  [?12l[?25h:  let @r .= "OK\n"

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h:  let @r .= "FAILED\n"

[?25l:  [?12l[?25h:endif
[?25l:redraw!
:let v1 = screenattr(1, 1)
:let v4 = screenattr(1, 4)
:let v5 = screenattr(1, 5)[?12l[?25h[?25l

:[?12l[?25h" --- Check that "matcharg()" returns an empty list if the argument is not 1,
[?25l[?12l[?25h[?25l:[?12l[?25h" --- 2 or 3 (only 0 and 4 are tested).
[?25l[?12l[?25h[?25l:[?12l[?25hlet @r .= "*** Test 2: "
[?25l[?12l[?25h[?25l:[?12l[?25hif matcharg(0) == [] && matcharg(4) == []
[?25l
:  [?12l[?25h:  let @r .= "OK\n"

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h:  let @r .= "FAILED\n"

[?25l:  [?12l[?25h:endif
[?25l:redraw!
:let v1 = screenattr(1, 1)
:let v4 = screenattr(1, 4)
:let v5 = screenattr(1, 5)[?12l[?25h[?25l

:[?12l[?25h" --- Check that "matcharg()" returns ['', ''] if a match is not defined.
[?25l[?12l[?25h[?25l:[?12l[?25hlet @r .= "*** Test 3: "
[?25l[?12l[?25h[?25l:[?12l[?25hmatch
[?25l[?12l[?25h[?25l:[?12l[?25h2match
[?25l[?12l[?25h[?25l:[?12l[?25h3match
[?25l[?12l[?25h[?25l:[?12l[?25hif matcharg(1) == ['', ''] && matcharg(2) == ['', ''] && matcharg(3) == ['', '

'][?25l:  [?12l[?25h:  let @r .= "OK\n"

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h:  let @r .= "FAILED\n"

[?25l:  [?12l[?25h:endif
[?25l:redraw!
:let v1 = screenattr(1, 1)
:let v4 = screenattr(1, 4)
:let v5 = screenattr(1, 5)[?12l[?25h[?25l

:[?12l[?25h" --- Check that "matchadd()" and "getmatches()" agree on added matches and
[?25l[?12l[?25h[?25l:[?12l[?25h" --- that default values apply.
[?25l[?12l[?25h[?25l:[?12l[?25hlet @r .= "*** Test 4: "
[?25l[?12l[?25h[?25l:[?12l[?25hlet m1 = matchadd("MyGroup1", "TODO")
[?25l[?12l[?25h[?25l:[?12l[?25hlet m2 = matchadd("MyGroup2", "FIXME", 42)
[?25l[?12l[?25h[?25l:[?12l[?25hlet m3 = matchadd("MyGroup3", "XXX", 60, 17)
[?25l[?12l[?25h[?25l:[?12l[?25hif getmatches() == [{'group': 'MyGroup1', 'pattern': 'TODO', 'priority': 10, '

id': 4}, {'group': 'MyGroup2', 'pattern': 'FIXME', 'priority': 42, 'id': 5}, {'g

roup': 'MyGroup3', 'pattern': 'XXX', 'priority': 60, 'id': 17}]
[?25l:  [?12l[?25h:  let @r .= "OK\n"
[?25l
:  [?12l[?25h:else

[?25l:  [?12l[?25h:  let @r .= "FAILED\n"

[?25l:  [?12l[?25h:endif
[?25l:redraw!
:let v1 = screenattr(1, 1)
:let v4 = screenattr(1, 4)
:let v5 = screenattr(1, 5)[?12l[?25h[?25l

:[?12l[?25h" --- Check that "matchdelete()" deletes the matches defined in the previous
[?25l[?12l[?25h[?25l:[?12l[?25h" --- test correctly.
[?25l[?12l[?25h[?25l:[?12l[?25hlet @r .= "*** Test 5: "
[?25l[?12l[?25h[?25l:[?12l[?25hcall matchdelete(m1)
[?25l[?12l[?25h[?25l:[?12l[?25hcall matchdelete(m2)
[?25l[?12l[?25h[?25l:[?12l[?25hcall matchdelete(m3)
[?25l[?12l[?25h[?25l:[?12l[?25hunlet m1
[?25l[?12l[?25h[?25l:[?12l[?25hunlet m2
[?25l[?12l[?25h[?25l:[?12l[?25hunlet m3
[?25l[?12l[?25h[?25l:[?12l[?25hif getmatches() == []
[?25l
:  [?12l[?25h:  let @r .= "OK\n"

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h:  let @r .= "FAILED\n"

[?25l:  [?12l[?25h:endif
[?25l:redraw!
:let v1 = screenattr(1, 1)
:let v4 = screenattr(1, 4)
:let v5 = screenattr(1, 5)[?12l[?25h[?25l

:[?12l[?25h" --- Check that "matchdelete()" returns 0 if successful and otherwise -1.
[?25l[?12l[?25h[?25l:[?12l[?25hlet @r .= "*** Test 6: "
[?25l[?12l[?25h[?25l:[?12l[?25hlet m = matchadd("MyGroup1", "TODO")
[?25l[?12l[?25h[?25l:[?12l[?25hlet r1 = matchdelete(m)
[?25l[?12l[?25h[?25l:[?12l[?25hlet r2 = matchdelete(42)
[?25lE803: ID not found: 42[?12l[?25h[?25l:[?12l[?25hif r1 == 0 && r2 == -1
[?25l
:  [?12l[?25h:  let @r .= "OK\n"

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h:  let @r .= "FAILED\n"

[?25l:  [?12l[?25h:endif
[?25l:redraw!
:let v1 = screenattr(1, 1)
:let v4 = screenattr(1, 4)
:let v5 = screenattr(1, 5)[?12l[?25h[?25l

:[?12l[?25hunlet m
[?25l[?12l[?25h[?25l:[?12l[?25hunlet r1
[?25l[?12l[?25h[?25l:[?12l[?25hunlet r2
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check that "clearmatches()" clears all matches defined by ":match" and
[?25l[?12l[?25h[?25l:[?12l[?25h" --- "matchadd()".
[?25l[?12l[?25h[?25l:[?12l[?25hlet @r .= "*** Test 7: "
[?25l[?12l[?25h[?25l:[?12l[?25hlet m1 = matchadd("MyGroup1", "TODO")
[?25l[?12l[?25h[?25l:[?12l[?25hlet m2 = matchadd("MyGroup2", "FIXME", 42)
[?25l[?12l[?25h[?25l:[?12l[?25hlet m3 = matchadd("MyGroup3", "XXX", 60, 17)
[?25l[?12l[?25h[?25l:[?12l[?25hmatch MyGroup1 /COFFEE/
[?25l[?12l[?25h[?25l:[?12l[?25h2match MyGroup2 /HUMPPA/
[?25l[?12l[?25h[?25l:[?12l[?25h3match MyGroup3 /VIM/
[?25l[?12l[?25h[?25l:[?12l[?25hcall clearmatches()
[?25l[?12l[?25h[?25l:[?12l[?25hif getmatches() == []
[?25l
:  [?12l[?25h:  let @r .= "OK\n"

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h:  let @r .= "FAILED\n"

[?25l:  [?12l[?25h:endif
[?25l:redraw!
:let v1 = screenattr(1, 1)
:let v4 = screenattr(1, 4)
:let v5 = screenattr(1, 5)[?12l[?25h[?25l

:[?12l[?25hunlet m1
[?25l[?12l[?25h[?25l:[?12l[?25hunlet m2
[?25l[?12l[?25h[?25l:[?12l[?25hunlet m3
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check that "setmatches()" restores a list of matches saved by
[?25l[?12l[?25h[?25l:[?12l[?25h" --- "getmatches()" without changes. (Matches with equal priority must also
[?25l[?12l[?25h[?25l:[?12l[?25h" --- remain in the same order.)
[?25l[?12l[?25h[?25l:[?12l[?25hlet @r .= "*** Test 8: "
[?25l[?12l[?25h[?25l:[?12l[?25hlet m1 = matchadd("MyGroup1", "TODO")
[?25l[?12l[?25h[?25l:[?12l[?25hlet m2 = matchadd("MyGroup2", "FIXME", 42)
[?25l[?12l[?25h[?25l:[?12l[?25hlet m3 = matchadd("MyGroup3", "XXX", 60, 17)
[?25l[?12l[?25h[?25l:[?12l[?25hmatch MyGroup1 /COFFEE/
[?25l[?12l[?25h[?25l:[?12l[?25h2match MyGroup2 /HUMPPA/
[?25l[?12l[?25h[?25l:[?12l[?25h3match MyGroup3 /VIM/
[?25l[?12l[?25h[?25l:[?12l[?25hlet ml = getmatches()
[?25l[?12l[?25h[?25l:[?12l[?25hcall clearmatches()
[?25l[?12l[?25h[?25l:[?12l[?25hcall setmatches(ml)
[?25l[?12l[?25h[?25l:[?12l[?25hif getmatches() == ml
[?25l
:  [?12l[?25h:  let @r .= "OK\n"

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h:  let @r .= "FAILED\n"

[?25l:  [?12l[?25h:endif
[?25l:redraw!
:let v1 = screenattr(1, 1)
:let v4 = screenattr(1, 4)
:let v5 = screenattr(1, 5)[?12l[?25h[?25l

:[?12l[?25hcall clearmatches()
[?25l[?12l[?25h[?25l:[?12l[?25hunlet m1
[?25l[?12l[?25h[?25l:[?12l[?25hunlet m2
[?25l[?12l[?25h[?25l:[?12l[?25hunlet m3
[?25l[?12l[?25h[?25l:[?12l[?25hunlet ml
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check that "setmatches()" will not add two matches with the same ID. The
[?25l[?12l[?25h[?25l:[?12l[?25h" --- expected behaviour (for now) is to add the first match but not the
[?25l[?12l[?25h[?25l:[?12l[?25h" --- second and to return 0 (even though it is a matter of debate whether
[?25l[?12l[?25h[?25l:[?12l[?25h" --- this can be considered successful behaviour).
[?25l[?12l[?25h[?25l:[?12l[?25hlet @r .= "*** Test 9: "
[?25l[?12l[?25h[?25l:[?12l[?25hlet r1 = setmatches([{'group': 'MyGroup1', 'pattern': 'TODO', 'priority': 10, 

'id': 1}, {'group': 'MyGroup2', 'pattern': 'FIXME', 'priority': 10, 'id': 1}])
[?25lE801: ID already taken: 1Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hif getmatches() == [{'group': 'MyGroup1', 'pattern': 'TODO', 'priority': 10, '

id': 1}] && r1 == 0
[?25l:  [?12l[?25h:  let @r .= "OK\n"

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h:  let @r .= "FAILED\n"

[?25l:  [?12l[?25h:endif
[?25l:redraw!
:let v1 = screenattr(1, 1)
:let v4 = screenattr(1, 4)
:let v5 = screenattr(1, 5)
:let v6 = screenattr(1, 6)[?12l[?25h[?25l

:[?12l[?25hcall clearmatches()
[?25l[?12l[?25h[?25l:[?12l[?25hunlet r1
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check that "setmatches()" returns 0 if successful and otherwise -1.
[?25l[?12l[?25h[?25l:[?12l[?25h" --- (A range of valid and invalid input values are tried out to generate the
[?25l[?12l[?25h[?25l:[?12l[?25h" --- return values.)
[?25l[?12l[?25h[?25l:[?12l[?25hlet @r .= "*** Test 10: "
[?25l[?12l[?25h[?25l:[?12l[?25hlet rs1 = setmatches([])
[?25l[?12l[?25h[?25l:[?12l[?25hlet rs2 = setmatches([{'group': 'MyGroup1', 'pattern': 'TODO', 'priority': 10,

'id': 1}])
[?25l:redraw![?12l[?25h[?25l

:[?12l[?25hcall clearmatches()
[?25l[?12l[?25h[?25l:[?12l[?25hlet rf1 = setmatches(0)
[?25lE714: List required[?12l[?25h[?25l:[?12l[?25hlet rf2 = setmatches([0])
[?25lE474: Invalid argument[?12l[?25h[?25l:[?12l[?25hlet rf3 = setmatches([{'wrong key': 'wrong value'}])
[?25lE474: Invalid argument[?12l[?25h[?25l:[?12l[?25hif rs1 == 0 && rs2 == 0 && rf1 == -1 && rf2 == -1 && rf3 == -1
[?25l
:  [?12l[?25h:  let @r .= "OK\n"

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h:  let @r .= "FAILED\n"

[?25l:  [?12l[?25h:endif
[?25l:redraw!
:let v1 = screenattr(1, 1)
:let v4 = screenattr(1, 4)
:let v5 = screenattr(1, 5)[?12l[?25h[?25l

:[?12l[?25hunlet rs1
[?25l[?12l[?25h[?25l:[?12l[?25hunlet rs2
[?25l[?12l[?25h[?25l:[?12l[?25hunlet rf1
[?25l[?12l[?25h[?25l:[?12l[?25hunlet rf2
[?25l[?12l[?25h[?25l:[?12l[?25hunlet rf3
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check that "matchaddpos()" positions matches correctly
[?25l[?12l[?25h[?25l:[?12l[?25hlet @r .= "*** Test 11:\n"
[?25l[?12l[?25h[?25l:[?12l[?25hset nolazyredraw
[?25l[?12l[?25h[?25l:[?12l[?25hcall setline(1, 'abcdefghijklmnopq')
[?25l[?12l[?25h[?25l:[?12l[?25hcall matchaddpos("MyGroup1", [[1, 5], [1, 8, 3]], 10, 3)
[?25l[?12l[?25h[?25l:[?12l[?25h1
[?25labcdefghijklmnopq
"matchadd()", "matchaddpos", "matcharg()", "matchdelete()", and "setmatches()".

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: "
:highlight MyGroup1 ctermbg=red guibg=red
:highlight MyGroup2 ctermbg=green guibg=green
:highlight MyGroup3 ctermbg=blue guibg=blue
:match MyGroup1 /TODO/
:2match MyGroup2 /FIXME/
:3match MyGroup3 /XXX/
:if matcharg(1) == ['MyGroup1', 'TODO'] && matcharg(2) == ['MyGroup2', 'FIXME']  && matcharg(3) == ['MyGroup3', 'XXX']
:  let @r .= "OK\n"
:else
:  let @r .= "FAILED\n"
:endif
:" --- Check that "matcharg()" returns an empty list if the argument is not 1,
:" --- 2 or 3 (only 0 and 4 are tested).[?12l[?25h[?25l:[?12l[?25hredraw!
[?25labcdefghijklmnopq
"matchadd()", "matchaddpos", "matcharg()", "matchdelete()", and "setmatches()".

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: "
:highlight MyGroup1 ctermbg=red guibg=red
:highlight MyGroup2 ctermbg=green guibg=green
:highlight MyGroup3 ctermbg=blue guibg=blue
:match MyGroup1 /TODO/
:2match MyGroup2 /FIXME/
:3match MyGroup3 /XXX/
:if matcharg(1) == ['MyGroup1', 'TODO'] && matcharg(2) == ['MyGroup2', 'FIXME']  && matcharg(3) == ['MyGroup3', 'XXX']
:  let @r .= "OK\n"
:else
:  let @r .= "FAILED\n"
:endif
:" --- Check that "matcharg()" returns an empty list if the argument is not 1,
:" --- 2 or 3 (only 0 and 4 are tested).[?12l[?25h[?25l:[?12l[?25hlet v1 = screenattr(1, 1)
[?25l[?12l[?25h[?25l:[?12l[?25hlet v5 = screenattr(1, 5)
[?25l[?12l[?25h[?25l:[?12l[?25hlet v6 = screenattr(1, 6)
[?25l[?12l[?25h[?25l:[?12l[?25hlet v8 = screenattr(1, 8)
[?25l[?12l[?25h[?25l:[?12l[?25hlet v10 = screenattr(1, 10)
[?25l[?12l[?25h[?25l:[?12l[?25hlet v11 = screenattr(1, 11)
[?25l[?12l[?25h[?25l:[?12l[?25hlet @r .= string(getmatches())."\n"
[?25l[?12l[?25h[?25l:[?12l[?25hif v1 != v5 && v6 == v1 && v8 == v5 && v10 == v5 && v11 == v1
[?25l
:  [?12l[?25h:  let @r .= "OK\n"

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h:  let @r .= "FAILED: " . v5 . "/" . v6 . "/" . v8 . "/" . v10 . "/" . v11 .

"\n"

[?25l:  [?12l[?25h:endif
[?25labcdefghijklmnopq
"matchadd()", "matchaddpos", "matcharg()", "matchdelete()", and "setmatches()".

STARTTEST
:so small.vim[?12l[?25h[?25l:[?12l[?25hcall clearmatches()
[?25lefghij
[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall setline(1, 'abcdΣabcdef')
[?25lΣabcdef[?12l[?25h[?25l:[?12l[?25hcall matchaddpos("MyGroup1", [[1, 4, 2], [1, 9, 2]])
[?25ldΣabcd
[?12l[?25h[?25l:[?12l[?25h1
[?25l[?12l[?25h[?25l:[?12l[?25hredraw!
[?25labcdΣabcdef
"matchadd()", "matchaddpos", "matcharg()", "matchdelete()", and "setmatches()".

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: "
:highlight MyGroup1 ctermbg=red guibg=red
:highlight MyGroup2 ctermbg=green guibg=green
:highlight MyGroup3 ctermbg=blue guibg=blue
:match MyGroup1 /TODO/
:2match MyGroup2 /FIXME/
:3match MyGroup3 /XXX/
:if matcharg(1) == ['MyGroup1', 'TODO'] && matcharg(2) == ['MyGroup2', 'FIXME']  && matcharg(3) == ['MyGroup3', 'XXX']
:  let @r .= "OK\n"
:else
:  let @r .= "FAILED\n"
:endif
:" --- Check that "matcharg()" returns an empty list if the argument is not 1,
:" --- 2 or 3 (only 0 and 4 are tested).[?12l[?25h[?25l:[?12l[?25hlet v1 = screenattr(1, 1)
[?25l[?12l[?25h[?25l:[?12l[?25hlet v4 = screenattr(1, 4)
[?25l[?12l[?25h[?25l:[?12l[?25hlet v5 = screenattr(1, 5)
[?25l[?12l[?25h[?25l:[?12l[?25hlet v6 = screenattr(1, 6)
[?25l[?12l[?25h[?25l:[?12l[?25hlet v7 = screenattr(1, 7)
[?25l[?12l[?25h[?25l:[?12l[?25hlet v8 = screenattr(1, 8)
[?25l[?12l[?25h[?25l:[?12l[?25hlet v9 = screenattr(1, 9)
[?25l[?12l[?25h[?25l:[?12l[?25hlet v10 = screenattr(1, 10)
[?25l[?12l[?25h[?25l:[?12l[?25hlet @r .= string(getmatches())."\n"
[?25l[?12l[?25h[?25l:[?12l[?25hif v1 != v4 && v5 == v4 && v6 == v1 && v7 == v1 && v8 == v4 && v9 == v4 && v10

== v1
[?25l:  [?12l[?25h:  let @r .= "OK\n"

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h:  let @r .= "FAILED: " . v4 . "/" . v5 . "/" . v6 . "/" . v7 . "/" . v8 . "

/" . v9 . "/" . v10 . "\n"

[?25l:  [?12l[?25h:endif
[?25labcdΣabcdef
"matchadd()", "matchaddpos", "matcharg()", "matchdelete()", and "setmatches()".

STARTTEST
:so small.vim[?12l[?25h[?25l:[?12l[?25hcall clearmatches()
[?25ldΣabcd
[?12l[?25h[?25l: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
:/^Results/,$wq! test.out
ENDTEST

Results of test63:
[?12l[?25h[?25l
15 more lines
*** Test 1: OK15 more lines[?12l[?25h[?25l
*** Test 2: OK[?12l[?25h[?25l
:[?12l[?25h/^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 16 lines, 364 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test64.failed test.ok test.out X* viminfo
cp test64.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test64.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test64.in" 649 lines, 26692 charactersTest for regexp patterns without multi-byte support.
See test95 for multi-byte tests.

A pattern that gives the expected result produces OK, so that we know it was
actually tried.

STARTTEST
:so small.vim
:" tl is a List of Lists with:
:"    regexp pattern
:"    text to test the pattern on
:"    expected match (optional)
:"    expected submatch 1 (optional)
:"    expected submatch 2 (optional)
:"    etc.
:"  When there is no match use only the first two items.
:let tl = []
:"
:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
:"""" Previously written tests """"""""""""""""""""""""""""""""
:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
:"
:call add(tl, [2, 'ab', 'aab', 'ab'])[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for regexp patterns without multi-byte support.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 616 lines, 26217 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:for pat in [' \ze*', ' \zs*']
:  try
:    let l = matchlist('x x', pat)
:    $put ='E888 NOT detected for ' . pat
:  catch
:    $put ='E888 detected for ' . pat
:  endtry
:endfor
:"
:""""" Write the results """""""""""""
:/\%#=1^Results/,$wq! test.out
ENDTEST

Substitute here:
<T="">Ta 5</Title>
<T="">Ac 7</Title>

Behind:
asdfasd<yyy
xxstart1
asdfasd<yy
xxxstart2
asdfasd<yy[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" tl is a List of Lists with:
[?25l[?12l[?25h[?25l:[?12l[?25h"    regexp pattern
[?25l[?12l[?25h[?25l:[?12l[?25h"    text to test the pattern on
[?25l[?12l[?25h[?25l:[?12l[?25h"    expected match (optional)
[?25l[?12l[?25h[?25l:[?12l[?25h"    expected submatch 1 (optional)
[?25l[?12l[?25h[?25l:[?12l[?25h"    expected submatch 2 (optional)
[?25l[?12l[?25h[?25l:[?12l[?25h"    etc.
[?25l[?12l[?25h[?25l:[?12l[?25h"  When there is no match use only the first two items.
[?25l[?12l[?25h[?25l:[?12l[?25hlet tl = []
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Previously written tests """"""""""""""""""""""""""""""""
[?25l[?12l[?25h[?25l:[?12l[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'ab', 'aab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'b', 'abcdef', 'b'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'bc*', 'abccccdef', 'bcccc'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'bc\{-}', 'abccccdef', 'b'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'bc*', 'abbdef', 'b'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'c*', 'ccc', 'ccc'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'bc*', 'abdef', 'b'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'c*', 'abdef', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'bc\+', 'abccccdef', 'bcccc'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'bc\+', 'abdef']) "no match
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"operator \|
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\|ab', 'cabd', 'a']) "alternation is ordered
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'c\?', 'ccb', 'c'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'bc\?', 'abd', 'b'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'bc\?', 'abccd', 'bc'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va{1}', 'ab', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va{2}', 'aa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va{2}', 'caad', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va{2}', 'aba'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va{2}', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va{2}', 'abaa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va{2}', 'aaa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\vb{1}', 'abca', 'b'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\vba{2}', 'abaa', 'baa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\vba{3}', 'aabaac'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab){1}', 'ab', 'ab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab){1}', 'dabc', 'ab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab){1}', 'acb'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab){0,2}', 'acb', "", ""])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab){0,2}', 'ab', 'ab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab){1,2}', 'ab', 'ab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab){1,2}', 'ababc', 'abab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab){2,4}', 'ababcab', 'abab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab){2,4}', 'abcababa', 'abab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab){2}', 'abab', 'abab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab){2}', 'cdababe', 'abab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab){2}', 'abac'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab){2}', 'abacabab', 'abab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v((ab){2}){2}', 'abababab', 'abababab', 'abab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v((ab){2}){2}', 'abacabababab', 'abababab', 'abab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{2}){1}', 'aaac', 'aa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{2}){1}', 'daaac', 'aa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{1}){2}', 'daaac', 'aa', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{1}){2}', 'aaa', 'aa', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{2})+', 'adaac', 'aa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{2})+', 'aa', 'aa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{1}){2}', 'aa', 'aa', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{2}){2}', 'aaaa', 'aaaa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{2}){2}', 'aaabaaaa', 'aaaa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a+){2}', 'dadaac', 'aa', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{3}){2}', 'aaaaaaa', 'aaaaaa', 'aaa'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{1,2}){2}', 'daaac', 'aaa', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{1,3}){2}', 'daaaac', 'aaaa', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{1,3}){2}', 'daaaaac', 'aaaaa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{1,3}){3}', 'daac'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{1,2}){2}', 'dac'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a+)+', 'daac', 'aa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a+)+', 'aaa', 'aaa', 'aaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a+){1,2}', 'aaa', 'aaa', 'aaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a+)(a+)', 'aaa', 'aaa', 'aa', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{3})+', 'daaaac', 'aaa', 'aaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a|b|c)+', 'aacb', 'aacb', 'b'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a|b|c){2}', 'abcb', 'ab', 'b'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(abc){2}', 'abcabd', ])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(abc){2}', 'abdabcabc','abcabc', 'abc'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a*', 'cc', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a*)+', 'cc', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v((ab)+)+', 'ab', 'ab', 'ab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(((ab)+)+)+', 'ab', 'ab', 'ab', 'ab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(((ab)+)+)+', 'dababc', 'abab', 'abab', 'abab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{0,2})+', 'cc', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a*)+', '', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v((a*)+)+', '', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v((ab)*)+', '', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va{1,3}', 'aab', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va{2,3}', 'abaa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v((ab)+|c*)+', 'abcccaba', 'abcccab', '', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{2})|(b{3})', 'bbabbbb', 'bbb', '', 'bbb'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va{2}|b{2}', 'abab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a)+|(c)+', 'bbacbaacbbb', 'a', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\vab{2,3}c', 'aabbccccccccccccc', 'abbc'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\vab{2,3}c', 'aabbbccccccccccccc', 'abbbc'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\vab{2,3}cd{2,3}e', 'aabbbcddee', 'abbbcdde'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va(bc){2}d', 'aabcbfbc' ])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va*a{2}', 'a', ])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va*a{2}', 'aa', 'aa' ])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va*a{2}', 'aaa', 'aaa' ])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va*a{2}', 'bbbabcc', ])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va*b*|a*c*', 'a', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\va{1}b{1}|a{1}b{1}', ''])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"submatches
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a)', 'ab', 'a', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a)(b)', 'ab', 'ab', 'a', 'b'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(ab)(b)(c)', 'abbc', 'abbc', 'ab', 'b', 'c'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v((a)(b))', 'ab', 'ab', 'ab', 'a', 'b'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a)|(b)', 'ab', 'a', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a*)+', 'aaaa', 'aaaa', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x', 'abcdef'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?12l[?25h[?25l:[?12l[?25h""""" Simple tests """""""""""""""""""""""""""""""""""""""""""
[?25l[?12l[?25h[?25l:[?12l[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Search single groups
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'ab', 'aab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'ab', 'baced'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'ab', '                    ab           ', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Search multi-modifiers
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x*', 'xcd', 'x'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x*', 'xxxxxxxxxxxxxxxxsofijiojgf', 'xxxxxxxxxxxxxxxx'])
[?25l[?12l[?25h[?25l:[?12l[?25h" empty match is good
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x*', 'abcdoij', ''])
[?25l[?12l[?25h[?25l:[?12l[?25h" no match here
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x\+', 'abcdoin'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x\+', 'abcdeoijdfxxiuhfij', 'xx'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x\+', 'xxxxx', 'xxxxx'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x\+', 'abc x siufhiush xxxxxxxxx', 'x'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x\=', 'x sdfoij', 'x'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x\=', 'abc sfoij', '']) " empty match is good
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x\=', 'xxxxxxxxx c', 'x'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x\?', 'x sdfoij', 'x'])
[?25l[?12l[?25h[?25l:[?12l[?25h" empty match is good
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x\?', 'abc sfoij', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'x\?', 'xxxxxxxxxx c', 'x'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{0,0}', 'abcdfdoij', ''])
[?25l[?12l[?25h[?25l:[?12l[?25h" same thing as 'a?'
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{0,1}', 'asiubid axxxaaa', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25h" same thing as 'a\{0,1}'
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{1,0}', 'asiubid axxxaaa', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{3,6}', 'aa siofuh'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{3,6}', 'aaaaa asfoij afaa', 'aaaaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{3,6}', 'aaaaaaaa', 'aaaaaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{0}', 'asoiuj', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{2}', 'aaaa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{2}', 'iuash fiusahfliusah fiushfilushfi uhsaifuh askfj na

sfvius afg aaaa sfiuhuhiushf', 'aa'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{2}', 'abcdefghijklmnopqrestuvwxyz1234567890'])
[?25l[?12l[?25h[?25l:[?12l[?25h" same thing as 'a*'
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{0,}', 'oij sdigfusnf', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{0,}', 'aaaaa aa', 'aaaaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{2,}', 'sdfiougjdsafg'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{2,}', 'aaaaasfoij ', 'aaaaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{5,}', 'xxaaaaxxx '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{5,}', 'xxaaaaaxxx ', 'aaaaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{,0}', 'oidfguih iuhi hiu aaaa', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{,5}', 'abcd', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{,5}', 'aaaaaaaaaa', 'aaaaa'])
[?25l[?12l[?25h[?25l:[?12l[?25h" leading star as normal char when \{} follows
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^*\{4,}$', '***'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^*\{4,}$', '****', '****'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^*\{4,}$', '*****', '*****'])
[?25l[?12l[?25h[?25l:[?12l[?25h" same thing as 'a*'
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{}', 'bbbcddiuhfcd', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{}', 'aaaaioudfh coisf jda', 'aaaa'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-0,0}', 'abcdfdoij', ''])
[?25l[?12l[?25h[?25l:[?12l[?25h" anti-greedy version of 'a?'
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-0,1}', 'asiubid axxxaaa', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-3,6}', 'aa siofuh'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-3,6}', 'aaaaa asfoij afaa', 'aaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-3,6}', 'aaaaaaaa', 'aaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-0}', 'asoiuj', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-2}', 'aaaa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-2}', 'abcdefghijklmnopqrestuvwxyz1234567890'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-0,}', 'oij sdigfusnf', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-0,}', 'aaaaa aa', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-2,}', 'sdfiougjdsafg'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-2,}', 'aaaaasfoij ', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-,0}', 'oidfguih iuhi hiu aaaa', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-,5}', 'abcd', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-,5}', 'aaaaaaaaaa', ''])
[?25l[?12l[?25h[?25l:[?12l[?25h" anti-greedy version of 'a*'
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-}', 'bbbcddiuhfcd', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-}', 'aaaaioudfh coisf jda', ''])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test groups of characters and submatches
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(abc\)*', 'abcabcabc', 'abcabcabc', 'abc'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(ab\)\+', 'abababaaaaa', 'ababab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(abaaaaa\)*cd', 'cd', 'cd', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(test1\)\? \(test2\)\?', 'test1 test3', 'test1 ', 'test1', 

''])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(test1\)\= \(test2\) \(test4443\)\=', ' test2 test4443 yupi

iiiiiiiiii', ' test2 test4443', '', 'test2', 'test4443'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(\(sub1\) hello \(sub 2\)\)', 'asterix sub1 hello sub 2 obe

lix', 'sub1 hello sub 2', 'sub1 hello sub 2', 'sub1', 'sub 2'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(\(\(yyxxzz\)\)\)', 'abcdddsfiusfyyzzxxyyxxzz', 'yyxxzz', '

yyxxzz', 'yyxxzz', 'yyxxzz'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v((ab)+|c+)+', 'abcccaba', 'abcccab', 'ab', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v((ab)|c*)+', 'abcccaba', 'abcccab', '', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a(c*)+b)+', 'acbababaaa', 'acbabab', 'ab', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a|b*)+', 'aaaa', 'aaaa', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\p*', 'aá ^I', 'aá '])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test greedy-ness and lazy-ness
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-2,7}','aaaaaaaaaaaaa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{-2,7}x','aaaaaaaaax', 'aaaaaaax'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{2,7}','aaaaaaaaaaaaaaaaaaaa', 'aaaaaaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\{2,7}x','aaaaaaaaax', 'aaaaaaax'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\vx(.{-,8})yz(.*)','xayxayzxayzxayz','xayxayzxayzxayz','ayxa

','xayzxayz'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\vx(.*)yz(.*)','xayxayzxayzxayz','xayxayzxayzxayz', 'ayxayzx

ayzxa',''])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{1,2}){-2,3}','aaaaaaa','aaaa','aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a{-1,3})+', 'aa', 'aa', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^\s\{-}\zs\( x\|x$\)', ' x', ' x', ' x'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^\s\{-}\zs\(x\| x$\)', ' x', ' x', ' x'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^\s\{-}\ze\(x\| x$\)', ' x', '', ' x'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^\(\s\{-}\)\(x\| x$\)', ' x', ' x', '', ' x'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test Character classes
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\d\+e\d\d','test 10e23 fd','10e23'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test collections and character range []
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v[a]', 'abcd', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a[bcd]', 'abcd', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a[b-d]', 'acbd', 'ac'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[a-d][e-f][x-x]d', 'cexdxx', 'cexd'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v[[:alpha:]]+', 'abcdefghijklmnopqrstuvwxyz6','abcdefghijkl

mnopqrstuvwxyz'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[[:alpha:]\+]', '6x8','x'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^abc]\+','abcabcabc'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^abc]','defghiasijvoinasoiunbvb','d'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^abc]\+','ddddddda','ddddddd'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^a-d]\+','aaaAAAZIHFNCddd','AAAZIHFNC'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[a-f]*','iiiiiiii',''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[a-f]*','abcdefgh','abcdef'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^a-f]\+','abcdefgh','gh'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[a-c]\{-3,6}','abcabc','abc'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^[:alpha:]]\+','abcccadfoij7787ysf287yrnccdu','7787'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[-a]', '-', '-'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[a-]', '-', '-'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[a-f]*\c','ABCDEFGH','ABCDEF'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[abc][xyz]\c','-af-AF-BY--','BY'])
[?25l[?12l[?25h[?25l:[?12l[?25h" filename regexp
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[-./[:alnum:]_~]\+', 'log13.file', 'log13.file'])
[?25l[?12l[?25h[?25l:[?12l[?25h" special chars
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[\]\^\-\\]\+', '\^\\\-\---^', '\^\\\-\---^'])
[?25l[?12l[?25h[?25l:[?12l[?25h" collation elem
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[[.a.]]\+', 'aa', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25h" middle of regexp
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'abc[0-9]*ddd', 'siuhabc ii'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'abc[0-9]*ddd', 'adf abc44482ddd oijs', 'abc44482ddd'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\_[0-9]\+', 'asfi9888u', '9888'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[0-9\n]\+', 'asfi9888u', '9888'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\_[0-9]\+', "asfi\n9888u", "\n9888"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\_f', "  \na ", "\n"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\_f\+', "  \na ", "\na"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[0-9A-Za-z-_.]\+', " @0_a.A-{ ", "0_a.A-"])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Test start/end of line, start/end of file
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^a.', "a_\nb ", "a_"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^a.', "b a \na_"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '.a$', " a\n "])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '.a$', " a b\n_a", "_a"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\%^a.', "a a\na", "a "])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\%^a', " a \na "])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '.a\%$', " a\n "])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '.a\%$', " a\n_a", "_a"])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Test recognition of character classes
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[0-7]\+', 'x0123456789x', '01234567'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^0-7]\+', '0a;X+% 897', 'a;X+% 89'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[0-9]\+', 'x0123456789x', '0123456789'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^0-9]\+', '0a;X+% 9', 'a;X+% '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[0-9a-fA-F]\+', 'x0189abcdefg', '0189abcdef'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^0-9A-Fa-f]\+', '0189g;X+% ab', 'g;X+% '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[a-z_A-Z0-9]\+', ';+aso_SfOij ', 'aso_SfOij'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^a-z_A-Z0-9]\+', 'aSo_;+% sfOij', ';+% '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[a-z_A-Z]\+', '0abyz_ABYZ;', 'abyz_ABYZ'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^a-z_A-Z]\+', 'abAB_09;+% yzYZ', '09;+% '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[a-z]\+', '0abcxyz1', 'abcxyz'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[a-z]\+', 'AabxyzZ', 'abxyz'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^a-z]\+', 'a;X09+% x', ';X09+% '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^a-z]\+', 'abX0;%yz', 'X0;%'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[a-zA-Z]\+', '0abABxzXZ9', 'abABxzXZ'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^a-zA-Z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[A-Z]\+', 'aABXYZz', 'ABXYZ'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^A-Z]\+', 'ABx0;%YZ', 'x0;%'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[a-z]\+\c', '0abxyzABXYZ;', 'abxyzABXYZ'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[A-Z]\+\c', '0abABxzXZ9', 'abABxzXZ'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\c[^a-z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\c[^A-Z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\C[^A-Z]\+', 'ABCOIJDEOIFNSD jsfoij sa', ' jsfoij sa'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Tests for \z features
[?25l[?12l[?25h[?25l:[?12l[?25h" match ends at \ze
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'xx \ze test', 'xx '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'abc\zeend', 'oij abcend', 'abc'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'aa\zebb\|aaxx', ' aabb ', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'aa\zebb\|aaxx', ' aaxx ', 'aaxx'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'aabb\|aa\zebb', ' aabb ', 'aabb'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'aa\zebb\|aaebb', ' aabb ', 'aa'])
[?25l[?12l[?25h[?25l:[?12l[?25h" match starts at \zs
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'abc\zsdd', 'ddabcddxyzt', 'dd'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'aa \zsax', ' ax'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'abc \zsmatch\ze abc', 'abc abc abc match abc abc', 'match'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a \zsif .*){2}', 'a if then a if last', 'if last', 'a if 

last'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\>\zs.', 'aword. ', '.'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\s\+\ze\[/\|\s\zs\s\+', 'is   [a t', '  '])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Tests for \@= and \& features
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'abc\@=', 'abc', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'abc\@=cd', 'abcd', 'abcd'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'abc\@=', 'ababc', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25h" will never match, no matter the input text
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'abcd\@=e', 'abcd'])
[?25l[?12l[?25h[?25l:[?12l[?25h" will never match
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'abcd\@=e', 'any text in here ... '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(abc)@=..', 'xabcd', 'ab', 'abc'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(.*John\)\@=.*Bob', 'here is John, and here is B'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(John.*\)\@=.*Bob', 'John is Bobs friend', 'John is Bob', '

John is Bobs friend'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\<\S\+\())\)\@=', '$((i=i+1))', 'i=i+1', '))'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '.*John\&.*Bob', 'here is John, and here is B'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '.*John\&.*Bob', 'John is Bobs friend', 'John is Bob'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(test1)@=.*yep', 'this is a test1, yep it is', 'test1, yep

', 'test1'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'foo\(bar\)\@!', 'foobar'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'foo\(bar\)\@!', 'foo bar', 'foo'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'if \(\(then\)\@!.\)*$', ' if then else'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'if \(\(then\)\@!.\)*$', ' if else ', 'if else ', ' '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(foo\)\@!bar', 'foobar', 'bar'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(foo\)\@!...bar', 'foobar'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' bar foo '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo bar '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo xxx ', 'foo'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[ ]\@!\p\%([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:']

)[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[ ]\@!\p\([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:', 

's'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'm\k\+_\@=\%(_\@!\k\)\@<=\k\+e', 'mx__xe', 'mx__xe'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\%(\U\@<=S\k*\|S\l\)R', 'SuR', 'SuR'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Combining different tests and features
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[[:alpha:]]\{-2,6}', '787abcdiuhsasiuhb4', 'ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '', 'abcd', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(())', 'any possible text', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v%(ab(xyz)c)', '   abxyzc ', 'abxyzc', 'xyz'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(test|)empty', 'tesempty', 'empty', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v(a|aa)(a|aa)', 'aaa', 'aa', 'a', 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" \%u and friends
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\%d32', 'yes no', ' '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\%o40', 'yes no', ' '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\%x20', 'yes no', ' '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\%u0020', 'yes no', ' '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\%U00000020', 'yes no', ' '])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\%d0', "yes\x0ano", "\x0a"])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h""""" \%[abc]
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'foo\%[bar]', 'fobar'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'foo\%[bar]', 'foobar', 'foobar'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'foo\%[bar]', 'fooxx', 'foo'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'foo\%[bar]', 'foobxx', 'foob'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'foo\%[bar]', 'foobaxx', 'fooba'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'foo\%[bar]', 'foobarxx', 'foobar'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'foo\%[bar]x', 'foobxx', 'foobx'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'foo\%[bar]x', 'foobarxx', 'foobarx'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\%[bar]x', 'barxx', 'barx'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\%[bar]x', 'bxx', 'bx'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\%[bar]x', 'xxx', 'x'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'b\%[[ao]r]', 'bar bor', 'bar'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'b\%[[]]r]', 'b]r bor', 'b]r'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '@\%[\w\-]*', '<http://john.net/pandoc/>[@pandoc]', '@pandoc'

])[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Alternatives, must use first longest match
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'goo\|go', 'google', 'goo'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\<goo\|\<go', 'google', 'goo'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\<goo\|go', 'google', 'goo'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Back references
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(\i\+\) \1', ' abc abc', 'abc abc', 'abc'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(\i\+\) \1', 'xgoo goox', 'goo goo', 'goo'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(a\)\(b\)\(c\)\(dd\)\(e\)\(f\)\(g\)\(h\)\(i\)\1\2\3\4\5\6\7

\8\9', 'xabcddefghiabcddefghix', 'abcddefghiabcddefghi', 'a', 'b', 'c', 'dd', 'e

', 'f', 'g', 'h', 'i'])
[?25l:for pat in [' \ze*', ' \zs*']
:  try[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(\d*\)a \1b', ' a b ', 'a b', ''])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^.\(.\).\_..\1.', "aaa\naaa\nb", "aaa\naaa", 'a'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.com', 'foo.bat/foo

.com', 'bat'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.bat'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<=$', 'foo.bat/foo.bat', 'foo.bat/foo

.bat', 'bat', 'bat'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}', '2013-06-27${0}', '$

{0}', '0'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^\(a*\)\1$', 'aaaaaaaa', 'aaaaaaaa', 'aaaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^\(a\{-2,}\)\1\+$', 'aaaaaaaaa', 'aaaaaaaaa', 'aaa'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Look-behind with limit
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '<\@<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '<\@1<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '<\@2<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(<<\)\@<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<<

'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(<<\)\@1<=span.', 'xxspanxxxx<spanxx<<spanyyy'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(<<\)\@2<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<

<'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(foo\)\@<!bar.', 'xx foobar1 xbar2 xx', 'bar2'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" look-behind match in front of a zero-width item
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v\C%(<Last Changed:\s+)@<=.*$', '" test header'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v\C%(<Last Changed:\s+)@<=.*$', '" Last Changed: 1970', '19

70'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(foo\)\@<=\>', 'foobar'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(foo\)\@<=\>', 'barfoo', '', 'foo'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(foo\)\@<=.*', 'foobar', 'bar', 'foo'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" complicated look-behind match
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(r\@<=\|\w\@<!\)\/', 'x = /word/;', '/'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^[a-z]\+\ze \&\(asdf\)\@<!', 'foo bar', 'foo'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h""""" \@>
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(a*\)\@>a', 'aaaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(a*\)\@>b', 'aaab', 'aaab', 'aaa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^\(.\{-}b\)\@>.', '  abcbd', '  abc', '  ab'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(.\{-}\)\(\)\@>$', 'abc', 'abc', 'abc', ''])
[?25l[?12l[?25h[?25l:[?12l[?25h" TODO: BT engine does not restore submatch after failure
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [1, '\(a*\)\@>a\|a\+', 'aaaa', 'aaaa'])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" "\_" prepended negated collection matches EOL
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\_[^8-9]\+', "asfi\n9888", "asfi\n"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\_[^a]\+', "asfi\n9888", "sfi\n9888"])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Requiring lots of states.
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}', "

12345678-1234-1234-1234-123456789012 ", "12345678-1234-1234-1234-123456789012",

"1234-"])
[?25l:for pat in [' \ze*', ' \zs*']
:  try[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Skip adding state twice
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=', "#if FOO", 

"#if", ' FOO'])
[?25l:for pat in [' \ze*', ' \zs*'][?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Run the tests
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hfor t in tl
[?25l
:  [?12l[?25h:  let re = t[0]

[?25l:  [?12l[?25h:  let pat = t[1]

[?25l:  [?12l[?25h:  let text = t[2]

[?25l:  [?12l[?25h:  let matchidx = 3

[?25l:  [?12l[?25h:  for engine in [0, 1, 2]

[?25l:    [?12l[?25h:    if engine == 2 && re == 0 || engine == 1 && re == 1

[?25l:      [?12l[?25h:      continue

[?25l:      [?12l[?25h:    endif

[?25l:    [?12l[?25h:    let &regexpengine = engine

[?25l:    [?12l[?25h:    try

[?25l:      [?12l[?25h:      let l = matchlist(text, pat)

[?25l:      [?12l[?25h:    catch

[?25l:      [?12l[?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te

xt . '\", caused an exception: \"' . v:exception . '\"'

[?25l:      [?12l[?25h:    endtry

[?25l:    [?12l[?25h:" check the match itself

[?25l:    [?12l[?25h:    if len(l) == 0 && len(t) > matchidx

[?25l:      [?12l[?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te

xt . '\", did not match, expected: \"' . t[matchidx] . '\"'

[?25l:      [?12l[?25h:    elseif len(l) > 0 && len(t) == matchidx

[?25l:      [?12l[?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te

xt . '\", match: \"' . l[0] . '\", expected no match'

[?25l:      [?12l[?25h:    elseif len(t) > matchidx && l[0] != t[matchidx]

[?25l:      [?12l[?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te
t . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'

[?25l:      [?12l[?25h:    else

[?25l:      [?12l[?25h:      $put ='OK ' . engine . ' - ' . pat

[?25l:      [?12l[?25h:    endif

[?25l:    [?12l[?25h:    if len(l) > 0

[?25l:      [?12l[?25h:"   check all the nine submatches

[?25l:      [?12l[?25h:      for i in range(1, 9)

[?25l:[?12l[?25h:        if len(t) <= matchidx + i

[?25l:[?12l[?25h:          let e = ''

[?25l:[?12l[?25h:        else

[?25l:[?12l[?25h:          let e = t[matchidx + i]

[?25l:[?12l[?25h:        endif

[?25l:[?12l[?25h:        if l[i] != e

[?25l:[?12l[?25h:          $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: 
"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'

[?25l:[?12l[?25h:        endif

[?25l:[?12l[?25h:      endfor

[?25l:      [?12l[?25h:      unlet i

[?25l:      [?12l[?25h:    endif

[?25l:    [?12l[?25h:  endfor

[?25l:  [?12l[?25h:endfor
[?25lOK 0 - \(a*\)\@>b
OK 1 - \(a*\)\@>b
OK 2 - \(a*\)\@>b
OK 0 - ^\(.\{-}b\)\@>.
OK 1 - ^\(.\{-}b\)\@>.
OK 2 - ^\(.\{-}b\)\@>.
OK 0 - \(.\{-}\)\(\)\@>$
OK 1 - \(.\{-}\)\(\)\@>$
OK 2 - \(.\{-}\)\(\)\@>$
OK 0 - \(a*\)\@>a\|a\+
OK 2 - \(a*\)\@>a\|a\+
OK 0 - \_[^8-9]\+
OK 1 - \_[^8-9]\+
OK 2 - \_[^8-9]\+
OK 0 - \_[^a]\+
OK 1 - \_[^a]\+
OK 2 - \_[^a]\+
OK 0 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}
OK 1 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}
OK 2 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}
OK 0 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=
OK 1 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=
OK 2 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=
[?12l[?25h[?25l
:[?12l[?25hunlet t tl e l
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""""" multi-line tests """"""""""""""""""""
[?25l[?12l[?25h[?25l:[?12l[?25hlet tl = []
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" back references
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '^.\(.\).\_..\1.', ['aaa', 'aaa', 'b'], ['XX', 'b']])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\v.*\/(.*)\n.*\/\1$', ['./Dir1/Dir2/zyxwvuts.txt', './Dir1/D

ir2/abcdefgh.bat', '', './Dir1/Dir2/file1.txt', './OtherDir1/OtherDir2/file1.txt

'], ['./Dir1/Dir2/zyxwvuts.txt', './Dir1/Dir2/abcdefgh.bat', '', 'XX']])
[?25lOK 0 - \(a*\)\@>b
OK 1 - \(a*\)\@>b[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" line breaks
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\S.*\nx', ['abc', 'def', 'ghi', 'xjk', 'lmn'], ['abc', 'def'

, 'XXjk', 'lmn']])
[?25lOK 0 - \(a*\)\@>b[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Check that \_[0-9] matching EOL does not break a following \>
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)

\.\)\{3\}\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>', ['', 'loca

lnet/192.168.0.1', ''], ['', 'localnet/XX', '']])
[?25lOK 0 - \(a*\)\@>b
OK 1 - \(a*\)\@>b[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Check a pattern with a line break and ^ and $
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\n^b$\n^c', ['a', 'b', 'c'], ['XX']])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\(^.\+\n\)\1', [' dog', ' dog', 'asdf'], ['XXasdf']])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Run the multi-line tests
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h$put ='multi-line tests'
[?25l
multi-line tests[?12l[?25h[?25l
:[?12l[?25hfor t in tl
[?25l
:  [?12l[?25h:  let re = t[0]

[?25l:  [?12l[?25h:  let pat = t[1]

[?25l:  [?12l[?25h:  let before = t[2]

[?25l:  [?12l[?25h:  let after = t[3]

[?25l:  [?12l[?25h:  for engine in [0, 1, 2]

[?25l:    [?12l[?25h:    if engine == 2 && re == 0 || engine == 1 && re ==1

[?25l:      [?12l[?25h:      continue

[?25l:      [?12l[?25h:    endif

[?25l:    [?12l[?25h:    let &regexpengine = engine

[?25l:    [?12l[?25h:    new

[?25l:    [?12l[?25h:    call setline(1, before)

[?25l:    [?12l[?25h:    exe '%s/' . pat . '/XX/'

[?25l:    [?12l[?25h:    let result = getline(1, '$')

[?25l:    [?12l[?25h:    q!

[?25l:    [?12l[?25h:    if result != after

[?25l:      [?12l[?25h:      $put ='ERROR: pat: \"' . pat . '\", text: \"' . string(before) . 

'\", expected: \"' . string(after) . '\", got: \"' . string(result) . '\"'

[?25l:      [?12l[?25h:    else

[?25l:      [?12l[?25h:      $put ='OK ' . engine . ' - ' . pat

[?25l:      [?12l[?25h:    endif

[?25l:    [?12l[?25h:  endfor

[?25l:  [?12l[?25h:endfor
[?25lOK 2 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=
multi-line tests
OK 0 - ^.\(.\).\_..\1.
OK 1 - ^.\(.\).\_..\1.
OK 2 - ^.\(.\).\_..\1.
OK 0 - \v.*\/(.*)\n.*\/\1$
OK 1 - \v.*\/(.*)\n.*\/\1$
OK 2 - \v.*\/(.*)\n.*\/\1$
OK 0 - \S.*\nx
OK 1 - \S.*\nx
OK 2 - \S.*\nx
OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 0 - a\n^b$\n^c
OK 1 - a\n^b$\n^c
OK 2 - a\n^b$\n^c
OK 0 - \(^.\+\n\)\1
OK 1 - \(^.\+\n\)\1
OK 2 - \(^.\+\n\)\1
[?12l[?25h[?25l
:[?12l[?25hunlet t tl
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Check that using a pattern on two lines doesn't get messed up by using
[?25l[?12l[?25h[?25l:[?12l[?25h" matchstr() with \ze in between.
[?25l[?12l[?25h[?25l:[?12l[?25hset re=0
[?25l[?12l[?25h[?25l/[?12l[?25h^Substitute here
[?25lsearch hit BOTTOM, continuing at TOP:    let l = matchlist('x x', pat)
:    $put ='E888 NOT detected for ' . pat
:  catch
:    $put ='E888 detected for ' . pat
:  endtry
:endfor
:"
:""""" Write the results """""""""""""
:/\%#=1^Results/,$wq! test.out
ENDTEST

Substitute here:
<T="">Ta 5</Title>
<T="">Ac 7</Title>

Behind:
asdfasd<yyy
xxstart1
asdfasd<yy
xxxstart2
asdfasd<yy
xxstart3

search hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25h.+1,.+2s/""/\='"'.matchstr(getline("."), '\d\+\ze<').'"'
[?25l5">Ta 5</Title>
<T="7">Ac 7</Title>
[?12l[?25h[?25l/[?12l[?25h^Substitute here
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25h.+1,.+2yank
[?25l[?12l[?25h[?25lOK 2 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=
multi-line tests
OK 0 - ^.\(.\).\_..\1.
OK 1 - ^.\(.\).\_..\1.
OK 2 - ^.\(.\).\_..\1.
OK 0 - \v.*\/(.*)\n.*\/\1$
OK 1 - \v.*\/(.*)\n.*\/\1$
OK 2 - \v.*\/(.*)\n.*\/\1$
OK 0 - \S.*\nx
OK 1 - \S.*\nx
OK 2 - \S.*\nx
OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 0 - a\n^b$\n^c
OK 1 - a\n^b$\n^c
OK 2 - a\n^b$\n^c
OK 0 - \(^.\+\n\)\1
OK 1 - \(^.\+\n\)\1
OK 2 - \(^.\+\n\)\1
[?12l[?25h[?25l
[?12l[?25h[?25l
<T="5">Ta 5</Title>
[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Check a pattern with a look beind crossing a line boundary
[?25l[?12l[?25h[?25l/[?12l[?25h^Behind:
[?25lsearch hit BOTTOM, continuing at TOP:  endtry
:endfor
:"
:""""" Write the results """""""""""""
:/\%#=1^Results/,$wq! test.out
ENDTEST

Substitute here:
<T="5">Ta 5</Title>
<T="7">Ac 7</Title>

Behind:
asdfasd<yyy
xxstart1
asdfasd<yy
xxxstart2
asdfasd<yy
xxstart3

Visual:
thexe the thexethe
andaxand andaxand
oooxofor foroxooo
search hit BOTTOM, continuing at TOP[?12l[?25h[?25l/[?12l[?25h\(<\_[xy]\+\)\@3<=start
[?25l[?12l[?25h[?25l:[?12l[?25h.yank
[?25l[?12l[?25h[?25lOK 1 - ^.\(.\).\_..\1.
OK 2 - ^.\(.\).\_..\1.
OK 0 - \v.*\/(.*)\n.*\/\1$
OK 1 - \v.*\/(.*)\n.*\/\1$
OK 2 - \v.*\/(.*)\n.*\/\1$
OK 0 - \S.*\nx
OK 1 - \S.*\nx
OK 2 - \S.*\nx
OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 0 - a\n^b$\n^c
OK 1 - a\n^b$\n^c
OK 2 - a\n^b$\n^c
OK 0 - \(^.\+\n\)\1
OK 1 - \(^.\+\n\)\1
OK 2 - \(^.\+\n\)\1

<T="5">Ta 5</Title>
<T="7">Ac 7</Title>
[?12l[?25h[?25l
[?12l[?25h[?25l
xxstart3
[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Check matching Visual area
[?25l[?12l[?25h[?25l/[?12l[?25h^Visual:
[?25lsearch hit BOTTOM, continuing at TOP<T="5">Ta 5</Title>
<T="7">Ac 7</Title>

Behind:
asdfasd<yyy
xxstart1
asdfasd<yy
xxxstart2
asdfasd<yy
xxstart3

Visual:
thexe the thexethe
andaxand andaxand
oooxofor foroxooo
oooxofor foroxooo

Marks:
asdfSasdfsadfEasdf
asdfSas
dfsadfEasdf

Results of test64:
search hit BOTTOM, continuing at TOP[?12l[?25h
the[?25l[?12l[?25h[?25lxe the the[?12l[?25h[?25l:'<,'>[?12l[?25hs/\%Ve/E/g
[?25l3 substitutions on 1 linexE thE thE
[?12l[?25h
[?25landaxand andaxand 
[?12l[?25h[?25l:'<,'>[?12l[?25hs/\%Va/A/g
[?25l6 substitutions on 1 lineAndAxAnd AndAxAnd[?12l[?25h
ooo[?25l[?12l[?25h[?25lxofor foro[?12l[?25h[?25lx
oooxofor foro[?12l[?25h[?25l:'<,'>[?12l[?25hs/\%Vo/O/g
[?25l8 substitutions on 2 linesxOfOr fOrOx
oooxOfOr fOrO
[?12l[?25h[?25l:[?12l[?25h/^Visual/+1,/^Visual/+4yank
[?25lsearch hit BOTTOM, continuing at TOP
4 lines yanked[?12l[?25h[?25lOK 0 - \v.*\/(.*)\n.*\/\1$
OK 1 - \v.*\/(.*)\n.*\/\1$
OK 2 - \v.*\/(.*)\n.*\/\1$
OK 0 - \S.*\nx
OK 1 - \S.*\nx
OK 2 - \S.*\nx
OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 0 - a\n^b$\n^c
OK 1 - a\n^b$\n^c
OK 2 - a\n^b$\n^c
OK 0 - \(^.\+\n\)\1
OK 1 - \(^.\+\n\)\1
OK 2 - \(^.\+\n\)\1

<T="5">Ta 5</Title>
<T="7">Ac 7</Title>

xxstart3
[?12l[?25h[?25l
[?12l[?25h[?25l
4 more lines
thexE thE thExethe4 more lines[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Check matching marks
[?25l[?12l[?25h[?25l/[?12l[?25h^Marks:
[?25lsearch hit BOTTOM, continuing at TOPasdfasd<yy
xxxstart2
asdfasd<yy
xxstart3

Visual:
thexE thE thExethe
AndAxAnd AndAxAnd
oooxOfOr fOrOxooo
oooxOfOr fOrOxooo

Marks:
asdfSasdfsadfEasdf
asdfSas
dfsadfEasdf

Results of test64:
OK 0 - ab
OK 1 - ab
OK 2 - ab
OK 0 - b
OK 1 - b
OK 2 - b
search hit BOTTOM, continuing at TOP[?12l[?25h
asdf[?25l:[?12l[?25h.-4,.+6s/.\%>'s.*\%<'e../here/
[?25lhereasdf[?12l[?25h
asdf
dfsa
dfsadf[?25l:[?12l[?25h.-4,.+6s/.\%>'s\_.*\%<'e../again/
[?25l
asdfagainasdfOK 0 - bc*[?12l[?25h[?25l:[?12l[?25h/^Marks:/+1,/^Marks:/+3yank
[?25lsearch hit BOTTOM, continuing at TOP
3 lines yanked[?12l[?25h[?25lOK 2 - \S.*\nx
OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 0 - a\n^b$\n^c
OK 1 - a\n^b$\n^c
OK 2 - a\n^b$\n^c
OK 0 - \(^.\+\n\)\1
OK 1 - \(^.\+\n\)\1
OK 2 - \(^.\+\n\)\1

<T="5">Ta 5</Title>
<T="7">Ac 7</Title>

xxstart3

thexE thE thExethe
AndAxAnd AndAxAnd
oooxOfOr fOrOxooo
oooxOfOr fOrOxooo
[?12l[?25h[?25l
[?12l[?25h[?25l
3 more linesasdfhereasdf
asdfagainasdf3 more lines[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Check patterns matching cursor position.
[?25l[?12l[?25h[?25l:[?12l[?25hfunc! Postest()
[?25l
:  [?12l[?25h new

[?25l:  [?12l[?25h call setline(1, ['ffooooo', 'boboooo', 'zoooooo', 'koooooo', 'moooooo', "\t

\t\tfoo", 'abababababababfoo', 'bababababababafoo', '********_'])

[?25l:  [?12l[?25h call setpos('.', [0, 1, 0, 0])

[?25l:  [?12l[?25h s/\%>3c.//g

[?25l:  [?12l[?25h call setpos('.', [0, 2, 4, 0])

[?25l:  [?12l[?25h s/\%#.*$//g

[?25l:  [?12l[?25h call setpos('.', [0, 3, 0, 0])

[?25l:  [?12l[?25h s/\%<3c./_/g

[?25l:  [?12l[?25h %s/\%4l\%>5c./_/g

[?25l:  [?12l[?25h %s/\%6l\%>25v./_/g

[?25l:  [?12l[?25h %s/\%>6l\%3c./!/g

[?25l:  [?12l[?25h %s/\%>7l\%12c./?/g

[?25l:  [?12l[?25h %s/\%>7l\%<9l\%>5v\%<8v./#/g

[?25l:  [?12l[?25h 1,$yank

[?25l:  [?12l[?25h quit!

[?25l:  [?12l[?25hendfunc
[?25lOK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>
OK 0 - a\n^b$\n^c
OK 1 - a\n^b$\n^c
OK 2 - a\n^b$\n^c
OK 0 - \(^.\+\n\)\1
OK 1 - \(^.\+\n\)\1
OK 2 - \(^.\+\n\)\1

<T="5">Ta 5</Title>
<T="7">Ac 7</Title>

xxstart3

thexE thE thExethe[?12l[?25h[?25l~                                                                               [?12l[?25h[?25l
-0-[?12l[?25h[?25l
:[?12l[?25hset re=0
[?25l[?12l[?25h[?25l:[?12l[?25hcall Postest()
[?25l3 substitutions on 3 lines

9 lines yanked

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hput
[?25l9 more lines

Press ENTER or type command to continue[?12l[?25h[?25l<T="5">Ta 5</Title>
<T="7">Ac 7</Title>

xxstart3thexE thE thExetheAndAxAnd AndAxAndoooxOfOr fOrOxooooooxOfOr fOrOxoooasdfhereasdfasdfagainasdf-0-
ffobob__oooookoooo__moooooo
            f__
ab!babababababfoo
ba!ab##abab?bafoo
**!*****_[?12l[?25h[?25l
-1-[?12l[?25h[?25l
:[?12l[?25hset re=1
[?25l[?12l[?25h[?25l:[?12l[?25hcall Postest()
[?25l3 substitutions on 3 lines

9 lines yanked

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hput
[?25l9 more lines

Press ENTER or type command to continue[?12l[?25h[?25lasdfhereasdf
asdfagainasdf

-0-
ffobob__oooookoooo__moooooo
            f__
ab!babababababfoo
ba!ab##abab?bafoo
**!*****_
-1-
ffo
bob__ooooo
koooo__
moooooo                 f__
ab!bababababab
ba!ab##abab?bafoo
**!*****_[?12l[?25h[?25l
-2-[?12l[?25h[?25l
:[?12l[?25hset re=2
[?25l[?12l[?25h[?25l:[?12l[?25hcall Postest()
[?25l3 substitutions on 3 lines

9 lines yanked

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hput
[?25l9 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h"
[?25lab!babababababfoo
ba!ab##abab?bafoo
**!*****_
-1-
ffo
bob__ooooo
koooo__
moooooo                 f__
ab!bababababab
ba!ab##abab?bafoo
**!*****_
-2-
ffo
bob__ooooo
koooo__
moooooo                 f__
ab!bababababab
ba!ab##abab?bafoo
**!*****_[?12l[?25h[?25l
:[?12l[?25h" start and end of buffer
[?25l[?12l[?25h[?25l/[?12l[?25h\%^
[?25lsearch hit BOTTOM, continuing at TOPTest for regexp patterns without multi-byte support.
See test95 for multi-byte tests.

A pattern that gives the expected result produces OK, so that we know it was
actually tried.

STARTTEST
:so small.vim
:" tl is a List of Lists with:
:"    regexp pattern
:"    text to test the pattern on
:"    expected match (optional)
:"    expected submatch 1 (optional)
:"    expected submatch 2 (optional)
:"    etc.
:"  When there is no match use only the first two items.
:let tl = []
:"
:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
:"""" Previously written tests """"""""""""""""""""""""""""""""
:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
:"
:call add(tl, [2, 'ab', 'aab', 'ab'])
search hit BOTTOM, continuing at TOP[?12l[?25h[?25lab!babababababfoo
ba!ab##abab?bafoo
**!*****_
-1-
ffo
bob
__ooooo
koooo__
moooooof__
ab!babababababfoo
ba!ab##abab?bafoo
**!*****_
-2-
ffo
bob
__ooooo
koooo__
moooooof__
ab!babababababfoo
ba!ab##abab?bafoo
**!*****_
[?12l[?25h[?25l
[?12l[?25h[?25lTest[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25lOK 2 - \v(a*)+
OK 0 - \v((ab)+)+
OK 1 - \v((ab)+)+
OK 2 - \v((ab)+)+
OK 0 - \v(((ab)+)+)+
OK 1 - \v(((ab)+)+)+
OK 2 - \v(((ab)+)+)+
OK 0 - \v(((ab)+)+)+
OK 1 - \v(((ab)+)+)+
OK 2 - \v(((ab)+)+)+
OK 0 - \v(a{0,2})+
OK 1 - \v(a{0,2})+
OK 2 - \v(a{0,2})+
OK 0 - \v(a*)+
OK 1 - \v(a*)+
OK 2 - \v(a*)+
OK 0 - \v((a*)+)+
OK 1 - \v((a*)+)+
OK 2 - \v((a*)+)+
OK 0 - \v((ab)*)+
OK 1 - \v((ab)*)+
OK 2 - \v((ab)*)+
OK 0 - \va{1,3}[?12l[?25h[?25l/[?12l[?25h\%^..
[?25lsearch hit BOTTOM, continuing at TOPTest for regexp patterns without multi-byte support.
See test95 for multi-byte tests.

A pattern that gives the expected result produces OK, so that we know it was
actually tried.

STARTTEST
:so small.vim
:" tl is a List of Lists with:
:"    regexp pattern
:"    text to test the pattern on
:"    expected match (optional)
:"    expected submatch 1 (optional)
:"    expected submatch 2 (optional)
:"    etc.
:"  When there is no match use only the first two items.
:let tl = []
:"
:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
:"""" Previously written tests """"""""""""""""""""""""""""""""
:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
:"
:call add(tl, [2, 'ab', 'aab', 'ab'])
search hit BOTTOM, continuing at TOP[?12l[?25h[?25lba!ab##abab?bafoo
**!*****_
-1-
ffo
bob
__ooooo
koooo__
moooooof__
ab!babababababfoo
ba!ab##abab?bafoo
**!*****_
-2-
ffo
bob
__ooooo
koooo__
moooooof__
ab!babababababfoo
ba!ab##abab?bafoo
**!*****_
Test
[?12l[?25h[?25l
[?12l[?25h[?25lTest[?12l[?25h[?25lt END[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25lOK 2 - \v(a*)+
OK 0 - \v((ab)+)+
OK 1 - \v((ab)+)+
OK 2 - \v((ab)+)+
OK 0 - \v(((ab)+)+)+
OK 1 - \v(((ab)+)+)+
OK 2 - \v(((ab)+)+)+
OK 0 - \v(((ab)+)+)+
OK 1 - \v(((ab)+)+)+
OK 2 - \v(((ab)+)+)+
OK 0 - \v(a{0,2})+
OK 1 - \v(a{0,2})+
OK 2 - \v(a{0,2})+
OK 0 - \v(a*)+
OK 1 - \v(a*)+
OK 2 - \v(a*)+
OK 0 - \v((a*)+)+
OK 1 - \v((a*)+)+
OK 2 - \v((a*)+)+
OK 0 - \v((ab)*)+
OK 1 - \v((ab)*)+
OK 2 - \v((ab)*)+
OK 0 - \va{1,3}[?12l[?25h[?25l/[?12l[?25h\%$
[?25l**!*****_
-1-
ffo
bob
__ooooo
koooo__
moooooof__
ab!babababababfoo
ba!ab##abab?bafoo
**!*****_
-2-
ffo
bob
__ooooo
koooo__
moooooof__
ab!babababababfoo
ba!ab##abab?bafoo
**!*****_
Test
Test END[?12l[?25h[?25l:" tl is a List of Lists with:
:"    regexp pattern
:"    text to test the pattern on
:"    expected match (optional)
:"    expected submatch 1 (optional)
:"    expected submatch 2 (optional)
:"    etc.
:"  When there is no match use only the first two items.
:let tl = []
:"
:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
:"""" Previously written tests """"""""""""""""""""""""""""""""
:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
:"
:call add(tl, [2, 'ab', 'aab', 'ab'])
:call add(tl, [2, 'b', 'abcdef', 'b'])
:call add(tl, [2, 'bc*', 'abccccdef', 'bcccc'])
:call add(tl, [2, 'bc\{-}', 'abccccdef', 'b'])
:call add(tl, [2, 'bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])
:call add(tl, [2, 'bc*', 'abbdef', 'b'])
:call add(tl, [2, 'c*', 'ccc', 'ccc'])
:call add(tl, [2, 'bc*', 'abdef', 'b'])
:call add(tl, [2, 'c*', 'abdef', ''])[?12l[?25h[?25l/[?12l[?25h..\%$
[?25l**!*****_
-1-
ffo
bob
__ooooo
koooo__
moooooof__
ab!babababababfoo
ba!ab##abab?bafoo
**!*****_
-2-
ffo
bob
__ooooo
koooo__
moooooof__
ab!babababababfoo
ba!ab##abab?bafoo
**!*****_
Test
Test END[?12l[?25h
[?25l
[?12l[?25h[?25lEN[?12l[?25h[?25l
[?12l[?25h[?25lE[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Check for detecting error
[?25l[?12l[?25h[?25l:[?12l[?25hset regexpengine=2
[?25l[?12l[?25h[?25l:[?12l[?25hfor pat in [' \ze*', ' \zs*']
[?25l
:  [?12l[?25h:  try

[?25l:    [?12l[?25h:    let l = matchlist('x x', pat)

[?25l:    [?12l[?25h:    $put ='E888 NOT detected for ' . pat

[?25l:    [?12l[?25h:  catch

[?25l:    [?12l[?25h:    $put ='E888 detected for ' . pat

[?25l:    [?12l[?25h:  endtry

[?25l:  [?12l[?25h:endfor
[?25l__ooooo
koooo__
moooooof__
ab!babababababfoo
ba!ab##abab?bafoo
**!*****_
-2-ffobob
__ooooo
koooo__
mo
       f__
ab!babababababfoo
ba!ab##abab?bafoo**!*****_TestTest ENDENE888 detected for  \ze*
E888 detected for  \zs*[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h""""" Write the results """""""""""""
[?25l[?12l[?25h[?25l:[?12l[?25h/\%#=1^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 1101 lines, 20253 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test65.failed test.ok test.out X* viminfo
cp test65.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test65.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test65.in" 95 lines, 2153 charactersTest for floating point and logical operators.

STARTTEST
:so small.vim
:if !has("float")
:  e! test.ok
:  wq! test.out
:endif
:"
:$put =printf('%f', 123.456)
:$put =printf('%e', 123.456)
:$put =printf('%g', 123.456)
:" check we don't crash on division by zero
:echo 1.0 / 0.0
:$put ='+='
:let v = 1.234
:let v += 6.543
:$put =printf('%g', v)
:let v = 1.234
:let v += 5
:$put =printf('%g', v)
:let a = 5
:let a += 3.333[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for floating point and logical operators.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 89 lines, 2067 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:$put =float2nr(123.456)
:$put =float2nr(-123.456)
:$put ='AND'
:$put =and(127, 127)
:$put =and(127, 16)
:$put =and(127, 128)
:$put ='OR'
:$put =or(16, 7)
:$put =or(8, 7)
:$put =or(0, 123)
:$put ='XOR'
:$put =xor(127, 127)
:$put =xor(127, 16)
:$put =xor(127, 128)
:$put ='invert'
:$put =and(invert(127), 65535)
:$put =and(invert(16), 65535)
:$put =and(invert(128), 65535)
:$put =invert(1.0)
:/^Results/,$wq! test.out
ENDTEST

Results of test65:[?12l[?25h
[?25l

:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif !has("float")
[?25l
:  [?12l[?25h:  e! test.ok

[?25l:  [?12l[?25h:  wq! test.out

[?25l:  [?12l[?25h:endif
[?25l:$put =float2nr(123.456)
:$put =float2nr(-123.456)
:$put ='AND'[?12l[?25h[?25l

:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h$put =printf('%f', 123.456)
[?25l
123.456000[?12l[?25h[?25l
:[?12l[?25h$put =printf('%e', 123.456)
[?25l
1.234560e+02[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', 123.456)
[?25l
123.456[?12l[?25h[?25l
:[?12l[?25h" check we don't crash on division by zero
[?25l[?12l[?25h[?25l:[?12l[?25hecho 1.0 / 0.0
[?25linf[?12l[?25h[?25l:[?12l[?25h$put ='+='
[?25l
+=[?12l[?25h[?25l
:[?12l[?25hlet v = 1.234
[?25l[?12l[?25h[?25l:[?12l[?25hlet v += 6.543
[?25l[?12l[?25h[?25l:[?12l[?25h$put =printf('%g', v)
[?25l
7.777[?12l[?25h[?25l
:[?12l[?25hlet v = 1.234
[?25l[?12l[?25h[?25l:[?12l[?25hlet v += 5
[?25l[?12l[?25h[?25l:[?12l[?25h$put =printf('%g', v)
[?25l
6.234[?12l[?25h[?25l
:[?12l[?25hlet a = 5
[?25l[?12l[?25h[?25l:[?12l[?25hlet a += 3.333
[?25l[?12l[?25h[?25l:[?12l[?25h$put =string(a)
[?25l
8.333[?12l[?25h[?25l
:[?12l[?25h$put ='=='
[?25l
==[?12l[?25h[?25l
:[?12l[?25hlet v = 1.234
[?25l[?12l[?25h[?25l:[?12l[?25h$put =v == 1.234
[?25l
1[?12l[?25h[?25l
:[?12l[?25h$put =v == 1.2341
[?25l
0[?12l[?25h[?25l
:[?12l[?25h$put ='add-subtract'
[?25l
add-subtract[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', 4 + 1.234)
[?25l
5.234[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', 1.234 - 8)
[?25l
-6.766[?12l[?25h[?25l
:[?12l[?25h$put ='mult-div'
[?25l
mult-div[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', 4 * 1.234)
[?25l
4.936[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', 4.0 / 1234)
[?25l
0.003241[?12l[?25h[?25l
:[?12l[?25h$put ='dict'
[?25l
dict[?12l[?25h[?25l
:[?12l[?25h$put =string({'x': 1.234, 'y': -2.0e20})
[?25l
{'x': 1.234, 'y': -2.0e20}[?12l[?25h[?25l
:[?12l[?25h$put ='list'
[?25l
list[?12l[?25h[?25l
:[?12l[?25h$put =string([-123.4, 2.0e-20])
[?25l
[-123.4, 2.0e-20][?12l[?25h[?25l
:[?12l[?25h$put ='abs'
[?25l
abs[?12l[?25h[?25l
:[?12l[?25h$put =printf('%d', abs(1456))
[?25l
1456[?12l[?25h[?25l
:[?12l[?25h$put =printf('%d', abs(-4))
[?25l
4[?12l[?25h[?25l
:[?12l[?25h$put =printf('%d', abs([1, 2, 3]))
[?25lE745: Using a List as a Number
-1[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', abs(14.56))
[?25l
14.56[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', abs(-54.32))
[?25l
54.32[?12l[?25h[?25l
:[?12l[?25h$put ='ceil'
[?25l
ceil[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', ceil(1.456))
[?25l
2.0[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', ceil(-5.456))
[?25l
-5.0[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', ceil(-4.000))
[?25l
-4.0[?12l[?25h[?25l
:[?12l[?25h$put ='floor'
[?25l
floor[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', floor(1.856))
[?25l
1.0[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', floor(-5.456))
[?25l
-6.0[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', floor(4.0))
[?25l
4.0[?12l[?25h[?25l
:[?12l[?25h$put ='log10'
[?25l
log10[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', log10(1000))
[?25l
3.0[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', log10(0.01000))
[?25l
-2.0[?12l[?25h[?25l
:[?12l[?25h$put ='pow'
[?25l
pow[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', pow(3, 3.0))
[?25l
27.0[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', pow(2, 16))
[?25l
65536.0[?12l[?25h[?25l
:[?12l[?25h$put ='round'
[?25l
round[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', round(0.456))
[?25l
0.0[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', round(4.5))
[?25l
5.0[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', round(-4.50))
[?25l
-5.0[?12l[?25h[?25l
:[?12l[?25h$put ='sqrt'
[?25l
sqrt[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', sqrt(100))
[?25l
10.0[?12l[?25h[?25l
:[?12l[?25hecho sqrt(-4.01)
[?25lnan[?12l[?25h[?25l:[?12l[?25h$put ='str2float'
[?25l
str2float[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', str2float('1e40'))
[?25l
1.0e40[?12l[?25h[?25l
:[?12l[?25h$put ='trunc'
[?25l
trunc[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', trunc(1.456))
[?25l
1.0[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', trunc(-5.456))
[?25l
-5.0[?12l[?25h[?25l
:[?12l[?25h$put =printf('%g', trunc(4.000))
[?25l
4.0[?12l[?25h[?25l
:[?12l[?25h$put ='float2nr'
[?25l
float2nr[?12l[?25h[?25l
:[?12l[?25h$put =float2nr(123.456)
[?25l
123[?12l[?25h[?25l
:[?12l[?25h$put =float2nr(-123.456)
[?25l
-123[?12l[?25h[?25l
:[?12l[?25h$put ='AND'
[?25l
AND[?12l[?25h[?25l
:[?12l[?25h$put =and(127, 127)
[?25l
127[?12l[?25h[?25l
:[?12l[?25h$put =and(127, 16)
[?25l
16[?12l[?25h[?25l
:[?12l[?25h$put =and(127, 128)
[?25l
0[?12l[?25h[?25l
:[?12l[?25h$put ='OR'
[?25l
OR[?12l[?25h[?25l
:[?12l[?25h$put =or(16, 7)
[?25l
23[?12l[?25h[?25l
:[?12l[?25h$put =or(8, 7)
[?25l
15[?12l[?25h[?25l
:[?12l[?25h$put =or(0, 123)
[?25l
123[?12l[?25h[?25l
:[?12l[?25h$put ='XOR'
[?25l
XOR[?12l[?25h[?25l
:[?12l[?25h$put =xor(127, 127)
[?25l
0[?12l[?25h[?25l
:[?12l[?25h$put =xor(127, 16)
[?25l
111[?12l[?25h[?25l
:[?12l[?25h$put =xor(127, 128)
[?25l
255[?12l[?25h[?25l
:[?12l[?25h$put ='invert'
[?25l
invert[?12l[?25h[?25l
:[?12l[?25h$put =and(invert(127), 65535)
[?25l
65408[?12l[?25h[?25l
:[?12l[?25h$put =and(invert(16), 65535)
[?25l
65519[?12l[?25h[?25l
:[?12l[?25h$put =and(invert(128), 65535)
[?25l
65407[?12l[?25h[?25l
:[?12l[?25h$put =invert(1.0)
[?25lE805: Using a Float as a Number
0[?12l[?25h[?25l
:[?12l[?25h/^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 73 lines, 430 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test66.failed test.ok test.out X* viminfo
cp test66.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test66.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test66.in" 33 lines, 509 charactersTest for visual block shift and tab characters.

STARTTEST
:so small.vim
/^one
fe^V4jR^[ugvr1:'<,'>w! test.out
/^abcdefgh
^V4jI    ^[j<<11|D
7|a^[
7|a^[
7|a^[4k13|^V4j<
:$-5,$w >> test.out
:$-4,$s/\s\+//g
^V4kI    ^[j<<
7|a^[
7|a^[
7|a^[4k13|^V4j3<
:$-4,$w >> test.out
:qa!
ENDTEST

one two three[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 234 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l/[?12l[?25h^one
[?25l[?12l[?25hon[?25l[?12l[?25h[?25le
one two three
one two three
one two three
one two three[?12l[?25h[?25l
4 fewer linesabcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz[?12l[?25h[?25lmore lines; before #1  0 seconds agoone two three
one two three
one two threeone two threeone two three[?12l[?25h[?25le
one
one
one
on[?12l[?25h[?25l1
on1
on1
on1
on1[?12l[?25h[?25l:[?12l[?25h'<,'>w! test.out
[?25l"test.out" [New File] 5 lines, 70 characters written[?12l[?25h[?25l/[?12l[?25h^abcdefgh
[?25labcdefghijklmnopqrstuvwxyz[?12l[?25h[?25l[?12l[?25h[?25la
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
[?12l[?25h[?25la
a
a
a    abcdefghijklmnopqrstuvwxyz
    abcdefghijklmnopqrstuvwxyz
    abcdefghijklmnopqrstuvwxyz
    abcdefghijklmnopqrstuvwxyz
    abcdefghijklmnopqrstuvwxyz[?12l[?25h
[?25labcdefghijklmnopqrstuvwxyz[?12l[?25h[?25l[?12l[?25h[?25lc         defghijklmnopqrstuvwxyz[?12l[?25h[?25lc            defghijklmnopqrstuvwxyz[?12l[?25h[?25lc         defghijklmnopqrstuvwxyz[?12l[?25h[?25l[?12l[?25h[?25li  [?12l[?25h[?25l
5 lines <ed 1 timeidefghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyz[?12l[?25h[?25l:[?12l[?25h$-5,$w >> test.out
[?25l"test.out"6 lines, 151 characters appended[?12l[?25h[?25l:[?12l[?25h$-4,$s/\s\+//g
[?25l7 substitutions on 4 linesabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz[?12l[?25h[?25l[?12l[?25h[?25la
a
a
a[?12l[?25h[?25l
a
a
a
a    abcdefghijklmnopqrstuvwxyz
    abcdefghij
    abcdefghijklmnopqrstuvwxyz
    abcdefghijklmnopqrstuvwxyz
    abcdefghijklmnopqrstuvwxyz[?12l[?25h
[?25labcdefghij[?12l[?25h
    ab[?25lc         defghijklmnopqrstuvwxyz[?12l[?25h[?25lc                       defghijklmnopqrstuvwxyz[?12l[?25h[?25lc                 defghijklmnopqrstuvwxyz[?12l[?25h[?25l[?12l[?25h[?25li  [?12l[?25h[?25l
5 lines <ed 3 timesidefghijklmnopqrstuvwxyz    defghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyz[?12l[?25h[?25l:[?12l[?25h$-4,$w >> test.out
[?25l"test.out"5 lines, 147 characters appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test67.failed test.ok test.out X* viminfo
cp test67.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test67.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test67.in" 33 lines, 1109 charactersTest that groups and patterns are tested correctly when calling exists() for
autocommands.

STARTTEST
:so small.vim
:let results=[]
:augroup auexists
:augroup END
:call add(results, "##BufEnter: " . exists("##BufEnter"))
:call add(results, "#BufEnter: " . exists("#BufEnter"))
:au BufEnter * let g:entered=1
:call add(results, "#BufEnter: " . exists("#BufEnter"))
:call add(results, "#auexists#BufEnter: " . exists("#auexists#BufEnter"))
:augroup auexists
:au BufEnter * let g:entered=1
:augroup END
:call add(results, "#auexists#BufEnter: " . exists("#auexists#BufEnter"))
:call add(results, "#BufEnter#*.test: " . exists("#BufEnter#*.test"))
:au BufEnter *.test let g:entered=1
:call add(results, "#BufEnter#*.test: " . exists("#BufEnter#*.test"))
:edit testfile.test
:call add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
:au BufEnter <buffer> let g:entered=1[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest that groups and patterns are tested correctly when calling exists() for[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 27 lines, 998 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:call add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
:edit testfile2.test
:call add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
:e test.out
:call append(0, results)
:$d
:w
:qa!
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hlet results=[]
[?25l[?12l[?25h[?25l:[?12l[?25haugroup auexists
[?25l[?12l[?25h[?25l:[?12l[?25haugroup END
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(results, "##BufEnter: " . exists("##BufEnter"))
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(results, "#BufEnter: " . exists("#BufEnter"))
[?25l[?12l[?25h[?25l:[?12l[?25hau BufEnter * let g:entered=1
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(results, "#BufEnter: " . exists("#BufEnter"))
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(results, "#auexists#BufEnter: " . exists("#auexists#BufEnter"))
[?25l[?12l[?25h[?25l:[?12l[?25haugroup auexists
[?25l[?12l[?25h[?25l:[?12l[?25hau BufEnter * let g:entered=1
[?25l[?12l[?25h[?25l:[?12l[?25haugroup END
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(results, "#auexists#BufEnter: " . exists("#auexists#BufEnter"))
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(results, "#BufEnter#*.test: " . exists("#BufEnter#*.test"))
[?25l[?12l[?25h[?25l:[?12l[?25hau BufEnter *.test let g:entered=1
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(results, "#BufEnter#*.test: " . exists("#BufEnter#*.test"))
[?25l[?12l[?25h[?25l:[?12l[?25hedit testfile.test
[?25l"testfile.test" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hcall add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
[?25l[?12l[?25h[?25l:[?12l[?25hau BufEnter <buffer> let g:entered=1
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
[?25l[?12l[?25h[?25l:[?12l[?25hedit testfile2.test
[?25l"testfile2.test" [New File][?12l[?25h[?25l:[?12l[?25hcall add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
[?25l[?12l[?25h[?25l:[?12l[?25he test.out
[?25l"test.out" [New File][?12l[?25h[?25l:[?12l[?25hcall append(0, results)
[?25l##BufEnter: 1
#BufEnter: 0
#BufEnter: 1
#auexists#BufEnter: 0
#auexists#BufEnter: 1
#BufEnter#*.test: 0
#BufEnter#*.test: 1
#BufEnter#<buffer>: 0
#BufEnter#<buffer>: 1
#BufEnter#<buffer>: 0[?12l[?25h[?25l:[?12l[?25h$d
[?25l~                                                                               [?12l[?25h[?25l:[?12l[?25hw
[?25l"test.out" [New File] 10 lines, 190 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test68.failed test.ok test.out X* viminfo
cp test68.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test68.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test68.in" 131 lines, 1004 charactersTest for text formatting.

Results of test68:

STARTTEST
:so small.vim
/^{/+1
:set noai tw=2 fo=t
gRa b^[
ENDTEST

{


}

STARTTEST
/^{/+1
:set ai tw=2 fo=tw
gqgqjjllab^[
ENDTEST

{[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for text formatting.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 4 lines, 48 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l[?12l[?25h[?25l:[?12l[?25hset noai tw=2 fo=t
[?25l[?12l[?25h[?25la
b[?12l[?25h
[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 38 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l
a  b[?12l[?25h[?25l
:[?12l[?25hset ai tw=2 fo=tw
[?25l[?12l[?25h[?25l
b[?12l[?25h[?25l
[?12l[?25h[?25l
a[?12l[?25ha [?25l
b[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 4 lines, 34 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set tw=3 fo=t
gqgqo
a ^V^A^[
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l{
a ^A[?12l[?25h[?25l
:[?12l[?25hset tw=3 fo=t
[?25l[?12l[?25h[?25l
^A[?12l[?25h[?25la
^A
[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 58 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set tw=2 fo=tcq1 comments=:#
gqgqjgqgqo
a b
#a b^[
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l{
a b[?12l[?25h[?25l
:[?12l[?25hset tw=2 fo=tcq1 comments=:#
[?25l[?12l[?25h[?25l
#a b[?12l[?25h[?25la b
#a b[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 46 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set tw=5 fo=tcn comments=:#
A b^[jA b^[
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l{
  1 a[?12l[?25h[?25l
:[?12l[?25hset tw=5 fo=tcn comments=:#
[?25l[?12l[?25h[?25l
b[?12l[?25h[?25l
# 1 a[?12l[?25h[?25l
#   b[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
/^{/+3
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 35 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set tw=5 fo=t2a si
i  ^[A_^[
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+3
[?25l{

  x a
  b[?12l[?25h[?25l
:[?12l[?25hset tw=5 fo=t2a si
[?25l[?12l[?25h[?25l    b[?12l[?25h[?25l b_[?12l[?25h[?25l
c[?12l[?25h[?25l
/^STARTTEST
}

STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 40 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set tw=5 fo=qn comments=:#
gwap
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l{
# 1 a b[?12l[?25h[?25l
:[?12l[?25hset tw=5 fo=qn comments=:#
[?25l[?12l[?25h[?25l[?12l[?25h[?25l
#   b[?12l[?25h[?25l
/^STARTTEST
}

STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 40 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set tw=5 fo=q2 comments=:#
gwap
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l{
# x[?12l[?25h[?25l
:[?12l[?25hset tw=5 fo=q2 comments=:#
[?25l[?12l[?25h[?25l# x a
[?12l[?25h[?25l
#   b[?12l[?25h[?25l
/^STARTTEST
}

STARTTEST[?12l[?25h[?25l
/^{/+2
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 26 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set tw& fo=a
I^^^[
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+2
[?25l{
   1aa
   2bb[?12l[?25h[?25l
:[?12l[?25hset tw& fo=a
[?25l[?12l[?25h[?25l1aa ^^2bb }STARTTEST[?12l[?25h
[?25l/^STARTTEST
[?12l[?25h[?25l
/mno pqr/[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 69 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:setl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/
A vwx yz^[
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25hmno pqr/
[?25l/* abc def ghi jkl
 *    mno pqr stu[?12l[?25h[?25l
:[?12l[?25hsetl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/
[?25l[?12l[?25h[?25l
*    vwx yz[?12l[?25h[?25l
*/[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
/^#/
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 47 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:setl tw=12 fo=tqnc comments=:#
A foobar^[
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^#/
[?25l
# 1 xxxxx[?12l[?25h[?25l
:[?12l[?25hsetl tw=12 fo=tqnc comments=:#
[?25l[?12l[?25h[?25l
#   foobar[?12l[?25h[?25l
[?12l[?25h[?25l
/^STARTTEST

STARTTEST[?12l[?25h[?25l
:g/^STARTTEST/.,/^ENDTEST/d
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 56 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST[?12l[?25h[?25l
:1;/^Results/,$wq! test.out[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l63 fewer lines# 1 a#   b}{
# x a#   b}{ 1aa ^^2bb }/* abc def ghi jkl
 *    mno pqr stu
 *    vwx yz
 */# 1 xxxxx
#   foobar[?12l[?25h[?25l:[?12l[?25h1;/^Results/,$wq! test.out
[?25l"test.out" [New File] 77 lines, 281 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test69.failed test.ok test.out X* viminfo
cp test69.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test69.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test69.in" 192 lines, 2185 charactersTest for multi-byte text formatting.
Also test, that 'mps' with multibyte chars works.
And test "ra" on multi-byte characters.
Also test byteidx() and byteidxcomp()

STARTTEST
:so mbyte.vim
:set encoding=utf-8
ENDTEST

Results of test69:

STARTTEST
/^{/+1
:set tw=2 fo=t
gqgqjgqgqo
XYZ
abc XYZ^[
ENDTEST

{
XYZ
abc XYZ[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for multi-byte text formatting.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 2 lines, 34 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset encoding=utf-8
[?25lTest for multi-byte text formatting.
Also test, that 'mps' with multibyte chars works.
And test "ra" on multi-byte characters.
Also test byteidx() and byteidxcomp()

STARTTEST
:so mbyte.vim
:set encoding=utf-8
ENDTEST

Results of test69:

STARTTEST
/^{/+1
:set tw=2 fo=t
gqgqjgqgqo
XYZ
abc XYZ^[
ENDTEST

{
XYZ
abc XYZ[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 58 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l[?12l[?25h[?25l:[?12l[?25hset tw=2 fo=t
[?25l[?12l[?25h
[?25l
XYZ[?12l[?25h[?25l[?12l[?25h[?25lX[?12l[?25h[?25lY[?12l[?25h[?25l
Z
abc [?12l[?25h[?25l
X[?12l[?25h[?25lY[?12l[?25h[?25lZ[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 80 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set tw=1 fo=tm
gqgqjgqgqjgqgqjgqgqjgqgqo
X
Xa
X a
XY
X Y^[
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l{
X[?12l[?25h[?25l
:[?12l[?25hset tw=1 fo=tm
[?25l[?12l[?25h[?25l
Xa[?12l[?25h[?25l
a[?12l[?25h[?25l
X a
[?12l[?25h[?25l
a[?12l[?25h[?25l
XY
[?12l[?25h[?25l
Y
[?12l[?25h[?25l
X Y
[?12l[?25h[?25l
Y
[?12l[?25h[?25l[?12l[?25h[?25l
X
[?12l[?25h[?25lX
a
[?12l[?25h[?25lX
a
[?12l[?25h[?25lX[?12l[?25h[?25lY
[?12l[?25h[?25lX [?12l[?25h[?25l
Y
[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 140 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTESTgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo
X
Xa
X a
XY
X Y
aX
abX
abcX
abX c
abXY^[
ENDTEST

{
X
Xa
X a
XY
X Y
aX
abX
abcX
abX c[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l[?12l[?25h[?25l:[?12l[?25hset tw=2 fo=tm
[?25l[?12l[?25h
[?25la[?12l[?25h
[?25la[?12l[?25h
[?25lY
[?12l[?25h
[?25lY 
[?12l[?25h[?25l
aX
[?12l[?25h[?25l
X
[?12l[?25h[?25l
abX
[?12l[?25h[?25l
X
[?12l[?25h[?25l
abcX
[?12l[?25h[?25l
X
[?12l[?25h[?25l
abX c
[?12l[?25h[?25lX
c[?12l[?25h[?25l
abXY
[?12l[?25h[?25lX
Y
[?12l[?25h[?25l[?12l[?25h[?25l
X
[?12l[?25h[?25lX
a
[?12l[?25h[?25lX
a
[?12l[?25h[?25lX[?12l[?25h[?25lY
[?12l[?25h[?25lX [?12l[?25h[?25lY
a[?12l[?25h[?25lX
ab[?12l[?25h[?25lX
abc[?12l[?25h[?25lX
ab[?12l[?25h[?25lX
c
ab[?12l[?25h[?25l
X[?12l[?25h[?25l
Y
[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 47 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set ai tw=2 fo=tm
gqgqjgqgqo
X
Xa^[
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l{
  X[?12l[?25h[?25l
:[?12l[?25hset ai tw=2 fo=tm
[?25l[?12l[?25h  [?25l
Xa[?12l[?25h[?25l
a[?12l[?25h[?25l[?12l[?25h[?25l
X
  [?12l[?25h[?25l
X
  a[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 53 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set noai tw=2 fo=tm
gqgqjgqgqo
  X
  Xa^[
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l{
  X[?12l[?25h[?25l
:[?12l[?25hset noai tw=2 fo=tm
[?25l[?12l[?25h  [?25l
Xa[?12l[?25h[?25l
a[?12l[?25h[?25l[?12l[?25h[?25l
X
  [?12l[?25h[?25l
X
a[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 169 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTESTgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo
X
Xa
XaY
XY
XYZ
X Y
X YZ
XX
XXa
XXY^[
ENDTEST

{
X
Xa
XaY
XY
XYZ
X Y
X YZ
XX
XXa[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l[?12l[?25h[?25l:[?12l[?25hset tw=2 fo=cqm comments=n:X
[?25l[?12l[?25h

[?25lXY[?12l[?25h

[?25lXZ
[?12l[?25h

[?25l
X Z
[?12l[?25h[?25l
XX
[?12l[?25h[?25l
XXa
[?12l[?25h[?25l
XXY
[?12l[?25h[?25l[?12l[?25h[?25l
X
[?12l[?25h[?25l
Xa
[?12l[?25h[?25lXa[?12l[?25h[?25lXY
[?12l[?25h[?25lX[?12l[?25h[?25l
Y
[?12l[?25h[?25lX[?12l[?25h[?25lY[?12l[?25h[?25lXZ
[?12l[?25h[?25lX [?12l[?25h[?25l
Y
[?12l[?25h[?25lX [?12l[?25h[?25lY[?12l[?25h[?25lX Z
[?12l[?25h[?25lX[?12l[?25h[?25l
X
[?12l[?25h[?25lX[?12l[?25h[?25l
Xa
[?12l[?25h[?25lX[?12l[?25h[?25lX[?12l[?25h[?25lY[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 30 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set tw=2 fo=tm
RXa^[
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l{[?12l[?25h[?25l
:[?12l[?25hset tw=2 fo=tm
[?25l[?12l[?25h[?25l
X
a[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 34 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set mps+=^Vu2018:^Vu2019
d%
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l{
‘ two three ’ four[?12l[?25h[?25l
:[?12l[?25hset mps+=^‘:^’
[?25l[?12l[?25h[?25l four[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST

STARTTEST[?12l[?25h[?25l
/^ra test
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 16 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTESTjVjra
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^ra test
[?25l
ra test[?12l[?25h[?25l
abba
[?12l[?25h[?25lbba 
[?12l[?25h[?25l
a
aab 
[?12l[?25h[?25laaaaaaa [?12l[?25h
[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set whichwrap+=h
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 4 lines, 43 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/^x
dh
:set whichwrap-=h
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset whichwrap+=h
[?25l[?12l[?25h[?25l/[?12l[?25h^x
[?25lá
x[?12l[?25h[?25lx[?12l[?25h
[?25l
:[?12l[?25hset whichwrap-=h
[?25l[?12l[?25h[?25l/^STARTTEST

STARTTEST[?12l[?25h[?25l
:let a = '.é.' " one char of two bytes
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 9 lines, 548 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:let b = '.é.' " normal e with composing char
/^byteidx
:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)])
:put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])
/^byteidxcomp
:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)])
:let b = '.é.'
:put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hlet a = '.é.' " one char of two bytes
[?25l[?12l[?25h[?25l:[?12l[?25hlet b = '.eé.' " normal e with composing char
[?25l[?12l[?25h[?25l/[?12l[?25h^byteidx
[?25l
byteidx[?12l[?25h[?25l
:[?12l[?25hput =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), bytei

dx(a, 4)])
[?25l:set whichwrap-=h
ENDTESTáxSTARTTEST
:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char
/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp
:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx
[0, 1, 3, 4, -1][?12l[?25h[?25l
:[?12l[?25hput =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), bytei

dx(b, 4)])
[?25lENDTESTáxSTARTTEST
:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char
/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp
:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx
[0, 1, 3, 4, -1]4, 5[?12l[?25h[?25l
/[?12l[?25h^byteidxcomp
[?25l
byteidxcomp[?12l[?25h[?25l
:[?12l[?25hput =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxc

omp(a, 3), byteidxcomp(a, 4)])
[?25láxSTARTTEST
:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char
/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp
:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx
[0, 1, 3, 4, -1]4, 5
byteidxcomp[0, 1, 3, 4, -1][?12l[?25h[?25l
:[?12l[?25hlet b = '.eé.'
[?25l[?12l[?25h[?25l:[?12l[?25hput =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxc

omp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])
[?25lSTARTTEST
:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char
/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp
:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx
[0, 1, 3, 4, -1]4, 5
byteidxcomp[0, 1, 3, 4, -1]2, 4, 5, -1][?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
/^substitute
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 75 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:let y = substitute('123', '\zs', 'a', 'g')    | put =y
ENDTEST[?12l[?25h[?25lsubstitute[?12l[?25h[?25l

:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^substitute
[?25l[?12l[?25h[?25l:[?12l[?25hlet y = substitute('123', '\zs', 'a', 'g')    | put =y
[?25la1a2a3a[?12l[?25h[?25l

/^STARTTEST

STARTTEST[?12l[?25h[?25l:g/^STARTTEST/.,/^ENDTEST/d
:1;/^Results/,$wq! test.out[?12l[?25h[?25l

:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 56 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l

/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l104 fewer lines{ four}ra test
aaaaaaaáxbyteidx[0, 1, 3, 4, -1]
[0, 1, 4, 5, -1]byteidxcomp
[0, 1, 3, 4, -1]
[0, 1, 2, 4, 5, -1]substitute
a1a2a3a[?12l[?25h[?25l:[?12l[?25h1;/^Results/,$wq! test.out
[?25l"test.out" [New File] 166 lines, 730 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test70.failed test.ok test.out X* viminfo
cp test70.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test70.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test70.in" 63 lines, 1501 charactersSmoke test for MzScheme interface and mzeval() function

STARTTEST
:so mzscheme.vim
:set nocompatible viminfo+=nviminfo
:function! MzRequire()
:redir => l:mzversion
:mz (version)
:redir END
:if strpart(l:mzversion, 1, 1) < "4"
:" MzScheme versions < 4.x:
:mz (require (prefix vim- vimext))
:else
:" newer versions:
:mz (require (prefix-in vim- 'vimext))
:mz (require r5rs)
:endif
:endfunction
:silent call MzRequire()
:mz (define l '("item0" "dictionary with list OK" "item2"))
:mz (define h (make-hash))
:mz (hash-set! h "list" l)
/^1[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lSmoke test for MzScheme interface and mzeval() function[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1398 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:if l2[2] == l2
:let res = "OK"
:else
:let res = "FAILED: " . l2[2]
:endif
:call setline(search("^3"), "circular test " . res)
:" funcrefs
:mz (define vim:max (vim-eval "function('max')"))
:mz (define m (vim:max '(1 100 8)))
:let m = mzeval('m')
:if m == 100
:let fref_res = "OK"
:else
:let fref_res = "FAILED: " . m
:end
:call append(line('$'), 'funcrefs '. fref_res)
:?^1?,$w! test.out
:qa!
ENDTEST

1 line 1
2 line 2
3 line 3[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso mzscheme.vim
[?25l"test.ok" 6 lines, 94 characters

"test.out" [New File] 6 lines, 94 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test71.failed test.ok test.out X* viminfo
cp test71.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test71.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test71.in" 94 lines, 1779 charactersTest for encryption.
The test data is in another file to avoid problems with 'encoding', especially
cp932.

STARTTEST
:so small.vim
:set enc=latin1
:bwipe!
:r test71a.in
:/^start of text/+1
:let text_lines = getline('.', line('.') + 2)
:/^start of cm=zip bytes/+1
:let cm0_bytes = getline('.', '.')
:/^start of cm=blowfish bytes/+1
:let cm1_bytes = getline('.', '.')
:/^start of cm=blowfish2 bytes/+1
:let cm2_bytes = getline('.', '.')
:bwipe!
:call append(0, text_lines)
:$d
:X
foobar
foobar[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for encryption.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 87 lines, 1652 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:e Xtestfile
barbar
:let cm1_read_bin = getline('.', '$')
:bwipe!
:set bin noeol key=
:call append(0, cm2_bytes)
:$d
:set fenc=latin1
:w! Xtestfile
:bwipe!
:set nobin
:e Xtestfile
barburp
:call append(0, cm1_read_bin)
:call append(0, cm0_read_bin)
:call append(0, cm2_read_back)
:call append(0, cm1_read_back)
:call append(0, cm0_read_back)
:set key= fenc=latin1
:w! test.out
:qa!
ENDTEST
[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset enc=latin1
[?25l:e Xtestfile
barbar
:let cm1_read_bin = getline('.', '$')
:bwipe!
:set bin noeol key=
:call append(0, cm2_bytes)
:$d
:set fenc=latin1
:w! Xtestfile
:bwipe!
:set nobin
:e Xtestfile
barburp
:call append(0, cm1_read_bin)
:call append(0, cm0_read_bin)
:call append(0, cm2_read_back)
:call append(0, cm1_read_back)
:call append(0, cm0_read_back)
:set key= fenc=latin1
:w! test.out
:qa!
ENDTEST
[?12l[?25h[?25l
       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hcall append(0, text_lines)
[?25l01234567890123456789012345678901234567
line 2  foo bar blah
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[?12l[?25h[?25l:[?12l[?25h$d
[?25l~                                                                               [?12l[?25h[?25l:[?12l[?25hX
[?25lEnter encryption key: [?12l[?25h******

[?25lEnter same key again: [?12l[?25h******

[?25l01234567890123456789012345678901234567
line 2  foo bar blah[?12l[?25h[?25l:[?12l[?25hw! Xtestfile
[?25l"Xtestfile" [New File][crypted] 3 lines, 98 characters written[?12l[?25h[?25l:[?12l[?25hbwipe!
[?25l~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"

Enter encryption key: [?12l[?25h******

[?25l"Xtestfile" [crypted] 3 lines, 98 characters01234567890123456789012345678901234567
line 2  foo bar blah
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Xtestfile" [crypted] 3 lines, 98 characters[?12l[?25h[?25l:[?12l[?25hlet cm0_read_back = getline('.', '$')
[?25l[?12l[?25h[?25l:[?12l[?25hset key=
[?25l[?12l[?25h[?25l:[?12l[?25hset cryptmethod=blowfish
[?25l[?12l[?25h[?25l:[?12l[?25h" If the blowfish test fails 'cryptmethod' will be 'zip' now.
[?25l[?12l[?25h[?25l:[?12l[?25h%s/^/\=&cryptmethod == 'blowfish' ? "OK " : "blowfish test failed "/
[?25l3 substitutions on 3 linesOK 01234567890123456789012345678901234567
OK line 2  foo bar blah
OK line 3 xxx
[?12l[?25h[?25l:[?12l[?25hX
[?25lEnter encryption key: [?12l[?25h******

[?25lEnter same key again: [?12l[?25h******

[?25lOK 01234567890123456789012345678901234567
OK line 2  foo bar blah[?12l[?25h[?25l:[?12l[?25hw! Xtestfile
[?25l"Xtestfile" [blowfish] 3 lines, 107 characters written[?12l[?25h[?25l:[?12l[?25hbwipe!
[?25l~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"

Enter encryption key: [?12l[?25h******

[?25l"Xtestfile" [blowfish] 3 lines, 107 charactersOK 01234567890123456789012345678901234567
OK line 2  foo bar blah
OK line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Xtestfile" [blowfish] 3 lines, 107 characters[?12l[?25h[?25l:[?12l[?25hlet cm1_read_back = getline('.', '$')
[?25l[?12l[?25h[?25l:[?12l[?25hset key=
[?25l[?12l[?25h[?25l:[?12l[?25hset cryptmethod=blowfish2
[?25l[?12l[?25h[?25l:[?12l[?25h" If the blowfish test fails 'cryptmethod' will be 'zip' now.
[?25l[?12l[?25h[?25l:[?12l[?25h%s/^/\=&cryptmethod == 'blowfish2' ? "OK " : "blowfish test failed "/
[?25l3 substitutions on 3 linesOK 01234567890123456789012345678901234567
OK OK line 2  foo bar blah
OK OK line 3 xxx
[?12l[?25h[?25l:[?12l[?25hX
[?25lEnter encryption key: [?12l[?25h*******

[?25lEnter same key again: [?12l[?25h*******

[?25lOK OK 01234567890123456789012345678901234567
OK OK line 2  foo bar blah[?12l[?25h[?25l:[?12l[?25hw! Xtestfile
[?25l"Xtestfile" [blowfish2] 3 lines, 116 characters written[?12l[?25h[?25l:[?12l[?25hbwipe!
[?25l~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"

Enter encryption key: [?12l[?25h*******

[?25l"Xtestfile" [blowfish2] 3 lines, 116 charactersOK OK 01234567890123456789012345678901234567
OK OK line 2  foo bar blah
Enter encryption key: [?12l[?25h******

[?25l"Xtestfile" [crypted] 2 lines, 24 characters1234567890
Enter encryption key: [?12l[?25h******

[?25l"Xtestfile" [blowfish] 2 lines, 27 charactersasdfasdfasdf
Enter encryption key: [?12l[?25h*******

[?25l"Xtestfile" [blowfish2] 2 lines, 44 charactersabcdefghijklmnopqrstuvwxyz
!@#$%^&*()_+=-`~"Xtestfile" [blowfish2] 2 lines, 44 characters[?12l[?25h[?25l:[?12l[?25hcall append(0, cm1_read_bin)
[?25lasdfasdfasdf
0001112223333[?12l[?25h[?25l:[?12l[?25hcall append(0, cm0_read_bin)
[?25l1234567890
OK OK line 2  foo bar blah
OK OK line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[?12l[?25h[?25l:[?12l[?25hcall append(0, cm1_read_back)
[?25lOK 01234567890123456789012345678901234567
OK line 2  foo bar blah
OK line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[?12l[?25h[?25l:[?12l[?25hcall append(0, cm0_read_back)
[?25l01234567890123456789012345678901234567
line 2  foo bar blah
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[?12l[?25h[?25l:[?12l[?25hset key= fenc=latin1
[?25l[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New File] 15 lines, 416 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test72.failed test.ok test.out X* viminfo
cp test72.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test72.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test72.in" 147 lines, 2115 charactersTests for undo file.
Since this script is sourced we need to explicitly break changes up in
undo-able pieces.  Do that by setting 'undolevels'.

STARTTEST
:so small.vim
:"
:" Test 'undofile': first a simple one-line change.
:set nocompatible viminfo+=nviminfo visualbell
:set ul=100 undofile nomore
:set ff=unix
:e! Xtestfile
ggdGithis is one line^[:set ul=100
:s/one/ONE/
:set ul=100
:w
:bwipe!
:e Xtestfile
u:.w! test.out
:"
:" Test 'undofile', change in original file fails check
:set noundofile
:e! Xtestfile[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for undo file.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 136 lines, 1918 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:bwipe!
:e Xtestfile
foo2bar
:set key=
/bar
:.w >>test.out
u:.w >>test.out
u:.w >>test.out
u:.w >>test.out
:"
:" Rename the undo file so that it gets cleaned up.
:if has("vms")
: call rename("_un_Xtestfile", "Xtestundo")
:else
: call rename(".Xtestfile.un~", "Xtestundo")
:endif
:qa!
ENDTEST

1111 -----
2222 -----

123456789[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test 'undofile': first a simple one-line change.
[?25l[?12l[?25h[?25l:[?12l[?25hset nocompatible viminfo+=nviminfo visualbell
[?25l[?12l[?25h[?25l:[?12l[?25hset ul=100 undofile nomore
[?25l[?12l[?25h[?25l:[?12l[?25hset ff=unix
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtestfile
[?25l"Xtestfile" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l-- INSERT --this is one line[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l:[?12l[?25hs/one/ONE/
[?25lONE
[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtestfile" [New] 1L, 17C written[?12l[?25h[?25l:[?12l[?25hbwipe!
[?25l"test72.in" 147L, 2115C:bwipe!:e Xtestfilefoo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?12l[?25h[?25l:[?12l[?25he Xtestfile
[?25l"Xtestfile" 1L, 17Cthis is ONE line
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l1 change; before #2  0 seconds agoone
[?12l[?25h[?25l:[?12l[?25h.w! test.out
[?25l"test.out" [New] 1L, 17C written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test 'undofile', change in original file fails check
[?25l[?12l[?25h[?25l:[?12l[?25hset noundofile
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtestfile
[?25l"Xtestfile" 1L, 17CONE
[?12l[?25h[?25l:[?12l[?25hs/line/Line/
[?25lL
[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtestfile" 1L, 17C written[?12l[?25h[?25l:[?12l[?25hset undofile
[?25l[?12l[?25h[?25l:[?12l[?25hbwipe!
[?25l"test72.in" 147L, 2115C:bwipe!:e Xtestfilefoo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?12l[?25h[?25l:[?12l[?25he Xtestfile
[?25l"Xtestfile" 1L, 17Cthis is ONE Line
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h" TODO: this beeps
[?25l[?12l[?25h[?5h[?5l[?25lAlready at oldest change[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 17C appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test 'undofile', add 10 lines, delete 6 lines, undo 3
[?25l[?12l[?25h[?25l:[?12l[?25hset undofile
[?25l[?12l[?25h[?25l--No lines in buffer--[?12l[?25h[?25l-- INSERT --one
twothreefourfivesixseveneightnineten[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtestfile" 4L, 17C written[?12l[?25h[?25l:[?12l[?25hbwipe!
[?25l"test72.in" 147L, 2115C:bwipe!
:e Xtestfile
foo2bar
:set key=
/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?12l[?25h[?25l:[?12l[?25he Xtestfile
[?25l"Xtestfile" 4L, 17Conetwonineten~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l1 more line; before #7  0 seconds agoeight[?12l[?25h[?25l1 more line; before #6  0 seconds agoseven[?12l[?25h[?25l1 more line; before #5  0 seconds agosix[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 7L, 33C appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test that reading the undofiles when setting undofile works
[?25l[?12l[?25h[?25l:[?12l[?25hset noundofile ul=0
[?25l[?12l[?25h[?25l-- INSERT --six
u[?12l[?25hs[?25l[?12l[?25h[?25l1 line less; before #8  0 seconds ago
~                                                                               [?12l[?25h[?25l:[?12l[?25he! Xtestfile
[?25l"Xtestfile" 4L, 17Cnine
ten~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset undofile ul=100
[?25l[?12l[?25h[?25l1 more line; before #7  0 seconds agoeight[?12l[?25h[?25l1 more line; before #6  0 seconds agoseven[?12l[?25h[?25l1 more line; before #5  0 seconds agosix[?12l[?25h[?25l1 more line; before #4  0 seconds agofive[?12l[?25h[?25l1 more line; before #3  0 seconds agofour[?12l[?25h[?25l1 more line; before #2  0 seconds agothree[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 10L, 49C appended[?12l[?25h[?25l:[?12l[?25h" And now with encryption, cryptmethod=zip
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtestfile
[?25l"Xtestfile" 4L, 17Cninten~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset undofile cm=zip
[?25l[?12l[?25h[?25l~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?12l[?25h[?25l-- INSERT --monday
tuesdaywednesdaythursdayfriday[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l:[?12l[?25hX
[?25lEnter encryption key: [?12l[?25h******

[?25lEnter same key again: [?12l[?25h******

[?25lmonday
friday[?12l[?25h[?25l:[?12l[?25hw!
[?25l"Xtestfile" [crypted] 2L, 14C written[?12l[?25h[?25l:[?12l[?25hbwipe!
[?25l"test72.in" 147L, 2115C:bwipe!
:e Xtestfile
foo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?12l[?25h[?25l:[?12l[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"

Enter encryption key: [?12l[?25h******

[?25l"Xtestfile" [crypted] 2L, 14Cmonday
friday
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [crypted] 2L, 14C[?12l[?25h[?25l:[?12l[?25hset key=
[?25l[?12l[?25h[?25l1 more line; before #11  0 seconds agothursday[?12l[?25h[?25l1 more line; before #10  0 seconds agowednesday[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 4L, 33C appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" With encryption, cryptmethod=blowfish
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtestfile
[?25l"Xtestfile" Need encryption key for "Xtestfile"

Enter encryption key: [?12l[?25h*******

~                                                                               ~                                                                               ~                                                                               "Xtestfile" [noeol][crypted] 1L, 14C[?12l[?25h[?25l:[?12l[?25hset undofile cm=blowfish
[?25l[?12l[?25h[?25l--No lines in buffer--[?12l[?25h[?25l-- INSERT --jan
febmaraprjun[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h
[?25l-- INSERT --foo mar[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l-- INSERT --bar apr[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l:[?12l[?25hX
[?25lEnter encryption key: [?12l[?25h******

[?25lEnter same key again: [?12l[?25h******

[?25ljan
feb[?12l[?25h[?25l:[?12l[?25hw!
[?25l"Xtestfile" [blowfish] 4L, 20C written[?12l[?25h[?25l:[?12l[?25hbwipe!
[?25l"test72.in" 147L, 2115C:bwipe!
:e Xtestfile
foo2ba
:set key=
/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?12l[?25h[?25l:[?12l[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"

Enter encryption key: [?12l[?25h******

[?25l"Xtestfile" [blowfish] 4L, 20Cjan
feb
bar ap
jun~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [blowfish] 4L, 20C[?12l[?25h[?25l:[?12l[?25hset key=
[?25l[?12l[?25h[?25l/[?12l[?25hbar
[?25l[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?12l[?25h[?25l1 change; before #15  1 seconds agoap[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?12l[?25h[?25l1 more line; before #14  1 seconds agofoo mar[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?12l[?25h[?25l1 change; before #13  1 seconds agomar[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" With encryption, cryptmethod=blowfish2
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtestfile
[?25l"Xtestfile" Need encryption key for "Xtestfile"

Enter encryption key: [?12l[?25h*******

~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [noeol][blowfish] 1L, 20C[?12l[?25h[?25l:[?12l[?25hset undofile cm=blowfish2
[?25l[?12l[?25h[?25l--No lines in buffer--[?12l[?25h[?25l-- INSERT --jan
febmaraprjun[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h
[?25l-- INSERT --foo mar[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l-- INSERT --bar apr[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h[?25l:[?12l[?25hX
[?25lEnter encryption key: [?12l[?25h*******

[?25lEnter same key again: [?12l[?25h*******

[?25ljan
feb[?12l[?25h[?25l:[?12l[?25hw!
[?25l"Xtestfile" [blowfish2] 4L, 20C written[?12l[?25h[?25l:[?12l[?25hbwipe!
[?25l"test72.in" 147L, 2115C:bwipe!
:e Xtestfile
foo2ba
:set key=
/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?12l[?25h[?25l:[?12l[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"

Enter encryption key: [?12l[?25h*******

[?25l"Xtestfile" [blowfish2] 4L, 20Cjan
feb
bar ap
jun~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [blowfish2] 4L, 20C[?12l[?25h[?25l:[?12l[?25hset key=
[?25l[?12l[?25h[?25l/[?12l[?25hbar
[?25l[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?12l[?25h[?25l1 change; before #19  1 seconds agoap[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?12l[?25h[?25l1 more line; before #18  1 seconds agofoo mar[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?12l[?25h[?25l1 change; before #17  1 seconds agomar[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Rename the undo file so that it gets cleaned up.
[?25l[?12l[?25h[?25l:[?12l[?25hif has("vms")
[?25l
:  [?12l[?25h: call rename("_un_Xtestfile", "Xtestundo")

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: call rename(".Xtestfile.un~", "Xtestundo")

[?25l:  [?12l[?25h:endif
[?25ljan
feb
mar
apr[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test73.failed test.ok test.out X* viminfo
cp test73.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test73.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test73.in" 176 lines, 3863 charactersTests for find completion.

STARTTEST
:so small.vim
:" Do all test in a separate window to avoid E211 when we recursively
:" delete the Xfind directory during cleanup
:"
:" This will cause a few errors, do it silently.
:set visualbell
:set nocp viminfo+=nviminfo
:"
:function! DeleteDirectory(dir)
: if has("win16") || has("win32") || has("win64") || has("dos16") || has("dos32"")
:  exec "silent !rmdir /Q /S " . a:dir
: else
:  exec "silent !rm -rf " . a:dir
: endif
:endfun
:" On windows a stale "Xfind" directory may exist, remove it so that
:" we start from a clean state.
:call DeleteDirectory("Xfind")
:new[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for find completion.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 171 lines, 3816 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:exec "cd " . cwd . "/Xfind/"
:set path=./path
:" Open the file where Jimmy Hoffa is found
:e in/file.txt
:" Find the file containing 'E.T.' in the Xfind/in/path directory
:find file
:exec "w >>" . test_out
:"
:" Test that completion works when path=.,,
:"
:set path=.,,
:" Open Jimmy Hoffa file
:e in/file.txt
:exec "w >>" . test_out
:" Search for the file containing Holy Grail in same directory as in/path.txt
:find stu
:exec "w >>" . test_out
:q
:exec "cd " . cwd
:call DeleteDirectory("Xfind")
:qa!
ENDTEST
[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" Do all test in a separate window to avoid E211 when we recursively
[?25l[?12l[?25h[?25l:[?12l[?25h" delete the Xfind directory during cleanup
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" This will cause a few errors, do it silently.
[?25l[?12l[?25h[?25l:[?12l[?25hset visualbell
[?25l[?12l[?25h[?25l:[?12l[?25hset nocp viminfo+=nviminfo
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hfunction! DeleteDirectory(dir)
[?25l
:  [?12l[?25h: if has("win16") || has("win32") || has("win64") || has("dos16") || has("do

s32")

[?25l:    [?12l[?25h:  exec "silent !rmdir /Q /S " . a:dir

[?25l:    [?12l[?25h: else

[?25l:    [?12l[?25h:  exec "silent !rm -rf " . a:dir

[?25l:    [?12l[?25h: endif

[?25l:  [?12l[?25h:endfun
[?25l:exec "cd " . cwd . "/Xfind/"
:set path=./path
:" Open the file where Jimmy Hoffa is found
:e in/file.txt
:" Find the file containing 'E.T.' in the Xfind/in/path directory
:find file
:exec "w >>" . test_out[?12l[?25h[?25l
:[?12l[?25h" On windows a stale "Xfind" directory may exist, remove it so that
[?25l[?12l[?25h[?25l:[?12l[?25h" we start from a clean state.
[?25l[?12l[?25h[?25l:[?12l[?25hcall DeleteDirectory("Xfind")
[?25l[?1l>[?12l[?25h[?1049l[?1049h[?1h=[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out
:" Search for the file containing Holy Grail in same directory as in/path.txt
:find stu       exec "w >>" . test_out
:qexec "cd " . cwd
:call DeleteDirectory("Xfind")
:qa!ENDTESTtest73.in                                                                       [?12l[?25h[?25l:[?12l[?25hlet cwd=getcwd()
[?25l[?12l[?25h[?25l:[?12l[?25hlet test_out = cwd . '/test.out'
[?25l[?12l[?25h[?25l:[?12l[?25hcall mkdir('Xfind')
[?25l[?12l[?25h[?25l:[?12l[?25hcd Xfind
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in[?12l[?25h[?25l:[?12l[?25hset path=
[?25l[?12l[?25h[?25l:[?12l[?25hfind ...[?25l[?5h[?5l[?12l[?25h
[?25lE345: Can't find file "" in path[?12l[?25h[?25l:[?12l[?25hexec "w! " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<ld/vim-9hu7AN/vim-7.4.488/src/vim-basic/testdir/test.out" [New] 0L, 0C written/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out[?12l[?25h[?25l:[?12l[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"
:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt
:find stu       exec "w >>" . test_out
:qexec "cd " . cwdcall DeleteDirectory("Xfind")
:qa!ENDTEST[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out
:" Search for the file containing Holy Grail in same directory as in/path.txt
:find stu       exec "w >>" . test_out
:qexec "cd " . cwd
:call DeleteDirectory("Xfind")
:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in                   [?12l[?25h[?25l:[?12l[?25hset path=.
[?25l[?12l[?25h[?25l:[?12l[?25hfind ...[?25l[?5h[?5l[?12l[?25h
[?25lE32: No file name[?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 0L, 0C appended[?12l[?25h[?25l:[?12l[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"
:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt
:find stu       exec "w >>" . test_out
:qexec "cd " . cwdcall DeleteDirectory("Xfind")
:qa!ENDTEST[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out
:" Search for the file containing Holy Grail in same directory as in/path.txt
:find stu       exec "w >>" . test_out
:qexec "cd " . cwd
:call DeleteDirectory("Xfind")
:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in                   [?12l[?25h[?25l:[?12l[?25hset path=.,,
[?25l[?12l[?25h[?25l:[?12l[?25hfind ...[?25l[?5h[?5l[?12l[?25h
[?25lE32: No file name[?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 0L, 0C appended[?12l[?25h[?25l:[?12l[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"
:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt
:find stu       exec "w >>" . test_out
:qexec "cd " . cwdcall DeleteDirectory("Xfind")
:qa!ENDTEST[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out
:" Search for the file containing Holy Grail in same directory as in/path.txt
:find stu       exec "w >>" . test_out
:qexec "cd " . cwd
:call DeleteDirectory("Xfind")
:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in                   [?12l[?25h[?25l:[?12l[?25hset path=./**
[?25l[?12l[?25h[?25l:[?12l[?25hfind ...[?25l[?5h[?5l[?12l[?25h
[?25lE32: No file name[?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 0L, 0C appended[?12l[?25h[?25l:[?12l[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"
:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt
:find stu       exec "w >>" . test_out
:qexec "cd " . cwdcall DeleteDirectory("Xfind")
:qa!ENDTEST[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out
:" Search for the file containing Holy Grail in same directory as in/path.txt
:find stu       exec "w >>" . test_out
:qexec "cd " . cwd
:call DeleteDirectory("Xfind")
:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in                   [?12l[?25h[?25l:[?12l[?25h" We shouldn't find any file at this point, test.out must be empty.
[?25l[?12l[?25h[?25l:[?12l[?25hcall mkdir('in')
[?25l[?12l[?25h[?25l:[?12l[?25hcd in
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/in[?12l[?25h[?25l:[?12l[?25hcall mkdir('path')
[?25l[?12l[?25h[?25l:[?12l[?25hexec "cd " . cwd
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdirtest73.in                                                    [?12l[?25h[?25l:[?12l[?25he Xfind/file.txt
[?25l"Xfind/file.txt" [New File]Xfind/file.txt[?12l[?25h[?25l-- INSERT --Holy Grail[+][?12l[?25h[?25l:[?12l[?25hw
[?25l"Xfind/file.txt" [New] 1L, 11C written    [?12l[?25h[?25l:[?12l[?25he Xfind/in/file.txt
[?25l"Xfind/in/file.txt" [New File]in/file.txt[?12l[?25h[?25l-- INSERT --Jimmy Hoffa[+][?12l[?25h[?25l:[?12l[?25hw
[?25l"Xfind/in/file.txt" [New] 1L, 12C written    [?12l[?25h[?25l:[?12l[?25he Xfind/in/stuff.txt
[?25l"Xfind/in/stuff.txt" [New File]stuff.txt[?12l[?25h[?25l-- INSERT --Another Holy Grail[+][?12l[?25h[?25l:[?12l[?25hw
[?25l"Xfind/in/stuff.txt" [New] 1L, 19C written    [?12l[?25h[?25l:[?12l[?25he Xfind/in/path/file.txt
[?25l"Xfind/in/path/file.txt" [New File]path/file.txt[?12l[?25h[?25l-- INSERT --E.T.[+][?12l[?25h[?25l:[?12l[?25hw
[?25l"Xfind/in/path/file.txt" [New] 1L, 5C written    [?12l[?25h[?25l:[?12l[?25hset path=Xfind/**
[?25l[?12l[?25h[?25l:[?12l[?25hfind file...[?25l./Xfind/file.txt[?5h[?5l[?12l[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 11C appended[?12l[?25h[?25l:[?12l[?25hfind file...[?25l./Xfind/file.txt[?5h[?5l[?12l[?25h...[?25lin/file.txt[?12l[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[?12l[?25h[?25l:[?12l[?25hfind file...[?25l./Xfind/file.txt[?5h[?5l[?12l[?25h...[?25lin/file.txt[?12l[?25h...[?25lpath/file.txt[?12l[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 5C appended[?12l[?25h[?25l:[?12l[?25h" Rerun the previous three find completions, using fullpath in 'path'
[?25l[?12l[?25h[?25l:[?12l[?25hexec "set path=" . cwd . "/Xfind/**"
[?25l[?12l[?25h[?25l:[?12l[?25hfind file...[?25l./Xfind/file.txt[?5h[?5l[?12l[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?12l[?25h[?25l:[?12l[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 11C appended[?12l[?25h[?25l:[?12l[?25hfind file...[?25l./Xfind/file.txt[?5h[?5l[?12l[?25h...[?25lin/file.txt[?12l[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[?12l[?25h[?25l:[?12l[?25hfind file...[?25l./Xfind/file.txt[?5h[?5l[?12l[?25h...[?25lin/file.txt[?12l[?25h...[?25lpath/file.txt[?12l[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 5C appended[?12l[?25h[?25l:[?12l[?25h" Same steps again, using relative and fullpath items that point to the same
[?25l[?12l[?25h[?25l:[?12l[?25h" recursive location.
[?25l[?12l[?25h[?25l:[?12l[?25h" This is to test that there are no duplicates in the completion list.
[?25l[?12l[?25h[?25l:[?12l[?25hexec "set path+=Xfind/**"
[?25l[?12l[?25h[?25l:[?12l[?25hfind file...[?25l./Xfind/file.txt[?5h[?5l[?12l[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?12l[?25h[?25l:[?12l[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 11C appended[?12l[?25h[?25l:[?12l[?25hfind file...[?25l./Xfind/file.txt[?5h[?5l[?12l[?25h...[?25lin/file.txt[?12l[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[?12l[?25h[?25l:[?12l[?25hfind file...[?25l./Xfind/file.txt[?5h[?5l[?12l[?25h...[?25lin/file.txt[?12l[?25h...[?25lpath/file.txt[?12l[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 5C appended[?12l[?25h[?25l:[?12l[?25hfind file...[?25l./Xfind/file.txt[?5h[?5l[?12l[?25h...[?25lin/file.txt[?12l[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffafile.txte      [?12l[?25h[?25l:[?12l[?25h" Test find completion for directory of current buffer, which at this point
[?25l[?12l[?25h[?25l:[?12l[?25h" is Xfind/in/file.txt.
[?25l[?12l[?25h[?25l:[?12l[?25hset path=.
[?25l[?12l[?25h[?25l:[?12l[?25hfind st...[?25luff.txt[?12l[?25h
[?25l"Xfind/in/stuff.txt" 1L, 19CAnother Holy Grailstuff.txt[?12l[?25h[?25l:[?12l[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 19C appended[?12l[?25h[?25l:[?12l[?25h" Test find completion for empty path item ",," which is the current directory
[?25l[?12l[?25h[?25l:[?12l[?25hcd Xfind
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfindin/stuff.txtf       /<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in[?12l[?25h[?25l:[?12l[?25hset path=,,
[?25l[?12l[?25h[?25l:[?12l[?25hfind f...[?25lile.txt[?12l[?25h...[?25l[?12l[?25h
[?25l"file.txt" 1L, 11CHoly Grailfile.txt.     [?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 11C appended[?12l[?25h[?25l:[?12l[?25h" Test shortening of
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"    foo/x/bar/voyager.txt
[?25l[?12l[?25h[?25l:[?12l[?25h"    foo/y/bar/voyager.txt
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" When current directory is above foo/ they should be shortened to (in order
[?25l[?12l[?25h[?25l:[?12l[?25h" of appearance):
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"    x/bar/voyager.txt
[?25l[?12l[?25h[?25l:[?12l[?25h"    y/bar/voyager.txt
[?25l[?12l[?25h[?25l:[?12l[?25hcall mkdir('foo')
[?25l[?12l[?25h[?25l:[?12l[?25hcd foo
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/file.txt[?12l[?25h[?25l:[?12l[?25hcall mkdir('x')
[?25l[?12l[?25h[?25l:[?12l[?25hcall mkdir('y')
[?25l[?12l[?25h[?25l:[?12l[?25hcd x
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/x[?12l[?25h[?25l:[?12l[?25hcall mkdir('bar')
[?25l[?12l[?25h[?25l:[?12l[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo[?12l[?25h[?25l:[?12l[?25hcd y
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/y[?12l[?25h[?25l:[?12l[?25hcall mkdir('bar')
[?25l[?12l[?25h[?25l:[?12l[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo[?12l[?25h[?25l:[?12l[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfindfile.txti                                                           [?12l[?25h[?25l:[?12l[?25h" We should now be in the Xfind directory
[?25l[?12l[?25h[?25l:[?12l[?25he foo/x/bar/voyager.txt
[?25l"foo/x/bar/voyager.txt" [New File]oo/x/bar/voyager.txt[?12l[?25h[?25l-- INSERT --Voyager 1[+][?12l[?25h[?25l:[?12l[?25hw
[?25l"foo/x/bar/voyager.txt" [New] 1L, 10C written    [?12l[?25h[?25l:[?12l[?25he foo/y/bar/voyager.txt
[?25l"foo/y/bar/voyager.txt" [New File]y/[?12l[?25h[?25l-- INSERT --Voyager 2[+][?12l[?25h[?25l:[?12l[?25hw
[?25l"foo/y/bar/voyager.txt" [New] 1L, 10C written    [?12l[?25h[?25l:[?12l[?25hexec "set path=" . cwd . "/Xfind/**"
[?25l[?12l[?25h[?25l:[?12l[?25hfind voyager...[?25lx/bar/voyager.txt[?5h[?5l[?12l[?25h
[?25l"foo/x/bar/voyager.txt" 1L, 10C1x/[?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[?12l[?25h[?25l:[?12l[?25hfind voyager...[?25lx/bar/voyager.txt[?5h[?5l[?12l[?25h...[?25ly[?12l[?25h
[?25l"foo/y/bar/voyager.txt" 1L, 10C2y/[?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" When current directory is .../foo/y/bar they should be shortened to (in
[?25l[?12l[?25h[?25l:[?12l[?25h" order of appearance):
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"    ./voyager.txt
[?25l[?12l[?25h[?25l:[?12l[?25h"    x/bar/voyager.txt
[?25l[?12l[?25h[?25l:[?12l[?25hcd foo
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/fooy/bar/voyager.txt.     [?12l[?25h[?25l:[?12l[?25hcd y
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/ybar/voyager.txt   [?12l[?25h[?25l:[?12l[?25hcd bar
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/y/barvoyager.txt.     [?12l[?25h[?25l:[?12l[?25hfind voyager...[?25l./voyager.txt[?5h[?5l[?12l[?25h
[?25l"voyager.txt" 1L, 10C[?12l[?25h[?25l:[?12l[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[?12l[?25h[?25l:[?12l[?25hfind voyager...[?25l./voyager.txt[?5h[?5l[?12l[?25h...[?25lx/bar/voyager.txt[?12l[?25h
[?25l<ild/vim-9hu7AN/vim-7.4.488/src/vim-basic/testdir/Xfind/foo/x/bar/voyager.txt"
<-9hu7AN/vim-7.4.488/src/vim-basic/testdir/Xfind/foo/x/bar/voyager.txt" 1L, 10C1/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/x/bar/voyager.txt[?12l[?25h[?25l:[?12l[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[?12l[?25h[?25l:[?12l[?25h" Check the opposite too:
[?25l[?12l[?25h[?25l:[?12l[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/y[?12l[?25h[?25l:[?12l[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foox/bar/voyager.txt/                                                               [?12l[?25h[?25l:[?12l[?25hcd x
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/xbar/voyager.txt   [?12l[?25h[?25l:[?12l[?25hcd bar
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/x/barvoyager.txt.     [?12l[?25h[?25l:[?12l[?25hfind voyager...[?25l./voyager.txt[?5h[?5l[?12l[?25h
[?25l"voyager.txt" 1L, 10C[?12l[?25h[?25l:[?12l[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[?12l[?25h[?25l:[?12l[?25hfind voyager...[?25l./voyager.txt[?5h[?5l[?12l[?25h...[?25ly/bar/voyager.txt[?12l[?25h
[?25l<ild/vim-9hu7AN/vim-7.4.488/src/vim-basic/testdir/Xfind/foo/y/bar/voyager.txt"
<-9hu7AN/vim-7.4.488/src/vim-basic/testdir/Xfind/foo/y/bar/voyager.txt" 1L, 10C2/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/y/bar/voyager.txt[?12l[?25h[?25l:[?12l[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[?12l[?25h[?25l:[?12l[?25h" Check for correct handling of shorten_fname()'s behavior on windows
[?25l[?12l[?25h[?25l:[?12l[?25hexec "cd " . cwd . "/Xfind/in"
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/in[?12l[?25h[?25l:[?12l[?25hfind file...[?25l./file.txt[?5h[?5l[?12l[?25h
[?25l"file.txt" 1L, 12CJimmy Hoffafile.txti                                                                        [?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[?12l[?25h[?25l:[?12l[?25h" Test for relative to current buffer 'path' item
[?25l[?12l[?25h[?25l:[?12l[?25hexec "cd " . cwd . "/Xfind/"
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfindin/file.txt[?12l[?25h[?25l:[?12l[?25hset path=./path
[?25l[?12l[?25h[?25l:[?12l[?25h" Open the file where Jimmy Hoffa is found
[?25l[?12l[?25h[?25l:[?12l[?25he in/file.txt
[?25l"in/file.txt" 1L, 12C[?12l[?25h[?25l:[?12l[?25h" Find the file containing 'E.T.' in the Xfind/in/path directory
[?25l[?12l[?25h[?25l:[?12l[?25hfind file...[?25ltxt[?12l[?25h
[?25l"in/path/file.txt" 1L, 5CE.T.path/file.txt[?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 5C appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test that completion works when path=.,,
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hset path=.,,
[?25l[?12l[?25h[?25l:[?12l[?25h" Open Jimmy Hoffa file
[?25l[?12l[?25h[?25l:[?12l[?25he in/file.txt
[?25l"in/file.txt" 1L, 12CJimmy Hoffafile.txte      [?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[?12l[?25h[?25l:[?12l[?25h" Search for the file containing Holy Grail in same directory as in/path.txt
[?25l[?12l[?25h[?25l:[?12l[?25hfind stu...[?25lff.txt[?12l[?25h
[?25l"in/stuff.txt" 1L, 19CAnother Holy Grailstuff.txt[?12l[?25h[?25l:[?12l[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 19C appended[?12l[?25h[?25l:[?12l[?25hq
[?25l:exec "cd " . cwd . "/Xfind/"
:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt
:find stu       exec "w >>" . test_out
:qexec "cd " . cwdcall DeleteDirectory("Xfind")
:qa!ENDTEST[?12l[?25h[?25l:[?12l[?25hexec "cd " . cwd
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir[?12l[?25h[?25l:[?12l[?25hcall DeleteDirectory("Xfind")
[?25l[?1l>[?12l[?25h[?1049l[?1049h[?1h=[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test74.failed test.ok test.out X* viminfo
cp test74.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test74.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test74.in" 36 lines, 822 characters" Tests for storing global variables in the .viminfo file vim: set ft=vim:

STARTTEST
:so small.vim
:" Do all test in a separate window to avoid E211 when we recursively
:" delete the Xfind directory during cleanup
:"
:" This will cause a few errors, do it silently.
:set visualbell
:set nocp viminfo+=!,nviminfo
:let MY_GLOBAL_DICT={'foo': 1, 'bar': 0, 'longvarible': 1000}
:" store a really long list, so line wrapping will occur in viminfo file
:let MY_GLOBAL_LIST=range(1,100)
:wv! Xviminfo
:unlet MY_GLOBAL_DICT
:unlet MY_GLOBAL_LIST
:rv! Xviminfo
:call delete('Xviminfo')
:if exists("MY_GLOBAL_DICT")
:redir >> test.out
:echo MY_GLOBAL_DICT
:redir end
:endif[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l" Tests for storing global variables in the .viminfo file vim: set ft=vim:[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 30 lines, 723 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:if exists("MY_GLOBAL_LIST")
:redir >> test.out
:echo MY_GLOBAL_LIST
:redir end
:endif
:redir >> test.out
:echo "foobar"
:redir end
:endif
:qa!
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" Do all test in a separate window to avoid E211 when we recursively
[?25l[?12l[?25h[?25l:[?12l[?25h" delete the Xfind directory during cleanup
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" This will cause a few errors, do it silently.
[?25l[?12l[?25h[?25l:[?12l[?25hset visualbell
[?25l[?12l[?25h[?25l:[?12l[?25hset nocp viminfo+=!,nviminfo
[?25l[?12l[?25h[?25l:[?12l[?25hlet MY_GLOBAL_DICT={'foo': 1, 'bar': 0, 'longvarible': 1000}
[?25l[?12l[?25h[?25l:[?12l[?25h" store a really long list, so line wrapping will occur in viminfo file
[?25l[?12l[?25h[?25l:[?12l[?25hlet MY_GLOBAL_LIST=range(1,100)
[?25l[?12l[?25h[?25l:[?12l[?25hwv! Xviminfo
[?25l[?12l[?25h[?25l:[?12l[?25hunlet MY_GLOBAL_DICT
[?25l[?12l[?25h[?25l:[?12l[?25hunlet MY_GLOBAL_LIST
[?25l[?12l[?25h[?25l:[?12l[?25hrv! Xviminfo
[?25l[?12l[?25h[?25l:[?12l[?25hcall delete('Xviminfo')
[?25l[?12l[?25h[?25l:[?12l[?25hif exists("MY_GLOBAL_DICT")
[?25l
:  [?12l[?25h:redir >> test.out

[?25l:  [?12l[?25h:echo MY_GLOBAL_DICT

[?25l{'foo': 1, 'longvarible': 1000, 'bar': 0}

:  [?12l[?25h:redir end

[?25l:  [?12l[?25h:endif
[?25l:let MY_GLOBAL_LIST=range(1,100)
:wv! Xviminfo
:unlet MY_GLOBAL_DICT
:unlet MY_GLOBAL_LIST
:rv! Xviminfo[?12l[?25h[?25l
:[?12l[?25hif exists("MY_GLOBAL_LIST")
[?25l
:  [?12l[?25h:redir >> test.out

[?25l:  [?12l[?25h:echo MY_GLOBAL_LIST

[?25l[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,

23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,

43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,

63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,

83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]

:  [?12l[?25h:redir end

[?25l:  [?12l[?25h:endif
[?25l:let MY_GLOBAL_LIST=range(1,100)
:wv! Xviminfo
:unlet MY_GLOBAL_DICT
:unlet MY_GLOBAL_LIST
:rv! Xviminfo
:call delete('Xviminfo')
:if exists("MY_GLOBAL_DICT")
:redir >> test.out
:echo MY_GLOBAL_DICT[?12l[?25h[?25l
:[?12l[?25hredir >> test.out
[?25l[?12l[?25h[?25l:[?12l[?25hecho "foobar"
[?25lfoobar[?12l[?25h[?25l:[?12l[?25hredir end
[?25l[?12l[?25h[?25l:[?12l[?25hendif
[?25lE580: :endif without :if[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test75.failed test.ok test.out X* viminfo
cp test75.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test75.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test75.in" 41 lines, 1000 charactersTests for maparg().
Also test utf8 map with a 0x80 byte.

STARTTEST
:so small.vim
:so mbyte.vim
:set cpo-=<
:set encoding=utf8
:" Test maparg() with a string result
:map foo<C-V> is<F4>foo
:vnoremap <script> <buffer> <expr> <silent> bar isbar
:call append('$', maparg('foo<C-V>'))
:call append('$', string(maparg('foo<C-V>', '', 0, 1)))
:call append('$', string(maparg('bar', '', 0, 1)))
:map <buffer> <nowait> foo bar
:call append('$', string(maparg('foo', '', 0, 1)))
:"
:map abc x<char-114>x
:call append('$', maparg('abc'))
:map abc y<S-char-114>y
:call append('$', maparg('abc'))
:"
Go^[:"[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for maparg().[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 34 lines, 919 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:" Outside of the range, minimum
:inoremap <Char-0x1040> a
:execute "normal a\u1040\<Esc>"
:" Inside of the range, minimum
:inoremap <Char-0x103f> b
:execute "normal a\u103f\<Esc>"
:" Inside of the range, maximum
:inoremap <Char-0xf03f> c
:execute "normal a\uf03f\<Esc>"
:" Outside of the range, maximum
:inoremap <Char-0xf040> d
:execute "normal a\uf040\<Esc>"
:"
:/^eof/+1,$w! test.out
:qa!
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo-=<
[?25l[?12l[?25h[?25l:[?12l[?25hset encoding=utf8
[?25l:map abc x<char-114>x
:call append('$', maparg('abc'))
:map abc y<S-char-114>y
:call append('$', maparg('abc'))
:"
Go^[:"
:" Outside of the range, minimum
:inoremap <Char-0x1040> a
:execute "normal a\u1040\<Esc>"
:" Inside of the range, minimum
:inoremap <Char-0x103f> b
:execute "normal a\u103f\<Esc>"
:" Inside of the range, maximum
:inoremap <Char-0xf03f> c
:execute "normal a\uf03f\<Esc>"
:" Outside of the range, maximum
:inoremap <Char-0xf040> d
:execute "normal a\uf040\<Esc>"
:"
:/^eof/+1,$w! test.out
:qa!
ENDTEST
[?12l[?25h[?25l
:[?12l[?25h" Test maparg() with a string result
[?25l[?12l[?25h[?25l:[?12l[?25hmap foo<C-V> is<F4>foo
[?25l[?12l[?25h[?25l:[?12l[?25hvnoremap <script> <buffer> <expr> <silent> bar isbar
[?25l[?12l[?25h[?25l:[?12l[?25hcall append('$', maparg('foo<C-V>'))
[?25l[?12l[?25h[?25l:[?12l[?25hcall append('$', string(maparg('foo<C-V>', '', 0, 1)))
[?25l[?12l[?25h[?25l:[?12l[?25hcall append('$', string(maparg('bar', '', 0, 1)))
[?25l[?12l[?25h[?25l:[?12l[?25hmap <buffer> <nowait> foo bar
[?25l[?12l[?25h[?25l:[?12l[?25hcall append('$', string(maparg('foo', '', 0, 1)))
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hmap abc x<char-114>x
[?25l[?12l[?25h[?25l:[?12l[?25hcall append('$', maparg('abc'))
[?25l[?12l[?25h[?25l:[?12l[?25hmap abc y<S-char-114>y
[?25l[?12l[?25h[?25l:[?12l[?25hcall append('$', maparg('abc'))
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25leof
is<F4>foo
{'silent': 0, 'noremap': 0, 'lhs': 'foo<C-V>', 'mode': ' ', 'nowait': 0, 'expr':: 0, 'sid': 0, 'rhs': 'is<F4>foo', 'buffer': 0}
{'silent': 1, 'noremap': 1, 'lhs': 'bar', 'mode': 'v', 'nowait': 0, 'expr': 1, ''sid': 0, 'rhs': 'isbar', 'buffer': 1}
{'silent': 0, 'noremap': 0, 'lhs': 'foo', 'mode': ' ', 'nowait': 1, 'expr': 0, ''sid': 0, 'rhs': 'bar', 'buffer': 1}
xrx
yRy[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Outside of the range, minimum
[?25l[?12l[?25h[?25l:[?12l[?25hinoremap <Char-0x1040> a
[?25l[?12l[?25h[?25l:[?12l[?25hexecute "normal a\u1040\<Esc>"
[?25la[?12l[?25h[?25l:[?12l[?25h" Inside of the range, minimum
[?25l[?12l[?25h[?25l:[?12l[?25hinoremap <Char-0x103f> b
[?25l[?12l[?25h[?25l:[?12l[?25hexecute "normal a\u103f\<Esc>"
[?25lb[?12l[?25h[?25l:[?12l[?25h" Inside of the range, maximum
[?25l[?12l[?25h[?25l:[?12l[?25hinoremap <Char-0xf03f> c
[?25l[?12l[?25h[?25l:[?12l[?25hexecute "normal a\uf03f\<Esc>"
[?25lc[?12l[?25h[?25l:[?12l[?25h" Outside of the range, maximum
[?25l[?12l[?25h[?25l:[?12l[?25hinoremap <Char-0xf040> d
[?25l[?12l[?25h[?25l:[?12l[?25hexecute "normal a\uf040\<Esc>"
[?25ld[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h/^eof/+1,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 7 lines, 384 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test76.failed test.ok test.out X* viminfo
cp test76.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test76.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test76.in" 46 lines, 899 charactersTests for completefunc/omnifunc. vim: set ft=vim :

STARTTEST
:"Test that nothing happens if the 'completefunc' opens
:"a new window (no completion, no crash)
:so small.vim
:function! DummyCompleteOne(findstart, base)
:  if a:findstart
:    return 0
:  else
:    wincmd n
:    return ['onedef', 'oneDEF']
:  endif
:endfunction
:setlocal completefunc=DummyCompleteOne
/^one
A^X^U^N^[:q!
:function! DummyCompleteTwo(findstart, base)
:  if a:findstart
:    wincmd n
:    return 0
:  else
:    return ['twodef', 'twoDEF'][?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for completefunc/omnifunc. vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 810 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:  endif
:endfunction
:setlocal completefunc=DummyCompleteTwo
/^two
A^X^U^N^[:q!
:"Test that 'completefunc' works when it's OK.
:function! DummyCompleteThree(findstart, base)
:  if a:findstart
:    return 0
:  else
:    return ['threedef', 'threeDEF']
:  endif
:endfunction
:setlocal completefunc=DummyCompleteThree
/^three
A^X^U^N^[:/^+++/,/^three/w! test.out
:qa!
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h"Test that nothing happens if the 'completefunc' opens
[?25l[?12l[?25h[?25l:[?12l[?25h"a new window (no completion, no crash)
[?25l[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hfunction! DummyCompleteOne(findstart, base)
[?25l
:  [?12l[?25h:  if a:findstart

[?25l:    [?12l[?25h:    return 0

[?25l:    [?12l[?25h:  else

[?25l:    [?12l[?25h:    wincmd n

[?25l:    [?12l[?25h:    return ['onedef', 'oneDEF']

[?25l:    [?12l[?25h:  endif

[?25l:  [?12l[?25h:endfunction
[?25l:    wincmd n
:    return 0
:  else
:    return ['twodef', 'twoDEF']
:  endif
:endfunction
:setlocal completefunc=DummyCompleteTwo[?12l[?25h[?25l
:[?12l[?25hsetlocal completefunc=DummyCompleteOne
[?25l[?12l[?25h[?25l/[?12l[?25h^one
[?25l+++
one[?12l[?25h[?25l
E839: Completion function changed window

Pattern not found

Press ENTER or type command to continue[?12l[?25h[?25lPress ENTER or type command to continue[?12l[?25h[?25lone
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   endifendfunction
:setlocal completefunc=DummyCompleteThree
/^threeA^X^U^N^[:/^+++/,/^three/w! test.out
:qa!ENDTEST+++test76.in [+]                                                                   [?12l[?25h[?25l:[?12l[?25hq!
[?25l:  else
:    return ['twodef', 'twoDEF']:  endif:endfunction:setlocal completefunc=DummyCompleteTwo/^twoA^X^U^N^[:q!:"Test that 'completefunc' works when it's OK.:function! DummyCompleteThree(findstart, base):  if a:findstart:    return 0:  else  return ['threedef', 'threeDEF']
:  endifendfunction:setlocal completefunc=DummyCompleteThree
/^threeA^X^U^N^[:/^+++/,/^three/w! test.out
:qa!ENDTEST+++[?12l[?25h[?25l:[?12l[?25hfunction! DummyCompleteTwo(findstart, base)
[?25l
:  [?12l[?25h:  if a:findstart

[?25l:    [?12l[?25h:    wincmd n

[?25l:    [?12l[?25h:    return 0

[?25l:    [?12l[?25h:  else

[?25l:    [?12l[?25h:    return ['twodef', 'twoDEF']

[?25l:    [?12l[?25h:  endif

[?25l:  [?12l[?25h:endfunction
[?25l:  else
:    return ['twodef', 'twoDEF']
:  endif
:endfunction
:setlocal completefunc=DummyCompleteTwo
/^two
A^X^U^N^[:q![?12l[?25h[?25l
:[?12l[?25hsetlocal completefunc=DummyCompleteTwo
[?25l[?12l[?25h[?25l/[?12l[?25h^two
[?25l
two[?12l[?25h[?25l
E839: Completion function changed window

E764: Option 'completefunc' is not set

Press ENTER or type command to continue[?12l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       endfunction
:setlocal completefunc=DummyCompleteThree
/^threeA^X^U^N^[:/^+++/,/^three/w! test.out
:qa!ENDTEST+++two
test76.in [+]                                                                   [?12l[?25h[?25l:[?12l[?25hq!
[?25l:    return ['twodef', 'twoDEF']
:  endif:endfunction:setlocal completefunc=DummyCompleteTwo/^twoA^X^U^N^[:q!:"Test that 'completefunc' works when it's OK.:function! DummyCompleteThree(findstart, base):  if a:findstart:    return 0:  else:    return ['threedef', 'threeDEF']  endifendfunction:setlocal completefunc=DummyCompleteThree
/^threeA^X^U^N^[:/^+++/,/^three/w! test.out
:qa!ENDTEST+++two[?12l[?25h[?25l:[?12l[?25h"Test that 'completefunc' works when it's OK.
[?25l[?12l[?25h[?25l:[?12l[?25hfunction! DummyCompleteThree(findstart, base)
[?25l
:  [?12l[?25h:  if a:findstart

[?25l:    [?12l[?25h:    return 0

[?25l:    [?12l[?25h:  else

[?25l:    [?12l[?25h:    return ['threedef', 'threeDEF']

[?25l:    [?12l[?25h:  endif

[?25l:  [?12l[?25h:endfunction
[?25l:    return ['twodef', 'twoDEF']
:  endif
:endfunction
:setlocal completefunc=DummyCompleteTwo
/^two
A^X^U^N^[:q![?12l[?25h[?25l
:[?12l[?25hsetlocal completefunc=DummyCompleteThree
[?25l[?12l[?25h[?25l/[?12l[?25h^three
[?25l
three[?12l[?25h[?25l
match 1 of 2defthreedef       
threeDEF       DEF2threedef       
threeDEF       two[?12l[?25h[?25l
:[?12l[?25h/^+++/,/^three/w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 4 lines, 18 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test77.failed test.ok test.out X* viminfo
cp test77.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test77.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test77.in" 30 lines, 719 charactersInserts 2 million lines with consecutive integers starting from 1
(essentially, the output of GNU's seq 1 2000000), writes them to Xtest
and writes its cksum to test.out.

We need 2 million lines to trigger a call to mf_hash_grow().  If it would mess
up the lines the checksum would differ.

cksum is part of POSIX and so should be available on most Unixes.
If it isn't available then the test will be skipped.

STARTTEST
:so small.vim
:if !executable("cksum")
: e! test.ok
: w! test.out
: qa!
:endif
:set fileformat=unix undolevels=-1
ggdG
:let i = 1
:while i <= 2000000 | call append(i, range(i, i + 99)) | let i += 100 | endwhileggdd
:w! Xtest[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lInserts 2 million lines with consecutive integers starting from 1[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 288 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:r !cksum Xtest
:s/\s/ /g
:set fileformat&
:.w! test.out
:qa!
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif !executable("cksum")
[?25l
:  [?12l[?25h: e! test.ok

[?25l:  [?12l[?25h: w! test.out

[?25l:  [?12l[?25h: qa!

[?25l:  [?12l[?25h:endif
[?25lcksum is part of POSIX and so should be available on most Unixes.
If it isn't available then the test will be skipped.

STARTTEST[?12l[?25h[?25l
:[?12l[?25hset fileformat=unix undolevels=-1
[?25l[?12l[?25h[?25lInserts 2 million lines with consecutive integers starting from 1
(essentially, the output of GNU's seq 1 2000000), writes them to Xtest
and writes its cksum to test.out.

We need 2 million lines to trigger a call to mf_hash_grow().  If it would mess
up the lines the checksum would differ.[?12l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?12l[?25h[?25l:[?12l[?25hlet i = 1
[?25l[?12l[?25h[?25l:[?12l[?25hwhile i <= 2000000 | call append(i, range(i, i + 99)) | let i += 100 | endwhil

e[?25l12345678910111213141516171819202122[?12l[?25h[?25l
23[?12l[?25h
[?25l:[?12l[?25hw! Xtest
[?25l"Xtest" [New File] 2000000 lines, 14888896 characters written[?12l[?25h[?25l:[?12l[?25hr !cksum Xtest
[?25l[?12l[?25h[?25l1
2
3678979763 14888896 Xtest
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22[?12l[?25h[?25l:[?12l[?25hs/\s/ /g
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformat&
[?25l[?12l[?25h[?25l:[?12l[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 26 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test78.failed test.ok test.out X* viminfo
cp test78.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test78.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test78.in" 46 lines, 1464 charactersInserts 10000 lines with text to fill the swap file with two levels of pointer
blocks.  Then recovers from the swap file and checks all text is restored.

We need about 10000 lines of 100 characters to get two levels of pointer
blocks.

STARTTEST
:so small.vim
:set nocp fileformat=unix undolevels=-1 viminfo+=nviminfo
:e! Xtest
ggdG
:let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01223456789abcdefghijklmnoparstuvwxyz0123456789"
:let i = 1
:let linecount = 10000
:while i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile
:preserve
:" get the name of the swap file
:redir => swapname
:swapname
:redir END
:let swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][::cntrl:]]*$', '\1', '')[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lInserts 10000 lines with text to fill the swap file with two levels of pointer[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1208 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:set nobin
:new
:only!
:bwipe! Xtest
:call rename('Xswap', swapname)
:recover Xtest
:call delete(swapname)
:new
:call append(0, 'recovery start')
:wincmd w
:let linedollar = line('$')
:if linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected "" . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let linnecount = linedollar | endif
:let i = 1
:while i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appendd(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile
:q!
:call append(line('$'), 'recovery end')
:w! test.out
:qa!
ENDTEST
[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nocp fileformat=unix undolevels=-1 viminfo+=nviminfo
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest
[?25l"Xtest" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hlet text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01

23456789abcdefghijklmnoparstuvwxyz0123456789"
[?25l[?12l[?25h[?25l:[?12l[?25hlet i = 1
[?25l[?12l[?25h[?25l:[?12l[?25hlet linecount = 10000
[?25l[?12l[?25h[?25l:[?12l[?25hwhile i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile
[?25l9990    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899991    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899992    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899993    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899994    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899995    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899996    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899997    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899998    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899999    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678910000   abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789[?12l[?25h[?25l:[?12l[?25hpreserve
[?25lFile preserved[?12l[?25h[?25l:[?12l[?25h" get the name of the swap file
[?25l[?12l[?25h[?25l:[?12l[?25hredir => swapname
[?25l[?12l[?25h[?25l:[?12l[?25hswapname
[?25l.Xtest.swp[?12l[?25h[?25l:[?12l[?25hredir END
[?25l[?12l[?25h[?25l:[?12l[?25hlet swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][

:cntrl:]]*$', '\1', '')
[?25l9990    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899a[?12l[?25h[?25l
:[?12l[?25h" make a copy of the swap file in Xswap
[?25l[?12l[?25h[?25l:[?12l[?25hset bin
[?25l[?12l[?25h[?25l:[?12l[?25hexe 'sp ' . swapname
[?25l".Xtest.swp"[noeol] 611L, 1224704Cb0VIM 7.4^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@^^U^@^@root^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@bm-wb-01^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@/<<PKGBUILDDIR>>/src/vim-basic/teestdir/Xtest^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^.Xtest.swp                                                                      799a
999899a
999999a
1000099a~                                                                               Xtest [+]                                                                       [?12l[?25h[?25l:[?12l[?25hw! Xswap
[?25l"Xswap" [New][noeol] 611L, 1224704C written[?12l[?25h[?25l:[?12l[?25hecho swapname
[?25l.Xtest.sw[?12l[?25h[?25l:[?12l[?25hset nobin
[?25l[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       b0VIM 7.4^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@^^U^@^@root^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@bm-wb-01^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@/<<PKGBUILDDIR>>/src/vim-basic/teestdir/Xtest^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^.Xtest.swp                                                                      9999    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789
10000   abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

~                                                                               Xtest [+]                                                                       [?12l[?25h[?25l:[?12l[?25honly!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hbwipe! Xtest
[?25l[?12l[?25h[?25l:[?12l[?25hcall rename('Xswap', swapname)
[?25l[?12l[?25h[?25l:[?12l[?25hrecover Xtest
[?25lUsing swap file ".Xtest.swp"

Original file "/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xtest"

"/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xtest" [New File]Recovery completed. You should check if everything is OK.

(You might want to write out this file under another name

and run diff with the original file to check for changes)

You may want to delete the .swp file now.



Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hcall delete(swapname)
[?25l1abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789
2abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789
3abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789
4abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789
5       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567896       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567897       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567898       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678910      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678911      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678912      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@                                                                               [?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       199a
299a
399a
4 99a
5 99a
Xtest [+]                                                                       [?12l[?25h[?25l:[?12l[?25hcall append(0, 'recovery start')
[?25lrecovery start[+][?12l[?25h[?25l:[?12l[?25hwincmd w
[?25l[No Name] [+]                                                                    Xtest [+]                                                                       [?12l[?25h[?25l:[?12l[?25hlet linedollar = line('$')
[?25l[?12l[?25h[?25l:[?12l[?25hif linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected 

" . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let li

necount = linedollar | endif
[?25lrecovery start[?12l[?25h[?25l:[?12l[?25hlet i = 1
[?25l[?12l[?25h[?25l:[?12l[?25hwhile i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appen

d(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile
[?25lrecovery start[?12l[?25h[?25l:[?12l[?25hq!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hcall append(line('$'), 'recovery end')
[?25lrecovery end[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New] 3L, 29C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test79.failed test.ok test.out X* viminfo
cp test79.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test79.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test79.in" 255 lines, 3381 charactersTest for *sub-replace-special* and *sub-replace-expression* on :substitute.
Test for submatch() on :substitue.
Test for *:s%* on :substitute.
Test for :s replacing \n with  line break.

STARTTEST
:so small.vim
ENDTEST

Results of test71:

STARTTEST
:set magic
:set cpo&
/^TEST/
j:s/A/&&/
j:s/B/\&/
j:s/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
j:s/D/d/
j:s/E/~/
j:s/F/\~/
j:s/G/\ugg/
j:s/H/\Uh\Eh/[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for *sub-replace-special* and *sub-replace-expression* on :substitute.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1 line, 14 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 347 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTj:s/L/^V^M/
j:s/M/\r/
j:s/N/\^V^M/
j:s/O/\n/
j:s/P/\b/
j:s/Q/\t/
j:s/R/\\/
j:s/S/\c/
j:s/T/^V^@/
j:s/U/\L\uuUu\l\EU/
j:s/V/\U\lVvV\u\Ev/
ENDTEST

TEST_1:
A
B
C123456789
D
E
F
G
H
I[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l/[?12l[?25h^TEST/
[?25l[?12l[?25h
[?25l:[?12l[?25hs/A/&&/
[?25lA
[?12l[?25h
[?25l:[?12l[?25hs/B/\&/
[?25l&[?12l[?25h
[?25l:[?12l[?25hs/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l987654321
[?12l[?25h
[?25l:[?12l[?25hs/D/d/
[?25ld[?12l[?25h
[?25l:[?12l[?25hs/E/~/
[?25ld[?12l[?25h
[?25l:[?12l[?25hs/F/\~/
[?25l~[?12l[?25h
[?25l:[?12l[?25hs/G/\ugg/
[?25lg
[?12l[?25h
[?25l:[?12l[?25hs/H/\Uh\Eh/
[?25lh
[?12l[?25h
[?25l:[?12l[?25hs/I/\lII/
[?25liI
[?12l[?25h[?25l
J[?12l[?25h[?25l
:[?12l[?25hs/J/\LJ\EJ/
[?25ljJ
[?12l[?25h[?25l
K[?12l[?25h[?25l
:[?12l[?25hs/K/\Uk\ek/
[?25lk
[?12l[?25h[?25l
lLl[?12l[?25h[?25l
:[?12l[?25hs/L/^^M/
[?25l
l[?12l[?25h[?25l
mMm
[?12l[?25h[?25l
:[?12l[?25hs/M/\r/
[?25l
m[?12l[?25h[?25l
nNn
[?12l[?25h[?25l
:[?12l[?25hs/N/\^^M/
[?25l^Mn
[?12l[?25h[?25l
oOo[?12l[?25h[?25l
:[?12l[?25hs/O/\n/
[?25l^@o
[?12l[?25h[?25l
pPp[?12l[?25h[?25l
:[?12l[?25hs/P/\b/
[?25l^Hp
[?12l[?25h[?25l
qQq[?12l[?25h[?25l
:[?12l[?25hs/Q/\t/
[?25l       q
[?12l[?25h[?25l
rRr[?12l[?25h[?25l
:[?12l[?25hs/R/\\/
[?25l\
[?12l[?25h[?25l
sSs[?12l[?25h[?25l
:[?12l[?25hs/S/\c/
[?25lc
[?12l[?25h[?25l
tTt[?12l[?25h[?25l
:[?12l[?25hs/T/^^@/
[?25l^@t
[?12l[?25h[?25l
U[?12l[?25h[?25l
:[?12l[?25hs/U/\L\uuUu\l\EU/
[?25luuU
[?12l[?25h[?25l
V[?12l[?25h[?25l
:[?12l[?25hs/V/\U\lVvV\u\Ev/
[?25lvVVv
[?12l[?25h[?25l/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set nomagic
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 351 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTESTj:s/L/^V^M/
j:s/M/\r/
j:s/N/\^V^M/
j:s/O/\n/
j:s/P/\b/
j:s/Q/\t/
j:s/R/\\/
j:s/S/\c/
j:s/T/^V^@/
j:s/U/\L\uuUu\l\EU/
j:s/V/\U\lVvV\u\Ev/
ENDTEST

TEST_2:
A
B
C123456789
D
E
F
G
H
I[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset nomagic
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l/[?12l[?25h^TEST/
[?25l[?12l[?25h
[?25l:[?12l[?25hs/A/&&/
[?25l&&
[?12l[?25h
[?25l:[?12l[?25hs/B/\&/
[?25l[?12l[?25h
[?25l:[?12l[?25hs/\mC\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l987654321
[?12l[?25h
[?25l:[?12l[?25hs/D/d/
[?25ld[?12l[?25h
[?25l:[?12l[?25hs/E/~/
[?25l~[?12l[?25h
[?25l:[?12l[?25hs/F/\~/
[?25l~[?12l[?25h
[?25l:[?12l[?25hs/G/\ugg/
[?25lg
[?12l[?25h
[?25l:[?12l[?25hs/H/\Uh\Eh/
[?25lh
[?12l[?25h
[?25l:[?12l[?25hs/I/\lII/
[?25liI
[?12l[?25h[?25l
J[?12l[?25h[?25l
:[?12l[?25hs/J/\LJ\EJ/
[?25ljJ
[?12l[?25h[?25l
K[?12l[?25h[?25l
:[?12l[?25hs/K/\Uk\ek/
[?25lk
[?12l[?25h[?25l
lLl[?12l[?25h[?25l
:[?12l[?25hs/L/^^M/
[?25l
l[?12l[?25h[?25l
mMm
[?12l[?25h[?25l
:[?12l[?25hs/M/\r/
[?25l
m[?12l[?25h[?25l
nNn
[?12l[?25h[?25l
:[?12l[?25hs/N/\^^M/
[?25l^Mn
[?12l[?25h[?25l
oOo[?12l[?25h[?25l
:[?12l[?25hs/O/\n/
[?25l^@o
[?12l[?25h[?25l
pPp[?12l[?25h[?25l
:[?12l[?25hs/P/\b/
[?25l^Hp
[?12l[?25h[?25l
qQq[?12l[?25h[?25l
:[?12l[?25hs/Q/\t/
[?25l       q
[?12l[?25h[?25l
rRr[?12l[?25h[?25l
:[?12l[?25hs/R/\\/
[?25l\
[?12l[?25h[?25l
sSs[?12l[?25h[?25l
:[?12l[?25hs/S/\c/
[?25lc
[?12l[?25h[?25l
tTt[?12l[?25h[?25l
:[?12l[?25hs/T/^^@/
[?25l^@t
[?12l[?25h[?25l
U[?12l[?25h[?25l
:[?12l[?25hs/U/\L\uuUu\l\EU/
[?25luuU
[?12l[?25h[?25l
V[?12l[?25h[?25l
:[?12l[?25hs/V/\U\lVvV\u\Ev/
[?25lvVVv
[?12l[?25h[?25l/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set magic&
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 15 lines, 203 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTESTj:s/B/\='\\'/
j:s/C/\='^V^M'/
j:s/D/\='\^V^M'/
j:s/E/\='\\^V^M'/
j:s/F/\='\r'/
j:s/G/\='^V^@'/
j:s/H/\='\^V^@'/
j:s/I/\='\\^V^@'/
j:s/J/\='\n'/
j:s/K/\="\r"/
j:s/L/\="\n"/
ENDTEST

TEST_3:
aAa
bBb
cCc
dDd
eEe
fFf
gGg
hHh
iIi[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic&
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l/[?12l[?25h^TEST/
[?25l[?12l[?25h
[?25l:[?12l[?25hs/A/\='\'/
[?25l\
[?12l[?25h
[?25l:[?12l[?25hs/B/\='\\'/
[?25l\\b
[?12l[?25h
[?25l:[?12l[?25hs/C/\='^^M'/
[?25lc[?12l[?25h
[?25l:[?12l[?25hs/D/\='\^^M'/
[?25l\d[?12l[?25h
[?25l


:[?12l[?25hs/E/\='\\^^M'/
[?25l\\
efFf[?12l[?25h
[?25l:[?12l[?25hs/F/\='\r'/
[?25l\rf
[?12l[?25h[?25l
gGg[?12l[?25h[?25l
:[?12l[?25hs/G/\='^^@'/
[?25l
g[?12l[?25h[?25l
hHh
[?12l[?25h[?25l
:[?12l[?25hs/H/\='\^^@'/
[?25l
\h[?12l[?25h[?25l
iIi
[?12l[?25h[?25l
:[?12l[?25hs/I/\='\\^^@'/
[?25l
\\
i[?12l[?25h[?25l
jJj
[?12l[?25h[?25l
:[?12l[?25hs/J/\='\n'/
[?25l\nj
[?12l[?25h[?25l
kKk[?12l[?25h[?25l
:[?12l[?25hs/K/\="\r"/
[?25l
k[?12l[?25h[?25l
lLl
[?12l[?25h[?25l
:[?12l[?25hs/L/\="\n"/
[?25l
l[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set magic&
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 15 lines, 611 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTESTj:s/B/\=substitute(submatch(0), '.', '\\', '')/
j:s/C/\=substitute(submatch(0), '.', '^V^M', '')/
j:s/D/\=substitute(submatch(0), '.', '\^V^M', '')/
j:s/E/\=substitute(submatch(0), '.', '\\^V^M', '')/
j:s/F/\=substitute(submatch(0), '.', '\r', '')/
j:s/G/\=substitute(submatch(0), '.', '^V^@', '')/
j:s/H/\=substitute(submatch(0), '.', '\^V^@', '')/
j:s/I/\=substitute(submatch(0), '.', '\\^V^@', '')/
j:s/J/\=substitute(submatch(0), '.', '\n', '')/
j:s/K/\=substitute(submatch(0), '.', "\r", '')/
j:s/L/\=substitute(submatch(0), '.', "\n", '')/
ENDTEST

TEST_4:
aAa
bBb
cCc
dDd
eEe
fFf
gGg
hHh
iIi[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic&
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l/[?12l[?25h^TEST/
[?25l[?12l[?25h
[?25l:[?12l[?25hs/A/\=substitute(submatch(0), '.', '\', '')/
[?25l\
[?12l[?25h
[?25l:[?12l[?25hs/B/\=substitute(submatch(0), '.', '\\', '')/
[?25l\
[?12l[?25h
[?25l:[?12l[?25hs/C/\=substitute(submatch(0), '.', '^^M', '')/
[?25lc[?12l[?25h
[?25l:[?12l[?25hs/D/\=substitute(submatch(0), '.', '\^^M', '')/
[?25ld[?12l[?25h
[?25l


:[?12l[?25hs/E/\=substitute(submatch(0), '.', '\\^^M', '')/
[?25l\efFf[?12l[?25h
[?25l:[?12l[?25hs/F/\=substitute(submatch(0), '.', '\r', '')/
[?25l
f[?12l[?25h[?25l
gGg
[?12l[?25h[?25l
:[?12l[?25hs/G/\=substitute(submatch(0), '.', '^^@', '')/
[?25l
g[?12l[?25h[?25l
hHh
[?12l[?25h[?25l
:[?12l[?25hs/H/\=substitute(submatch(0), '.', '\^^@', '')/
[?25l
h[?12l[?25h[?25l
iIi
[?12l[?25h[?25l
:[?12l[?25hs/I/\=substitute(submatch(0), '.', '\\^^@', '')/
[?25l
\i[?12l[?25h[?25l
jJj
[?12l[?25h[?25l
:[?12l[?25hs/J/\=substitute(submatch(0), '.', '\n', '')/
[?25l
j[?12l[?25h[?25l
kKk
[?12l[?25h[?25l
:[?12l[?25hs/K/\=substitute(submatch(0), '.', "\r", '')/
[?25l
k[?12l[?25h[?25l
lLl
[?12l[?25h[?25l
:[?12l[?25hs/L/\=substitute(submatch(0), '.', "\n", '')/
[?25l
l[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set magic&
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 445 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set cpo&
/^TEST/
j:s/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .. submatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch((3) . submatch(2) . submatch(1)/
j:s/B\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=string([submatch(0, 1), subbmatch(9, 1), submatch(8, 1), submatch(7, 1), submatch(6, 1), submatch(5, 1), subbmatch(4, 1), submatch(3, 1), submatch(2, 1), submatch(1, 1)])/
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic&
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l/[?12l[?25h^TEST/
[?25l
TEST_5:[?12l[?25h[?25l
A123456789
[?12l[?25h[?25l
:[?12l[?25hs/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .

submatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch(

3) . submatch(2) . submatch(1)/
[?25li\
i987654321[?12l[?25h[?25l
B123456789
[?12l[?25h[?25l
:[?12l[?25hs/B\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=string([submatch(0, 1), sub

match(9, 1), submatch(8, 1), submatch(7, 1), submatch(6, 1), submatch(5, 1), sub

match(4, 1), submatch(3, 1), submatch(2, 1), submatch(1, 1)])/
[?25li
j[['B123456789'], ['9'], ['8'], ['7'], ['6'], ['5'], ['4'], ['3'], ['2'], ['1']][?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set magic&
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 80 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/^TEST/
:set cpo+=/
j:s/A/a/
j:s/B/%/
:set cpo-=/
j:s/C/c/
j:s/D/%/
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic&
[?25l[?12l[?25h[?25l/[?12l[?25h^TEST/
[?25lTEST_6:
A
B[?12l[?25h[?25l


:[?12l[?25hset cpo+=/
[?25l[?12l[?25h
[?25l:[?12l[?25hs/A/a/
[?25la[?12l[?25h
[?25l:[?12l[?25hs/B/%/
[?25la[?12l[?25h[?25l:[?12l[?25hset cpo-=/
[?25l[?12l[?25h[?25lC
D[?12l[?25h[?25l


:[?12l[?25hs/C/c/
[?25lc[?12l[?25h
[?25l:[?12l[?25hs/D/%/
[?25l%[?12l[?25h[?25l/^STARTTEST

STARTTEST[?12l[?25h[?25l
:set magic&
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 11 lines, 303 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set cpo&
/^TEST_7/
j:s/A./\=submatch(0)/
j:s/B./\=submatch(0)/
j:s/C./\=strtrans(string(submatch(0, 1)))/
j:s/D.\nD/\=strtrans(string(submatch(0, 1)))/
j:s/E\_.\{-}E/\=strtrans(string(submatch(0, 1)))/
/^Q$
:s/Q[^\n]Q/\=submatch(0)."foobar"/
:" Avoid :s error breaks dotest map on Windows.
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic&
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l/[?12l[?25h^TEST_7/
[?25l
TEST_7:[?12l[?25h[?25l
A^MA
[?12l[?25h[?25l
:[?12l[?25hs/A./\=submatch(0)/
[?25l
A[?12l[?25h[?25l
B^@B
[?12l[?25h[?25l
:[?12l[?25hs/B./\=submatch(0)/
[?25l
B[?12l[?25h[?25l
C^@C
[?12l[?25h[?25l
:[?12l[?25hs/C./\=strtrans(string(submatch(0, 1)))/
[?25l['C^@']C
[?12l[?25h[?25l
D^@[?12l[?25h[?25l
:[?12l[?25hs/D.\nD/\=strtrans(string(submatch(0, 1)))/
[?25l['D^@', 'D']
[?12l[?25h[?25l
E^@[?12l[?25h[?25l
:[?12l[?25hs/E\_.\{-}E/\=strtrans(string(submatch(0, 1)))/
[?25l['E^@', '^@', '^@', '^@', '^@E']
[?12l[?25h[?25l/[?12l[?25h^Q$
[?25l
Q[?12l[?25h[?25l
:[?12l[?25hs/Q[^\n]Q/\=submatch(0)."foobar"/
[?25lE486: Pattern not found: Q[^\n]Q[?12l[?25h[?25l:[?12l[?25h" Avoid :s error breaks dotest map on Windows.
[?25l[?12l[?25h[?25l/^STARTTEST
Q

STARTTEST[?12l[?25h[?25l
:function! TitleString()
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 177 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTESTlet check = 'foo' =~ 'bar'
  return ""
endfunction
:set titlestring=%{TitleString()}
:/^test_one/s/.*/\="foo\nbar"/
:/^test_two/s/.*/\="foo\nbar"/c
y
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hfunction! TitleString()
[?25l
:  [?12l[?25h  let check = 'foo' =~ 'bar'

[?25l:  [?12l[?25h  return ""

[?25l:  [?12l[?25hendfunction
[?25lTEST_7:
A[?12l[?25h[?25l
:[?12l[?25hset titlestring=%{TitleString()}
[?25l[?12l[?25h[?25l:[?12l[?25h/^test_one/s/.*/\="foo\nbar"/
[?25lfoo
bar[?12l[?25h[?25l
:[?12l[?25h/^test_two/s/.*/\="foo\nbar"/c
[?25l
test_tworeplace with \="foo\nbar" (y/n/a/q/l/^E/^Y)?[?12l[?25h[?25l
foobar
[?12l[?25h[?25l
[?12l[?25h[?25l
/^STARTTEST

STARTTEST[?12l[?25h[?25l
:g/^STARTTEST/.,/^ENDTEST/d
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 72 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST[?12l[?25h[?25l
:1;/^Results/,$wq! test.out[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l136 fewer linesaa
c
%TEST_7:AABB['C^@']C['D^@', 'D']
['E^@', '^@', '^@', '^@', '^@E']
Q
Qfoo
bar
foobar[?12l[?25h[?25l:[?12l[?25h1;/^Results/,$wq! test.out
[?25l"test.out" [New File] 134 lines, 574 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test80.failed test.ok test.out X* viminfo
cp test80.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test80.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test80.in" 201 lines, 6296 charactersTest for *sub-replace-special* and *sub-replace-expression* on substitue().
Test for submatch() on substitue().
Test for *:s%* on :substitute.

STARTTEST
:so small.vim
ENDTEST

TEST_1:

STARTTEST
:set magic
:set cpo&
:$put =\"\n\nTEST_1:\"
:$put =substitute('A', 'A', '&&', '')
:$put =substitute('B', 'B', '\&', '')
:$put =substitute('C123456789', 'C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)'', '\0\9\8\7\6\5\4\3\2\1', '')
:$put =substitute('D', 'D', 'd', '')
:$put =substitute('E', 'E', '~', '')
:$put =substitute('F', 'F', '\~', '')
:$put =substitute('G', 'G', '\ugg', '')
:$put =substitute('H', 'H', '\Uh\Eh', '')[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for *sub-replace-special* and *sub-replace-expression* on substitue().[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1 line, 14 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 29 lines, 1142 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:$put =substitute('pPp', 'P', '\b', '')
:$put =substitute('qQq', 'Q', '\t', '')
:$put =substitute('rRr', 'R', '\\', '')
:$put =substitute('sSs', 'S', '\c', '')
:$put =substitute('uUu', 'U', \"\n\", '')
:$put =substitute('vVv', 'V', \"\b\", '')
:$put =substitute('wWw', 'W', \"\\\", '')
:$put =substitute('xXx', 'X', \"\r\", '')
:$put =substitute('Y', 'Y', '\L\uyYy\l\EY', '')
:$put =substitute('Z', 'Z', '\U\lZzZ\u\Ez', '')
/^TEST_2
ENDTEST

TEST_2:

STARTTEST
:set nomagic
:set cpo&
:$put =\"\n\nTEST_2:\"
:$put =substitute('A', 'A', '&&', '')
:$put =substitute('B', 'B', '\&', '')
:$put =substitute('C123456789', 'C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)'', '\0\9\8\7\6\5\4\3\2\1', '')[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l:[?12l[?25h$put =\"\n\nTEST_1:\"
[?25l3 more lines:set cpo&
:$put =\"\n\nTEST_10:\"
:let y = substitute('123', '\zs', 'a', 'g')| $put =y
:let y = substitute('123', '\zs.', 'a', 'g')| $put =y
:let y = substitute('123', '.\zs', 'a', 'g')| $put =y
:let y = substitute('123', '\ze', 'a', 'g')| $put =y
:let y = substitute('123', '\ze.', 'a', 'g')| $put =y
:let y = substitute('123', '.\ze', 'a', 'g')| $put =y
:let y = substitute('123', '1\|\ze', 'a', 'g')| $put =y
:let y = substitute('123', '1\zs\|[23]', 'a', 'g')      | $put =y
/^TEST_11
ENDTEST

TEST_11:

STARTTEST
:/^Results/,$wq! test.out
ENDTEST

Results of test72:


TEST_1:
3 more lines[?12l[?25h[?25l:[?12l[?25h$put =substitute('A', 'A', '&&', '')
[?25l
AA[?12l[?25h[?25l
:[?12l[?25h$put =substitute('B', 'B', '\&', '')
[?25l
&[?12l[?25h[?25l
:[?12l[?25h$put =substitute('C123456789', 'C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)

', '\0\9\8\7\6\5\4\3\2\1', '')
[?25l:let y = substitute('123', '\zs.', 'a', 'g')| $put =y.\zs\ze', 'a', 'g') .', 'a', 'g').\ze1\|\ze', 'a', 'g')zs\|[23]', 'a', 'g')
/^TEST_11ENDTESTTEST_11:STARTTEST
:/^Results/,$wq! test.out
ENDTESTResults of test72:TEST_1:
AA&C123456789987654321[?12l[?25h[?25l
:[?12l[?25h$put =substitute('D', 'D', 'd', '')
[?25l
d[?12l[?25h[?25l
:[?12l[?25h$put =substitute('E', 'E', '~', '')
[?25l
~[?12l[?25h[?25l
:[?12l[?25h$put =substitute('F', 'F', '\~', '')
[?25l
~[?12l[?25h[?25l
:[?12l[?25h$put =substitute('G', 'G', '\ugg', '')
[?25l
Gg[?12l[?25h[?25l
:[?12l[?25h$put =substitute('H', 'H', '\Uh\Eh', '')
[?25l
Hh[?12l[?25h[?25l
:[?12l[?25h$put =substitute('I', 'I', '\lII', '')
[?25l
iI[?12l[?25h[?25l
:[?12l[?25h$put =substitute('J', 'J', '\LJ\EJ', '')
[?25l
jJ[?12l[?25h[?25l
:[?12l[?25h$put =substitute('K', 'K', '\Uk\ek', '')
[?25l
Kk[?12l[?25h[?25l
:[?12l[?25h$put =substitute('lLl', 'L', '^^M', '')
[?25l
l^Ml[?12l[?25h[?25l
:[?12l[?25h$put =substitute('mMm', 'M', '\r', '')
[?25l
m^Mm[?12l[?25h[?25l
:[?12l[?25h$put =substitute('nNn', 'N', '\^^M', '')
[?25l
n^Mn[?12l[?25h[?25l
:[?12l[?25h$put =substitute('oOo', 'O', '\n', '')
[?25lo
o[?12l[?25h[?25l
:[?12l[?25h$put =substitute('pPp', 'P', '\b', '')
[?25l
p^Hp[?12l[?25h[?25l
:[?12l[?25h$put =substitute('qQq', 'Q', '\t', '')
[?25l
qq[?12l[?25h[?25l
:[?12l[?25h$put =substitute('rRr', 'R', '\\', '')
[?25l
r\r[?12l[?25h[?25l
:[?12l[?25h$put =substitute('sSs', 'S', '\c', '')
[?25l
scs[?12l[?25h[?25l
:[?12l[?25h$put =substitute('uUu', 'U', \"\n\", '')
[?25lu
u[?12l[?25h[?25l
:[?12l[?25h$put =substitute('vVv', 'V', \"\b\", '')
[?25l
v^Hv[?12l[?25h[?25l
:[?12l[?25h$put =substitute('wWw', 'W', \"\\\", '')
[?25l
w\w[?12l[?25h[?25l
:[?12l[?25h$put =substitute('xXx', 'X', \"\r\", '')
[?25l
x^Mx[?12l[?25h[?25l
:[?12l[?25h$put =substitute('Y', 'Y', '\L\uyYy\l\EY', '')
[?25l
YyyY[?12l[?25h[?25l
:[?12l[?25h$put =substitute('Z', 'Z', '\U\lZzZ\u\Ez', '')
[?25l
zZZz[?12l[?25h[?25l
/[?12l[?25h^TEST_2
[?25lsearch hit BOTTOM, continuing at TOP:$put =substitute('rRr', 'R', '\\', '')
:$put =substitute('sSs', 'S', '\c', '')
:$put =substitute('uUu', 'U', \"\n\", '')
:$put =substitute('vVv', 'V', \"\b\", '')
:$put =substitute('wWw', 'W', \"\\\", '')
:$put =substitute('xXx', 'X', \"\r\", '')
:$put =substitute('Y', 'Y', '\L\uyYy\l\EY', '')
:$put =substitute('Z', 'Z', '\U\lZzZ\u\Ez', '')
/^TEST_2
ENDTEST

TEST_2:

STARTTEST
:set nomagic
:set cpo&
:$put =\"\n\nTEST_2:\"
:$put =substitute('A', 'A', '&&', '')
:$put =substitute('B', 'B', '\&', '')
:$put =substitute('C123456789', 'C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)'', '\0\9\8\7\6\5\4\3\2\1', '')
:$put =substitute('D', 'D', 'd', '')
:$put =substitute('E', 'E', '~', '')
search hit BOTTOM, continuing at TOP[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 29 lines, 1144 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:$put =substitute('pPp', 'P', '\b', '')
:$put =substitute('qQq', 'Q', '\t', '')
:$put =substitute('rRr', 'R', '\\', '')
:$put =substitute('sSs', 'S', '\c', '')
:$put =substitute('tTt', 'T', \"\r\", '')
:$put =substitute('uUu', 'U', \"\n\", '')
:$put =substitute('vVv', 'V', \"\b\", '')
:$put =substitute('wWw', 'W', \"\\\", '')
:$put =substitute('X', 'X', '\L\uxXx\l\EX', '')
:$put =substitute('Y', 'Y', '\U\lYyY\u\Ey', '')
/^TEST_3
ENDTEST

TEST_3:

STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_3:\"
:let y = substitute('aAa', 'A', '\="\\"', '')| $put =y
:let y = substitute('bBb', 'B', '\="\\\\"', '')| $put =y
:let y = substitute('cCc', 'C', '\="^V^M"', '')| $put =y
:let y = substitute('dDd', 'D', '\="\\^V^M"', '')| $put =y[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset nomagic
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l:[?12l[?25h$put =\"\n\nTEST_2:\"
[?25l3 more linesHh
iI
jJ
Kk
l^Ml
m^Mm
n^Mn
o
o
p^Hp
qq
r\r
scs
u
u
v^Hv
w\w
x^Mx
YyyY
zZZz


TEST_2:
3 more lines[?12l[?25h[?25l:[?12l[?25h$put =substitute('A', 'A', '&&', '')
[?25l
AA[?12l[?25h[?25l
:[?12l[?25h$put =substitute('B', 'B', '\&', '')
[?25l
&[?12l[?25h[?25l
:[?12l[?25h$put =substitute('C123456789', 'C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)

', '\0\9\8\7\6\5\4\3\2\1', '')
[?25lKk
l^Ml
mm
nn
op^Hp
q       q
r\rscs
uv^Hv
w\wx^Mx
YyyY
zZZzTEST_2:
AA&C123456789987654321[?12l[?25h[?25l
:[?12l[?25h$put =substitute('D', 'D', 'd', '')
[?25l
d[?12l[?25h[?25l
:[?12l[?25h$put =substitute('E', 'E', '~', '')
[?25l
~[?12l[?25h[?25l
:[?12l[?25h$put =substitute('F', 'F', '\~', '')
[?25l
~[?12l[?25h[?25l
:[?12l[?25h$put =substitute('G', 'G', '\ugg', '')
[?25l
Gg[?12l[?25h[?25l
:[?12l[?25h$put =substitute('H', 'H', '\Uh\Eh', '')
[?25l
Hh[?12l[?25h[?25l
:[?12l[?25h$put =substitute('I', 'I', '\lII', '')
[?25l
iI[?12l[?25h[?25l
:[?12l[?25h$put =substitute('J', 'J', '\LJ\EJ', '')
[?25l
jJ[?12l[?25h[?25l
:[?12l[?25h$put =substitute('K', 'K', '\Uk\ek', '')
[?25l
Kk[?12l[?25h[?25l
:[?12l[?25h$put =substitute('lLl', 'L', '^^M', '')
[?25l
l^Ml[?12l[?25h[?25l
:[?12l[?25h$put =substitute('mMm', 'M', '\r', '')
[?25l
m^Mm[?12l[?25h[?25l
:[?12l[?25h$put =substitute('nNn', 'N', '\^^M', '')
[?25l
n^Mn[?12l[?25h[?25l
:[?12l[?25h$put =substitute('oOo', 'O', '\n', '')
[?25lo
o[?12l[?25h[?25l
:[?12l[?25h$put =substitute('pPp', 'P', '\b', '')
[?25l
p^Hp[?12l[?25h[?25l
:[?12l[?25h$put =substitute('qQq', 'Q', '\t', '')
[?25l
qq[?12l[?25h[?25l
:[?12l[?25h$put =substitute('rRr', 'R', '\\', '')
[?25l
r\r[?12l[?25h[?25l
:[?12l[?25h$put =substitute('sSs', 'S', '\c', '')
[?25l
scs[?12l[?25h[?25l
:[?12l[?25h$put =substitute('tTt', 'T', \"\r\", '')
[?25l
t^Mt[?12l[?25h[?25l
:[?12l[?25h$put =substitute('uUu', 'U', \"\n\", '')
[?25lu
u[?12l[?25h[?25l
:[?12l[?25h$put =substitute('vVv', 'V', \"\b\", '')
[?25l
v^Hv[?12l[?25h[?25l
:[?12l[?25h$put =substitute('wWw', 'W', \"\\\", '')
[?25l
w\w[?12l[?25h[?25l
:[?12l[?25h$put =substitute('X', 'X', '\L\uxXx\l\EX', '')
[?25l
XxxX[?12l[?25h[?25l
:[?12l[?25h$put =substitute('Y', 'Y', '\U\lYyY\u\Ey', '')
[?25l
yYYy[?12l[?25h[?25l
/[?12l[?25h^TEST_3
[?25lsearch hit BOTTOM, continuing at TOP:$put =substitute('rRr', 'R', '\\', '')
:$put =substitute('sSs', 'S', '\c', '')
:$put =substitute('tTt', 'T', \"\r\", '')
:$put =substitute('uUu', 'U', \"\n\", '')
:$put =substitute('vVv', 'V', \"\b\", '')
:$put =substitute('wWw', 'W', \"\\\", '')
:$put =substitute('X', 'X', '\L\uxXx\l\EX', '')
:$put =substitute('Y', 'Y', '\U\lYyY\u\Ey', '')
/^TEST_3
ENDTEST

TEST_3:

STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_3:\"
:let y = substitute('aAa', 'A', '\="\\"', '')| $put =y
:let y = substitute('bBb', 'B', '\="\\\\"', '')| $put =y
:let y = substitute('cCc', 'C', '\="^V^M"', '')| $put =y
:let y = substitute('dDd', 'D', '\="\\^V^M"', '')| $put =y
:let y = substitute('eEe', 'E', '\="\\\\^V^M"', '')     | $put =y
:let y = substitute('fFf', 'F', '\="\\r"', '')| $put =y
search hit BOTTOM, continuing at TOP[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 642 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:let y = substitute('jJj', 'J', '\="\\n"', '')| $put =y
:let y = substitute('kKk', 'K', '\="\r"', '')| $put =y
:let y = substitute('lLl', 'L', '\="\n"', '')| $put =y
/^TEST_4
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic&
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l:[?12l[?25h$put =\"\n\nTEST_3:\"
[?25l3 more linesHh
iI
jJ
Kk
l^Ml
m^Mm
n^Mn
o
o
p^Hp
qq
r\r
scs
t^Mt
u
u
v^Hv
w\w
XxxX
yYYy


TEST_3:
3 more lines[?12l[?25h[?25l:[?12l[?25hlet y = substitute('aAa', 'A', '\="\\"', '')           | $put =y
[?25l
a\a[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('bBb', 'B', '\="\\\\"', '')         | $put =y
[?25l
b\\b[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('cCc', 'C', '\="^^M"', '')         | $put =y
[?25l
c^Mc[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('dDd', 'D', '\="\\^^M"', '')       | $put =y
[?25l
d\^Md[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('eEe', 'E', '\="\\\\^^M"', '')     | $put =y
[?25l
e\\^Me[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('fFf', 'F', '\="\\r"', '')          | $put =y
[?25l
f\rf[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('jJj', 'J', '\="\\n"', '')          | $put =y
[?25l
j\nj[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('kKk', 'K', '\="\r"', '')           | $put =y
[?25l
k^Mk[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('lLl', 'L', '\="\n"', '')           | $put =y
[?25ll
l[?12l[?25h[?25l
/[?12l[?25h^TEST_4
[?25lsearch hit BOTTOM, continuing at TOP:let y = substitute('bBb', 'B', '\="\\\\"', '')| $put =y
:let y = substitute('cCc', 'C', '\="^V^M"', '')| $put =y
:let y = substitute('dDd', 'D', '\="\\^V^M"', '')| $put =y
:let y = substitute('eEe', 'E', '\="\\\\^V^M"', '')     | $put =y
:let y = substitute('fFf', 'F', '\="\\r"', '')| $put =y
:let y = substitute('jJj', 'J', '\="\\n"', '')| $put =y
:let y = substitute('kKk', 'K', '\="\r"', '')| $put =y
:let y = substitute('lLl', 'L', '\="\n"', '')| $put =y
/^TEST_4
ENDTEST

TEST_4:

STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_4:\"
:let y = substitute('aAa', 'A', '\=substitute(submatch(0), ".", "\\", "")', '')        | $put =y
:let y = substitute('bBb', 'B', '\=substitute(submatch(0), ".", "\\\\", "")', ''')     | $put =y
:let y = substitute('cCc', 'C', '\=substitute(submatch(0), ".", "^V^M", "")', ''')     | $put =y
search hit BOTTOM, continuing at TOP[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 912 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:let y = substitute('dDd', 'D', '\=substitute(submatch(0), ".", "\\^V^M", "")',  '')   | $put =y
:let y = substitute('eEe', 'E', '\=substitute(submatch(0), ".", "\\\\^V^M", "")'', '') | $put =y
:let y = substitute('fFf', 'F', '\=substitute(submatch(0), ".", "\\r", "")', ''))      | $put =y
:let y = substitute('jJj', 'J', '\=substitute(submatch(0), ".", "\\n", "")', ''))      | $put =y
:let y = substitute('kKk', 'K', '\=substitute(submatch(0), ".", "\r", "")', '')        | $put =y
:let y = substitute('lLl', 'L', '\=substitute(submatch(0), ".", "\n", "")', '')        | $put =y
/^TEST_5
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic&
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l:[?12l[?25h$put =\"\n\nTEST_4:\"
[?25l3 more linest^Mt
u
u
v^Hv
w\w
XxxX
yYYy


TEST_3:
a\a
b\\b
c^Mc
d\^Md
e\\^Me
f\rf
j\nj
k^Mk
l
l


TEST_4:
3 more lines[?12l[?25h[?25l:[?12l[?25hlet y = substitute('aAa', 'A', '\=substitute(submatch(0), ".", "\\", "")', '')

      | $put =y
[?25lu

v^Hv
w\wXxxX
yYYyTEST_3:
a\ab\\b
c^Mc
d\^Md
e\\^Me
f\rfj\nj
k^Mk
lTEST_4:
a\a[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('bBb', 'B', '\=substitute(submatch(0), ".", "\\\\", "")', '

')     | $put =y
[?25lu
v^Hv
w\wXxxX
yYYyTEST_3:
a\ab\\b
c^Mc
d\^Md
e\\^Me
f\rfj\nj
k^Mk
lTEST_4:
a\ab\b[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('cCc', 'C', '\=substitute(submatch(0), ".", "^^M", "")', '')

    | $put =y
[?25lv^Hv
w\wXxxX
yYYyTEST_3:
a\ab\\b
c^Mc
d\^Md
e\\^Me
f\rfj\nj
k^Mk
lTEST_4:
a\ab\b
c^Mc[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('dDd', 'D', '\=substitute(submatch(0), ".", "\\^^M", "")', '

')   | $put =y
[?25lw\w
XxxX
yYYyTEST_3:
a\ab\\b
c^Mc
d\^Md
e\\^Me
f\rfj\nj
k^Mk
lTEST_4:
a\ab\b
c^Mc
dd[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('eEe', 'E', '\=substitute(submatch(0), ".", "\\\\^^M", "")',

'') | $put =y
[?25lXxxX
yYYyTEST_3:
a\ab\\b
c^Mc
d\^Md
e\\^Me
f\rfj\nj
k^Mk
lTEST_4:
a\ab\b
c^Mc
dd
e\^Me[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('fFf', 'F', '\=substitute(submatch(0), ".", "\\r", "")', ''

)      | $put =y
[?25lyYYyTEST_3:
a\ab\\b
c^Mc
d\^Md
e\\^Me
f\rfj\nj
k^Mk
lTEST_4:
a\ab\b
c^Mc
dd
e\^Me
f^Mf[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('jJj', 'J', '\=substitute(submatch(0), ".", "\\n", "")', ''

)      | $put =y
[?25lTEST_3:
a\a
b\\bc^Mc
d\^Md
e\\^Me
f\rfj\njk^Mk
llTEST_4:
a\a
b\bc^Mc
d^Md
e\^Me
ff
jj[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('kKk', 'K', '\=substitute(submatch(0), ".", "\r", "")', '')

      | $put =y
[?25lTEST_3:
a\ab\\b
c^Mc
d\^Md
e\\^Me
f\rfj\nj
k^Mk
lTEST_4:
a\ab\b
c^Mc
dd
e\^Me
f^Mfjk^Mk[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('lLl', 'L', '\=substitute(submatch(0), ".", "\n", "")', '')

      | $put =y
[?25lb\\b
c^Mc
d\^Md
e\\^Me
f\rfj\njk^Mk
llTEST_4:
a\a
b\bc^Mc
d^Md
e\^Me
ff
jjk^Mk
l
l[?12l[?25h[?25l
/[?12l[?25h^TEST_5
[?25lsearch hit BOTTOM, continuing at TOP:let y = substitute('jJj', 'J', '\=substitute(submatch(0), ".", "\\n", "")', ''))      | $put =y
:let y = substitute('kKk', 'K', '\=substitute(submatch(0), ".", "\r", "")', '')        | $put =y
:let y = substitute('lLl', 'L', '\=substitute(submatch(0), ".", "\n", "")', '')        | $put =y
/^TEST_5
ENDTEST

TEST_5:

STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_5:\"
:$put =substitute('A123456789', 'A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)'', '\=submatch(0) . submatch(9) . submatch(8) . submatch(7) . submatch(6) . submaatch(5) . submatch(4) . submatch(3) . submatch(2) . submatch(1)', '')
:$put =substitute('A123456789', 'A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)'', '\=string([submatch(0, 1), submatch(9, 1), submatch(8, 1), submatch(7, 1), subbmatch(6, 1), submatch(5, 1), submatch(4, 1), submatch(3, 1), submatch(2, 1), subbmatch(1, 1)])', '')
/^TEST_6
search hit BOTTOM, continuing at TOP[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 6 lines, 543 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTENDTEST[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic&
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l:[?12l[?25h$put =\"\n\nTEST_5:\"
[?25l3 more linese\\^Me
f\rf
j\nj
k^Mk
l
l


TEST_4:
a\a
b\b
c^Mc
d^Md
e\^Me
f^Mf
j
j
k^Mk
l
l


TEST_5:
3 more lines[?12l[?25h[?25l:[?12l[?25h$put =substitute('A123456789', 'A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)

', '\=submatch(0) . submatch(9) . submatch(8) . submatch(7) . submatch(6) . subm

atch(5) . submatch(4) . submatch(3) . submatch(2) . submatch(1)', '')
[?25lf\rf
j\nj
k^Mk
lTEST_4:
a\ab\b
c^Mc
dd
e\^Me
f^Mfjk^Mk
lTEST_5:
A123456789987654321[?12l[?25h[?25l
:[?12l[?25h$put =substitute('A123456789', 'A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)

', '\=string([submatch(0, 1), submatch(9, 1), submatch(8, 1), submatch(7, 1), su

bmatch(6, 1), submatch(5, 1), submatch(4, 1), submatch(3, 1), submatch(2, 1), su

bmatch(1, 1)])', '')
[?25lj\nj
k^Mk
lTEST_4:
a\ab\b
c^Mc
dd
e\^Me
f^Mfjk^Mk
lTEST_5:
A123456789987654321
[['A123456789'], ['9'], ['8'], ['7'], ['6'], ['5'], ['4'], ['3'], ['2'], ['1']][?12l[?25h[?25l
/[?12l[?25h^TEST_6
[?25lsearch hit BOTTOM, continuing at TOP:$put =\"\n\nTEST_5:\"
:$put =substitute('A123456789', 'A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)'', '\=submatch(0) . submatch(9) . submatch(8) . submatch(7) . submatch(6) . submaatch(5) . submatch(4) . submatch(3) . submatch(2) . submatch(1)', '')
:$put =substitute('A123456789', 'A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)'', '\=string([submatch(0, 1), submatch(9, 1), submatch(8, 1), submatch(7, 1), subbmatch(6, 1), submatch(5, 1), submatch(4, 1), submatch(3, 1), submatch(2, 1), subbmatch(1, 1)])', '')
/^TEST_6
ENDTEST

TEST_6:

STARTTEST
:set magic&
:$put =\"\n\nTEST_6:\"
:set cpo+=/
:$put =substitute('A', 'A', 'a', '')
:$put =substitute('B', 'B', '%', '')
:set cpo-=/
:$put =substitute('C', 'C', 'c', '')
:$put =substitute('D', 'D', '%', '')
/^TEST_7
search hit BOTTOM, continuing at TOP[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 9 lines, 216 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST
ENDTEST[?12l[?25h[?25lTEST_7:[?12l[?25h[?25l


:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic&
[?25l[?12l[?25h[?25l:[?12l[?25h$put =\"\n\nTEST_6:\"
[?25l3 more linesl


TEST_4:
a\a
b\b
c^Mc
d^Md
e\^Me
f^Mf
j
j
k^Mk
l
l


TEST_5:
A123456789987654321
[['A123456789'], ['9'], ['8'], ['7'], ['6'], ['5'], ['4'], ['3'], ['2'], ['1']]


TEST_6:
3 more lines[?12l[?25h[?25l:[?12l[?25hset cpo+=/
[?25l[?12l[?25h[?25l:[?12l[?25h$put =substitute('A', 'A', 'a', '')
[?25l
a[?12l[?25h[?25l
:[?12l[?25h$put =substitute('B', 'B', '%', '')
[?25l
%[?12l[?25h[?25l
:[?12l[?25hset cpo-=/
[?25l[?12l[?25h[?25l:[?12l[?25h$put =substitute('C', 'C', 'c', '')
[?25l
c[?12l[?25h[?25l
:[?12l[?25h$put =substitute('D', 'D', '%', '')
[?25l
%[?12l[?25h[?25l
/[?12l[?25h^TEST_7
[?25lsearch hit BOTTOM, continuing at TOP:set magic&
:$put =\"\n\nTEST_6:\"
:set cpo+=/
:$put =substitute('A', 'A', 'a', '')
:$put =substitute('B', 'B', '%', '')
:set cpo-=/
:$put =substitute('C', 'C', 'c', '')
:$put =substitute('D', 'D', '%', '')
/^TEST_7
ENDTEST

TEST_7:

STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_7:\"
:$put =substitute('A^V^MA', 'A.', '\=submatch(0)', '')
:$put =substitute(\"B\nB\", 'B.', '\=submatch(0)', '')
:$put =substitute(\"B\nB\", 'B.', '\=string(submatch(0, 1))', '')
:$put =substitute('-bb', '\zeb', 'a', 'g')
:$put =substitute('-bb', '\ze', 'c', 'g')
/^TEST_8
search hit BOTTOM, continuing at TOP[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 9 lines, 313 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic&
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l:[?12l[?25h$put =\"\n\nTEST_7:\"
[?25l3 more linesd^Md
e\^Me
f^Mf
j
j
k^Mk
l
l


TEST_5:
A123456789987654321
[['A123456789'], ['9'], ['8'], ['7'], ['6'], ['5'], ['4'], ['3'], ['2'], ['1']]


TEST_6:
a
%
c
%


TEST_7:
3 more lines[?12l[?25h[?25l:[?12l[?25h$put =substitute('A^^MA', 'A.', '\=submatch(0)', '')
[?25l
A^MA[?12l[?25h[?25l
:[?12l[?25h$put =substitute(\"B\nB\", 'B.', '\=submatch(0)', '')
[?25lB
B[?12l[?25h[?25l
:[?12l[?25h$put =substitute(\"B\nB\", 'B.', '\=string(submatch(0, 1))', '')
[?25l['B
']B[?12l[?25h[?25l
:[?12l[?25h$put =substitute('-bb', '\zeb', 'a', 'g')
[?25l
-abab[?12l[?25h[?25l
:[?12l[?25h$put =substitute('-bb', '\ze', 'c', 'g')
[?25l
c-cbcbc[?12l[?25h[?25l
/[?12l[?25h^TEST_8
[?25lsearch hit BOTTOM, continuing at TOP:set magic&
:set cpo&
:$put =\"\n\nTEST_7:\"
:$put =substitute('A^V^MA', 'A.', '\=submatch(0)', '')
:$put =substitute(\"B\nB\", 'B.', '\=submatch(0)', '')
:$put =substitute(\"B\nB\", 'B.', '\=string(submatch(0, 1))', '')
:$put =substitute('-bb', '\zeb', 'a', 'g')
:$put =substitute('-bb', '\ze', 'c', 'g')
/^TEST_8
ENDTEST

TEST_8:

STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_8:\"
:$put =',,X'
:s/\(^\|,\)\ze\(,\|X\)/\1N/g
:$put =',,Y'
:s/\(^\|,\)\ze\(,\|Y\)/\1N/gc
a:$put =',,Z'
:s/\(^\|,\)\ze\(,\|Z\)/\1N/gc
search hit BOTTOM, continuing at TOP[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 10 lines, 186 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTyy/^TEST_9:
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic&
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l:[?12l[?25h$put =\"\n\nTEST_8:\"
[?25l3 more linesTEST_5:
A123456789987654321
[['A123456789'], ['9'], ['8'], ['7'], ['6'], ['5'], ['4'], ['3'], ['2'], ['1']]


TEST_6:
a
%
c
%


TEST_7:
A^MA
B
B
['B
']B
-abab
c-cbcbc


TEST_8:
3 more lines[?12l[?25h[?25l:[?12l[?25h$put =',,X'
[?25l
,,X[?12l[?25h[?25l
:[?12l[?25hs/\(^\|,\)\ze\(,\|X\)/\1N/g
[?25lN,,NX
[?12l[?25h[?25l:[?12l[?25h$put =',,Y'
[?25l
,,Y[?12l[?25h[?25l
:[?12l[?25hs/\(^\|,\)\ze\(,\|Y\)/\1N/gc
[?25l,
replace with \1N (y/n/a/q/l/^E/^Y)?[?12l[?25h[?25lN,,NY
[?12l[?25h[?25l
:[?12l[?25h$put =',,Z'
[?25l
,,Z[?12l[?25h[?25l
:[?12l[?25hs/\(^\|,\)\ze\(,\|Z\)/\1N/gc
[?25l,
replace with \1N (y/n/a/q/l/^E/^Y)?[?12l[?25h[?25lN,,Z
replace with \1N (y/n/a/q/l/^E/^Y)?[?12l[?25h[?25l,NZ
[?12l[?25h[?25l
/[?12l[?25h^TEST_9:
[?25lsearch hit BOTTOM, continuing at TOP:set cpo&
:$put =\"\n\nTEST_8:\"
:$put =',,X'
:s/\(^\|,\)\ze\(,\|X\)/\1N/g
:$put =',,Y'
:s/\(^\|,\)\ze\(,\|Y\)/\1N/gc
a:$put =',,Z'
:s/\(^\|,\)\ze\(,\|Z\)/\1N/gc
yy/^TEST_9:
ENDTEST

TEST_9:

STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_9:\"
:$put ='xxx'
:s/x/X/gc
yyq/^TEST_10:
ENDTEST

TEST_10:
search hit BOTTOM, continuing at TOP[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 6 lines, 82 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic&
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l:[?12l[?25h$put =\"\n\nTEST_9:\"
[?25l3 more linesa
%
c
%


TEST_7:
A^MA
B
B
['B
']B
-abab
c-cbcbc


TEST_8:
N,,NX
N,,NY
N,,NZ


TEST_9:
3 more lines[?12l[?25h[?25l:[?12l[?25h$put ='xxx'
[?25l
xxx[?12l[?25h[?25l
:[?12l[?25hs/x/X/gc
[?25lx
replace with X (y/n/a/q/l/^E/^Y)?[?12l[?25h[?25lXx
replace with X (y/n/a/q/l/^E/^Y)?[?12l[?25h[?25lXx
replace with X (y/n/a/q/l/^E/^Y)?[?12l[?25h[?25lx[?12l[?25h[?25l
/[?12l[?25h^TEST_10:
[?25lsearch hit BOTTOM, continuing at TOPTEST_9:

STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_9:\"
:$put ='xxx'
:s/x/X/gc
yyq/^TEST_10:
ENDTEST

TEST_10:

STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_10:\"
:let y = substitute('123', '\zs', 'a', 'g')| $put =y
:let y = substitute('123', '\zs.', 'a', 'g')| $put =y
:let y = substitute('123', '.\zs', 'a', 'g')| $put =y
:let y = substitute('123', '\ze', 'a', 'g')| $put =y
:let y = substitute('123', '\ze.', 'a', 'g')| $put =y
:let y = substitute('123', '.\ze', 'a', 'g')| $put =y
search hit BOTTOM, continuing at TOP[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 12 lines, 584 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:let y = substitute('123', '1\|\ze', 'a', 'g')| $put =y
:let y = substitute('123', '1\zs\|[23]', 'a', 'g')      | $put =y
/^TEST_11
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset magic&
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo&
[?25l[?12l[?25h[?25l:[?12l[?25h$put =\"\n\nTEST_10:\"
[?25l3 more linesTEST_7:
A^MA
B
B
['B
']B
-abab
c-cbcbc


TEST_8:
N,,NX
N,,NY
N,,NZ


TEST_9:
XXx


TEST_10:
3 more lines[?12l[?25h[?25l:[?12l[?25hlet y = substitute('123', '\zs', 'a', 'g')             | $put =y
[?25l
a1a2a3a[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('123', '\zs.', 'a', 'g')            | $put =y
[?25l
aaa[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('123', '.\zs', 'a', 'g')            | $put =y
[?25l
1a2a3a[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('123', '\ze', 'a', 'g')             | $put =y
[?25l
a1a2a3a[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('123', '\ze.', 'a', 'g')            | $put =y
[?25l
a1a2a3[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('123', '.\ze', 'a', 'g')            | $put =y
[?25l
aaa[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('123', '1\|\ze', 'a', 'g')          | $put =y
[?25l
aa2a3a[?12l[?25h[?25l
:[?12l[?25hlet y = substitute('123', '1\zs\|[23]', 'a', 'g')      | $put =y
[?25l
1aaa[?12l[?25h[?25l
/[?12l[?25h^TEST_11
[?25lsearch hit BOTTOM, continuing at TOP:let y = substitute('123', '\zs', 'a', 'g')| $put =y
:let y = substitute('123', '\zs.', 'a', 'g')| $put =y
:let y = substitute('123', '.\zs', 'a', 'g')| $put =y
:let y = substitute('123', '\ze', 'a', 'g')| $put =y
:let y = substitute('123', '\ze.', 'a', 'g')| $put =y
:let y = substitute('123', '.\ze', 'a', 'g')| $put =y
:let y = substitute('123', '1\|\ze', 'a', 'g')| $put =y
:let y = substitute('123', '1\zs\|[23]', 'a', 'g')      | $put =y
/^TEST_11
ENDTEST

TEST_11:

STARTTEST
:/^Results/,$wq! test.out
ENDTEST

Results of test72:


TEST_1:
AA
&
search hit BOTTOM, continuing at TOP[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 1 line, 26 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h/^Results/,$wq! test.out
[?25l"test.out" [New File] 131 lines, 617 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test81.failed test.ok test.out X* viminfo
cp test81.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test81.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test81.in" 22 lines, 308 charactersTest for t movement command and 'cpo-;' setting

STARTTEST
:set nocompatible viminfo+=nviminfo
:set cpo-=;
/firstline/
j0tt;D
0fz;D
$Fy;D
$Ty;D:set cpo+=;
j0tt;;D
$Ty;;D:?firstline?+1,$w! test.out
:qa!
ENDTEST

firstline
aaa two three four
    zzz
yyy
bbb yee yoo four
ccc two three four
ddd yee yoo four
~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for t movement command and 'cpo-;' setting[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 10 lines, 143 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset nocompatible viminfo+=nviminfo
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo-=;
[?25l[?12l[?25h[?25l/[?12l[?25hfirstline/
[?25l[?12l[?25h
aaa two[?25l[?12l[?25h
    z[?25l[?12l[?25h
yyy  [?25l[?12l[?25h
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo+=;
[?25l[?12l[?25h
ccc 
ccc[?25l[?12l[?25h
dd[?25l[?12l[?25h[?25l:[?12l[?25h?firstline?+1,$w! test.out
[?25l"test.out" [New] 6L, 36C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test82.failed test.ok test.out X* viminfo
cp test82.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test82.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test82.in" 103 lines, 3165 charactersTests for case-insensitive UTF-8 comparisons (utf_strnicmp() in mbyte.c)
Also test "g~ap".

STARTTEST
:so small.vim
:if !has("multi_byte")
: e! test.ok
: w! test.out
: qa!
:endif
:set enc=utf8
ggdG
:
:function! Ch(a, op, b, expected)
:  if eval(printf('"%s" %s "%s"', a:a, a:op, a:b)) != a:expected
:    call append(line('$'), printf('"%s" %s "%s" should return %d', a:a, a:op, aa:b, a:expected))
:  else
:    let b:passed += 1
:  endif
:endfunction
:
:function! Chk(a, b, result)[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for case-insensitive UTF-8 comparisons (utf_strnicmp() in mbyte.c)[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 97 lines, 3054 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:call LT('\xc3', '\xc3\x83')
:call EQ('\xc3\xa3xYz', '\xc3\x83XyZ')
:for n in range(0x60, 0xFF) | call LT(printf('xYz\x%.2X', n-1), printf('XyZ\x%.22X', n)) | endfor
:for n in range(0x80, 0xBF) | call EQ(printf('xYz\xc2\x%.2XUvW', n), printf('XyZZ\xc2\x%.2XuVw', n)) | endfor
:for n in range(0xC0, 0xFF) | call LT(printf('xYz\xc2\x%.2XUvW', n), printf('XyZZ\xc2\x%.2XuVw', n)) | endfor
:call append(0, printf('%d checks passed', b:passed))
:"
:" test that g~ap changes one paragraph only.
:new
iabcd

defg^[gg0g~ap:let lns = getline(1,3)
:q!
:call append(line('$'), lns)
:"
:wq! test.out
ENDTEST

~                                                                               ~                                                                               [?12l[?25h
[?25l


:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif !has("multi_byte")
[?25l
:  [?12l[?25h: e! test.ok

[?25l:  [?12l[?25h: w! test.out

[?25l:  [?12l[?25h: qa!

[?25l:  [?12l[?25h:endif
[?25l:call LT('\xc3', '\xc3\x83')
:call EQ('\xc3\xa3xYz', '\xc3\x83XyZ')
:for n in range(0x60, 0xFF) | call LT(printf('xYz\x%.2X', n-1), printf('XyZ\x%.22X', n)) | endfor[?12l[?25h[?25l


:[?12l[?25hset enc=utf8
[?25l:call LT('\xc3', '\xc3\x83')
:call EQ('\xc3\xa3xYz', '\xc3\x83XyZ')
:for n in range(0x60, 0xFF) | call LT(printf('xYz\x%.2X', n-1), printf('XyZ\x%.22X', n)) | endfor
:for n in range(0x80, 0xBF) | call EQ(printf('xYz\xc2\x%.2XUvW', n), printf('XyZZ\xc2\x%.2XuVw', n)) | endfor
:for n in range(0xC0, 0xFF) | call LT(printf('xYz\xc2\x%.2XUvW', n), printf('XyZZ\xc2\x%.2XuVw', n)) | endfor
:call append(0, printf('%d checks passed', b:passed))
:"
:" test that g~ap changes one paragraph only.
:new
iabcd

defg^[gg0g~ap:let lns = getline(1,3)
:q!
:call append(line('$'), lns)
:"
:wq! test.out
ENDTEST

~                                                                               ~                                                                               [?12l[?25h[?25lTests for case-insensitive UTF-8 comparisons (utf_strnicmp() in mbyte.c)
Also test "g~ap".

STARTTEST
:so small.vim
:if !has("multi_byte")
: e! test.ok
: w! test.out
: qa!
:endif
:set enc=utf8
ggdG
:
:function! Ch(a, op, b, expected)
:  if eval(printf('"%s" %s "%s"', a:a, a:op, a:b)) != a:expected
:    call append(line('$'), printf('"%s" %s "%s" should return %d', a:a, a:op, aa:b, a:expected))
:  else
:    let b:passed += 1
:  endif
:endfunction
:
:function! Chk(a, b, result)[?12l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hfunction! Ch(a, op, b, expected)
[?25l
:  [?12l[?25h:  if eval(printf('"%s" %s "%s"', a:a, a:op, a:b)) != a:expected

[?25l:    [?12l[?25h:    call append(line('$'), printf('"%s" %s "%s" should return %d', a:a, a

:op, a:b, a:expected))

[?25l:    [?12l[?25h:  else

[?25l:    [?12l[?25h:    let b:passed += 1

[?25l:    [?12l[?25h:  endif

[?25l:  [?12l[?25h:endfunction
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hfunction! Chk(a, b, result)
[?25l
:  [?12l[?25h:  if a:result == 0

[?25l:    [?12l[?25h:    call Ch(a:a, '==?', a:b, 1)

[?25l:    [?12l[?25h:    call Ch(a:a, '!=?', a:b, 0)

[?25l:    [?12l[?25h:    call Ch(a:a, '<=?', a:b, 1)

[?25l:    [?12l[?25h:    call Ch(a:a, '>=?', a:b, 1)

[?25l:    [?12l[?25h:    call Ch(a:a, '<?', a:b, 0)

[?25l:    [?12l[?25h:    call Ch(a:a, '>?', a:b, 0)

[?25l:    [?12l[?25h:  elseif a:result > 0

[?25l:    [?12l[?25h:    call Ch(a:a, '==?', a:b, 0)

[?25l:    [?12l[?25h:    call Ch(a:a, '!=?', a:b, 1)

[?25l:    [?12l[?25h:    call Ch(a:a, '<=?', a:b, 0)

[?25l:    [?12l[?25h:    call Ch(a:a, '>=?', a:b, 1)

[?25l:    [?12l[?25h:    call Ch(a:a, '<?', a:b, 0)

[?25l:    [?12l[?25h:    call Ch(a:a, '>?', a:b, 1)

[?25l:    [?12l[?25h:  else

[?25l:    [?12l[?25h:    call Ch(a:a, '==?', a:b, 0)

[?25l:    [?12l[?25h:    call Ch(a:a, '!=?', a:b, 1)

[?25l:    [?12l[?25h:    call Ch(a:a, '<=?', a:b, 1)

[?25l:    [?12l[?25h:    call Ch(a:a, '>=?', a:b, 0)

[?25l:    [?12l[?25h:    call Ch(a:a, '<?', a:b, 1)

[?25l:    [?12l[?25h:    call Ch(a:a, '>?', a:b, 0)

[?25l:    [?12l[?25h:  endif

[?25l:  [?12l[?25h:endfunction
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hfunction! Check(a, b, result)
[?25l
:  [?12l[?25h:  call Chk(a:a, a:b, a:result)

[?25l:  [?12l[?25h:  call Chk(a:b, a:a, -a:result)

[?25l:  [?12l[?25h:endfunction
[?25l~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hfunction! LT(a, b)
[?25l
:  [?12l[?25h:  call Check(a:a, a:b, -1)

[?25l:  [?12l[?25h:endfunction
[?25l~                                                                               [?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hfunction! GT(a, b)
[?25l
:  [?12l[?25h:  call Check(a:a, a:b, 1)

[?25l:  [?12l[?25h:endfunction
[?25l~                                                                               [?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hfunction! EQ(a, b)
[?25l
:  [?12l[?25h:  call Check(a:a, a:b, 0)

[?25l:  [?12l[?25h:endfunction
[?25l~                                                                               [?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet b:passed=0
[?25l[?12l[?25h[?25l:[?12l[?25hcall EQ('', '')
[?25l[?12l[?25h[?25l:[?12l[?25hcall LT('', 'a')
[?25l[?12l[?25h[?25l:[?12l[?25hcall EQ('abc', 'abc')
[?25l[?12l[?25h[?25l:[?12l[?25hcall EQ('Abc', 'abC')
[?25l[?12l[?25h[?25l:[?12l[?25hcall LT('ab', 'abc')
[?25l[?12l[?25h[?25l:[?12l[?25hcall LT('AB', 'abc')
[?25l[?12l[?25h[?25l:[?12l[?25hcall LT('ab', 'aBc')
[?25l[?12l[?25h[?25l:[?12l[?25hcall EQ('\xd0\xb9\xd1\x86\xd1\x83\xd0\xba\xd0\xb5\xd0\xbd', '\xd0\xb9\xd0\xa6\

xd0\xa3\xd0\xba\xd0\x95\xd0\xbd')
[?25l[?12l[?25h[?25l:[?12l[?25hcall LT('\xd0\xb9\xd1\x86\xd1\x83\xd0\xba\xd0\xb5\xd0\xbd', '\xd0\xaf\xd1\x86\

xd1\x83\xd0\xba\xd0\xb5\xd0\xbd')
[?25l[?12l[?25h[?25l:[?12l[?25hcall EQ('\xe2\x84\xaa', 'k')
[?25l[?12l[?25h[?25l:[?12l[?25hcall LT('\xe2\x84\xaa', 'kkkkkk')
[?25l[?12l[?25h[?25l:[?12l[?25hcall EQ('\xe2\x84\xaa\xe2\x84\xaa\xe2\x84\xaa', 'kkk')
[?25l[?12l[?25h[?25l:[?12l[?25hcall LT('kk', '\xe2\x84\xaa\xe2\x84\xaa\xe2\x84\xaa')
[?25l[?12l[?25h[?25l:[?12l[?25hcall EQ('\xe2\x84\xaa\xe2\x84\xa6k\xe2\x84\xaak\xcf\x89', 'k\xcf\x89\xe2\x84\x

aakk\xe2\x84\xa6')
[?25l[?12l[?25h[?25l:[?12l[?25hcall EQ('Abc\x80', 'AbC\x80')
[?25l[?12l[?25h[?25l:[?12l[?25hcall LT('Abc\x80', 'AbC\x81')
[?25l[?12l[?25h[?25l:[?12l[?25hcall LT('Abc', 'AbC\x80')
[?25l[?12l[?25h[?25l:[?12l[?25hcall LT('abc\x80DEF', 'abc\x80def')  " case folding stops at the first bad cha

racter
[?25l[?12l[?25h[?25l:[?12l[?25hcall LT('\xc3XYZ', '\xc3xyz')
[?25l[?12l[?25h[?25l:[?12l[?25hcall EQ('\xef\xbc\xba', '\xef\xbd\x9a')  " FF3A (upper), FF5A (lower)
[?25l[?12l[?25h[?25l:[?12l[?25hcall GT('\xef\xbc\xba', '\xef\xbc\xff')  " first string is ok and equals \xef\

xbd\x9a after folding, second string is illegal and was left unchanged, then the

strings were bytewise compared
[?25l~                                                                               [?12l[?25h[?25l:[?12l[?25hcall LT('\xc3', '\xc3\x83')
[?25l[?12l[?25h[?25l:[?12l[?25hcall EQ('\xc3\xa3xYz', '\xc3\x83XyZ')
[?25l[?12l[?25h[?25l:[?12l[?25hfor n in range(0x60, 0xFF) | call LT(printf('xYz\x%.2X', n-1), printf('XyZ\x%.

2X', n)) | endfor
[?25l[?12l[?25h[?25l:[?12l[?25hfor n in range(0x80, 0xBF) | call EQ(printf('xYz\xc2\x%.2XUvW', n), printf('Xy

Z\xc2\x%.2XuVw', n)) | endfor
[?25l[?12l[?25h[?25l:[?12l[?25hfor n in range(0xC0, 0xFF) | call LT(printf('xYz\xc2\x%.2XUvW', n), printf('Xy

Z\xc2\x%.2XuVw', n)) | endfor
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(0, printf('%d checks passed', b:passed))
[?25l3732 checks passed[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" test that g~ap changes one paragraph only.
[?25l[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               [No Name]                                                                       3732 checks passedtest82.in [+]                                                                   [?12l[?25h[?25labcddefg[+][?12l[?25h[?25lABCD
[?12l[?25h[?25l:[?12l[?25hlet lns = getline(1,3)
[?25l[?12l[?25h[?25l:[?12l[?25hq!
[?25l3732 checks passed

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hcall append(line('$'), lns)
[?25lABCDdefg[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hwq! test.out
[?25l"test.out" [New File] 5 lines, 31 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test83.failed test.ok test.out X* viminfo
cp test83.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test83.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test83.in" 76 lines, 1265 charactersTests for tag search with !_TAG_FILE_ENCODING.

STARTTEST
:so mbyte.vim
:set enc=utf8
:if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"
: e! test.ok
: w! test.out
: qa!
:endif

:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt
:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt
:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt
:/^tags1$/+1,/^tags1-end$/-1w! Xtags1

ggdG

:call setline('.', 'Results of test83')

:" case1:
:new
:set tags=Xtags1[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for tag search with !_TAG_FILE_ENCODING.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 58 lines, 1013 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:tag abc50
:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'
: close
: put ='case3: failed'
:else
: close
: put ='case3: ok'
:endif
:close

:wq! test.out
ENDTEST

text for tags1
abcdefghijklmnopqrs

text for tags2
ABC

text for tags3
ABC

tags1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset enc=utf8
[?25l:tag abc50
:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'
: close
: put ='case3: failed'
:else
: close
: put ='case3: ok'
:endif
:close

:wq! test.out
ENDTEST

text for tags1
abcdefghijklmnopqrs

text for tags2
ABC

text for tags3
ABC

tags1[?12l[?25h[?25l:[?12l[?25hif !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"
[?25l
:  [?12l[?25h: e! test.ok

[?25l:  [?12l[?25h: w! test.out

[?25l:  [?12l[?25h: qa!

[?25l:  [?12l[?25h:endif
[?25l:tag abc50
:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'
: close
: put ='case3: failed'[?12l[?25h
[?25l:[?12l[?25h/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt
[?25lsearch hit BOTTOM, continuing at TOP"Xtags1.txt" [New File] 2 lines, 35 characters written[?12l[?25h[?25l:[?12l[?25h/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt
[?25l"Xtags2.txt" [New File] 2 lines, 25 characters written[?12l[?25h[?25l:[?12l[?25h/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt
[?25l"Xtags3.txt" [New File] 2 lines, 25 characters written[?12l[?25h[?25l:[?12l[?25h/^tags1$/+1,/^tags1-end$/-1w! Xtags1
[?25l"Xtags1" [New File] 2 lines, 81 characters written[?12l[?25h
[?25lTests for tag search with !_TAG_FILE_ENCODING.

STARTTEST
:so mbyte.vim
:set enc=utf8
:if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"
: e! test.ok
: w! test.out
: qa!
:endif

:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt
:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt
:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt
:/^tags1$/+1,/^tags1-end$/-1w! Xtags1

ggdG

:call setline('.', 'Results of test83')

:" case1:
:new
:set tags=Xtags1[?12l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?12l[?25h[?25l:[?12l[?25hcall setline('.', 'Results of test83')
[?25lResults of test83
[?12l[?25h[?25l:[?12l[?25h" case1:
[?25l[?12l[?25h[?25l:[?12l[?25hnew
[?25l[No Name]                                                                       Results of test83test83.in [+]                                                                   [?12l[?25h[?25l:[?12l[?25hset tags=Xtags1
[?25l[?12l[?25h[?25l:[?12l[?25hlet v:errmsg = ''
[?25l[?12l[?25h[?25l:[?12l[?25htag abcdefghijklmnopqrs
[?25l"Xtags1.txt" 2 lines, 35 characterstext for tags1
abcdefghijklmnopqrsXtags1.txt[?12l[?25h[?25l:[?12l[?25hif v:errmsg =~ 'E426:' || getline('.') != 'abcdefghijklmnopqrs'
[?25l
:  [?12l[?25h: close

[?25l:  [?12l[?25h: put ='case1: failed'

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: close

[?25l:  [?12l[?25h: put ='case1: ok'

[?25l:  [?12l[?25h:endif
[?25lResults of test83
case1: ok
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h" case2:
[?25l[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               [No Name]                                                                       Results of test83case1: oktest83.in [+]                                                                   [?12l[?25h[?25l:[?12l[?25hset tags=test83-tags2
[?25l[?12l[?25h[?25l:[?12l[?25hlet v:errmsg = ''
[?25l[?12l[?25h[?25l:[?12l[?25htag /.BC
[?25l"Xtags2.txt" 2 lines, 25 characterstext for tags2
ABCXtags2.txt[?12l[?25h[?25l:[?12l[?25hif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l
:  [?12l[?25h: close

[?25l:  [?12l[?25h: put ='case2: failed'

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: close

[?25l:  [?12l[?25h: put ='case2: ok'

[?25l:  [?12l[?25h:endif
[?25lResults of test83
case1: ok
case2: ok
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h" case3:
[?25l[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               [No Name]                                                                       case1: okcase2: oktest83.in [+]                                                                   [?12l[?25h[?25l:[?12l[?25hset tags=test83-tags3
[?25l[?12l[?25h[?25l:[?12l[?25hlet v:errmsg = ''
[?25l[?12l[?25h[?25l:[?12l[?25htag abc50
[?25l"Xtags3.txt" 2 lines, 25 characterstext for tags3
ABCXtags3.txt[?12l[?25h[?25l:[?12l[?25hif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l
:  [?12l[?25h: close

[?25l:  [?12l[?25h: put ='case3: failed'

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: close

[?25l:  [?12l[?25h: put ='case3: ok'

[?25l:  [?12l[?25h:endif
[?25lResults of test83
case1: ok
case2: ok
case3: ok
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hclose
[?25lE37: No write since last change (add ! to override)[?12l[?25h[?25l:[?12l[?25hwq! test.out
[?25l"test.out" [New File] 4 lines, 48 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test84.failed test.ok test.out X* viminfo
cp test84.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test84.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test84.in" 35 lines, 786 charactersTests for curswant not changing when setting an option

STARTTEST
:so small.vim
:/^start target options$/+1,/^end target options$/-1 yank
:let target_option_names = split(@0)
:function TestCurswant(option_name)
:  normal! ggf8j
:  let curswant_before = winsaveview().curswant
:  execute 'let' '&'.a:option_name '=' '&'.a:option_name
:  let curswant_after = winsaveview().curswant
:  return [a:option_name, curswant_before, curswant_after]
:endfunction
:
:new
:put =['1234567890', '12345']
:1 delete _
:let result = []
:for option_name in target_option_names
:  call add(result, TestCurswant(option_name))
:endfor
:
:new[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for curswant not changing when setting an option[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 25 lines, 637 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:put =map(copy(result), 'join(v:val, '' '')')
:1 delete _
:write test.out
:
:qall!
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h/^start target options$/+1,/^end target options$/-1 yank
[?25l3 lines yanked[?12l[?25h[?25l:[?12l[?25hlet target_option_names = split(@0)
[?25l[?12l[?25h[?25l:[?12l[?25hfunction TestCurswant(option_name)
[?25l
:  [?12l[?25h:  normal! ggf8j

[?25l:  [?12l[?25h:  let curswant_before = winsaveview().curswant

[?25l:  [?12l[?25h:  execute 'let' '&'.a:option_name '=' '&'.a:option_name

[?25l:  [?12l[?25h:  let curswant_after = winsaveview().curswant

[?25l:  [?12l[?25h:  return [a:option_name, curswant_before, curswant_after]

[?25l:  [?12l[?25h:endfunction
[?25l:  normal! ggf8j
:  let curswant_before = winsaveview().curswant
:  execute 'let' '&'.a:option_name '=' '&'.a:option_name
:  let curswant_after = winsaveview().curswant
:  return [a:option_name, curswant_before, curswant_after]
:endfunction[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       endfornew
:put =map(copy(result), 'join(v:val, '' '')')
:1 delete _write test.outqall!
ENDTESTtest84.in                                                                       [?12l[?25h[?25l:[?12l[?25hput =['1234567890', '12345']
[?25l123456789012345[+][?12l[?25h[?25l:[?12l[?25h1 delete _
[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hlet result = []
[?25l[?12l[?25h[?25l:[?12l[?25hfor option_name in target_option_names
[?25l
:  [?12l[?25h:  call add(result, TestCurswant(option_name))

[?25l:  [?12l[?25h:endfor
[?25l1234567890
12345[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       1234567890
12345
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   :1 delete _
:write test.out
:
:qall!
ENDTEST

test84.in                                                                       [?12l[?25h[?25l:[?12l[?25hput =map(copy(result), 'join(v:val, '' '')')
[?25l3 more linestabstop 7 4timeoutlen 7 7ttimeoutlen 7 7[+][?12l[?25h[?25l:[?12l[?25h1 delete _
[?25l
~                                                                               [?12l[?25h[?25l:[?12l[?25hwrite test.out
[?25l"test.out" [New File] 3 lines, 43 characters writtentest.out]      [?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hqall!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test85.failed test.ok test.out X* viminfo
cp test85.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test85.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test85.in" 85 lines, 1868 charactersTest for Lua interface and luaeval() function

STARTTEST
:so small.vim
:so lua.vim
:set nocompatible viminfo+=nviminfo
:lua l = vim.list():add"item0":add"dictionary with list OK":add"item2"
:lua h = vim.dict(); h.list = l
:call garbagecollect()
/^1
:" change buffer contents
:lua curbuf = vim.buffer()
:lua curline = vim.eval"line('.')"
:lua curbuf[curline] = "1 changed line 1"
:" scalar test
:let tmp_string = luaeval('"string"')
:let tmp_1000 = luaeval('1000')
:if printf("%s%.0f", tmp_string, tmp_1000) == "string1000"
:let scalar_res = "OK"
:else
:let scalar_res = "FAILED"
:endif
:call append(search("^1"), "scalar test " . scalar_res)[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for Lua interface and luaeval() function[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 77 lines, 1775 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:lua d = vim.eval("d")
:lua d[0] = 123
:lua d[1] = "abc"
:lua d[2] = vim.eval("[1, 2, 3]")
:lua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")
:lua d[4] = d[0]
:lua d[5] = d[1]
:lua d[6] = d[2]
:lua d[7] = d[3]
:lua d[3] = nil
:lua d[2] = nil
:lua d[1] = nil
:lua d[0] = nil
:lua d = nil
:$put =string(d)

:?^1?,$w! test.out
:qa!
ENDTEST

1 line 1
2 line 2
3 line 3[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hso lua.vim
[?25l"test.ok" 7 lines, 206 characters

"test.out" [New File] 7 lines, 206 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test86.failed test.ok test.out X* viminfo
cp test86.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test86.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test86.in" 1431 lines, 37992 charactersTests for various python features.     vim: set ft=vim :

NOTE: This will cause errors when run under valgrind.
This would require recompiling Python with:
  ./configure --without-pymalloc
See http://svn.python.org/view/python/trunk/Misc/README.valgrind?view=markup

STARTTEST
:so small.vim
:set encoding=latin1
:set noswapfile
:if !has('python') | e! test.ok | wq! test.out | endif
:lang C
:fun Test()
:py import vim
:let l = []
:py l=vim.bindeval('l')
:py f=vim.bindeval('function("strlen")')
:" Extending List directly with different types
:py l.extend([1, "as'd", [1, 2, f, {'a': 1}]])
:$put =string(l)
:$put =string(l[-1])
:try[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for various python features.     vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1420 lines, 37699 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:   endif
:   call Test()
:   if i == 0
:let result = getline(1, '$')
:   endif
:endfor
:if checkrefs
:   %d _
:   call setline(1, result)
:endif
:endfun
:"
:call RunTest()
:delfunction RunTest
:delfunction Test
:call garbagecollect(1)
:"
:/^start:/,$wq! test.out
:" vim: et ts=4 isk-=\:
:call getchar()
ENDTEST

start:[?12l[?25h
[?25l

:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset encoding=latin1
[?25l:   endif
:   call Test()
:   if i == 0
:let result = getline(1, '$')
:   endif
:endfor
:if checkrefs
:   %d _
:   call setline(1, result)
:endif
:endfun
:"
:call RunTest()
:delfunction RunTest
:delfunction Test
:call garbagecollect(1)
:"
:/^start:/,$wq! test.out
:" vim: et ts=4 isk-=\:
:call getchar()
ENDTEST

start:[?12l[?25h[?25l

:[?12l[?25hset noswapfile
[?25l[?12l[?25h[?25l:[?12l[?25hif !has('python') | e! test.ok | wq! test.out | endif
[?25l"test.ok" 1266 lines, 58913 characters

"test.out" [New File] 1266 lines, 58913 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test87.failed test.ok test.out X* viminfo
cp test87.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test87.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test87.in" 1408 lines, 37489 charactersTests for various python features.     vim: set ft=vim :

STARTTEST
:so small.vim
:set noswapfile
:if !has('python3') | e! test.ok | wq! test.out | endif
:lang C
:fun Test()
:py3 import vim
:let l = []
:py3 l=vim.bindeval('l')
:py3 f=vim.bindeval('function("strlen")')
:" Extending List directly with different types
:py3 l+=[1, "as'd", [1, 2, f, {'a': 1}]]
:$put =string(l)
:$put =string(l[-1])
:try
:  $put =string(l[-4])
:catch
:  $put =v:exception[:13]
:endtry
:" List assignment
:py3 l[0]=0[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for various python features.     vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1402 lines, 37405 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:   endif
:   call Test()
:   if i == 0
:let result = getline(1, '$')
:   endif
:endfor
:if checkrefs
:   %d _
:   call setline(1, result)
:endif
:endfun
:"
:call RunTest()
:delfunction RunTest
:delfunction Test
:call garbagecollect(1)
:"
:/^start:/,$wq! test.out
:" vim: et ts=4 isk-=\:
:call getchar()
ENDTEST

start:[?12l[?25h
[?25l

:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset noswapfile
[?25l[?12l[?25h[?25l:[?12l[?25hif !has('python3') | e! test.ok | wq! test.out | endif
[?25l"test.ok" 1266 lines, 69116 characters

"test.out" [New File] 1266 lines, 69116 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test88.failed test.ok test.out X* viminfo
cp test88.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test88.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test88.in" 88 lines, 1352 charactersvim: set ft=vim

Tests for correct display (cursor column position) with +conceal and
tabulators.

STARTTEST
:so small.vim
:if !has('conceal')
   e! test.ok
   wq! test.out
:endif
:" Conceal settings.
:set conceallevel=2
:set concealcursor=nc
:syntax match test /|/ conceal
:" Save current cursor position. Only works in <expr> mode, can't be used
:" with :normal because it moves the cursor to the command line. Thanks to ZyX
:" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.
:let positions = []
:nnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"
:" Start test.
/^start:
:normal ztj[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lvim: set ft=vim[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 71 lines, 1119 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTGGk
:normal W
GGk
:normal $
GGk
:set lbr
:normal $
GGk
:" Display result.
:call append('$', 'end:')
:call append('$', positions)
:/^end/,$wq! test.out
ENDTEST

start:
.concealed.     text
|concealed|     text.concealed.     text|concealed|     text

.a.     .b.     .c.     .d.
|a|     |b|     |c|     |d|[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif !has('conceal')
[?25l
:  [?12l[?25h   e! test.ok

[?25l:  [?12l[?25h   wq! test.out

[?25l:  [?12l[?25h:endif
[?25lGGk
:normal W
GGk[?12l[?25h[?25l:[?12l[?25h" Conceal settings.
[?25l[?12l[?25h[?25l:[?12l[?25hset conceallevel=2
[?25l[?12l[?25h[?25l:[?12l[?25hset concealcursor=nc
[?25l[?12l[?25h[?25l:[?12l[?25hsyntax match test /|/ conceal
[?25lconcealed  concealed  


a       b       c       d[?12l[?25h[?25l:[?12l[?25h" Save current cursor position. Only works in <expr> mode, can't be used
[?25l[?12l[?25h[?25l:[?12l[?25h" with :normal because it moves the cursor to the command line. Thanks to ZyX
[?25l[?12l[?25h[?25l:[?12l[?25h" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.
[?25l[?12l[?25h[?25l:[?12l[?25hlet positions = []
[?25l[?12l[?25h[?25l:[?12l[?25hnnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"
[?25l[?12l[?25h[?25l:[?12l[?25h" Start test.
[?25l[?12l[?25h[?25l/[?12l[?25h^start:
[?25l[?12l[?25h[?25l:[?12l[?25hnormal ztj
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:let positions += ['2:1']
[?12l[?25h[?25l:[?12l[?25h" We should end up in the same column when running these commands on the two
[?25l[?12l[?25h[?25l:[?12l[?25h" lines.
[?25l[?12l[?25h[?25l:[?12l[?25hnormal ft
[?25l[?12l[?25h[?25l:let positions += ['2:17']
[?12l[?25h[?25l:[?12l[?25hnormal $
[?25l[?12l[?25h[?25l:let positions += ['2:20']
[?12l[?25h[?25l:[?12l[?25hnormal 0j
[?25l[?12l[?25h[?25l:let positions += ['3:1']
[?12l[?25h[?25l:[?12l[?25hnormal ft
[?25l[?12l[?25h[?25l:let positions += ['3:17']
[?12l[?25h[?25l:[?12l[?25hnormal $
[?25l[?12l[?25h[?25l:let positions += ['3:20']
[?12l[?25h[?25l:[?12l[?25hnormal 0j0j
[?25l[?12l[?25h[?25l:let positions += ['5:8']
[?12l[?25h[?25l:[?12l[?25h" Same for next test block.
[?25l[?12l[?25h[?25l:[?12l[?25hnormal ft
[?25l[?12l[?25h[?25l:let positions += ['5:25']
[?12l[?25h[?25l:[?12l[?25hnormal $
[?25l[?12l[?25h[?25l:let positions += ['5:28']
[?12l[?25h[?25l:[?12l[?25hnormal 0j
[?25l[?12l[?25h[?25l:let positions += ['6:8']
[?12l[?25h[?25l:[?12l[?25hnormal ft
[?25l[?12l[?25h[?25l:let positions += ['6:25']
[?12l[?25h[?25l:[?12l[?25hnormal $
[?25l[?12l[?25h[?25l:let positions += ['6:28']
[?12l[?25h[?25l:[?12l[?25hnormal 0j0j
[?25l[?12l[?25h[?25l:let positions += ['8:1']
[?12l[?25h[?25l:[?12l[?25h" And check W with multiple tabs and conceals in a line.
[?25l[?12l[?25h[?25l:[?12l[?25hnormal W
[?25l[?12l[?25h[?25l:let positions += ['8:9']
[?12l[?25h[?25l:[?12l[?25hnormal W
[?25l[?12l[?25h[?25l:let positions += ['8:17']
[?12l[?25h[?25l:[?12l[?25hnormal W
[?25l[?12l[?25h[?25l:let positions += ['8:25']
[?12l[?25h[?25l:[?12l[?25hnormal $
[?25l[?12l[?25h[?25l:let positions += ['8:27']
[?12l[?25h[?25l:[?12l[?25hnormal 0j
[?25l[?12l[?25h[?25l:let positions += ['9:1']
[?12l[?25h[?25l:[?12l[?25hnormal W
[?25l[?12l[?25h[?25l:let positions += ['9:9']
[?12l[?25h[?25l:[?12l[?25hnormal W
[?25l[?12l[?25h[?25l:let positions += ['9:17']
[?12l[?25h[?25l:[?12l[?25hnormal W
[?25l[?12l[?25h[?25l:let positions += ['9:25']
[?12l[?25h[?25l:[?12l[?25hnormal $
[?25l[?12l[?25h[?25l:let positions += ['9:26']
[?12l[?25h[?25l:[?12l[?25hset lbr
[?25l[?12l[?25h[?25l:[?12l[?25hnormal $
[?25l[?12l[?25h[?25l:let positions += ['9:26']
[?12l[?25h[?25l:[?12l[?25h" Display result.
[?25l[?12l[?25h[?25l:[?12l[?25hcall append('$', 'end:')
[?25lend:[?12l[?25h[?25l:[?12l[?25hcall append('$', positions)
[?25l2:12:172:203:13:173:205:85:255:286:86:256:288:1[?12l[?25h[?25l:[?12l[?25h/^end/,$wq! test.out
[?25l"test.out" [New File] 24 lines, 112 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test89.failed test.ok test.out X* viminfo
cp test89.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test89.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test89.in" 71 lines, 1514 characters- Some tests for setting 'number' and 'relativenumber'
  This is not all that useful now that the options are no longer reset when
  setting the other.
- Some tests for findfile() function

STARTTEST
:so small.vim
:set hidden nocp nu rnu viminfo+=nviminfo
:redir @a | set nu? rnu? | redir END
:e! xx
:redir @b | set nu? rnu? | redir END
:e! #
:$put ='results:'
:$put a
:$put b
:"
:set nonu nornu
:setglobal nu
:setlocal rnu
:redir @c | setglobal nu? | redir END
:set nonu nornu
:setglobal rnu
:setlocal nu[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l- Some tests for setting 'number' and 'relativenumber'[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 63 lines, 1305 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:$put =':set MUST reset the other global value'
:$put g
:$put h
:"
:let cwd=getcwd()
:cd ..
:" Tests may be run from a shadow directory, so an extra cd needs to be done to
:" get above src/
:if fnamemodify(getcwd(), ':t') != 'src' | cd ../.. | else | cd .. | endif
:$put =''
:$put ='Testing findfile'
:$put =''
:set ssl
:$put =findfile('test19.in','src/test*')
:exe "cd" cwd
:cd ..
:$put =findfile('test19.in','test*')
:$put =findfile('test19.in','testdir')
:exe "cd" cwd
:/^results/,$w! test.out
:q!
ENDTEST
[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset hidden nocp nu rnu viminfo+=nviminfo
[?25l 21 :$put g 20 :$put h
 19 :" 18 :let cwd=getcwd()
 17 :cd .. 16 :" Tests may be run from a shadow directory, so an extra cd needs to be donee     to 15 :" get above src/
 14 :if fnamemodify(getcwd(), ':t') != 'src' | cd ../.. | else | cd .. | endif
 13 :$put =''
 12 :$put ='Testing findfile'
 11 :$put =''
 10 :set ssl
  9 :$put =findfile('test19.in','src/test*')
  8 :exe "cd" cwd
  7 :cd ..
  6 :$put =findfile('test19.in','test*')
  5 :$put =findfile('test19.in','testdir')
  4 :exe "cd" cwd
  3 :/^results/,$w! test.out
  2 :q!
  1 ENDTEST
71  [?12l[?25h[?25l:[?12l[?25hredir @a | set nu? rnu? | redir END
[?25l  number

  relativenumber

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25he! xx
[?25l"xx" [New File]1   
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hredir @b | set nu? rnu? | redir END
[?25l  number

  relativenumber

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25he! #
[?25l"test89.in" line 71 of 71 --100%-- col 1 21 :$put g
 20 :$put h
 19 :" 18 :let cwd=getcwd() 17 :cd .. 16 :" Tests may be run from a shadow directory, so an extra cd needs to be donee     to 15 :" get above src/ 14 :if fnamemodify(getcwd(), ':t') != 'src' | cd ../.. | else | cd .. | endif 13 :$put ='' 12 :$put ='Testing findfile' 11 :$put ='' 10 :set ssl  9 :$put =findfile('test19.in','src/test*')  8 :exe "cd" cwd  7 :cd ..  6 :$put =findfile('test19.in','test*')  5 :$put =findfile('test19.in','testdir')  4 :exe "cd" cwd  3 :/^results/,$w! test.out  2 :q!  1 ENDTEST71  "test89.in" line 71 of 71 --100%-- col 1[?12l[?25h[?25l:[?12l[?25h$put ='results:'
[?25l
1
 20
 19
 18
 17ee 
 16
 15
 14
 13
 12
 11
 10
  9
  8
  7
  6
  5
  4
  3
  2
  1
72  results:[?12l[?25h[?25l
:[?12l[?25h$put a
[?25l3 more lines21
 20ee 
 19
 18
 17
 16
 15
 14
 13
 12
 11
 10
  9
  8
  7
  6
  5
  4
  3
  2 
  1   number
75    relativenumber3 more lines[?12l[?25h[?25l:[?12l[?25h$put b
[?25l3 more lines22
 21
 20
 19
 18
 17
 16
 15
 14
 13
 12
 11
 10
  9
  8
  7
  6
  5
  4
  3
  2 
  1   number
78    relativenumber3 more lines[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hset nonu nornu
[?25l:" get above src/:if fnamemodify(getcwd(), ':t') != 'src' | cd ../.. | else | cd .. | endif:$put ='':$put ='Testing findfile':$put ='':set ssl:$put =findfile('test19.in','src/test*'):exe "cd" cwd:cd ..:$put =findfile('test19.in','test*'):$put =findfile('test19.in','testdir'):exe "cd" cwd:/^results/,$w! test.ou:q!ENDTESTresults:  number  relativenumber  number  relativenumber[?12l[?25h[?25l:[?12l[?25hsetglobal nu
[?25l[?12l[?25h[?25l:[?12l[?25hsetlocal rnu
[?25l 22 :" get above src/
 21 :if fnamemodify(getcwd(), ':t') != 'src' | cd ../.. | else | cd .. | endif
 20 :$put =''
 19 :$put ='Testing findfile'
 18 :$put =''
 17 :set ssl
 16 :$put =findfile('test19.in','src/test*')
 15 :exe "cd" cwd
 14 :cd ..
 13 :$put =findfile('test19.in','test*')
 12 :$put =findfile('test19.in','testdir')
 11 :exe "cd" cwd
 10 :/^results/,$w! test.out
  9 :q!
  8 ENDTEST
  7 
  6 results:
  5 
  4   number
  3   relativenumber
  2 
  1   number
  0   relativenumber[?12l[?25h[?25l:[?12l[?25hredir @c | setglobal nu? | redir END
[?25l  number[?12l[?25h[?25l:[?12l[?25hset nonu nornu
[?25l:" get above src/:if fnamemodify(getcwd(), ':t') != 'src' | cd ../.. | else | cd .. | endif:$put ='':$put ='Testing findfile':$put ='':set ssl:$put =findfile('test19.in','src/test*'):exe "cd" cwd:cd ..:$put =findfile('test19.in','test*'):$put =findfile('test19.in','testdir'):exe "cd" cwd:/^results/,$w! test.ou:q!ENDTESTresults:  number  relativenumber  number  relativenumber[?12l[?25h[?25l:[?12l[?25hsetglobal rnu
[?25l[?12l[?25h[?25l:[?12l[?25hsetlocal nu
[?25l 56 :" get above src/
 57 :if fnamemodify(getcwd(), ':t') != 'src' | cd ../.. | else | cd .. | endif
 58 :$put =''
 59 :$put ='Testing findfile'
 60 :$put =''
 61 :set ssl
 62 :$put =findfile('test19.in','src/test*')
 63 :exe "cd" cwd
 64 :cd ..
 65 :$put =findfile('test19.in','test*')
 66 :$put =findfile('test19.in','testdir')
 67 :exe "cd" cwd
 68 :/^results/,$w! test.out
 69 :q!
 70 ENDTEST
 71 
 72 results:
 73 
 74   number
 75   relativenumber
 76 
 77   number
 78   relativenumber[?12l[?25h[?25l:[?12l[?25hredir @d | setglobal rnu? | redir END
[?25l  relativenumber[?12l[?25h[?25l:[?12l[?25h$put =':setlocal must NOT reset the other global value'
[?25l
 79 :setlocal must NOT reset the other global value[?12l[?25h[?25l
:[?12l[?25h$put c
[?25l 80 
 81   number[?12l[?25h[?25l
:[?12l[?25h$put d
[?25l 82 
 83   relativenumber[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hset nonu nornu
[?25l:set ssl:$put =findfile('test19.in','src/test*'):exe "cd" cwd:cd ..:$put =findfile('test19.in','test*'):$put =findfile('test19.in','testdir'):exe "cd" cwd:/^results/,$w! test.ou:q!ENDTESTresults:  number  relativenumber  number  relativenumber:setlocal must NOT reset the other global value  number  relativenumber[?12l[?25h[?25l:[?12l[?25hsetglobal nu
[?25l[?12l[?25h[?25l:[?12l[?25hsetglobal rnu
[?25l[?12l[?25h[?25l:[?12l[?25hredir @e | setglobal nu? | redir END
[?25l  number[?12l[?25h[?25l:[?12l[?25hset nonu nornu
[?25l[?12l[?25h[?25l:[?12l[?25hsetglobal rnu
[?25l[?12l[?25h[?25l:[?12l[?25hsetglobal nu
[?25l[?12l[?25h[?25l:[?12l[?25hredir @f | setglobal rnu? | redir END
[?25l  relativenumber[?12l[?25h[?25l:[?12l[?25h$put =':setglobal MUST reset the other global value'
[?25l
:setglobal MUST reset the other global value[?12l[?25h[?25l
:[?12l[?25h$put e
[?25lnumber[?12l[?25h[?25l
:[?12l[?25h$put f
[?25lrelativenumber[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hset nonu nornu
[?25l[?12l[?25h[?25l:[?12l[?25hset nu
[?25l 66 :$put =findfile('test19.in','testdir')
 67 :exe "cd" cwd
 68 :/^results/,$w! test.out
 69 :q!
 70 ENDTEST
 71 
 72 results:
 73 
 74   number
 75   relativenumber
 76 
 77   number
 78   relativenumber
 79 :setlocal must NOT reset the other global value
 80 
 81   number
 82 
 83   relativenumber
 84 :setglobal MUST reset the other global value
 85 
 86   number
 87 
 88   relativenumber[?12l[?25h[?25l:[?12l[?25hset rnu
[?25l22
 21
 20
 1
 18
 17
 16
 15
 1
 13
 12
 11
 10
  
  8
  7
  6
  5
  
  3
  2
  1
88    [?12l[?25h[?25l:[?12l[?25hredir @g | setglobal nu? | redir END
[?25l  number[?12l[?25h[?25l:[?12l[?25hset nonu nornu
[?25l:$put =findfile('test19.in','testdir'):exe "cd" cwd:/^results/,$w! test.ou:q!ENDTESTresults:  number  relativenumber  number  relativenumber:setlocal must NOT reset the other global value  number  relativenumber:setglobal MUST reset the other global value  number  relativenumber[?12l[?25h[?25l:[?12l[?25hset rnu
[?25l 22 :$put =findfile('test19.in','testdir')
 21 :exe "cd" cwd
 20 :/^results/,$w! test.out
 19 :q!
 18 ENDTEST
 17 
 16 results:
 15 
 14   number
 13   relativenumber
 12 
 11   number
 10   relativenumber
  9 :setlocal must NOT reset the other global value
  8 
  7   number
  6 
  5   relativenumber
  4 :setglobal MUST reset the other global value
  3 
  2   number
  1 
  0   relativenumber[?12l[?25h[?25l:[?12l[?25hset nu
[?25l88    [?12l[?25h[?25l:[?12l[?25hredir @h | setglobal rnu? | redir END
[?25l  relativenumber[?12l[?25h[?25l:[?12l[?25h$put =':set MUST reset the other global value'
[?25l
2
 21
 20
 19
 18
 17
 16
 15
 14
 13
 12
 11
 10
  9
  8
  7
  6
  5
  4
  3
  2
  1
89  :set MUST reset the other global value[?12l[?25h[?25l
:[?12l[?25h$put g
[?25l2
 21
 20
 19
 18
 17
 16
 15
 14
 13
 12
 11
 10
  9
  8
  7
  6
  5
  4
  3
  2
  1 
91    number[?12l[?25h[?25l
:[?12l[?25h$put h
[?25l2
 21
 20
 19
 18
 17
 16
 15
 14
 13
 12
 11
 10
  9
  8
  7
  6
  5
  4
  3
  2
  1 
93    relativenumber[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hlet cwd=getcwd()
[?25l[?12l[?25h[?25l:[?12l[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-basic[?12l[?25h[?25l:[?12l[?25h" Tests may be run from a shadow directory, so an extra cd needs to be done to
[?25l[?12l[?25h[?25l:[?12l[?25h" get above src/
[?25l[?12l[?25h[?25l:[?12l[?25hif fnamemodify(getcwd(), ':t') != 'src' | cd ../.. | else | cd .. | endif
[?25l/<<PKGBUILDDIR>>[?12l[?25h[?25l:[?12l[?25h$put =''
[?25l
2
 21
 20
 19
 18
 17
 16
 15
 14
 13
 12
 11
 10
  9
  8
  7
  6
  5
  4
  3
  2
  1
94  [?12l[?25h[?25l
:[?12l[?25h$put ='Testing findfile'
[?25l
2
 21
 20
 19
 18
 17
 16
 15
 14
 13
 12
 11
 10
  9
  8
  7
  6
  5
  4
  3
  2
  1
95  Testing findfile[?12l[?25h[?25l
:[?12l[?25h$put =''
[?25l
2
 21
 20
 19
 18
 17
 16
 15
 14
 13
 12
 11
 10
  9
  8
  7
  6
  5
  4
  3
  2
  1
96  [?12l[?25h[?25l
:[?12l[?25hset ssl
[?25l[?12l[?25h[?25l:[?12l[?25h$put =findfile('test19.in','src/test*')
[?25l
2
 21
 20
 19
 18
 17
 16
 15
 14
 13
 12
 11
 10
  9
  8
  7
  6
  5
  4
  3
  2
  1
97  src/testdir/test19.in[?12l[?25h[?25l
:[?12l[?25hexe "cd" cwd
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir[?12l[?25h[?25l:[?12l[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-basic[?12l[?25h[?25l:[?12l[?25h$put =findfile('test19.in','test*')
[?25l
2
 21
 20
 19
 18
 17
 16
 15
 14
 13
 12
 11
 10
  9
  8
  7
  6
  5
  4
  3
  2
  1
98  testdir/test19.in[?12l[?25h[?25l
:[?12l[?25h$put =findfile('test19.in','testdir')
[?25l
2
 21
 20
 19
 18
 17
 16
 15
 14
 13
 12
 11
 10
  9
  8
  7
  6
  5
  4
  3
  2
  1
99  testdir/test19.in[?12l[?25h[?25l
:[?12l[?25hexe "cd" cwd
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir[?12l[?25h[?25l:[?12l[?25h/^results/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New] 28L, 356C written[?12l[?25h[?25l:[?12l[?25hq!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test90.failed test.ok test.out X* viminfo
cp test90.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test90.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test90.in" 53 lines, 1203 charactersTests for sha256() function.    vim: set ft=vim et ts=2 sw=2 :

STARTTEST
:so small.vim
:if !has('cryptv') || !exists('*sha256')
   e! test.ok
   wq! test.out
:endif
:"
:let testcase='test for empty string: '
:if sha256("") ==# 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b78522b855'
: let res='ok'
:else
: let res='ng'
:endif
:$put =testcase.res
:"
:let testcase='test for 1 char: '
:if sha256("a") ==# 'ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afeee48bb'
: let res='ok'
:else[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for sha256() function.    vim: set ft=vim et ts=2 sw=2 :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 47 lines, 1113 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:"
:let testcase='test for contains meta char: '
:if sha256("foo\nbar") ==# '807eff6267f3f926a21d234f7b0cf867a86f47e07a532f15e8ccc39ed110ca776'
: let res='ok'
:else
: let res='ng'
:endif
:$put =testcase.res
:"
:let testcase='test for contains non-ascii char: '
:if sha256("\xde\xad\xbe\xef") ==# '5f78c33274e43fa9de5659265c1d917e25c03722dcb00b8d27db8d5feaa813953'
: let res='ok'
:else
: let res='ng'
:endif
:$put =testcase.res
"
:/^start:/,$wq! test.out
ENDTEST

start:[?12l[?25h
[?25l

:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif !has('cryptv') || !exists('*sha256')
[?25l
:  [?12l[?25h   e! test.ok

[?25l:  [?12l[?25h   wq! test.out

[?25l:  [?12l[?25h:endif
[?25l:"
:let testcase='test for contains meta char: '
:if sha256("foo\nbar") ==# '807eff6267f3f926a21d234f7b0cf867a86f47e07a532f15e8ccc3[?12l[?25h[?25l

:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hlet testcase='test for empty string: '
[?25l[?12l[?25h[?25l:[?12l[?25hif sha256("") ==# 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b785

2b855'
[?25l:  [?12l[?25h: let res='ok'

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: let res='ng'

[?25l:  [?12l[?25h:endif
[?25l:"
:let testcase='test for contains meta char: '
:if sha256("foo\nbar") ==# '807eff6267f3f926a21d234f7b0cf867a86f47e07a532f15e8ccc39ed110ca776'[?12l[?25h[?25l

:[?12l[?25h$put =testcase.res
[?25l
test for empty string: ok[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hlet testcase='test for 1 char: '
[?25l[?12l[?25h[?25l:[?12l[?25hif sha256("a") ==# 'ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785af

ee48bb'
[?25l:  [?12l[?25h: let res='ok'

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: let res='ng'

[?25l:  [?12l[?25h:endif
[?25l:let testcase='test for contains meta char: '
:if sha256("foo\nbar") ==# '807eff6267f3f926a21d234f7b0cf867a86f47e07a532f15e8ccc39ed110ca776'
: let res='ok'[?12l[?25h[?25l
:[?12l[?25h$put =testcase.res
[?25l
test for 1 char: ok[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hlet testcase='test for 3 chars: '
[?25l[?12l[?25h[?25l:[?12l[?25hif sha256("abc") ==# 'ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61

f20015ad'
[?25l:  [?12l[?25h: let res='ok'

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: let res='ng'

[?25l:  [?12l[?25h:endif
[?25l:if sha256("foo\nbar") ==# '807eff6267f3f926a21d234f7b0cf867a86f47e07a532f15e8ccc39ed110ca776'
: let res='ok'
:else[?12l[?25h[?25l
:[?12l[?25h$put =testcase.res
[?25ltest for 3 chars: ok
~                                                                               [?12l[?25h[?25l

:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hlet testcase='test for contains meta char: '
[?25l[?12l[?25h[?25l:[?12l[?25hif sha256("foo\nbar") ==# '807eff6267f3f926a21d234f7b0cf867a86f47e07a532f15e8c

c39ed110ca776'
[?25l:  [?12l[?25h: let res='ok'

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: let res='ng'

[?25l:  [?12l[?25h:endif
[?25l: let res='ok'
:else
: let res='ng'
:endif[?12l[?25h[?25l

:[?12l[?25h$put =testcase.res
[?25ltest for contains meta char: ok[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hlet testcase='test for contains non-ascii char: '
[?25l[?12l[?25h[?25l:[?12l[?25hif sha256("\xde\xad\xbe\xef") ==# '5f78c33274e43fa9de5659265c1d917e25c03722dcb

0b8d27db8d5feaa813953'
[?25l:  [?12l[?25h: let res='ok'

[?25l:  [?12l[?25h:else

[?25l:  [?12l[?25h: let res='ng'

[?25l:  [?12l[?25h:endif
[?25l: let res='ok'
:else
: let res='ng'
:endif[?12l[?25h[?25l
:[?12l[?25h$put =testcase.res
[?25l
test for contains non-ascii char: ok[?12l[?25h[?25l
:[?12l[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 6 lines, 143 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test91.failed test.ok test.out X* viminfo
cp test91.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test91.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test91.in" 112 lines, 3063 charactersTests for getbufvar(), getwinvar(), gettabvar() and gettabwinvar().
vim: set ft=vim :

STARTTEST
:so small.vim
:so mbyte.vim
:"
:" Test for getbufvar()
:" Use strings to test for memory leaks.
:let b:var_num = '1234'
:let def_num = '5678'
:$put =string(getbufvar(1, 'var_num'))
:$put =string(getbufvar(1, 'var_num', def_num))
:$put =string(getbufvar(1, ''))
:$put =string(getbufvar(1, '', def_num))
:unlet b:var_num
:$put =string(getbufvar(1, 'var_num', def_num))
:$put =string(getbufvar(1, ''))
:$put =string(getbufvar(1, '', def_num))
:$put =string(getbufvar(9, ''))
:$put =string(getbufvar(9, '', def_num))
:unlet def_num
:$put =string(getbufvar(1, '&autoindent'))[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for getbufvar(), getwinvar(), gettabvar() and gettabwinvar().[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 105 lines, 2950 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:$put =string(gettabwinvar(2, 3, 'var_dict', def_dict))
:$put =string(gettabwinvar(2, 3, ''))
:$put =string(gettabwinvar(2, 3, '', def_dict))
:tabnext
:3wincmd w
:unlet w:var_dict
:tabrewind
:$put =string(gettabwinvar(2, 3, 'var_dict', def_dict))
:$put =string(gettabwinvar(2, 3, ''))
:$put =string(gettabwinvar(2, 3, '', def_dict))
:$put =string(gettabwinvar(2, 9, ''))
:$put =string(gettabwinvar(2, 9, '', def_dict))
:$put =string(gettabwinvar(9, 3, ''))
:$put =string(gettabwinvar(9, 3, '', def_dict))
:unlet def_dict
:$put =string(gettabwinvar(2, 3, '&nux'))
:$put =string(gettabwinvar(2, 3, '&nux', 1))
:tabonly
:"
:/^start/,$wq! test.out
ENDTEST

start:[?12l[?25h
[?25l

:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test for getbufvar()
[?25l[?12l[?25h[?25l:[?12l[?25h" Use strings to test for memory leaks.
[?25l[?12l[?25h[?25l:[?12l[?25hlet b:var_num = '1234'
[?25l[?12l[?25h[?25l:[?12l[?25hlet def_num = '5678'
[?25l[?12l[?25h[?25l:[?12l[?25h$put =string(getbufvar(1, 'var_num'))
[?25l
'1234'[?12l[?25h[?25l
:[?12l[?25h$put =string(getbufvar(1, 'var_num', def_num))
[?25l
'1234'[?12l[?25h[?25l
:[?12l[?25h$put =string(getbufvar(1, ''))
[?25l
{'var_num': '1234'}[?12l[?25h[?25l
:[?12l[?25h$put =string(getbufvar(1, '', def_num))
[?25l
{'var_num': '1234'}[?12l[?25h[?25l
:[?12l[?25hunlet b:var_num
[?25l[?12l[?25h[?25l:[?12l[?25h$put =string(getbufvar(1, 'var_num', def_num))
[?25l
'5678'[?12l[?25h[?25l
:[?12l[?25h$put =string(getbufvar(1, ''))
[?25l
{}[?12l[?25h[?25l
:[?12l[?25h$put =string(getbufvar(1, '', def_num))
[?25l
{}[?12l[?25h[?25l
:[?12l[?25h$put =string(getbufvar(9, ''))
[?25l
''[?12l[?25h[?25l
:[?12l[?25h$put =string(getbufvar(9, '', def_num))
[?25l
'5678'[?12l[?25h[?25l
:[?12l[?25hunlet def_num
[?25l[?12l[?25h[?25l:[?12l[?25h$put =string(getbufvar(1, '&autoindent'))
[?25l
0[?12l[?25h[?25l
:[?12l[?25h$put =string(getbufvar(1, '&autoindent', 1))
[?25l
0[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Open new window with forced option values
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformats=unix,dos
[?25l[?12l[?25h[?25l:[?12l[?25hnew ++ff=dos ++bin ++enc=iso-8859-2
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       {'var_num': '1234'}

'5678'{}''
'5678'
0test91.in [+]                                                                   [?12l[?25h[?25l:[?12l[?25hlet otherff = getbufvar(bufnr('%'), '&fileformat')
[?25l[?12l[?25h[?25l:[?12l[?25hlet otherbin = getbufvar(bufnr('%'), '&bin')
[?25l[?12l[?25h[?25l:[?12l[?25hlet otherfenc = getbufvar(bufnr('%'), '&fenc')
[?25l[?12l[?25h[?25l:[?12l[?25hclose
[?25l:$put =string(gettabwinvar(2, 9, '', def_dict))
:$put =string(gettabwinvar(9, 3, '')):$put =string(gettabwinvar(9, 3, '', def_dict)):unlet def_dict:$put =string(gettabwinvar(2, 3, '&nux')):$put =string(gettabwinvar(2, 3, '&nux', 1)):tabonly:":/^start/,$wq! test.outENDTESTstart:'1234'{'var_num': '1234'}
'5678'

{}
'''5678'

0[?12l[?25h[?25l:[?12l[?25h$put =otherff
[?25l
dos[?12l[?25h[?25l
:[?12l[?25h$put =string(otherbin)
[?25l
1[?12l[?25h[?25l
:[?12l[?25h$put =otherfenc
[?25l
iso-8859-2[?12l[?25h[?25l
:[?12l[?25hunlet otherff otherbin otherfenc
[?25l[?12l[?25h[?25l:[?12l[?25h" test for getwinvar()
[?25l[?12l[?25h[?25l:[?12l[?25hlet w:var_str = "Dance"
[?25l[?12l[?25h[?25l:[?12l[?25hlet def_str = "Chance"
[?25l[?12l[?25h[?25l:[?12l[?25h$put =string(getwinvar(1, 'var_str'))
[?25l
'Dance'[?12l[?25h[?25l
:[?12l[?25h$put =string(getwinvar(1, 'var_str', def_str))
[?25l
'Dance'[?12l[?25h[?25l
:[?12l[?25h$put =string(getwinvar(1, ''))
[?25l
{'var_str': 'Dance'}[?12l[?25h[?25l
:[?12l[?25h$put =string(getwinvar(1, '', def_str))
[?25l
{'var_str': 'Dance'}[?12l[?25h[?25l
:[?12l[?25hunlet w:var_str
[?25l[?12l[?25h[?25l:[?12l[?25h$put =string(getwinvar(1, 'var_str', def_str))
[?25l
'Chance'[?12l[?25h[?25l
:[?12l[?25h$put =string(getwinvar(1, ''))
[?25l
{}[?12l[?25h[?25l
:[?12l[?25h$put =string(getwinvar(1, '', def_str))
[?25l
{}[?12l[?25h[?25l
:[?12l[?25h$put =string(getwinvar(9, ''))
[?25l
''[?12l[?25h[?25l
:[?12l[?25h$put =string(getwinvar(9, '', def_str))
[?25l
'Chance'[?12l[?25h[?25l
:[?12l[?25h$put =string(getwinvar(1, '&nu'))
[?25l
0[?12l[?25h[?25l
:[?12l[?25h$put =string(getwinvar(1, '&nu',  1))
[?25l
0[?12l[?25h[?25l
:[?12l[?25hunlet def_str
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" test for gettabvar()
[?25l[?12l[?25h[?25l:[?12l[?25htabnew
[?25l + test91.in  [No Name]                                                         X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25htabnew
[?25l + test91.in  [No Name]  [No Name]                                              X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hlet t:var_list = [1, 2, 3]
[?25l[?12l[?25h[?25l:[?12l[?25hlet t:other = 777
[?25l[?12l[?25h[?25l:[?12l[?25hlet def_list = [4, 5, 6, 7]
[?25l[?12l[?25h[?25l:[?12l[?25htabrewind
[?25l + test91.in  [No Name]  [No Name]                                              X{'var_num': '1234'}
'5678'
{}
{}
''
'5678'
0
0
dos
1
iso-8859-2
'Dance'
'Dance'
{'var_str': 'Dance'}
{'var_str': 'Dance'}
'Chance'
{}
{}
''
'Chance'
0
0[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabvar(3, 'var_list'))
[?25l
[1, 2, 3][?12l[?25h[?25l
:[?12l[?25h$put =string(gettabvar(3, 'var_list', def_list))
[?25l
[1, 2, 3][?12l[?25h[?25l
:[?12l[?25h$put =string(gettabvar(3, ''))
[?25l
{'var_list': [1, 2, 3], 'other': 777}[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabvar(3, '', def_list))
[?25l
{'var_list': [1, 2, 3], 'other': 777}[?12l[?25h[?25l
:[?12l[?25htablast
[?25l + test91.in  [No Name]  [No Name]                                              X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hunlet t:var_list
[?25l[?12l[?25h[?25l:[?12l[?25htabrewind
[?25l + test91.in  [No Name]  [No Name]                                              X''
'5678'
0
0
dos
1
iso-8859-2
'Dance'
'Dance'
{'var_str': 'Dance'}
{'var_str': 'Dance'}
'Chance'
{}
{}
''
'Chance'
0
0
[1, 2, 3]
[1, 2, 3]
{'var_list': [1, 2, 3], 'other': 777}
{'var_list': [1, 2, 3], 'other': 777}
[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabvar(3, 'var_list', def_list))
[?25l
[4, 5, 6, 7][?12l[?25h[?25l
:[?12l[?25h$put =string(gettabvar(9, ''))
[?25l
''[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabvar(9, '', def_list))
[?25l
[4, 5, 6, 7][?12l[?25h[?25l
:[?12l[?25h$put =string(gettabvar(3, '&nu'))
[?25l
''[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabvar(3, '&nu', def_list))
[?25l
[4, 5, 6, 7][?12l[?25h[?25l
:[?12l[?25hunlet def_list
[?25l[?12l[?25h[?25l:[?12l[?25htabonly
[?25ldos[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" test for gettabwinvar()
[?25l[?12l[?25h[?25l:[?12l[?25htabnew
[?25l + test91.in  [No Name]                                                         X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25htabnew
[?25l + test91.in  [No Name]  [No Name]                                              X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25htabprev
[?25l + test91.in  [No Name]  [No Name]                                              X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hsplit
[?25l2N o[No Name]  [No Name]  X[No Name]                                                                       [No Name]                                                                       [?12l[?25h[?25l:[?12l[?25hsplit
[?25l + test91.in  3 [No Name]  [No Name]                                            X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?12l[?25h[?25l:[?12l[?25hwincmd w
[?25l[No Name]                                                                        [No Name]                                                                        X[?12l[?25h[?25l:[?12l[?25hvert split
[?25l4  X||||||~~~~~[No Name]                              [?12l[?25h[?25l:[?12l[?25hwincmd w
[?25l[No Name]                                 [No Name]                               X[?12l[?25h[?25l:[?12l[?25hlet w:var_dict = {'dict': 'tabwin'}
[?25l[?12l[?25h[?25l:[?12l[?25hlet def_dict = {'dict2': 'newval'}
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd b
[?25l[No Name]                               [No Name]                                                                        X[?12l[?25h[?25l:[?12l[?25htabrewind
[?25l + test91.in  4 [No Name]  [No Name]                                            X1
iso-8859-2
'Dance'
'Dance'
{'var_str': 'Dance'}
{'var_str': 'Dance'}
'Chance'
{}
{}
''
'Chance'
0
0
[1, 2, 3]
[1, 2, 3]
{'var_list': [1, 2, 3], 'other': 777}
{'var_list': [1, 2, 3], 'other': 777}
[4, 5, 6, 7]
''
[4, 5, 6, 7]
''
[4, 5, 6, 7]
[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabwinvar(2, 3, 'var_dict'))
[?25l
{'dict': 'tabwin'}[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabwinvar(2, 3, 'var_dict', def_dict))
[?25l
{'dict': 'tabwin'}[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabwinvar(2, 3, ''))
[?25l
{'var_dict': {'dict': 'tabwin'}}[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabwinvar(2, 3, '', def_dict))
[?25l
{'var_dict': {'dict': 'tabwin'}}[?12l[?25h[?25l
:[?12l[?25htabnext
[?25l + test91.in  4 [No Name]  [No Name]                                            X~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ||||||~                                       
~                                       
~                                       
~                                       
~                                       
[No Name]                                ~                                      ~                                      ~                                      ~                                      ~                                      [No Name]                              ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?12l[?25h[?25l:[?12l[?25h3wincmd w
[?25l[No Name]                              [No Name]                                                                         X[?12l[?25h[?25l:[?12l[?25hunlet w:var_dict
[?25l[?12l[?25h[?25l:[?12l[?25htabrewind
[?25l + test91.in  4 [No Name]  [No Name]                                            X{'var_str': 'Dance'}
{'var_str': 'Dance'}
'Chance'
{}
{}
''
'Chance'
0
0
[1, 2, 3]
[1, 2, 3]
{'var_list': [1, 2, 3], 'other': 777}
{'var_list': [1, 2, 3], 'other': 777}
[4, 5, 6, 7]
''
[4, 5, 6, 7]
''
[4, 5, 6, 7]
{'dict': 'tabwin'}
{'dict': 'tabwin'}
{'var_dict': {'dict': 'tabwin'}}
{'var_dict': {'dict': 'tabwin'}}
[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabwinvar(2, 3, 'var_dict', def_dict))
[?25l
{'dict2': 'newval'}[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabwinvar(2, 3, ''))
[?25l
{}[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabwinvar(2, 3, '', def_dict))
[?25l
{}[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabwinvar(2, 9, ''))
[?25l
''[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabwinvar(2, 9, '', def_dict))
[?25l
{'dict2': 'newval'}[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabwinvar(9, 3, ''))
[?25l
''[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabwinvar(9, 3, '', def_dict))
[?25l
{'dict2': 'newval'}[?12l[?25h[?25l
:[?12l[?25hunlet def_dict
[?25l[?12l[?25h[?25l:[?12l[?25h$put =string(gettabwinvar(2, 3, '&nux'))
[?25l
''[?12l[?25h[?25l
:[?12l[?25h$put =string(gettabwinvar(2, 3, '&nux', 1))
[?25l
1[?12l[?25h[?25l
:[?12l[?25htabonly
[?25l0[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h/^start/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 48 lines, 516 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test92.failed test.ok test.out X* viminfo
cp test92.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test92.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test92.in" 48 lines, 852 charactersvim: set ft=vim fenc=utf-8:

Tests if :mksession saves cursor columns correctly in presence of tab and
multibyte characters when fileencoding=utf-8.

STARTTEST
:so mbyte.vim
:if !has('mksession')
:  e! test.ok
:  wq! test.out
:endif
:set sessionoptions=buffers splitbelow fileencoding=utf-8
/^start:
:vsplit
j16|:split
j16|:split
j16|:split
j8|:split
j8|:split
j16|:split
j16|:split
j16|:wincmd l
/^start:[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lvim: set ft=vim fenc=utf-8:[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 31 lines, 467 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTj016|3zl:split
j016|3zl:split
j08|3zl:split
j08|3zl:split
j016|3zl:split
j016|3zl:split
j016|3zl:split
:mksession! test.out
:new test.out
:v/\(^ *normal! 0\|^ *exe 'normal!\)/d
:w! test.out
:qa!
ENDTEST

start:
no multibyte chAracterone leaDing tab
    four leadinG spaces
twoconsecutive tabs
two     tabs    in one line
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif !has('mksession')
[?25l
:  [?12l[?25h:  e! test.ok

[?25l:  [?12l[?25h:  wq! test.out

[?25l:  [?12l[?25h:endif
[?25lj016|3zl:split
j016|3zl:split
j08|3zl:split[?12l[?25h[?25l:[?12l[?25hset sessionoptions=buffers splitbelow fileencoding=utf-8
[?25l[?12l[?25h[?25l/[?12l[?25h^start:
[?25l[?12l[?25h[?25l:[?12l[?25hvsplit
[?25l|
j08|3zl:split ||
j016|3zl:split|||
:mksession! test.out|
:new test.out       |
:v/\(^ *normal! 0\|^ *exe 'normal!\)/d  |
:w! test.out                            |
:qa!        |
ENDTEST|
       |
start:|
no multibyte chAracter|
        one leaDing tab|
    four leadinG spaces|
two             consecutive tabs|tabs    in one line     |
[?25l:[?12l[?25hsplit
[?25l:v/\(^ *normal! 0\|^ *exe 'normal!\)/d
:w! test.out 
:qa!         
ENDTEST       
              
start:        
no multibyte chAracter
        one leaDing tab
    four leadinG spaces               
two             consecutive tabs
test92.in [+]                           
:new test.out
:v/\(^ *normal! 0\|^ *exe 'normal!\)/d
:w! test.out
:qa!                  
ENDTEST                
                       
start:                
no multibyte chAracter     
        one leaDing tab    
    four leadinG spaces               
two             consecutive tabs        [?12l[?25h[?25l:[?12l[?25hsplit
[?25l:qa!|
ENDTEST||
start:|
no multibyte chAracter|one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |
ENDTEST||
start:|
no multibyte chAracter|one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |
:w! test.out|
:qa!|
ENDTEST||
start:|
no multibyte chAracter|one leaDing tab|
ENDTEST                                 
                                        
start:                                  
no multibyte chAracter                  
        one leaDing tab                 
                                        
    four leadinG spaces[?12l[?25h[?25l

:[?12l[?25hsplit
[?25lENDTEST||
start:|
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |
ENDTEST||
start:|
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |
start:|
no multibyte chAracter|one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |
start:|
no multibyte chAracter|one leaDing tab|
    four leadinG spaces|
twoconsecutive tabs|

:[?12l[?25hsplit
[?25lENDTEST||
start:|
no multibyte chAracter|
test92.in [+]                           |
start:|
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |
start:|
no multibyte chAracter|one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |one leaDing tab|
    four leadinG spaces|
twoconsecutive tabs|
test92.in [+]                           |one leaDing tab|
    four leadinG spaces|
twoconsecutive tabs|
two     tabs    in one line|

:[?12l[?25hsplit
[?25l|
start:|
no multibyte chAracter|
test92.in [+]                           |
start:|
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |
no multibyte chAracter|one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |one leaDing tab|
    four leadinG spaces|
twoconsecutive tabs|
test92.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test92.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test92.in [+]                           |
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test92.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
two     tabs    in one line|
test92.in [+]                           |
two     tabs    in one line|
test92.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test92.in [+]                           |
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test92.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test92.in [+]                           |
two     tabs    in one line|
test92.in [+]                           |
test92.in [+]                           |

no multibyte chAracter|
test92.in [+]                           |
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test92.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test92.in [+]                           |
two     tabs    in one line|
test92.in [+]                           |
test92.in [+]                           |
test92.in [+]                            !TESTrt:multibyte chAracterone leaDing tabfour leadinG spacestest92.in [+]                          TESTrt:multibyte chAracterone leaDing tabfour leadinG spacestest92.in [+]                          test.out!TESTrt:multibyte chAracterone leaDing tabtest92.in [+]                          [?12l[?25h[?25l!                                      TEST                                                                          rt:                                    multibyte chAracter                         one leaDing tab                                                          four leadinG spaces[?12l[?25h[?25l:qa!ENDTESTstart:no multibyte chAracter   one leaDing tab   four leadinG spaces[?12l[?25h[?25l!TESrt:multibyte chAracterone leaDing tabfour leadinG spaces[?12l[?25h[?25l

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test92.in [+]                           |
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test92.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test92.in [+]                           |
two     tabs    in one line|
test92.in [+]                           |
test92.in [+]                           |
test92.in [+]                            TESTrt:multibyte chAracterone leaDing tabtest92.in [+]                          TESTrt:multibyte chAracterone leaDing tabtest92.in [+]                          rt:multibyte chAracterone leaDing tabfour leadinG spacestest92.in [+]                          rt:multibyte chAracterone leaDing tabfour leadinG spacesconsecutive tabstest92.in [+]                          [?12l[?25h[?25lstart:no multibyte chAracter   one leaDing tab   four leadinG spacestwo   consecutive tabs[?12l[?25h[?25lrt:multibyte chAracterone leaDing tabfour leadinG spaces   consecutive tabs[?12l[?25h[?25l

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test92.in [+]                           |
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test92.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test92.in [+]                           |
two     tabs    in one line|
test92.in [+]                           |
test92.in [+]                           |
test92.in [+]                            TESTrt:multibyte chAractertest92.in [+]                          rt:multibyte chAracterone leaDing tabtest92.in [+]                          rt:multibyte chAracterone leaDing tabfour leadinG spacestest92.in [+]                          one leaDing tabfour leadinG spacesconsecutive tabstest92.in [+]                          one leaDing tabfour leadinG spacesconsecutive tabstabs    in one linetest92.in [+]                          [?12l[?25h[?25l   one leaDing tab   four leadinG spacestwo   consecutive tabstwo     tabs    in one line[?12l[?25h[?25lone leaDing tabfour leadinG spaces   consecutive tabs     tabs    in one line[?12l[?25h[?25l

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test92.in [+]                           |
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test92.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test92.in [+]                           |
two     tabs    in one line|
test92.in [+]                           |
test92.in [+]                           |

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test92.in [+]                           |
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test92.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test92.in [+]                           |
two     tabs    in one line|
test92.in [+]                           |
test92.in [+]                           |

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test92.in [+]                           |
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test92.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test92.in [+]                           |
two     tabs    in one line|
test92.in [+]                           |
test92.in [+]                           |

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test92.in [+]                           |
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test92.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test92.in [+]                           |
two     tabs    in one line|
test92.in [+]                           |
test92.in [+]                           |

:[?12l[?25hmksession! test.out
[?25l[?12l[?25h[?25l:[?12l[?25hnew test.out
[?25l"test.out" 282 lines, 5850 charactersstart:|
no multibyte chAracter|
test92.in [+]                           |
no multibyte chAracter|one leaDing tab|
test92.in [+]                           |one leaDing tab|
    four leadinG spaces|
test92.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test92.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test92.in [+]                           |
two     tabs    in one line|
test92.in [+]                           |
test92.in [+]                           |

:[?12l[?25hv/\(^ *normal! 0\|^ *exe 'normal!\)/d
[?25l256 fewer lines  normal! 016|[+][?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" 26 lines, 611 characters written    [?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test93.failed test.ok test.out X* viminfo
cp test93.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test93.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test93.in" 48 lines, 843 charactersvim: set ft=vim fenc=latin1:

Tests if :mksession saves cursor columns correctly in presence of tab and
multibyte characters when fileencoding=latin1.

STARTTEST
:so mbyte.vim
:if !has('mksession')
:  e! test.ok
:  wq! test.out
:endif
:set sessionoptions=buffers splitbelow fileencoding=latin1
/^start:
:vsplit
j16|:split
j16|:split
j16|:split
j8|:split
j8|:split
j16|:split
j16|:split
j16|:wincmd l
/^start:[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lvim: set ft=vim fenc=latin1:[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 31 lines, 468 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTj016|3zl:split
j016|3zl:split
j08|3zl:split
j08|3zl:split
j016|3zl:split
j016|3zl:split
j016|3zl:split
:mksession! test.out
:new test.out
:v/\(^ *normal! 0\|^ *exe 'normal!\)/d
:w! test.out
:qa!
ENDTEST

start:
no multibyte chAracterone leaDing tab
    four leadinG spaces
twoconsecutive tabs
two     tabs    in one line
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif !has('mksession')
[?25l
:  [?12l[?25h:  e! test.ok

[?25l:  [?12l[?25h:  wq! test.out

[?25l:  [?12l[?25h:endif
[?25lj016|3zl:split
j016|3zl:split
j08|3zl:split[?12l[?25h[?25l:[?12l[?25hset sessionoptions=buffers splitbelow fileencoding=latin1
[?25l[?12l[?25h[?25l/[?12l[?25h^start:
[?25l[?12l[?25h[?25l:[?12l[?25hvsplit
[?25l|
j08|3zl:split ||
j016|3zl:split|||
:mksession! test.out|
:new test.out       |
:v/\(^ *normal! 0\|^ *exe 'normal!\)/d  |
:w! test.out                            |
:qa!        |
ENDTEST|
       |
start:|
no multibyte chAracter|
        one leaDing tab|
    four leadinG spaces|
two             consecutive tabs|tabs    in one line     |
[?25l:[?12l[?25hsplit
[?25l:v/\(^ *normal! 0\|^ *exe 'normal!\)/d
:w! test.out 
:qa!         
ENDTEST       
              
start:        
no multibyte chAracter
        one leaDing tab
    four leadinG spaces               
two             consecutive tabs
test93.in [+]                           
:new test.out
:v/\(^ *normal! 0\|^ *exe 'normal!\)/d
:w! test.out
:qa!                  
ENDTEST                
                       
start:                
no multibyte chAracter     
        one leaDing tab 
    four leadinG spaces       
two             consecutive tab[?12l[?25h[?25l:[?12l[?25hsplit
[?25l:qa!|
ENDTEST||
start:|
no multibyte chAracter|one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |
ENDTEST||
start:|
no multibyte chAracter|one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |
:w! test.out|
:qa!|
ENDTEST||
start:|
no multibyte chAracter|one leaDing tab|
ENDTEST                                 
                                        
start:                                  
no multibyte chAracter                  
        one leaDing tab                 
                                        
    four leadinG spaces[?12l[?25h[?25l

:[?12l[?25hsplit
[?25lENDTEST||
start:|
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |
ENDTEST||
start:|
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |
start:|
no multibyte chAracter|one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |
start:|
no multibyte chAracter|one leaDing tab|
    four leadinG spaces|
twoconsecutive tabs|

:[?12l[?25hsplit
[?25lENDTEST||
start:|
no multibyte chAracter|
test93.in [+]                           |
start:|
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |
start:|
no multibyte chAracter|one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |one leaDing tab|
    four leadinG spaces|
twoconsecutive tabs|
test93.in [+]                           |one leaDing tab|
    four leadinG spaces|
twoconsecutive tabs|
two     tabs    in one line|

:[?12l[?25hsplit
[?25l|
start:|
no multibyte chAracter|
test93.in [+]                           |
start:|
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |
no multibyte chAracter|one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |one leaDing tab|
    four leadinG spaces|
twoconsecutive tabs|
test93.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test93.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test93.in [+]                           |
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test93.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
two     tabs    in one line|
test93.in [+]                           |
two     tabs    in one line|
test93.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test93.in [+]                           |
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test93.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test93.in [+]                           |
two     tabs    in one line|
test93.in [+]                           |
test93.in [+]                           |

no multibyte chAracter|
test93.in [+]                           |
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test93.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test93.in [+]                           |
two     tabs    in one line|
test93.in [+]                           |
test93.in [+]                           |
test93.in [+]                            !TESTrt:multibyte chAracterone leaDing tabfour leadinG spacestest93.in [+]                          TESTrt:multibyte chAracterone leaDing tabfour leadinG spacestest93.in [+]                          test.out!TESTrt:multibyte chAracterone leaDing tabtest93.in [+]                          [?12l[?25h[?25l!                                      TEST                                                                          rt:                                    multibyte chAracter                         one leaDing tab                                                          four leadinG spaces[?12l[?25h[?25l:qa!ENDTESTstart:no multibyte chAracter   one leaDing tab   four leadinG spaces[?12l[?25h[?25l!TESrt:multibyte chAracterone leaDing tabfour leadinG spaces[?12l[?25h[?25l

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test93.in [+]                           |
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test93.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test93.in [+]                           |
two     tabs    in one line|
test93.in [+]                           |
test93.in [+]                           |
test93.in [+]                            TESTrt:multibyte chAracterone leaDing tabtest93.in [+]                          TESTrt:multibyte chAracterone leaDing tabtest93.in [+]                          rt:multibyte chAracterone leaDing tabfour leadinG spacestest93.in [+]                          rt:multibyte chAracterone leaDing tabfour leadinG spacesconsecutive tabstest93.in [+]                          [?12l[?25h[?25lstart:no multibyte chAracter   one leaDing tab   four leadinG spacestwo   consecutive tabs[?12l[?25h[?25lrt:multibyte chAracterone leaDing tabfour leadinG spaces   consecutive tabs[?12l[?25h[?25l

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test93.in [+]                           |
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test93.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test93.in [+]                           |
two     tabs    in one line|
test93.in [+]                           |
test93.in [+]                           |
test93.in [+]                            TESTrt:multibyte chAractertest93.in [+]                          rt:multibyte chAracterone leaDing tabtest93.in [+]                          rt:multibyte chAracterone leaDing tabfour leadinG spacestest93.in [+]                          one leaDing tabfour leadinG spacesconsecutive tabstest93.in [+]                          one leaDing tabfour leadinG spacesconsecutive tabstabs    in one linetest93.in [+]                          [?12l[?25h[?25l   one leaDing tab   four leadinG spacestwo   consecutive tabstwo     tabs    in one line[?12l[?25h[?25lone leaDing tabfour leadinG spaces   consecutive tabs     tabs    in one line[?12l[?25h[?25l

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test93.in [+]                           |
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test93.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test93.in [+]                           |
two     tabs    in one line|
test93.in [+]                           |
test93.in [+]                           |

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test93.in [+]                           |
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test93.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test93.in [+]                           |
two     tabs    in one line|
test93.in [+]                           |
test93.in [+]                           |

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test93.in [+]                           |
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test93.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test93.in [+]                           |
two     tabs    in one line|
test93.in [+]                           |
test93.in [+]                           |

:[?12l[?25hsplit
[?25lstart:|
no multibyte chAracter|
test93.in [+]                           |
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test93.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test93.in [+]                           |
two     tabs    in one line|
test93.in [+]                           |
test93.in [+]                           |

:[?12l[?25hmksession! test.out
[?25l[?12l[?25h[?25l:[?12l[?25hnew test.out
[?25l"test.out" 282 lines, 5850 charactersstart:|
no multibyte chAracter|
test93.in [+]                           |
no multibyte chAracter|one leaDing tab|
test93.in [+]                           |one leaDing tab|
    four leadinG spaces|
test93.in [+]                           |
    four leadinG spaces|
twoconsecutive tabs|
test93.in [+]                           |
twoconsecutive tabs|
two     tabs    in one line|
test93.in [+]                           |
two     tabs    in one line|
test93.in [+]                           |
test93.in [+]                           |

:[?12l[?25hv/\(^ *normal! 0\|^ *exe 'normal!\)/d
[?25l256 fewer lines  normal! 016|[+][?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" 26 lines, 611 characters written    [?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test94.failed test.ok test.out X* viminfo
cp test94.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test94.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test94.in" 95 lines, 2163 charactersTest for Visual mode and operators

Tests for the two kinds of operations: Those executed with Visual mode
followed by an operator and those executed via Operator-pending mode. Also
part of the test are mappings, counts, and repetition with the . command.

Test cases:
- Visual modes (v V CTRL-V) followed by an operator; count; repeating
- Visual mode maps; count; repeating
  - Simple
  - With an Ex command (custom text object)
- Operator-pending mode maps
  - Simple
  - With Ex command moving the cursor
  - With Ex command and Visual selection (custom text object)
- Patch 7.3.879: Properly abort Ex command in Operator-pending mode

STARTTEST
:so small.vim
:set nocp viminfo+=nviminfo
:
:" User functions
:function MoveToCap()[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for Visual mode and operators[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 50 lines, 1176 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/^Lemon
yiWPlciWNew^[fr.:
:
:" Patch 7.3.879: Properly abort Operator-pending mode for "dv:<Esc>" etc.
/^zzzz
dV:^Mdv:^M:set noma | let v:errmsg = ''
d:^M:set ma | put = v:errmsg =~# '^E21' ? 'ok' : 'failed'
dv:^[dV:^[:set noma | let v:errmsg = ''
d:^[:set ma | put = v:errmsg =~# '^E21' ? 'failed' : 'ok'
:/^start:/+2,$w! test.out
:q!
ENDTEST

start:

apple banana cherry

line 1 line 1
line 2 line 2
line 3 line 3
line 4 line 4
line 5 line 5
line 6 line 6[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nocp viminfo+=nviminfo
[?25l[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" User functions
[?25l[?12l[?25h[?25l:[?12l[?25hfunction MoveToCap()
[?25l
:  [?12l[?25h:  call search('\u', 'W')

[?25l:  [?12l[?25h:endfunction
[?25l/^Lemon
yiWPlciWNew^[fr.:[?12l[?25h[?25l:[?12l[?25hfunction SelectInCaps()
[?25l
:  [?12l[?25h:  let [line1, col1] = searchpos('\u', 'bcnW')

[?25l:  [?12l[?25h:  let [line2, col2] = searchpos('.\u', 'nW')

[?25l:  [?12l[?25h:  call setpos("'<", [0, line1, col1, 0])

[?25l:  [?12l[?25h:  call setpos("'>", [0, line2, col2, 0])

[?25l:  [?12l[?25h:  normal! gv

[?25l:  [?12l[?25h:endfunction
[?25l/^Lemon
yiWPlciWNew^[fr.:
:
:" Patch 7.3.879: Properly abort Operator-pending mode for "dv:<Esc>" etc.
/^zzzz
dV:^Mdv:^M:set noma | let v:errmsg = ''[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" Visual modes followed by operator
[?25l[?12l[?25h[?25l/[?12l[?25h^apple
[?25l[?12l[?25ha[?25l-- VISUAL --[?12l[?25h[?25lp[?12l[?25h[?25lle banana cherry[?12l[?25h[?25l banana cherry[?12l[?25h [?25lbanan-- VISUAL --[?12l[?25h[?25l
a  cherry[?12l[?25h[?25ly[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h^line 1
[?25l[?12l[?25h[?25lline 1 line 1 -- VISUAL LINE --[?12l[?25h[?25lINSERT --Nnewline[?12l[?25h[?25l-- INSERT --newline[?12l[?25h[?25l
line 3 line 3 
line 4 line 4 


-- VISUAL LINE --[?12l[?25h[?25lline 5 line 5line 6 line 6xxxxxxxxxxxxx[?12l[?25h[?25lxxxxxxxxxxxxx
xxxxxxxxxxxxx[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h^xxxx
[?25l[?12l[?25h[?25l


-- VISUAL BLOCK --[?12l[?25h[?25lx
[?12l[?25h[?25lx
x[?12l[?25h[?25lINSERT --O  
  [?12l[?25h [?25l


-- INSERT --  
    [?12l[?25h [?25l
xxxx
    xxxx
xxxxxxxx
xxxxxxxxxxxxx
-- VISUAL BLOCK --[?12l[?25h[?25l
-- INSERT --O----
    ----
xxxx----
xxxx----[?12l[?25h-[?25l-- INSERT ------------------[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" Visual mode maps (movement and text object)
[?25l[?12l[?25h[?25l:[?12l[?25hvnoremap W /\u/s-1<CR>
[?25l[?12l[?25h[?25l:[?12l[?25hvnoremap iW :<C-U>call SelectInCaps()<CR>
[?25l[?12l[?25h[?25l/[?12l[?25h^Kiwi
[?25lKiwiRaspberryDateWatermelonPeach[?12l[?25h[?25l
-- VISUAL --[?12l[?25h[?25l/\u/s-1
Kiw[?12l[?25h[?25l
-- INSERT --NoRaspberryDateWatermelonPeach[?12l[?25ho[?25l
-- INSERT --NoberryDateWatermelonPeach[?12l[?25hoberry[?25lDateWat
-- VISUAL --[?12l[?25h[?25lrmelonPeach[?12l[?25h[?25lach[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h^Jambu
[?25l
JambuRambutanBananaTangerineMango[?12l[?25hJa[?25l
-- VISUAL --[?12l[?25h[?25l:'<,'>call SelectInCaps()
Jamb[?12l[?25h[?25l
-- INSERT ---RambutanBananaTangerineMango[?12l[?25h-[?25l
-- INSERT ---tanBananaTangerineMango[?12l[?25h-[?25ltanBanana
-- VISUAL --[?12l[?25h[?25l
--angerineMango[?12l[?25ha[?25lgo[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" Operator-pending mode maps (movement and text object)
[?25l[?12l[?25h[?25l:[?12l[?25honoremap W /\u/<CR>
[?25l[?12l[?25h[?25l:[?12l[?25honoremap <Leader>W :<C-U>call MoveToCap()<CR>
[?25l[?12l[?25h[?25l:[?12l[?25honoremap iW :<C-U>call SelectInCaps()<CR>
[?25l[?12l[?25h[?25l/[?12l[?25h^Pineapple
[?25lPineappleQuinceLoganberryOrangeGrapefruitKiwiZ[?12l[?25h[?25l
/\u/
-QuinceLoganberryOrangeGrapefruitKiwiZ[?12l[?25h-[?25l
/\u/
-- INSERT ---LoganberryOrangeGrapefruitKiwiZ[?12l[?25h-[?25l
/\u/
-- INSERT ---GrapefruitKiwiZ[?12l[?25h-[?25l
/\u/
-- INSERT ---Z[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h^Juniper
[?25l
JuniperDurianZ[?12l[?25h[?25l
:call MoveToCap()
Whavcre
[?12l[?25h[?25l:call MoveToCap()
Qhevna[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h^Lemon
[?25l
LemonNectarineZ[?12l[?25h[?25l
:call SelectInCaps()
[?12l[?25h[?25lLemonLemonNectarineZ
Lemo[?12l[?25hn[?25l:call SelectInCaps()
NewNectarineZ[?12l[?25hwNecta[?25l
:call SelectInCaps()
wZ[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" Patch 7.3.879: Properly abort Operator-pending mode for "dv:<Esc>" etc.
[?25l[?12l[?25h[?25l/[?12l[?25h^zzzz
[?25lzzzz[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset noma | let v:errmsg = ''
[?25l[?12l[?25h[?25l:[?12l[?25h[?25lE21: Cannot make changes, 'modifiable' is off[?12l[?25h[?25l:[?12l[?25hset ma | put = v:errmsg =~# '^E21' ? 'ok' : 'failed'
[?25l
ok[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l
:[?12l[?25hset noma | let v:errmsg = ''
[?25l[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l
:[?12l[?25hset ma | put = v:errmsg =~# '^E21' ? 'failed' : 'ok'
[?25l
ok[?12l[?25h[?25l
:[?12l[?25h/^start:/+2,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New] 20L, 144C written[?12l[?25h[?25l:[?12l[?25hq!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test95.failed test.ok test.out X* viminfo
cp test95.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test95.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test95.in" 141 lines, 5816 charactersTest for regexp patterns with multi-byte support, using utf-8.
See test64 for the non-multi-byte tests.

A pattern that gives the expected result produces OK, so that we know it was
actually tried.

STARTTEST
:so small.vim
:so mbyte.vim
:set nocp encoding=utf-8 viminfo+=nviminfo nomore
:" tl is a List of Lists with:
:"    2: test auto/old/new  0: test auto/old  1: test auto/new
:"    regexp pattern
:"    text to test the pattern on
:"    expected match (optional)
:"    expected submatch 1 (optional)
:"    expected submatch 2 (optional)
:"    etc.
:"  When there is no match use only the first two items.
:let tl = []

:"""" Multi-byte character tests. These will fail unless vim is compiled
:"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for regexp patterns with multi-byte support, using utf-8.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 131 lines, 5579 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:endif
:      endfor
:      unlet i
:    endif
:  endfor
:endfor
:unlet t tl e l

:" check that 'ambiwidth' does not change the meaning of \p
:set regexpengine=1 ambiwidth=single
:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')
:set regexpengine=1 ambiwidth=double
:$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')
:set regexpengine=2 ambiwidth=single
:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')
:set regexpengine=2 ambiwidth=double
:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')

:/\%#=1^Results/,$wq! test.out
ENDTEST

Results of test95:
~                                                                               [?12l[?25h
[?25l


:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nocp encoding=utf-8 viminfo+=nviminfo nomore
[?25l:endif
:      endfor
:      unlet i
:    endif
:  endfor
:endfor
:unlet t tl e l

:" check that 'ambiwidth' does not change the meaning of \p
:set regexpengine=1 ambiwidth=single
:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')
:set regexpengine=1 ambiwidth=double
:$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')
:set regexpengine=2 ambiwidth=single
:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')
:set regexpengine=2 ambiwidth=double
:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')

:/\%#=1^Results/,$wq! test.out
ENDTEST

Results of test95:
~                                                                               [?12l[?25h[?25l


:[?12l[?25h" tl is a List of Lists with:
[?25l[?12l[?25h[?25l:[?12l[?25h"    2: test auto/old/new  0: test auto/old  1: test auto/new
[?25l[?12l[?25h[?25l:[?12l[?25h"    regexp pattern
[?25l[?12l[?25h[?25l:[?12l[?25h"    text to test the pattern on
[?25l[?12l[?25h[?25l:[?12l[?25h"    expected match (optional)
[?25l[?12l[?25h[?25l:[?12l[?25h"    expected submatch 1 (optional)
[?25l[?12l[?25h[?25l:[?12l[?25h"    expected submatch 2 (optional)
[?25l[?12l[?25h[?25l:[?12l[?25h"    etc.
[?25l[?12l[?25h[?25l:[?12l[?25h"  When there is no match use only the first two items.
[?25l[?12l[?25h[?25l:[?12l[?25hlet tl = []
[?25l[?12l[?25h
[?25l:[?12l[?25h"""" Multi-byte character tests. These will fail unless vim is compiled
[?25l[?12l[?25h[?25l:[?12l[?25h"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[[:alpha:][=a=]]\+', '879 aiaãâaiuvna ', 'aiaãâaiuvna'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[[=a=]]\+', 'ddaãâbcd', 'aãâ'])^I^I^I^I^I^I^I^I" equivalence

classes
[?25l:endif[?12l[?25h[?25l

:[?12l[?25hcall add(tl, [2, '[^ม ]\+', 'มม oijasoifjos ifjoisj f osij j มมมมม abcd', 'oij

asoifjos'])
[?25l:endif[?12l[?25h[?25l

:[?12l[?25hcall add(tl, [2, ' [^ ]\+', 'start มabcdม ', ' มabcdม'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[ม[:alpha:][=a=]]\+', '879 aiaãมâมaiuvna ', 'aiaãมâมaiuvna']

)[?25l:endif[?12l[?25h[?25l

:[?12l[?25h" this is not a normal "i" but 0xec
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\p\+', 'ìa', 'ìa'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\p*', 'aあ', 'aあ'])
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Test recognition of some character classes
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\i\+', '&*¨xx ', 'xx'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '\f\+', '&*<9f>fname ', 'fname'])
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Test composing character matching
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '.ม', 'xมม่x yมy', 'yม'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '.มม่', 'xมม่x yมy', 'xมม่'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "\u05b9", " x\u05b9 ", "x\u05b9"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, ".\u05b9", " x\u05b9 ", "x\u05b9"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, ".\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, ".\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, ".\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, ".\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [1, "\u05b9\u05bb", " y\u05b9 x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, ".\u05b9\u05bb", " y\u05bb x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "a", "ca\u0300t"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "ca", "ca\u0300t"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "a\u0300", "ca\u0300t", "a\u0300"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'a\%C', "ca\u0300t", "a\u0300"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'ca\%C', "ca\u0300t", "ca\u0300"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'ca\%Ct', "ca\u0300t", "ca\u0300t"])
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Test \Z
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'ú\Z', 'x'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'יהוה\Z', 'יהוה', 'יהוה'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'ייְהווָה\Z', 'יהוה', 'יהוה'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'יהוה\Z', 'ייְהווָה', 'ייְהווָה'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'ייְהווָה\Z', 'ייְהווָה', 'ייְהווָה'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, 'ייְ\Z', 'ווְייַ', 'ייַ'])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "ק\u200d\u05b9x\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "ק\u200d\u05b9x\\Z", "xק\u200dxy", "ק\u200dx"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "ק\u200dx\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "ק\u200dx\\Z", "xק\u200dxy", "ק\u200dx"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "\u05b9\\Z", "xyz"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "\\Z\u05b9", "xyz"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "\u05b9\\Z", "xy\u05b9z", "y\u05b9"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, "\\Z\u05b9", "xy\u05b9z", "y\u05b9"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [1, "\u05b9\\+\\Z", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [1, "\\Z\u05b9\\+", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Combining different tests and features
[?25l[?12l[?25h[?25l:[?12l[?25hcall add(tl, [2, '[^[=a=]]\+', 'ddaãâbcd', 'dd'])
[?25l[?12l[?25h[?25l:[?12l[?25h"""" Run the tests
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hfor t in tl
[?25l
:  [?12l[?25h:  let re = t[0]

[?25l:  [?12l[?25h:  let pat = t[1]

[?25l:  [?12l[?25h:  let text = t[2]

[?25l:  [?12l[?25h:  let matchidx = 3

[?25l:  [?12l[?25h:  for engine in [0, 1, 2]

[?25l:    [?12l[?25h:    if engine == 2 && re == 0 || engine == 1 && re == 1

[?25l:      [?12l[?25h:      continue

[?25l:      [?12l[?25h:    endif

[?25l:    [?12l[?25h:    let &regexpengine = engine

[?25l:    [?12l[?25h:    try

[?25l:      [?12l[?25h:      let l = matchlist(text, pat)

[?25l:      [?12l[?25h:    catch

[?25l:      [?12l[?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te

xt . '\", caused an exception: \"' . v:exception . '\"'

[?25l:      [?12l[?25h:    endtry

[?25l:    [?12l[?25h:" check the match itself

[?25l:    [?12l[?25h:    if len(l) == 0 && len(t) > matchidx

[?25l:      [?12l[?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te

xt . '\", did not match, expected: \"' . t[matchidx] . '\"'

[?25l:      [?12l[?25h:    elseif len(l) > 0 && len(t) == matchidx

[?25l:      [?12l[?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te

xt . '\", match: \"' . l[0] . '\", expected no match'

[?25l:      [?12l[?25h:    elseif len(t) > matchidx && l[0] != t[matchidx]

[?25l:      [?12l[?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te
t . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'

[?25l:      [?12l[?25h:    else

[?25l:      [?12l[?25h:      $put ='OK ' . engine . ' - ' . pat

[?25l:      [?12l[?25h:    endif

[?25l:    [?12l[?25h:    if len(l) > 0

[?25l:      [?12l[?25h:"   check all the nine submatches

[?25l:      [?12l[?25h:      for i in range(1, 9)

[?25l:[?12l[?25h:        if len(t) <= matchidx + i

[?25l:[?12l[?25h:          let e = ''

[?25l:[?12l[?25h:        else

[?25l:[?12l[?25h:          let e = t[matchidx + i]

[?25l:[?12l[?25h:        endif

[?25l:[?12l[?25h:        if l[i] != e

[?25l:[?12l[?25h:          $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: 
"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'

[?25l:[?12l[?25h:        endif

[?25l:[?12l[?25h:      endfor

[?25l:      [?12l[?25h:      unlet i

[?25l:      [?12l[?25h:    endif

[?25l:    [?12l[?25h:  endfor

[?25l:  [?12l[?25h:endfor
[?25lOK 2 - ק<200d>x\Z
OK 0 - ק<200d>x\Z
OK 1 - ק<200d>x\Z
OK 2 - ק<200d>x\Z
OK 0 - ֹ\Z
OK 1 - ֹ\Z
OK 2 - ֹ\Z
OK 0 - \Zֹ
OK 1 - \Zֹ
OK 2 - \Zֹ
OK 0 - ֹ\Z
OK 1 - ֹ\Z
OK 2 - ֹ\Z
OK 0 - \Zֹ
OK 1 - \Zֹ
OK 2 - \Zֹ
OK 0 - ֹ\+\Z
OK 2 - ֹ\+\Z
OK 0 - \Zֹ\+
OK 2 - \Zֹ\+
OK 0 - [^[=a=]]\+
OK 1 - [^[=a=]]\+
OK 2 - [^[=a=]]\+
[?12l[?25h[?25l
:[?12l[?25hunlet t tl e l
[?25l[?12l[?25h[?25l:[?12l[?25h" check that 'ambiwidth' does not change the meaning of \p
[?25l[?12l[?25h[?25l:[?12l[?25hset regexpengine=1 ambiwidth=single
[?25lOK 2 - ק<200d>x\Z
OK 0 - ק<200d>x\Z
OK 1 - ק<200d>x\Z
OK 2 - ק<200d>x\Z
OK 0 - ֹ\Z
OK 1 - ֹ\Z
OK 2 - ֹ\Z
OK 0 - \Zֹ
OK 1 - \Zֹ
OK 2 - \Zֹ
OK 0 - ֹ\Z
OK 1 - ֹ\Z
OK 2 - ֹ\Z
OK 0 - \Zֹ
OK 1 - \Zֹ
OK 2 - \Zֹ
OK 0 - ֹ\+\Z
OK 2 - ֹ\+\Z
OK 0 - \Zֹ\+
OK 2 - \Zֹ\+
OK 0 - [^[=a=]]\+
OK 1 - [^[=a=]]\+
OK 2 - [^[=a=]]\+
[?12l[?25h[?25l
:[?12l[?25h$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')
[?25l
eng 1 ambi single: 0[?12l[?25h[?25l
:[?12l[?25hset regexpengine=1 ambiwidth=double
[?25lOK 0 - ק<200d>x\Z
OK 1 - ק<200d>x\Z
OK 2 - ק<200d>x\Z
OK 0 - ֹ\Z
OK 1 - ֹ\Z
OK 2 - ֹ\Z
OK 0 - \Zֹ
OK 1 - \Zֹ
OK 2 - \Zֹ
OK 0 - ֹ\Z
OK 1 - ֹ\Z
OK 2 - ֹ\Z
OK 0 - \Zֹ
OK 1 - \Zֹ
OK 2 - \Zֹ
OK 0 - ֹ\+\Z
OK 2 - ֹ\+\Z
OK 0 - \Zֹ\+
OK 2 - \Zֹ\+
OK 0 - [^[=a=]]\+
OK 1 - [^[=a=]]\+
OK 2 - [^[=a=]]\+
eng 1 ambi single: 0
[?12l[?25h[?25l
:[?12l[?25h$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')
[?25l
eng 1 ambi double: 0[?12l[?25h[?25l
:[?12l[?25hset regexpengine=2 ambiwidth=single
[?25lOK 1 - ק<200d>x\Z
OK 2 - ק<200d>x\Z
OK 0 - ֹ\Z
OK 1 - ֹ\Z
OK 2 - ֹ\Z
OK 0 - \Zֹ
OK 1 - \Zֹ
OK 2 - \Zֹ
OK 0 - ֹ\Z
OK 1 - ֹ\Z
OK 2 - ֹ\Z
OK 0 - \Zֹ
OK 1 - \Zֹ
OK 2 - \Zֹ
OK 0 - ֹ\+\Z
OK 2 - ֹ\+\Z
OK 0 - \Zֹ\+
OK 2 - \Zֹ\+
OK 0 - [^[=a=]]\+
OK 1 - [^[=a=]]\+
OK 2 - [^[=a=]]\+
eng 1 ambi single: 0
eng 1 ambi double: 0
[?12l[?25h[?25l
:[?12l[?25h$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')
[?25l
eng 2 ambi single: 0[?12l[?25h[?25l
:[?12l[?25hset regexpengine=2 ambiwidth=double
[?25lOK 2 - ק<200d>x\Z
OK 0 - ֹ\Z
OK 1 - ֹ\Z
OK 2 - ֹ\Z
OK 0 - \Zֹ
OK 1 - \Zֹ
OK 2 - \Zֹ
OK 0 - ֹ\Z
OK 1 - ֹ\Z
OK 2 - ֹ\Z
OK 0 - \Zֹ
OK 1 - \Zֹ
OK 2 - \Zֹ
OK 0 - ֹ\+\Z
OK 2 - ֹ\+\Z
OK 0 - \Zֹ\+
OK 2 - \Zֹ\+
OK 0 - [^[=a=]]\+
OK 1 - [^[=a=]]\+
OK 2 - [^[=a=]]\+
eng 1 ambi single: 0
eng 1 ambi double: 0
eng 2 ambi single: 0
[?12l[?25h[?25l
:[?12l[?25h$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')
[?25l
eng 2 ambi double: 0[?12l[?25h[?25l
:[?12l[?25h/\%#=1^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New] 140L, 2022C written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test96.failed test.ok test.out X* viminfo
cp test96.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test96.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test96.in" 142 lines, 3330 charactersThis will test for problems in quickfix:
A. incorrectly copying location lists which caused the location list to show a
   different name than the file that was actually being displayed.
B. not reusing the window for which the location list window is opened but
   instead creating new windows.
C. make sure that the location list window is not reused instead of the window
   it belongs to.

Note: to debug a problem comment out the last ":b 1" in a test and testing will
stop at this point.

STARTTEST
:so small.vim
: enew
: w! test.out
: b 1
: " Set up the test environment:
: function! ReadTestProtocol(name)
:   let base = substitute(a:name, '\v^test://(.*)%(\.[^.]+)?', '\1', '')
:   let word = substitute(base, '\v(.*)\..*', '\1', '')
:
:   setl modifiable
:   setl noreadonly[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lThis will test for problems in quickfix:[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 39 lines, 1123 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST: let words = [ "foo", "bar", "baz", "quux", "shmoo", "spam", "eggs" ]
:
: let qflist = []
: for word in words
:   call add(qflist, {'filename': 'test://' . word . '.txt', 'text': 'file ' . wword . '.txt', })
:   " NOTE: problem 1:
:   " intentionally not setting 'lnum' so that the quickfix entries are not
:   " valid
:   call setloclist(0, qflist, ' ')
: endfor
ENDTEST

Test A:
STARTTEST
:lrewind
:enew
:lopen
:lnext
:lnext
:lnext
:lnext
:vert split[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h enew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h w! test.out
[?25l"test.out" [New File] 0 lines, 0 characters written[?12l[?25h[?25l:[?12l[?25h b 1
[?25l"test96.in" 142 lines, 3330 characters:
: let qflist = []: for word in words:   call add(qflist, {'filename': 'test://' . word . '.txt', 'text': 'file ' . wword . '.txt', }):   " NOTE: problem 1::   " intentionally not setting 'lnum' so that the quickfix entries are not:   " valid:   call setloclist(0, qflist, ' '): endforENDTESTTest A:STARTTEST:lrewind:enew:lopen:lnext:lnext:lnext:lnext:vert split:wincmd L[?12l[?25h[?25l:[?12l[?25h " Set up the test environment:
[?25l[?12l[?25h[?25l:[?12l[?25h function! ReadTestProtocol(name)
[?25l
:  [?12l[?25h:   let base = substitute(a:name, '\v^test://(.*)%(\.[^.]+)?', '\1', '')

[?25l:  [?12l[?25h:   let word = substitute(base, '\v(.*)\..*', '\1', '')

[?25l:  [?12l[?25h:

[?25l:  [?12l[?25h:   setl modifiable

[?25l:  [?12l[?25h:   setl noreadonly

[?25l:  [?12l[?25h:   setl noswapfile

[?25l:  [?12l[?25h:   setl bufhidden=delete

[?25l:  [?12l[?25h:   %del _

[?25l:  [?12l[?25h:   " For problem 2:

[?25l:  [?12l[?25h:   " 'buftype' has to be set to reproduce the constant opening of new windo

ws
[?25l:  [?12l[?25h:   setl buftype=nofile

[?25l:  [?12l[?25h:

[?25l:  [?12l[?25h:   call setline(1, word)

[?25l:  [?12l[?25h:

[?25l:  [?12l[?25h:   setl nomodified

[?25l:  [?12l[?25h:   setl nomodifiable

[?25l:  [?12l[?25h:   setl readonly

[?25l:  [?12l[?25h:   exe 'doautocmd BufRead ' . substitute(a:name, '\v^test://(.*)', '\1', ''

)
[?25l:  [?12l[?25h: endfunction
[?25l:
: let qflist = []
: for word in words
:   call add(qflist, {'filename': 'test://' . word . '.txt', 'text': 'file ' . wword . '.txt', })
:   " NOTE: problem 1:
:   " intentionally not setting 'lnum' so that the quickfix entries are not
:   " valid
:   call setloclist(0, qflist, ' ')
: endfor
ENDTEST

Test A:
STARTTEST
:lrewind
:enew
:lopen
:lnext
:lnext
:lnext
:lnext
:vert split
:wincmd L[?12l[?25h[?25l:[?12l[?25h augroup testgroup
[?25l[?12l[?25h[?25l:[?12l[?25h   au!
[?25l[?12l[?25h[?25l:[?12l[?25h   autocmd BufReadCmd test://* call ReadTestProtocol(expand("<amatch>"))
[?25l[?12l[?25h[?25l:[?12l[?25h augroup END
[?25l[?12l[?25h[?25l:[?12l[?25h let words = [ "foo", "bar", "baz", "quux", "shmoo", "spam", "eggs" ]
[?25l[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h let qflist = []
[?25l[?12l[?25h[?25l:[?12l[?25h for word in words
[?25l
:  [?12l[?25h:   call add(qflist, {'filename': 'test://' . word . '.txt', 'text': 'file '

. word . '.txt', })

[?25l:  [?12l[?25h:   " NOTE: problem 1:

[?25l:  [?12l[?25h:   " intentionally not setting 'lnum' so that the quickfix entries are not

[?25l:  [?12l[?25h:   " valid

[?25l:  [?12l[?25h:   call setloclist(0, qflist, ' ')

[?25l:  [?12l[?25h: endfor
[?25l:
: let qflist = []
: for word in words
:   call add(qflist, {'filename': 'test://' . word . '.txt', 'text': 'file ' . wword . '.txt', })
:   " NOTE: problem 1:
:   " intentionally not setting 'lnum' so that the quickfix entries are not[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 27 lines, 608 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:wincmd K
:b test.out
:let fileName = substitute(fileName, '\\', '/', 'g')
:let locationListFileName = substitute(locationListFileName, '\\', '/', 'g')
:call append(line('$'), "Test A:")
:call append(line('$'), "  - file name displayed: " . fileName)
:call append(line('$'), "  - quickfix claims that the file name displayed is: "  . locationListFileName)
:w
:wincmd o
:b 1
ENDTEST

Test B:
STARTTEST
:lrewind
:lopen
:2
:exe "normal \<CR>"
:wincmd p
:3
:exe "normal \<CR>"
:wincmd p[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hlrewind
[?25lNo matching autocommands

(1 of 7): file foo.txt

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25henew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hlopen
[?25l[No Name]                                                                       test://foo.txt|| file foo.txt                                                   test://bar.txt|| file bar.txttest://baz.txt|| file baz.txttest://quux.txt|| file quux.txttest://shmoo.txt|| file shmoo.txttest://spam.txt|| file spam.txttest://eggs.txt|| file eggs.txt[Location List]                                                                 [?12l[?25h[?25l:[?12l[?25hlnext
[?25lNo matching autocommandsbartest://bar.txt [RO]                                                             test://foo.txt|| file foo.txttest://bar.txt|| file bar.txt                                                   [Location List]                                                                  [?12l[?25h[?25l:[?12l[?25hlnext
[?25lNo matching autocommandszz.

test://bar.txt|| file bar.txttest://baz.txt|| file baz.txt                                                   [?12l[?25h[?25l:[?12l[?25hlnext
[?25lNo matching autocommandsquuxquux.txt [RO]


test://baz.txt|| file baz.txttest://quux.txt|| file quux.txt                                                 [?12l[?25h[?25l:[?12l[?25hlnext
[?25lNo matching autocommandsshmooshmoo.txt [RO]test://quux.txt|| file quux.txttest://shmoo.txt|| file shmoo.txt                                               [?12l[?25h[?25l:[?12l[?25hvert split
[?25l|||||||||||shmoo~~~~~~~~~~test://shmoo.txt [RO]                  [?12l[?25h[?25l:[?12l[?25hwincmd L
[?25l|||||||||||
test://shmoo.txt [RO]                   |||||||||||shmo~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~                                       ~                                       ~                                       ~                                       ~                                       ~                                       ~                                       ~                                       ~~~test://shmoo.txt [RO]                   [?12l[?25h[?25l:[?12l[?25hlopen
[?25ltest://shmoo.txt [RO]                   test://foo.txt|| file foo.txt           test://bar.txt|| file bar.txttest://baz.txt|| file baz.txttest://quux.txt|| file quux.txttest://shmoo.txt|| file shmoo.txttest://spam.txt|| file spam.txttest://eggs.txt|| file eggs.txt[Location List]t       [?12l[?25h[?25l:[?12l[?25hwincmd p
[?25ltest://shmoo.txt [RO]                   [Location List]                          [?12l[?25h[?25l:[?12l[?25hlnext
[?25lNo matching autocommandsbarbar.txt [RO]O   test://foo.txt|| file foo.txttest://bar.txt|| file bar.txt           [?12l[?25h[?25l:[?12l[?25h"b 1
[?25l[?12l[?25h[?25l:[?12l[?25hlet fileName = expand("%")
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd p
[?25ltest://bar.txt [RO]                      [Location List]                         [?12l[?25h[?25l:[?12l[?25hlet locationListFileName = substitute(getline(line('.')), '\([^|]*\)|.*', '\1'

, '')
[?25lshmoo|bar[?12l[?25h[?25l:[?12l[?25hwincmd n
[?25ltest://bar.txt [RO]                     [No Name]                               [Location List]                          [?12l[?25h[?25l:[?12l[?25hwincmd K
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       shmoo|
test://shmoo.txt [RO]                  |
test://foo.txt|| file foo.txt|
test://bar.txt|| file bar.txt|
test://baz.txt|| file baz.txt|
test://quux.txt|| file quux.txt|
test://shmoo.txt|| file shmoo.txt      |
test://spam.txt|| file spam.txt|
test://eggs.txt|| file eggs.txt||||||~                                      
~                                      
~                                      
~                                      
~                                      
[Location List]                         bartest://bar.txt [RO]                     test://foo.txt|| file foo.txttest://bar.txt|| file bar.txt           test://baz.txt|| file baz.txttest://quux.txt|| file quux.txttest://shmoo.txt|| file shmoo.txttest://spam.txt|| file spam.txttest://eggs.txt|| file eggs.txt~                                       ~                                       ~                                       ~                                       ~                                       [Location List]                         [?12l[?25h[?25l:[?12l[?25hb test.out
[?25l"test.out" 0 lines, 0 characterstest.out]  [?12l[?25h[?25l:[?12l[?25hlet fileName = substitute(fileName, '\\', '/', 'g')
[?25l[?12l[?25h[?25l:[?12l[?25hlet locationListFileName = substitute(locationListFileName, '\\', '/', 'g')
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), "Test A:")
[?25lTest A:[+][?12l[?25h[?25l:[?12l[?25hcall append(line('$'), "  - file name displayed: " . fileName)
[?25l  - file name displayed: test://bar.txt[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), "  - quickfix claims that the file name displayed is: "

. locationListFileName)
[?25l  - quickfix claims that the file name displayed is: test://bar.txt[?12l[?25h[?25l:[?12l[?25hw
[?25l"test.out" 4 lines, 117 characters written    [?12l[?25h[?25l:[?12l[?25hwincmd o
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                                              
~                                                                               [?12l[?25h[?25l:[?12l[?25hb 1
[?25l"test96.in" 142 lines, 3330 characters:b test.out
:let fileName = substitute(fileName, '\\', '/', 'g')
:let locationListFileName = substitute(locationListFileName, '\\', '/', 'g')
:call append(line('$'), "Test A:"):call append(line('$'), "  - file name displayed: " . fileName):call append(line('$'), "  - quickfix claims that the file name displayed is: "  . locationListFileName):w:wincmd o:b 1ENDTESTTest B:STARTTEST:lrewind:lopen:2:exe "normal \<CR>":wincmd p:3:exe "normal \<CR>":wincmd p:4[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 19 lines, 305 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:exe "normal \<CR>"
:let numberOfWindowsOpen = winnr('$')
:wincmd n
:wincmd K
:b test.out
:call append(line('$'), "Test B:")
:call append(line('$'), "  - number of window open: " . numberOfWindowsOpen)
:w
:wincmd o
:b 1
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hlrewind
[?25lNo matching autocommands

(1 of 7): file foo.txt

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hlopen
[?25lfoo
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               test://foo.txt [RO]                                                             test://foo.txt|| file foo.txt                                                   test://bar.txt|| file bar.txt
test://baz.txt|| file baz.txt
test://quux.txt|| file quux.txt
test://shmoo.txt|| file shmoo.txttest://spam.txt|| file spam.txttest://eggs.txt|| file eggs.txt
~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 [?12l[?25h[?25l:[?12l[?25h2
[?25l[?12l[?25h[?25l:[?12l[?25hexe "normal \<CR>"
[?25lNo matching autocommandsbartest://bar.txt [RO]                                                             test://foo.txt|| file foo.txttest://bar.txt|| file bar.txt                                                   [Location List]                                                                  [?12l[?25h[?25l:[?12l[?25hwincmd p
[?25ltest://bar.txt [RO]                                                              [Location List]                                                                 [?12l[?25h[?25l:[?12l[?25h3
[?25l[?12l[?25h[?25l:[?12l[?25hexe "normal \<CR>"
[?25lNo matching autocommandsztest://baz.txt [RO]                                                             test://bar.txt|| file bar.txttest://baz.txt|| file baz.txt                                                   [Location List]                                                                  [?12l[?25h[?25l:[?12l[?25hwincmd p
[?25ltest://baz.txt [RO]                                                              [Location List]                                                                 [?12l[?25h[?25l:[?12l[?25h4
[?25l[?12l[?25h[?25l:[?12l[?25hexe "normal \<CR>"
[?25lNo matching autocommandsquuxtest://quux.txt [RO]                                                            test://baz.txt|| file baz.txttest://quux.txt|| file quux.txt                                                 [Location List]                                                                  [?12l[?25h[?25l:[?12l[?25hlet numberOfWindowsOpen = winnr('$')
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd n
[?25l[No Name]                                                                       quuxtest://quux.txt [RO]                                                             [?12l[?25h[?25l:[?12l[?25hwincmd K
[?25l[?12l[?25h[?25l:[?12l[?25hb test.out
[?25l"test.out" 4 lines, 117 charactersTest A:  - file name displayed: test://bar.txt  - quickfix claims that the file name displayed is: test://bar.txttest.out]  [?12l[?25h[?25l:[?12l[?25hcall append(line('$'), "Test B:")
[?25lTest B:[+][?12l[?25h[?25l:[?12l[?25hcall append(line('$'), "  - number of window open: " . numberOfWindowsOpen)
[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"test.out" 6 lines, 154 characters written    [?12l[?25h[?25l:[?12l[?25hwincmd o
[?25l  - number of window open: 2~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hb 1
[?25l"test96.in" 142 lines, 3330 characters:exe "normal \<CR>"
:let numberOfWindowsOpen = winnr('$')
:wincmd n:wincmd K:b test.out
:call append(line('$'), "Test B:")
:call append(line('$'), "  - number of window open: " . numberOfWindowsOpen):w:wincmd o:b 1ENDTESTTest C:STARTTEST:lrewind:lopen:" Let's move the location list window to the top to check whether it (the first:" window found) will be reused when we try to open new windows::wincmd K:2:exe "normal \<CR>":wincmd p:3[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 27 lines, 677 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:4
:exe "normal \<CR>"
:1wincmd w
:let locationListWindowBufType = &buftype
:2wincmd w
:let bufferName = expand("%")
:wincmd n
:wincmd K
:b test.out
:let bufferName = substitute(bufferName, '\\', '/', 'g')
:call append(line('$'), "Test C:")
:call append(line('$'), "  - 'buftype' of the location list window: " . locationnListWindowBufType)
:call append(line('$'), "  - buffer displayed in the 2nd window: " . bufferName):w
:wincmd o
:b 1
ENDTEST

STARTTEST
:qa
ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hlrewind
[?25lNo matching autocommands

(1 of 7): file foo.txt

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hlopen
[?25lfoo
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               test://foo.txt [RO]                                                             test://foo.txt|| file foo.txt                                                   test://bar.txt|| file bar.txttest://baz.txt|| file baz.txt
test://quux.txt|| file quux.txt
test://shmoo.txt|| file shmoo.txt
test://spam.txt|| file spam.txt
test://eggs.txt|| file eggs.txt
~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 [?12l[?25h[?25l:[?12l[?25h" Let's move the location list window to the top to check whether it (the firs

t[?25lfoo[?12l[?25h[?25l:[?12l[?25h" window found) will be reused when we try to open new windows:
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd K
[?25ltest://foo.txt|| file foo.txt                                                   test://bar.txt|| file bar.txttest://baz.txt|| file baz.txttest://quux.txt|| file quux.txttest://shmoo.txt|| file shmoo.txttest://spam.txt|| file spam.txttest://eggs.txt|| file eggs.txt[Location List]                                                                 foo~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               test://foo.txt [RO]                                                             [?12l[?25h[?25l:[?12l[?25h2
[?25l[?12l[?25h[?25l:[?12l[?25hexe "normal \<CR>"
[?25lNo matching autocommandstest://foo.txt|| file foo.txttest://bar.txt|| file bar.txt                                                   [Location List]                                                                  bartest://bar.txt [RO]                                                             [?12l[?25h[?25l:[?12l[?25hwincmd p
[?25l[Location List]                                                                 test://bar.txt [RO]                                                              [?12l[?25h[?25l:[?12l[?25h3
[?25l[?12l[?25h[?25l:[?12l[?25hexe "normal \<CR>"
[?25lNo matching autocommandstest://bar.txt|| file bar.txttest://baz.txt|| file baz.txt                                                   [Location List]                                                                  ztest://baz.txt [RO]                                                             [?12l[?25h[?25l:[?12l[?25hwincmd p
[?25l[Location List]                                                                 test://baz.txt [RO]                                                              [?12l[?25h[?25l:[?12l[?25h4
[?25l[?12l[?25h[?25l:[?12l[?25hexe "normal \<CR>"
[?25lNo matching autocommandstest://baz.txt|| file baz.txttest://quux.txt|| file quux.txt                                                 [Location List]                                                                  quuxtest://quux.txt [RO]                                                            [?12l[?25h[?25l:[?12l[?25h1wincmd w
[?25l[Location List]                                                                 test://quux.txt [RO]                                                             [?12l[?25h[?25l:[?12l[?25hlet locationListWindowBufType = &buftype
[?25l[?12l[?25h[?25l:[?12l[?25h2wincmd w
[?25l[Location List]                                                                  test://quux.txt [RO]                                                            [?12l[?25h[?25l:[?12l[?25hlet bufferName = expand("%")
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd n
[?25l[No Name]                                                                       quuxtest://quux.txt [RO]                                                             [?12l[?25h[?25l:[?12l[?25hwincmd K
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       bar.txt|| file bar.txtest://baz.txt|| file baz.txttest://quux.txt|| file quux.txt                                                 test://shmoo.txt|| file shmoo.txttest://spam.txt|| file spam.txttest://eggs.txt|| file eggs.txt[Location List]                                                                 [?12l[?25h[?25l:[?12l[?25hb test.out
[?25l"test.out" 6 lines, 154 charactersTest A:  - file name displayed: test://bar.txt  - quickfix claims that the file name displayed is: test://bar.txtTest B:test.out]  [?12l[?25h[?25l:[?12l[?25hlet bufferName = substitute(bufferName, '\\', '/', 'g')
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), "Test C:")
[?25l[+][?12l[?25h[?25l:[?12l[?25hcall append(line('$'), "  - 'buftype' of the location list window: " . locatio

nListWindowBufType)
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), "  - buffer displayed in the 2nd window: " . bufferName

)[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"test.out" 9 lines, 270 characters written    [?12l[?25h[?25l:[?12l[?25hwincmd o
[?25lTest A:
  - file name displayed: test://bar.txt
  - quickfix claims that the file name displayed is: test://bar.txt
Test B:
  - number of window open: 2
Test C:
  - 'buftype' of the location list window: quickfix
  - buffer displayed in the 2nd window: test://quux.txt
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hb 1
[?25l"test96.in" 142 lines, 3330 characters:4
:exe "normal \<CR>"
:1wincmd w:let locationListWindowBufType = &buftype:2wincmd w
:let bufferName = expand("%")
:wincmd n
:wincmd K:b test.out:let bufferName = substitute(bufferName, '\\', '/', 'g'):call append(line('$'), "Test C:"):call append(line('$'), "  - 'buftype' of the location list window: " . locationnListWindowBufType):call append(line('$'), "  - buffer displayed in the 2nd window: " . bufferName):w:wincmd o:b 1ENDTESTSTARTTEST:qaENDTEST[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 1 line, 4 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l


/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hqa
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test97.failed test.ok test.out X* viminfo
cp test97.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test97.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test97.in" 23 lines, 483 charactersTest whether glob()/globpath() return correct results with certain escaped
characters.

STARTTEST
:so small.vim
:" make sure glob() doesn't use the shell
:set shell=doesnotexist
:" consistent sorting of file names
:set nofileignorecase
:e test.out
:$put =glob('Xxx\{')
:$put =glob('Xxx\$')
:w! Xxx{
:w! Xxx\$
:$put =glob('Xxx\{')
:$put =glob('Xxx\$')
:"
:$put =string(globpath('sautest/autoload', '*.vim'))
:$put =string(globpath('sautest/autoload', '*.vim', 0, 1))
:w
:qa!
ENDTEST[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest whether glob()/globpath() return correct results with certain escaped[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 376 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" make sure glob() doesn't use the shell
[?25l[?12l[?25h[?25l:[?12l[?25hset shell=doesnotexist
[?25l[?12l[?25h[?25l:[?12l[?25h" consistent sorting of file names
[?25l[?12l[?25h[?25l:[?12l[?25hset nofileignorecase
[?25l[?12l[?25h[?25l:[?12l[?25he test.out
[?25l"test.out" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h$put =glob('Xxx\{')
[?25l[?12l[?25h[?25l:[?12l[?25h$put =glob('Xxx\$')
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xxx{
[?25l
Cannot execute shell doesnotexist


E79: Cannot expand wildcards

"Xxx{" [New File] 3 lines, 3 characters written

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hw! Xxx\$
[?25l"Xxx$" [New File] 3 lines, 3 characters written

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h$put =glob('Xxx\{')
[?25lXxx{
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h$put =glob('Xxx\$')
[?25lXxx$[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h$put =string(globpath('sautest/autoload', '*.vim'))
[?25l'sautest/autoload/Test104.vimsautest/autoload/footest.vim'[?12l[?25h[?25l:[?12l[?25h$put =string(globpath('sautest/autoload', '*.vim', 0, 1))
[?25l['sautest/autoload/Test104.vim', 'sautest/autoload/footest.vim'][?12l[?25h[?25l:[?12l[?25hw
[?25l"test.out" [New File] 8 lines, 138 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test98.failed test.ok test.out X* viminfo
cp test98.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test98.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test98.in" 43 lines, 908 charactersTest for 'scrollbind' causing an unexpected scroll of one of the windows.
STARTTEST
:so small.vim
:" We don't want the status line to cause problems:
:set laststatus=0
:let g:totalLines = &lines * 20
:let middle = g:totalLines / 2
:wincmd n
:wincmd o
:for i in range(1, g:totalLines)
:    call setline(i, 'LINE ' . i)
:endfor
:exe string(middle)
:normal zt
:normal M
:aboveleft vert new
:for i in range(1, g:totalLines)
:    call setline(i, 'line ' . i)
:endfor
:exe string(middle)
:normal zt
:normal M
:" Execute the following two command at once to reproduce the problem.[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for 'scrollbind' causing an unexpected scroll of one of the windows.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 791 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:setl scb | wincmd p
:setl scb
:wincmd w
:let topLineLeft = line('w0')
:wincmd p
:let topLineRight = line('w0')
:setl noscrollbind
:wincmd p
:setl noscrollbind
:q!
:%del _
:call setline(1, 'Difference between the top lines (left - right): ' . string(toopLineLeft - topLineRight))
:w! test.out
:brewind
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" We don't want the status line to cause problems:
[?25l[?12l[?25h[?25l:[?12l[?25hset laststatus=0
[?25l[?12l[?25h[?25l:[?12l[?25hlet g:totalLines = &lines * 20
[?25l[?12l[?25h[?25l:[?12l[?25hlet middle = g:totalLines / 2
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd n
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?12l[?25h[?25l:[?12l[?25hwincmd o
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hfor i in range(1, g:totalLines)
[?25l
:  [?12l[?25h:    call setline(i, 'LINE ' . i)

[?25l:  [?12l[?25h:endfor
[?25lLINE 1
LINE 2
LINE 3LINE 4LINE 5LINE 6LINE 7LINE 8LINE 9LINE 10LINE 11LINE 12LINE 13LINE 14LINE 15LINE 16LINE 17LINE 18LINE 19LINE 20LINE 21LINE 22LINE 23[?12l[?25h[?25l:[?12l[?25hexe string(middle)
[?25lLINE 229
LINE 230
LINE 231
LINE 232
LINE 233
LINE 234
LINE 235
LINE 236
LINE 237
LINE 238
LINE 239
LINE 240
LINE 241
LINE 242
LINE 243
LINE 244
LINE 245
LINE 246
LINE 247
LINE 248
LINE 249
LINE 250
LINE 251[?12l[?25h[?25l:[?12l[?25hnormal zt
[?25lLINE 252
LINE 253
LINE 254
LINE 255
LINE 256
LINE 257
LINE 258
LINE 259
LINE 260
LINE 261
LINE 262[?12l[?25h[?25l:[?12l[?25hnormal M
[?25l[?12l[?25h[?25l:[?12l[?25haboveleft vert new
[?25l        |||||||||||||||||||||||~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       LINE 240LINE 241LINE 242LINE 243LINE 244LINE 245LINE 246LINE 247LINE 248LINE 249LINE 250LINE 251LINE 252LINE 253LINE 254LINE 255LINE 256LINE 257LINE 258LINE 259LINE 260LINE 261LINE 262[?12l[?25h[?25l:[?12l[?25hfor i in range(1, g:totalLines)
[?25l
:  [?12l[?25h:    call setline(i, 'line ' . i)

[?25l:  [?12l[?25h:endfor
[?25lline 1|
line 2|
line 3                                  
line 4                                  
line 5                                  
line 6                                  
line 7                                  
line 8                                  
line 9                                  
line 10                                 
line 11                                 
line 12                                 
line 13                                 
line 14                                 
line 15                                 
line 16                                 
line 17                                 
line 18                                 
line 19                                 
line 20                                 
line 21                                 
line 22                                 
line 23                                 LINE 240LINE 241[?12l[?25h[?25l:[?12l[?25hexe string(middle)
[?25l2293023123223323423523623723823924024124224324424524624748495051[?12l[?25h[?25l:[?12l[?25hnormal zt
[?25lline 240                                
line 241                                
line 242                                
line 243                                
line 244                                
line 245                                
line 246                                
line 247                                
line 248                                
line 249                                
line 250                                
line 251                                
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        line 252
line 253
line 254
line 255
line 256
line 257
line 258
line 259
line 260
line 261
line 262[?12l[?25h[?25l:[?12l[?25hnormal M
[?25l[?12l[?25h[?25l:[?12l[?25h" Execute the following two command at once to reproduce the problem.
[?25l[?12l[?25h[?25l:[?12l[?25hsetl scb | wincmd p
[?25l[?12l[?25h[?25l:[?12l[?25hsetl scb
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd w
[?25l[?12l[?25h[?25l:[?12l[?25hlet topLineLeft = line('w0')
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd p
[?25l[?12l[?25h[?25l:[?12l[?25hlet topLineRight = line('w0')
[?25l[?12l[?25h[?25l:[?12l[?25hsetl noscrollbind
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd p
[?25l[?12l[?25h[?25l:[?12l[?25hsetl noscrollbind
[?25l[?12l[?25h[?25l:[?12l[?25hq!
[?25lLINELINELINELINELINELINELINELINELINELINELINELINELINELINELINELINELINELINELINELINELINELINELINE[?12l[?25h[?25l:[?12l[?25h%del _
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?12l[?25h[?25l:[?12l[?25hcall setline(1, 'Difference between the top lines (left - right): ' . string(t

opLineLeft - topLineRight))
[?25lDifference between the top lines (left - right): 0[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New File] 1 line, 51 characters written[?12l[?25h[?25l:[?12l[?25hbrewind
[?25l"test98.in" 43 lines, 908 characters:normal M:" Execute the following two command at once to reproduce the problem.:setl scb | wincmd p:setl scb:wincmd w:let topLineLeft = line('w0'):wincmd p:let topLineRight = line('w0'):setl noscrollbind:wincmd p:setl noscrollbind:q!:%del _:call setline(1, 'Difference between the top lines (left - right): ' . string(toopLineLeft - topLineRight)):w! test.out:brewindENDTESTSTARTTEST:qa!ENDTEST[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 1 line, 5 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l


/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test99.failed test.ok test.out X* viminfo
cp test99.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test99.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test99.in" 68 lines, 2601 charactersTests for regexp with multi-byte encoding and various magic settings.
Test matchstr() with a count and multi-byte chars.
See test44 for exactly the same test with re=1.

STARTTEST
:so mbyte.vim
:set nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo
:set re=2
/^1
/a*b\{2}c\+/e
x/\Md\*e\{2}f\+/e
x:set nomagic
/g\*h\{2}i\+/e
x/\mj*k\{2}l\+/e
x/\vm*n{2}o+/e
x/\V^aa$
x:set magic
/\v(a)(b)\2\1\1/e
x/\V[ab]\(\[xy]\)\1
x:" Now search for multi-byte without composing char
/ม
x:" Now search for multi-byte with composing char
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for regexp with multi-byte encoding and various magic settings.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 41 lines, 1362 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTESTx?.
:@w
:?^1?,$w! test.out
:e! test.out
:w!
:qa!
ENDTEST

1 a aa abb abbccc
2 d dd dee deefff
3 g gg ghh ghhiii
4 j jj jkk jkklll
5 m mm mnn mnnooo
6 x ^aa$ x
7 (a)(b) abbaa
8 axx [ab]xx
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo
[?25lx?.
:@w
:?^1?,$w! test.out
:e! test.out
:w!
:qa!
ENDTEST

1 a aa abb abbccc
2 d dd dee deefff
3 g gg ghh ghhiii
4 j jj jkk jkklll
5 m mm mnn mnnooo
6 x ^aa$ x
7 (a)(b) abbaa
8 axx [ab]xx
:[?12l[?25h" Test \%u, [\u] and friends
[?25l[?12l[?25h[?25l/[?12l[?25h\%u20ac
[?25l
/[?12l[?25h[\u4f7f\u5929]\+
[?25l
/[?12l[?25h\%U12345678
[?25l
/[?12l[?25h[\U1234abcd\u1234\uabcd]
[?25l
/[?12l[?25h\%d21879b
[?25l
/[?12l[?25h [[=A=]]* [[=B=]]* [[=C=]]* [[=D=]]* [[=E=]]* [[=F=]]* [[=G=]]* [[=H=]]* [[=I=

]]* [[=J=]]* [[=K=]]* [[=L=]]* [[=M=]]* [[=N=]]* [[=O=]]* [[=P=]]* [[=Q=]]* [[=R

=]]* [[=S=]]* [[=T=]]* [[=U=]]* [[=V=]]* [[=W=]]* [[=X=]]* [[=Y=]]* [[=Z=]]*/e
[?25lPress ENTER or type command to continue[?12l[?25h[?25l:w!
:qa!
ENDTEST1 a aa abb abbcc
2 d dd dee deeff
3 g gg ghh ghhii
4 j jj jkk jkkll
5 m mm mnn mnnoo
/[?12l[?25h [[=a=]]* [[=b=]]* [[=c=]]* [[=d=]]* [[=e=]]* [[=f=]]* [[=g=]]* [[=h=]]* [[=i=

]]* [[=j=]]* [[=k=]]* [[=l=]]* [[=m=]]* [[=n=]]* [[=o=]]* [[=p=]]* [[=q=]]* [[=r

=]]* [[=s=]]* [[=t=]]* [[=u=]]* [[=v=]]* [[=w=]]* [[=x=]]* [[=y=]]* [[=z=]]*/e
[?25lPress ENTER or type command to continue[?12l[?25h[?25l1 a aa abb abbcc
2 d dd dee deeff
3 g gg ghh ghhii
4 j jj jkk jkkll
5 m mm mnn mnnoo
:[?12l[?25h" Test backwards search from a multi-byte char
[?25l[?12l[?25h[?25l/[?12l[?25hx
[?25l
:[?12l[?25h?^1?,$w! test.out
[?25l"test.out" [New] 20L, 1011C written[?12l[?25h[?25l:[?12l[?25he! test.out
[?25l"test.out" 20L, 1011C1 a aa abb abbcc
2 d dd dee deeff
3 g gg ghh ghhii
4 j jj jkk jkkll
5 m mm mnn mnnoo
6 x aa$ x7 (a)(b) abba
8 axx ab]xx
e y
:[?12l[?25hw!
[?25l"test.out" 24L, 1025C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test100.failed test.ok test.out X* viminfo
cp test100.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test100.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test100.in" 53 lines, 1693 charactersTests for 'undolevel' and 'lispwords' settings being global-local

STARTTEST
:so small.vim
:set nocompatible viminfo+=nviminfo ul=5
:fu! FillBuffer()
  :for i in range(1,13)
    :put=i
    :exe "setg ul=" . &g:ul
  :endfor
:endfu
:fu! UndoLevel()
  :redir @a | setglobal undolevels? | echon ' global' | setlocal undolevels? | eechon ' local' |redir end
  :$put a
:endfu
:new one
:0put ='ONE: expecting global undolevels: 5, local undolevels: -123456 (default))'
:call FillBuffer()
:earlier 10
:call UndoLevel()
:set ff=unix[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for 'undolevel' and 'lispwords' settings being global-local[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 48 lines, 1607 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:new three
:setglobal ul=50
:1put ='global value should be changed to 50'
:2put ='THREE: expecting global undolevels: 50, local undolevels: -123456 (defauult)'
:call UndoLevel()
:set ff=unix
:%w >> test.out
:"sleep 10
:"
:" Testing 'lispwords'
:"
:setglobal lispwords=foo,bar,baz
:setlocal lispwords-=foo | setlocal lispwords+=quux
:redir >> test.out | echon "\nTesting 'lispwords' local value" | setglobal lispwwords? | setlocal lispwords? | echo &lispwords . "\n" | redir end
:setlocal lispwords<
:redir >> test.out | echon "\nTesting 'lispwords' value reset" | setglobal lispwwords? | setlocal lispwords? | echo &lispwords . "\n" | redir end
:qa!
ENDTEST

~                                                                               [?12l[?25h
[?25l

:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nocompatible viminfo+=nviminfo ul=5
[?25l[?12l[?25h[?25l:[?12l[?25hfu! FillBuffer()
[?25l
:  [?12l[?25h  :for i in range(1,13)

[?25l:    [?12l[?25h    :put=i

[?25l:    [?12l[?25h    :exe "setg ul=" . &g:ul

[?25l:    [?12l[?25h  :endfor

[?25l:  [?12l[?25h:endfu
[?25l:new three
:setglobal ul=50
:1put ='global value should be changed to 50'
:2put ='THREE: expecting global undolevels: 50, local undolevels: -123456 (defauult)'[?12l[?25h[?25l

:[?12l[?25hfu! UndoLevel()
[?25l
:  [?12l[?25h  :redir @a | setglobal undolevels? | echon ' global' | setlocal undolevels?

| echon ' local' |redir end

[?25l:  [?12l[?25h  :$put a

[?25l:  [?12l[?25h:endfu
[?25l:new three
:setglobal ul=50
:1put ='global value should be changed to 50'
:2put ='THREE: expecting global undolevels: 50, local undolevels: -123456 (defauul[?12l[?25h[?25l

:[?12l[?25hnew one
[?25l"one" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               one                                                                             test100.in                                                                      [?12l[?25h[?25l:[?12l[?25h0put ='ONE: expecting global undolevels: 5, local undolevels: -123456 (default

)'[?25lONE: expecting global undolevels: 5, local undolevels: -123456 (default)[+][?12l[?25h[?25l:[?12l[?25hcall FillBuffer()
[?25l34
5678910111213[?12l[?25h[?25l:[?12l[?25hearlier 10
[?25l6 fewer lines; before #8  0 seconds ago~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hcall UndoLevel()
[?25l  undolevels=5 global

  undolevels=-123456 local

3 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hset ff=unix
[?25l3
4
5  undolevels=5 global  undolevels=-123456 local[?12l[?25h[?25l:[?12l[?25h%w! test.out
[?25l"test.out" [New] 12L, 138C written[?12l[?25h[?25l:[?12l[?25hnew two
[?25l"two" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               two                                                                             6
7undolevels=5 global
  undolevels=-123456 local
~                                                                               one [+]                                                                         :setlocal lispwords<
:redir >> test.out | echon "\nTesting 'lispwords' value reset" | setglobal lispwwords? | setlocal lispwords? | echo &lispwords . "\n" | redir end
:qa!
ENDTEST

test100.in                                                                      [?12l[?25h[?25l:[?12l[?25h0put ='TWO: expecting global undolevels: 5, local undolevels: 2 (first) then 1

0 (afterwards)'
[?25lTWO: expecting global undolevels: 5, local undolevels: 2 (first) then 10 (afterwwards)[+][?12l[?25h[?25l:[?12l[?25hsetlocal ul=2
[?25l[?12l[?25h[?25l:[?12l[?25hcall FillBuffer()
[?25l8910
111213[?12l[?25h[?25l:[?12l[?25hearlier 10
[?25l3 fewer lines; before #12  0 seconds ago~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hcall UndoLevel()
[?25l  undolevels=5 global

  undolevels=2 local

3 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hsetlocal ul=10
[?25l8
9
10  undolevels=5 global  undolevels=2 local[?12l[?25h[?25l:[?12l[?25hcall UndoLevel()
[?25l  undolevels=5 global

  undolevels=10 local

3 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hset ff=unix
[?25lundolevels=5 global
  undolevels=2 local10 local[?12l[?25h[?25l:[?12l[?25h%w >> test.out
[?25l"test.out" 18L, 197C appended[?12l[?25h[?25l:[?12l[?25hwincmd p
[?25ltwo [+]                                                                          one [+]                                                                         [?12l[?25h[?25l:[?12l[?25hredir >>test.out | echo "global value shouldn't be changed and still be 5!" | 

echo 'ONE: expecting global undolevels: 5, local undolevels: -123456 (default)'|

:setglobal undolevels? | echon ' global' | setlocal undolevels? | echon ' local'

|echo "" |redir end
[?25lglobal value shouldn't be changed and still be 5!ONE: expecting global undolevels: 5, local undolevels: -123456 (default)
  undolevels=5 global
  undolevels=-123456 local


Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hnew three
[?25l"three" [New File]undolevels=5 global
  undolevels=2 local

  undolevels=5 global
  undolevels=10 local
two [+]                                                                         ~                                                                               ~                                                                               ~                                                                               ~                                                                               three                                                                           7undolevels=5 global
  undolevels=-123456 local
one [+]                                                                         :qa!
ENDTEST

~                                                                               test100.in                                                                      [?12l[?25h[?25l:[?12l[?25hsetglobal ul=50
[?25l[?12l[?25h[?25l:[?12l[?25h1put ='global value should be changed to 50'
[?25lglobal value should be changed to 50[+][?12l[?25h[?25l:[?12l[?25h2put ='THREE: expecting global undolevels: 50, local undolevels: -123456 (defa

ult)'
[?25lundolevels=5 globalTHREE: expecting global undolevels: 50, local undolevels: -123456 (default)[?12l[?25h[?25l:[?12l[?25hcall UndoLevel()
[?25l  undolevels=50 global

  undolevels=-123456 local

3 more lines

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hset ff=unix
[?25lundolevels=5 global
  undolevels=2 local
  undolevels=50 globalundolevels=-123456 local[?12l[?25h[?25l:[?12l[?25h%w >> test.out
[?25l"test.out" 6L, 165C appended[?12l[?25h[?25l:[?12l[?25h"sleep 10
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Testing 'lispwords'
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hsetglobal lispwords=foo,bar,baz
[?25l[?12l[?25h[?25l:[?12l[?25hsetlocal lispwords-=foo | setlocal lispwords+=quux
[?25l[?12l[?25h[?25l:[?12l[?25hredir >> test.out | echon "\nTesting 'lispwords' local value" | setglobal lisp

words? | setlocal lispwords? | echo &lispwords . "\n" | redir end
[?25lTesting 'lispwords' local value

  lispwords=foo,bar,baz

  lispwords=bar,baz,quux

bar,baz,quux


Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hsetlocal lispwords<
[?25lundolevels=5 global
  undolevels=2 local

  undolevels=5 global
  undolevels=10 local
two [+]                                                                         [?12l[?25h[?25l:[?12l[?25hredir >> test.out | echon "\nTesting 'lispwords' value reset" | setglobal lisp

words? | setlocal lispwords? | echo &lispwords . "\n" | redir end
[?25lTesting 'lispwords' value reset

  lispwords=foo,bar,baz

  lispwords=foo,bar,baz

foo,bar,baz


Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test101.failed test.ok test.out X* viminfo
cp test101.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test101.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test101.in" 45 lines, 796 charactersTest for v:hlsearch     vim: set ft=vim :

STARTTEST
:" Last abc: Q
:so small.vim
:new
:call setline(1, repeat(['aaa'], 10))
:set hlsearch nolazyredraw
:let r=[]
:command -nargs=0 -bar AddR :call add(r, [screenattr(1, 1), v:hlsearch])
/aaa
:AddR
:nohlsearch
:AddR
:let v:hlsearch=1
:AddR
:let v:hlsearch=0
:AddR
:set hlsearch
:AddR
:let v:hlsearch=0
:AddR
n:AddR[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for v:hlsearch     vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 39 lines, 727 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:AddR
n:AddR
:let v:hlsearch=0
:AddR
/
:AddR
:let r1=r[0][0]
:" I guess it is not guaranteed that screenattr outputs always the same characteer
:call map(r, 'v:val[1].":".(v:val[0]==r1?"highlighted":"not highlighted")')
:try
:   let v:hlsearch=[]
:catch
:   call add(r, matchstr(v:exception,'^Vim(let):E\d\+:'))
:endtry
:bwipeout!
:$put=r
:call garbagecollect(1)
:"
:/^start:/,$wq! test.out
:" vim: et ts=4 isk-=\:
:call getchar()
ENDTEST
[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h" Last abc: Q
[?25l[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       endtrybwipeout!
:$put=rcall garbagecollect(1)
:"/^start:/,$wq! test.out
:" vim: et ts=4 isk-=\:call getchar()ENDTESTtest101.in                                                                      [?12l[?25h[?25l:[?12l[?25hcall setline(1, repeat(['aaa'], 10))
[?25laaa
aaaaaaaaaaaaaaaaaaaaaaaaaaa[+][?12l[?25h[?25l:[?12l[?25hset hlsearch nolazyredraw
[?25lENDTEST[?12l[?25h[?25l:[?12l[?25hlet r=[]
[?25l[?12l[?25h[?25l:[?12l[?25hcommand -nargs=0 -bar AddR :call add(r, [screenattr(1, 1), v:hlsearch])
[?25l[?12l[?25h[?25l/[?12l[?25haaa
[?25laaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaaENDTEST[?12l[?25h[?25l:[?12l[?25hAddR
[?25l[?12l[?25h[?25l:[?12l[?25hnohlsearch
[?25laaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa[?12l[?25h[?25l:[?12l[?25hAddR
[?25l[?12l[?25h[?25l:[?12l[?25hlet v:hlsearch=1
[?25laaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa[?12l[?25h[?25l:[?12l[?25hAddR
[?25l[?12l[?25h[?25l:[?12l[?25hlet v:hlsearch=0
[?25laaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa[?12l[?25h[?25l:[?12l[?25hAddR
[?25l[?12l[?25h[?25l:[?12l[?25hset hlsearch
[?25laaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa[?12l[?25h[?25l:[?12l[?25hAddR
[?25l[?12l[?25h[?25l:[?12l[?25hlet v:hlsearch=0
[?25laaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa[?12l[?25h[?25l:[?12l[?25hAddR
[?25l[?12l[?25h[?25l/aaaaaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa[?12l[?25h[?25l:[?12l[?25hAddR
[?25l[?12l[?25h[?25l:[?12l[?25hlet v:hlsearch=0
[?25laaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa[?12l[?25h[?25l:[?12l[?25hAddR
[?25l[?12l[?25h[?25l/[?12l[?25h[?25l/aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa[?12l[?25h[?25l:[?12l[?25hAddR
[?25l[?12l[?25h[?25l:[?12l[?25hlet r1=r[0][0]
[?25l[?12l[?25h[?25l:[?12l[?25h" I guess it is not guaranteed that screenattr outputs always the same charact

er[?25laaa[?12l[?25h[?25l:[?12l[?25hcall map(r, 'v:val[1].":".(v:val[0]==r1?"highlighted":"not highlighted")')
[?25l[?12l[?25h[?25l:[?12l[?25htry
[?25l
:  [?12l[?25h:   let v:hlsearch=[]

[?25l:  [?12l[?25h:catch

[?25l:  [?12l[?25h:   call add(r, matchstr(v:exception,'^Vim(let):E\d\+:'))

[?25l:  [?12l[?25h:endtry
[?25laaa
aaa
aaa
aaa[?12l[?25h[?25l:[?12l[?25hbwipeout!
[?25ln:AddR
:let v:hlsearch=0
:AddR
/:AddR
:let r1=r[0][0]
:" I guess it is not guaranteed that screenattr outputs always the same characteer:call map(r, 'v:val[1].":".(v:val[0]==r1?"highlighted":"not highlighted")')
:try
:   let v:hlsearch=[]:catch   call add(r, matchstr(v:exception,'^Vim(let):E\d\+:'))
:endtrybwipeout!
:$put=rcall garbagecollect(1)
:"/^start:/,$wq! test.out
:" vim: et ts=4 isk-=\:
:call getchar()
ENDTEST[?12l[?25h[?25l:[?12l[?25h$put=r
[?25l10 more linesstart:
1:highlighted
0:not highlighted
1:highlighted
0:not highlighted
1:highlighted
0:not highlighted
1:highlighted
0:not highlighted
1:highlighted
Vim(let):E706:10 more lines[?12l[?25h[?25l:[?12l[?25hcall garbagecollect(1)
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 11 lines, 164 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test102.failed test.ok test.out X* viminfo
cp test102.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test102.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test102.in" 13 lines, 291 charactersTest if fnameescape is correct for special chars like !

STARTTEST
:so small.vim
:%d
:let fname = 'Xspa ce'
:try | exe "w! " . fnameescape(fname) | put='Space' | endtry
:let fname = 'Xemark!'
:try | exe "w! " . fnameescape(fname) | put='ExclamationMark' | endtry
:w! test.out
:qa!
ENDTEST

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest if fnameescape is correct for special chars like ![?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 8 lines, 215 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?12l[?25h[?25l:[?12l[?25hlet fname = 'Xspa ce'
[?25l[?12l[?25h[?25l:[?12l[?25htry | exe "w! " . fnameescape(fname) | put='Space' | endtry 
[?25l"Xspa ce" [New File] 0 lines, 0 characters writtenSpace[?12l[?25h[?25l:[?12l[?25hlet fname = 'Xemark!'
[?25l[?12l[?25h[?25l:[?12l[?25htry | exe "w! " . fnameescape(fname) | put='ExclamationMark' | endtry
[?25l"Xemark!" [New File] 2 lines, 7 characters writtenExclamationMark[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New File] 3 lines, 23 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test103.failed test.ok test.out X* viminfo
cp test103.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test103.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test103.in" 37 lines, 823 charactersTest for visual mode not being reset causing E315 error.
STARTTEST
:so small.vim
:enew
:let g:msg="Everything's fine."
:function! TriggerTheProblem()
:" At this point there is no visual selection because :call reset it.
:" Let's restore the selection:
:normal gv
:'<,'>del _
:try
:exe "normal \<Esc>"
:catch /^Vim\%((\a\+)\)\=:E315/
:echom 'Snap! E315 error!'
:let g:msg='Snap! E315 error!'
:endtry
:endfunction
:enew
:setl buftype=nofile
:call append(line('$'), 'Delete this line.')
:"
:"
:" NOTE: this has to be done by a call to a function because executing :del the[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for visual mode not being reset causing E315 error.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 29 lines, 723 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:"ex-way will require the colon operator which resets the visual mode thuus
:"preventing the problem:
:"
GV:call TriggerTheProblem()
:%del _
:call append(line('$'), g:msg)
:w! test.out
:brewind
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25henew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hlet g:msg="Everything's fine."
[?25l[?12l[?25h[?25l:[?12l[?25hfunction! TriggerTheProblem()
[?25l
:  [?12l[?25h:^I" At this point there is no visual selection because :call reset it.

[?25l:  [?12l[?25h:^I" Let's restore the selection:

[?25l:  [?12l[?25h:^Inormal gv

[?25l:  [?12l[?25h:^I'<,'>del _

[?25l:  [?12l[?25h:^Itry

[?25l:    [?12l[?25h:^I^Iexe "normal \<Esc>"

[?25l:    [?12l[?25h:^Icatch /^Vim\%((\a\+)\)\=:E315/

[?25l:    [?12l[?25h:^I^Iechom 'Snap! E315 error!'

[?25l:    [?12l[?25h:^I^Ilet g:msg='Snap! E315 error!'

[?25l:    [?12l[?25h:^Iendtry

[?25l:  [?12l[?25h:endfunction
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25henew
[?25l[?12l[?25h[?25l:[?12l[?25hsetl buftype=nofile
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), 'Delete this line.')
[?25lDelete this line.[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" NOTE: this has to be done by a call to a function because executing :del the
[?25l[?12l[?25h[?25l:[?12l[?25h"       ex-way will require the colon operator which resets the visual mode th

us[?25l[?12l[?25h[?25l:[?12l[?25h"       preventing the problem:
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h
[?25lDelete this line. 
[?12l[?25h[?25l:'<,'>[?12l[?25hcall TriggerTheProblem()
[?25l~                                                                               [?12l[?25h[?25l:[?12l[?25h%del _
[?25l--No lines in buffer--[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), g:msg)
[?25lEverything's fine.[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New File] 2 lines, 20 characters written[?12l[?25h[?25l:[?12l[?25hbrewind
[?25l"test103.in" 37 lines, 823 characters:endtry
:endfunction:enew:setl buftype=nofile:call append(line('$'), 'Delete this line.'):":":" NOTE: this has to be done by a call to a function because executing :del the:"       ex-way will require the colon operator which resets the visual mode thuus:"       preventing the problem::"GV:call TriggerTheProblem():%del _:call append(line('$'), g:msg):w! test.out:brewindENDTESTSTARTTEST:qa!ENDTEST[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 1 line, 5 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l


/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test104.failed test.ok test.out X* viminfo
cp test104.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test104.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test104.in" 30 lines, 698 charactersTests for :let.  vim: set ft=vim ts=8 :

STARTTEST
:so small.vim
:set runtimepath+=./sautest
:" Test to not autoload when assigning.  It causes internal error.
:try
:  let Test104#numvar = function('tr')
:  $put ='OK: ' . string(Test104#numvar)
:catch
:  $put ='FAIL: ' . v:exception
:endtry
:let a = 1
:let b = 2
:for letargs in ['a b', '{0 == 1 ? "a" : "b"}', '{0 == 1 ? "a" : "b"} a', 'a {0  == 1 ? "a" : "b"}']
:  try
:    redir => messages
:    execute 'let' letargs
:    redir END
:    $put ='OK:'
:    $put =split(substitute(messages, '\n', '\0  ', 'g'), '\n')
:  catch[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for :let.  vim: set ft=vim ts=8 :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 24 lines, 618 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:    $put ='FAIL: ' . v:exception
:    redir END
:  endtry
:endfor
:/^Results/,$wq! test.out
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset runtimepath+=./sautest
[?25l[?12l[?25h[?25l:[?12l[?25h" Test to not autoload when assigning.  It causes internal error.
[?25l[?12l[?25h[?25l:[?12l[?25htry
[?25l
:  [?12l[?25h:  let Test104#numvar = function('tr')

[?25l:  [?12l[?25h:  $put ='OK: ' . string(Test104#numvar)

[?25l:  [?12l[?25h:catch

[?25l:  [?12l[?25h:  $put ='FAIL: ' . v:exception

[?25l:  [?12l[?25h:endtry
[?25l:catch
:  $put ='FAIL: ' . v:exception
:endtry
:let a = 1
:let b = 2
:for letargs in ['a b', '{0 == 1 ? "a" : "b"}', '{0 == 1 ? "a" : "b"} a', 'a {0  == 1 ? "a" : "b"}']
:  try:    redir => messages
:    execute 'let' letargsEND$put ='OK:'$put =split(substitute(messages, '\n', '\0  ', 'g'), '\n')
:  catch'FAIL: ' . v:exception  redir END
:  endtryendfor/^Results/,$wq! test.out
ENDTESTResults of test104:
OK: function('tr')[?12l[?25h[?25l
:[?12l[?25hlet a = 1
[?25l[?12l[?25h[?25l:[?12l[?25hlet b = 2
[?25l[?12l[?25h[?25l:[?12l[?25hfor letargs in ['a b', '{0 == 1 ? "a" : "b"}', '{0 == 1 ? "a" : "b"} a', 'a {0

== 1 ? "a" : "b"}']
[?25l:  [?12l[?25h:  try

[?25l:    [?12l[?25h:    redir => messages

[?25l:    [?12l[?25h:    execute 'let' letargs

[?25la#1

b#2

:    [?12l[?25h:    redir END

[?25l:    [?12l[?25h:    $put ='OK:'

[?25l:    [?12l[?25h:    $put =split(substitute(messages, '\n', '\0  ', 'g'), '\n')

[?25l:    [?12l[?25h:  catch

[?25l:    [?12l[?25h:    $put ='FAIL: ' . v:exception

[?25l:    [?12l[?25h:    redir END

[?25l:    [?12l[?25h:  endtry

[?25l:  [?12l[?25h:endfor

[?25lb#2

b#2

a#1

a#1

b#2

Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h/^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 13 lines, 244 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test105.failed test.ok test.out X* viminfo
cp test105.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test105.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test105.in" 45 lines, 1700 charactersTest filename modifiers     vim: set ft=vim :

STARTTEST
:source small.vim
:%delete _
:set shell=sh
:set shellslash
:let tab="\t"
:command -nargs=1 Put :let expr=<q-args> | $put =expr.tab.strtrans(string(eval(eexpr)))
:let $HOME=fnamemodify('.', ':p:h:h')
:Put fnamemodify('.',':p'      )[-1:]
:Put fnamemodify('.',':p:h'    )[-1:]
:Put fnamemodify('test.out',':p'      )[-1:]
:Put fnamemodify('test.out',':.'      )
:Put fnamemodify('../testdir/a',   ':.'      )
:Put fnamemodify('test.out',':~'      )
:Put fnamemodify('../testdir/a',   ':~'      )
:Put fnamemodify('../testdir/a',   ':t'      )
:Put fnamemodify('.',':p:t'    )
:Put fnamemodify('test.out',':p:t'    )
:Put fnamemodify('test.out',':p:e'    )
:Put fnamemodify('test.out',':p:t:e'  )[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest filename modifiers     vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 40 lines, 1634 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:Put fnamemodify('abc.fb2.tar.gz', ':r:r'    )
:Put fnamemodify('abc.fb2.tar.gz', ':r:r:r'  )
:Put substitute(fnamemodify('abc.fb2.tar.gz', ':p:r:r'), '.*\(testdir/.*\)', '\11', '')
:Put fnamemodify('abc.fb2.tar.gz', ':e'      )
:Put fnamemodify('abc.fb2.tar.gz', ':e:e'    )
:Put fnamemodify('abc.fb2.tar.gz', ':e:e:e'  )
:Put fnamemodify('abc.fb2.tar.gz', ':e:e:e:e')
:Put fnamemodify('abc.fb2.tar.gz', ':e:e:r'  )
:Put fnamemodify('abc def',':S'      )
:Put fnamemodify('abc" "def',      ':S'      )
:Put fnamemodify('abc"%"def',      ':S'      )
:Put fnamemodify('abc'' ''def',    ':S'      )
:Put fnamemodify('abc''%''def',    ':S'      )
:Put fnamemodify("abc\ndef",':S'      )
:set shell=tcsh
:Put fnamemodify("abc\ndef",':S'      )
:$put ='vim: ts=8'
:1 delete _
:w! test.out
:qa!
ENDTEST
[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hsource small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h%delete _
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?12l[?25h[?25l:[?12l[?25hset shell=sh
[?25l[?12l[?25h[?25l:[?12l[?25hset shellslash
[?25l[?12l[?25h[?25l:[?12l[?25hlet tab="\t"
[?25l[?12l[?25h[?25l:[?12l[?25hcommand -nargs=1 Put :let expr=<q-args> | $put =expr.tab.strtrans(string(eval(

expr)))
[?25l[?12l[?25h[?25l:[?12l[?25hlet $HOME=fnamemodify('.', ':p:h:h')
[?25l[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('.',              ':p'      )[-1:]
[?25lfnamemodify('.',              ':p'      )[-1:]  '/'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('.',              ':p:h'    )[-1:]
[?25lfnamemodify('.',              ':p:h'    )[-1:]  'r'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('test.out',       ':p'      )[-1:]
[?25lfnamemodify('test.out',       ':p'      )[-1:]  't'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('test.out',       ':.'      )
[?25lfnamemodify('test.out',       ':.'      )       'test.out'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('../testdir/a',   ':.'      )
[?25lfnamemodify('../testdir/a',   ':.'      )       'a'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('test.out',       ':~'      )
[?25lfnamemodify('test.out',       ':~'      )       '~/testdir/test.out'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('../testdir/a',   ':~'      )
[?25lfnamemodify('../testdir/a',   ':~'      )       '~/testdir/a'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('../testdir/a',   ':t'      )
[?25lfnamemodify('../testdir/a',   ':t'      )       'a'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('.',              ':p:t'    )
[?25lfnamemodify('.',              ':p:t'    )       ''[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('test.out',       ':p:t'    )
[?25lfnamemodify('test.out',       ':p:t'    )       'test.out'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('test.out',       ':p:e'    )
[?25lfnamemodify('test.out',       ':p:e'    )       'out'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('test.out',       ':p:t:e'  )
[?25lfnamemodify('test.out',       ':p:t:e'  )       'out'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('abc.fb2.tar.gz', ':r'      )
[?25lfnamemodify('abc.fb2.tar.gz', ':r'      )       'abc.fb2.tar'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('abc.fb2.tar.gz', ':r:r'    )
[?25lfnamemodify('abc.fb2.tar.gz', ':r:r'    )       'abc.fb2'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('abc.fb2.tar.gz', ':r:r:r'  )
[?25lfnamemodify('abc.fb2.tar.gz', ':r:r:r'  )       'abc'[?12l[?25h[?25l:[?12l[?25hPut substitute(fnamemodify('abc.fb2.tar.gz', ':p:r:r'), '.*\(testdir/.*\)', '\

1', '')
[?25lsubstitute(fnamemodify('abc.fb2.tar.gz', ':p:r:r'), '.*\(testdir/.*\)', '\1', ''')       'testdir/abc.fb2'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('abc.fb2.tar.gz', ':e'      )
[?25lfnamemodify('abc.fb2.tar.gz', ':e'      )       'gz'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('abc.fb2.tar.gz', ':e:e'    )
[?25lfnamemodify('abc.fb2.tar.gz', ':e:e'    )       'tar.gz'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('abc.fb2.tar.gz', ':e:e:e'  )
[?25lfnamemodify('abc.fb2.tar.gz', ':e:e:e'  )       'fb2.tar.gz'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('abc.fb2.tar.gz', ':e:e:e:e')
[?25lfnamemodify('abc.fb2.tar.gz', ':e:e:e:e')       'fb2.tar.gz'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('abc.fb2.tar.gz', ':e:e:r'  )
[?25lfnamemodify('abc.fb2.tar.gz', ':e:e:r'  )       'tar'[?12l[?25h[?25l:[?12l[?25hPut fnamemodify('abc def',        ':S'      )
[?25l
fnamemodify('abc def',':S'      )'''abc def'''[?12l[?25h[?25l
:[?12l[?25hPut fnamemodify('abc" "def',      ':S'      )
[?25l
fnamemodify('abc" "def',      ':S'      )'''abc" "def'''[?12l[?25h[?25l
:[?12l[?25hPut fnamemodify('abc"%"def',      ':S'      )
[?25l
fnamemodify('abc"%"def',      ':S'      )'''abc"%"def'''[?12l[?25h[?25l
:[?12l[?25hPut fnamemodify('abc'' ''def',    ':S'      )
[?25l
fnamemodify('abc'' ''def',    ':S'      )'''abc''\'''' ''\''''def'''[?12l[?25h[?25l
:[?12l[?25hPut fnamemodify('abc''%''def',    ':S'      )
[?25l
fnamemodify('abc''%''def',    ':S'      )'''abc''\''''%''\''''def'''[?12l[?25h[?25l
:[?12l[?25hPut fnamemodify("abc\ndef",       ':S'      )
[?25l
fnamemodify("abc\ndef",':S'      )'''abc^@def'''[?12l[?25h[?25l
:[?12l[?25hset shell=tcsh
[?25l[?12l[?25h[?25l:[?12l[?25hPut fnamemodify("abc\ndef",       ':S'      )
[?25l
fnamemodify("abc\ndef",':S'      )'''abc\^@def'''[?12l[?25h[?25l
:[?12l[?25h$put ='vim: ts=8'
[?25l
vim: ts=8[?12l[?25h[?25l
:[?12l[?25h1 delete _
[?25l',              ':p[-1:]  '/h'    )[-1:]  'r''      )[-1:]  't'.'  test.out'../testdir/a',   ':.'    a'test.out',       ':~~/testdir/test.out'../testdir/a',   ':~'  ~/testdir/a'../testdir/a',   ':t'    'fnamemodify('.',              ':p:t'    )       ''fnamemodify('test.out',       ':p:t'    )'test.out'test.out',       ':p:e'out'test.out',       ':p:t:e'out'r'    abc.fb2.tar'r:r'    abc.fb2'r:rabc
substitute(fnamemodify('abc.fb2.tar.gz', ':p:r:r'), '.*\(testdir/.*\)', '\1', ''')       'testdir/abc.fb2'.fb2.tar.gz', ':egz'.fb2.tar.gz', ':e:e'tar.gz.fb2.tar.gz', ':e:e:e'fb2.tar.gz'abc.fb2.tar.gz', ':e:e:e:e'fb2.tar.gz'abc.fb2.tar.gz', ':e:e:r'tar'fnamemodify('abc def',':S'      )'''abc def'''[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New File] 29 lines, 1560 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test106.failed test.ok test.out X* viminfo
cp test106.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test106.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test106.in" 16 lines, 581 charactersTests for errorformat.  vim: set ft=vim ts=8 :

STARTTEST
:so small.vim
:if !has('quickfix') | e! test.ok | wq! test.out | endif
:set efm=%EEEE%m,%WWWW%m,%+CCCC%.%#,%-GGGG%.%#
:cgetexpr ['WWWW', 'EEEE', 'CCCC']
:$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]')))
:cgetexpr ['WWWW', 'GGGG', 'EEEE', 'CCCC']
:$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]')))
:cgetexpr ['WWWW', 'GGGG', 'ZZZZ', 'EEEE', 'CCCC', 'YYYY']
:$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]')))
:/^Results/,$wq! test.out
ENDTEST

Results of test106:
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for errorformat.  vim: set ft=vim ts=8 :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 10 lines, 494 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif !has('quickfix') | e! test.ok | wq! test.out | endif
[?25l[?12l[?25h[?25l:[?12l[?25hset efm=%EEEE%m,%WWWW%m,%+CCCC%.%#,%-GGGG%.%#
[?25l[?12l[?25h[?25l:[?12l[?25hcgetexpr ['WWWW', 'EEEE', 'CCCC']
[?25l[?12l[?25h[?25l:[?12l[?25h$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]')))
[?25l[['W', 1], ['E^@CCCC', 1]][?12l[?25h[?25l:[?12l[?25hcgetexpr ['WWWW', 'GGGG', 'EEEE', 'CCCC']
[?25l[?12l[?25h[?25l:[?12l[?25h$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]')))
[?25l[['W', 1], ['E^@CCCC', 1]][?12l[?25h[?25l:[?12l[?25hcgetexpr ['WWWW', 'GGGG', 'ZZZZ', 'EEEE', 'CCCC', 'YYYY']
[?25l[?12l[?25h[?25l:[?12l[?25h$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]')))
[?25l[['W', 1], ['ZZZZ', 0], ['E^@CCCC', 1], ['YYYY', 0]][?12l[?25h[?25l:[?12l[?25h/^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 4 lines, 127 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test107.failed test.ok test.out X* viminfo
cp test107.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test107.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test107.in" 38 lines, 717 charactersTests for adjusting window and contents     vim: set ft=vim :

STARTTEST
:so small.vim
:new
:call setline(1, range(1,256))
:let r=[]
:func! GetScreenStr(row)
:   let str = ""
:   for c in range(1,3)
:let str .= nr2char(screenchar(a:row, c))
:   endfor
:   return str
:endfunc
:
:exe ":norm! \<C-W>t\<C-W>=1Gzt\<C-W>w\<C-W>+"
:let s3=GetScreenStr(1)
:wincmd p
:call add(r, [line("w0"), s3])
:
:exe ":norm! \<C-W>t\<C-W>=50Gzt\<C-W>w\<C-W>+"
:let s3=GetScreenStr(1)
:wincmd p[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for adjusting window and contents     vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 32 lines, 628 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:call add(r, [line("w0"), s3])
:
:exe ":norm! \<C-W>t\<C-W>=59Gzt\<C-W>w\<C-W>+"
:let s3=GetScreenStr(1)
::wincmd p
:call add(r, [line("w0"), s3])
:
:bwipeout!
:$put=r
:call garbagecollect(1)
:"
:/^start:/,$wq! test.out
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :wincmd pcall add(r, [line("w0"), s3])bwipeout!
:$put=rcall garbagecollect(1)
:"/^start:/,$wq! test.out
ENDTESTtest107.in                                                                      [?12l[?25h[?25l:[?12l[?25hcall setline(1, range(1,256))
[?25l1
234567891011[+][?12l[?25h[?25l:[?12l[?25hlet r=[]
[?25l[?12l[?25h[?25l:[?12l[?25hfunc! GetScreenStr(row)
[?25l
:  [?12l[?25h:   let str = ""

[?25l:  [?12l[?25h:   for c in range(1,3)

[?25l:    [?12l[?25h:       let str .= nr2char(screenchar(a:row, c))

[?25l:    [?12l[?25h:   endfor

[?25l:  [?12l[?25h:   return str

[?25l:  [?12l[?25h:endfunc
[?25l1
2
3
4
5
6[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! \<C-W>t\<C-W>=1Gzt\<C-W>w\<C-W>+"
[?25l[No Name] [+]                                                                   :let s3=GetScreenStr(1)test107.in                                                                      [?12l[?25h[?25l:[?12l[?25hlet s3=GetScreenStr(1)
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd p
[?25l[No Name] [+]                                                                   test107.in                                                                       [?12l[?25h[?25l:[?12l[?25hcall add(r, [line("w0"), s3])
[?25l[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! \<C-W>t\<C-W>=50Gzt\<C-W>w\<C-W>+"
[?25l50
51
52
53
54
55
56
57
58
59
[No Name] [+]                                                                   :let s3=GetScreenStr(1)
::wincmd p
:call add(r, [line("w0"), s3])
:
:bwipeout!
:$put=r
:call garbagecollect(1)
:"
:/^start:/,$wq! test.out
ENDTEST

test107.in                                                                      [?12l[?25h[?25l

:[?12l[?25hlet s3=GetScreenStr(1)
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd p
[?25l[No Name] [+]                                                                   test107.in                                                                       [?12l[?25h[?25l:[?12l[?25hcall add(r, [line("w0"), s3])
[?25l[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! \<C-W>t\<C-W>=59Gzt\<C-W>w\<C-W>+"
[?25l59
60
61
62
63
64
65
66
67
68
[No Name] [+]                                                                   :let s3=GetScreenStr(1)
::wincmd p
:call add(r, [line("w0"), s3])
:
:bwipeout!
:$put=r
:call garbagecollect(1)
:"
:/^start:/,$wq! test.out
ENDTEST

test107.in                                                                      [?12l[?25h[?25l

:[?12l[?25hlet s3=GetScreenStr(1)
[?25l[?12l[?25h[?25l:[?12l[?25h:wincmd p
[?25l[No Name] [+]                                                                   test107.in                                                                       [?12l[?25h[?25l:[?12l[?25hcall add(r, [line("w0"), s3])
[?25l[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hbwipeout!
[?25l::exe ":norm! \<C-W>t\<C-W>=1Gzt\<C-W>w\<C-W>+"
:let s3=GetScreenStr(1)
:wincmd p
:call add(r, [line("w0"), s3])
::exe ":norm! \<C-W>t\<C-W>=50Gzt\<C-W>w\<C-W>+"
:let s3=GetScreenStr(1)
:wincmd p
:call add(r, [line("w0"), s3])
:exe ":norm! \<C-W>t\<C-W>=59Gzt\<C-W>w\<C-W>+"
:let s3=GetScreenStr(1)
::wincmd pcall add(r, [line("w0"), s3])bwipeout!
:$put=rcall garbagecollect(1)
:":/^start:/,$wq! test.out
ENDTEST[?12l[?25h[?25l:[?12l[?25h$put=r
[?25l3 more linesstart:
[1, '1  ']
[50, '50 ']
[59, '59 ']3 more lines[?12l[?25h[?25l:[?12l[?25hcall garbagecollect(1)
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 4 lines, 42 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_autoformat_join.failed test.ok test.out X* viminfo
cp test_autoformat_join.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test_autoformat_join.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test_autoformat_join.in" 23 lines, 524 charactersTests for setting the '[,'] marks when joining lines.

STARTTEST
:so small.vim
:/^\t\t/
0gqj^[
:let a=string(getpos("'[")).'/'.string(getpos("']"))
:/^This line/;'}-join
:let b=string(getpos("'[")).'/'.string(getpos("']"))
:$put ='First test: Start/End '.string(a)
:$put ='Second test: Start/End '.string(b)
:/^\t\t/,$wq! test.out
ENDTESTO sodales, ludite, vos qui
attamen consulite per voster honur. Tua pulchra facies me fay planszer milies

This line.
Should be joined with the next line
and with this line

Results:[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for setting the '[,'] marks when joining lines.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 9 lines, 265 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h/^\t\t/
[?25l[?12l[?25h[?25lattamen consulite per voster honur.
Tua pulchra facies me fay planszer milies[?12l[?25h
[?25l:[?12l[?25hlet a=string(getpos("'[")).'/'.string(getpos("']"))
[?25l[?12l[?25h[?25l:[?12l[?25h/^This line/;'}-join
[?25lThis line.  Should be joined with the next line and with this line


~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hlet b=string(getpos("'[")).'/'.string(getpos("']"))
[?25l[?12l[?25h[?25l:[?12l[?25h$put ='First test: Start/End '.string(a)
[?25lFirst test: Start/End '[0, 16, 1, 0]/[0, 17, 1, 0]'[?12l[?25h[?25l:[?12l[?25h$put ='Second test: Start/End '.string(b)
[?25lSecond test: Start/End '[0, 19, 11, 0]/[0, 19, 67, 0]'[?12l[?25h[?25l:[?12l[?25h/^\t\t/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 8 lines, 292 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_breakindent.failed test.ok test.out X* viminfo
cp test_breakindent.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test_breakindent.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test_breakindent.in" 97 lines, 2922 charactersTest for breakindent

STARTTEST
:so small.vim
:if !exists("+breakindent") | e! test.ok | w! test.out | qa! | endif
:10new|:vsp|:vert resize 20
:put =\"\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP\"
:set ts=4 sw=4 sts=4 breakindent
:fu! ScreenChar(width)
:let c=''
:for i in range(1,a:width)
:let c.=nr2char(screenchar(line('.'), i))
:endfor
:let c.="\n"
:for i in range(1,a:width)
:let c.=nr2char(screenchar(line('.')+1, i))
:endfor
:let c.="\n"
:for i in range(1,a:width)
:let c.=nr2char(screenchar(line('.')+2, i))
:endfor
:return c
:endfu[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for breakindent[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 92 lines, 2871 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:$put =printf(\"strdisplaywidth: %d == calculated: %d\", strdisplaywidth(text),  width)
:"
:" Test, that the string "    a\tb\tc\td\te" is correctly
:" displayed in a 20 column wide window (see bug report
:" https://groups.google.com/d/msg/vim_dev/ZOdg2mc9c9Y/TT8EhFjEy0IJ
:only
:vert 20new
:set all& nocp breakindent briopt=min:10
:call setline(1, ["    a\tb\tc\td\te", "    z   yxwv"])
:/^\s*a
fbgjyl:let line1 = @0
:?^\s*z
fygjyl:let line2 = @0
:quit!
:$put ='Test 12: breakindent with wrapping Tab'
:$put =line1
:$put =line2
:"
:%w! test.out
:qa!
ENDTEST
dummy text[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif !exists("+breakindent") | e! test.ok | w! test.out | qa! | endif
[?25l[?12l[?25h[?25l:[?12l[?25h10new|:vsp|:vert resize 20
[?25l                    ||||||||||~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  :?^\s*zfygjyl:let line2 = @0
:quit!$put ='Test 12: breakindent with wrapping Tab'line12
:"%w! test.out
:qaENDTEST
dummy text
test_breakindent.in                                                             [?12l[?25h[?25l:[?12l[?25hput =\"\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP\"
[?25l        abcdefghijkl
mnopqrstuvwxyzABCDEF
GHIJKLMNOP          [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP[+][?12l[?25h[?25l:[?12l[?25hset ts=4 sw=4 sts=4 breakindent
[?25labcdefghijklmnop
qrstuvwxyzABCDEFGHIJ
KLMNOP    abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP[?12l[?25h[?25l:[?12l[?25hfu! ScreenChar(width)
[?25l
:  [?12l[?25h:^Ilet c=''

[?25l:  [?12l[?25h:^Ifor i in range(1,a:width)

[?25l:    [?12l[?25h:^I^Ilet c.=nr2char(screenchar(line('.'), i))

[?25l:    [?12l[?25h:^Iendfor

[?25l:  [?12l[?25h:       let c.="\n"

[?25l:  [?12l[?25h:^Ifor i in range(1,a:width)

[?25l:    [?12l[?25h:^I^Ilet c.=nr2char(screenchar(line('.')+1, i))

[?25l:    [?12l[?25h:^Iendfor

[?25l:  [?12l[?25h:       let c.="\n"

[?25l:  [?12l[?25h:^Ifor i in range(1,a:width)

[?25l:    [?12l[?25h:^I^Ilet c.=nr2char(screenchar(line('.')+2, i))

[?25l:    [?12l[?25h:^Iendfor

[?25l:  [?12l[?25h:^Ireturn c

[?25l:  [?12l[?25h:endfu
[?25l|
    abcdefghijklmnop|
qrstuvwxyzABCDEFGHIJ|
KLMNOP|||||||~                   
~                   
~                   
~                   
~                   
~                   
[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              :?^\s*z
fygjyl:let line2 = @0
:quit![?12l[?25h[?25l:[?12l[?25hfu DoRecordScreen()
[?25l
:  [?12l[?25h:^Iwincmd l

[?25l:  [?12l[?25h:^I$put =printf(\"\n%s\", g:test)

[?25l:  [?12l[?25h:^I$put =g:line1

[?25l:  [?12l[?25h:^Iwincmd p

[?25l:  [?12l[?25h:endfu
[?25l|
    abcdefghijklmnop|
qrstuvwxyzABCDEFGHIJ|
KLMNOP||
~                   abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          [?12l[?25h[?25l:[?12l[?25hset briopt=min:0
[?25l    qrstuvwxyzABCDEF
    GHIJKLMNOP[?12l[?25h[?25l:[?12l[?25hlet g:test="Test 1: Simple breakindent"
[?25l[?12l[?25h[?25l:[?12l[?25hlet line1=ScreenChar(8)
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l3 more lines                    
Test 1: Simple break
indent              
    abcd            
    qrst            
    GHIJ            Test 1: Simple breakindent    abcd    qrst    GHIJ[?12l[?25h[?25l:[?12l[?25hlet g:test="Test 2: Simple breakindent + sbr=>>"
[?25l[?12l[?25h[?25l:[?12l[?25hset sbr=>>
[?25l>>qrstuvwxyzABCD
    >>EFGHIJKLMNOP


>>indent[?12l[?25h[?25l:[?12l[?25hlet line1=ScreenChar(8)
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l3 more lines                                                           Test 1: Simple breakindent                                     abcd                                                       qrst                                                       GHIJ                                                   ~                                                          ~                                                          ~                                                                                                                                                                                Test 2: Simple breakindent + sbr=>>    abcd>>qr>>EF3 more lines[?12l[?25h[?25l:[?12l[?25hlet g:test ="Test 3: Simple breakindent + briopt:sbr"
[?25l[?12l[?25h[?25l:[?12l[?25hset briopt=sbr,min:0 sbr=++
[?25l++  qrstuvwxyzABCDEF
++  GHIJKLMNOP    


++i[?12l[?25h[?25l:[?12l[?25hlet line1=ScreenChar(8)
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l3 more lines                                                           Test 2: Simple breakindent + sbr=>>                            abcd                                                       >>qr                                                       >>EF                                                                                                                                                                                                                                                                                                                                                          Test 3: Simple breakindent + briopt:sbrabcd++  qrst++  GHIJ3 more lines[?12l[?25h[?25l:[?12l[?25hlet g:test ="Test 4: Simple breakindent + min width: 18"
[?25l[?12l[?25h[?25l:[?12l[?25hset sbr= briopt=min:18
[?25l  qrstuvwxyzABCDEFGH
  IJKLMNOP    


indent  [?12l[?25h[?25l:[?12l[?25hlet line1=ScreenChar(8)
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l3 more lines                                                           Test 3: Simple breakindent + briopt:sbr                        abcd                                                   ++  qrst                                                   ++  GHIJ                                                                                                                                                                                                                                                                                                                                                          Test 4: Simple breakindent + min width: 18abcdqrstuvIJKLMN3 more lines[?12l[?25h[?25l:[?12l[?25hlet g:test =" Test 5: Simple breakindent + shift by 2"
[?25l[?12l[?25h[?25l:[?12l[?25hset briopt=shift:2,min:0
[?25l    qrstuvwxyzABCD
      EFGHIJKLMNOP


  indent[?12l[?25h[?25l:[?12l[?25hlet line1=ScreenChar(8)
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l3 more lines                                                           Test 4: Simple breakindent + min width: 18                     abcd                                                     qrstuv                                                     IJKLMN                                                                                                                                                                                                                                                                                                                                                          Test 5: Simple breakindent + shift by 2abcdqrEF3 more lines[?12l[?25h[?25l:[?12l[?25hlet g:test=" Test 6: Simple breakindent + shift by -1"
[?25l[?12l[?25h[?25l:[?12l[?25hset briopt=shift:-1,min:0
[?25lqrstuvwxyzABCDEFG
   HIJKLMNOP      


indent  [?12l[?25h[?25l:[?12l[?25hlet line1=ScreenChar(8)
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l3 more lines                                                            Test 5: Simple breakindent + shift by 2                       abcd                                                         qr                                                         EF                                                                                                                                                                                                                                                                                                                                                          Test 6: Simple breakindent + shift by -1abcdqrstuHIJKL3 more lines[?12l[?25h[?25l:[?12l[?25hlet g:test=" Test 7: breakindent + shift by +1 + nu + sbr=? briopt:sbr"
[?25l[?12l[?25h[?25l:[?12l[?25hset briopt=shift:1,sbr,min:0 nu sbr=? nuw=4
[?25l  1 
  2     abcdefghijkl
?        mnopqrstuvw
?        xyzABCDEFGH
?IJKLMNOP
  3                 
  4 Test 1: Simple b
?    reakindent
  5     abcd
  6     qrst[?12l[?25h[?25l:[?12l[?25hlet line1=ScreenChar(10)
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l3 more lines                                                            Test 6: Simple breakindent + shift by -1                      abcd                                                      qrstu                                                      HIJKL                                                                                                                                                                                                                                                                                                                                                          Test 7: breakindent + shift by +1 + nu + sbr=? briopt:sbr2     ab?m?x3 more lines[?12l[?25h[?25l:[?12l[?25hlet g:test=" Test 8: breakindent + shift:1 + nu + sbr=# list briopt:sbr"
[?25l[?12l[?25h[?25l:[?12l[?25hset briopt=shift:1,sbr,min:0 nu sbr=# list
[?25l$^Iabcdefghijklmn
#      opqrstuvwxyzA
#      BCDEFGHIJKLMN
#      OP$       $

# $$$[?12l[?25h[?25l:[?12l[?25hlet line1=ScreenChar(10)
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l3 more lines                                                            Test 7: breakindent + shift by +1 + nu + sbr=? briopt:sbr   2     ab                                                 ?        m                                                 ?        x                                                                                                                                                                                                                                                                                                                                                        Test 8: breakindent + shift:1 + nu + sbr=# list briopt:sbr2 ^Iabcd#      opq#      BCD3 more lines[?12l[?25h[?25l:[?12l[?25hlet g:test=" Test 9: breakindent + shift by +1 + 'nu' + sbr=# list"
[?25l[?12l[?25h[?25l:[?12l[?25hset briopt-=sbr
[?25l       #opqrstuvwxyz
       #ABCDEFGHIJKL
       #MNOP$


     #reakindent$[?12l[?25h[?25l:[?12l[?25hlet line1=ScreenChar(10)
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l3 more lines                                                            Test 8: breakindent + shift:1 + nu + sbr=# list briopt:sbr  2 ^Iabcd                                                 #      opq                                                 #      BCD                                                                                                                                                                                                                                                                                                                                                        Test 9: breakindent + shift by +1 + 'nu' + sbr=# list2 ^Iabcd#op#AB3 more lines[?12l[?25h[?25l:[?12l[?25hlet g:test=" Test 10: breakindent + shift by +1 + 'nu' + sbr=~ cpo+=n"
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo+=n sbr=~ nu nuw=4 nolist briopt=sbr,min:0
[?25l      abcdefghijkl
~       mnopqrstuvwx
~       yzABCDEFGHIJ
~       KLMNOP  

~   reakindent        [?12l[?25h[?25l:[?12l[?25hlet line1=ScreenChar(10)
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l3 more lines                                                            Test 9: breakindent + shift by +1 + 'nu' + sbr=# list       2 ^Iabcd                                                        #op                                                        #AB                                                                                                                                                                                                                                                                                                                                                        Test 10: breakindent + shift by +1 + 'nu' + sbr=~ cpo+=n2     ab~mn~yz3 more lines[?12l[?25h[?25l:[?12l[?25hwincmd p
[?25l[No Name] [+]         [No Name] [+]                                              [?12l[?25h[?25l:[?12l[?25hlet g:test="\n Test 11: strdisplaywidth when breakindent is on"
[?25l[?12l[?25h[?25l:[?12l[?25hset cpo-=n sbr=>> nu nuw=4 nolist briopt= ts=4
[?25l    >>
    >>
    >>


    >>reakindent 44  Test 9: breakindent + shift by +1 + 'nu' + sbr=# list 45   2 ^Iabcd 46        #op 47        #AB 48  49  Test 10: breakindent + shift by +1 + 'nu' + sbr=~ cpo+    >>=n 50   2     ab 51 ~       mn 52 ~       yz[?12l[?25h[?25l:[?12l[?25hlet text=getline(2) "skip leading tab when calculating text width
[?25l[?12l[?25h[?25l:[?12l[?25hlet width = strlen(text[1:])+indent(2)*4+strlen(&sbr)*3 " text wraps 3 times
[?25l[?12l[?25h[?25l:[?12l[?25h$put =g:test
[?25l 46        #op                                              47        #AB                                              48                                                         49  Test 10: breakindent + shift by +1 + 'nu' + sbr=~ cpo+    >>=n                                                    50   2     ab                                              51 ~       mn                                              52 ~       yz                                                                                                                                                                    53  54  Test 11: strdisplaywidth when breakindent is on[?12l[?25h[?25l:[?12l[?25h$put =printf(\"strdisplaywidth: %d == calculated: %d\", strdisplaywidth(text),

width)
[?25l  1 | 47 #AB89Test 10: breakindent + shift by +1 + 'nu' + sbr=~ cpo+  >>=n50  2     ab1~       mn2yz34Test 11: strdisplaywidth when breakindent is on5strdisplaywidth: 46 == calculated: 64[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test, that the string "    a\tb\tc\td\te" is correctly
[?25l[?12l[?25h[?25l:[?12l[?25h" displayed in a 20 column wide window (see bug report
[?25l[?12l[?25h[?25l:[?12l[?25h" https://groups.google.com/d/msg/vim_dev/ZOdg2mc9c9Y/TT8EhFjEy0IJ
[?25l[?12l[?25h[?25l:[?12l[?25honly
[?25l37?x3839 Test 8: breakindent + shift:1 + nu + sbr=# list briopt:sbr40  2 ^Iabcd41#      opq42#      BCD4344 Test 9: breakindent + shift by +1 + 'nu' + sbr=# list42 ^Iabcd4   #op 47        #AB 48  49  Test 10: breakindent + shift by +1 + 'nu' + sbr=~ cpo+=n
 50   2     ab
 51 ~       mn 52 ~       yz
 53  54  Test 11: strdisplaywidth when breakindent is on
 55 strdisplaywidth: 46 == calculated: 64
~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hvert 20new
[?25l 1        ||||||||||||||||||||||~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   [No Name]             38  39  Test 8: breakindent + shift:1 + nu + sbr=# list briopt    >>:sbr 40   2 ^Iabcd 41 #      opq 42 #      BCD 43  44  Test 9: breakindent + shift by +1 + 'nu' + sbr=# list 45   2 ^Iabcd 46 #op 47 #AB 48  49  Test 10: breakindent + shift by +1 + 'nu' + sbr=~ cpo+    >>=n 50   2     ab 51 ~mn 52 ~yz 53  54  Test 11: strdisplaywidth when breakindent is on 55 strdisplaywidth: 46 == calculated: 64~~[No Name] [+]                                              [?12l[?25h[?25l:[?12l[?25hset all& nocp breakindent briopt=min:10
[?25l    :sbr=n[?12l[?25h[?25l:[?12l[?25hcall setline(1, ["    a\tb\tc\td\te", "    z   y       x       w       v"])
[?25la   bc
        d   e       
    z   y       x   
        w       v   [+][?12l[?25h[?25l:[?12l[?25h/^\s*a
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25ha   [?25l:[?12l[?25hlet line1 = @0
[?25l[?12l[?25h[?25l:[?12l[?25h?^\s*z
[?25lsearch hit TOP, continuing at BOTTOM[?12l[?25hz   [?25l:[?12l[?25hlet line2 = @0
[?25l[?12l[?25h[?25l:[?12l[?25hquit!
[?25l 37 ?        x 38  39  Test 8: breakindent + shift:1 + nu + sbr=# list briopt:sbr
 40   2 ^Iabcd 41 #      opq 42 #      BCD 43  44  Test 9: breakindent + shift by +1 + 'nu' + sbr=# list 45   2 ^Iabcd 46        #op 47        #AB 48  49  Test 10: breakindent + shift by +1 + 'nu' + sbr=~ cpo+=n 50   2     ab 51 ~       mn 52 ~       yz 53  54  Test 11: strdisplaywidth when breakindent is on
 55 strdisplaywidth: 46 == calculated: 64                                                                  
~                                                                               [?12l[?25h[?25l:[?12l[?25h$put ='Test 12: breakindent with wrapping Tab'
[?25l 56 Test 12: breakindent with wrapping Tab[?12l[?25h[?25l:[?12l[?25h$put =line1
[?25l 57 d[?12l[?25h[?25l:[?12l[?25h$put =line2
[?25l 58 w[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h%w! test.out
[?25l"test.out" [New] 58L, 941C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25lE138: Can't write viminfo file /sbuild-nonexistent/.viminfo!

Press ENTER or type command to continue[?12l[?25h

[?1l>[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_changelist.failed test.ok test.out X* viminfo
cp test_changelist.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test_changelist.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test_changelist.in" 22 lines, 288 charactersTest 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
~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest changelist position after splitting window[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 14 lines, 163 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h

[?25l11[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h
[?25l22[?12l[?25h[?25l:[?12l[?25hset ul=100
[?25l[?12l[?25h
[?25l:[?12l[?25hvsplit
[?25l|
 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;|pass|
:catch  |
:  normal ggVGcfail^[|
:finally|
:  %w! test.out|
:endtry|
:qa!|
ENDTEST|
  |
test_changelist.in [+]                   Test changelist position after splitting windowSet 'undolevels' to make changelist forsourced fileSTARTTEST:so small.vimGkylp:set ul=100Gylp:set ul=100gg:vsplit:try:  normal g;:  normal ggVGcpass^[:catch:  normal ggVGcfail^[:finally:  %w! test.out:endtry:qa!ENDTESTtest_changelist.in [+]                 [?12l[?25h[?25l:[?12l[?25htry
[?25l
:  [?12l[?25h:  normal g;

[?25l:  [?12l[?25h:  normal ggVGcpass
[?25l21 fewer lines
:  

:  [?12l[?25h:catch

[?25l:  [?12l[?25h:  normal ggVGcfail

[?25l:  

:  [?12l[?25h:finally

[?25l:  [?12l[?25h:  %w! test.out

[?25l"test.out" [New File] 1 line, 5 characters written

:  [?12l[?25h:endtry
[?25lpass||||||||||~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                       
~                                           pass~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                         [?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_eval.failed test.ok test.out X* viminfo
cp test_eval.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test_eval.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test_eval.in" 207 lines, 5216 charactersTest for various eval features.   vim: set ft=vim :

Note: system clipboard support is not tested. I do not think anybody will thank
me for messing with clipboard.

STARTTEST
:so small.vim
:set encoding=latin1
:set noswapfile
:lang C
:fun AppendRegContents(reg)
    call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:reg,, getregtype(a:reg), getreg(a:reg), string(getreg(a:reg, 0, 1)), getreg(a:reg, 1)), string(getreg(a:reg, 1, 1))))
endfun
:command -nargs=? AR :call AppendRegContents(<q-args>)
:fun SetReg(...)
    call call('setreg', a:000)
    call append('$', printf('{{{2 setreg(%s)', string(a:000)[1:-2]))
    call AppendRegContents(a:1)
    if a:1 isnot# '='execute "silent normal! Go==\n==\e\"".a:1."P"
    endif[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for various eval features.   vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 195 lines, 5003 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:"
:" Using $ instead of '$' must give an error
:try
: call append($, 'foobar')
:catch
:$put =v:exception
:endtry
:"
:$put ='{{{1 getcurpos/setpos'
/^012345678
6l:let sp = getcurpos()
0:call setpos('.', sp)
jyl:$put
:"
:/^start:/+1,$wq! test.out
:" vim: et ts=4 isk-=\: fmr=???,???
:call getchar()
ENDTEST

012345678
012345678

start:[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset encoding=latin1
[?25l:"
:" Using $ instead of '$' must give an error
:try
: call append($, 'foobar')
:catch
:$put =v:exception
:endtry
:"
:$put ='{{{1 getcurpos/setpos'
/^012345678
6l:let sp = getcurpos()
0:call setpos('.', sp)
jyl:$put
:"
:/^start:/+1,$wq! test.out
:" vim: et ts=4 isk-=\: fmr=???,???
:call getchar()
ENDTEST

012345678
012345678

start:[?12l[?25h[?25l:[?12l[?25hset noswapfile
[?25l[?12l[?25h[?25l:[?12l[?25hlang C
[?25l[?12l[?25h[?25l:[?12l[?25hfun AppendRegContents(reg)
[?25l
:  [?12l[?25h    call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:

reg, getregtype(a:reg), getreg(a:reg), string(getreg(a:reg, 0, 1)), getreg(a:reg

, 1), string(getreg(a:reg, 1, 1))))

[?25l:  [?12l[?25hendfun
[?25l:"
:" Using $ instead of '$' must give an error
:try
: call append($, 'foobar')[?12l[?25h[?25l:[?12l[?25hcommand -nargs=? AR :call AppendRegContents(<q-args>)
[?25l[?12l[?25h[?25l:[?12l[?25hfun SetReg(...)
[?25l
:  [?12l[?25h    call call('setreg', a:000)

[?25l:  [?12l[?25h    call append('$', printf('{{{2 setreg(%s)', string(a:000)[1:-2]))

[?25l:  [?12l[?25h    call AppendRegContents(a:1)

[?25l:  [?12l[?25h    if a:1 isnot# '='

[?25l:    [?12l[?25h        execute "silent normal! Go==\n==\e\"".a:1."P"

[?25l:    [?12l[?25h    endif

[?25l:  [?12l[?25hendfun
[?25l:"
:" Using $ instead of '$' must give an error
:try
: call append($, 'foobar')
:catch
:$put =v:exception
:endtry[?12l[?25h[?25l:[?12l[?25hfun ErrExe(str)
[?25l
:  [?12l[?25h    call append('$', 'Executing '.a:str)

[?25l:  [?12l[?25h    try

[?25l:    [?12l[?25h        execute a:str

[?25l:    [?12l[?25h    catch

[?25l:    [?12l[?25h        $put =v:exception

[?25l:    [?12l[?25h    endtry

[?25l:  [?12l[?25hendfun
[?25l:"
:" Using $ instead of '$' must give an error
:try
: call append($, 'foobar')
:catch
:$put =v:exception
:endtry[?12l[?25h[?25l:[?12l[?25hfun Test()
[?25l
:  [?12l[?25h$put ='{{{1 let tests'

[?25l:  [?12l[?25hlet @" = 'abc'

[?25l:  [?12l[?25hAR "

[?25l:  [?12l[?25hlet @" = "abc\n"

[?25l:  [?12l[?25hAR "

[?25l:  [?12l[?25hlet @" = "abc\<C-m>"

[?25l:  [?12l[?25hAR "

[?25l:  [?12l[?25hlet @= = '"abc"'

[?25l:  [?12l[?25hAR =

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h$put ='{{{1 Basic setreg tests'

[?25l:  [?12l[?25hcall SetReg('a', 'abcA', 'c')

[?25l:  [?12l[?25hcall SetReg('b', 'abcB', 'v')

[?25l:  [?12l[?25hcall SetReg('c', 'abcC', 'l')

[?25l:  [?12l[?25hcall SetReg('d', 'abcD', 'V')

[?25l:  [?12l[?25hcall SetReg('e', 'abcE', 'b')

[?25l:  [?12l[?25hcall SetReg('f', 'abcF', "\<C-v>")

[?25l:  [?12l[?25hcall SetReg('g', 'abcG', 'b10')

[?25l:  [?12l[?25hcall SetReg('h', 'abcH', "\<C-v>10")

[?25l:  [?12l[?25hcall SetReg('I', 'abcI')

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h$put ='{{{1 Appending single lines with setreg()'

[?25l:  [?12l[?25hcall SetReg('A', 'abcAc', 'c')

[?25l:  [?12l[?25hcall SetReg('A', 'abcAl', 'l')

[?25l:  [?12l[?25hcall SetReg('A', 'abcAc2','c')

[?25l:  [?12l[?25hcall SetReg('b', 'abcBc', 'ca')

[?25l:  [?12l[?25hcall SetReg('b', 'abcBb', 'ba')

[?25l:  [?12l[?25hcall SetReg('b', 'abcBc2','ca')

[?25l:  [?12l[?25hcall SetReg('b', 'abcBb2','b50a')

[?25l:  [?12l[?25h

[?25l:  [?12l[?25hcall SetReg('C', 'abcCl', 'l')

[?25l:  [?12l[?25hcall SetReg('C', 'abcCc', 'c')

[?25l:  [?12l[?25hcall SetReg('D', 'abcDb', 'b')

[?25l:  [?12l[?25h

[?25l:  [?12l[?25hcall SetReg('E', 'abcEb', 'b')

[?25l:  [?12l[?25hcall SetReg('E', 'abcEl', 'l')

[?25l:  [?12l[?25hcall SetReg('F', 'abcFc', 'c')

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h$put ='{{{1 Appending NL with setreg()'

[?25l:  [?12l[?25hcall setreg('a', 'abcA2', 'c')

[?25l:  [?12l[?25hcall setreg('b', 'abcB2', 'v')

[?25l:  [?12l[?25hcall setreg('c', 'abcC2', 'l')

[?25l:  [?12l[?25hcall setreg('d', 'abcD2', 'V')

[?25l:  [?12l[?25hcall setreg('e', 'abcE2', 'b')

[?25l:  [?12l[?25hcall setreg('f', 'abcF2', "\<C-v>")

[?25l:  [?12l[?25hcall setreg('g', 'abcG2', 'b10')

[?25l:  [?12l[?25hcall setreg('h', 'abcH2', "\<C-v>10")

[?25l:  [?12l[?25hcall setreg('I', 'abcI2')

[?25l:  [?12l[?25h

[?25l:  [?12l[?25hcall SetReg('A', "\n")

[?25l:  [?12l[?25hcall SetReg('B', "\n", 'c')

[?25l:  [?12l[?25hcall SetReg('C', "\n")

[?25l:  [?12l[?25hcall SetReg('D', "\n", 'l')

[?25l:  [?12l[?25hcall SetReg('E', "\n")

[?25l:  [?12l[?25hcall SetReg('F', "\n", 'b')

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h$put ='{{{1 Setting lists with setreg()'

[?25l:  [?12l[?25hcall SetReg('a', ['abcA3'], 'c')

[?25l:  [?12l[?25hcall SetReg('b', ['abcB3'], 'l')

[?25l:  [?12l[?25hcall SetReg('c', ['abcC3'], 'b')

[?25l:  [?12l[?25hcall SetReg('d', ['abcD3'])

[?25l:  [?12l[?25hcall SetReg('e', [1, 2, 'abc', 3])

[?25l:  [?12l[?25hcall SetReg('f', [1, 2, 3])

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h$put ='{{{1 Appending lists with setreg()'

[?25l:  [?12l[?25hcall SetReg('A', ['abcA3c'], 'c')

[?25l:  [?12l[?25hcall SetReg('b', ['abcB3l'], 'la')

[?25l:  [?12l[?25hcall SetReg('C', ['abcC3b'], 'lb')

[?25l:  [?12l[?25hcall SetReg('D', ['abcD32'])

[?25l:  [?12l[?25h

[?25l:  [?12l[?25hcall SetReg('A', ['abcA32'])

[?25l:  [?12l[?25hcall SetReg('B', ['abcB3c'], 'c')

[?25l:  [?12l[?25hcall SetReg('C', ['abcC3l'], 'l')

[?25l:  [?12l[?25hcall SetReg('D', ['abcD3b'], 'b')

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h$put ='{{{1 Appending lists with NL with setreg()'

[?25l:  [?12l[?25hcall SetReg('A', ["\n", 'abcA3l2'], 'l')

[?25l:  [?12l[?25hcall SetReg('B', ["\n", 'abcB3c2'], 'c')

[?25l:  [?12l[?25hcall SetReg('C', ["\n", 'abcC3b2'], 'b')

[?25l:  [?12l[?25hcall SetReg('D', ["\n", 'abcD3b50'],'b50')

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h$put ='{{{1 Setting lists with NLs with setreg()'

[?25l:  [?12l[?25hcall SetReg('a', ['abcA4-0', "\n", "abcA4-2\n", "\nabcA4-3", "abcA4-4\nabcA4

-4-2"])

[?25l:  [?12l[?25hcall SetReg('b', ['abcB4c-0', "\n", "abcB4c-2\n", "\nabcB4c-3", "abcB4c-4\na

bcB4c-4-2"], 'c')

[?25l:  [?12l[?25hcall SetReg('c', ['abcC4l-0', "\n", "abcC4l-2\n", "\nabcC4l-3", "abcC4l-4\na

bcC4l-4-2"], 'l')

[?25l:  [?12l[?25hcall SetReg('d', ['abcD4b-0', "\n", "abcD4b-2\n", "\nabcD4b-3", "abcD4b-4\na

bcD4b-4-2"], 'b')

[?25l:  [?12l[?25hcall SetReg('e', ['abcE4b10-0', "\n", "abcE4b10-2\n", "\nabcE4b10-3", "abcE4

b10-4\nabcE4b10-4-2"], 'b10')

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h$put ='{{{1 Search and expressions'

[?25l:  [?12l[?25hcall SetReg('/', ['abc/'])

[?25l:  [?12l[?25hcall SetReg('/', ["abc/\n"])

[?25l:  [?12l[?25hcall SetReg('=', ['"abc/"'])

[?25l:  [?12l[?25hcall SetReg('=', ["\"abc/\n\""])

[?25l:  [?12l[?25h

[?25l:  [?12l[?25h$put ='{{{1 Errors'

[?25l:  [?12l[?25hcall ErrExe('call setreg()')

[?25l:  [?12l[?25hcall ErrExe('call setreg(1)')

[?25l:  [?12l[?25hcall ErrExe('call setreg(1, 2, 3, 4)')

[?25l:  [?12l[?25hcall ErrExe('call setreg([], 2)')

[?25l:  [?12l[?25hcall ErrExe('call setreg(1, {})')

[?25l:  [?12l[?25hcall ErrExe('call setreg(1, 2, [])')

[?25l:  [?12l[?25hcall ErrExe('call setreg("/", ["1", "2"])')

[?25l:  [?12l[?25hcall ErrExe('call setreg("=", ["1", "2"])')

[?25l:  [?12l[?25hcall ErrExe('call setreg(1, ["", "", [], ""])')

[?25l:  [?12l[?25hendfun
[?25l:"
:" Using $ instead of '$' must give an error
:try
: call append($, 'foobar')
:catch
:$put =v:exception
:endtry
:"
:$put ='{{{1 getcurpos/setpos'
/^012345678
6l:let sp = getcurpos()
0:call setpos('.', sp)
jyl:$put
:"
:/^start:/+1,$wq! test.out
:" vim: et ts=4 isk-=\: fmr=???,???
:call getchar()
ENDTEST

012345678
012345678

start:[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall Test()
[?25l{{{2 setreg('=', ['"abc/^@"'])
=: type v; value: abc/^@ (['abc/^@']), expr: "abc/^@" (['"abc/^@"'])
{{{1 Errors
Executing call setreg()Vim(call):E119: Not enough arguments for function: setreg
Executing call setreg(1)
Vim(call):E119: Not enough arguments for function: setreg
Executing call setreg(1, 2, 3, 4)
Vim(call):E118: Too many arguments for function: setreg
Executing call setreg([], 2)
Vim(call):E730: using List as a String
Executing call setreg(1, {})
Vim(call):E731: using Dictionary as a String
Executing call setreg(1, 2, [])
Vim(call):E730: using List as a String
Executing call setreg("/", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore lines
Executing call setreg("=", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore linesExecuting call setreg(1, ["", "", [], ""])
Vim(call):E730: using List as a String
[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunction SetReg
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunction AppendRegContents
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunction ErrExe
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunction Test
[?25l[?12l[?25h[?25l:[?12l[?25hdelcommand AR
[?25l[?12l[?25h[?25l:[?12l[?25hcall garbagecollect(1)
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" function name not starting with capital
[?25l[?12l[?25h[?25l:[?12l[?25htry
[?25l
:  [?12l[?25h:func! g:test()

[?25l:  [?12l[?25h:echo "test"

[?25l:  [?12l[?25h:endfunc

[?25l:  [?12l[?25h:catch

[?25l:  [?12l[?25h:$put =v:exception

[?25l:  [?12l[?25h:endtry
[?25l=: type v; value: abc/^@ (['abc/^@']), expr: "abc/^@" (['"abc/^@"'])
{{{1 Errors
Executing call setreg()
Vim(call):E119: Not enough arguments for function: setreg
Executing call setreg(1)
Vim(call):E119: Not enough arguments for function: setreg
Executing call setreg(1, 2, 3, 4)Vim(call):E118: Too many arguments for function: setreg
Executing call setreg([], 2)Vim(call):E730: using List as a String
Executing call setreg(1, {})Vim(call):E731: using Dictionary as a String
Executing call setreg(1, 2, [])Vim(call):E730: using List as a String
Executing call setreg("/", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore linesExecuting call setreg("=", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore linesExecuting call setreg(1, ["", "", [], ""])
Vim(call):E730: using List as a Stringfunction):E128: Function name must start with a capital or "s:": g:test()[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" function name includes a colon
[?25l[?12l[?25h[?25l:[?12l[?25htry
[?25l
:  [?12l[?25h:func! b:test()

[?25l:  [?12l[?25h:echo "test"

[?25l:  [?12l[?25h:endfunc

[?25l:  [?12l[?25h:catch

[?25l:  [?12l[?25h:$put =v:exception

[?25l:  [?12l[?25h:endtry
[?25l{{{1 Errors
Executing call setreg()
Vim(call):E119: Not enough arguments for function: setreg
Executing call setreg(1)
Vim(call):E119: Not enough arguments for function: setreg
Executing call setreg(1, 2, 3, 4)
Vim(call):E118: Too many arguments for function: setreg
Executing call setreg([], 2)Vim(call):E730: using List as a String
Executing call setreg(1, {})Vim(call):E731: using Dictionary as a String
Executing call setreg(1, 2, [])Vim(call):E730: using List as a String
Executing call setreg("/", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore linesExecuting call setreg("=", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore linesExecuting call setreg(1, ["", "", [], ""])
Vim(call):E730: using List as a Stringfunction):E128: Function name must start with a capital or "s:": g:test()b[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" function name folowed by #
[?25l[?12l[?25h[?25l:[?12l[?25htry
[?25l
:  [?12l[?25h:func! test2() "#

[?25l:  [?12l[?25h:echo "test2"

[?25l:  [?12l[?25h:endfunc

[?25l:  [?12l[?25h:catch

[?25l:  [?12l[?25h:$put =v:exception

[?25l:  [?12l[?25h:endtry
[?25lExecuting call setreg()
Vim(call):E119: Not enough arguments for function: setreg
Executing call setreg(1)
Vim(call):E119: Not enough arguments for function: setreg
Executing call setreg(1, 2, 3, 4)
Vim(call):E118: Too many arguments for function: setreg
Executing call setreg([], 2)Vim(call):E730: using List as a String
Executing call setreg(1, {})Vim(call):E731: using Dictionary as a String
Executing call setreg(1, 2, [])Vim(call):E730: using List as a String
Executing call setreg("/", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore linesExecuting call setreg("=", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore linesExecuting call setreg(1, ["", "", [], ""])
Vim(call):E730: using List as a Stringfunction):E128: Function name must start with a capital or "s:": g:test()btest2() "#[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" function name starting with/without "g:", buffer-local funcref.
[?25l[?12l[?25h[?25l:[?12l[?25hfunction! g:Foo(n)
[?25l
:  [?12l[?25h:  $put ='called Foo(' . a:n . ')'

[?25l:  [?12l[?25h:endfunction
[?25lExecuting call setreg()
Vim(call):E119: Not enough arguments for function: setreg[?12l[?25h[?25l
:[?12l[?25hlet b:my_func = function('Foo')
[?25l[?12l[?25h[?25l:[?12l[?25hcall b:my_func(1)
[?25l
called Foo(1)[?12l[?25h[?25l
:[?12l[?25hecho g:Foo(2)
[?25l0
called Foo(2)[?12l[?25h[?25l
:[?12l[?25hecho Foo(3)
[?25l0
called Foo(3)[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" script-local function used in Funcref must exist.
[?25l[?12l[?25h[?25l:[?12l[?25hso test_eval_func.vim
[?25ls:Testje exists: 0
func s:Testje exists: 1
Bar exists: 1
func Bar exists: 1[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Using $ instead of '$' must give an error
[?25l[?12l[?25h[?25l:[?12l[?25htry
[?25l
:  [?12l[?25h: call append($, 'foobar')

[?25l:  [?12l[?25h:catch

[?25l:  [?12l[?25h:$put =v:exception

[?25l:  [?12l[?25h:endtry
[?25lExecuting call setreg(1, {})
Vim(call):E731: using Dictionary as a String
Executing call setreg(1, 2, [])
Vim(call):E730: using List as a String
Executing call setreg("/", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore linesExecuting call setreg("=", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore linesExecuting call setreg(1, ["", "", [], ""])
Vim(call):E730: using List as a Stringfunction):E128: Function name must start with a capital or "s:": g:test()btest2() "#
called Foo(123
s:Testje exists: 0
func s:Testje exists: 1
Bar exists: 1func Bar exists: 1
Vim(call):E116: Invalid arguments for function append[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h$put ='{{{1 getcurpos/setpos'
[?25l
{{{1 getcurpos/setpos[?12l[?25h[?25l
/[?12l[?25h^012345678
[?25lsearch hit BOTTOM, continuing at TOP:$put ='{{{1 getcurpos/setpos'
/^012345678
6l:let sp = getcurpos()
0:call setpos('.', sp)
jyl:$put
:"
:/^start:/+1,$wq! test.out
:" vim: et ts=4 isk-=\: fmr=???,???
:call getchar()
ENDTEST

012345678
012345678

start:
{{{1 let tests
": type v; value: abc (['abc']), expr: abc (['abc'])
": type V; value: abc^@ (['abc']), expr: abc^@ (['abc'])
": type V; value: abc^M^@ (['abc^M']), expr: abc^M^@ (['abc^M'])
=: type v; value: abc (['abc']), expr: "abc" (['"abc"'])
{{{1 Basic setreg tests
{{{2 setreg('a', 'abcA', 'c')
a: type v; value: abcA (['abcA']), expr: abcA (['abcA'])
search hit BOTTOM, continuing at TOP[?12l[?25h012345[?25l:[?12l[?25hlet sp = getcurpos()
[?25l[?12l[?25h
[?25l:[?12l[?25hcall setpos('.', sp)
[?25l[?12l[?25h[?25l:[?12l[?25h$put
[?25lExecuting call setreg(1, 2, [])
Vim(call):E730: using List as a String
Executing call setreg("/", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore lines
Executing call setreg("=", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore lines
Executing call setreg(1, ["", "", [], ""])
Vim(call):E730: using List as a String
Vim(function):E128: Function name must start with a capital or "s:": g:test()
Vim(function):E128: Function name must start with a capital or "s:": b:test()
Vim(function):E128: Function name must start with a capital or "s:": test2() "#
called Foo(1)
called Foo(2)
called Foo(3)
s:Testje exists: 0
func s:Testje exists: 1
Bar exists: 1
func Bar exists: 1
Vim(call):E116: Invalid arguments for function append
{{{1 getcurpos/setpos
6[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h/^start:/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 350 lines, 11010 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_insertcount.failed test.ok test.out X* viminfo
cp test_insertcount.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test_insertcount.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test_insertcount.in" 14 lines, 204 charactersTests for repeating insert and replace.

STARTTEST
:so small.vim
:/Second
4gro
:/^First/,$wq! test.out
:" get here when failed and in Insert mode
^[:.wq! test.out
ENDTEST

First line
Second line
Last line
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for repeating insert and replace.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 111 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h/Second
[?25l[?12l[?25h[?25looooecond line
ooo[?12l[?25h
Las[?25l:[?12l[?25h/^First/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 3 lines, 36 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_listlbr.failed test.ok test.out X* viminfo
cp test_listlbr.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test_listlbr.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test_listlbr.in" 70 lines, 1843 charactersTest for linebreak and list option (non-utf8)

STARTTEST
:so small.vim
:if !exists("+linebreak") || !has("conceal") | e! test.ok | w! test.out | qa! |  endif
:10new|:vsp|:vert resize 20
:put =\"\tabcdef hijklmn\tpqrstuvwxyz_1060ABCDEFGHIJKLMNOP \"
:norm! zt
:set ts=4 sw=4 sts=4 linebreak sbr=+ wrap
:fu! ScreenChar(width)
:let c=''
:for j in range(1,4)
:for i in range(1,a:width)
:let c.=nr2char(screenchar(j, i))
:endfor
:let c.="\n"
:endfor
:return c
:endfu
:fu! DoRecordScreen()
:wincmd l
:$put =printf(\"\n%s\", g:test)[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for linebreak and list option (non-utf8)[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 65 lines, 1767 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:let line="_S_\t bla"
:$put =line
:$
:norm! zt
:let g:test ="Test 5: set linebreak with conceal and set list and tab displayed  by different char (line may not be truncated)"
:set cpo&vim list linebreak conceallevel=2 concealcursor=nv listchars=tab:ab
:syn match ConcealVar contained /_/ conceal
:syn match All /.*/ contains=ConcealVar
:let line=ScreenChar(winwidth(0))
:call DoRecordScreen()
:set cpo&vim linebreak
:let g:test ="Test 6: set linebreak with visual block mode"
:let line="REMOVE: this not"
:$put =line
:let line="REMOVE: aaaaaaaaaaaaa"
:$put =line
:1/^REMOVE:
0^Vjf x:$put
:%w! test.out
:qa!
ENDTEST
dummy text[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif !exists("+linebreak") || !has("conceal") | e! test.ok | w! test.out | qa! |

endif
[?25l:let line="_S_\t bla"[?12l[?25h[?25l
:[?12l[?25h10new|:vsp|:vert resize 20
[?25l                    ||||||||||~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  let g:test ="Test 6: set linebreak with visual block mode"line="REMOVE: this not"$put =linelet line="REMOVE: aaaaaaaaaaaaa"
:$put =line1/^REMOVE:
0^Vjf x:$put
:%w! test.out
:qaENDTEST
dummy text
test_listlbr.in                                                                 [?12l[?25h[?25l:[?12l[?25hput =\"\tabcdef hijklmn\tpqrstuvwxyz_1060ABCDEFGHIJKLMNOP \"
[?25l        abcdef hijkl
mn  pqrstuvwxyz_1060
ABCDEFGHIJKLMNOP    [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP [+][?12l[?25h[?25l:[?12l[?25hnorm! zt
[?25l        abcdef hijkl
mn  pqrstuvwxyz_1060
ABCDEFGHIJKLMNOP    
~                   
~                   
~                   
~                   
~                   
~                   
                    
~                   [?12l[?25h[?25l:[?12l[?25hset ts=4 sw=4 sts=4 linebreak sbr=+ wrap
[?25labcdef          
+hijklmn            
+pqrstuvwxyz_1060ABC
+DEFGHIJKLMNOP      abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP [?12l[?25h[?25l:[?12l[?25hfu! ScreenChar(width)
[?25l
:  [?12l[?25h:^Ilet c=''

[?25l:  [?12l[?25h:^Ifor j in range(1,4)

[?25l:    [?12l[?25h:^I    for i in range(1,a:width)

[?25l:      [?12l[?25h:^I    ^Ilet c.=nr2char(screenchar(j, i))

[?25l:      [?12l[?25h:^I    endfor

[?25l:    [?12l[?25h:           let c.="\n"

[?25l:    [?12l[?25h:^Iendfor

[?25l:  [?12l[?25h:^Ireturn c

[?25l:  [?12l[?25h:endfu
[?25labcdef|
+hijklmn|
+pqrstuvwxyz_1060ABC|
+DEFGHIJKLMNOP      ||||||~                   
~                   
~                   
~                   
~                   abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [?12l[?25h[?25l:[?12l[?25hfu! DoRecordScreen()
[?25l
:  [?12l[?25h:^Iwincmd l

[?25l:  [?12l[?25h:^I$put =printf(\"\n%s\", g:test)

[?25l:  [?12l[?25h:^I$put =g:line

[?25l:  [?12l[?25h:^Iwincmd p

[?25l:  [?12l[?25h:endfu
[?25labcdef|
+hijklmn|
+pqrstuvwxyz_1060ABC|
+DEFGHIJKLMNOP      ||
~                   abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          [?12l[?25h[?25l:[?12l[?25hlet g:test="Test 1: set linebreak"
[?25l[?12l[?25h[?25l:[?12l[?25hredraw!
[?25labcdef|
+hijklmn|
+pqrstuvwxyz_1060ABC|
+DEFGHIJKLMNOP      |||||||~                   
~                   
~                   
~                   
~                   
~                   
[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              :let g:test ="Test 6: set linebreak with visual block mode"
:let line="REMOVE: this not"
:$put =line
:let line="REMOVE: aaaaaaaaaaaaa"
:$put =line
:1/^REMOVE:
0^Vjf x:$put
:%w! test.out
:qa!
ENDTEST
dummy text
test_listlbr.in                                                                 [?12l[?25h[?25l:[?12l[?25hlet line=ScreenChar(winwidth(0))
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l4 more lines                    
Test 1: set         
+linebreak          
    abcdef          
+hijklmn            
+pqrstuvwxyz_1060ABCTest 1: set linebreak    abcdef          +hijklmn            +pqrstuvwxyz_1060ABC+DEFGHIJKLMNOP      [?12l[?25h[?25l:[?12l[?25hlet g:test="Test 2: set linebreak + set list"
[?25l[?12l[?25h[?25l:[?12l[?25hset linebreak list listchars=
[?25l^Iabcdef hijklmn^I  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP      
              
Test 1: set
+linebreak 
    abcdef
+hijklmn  
+pqrstuvwxyz_1060ABC
+DEFGHIJKLMNOP      [?12l[?25h[?25l:[?12l[?25hredraw!
[?25l^Iabcdef hijklmn^I  |
+pqrstuvwxyz_1060ABC|
+DEFGHIJKLMNOP      ||
Test 1: set|
+linebreak|
    abcdef|
+hijklmn|
+pqrstuvwxyz_1060ABC|
+DEFGHIJKLMNOP      |
[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOPTest 1: set linebreakabcdef+hijklmn+pqrstuvwxyz_1060ABC+DEFGHIJKLMNOP~                                                          ~                                                          [No Name] [+]                                              :let g:test ="Test 6: set linebreak with visual block mode"
:let line="REMOVE: this not"
:$put =line
:let line="REMOVE: aaaaaaaaaaaaa"
:$put =line
:1/^REMOVE:
0^Vjf x:$put
:%w! test.out
:qa!
ENDTEST
dummy text
test_listlbr.in                                                                 [?12l[?25h[?25l:[?12l[?25hlet line=ScreenChar(winwidth(0))
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l4 more lines    abcdef                                                 +hijklmn                                                   +pqrstuvwxyz_1060ABC                                       +DEFGHIJKLMNOP                                             ~                                                          ~                                                                                                                                                                                                                                                                                                      Test 2: set linebreak + set list^Iabcdef hijklmn^I+pqrstuvwxyz_1060ABC+DEFGHIJKLMNOP4 more lines[?12l[?25h[?25l:[?12l[?25hlet g:test ="Test 3: set linebreak nolist"
[?25l[?12l[?25h[?25l:[?12l[?25hset nolist linebreak
[?25l    abcdef          hijklmn            pqrstuvwxyz_1060ABC
+DEFGHIJKLMNOP
           
Test 1: set
+linebreak
    abcdef
+hijklmn            
+pqrstuvwxyz_1060ABC[?12l[?25h[?25l:[?12l[?25hredraw!
[?25labcdef|
+hijklmn|
+pqrstuvwxyz_1060ABC|
+DEFGHIJKLMNOP      ||
Test 1: set|
+linebreak|
    abcdef|
+hijklmn|
+pqrstuvwxyz_1060ABC|
[No Name] [+]        abcdef+hijklmn+pqrstuvwxyz_1060ABC+DEFGHIJKLMNOPTest 2: set linebreak + set list^Iabcdef hijklmn^I+pqrstuvwxyz_1060ABC+DEFGHIJKLMNOP[No Name] [+]                                              :let g:test ="Test 6: set linebreak with visual block mode"
:let line="REMOVE: this not"
:$put =line
:let line="REMOVE: aaaaaaaaaaaaa"
:$put =line
:1/^REMOVE:
0^Vjf x:$put
:%w! test.out
:qa!
ENDTEST
dummy text
test_listlbr.in                                                                 [?12l[?25h[?25l:[?12l[?25hlet line=ScreenChar(winwidth(0))
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l4 more lines^Iabcdef hijklmn^I                                         +pqrstuvwxyz_1060ABC                                       +DEFGHIJKLMNOP                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Test 3: set linebreak nolistabcdef+hijklmn+pqrstuvwxyz_1060ABC+DEFGHIJKLMNOP4 more lines[?12l[?25h[?25l:[?12l[?25hlet g:test ="Test 4: set linebreak with tab and 1 line as long as screen: shou

ld break!"
[?25labcdef|^Iabcdef hijklmn^I[?12l[?25h[?25l:[?12l[?25hset nolist linebreak ts=8
[?25l    abcdef[?12l[?25h[?25l:[?12l[?25hlet line="1\t".repeat('a', winwidth(0)-2)
[?25l[?12l[?25h[?25l:[?12l[?25h$put =line
[?25l      
        
Test 3: set         linebreak nolist
    abcdef
+hijklmn   
+pqrstuvwxyz_1060ABC
+DEFGHIJKLMNOP
1       
+aaaaaaaaaaaaaaaaaa [?12l[?25h[?25l:[?12l[?25h$
[?25l[?12l[?25h[?25l:[?12l[?25hnorm! zt
[?25l1                   
+aaaaaaaaaaaaaaaaaa 
                    
                    
                    
                    
                    
                    
                    
                    ~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   [?12l[?25h[?25l:[?12l[?25hredraw!
[?25l1|
+aaaaaaaaaaaaaaaaaa |||||||||~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
[No Name] [+]        ^Iabcdef hijklmn^I+pqrstuvwxyz_1060ABC+DEFGHIJKLMNOPTest 3: set linebreak nolistabcdef+hijklmn+pqrstuvwxyz_1060ABC+DEFGHIJKLMNOP[No Name] [+]                                              :let g:test ="Test 6: set linebreak with visual block mode"
:let line="REMOVE: this not"
:$put =line
:let line="REMOVE: aaaaaaaaaaaaa"
:$put =line
:1/^REMOVE:
0^Vjf x:$put
:%w! test.out
:qa!
ENDTEST
dummy text
test_listlbr.in                                                                 [?12l[?25h[?25l:[?12l[?25hlet line=ScreenChar(winwidth(0))
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l4 more lines                    
Test 4: set         
+linebreak with tab 
+and 1 line as long 
+as screen: should  
+break!             
1                   
+aaaaaaaaaaaaaaaaaa +pqrstuvwxyz_1060ABC                                       +DEFGHIJKLMNOP                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     1aaaaaaaaaaaaaaaaaaTest 4: set linebreak with tab and 1 line as long as screen+: should break!1+aaaaaaaaaaaaaaaaaa~~4 more lines[?12l[?25h[?25l:[?12l[?25hlet line="_S_\t bla"
[?25l[?12l[?25h[?25l:[?12l[?25h$put =line
[?25lTest 4: set         
+linebreak with tab 
+and 1 line as long 
+as screen: should  
+break!             
1                   
+aaaaaaaaaaaaaaaaaa 
                    
                    
                    ~
~
_S_      bla[?12l[?25h[?25l:[?12l[?25h$
[?25l[?12l[?25h[?25l:[?12l[?25hnorm! zt
[?25l_S_      bla        
                    
                    
                    
                    
                    
                    
                    
                    
                    ~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   
~                   [?12l[?25h[?25l:[?12l[?25hlet g:test ="Test 5: set linebreak with conceal and set list and tab displayed

by different char (line may not be truncated)"
[?25l_S_      bla|+pqrstuvwxyz_1060ABC[?12l[?25h[?25l:[?12l[?25hset cpo&vim list linebreak conceallevel=2 concealcursor=nv listchars=tab:ab
[?25labbbb[?12l[?25h[?25l:[?12l[?25hsyn match ConcealVar contained /_/ conceal
[?25l[?12l[?25h[?25l:[?12l[?25hsyn match All /.*/ contains=ConcealVar
[?25lSabb[?12l[?25h[?25l:[?12l[?25hlet line=ScreenChar(winwidth(0))
[?25l[?12l[?25h[?25l:[?12l[?25hcall DoRecordScreen()
[?25l4 more lines                    
Test 5: set         
+linebreak with     
+conceal and set    
+list and tab       
+displayed by       
+different char     
+(line may not be   
+truncated)         ~                                                          ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  _S_      blaTest 5: set linebreak with conceal and set list and tab dis+played by different char (line may not be truncated)Sabbbbbb bla~~~4 more lines[?12l[?25h[?25l:[?12l[?25hset cpo&vim linebreak
[?25l[?12l[?25h[?25l:[?12l[?25hlet g:test ="Test 6: set linebreak with visual block mode"
[?25l[?12l[?25h[?25l:[?12l[?25hlet line="REMOVE: this not"
[?25l[?12l[?25h[?25l:[?12l[?25h$put =line
[?25labbbbbb
~
~          
~              
REMOVE: this no
~                   
~                   
~                   
~                   
~                   [?12l[?25h[?25l:[?12l[?25hlet line="REMOVE: aaaaaaaaaaaaa"
[?25l[?12l[?25h[?25l:[?12l[?25h$put =line
[?25lREMOVE:             
+aaaaaaaaaaaaa      [?12l[?25h[?25l:[?12l[?25h1/^REMOVE:
[?25l[?12l[?25h[?25l[?12l[?25h[?25lR[?12l[?25h[?25lEMOVE: 
REMOVE:[?12l[?25h[?25lthis not        
aaaaaaaaaaaaa
~                   [?12l[?25h[?25l:[?12l[?25h$put
[?25lREMOVE:             
REMOVE:             [?12l[?25h[?25l:[?12l[?25h%w! test.out
[?25l"test.out" [New File] 38 lines, 818 characters writtentest.out]      test.out     [?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_listlbr_utf8.failed test.ok test.out X* viminfo
cp test_listlbr_utf8.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test_listlbr_utf8.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test_listlbr_utf8.in" 52 lines, 1218 charactersTest for linebreak and list option in utf-8 mode

STARTTEST
:so small.vim
:if !exists("+linebreak") | e! test.ok | w! test.out | qa! | endif
:so mbyte.vim
:if &enc !=? 'utf-8'|:e! test.ok|:w! test.out|qa!|endif
:10new|:vsp|:vert resize 20
:put =\"\tabcdef hijklmn\tpqrstuvwxyz\u00a01060ABCDEFGHIJKLMNOP \"
:norm! zt
:set ts=4 sw=4 sts=4 linebreak sbr=+ wrap
:fu! ScreenChar(width)
:let c=''
:for j in range(1,4)
:for i in range(1,a:width)
:let c.=nr2char(screenchar(j, i))
:endfor
:let c.="\n"
:endfor
:return c
:endfu
:fu! DoRecordScreen()
:wincmd l[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for linebreak and list option in utf-8 mode[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 47 lines, 1139 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:redraw!
:let line=ScreenChar(winwidth(0))
:call DoRecordScreen()
:"
:let g:test ="Test 2: set nolinebreak list"
:set list nolinebreak
:redraw!
:let line=ScreenChar(winwidth(0))
:call DoRecordScreen()
:"
:let g:test ="Test 3: set linebreak nolist"
:$put =\"\t*mask = nil;\"
:$
:norm! zt
:set nolist linebreak
:redraw!
:let line=ScreenChar(winwidth(0))
:call DoRecordScreen()
:"
:%w! test.out
:qa!
ENDTEST
dummy text[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif !exists("+linebreak") | e! test.ok | w! test.out | qa! | endif
[?25l[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif &enc !=? 'utf-8'|:e! test.ok|:w! test.out|qa!|endif
[?25l"test.ok" 21 lines, 467 characters

"test.out" [New File] 21 lines, 467 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_mapping.failed test.ok test.out X* viminfo
cp test_mapping.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test_mapping.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test_mapping.in" 16 lines, 233 charactersTest for mappings and abbreviations

STARTTEST
:so small.vim
:so mbyte.vim
:set encoding=utf-8
^[
:/^test/,$w! test.out
:qa!
ENDTEST

test starts here:

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for mappings and abbreviations[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 9 lines, 158 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset encoding=utf-8
[?25lTest for mappings and abbreviations

STARTTEST
:so small.vim
:so mbyte.vim
:set encoding=utf-8
: " abbreviations with р (0x80) should work
:inoreab чкпр   vim
GAчкпр
^[
:/^test/,$w! test.out
:qa!
ENDTEST

test starts here:

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h " abbreviations with р0x80) should work
[?25l[?12l[?25h[?25l:[?12l[?25hinoreab чкпр vim
[?25l[?12l[?25h

[?25lч[?12l[?25h[?25lк[?12l[?25h[?25lп[?12l[?25h[?25l
vim[?12l[?25h[?25l:[?12l[?25h/^test/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 2 lines, 22 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_options.failed test.ok test.out X* viminfo
cp test_options.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test_options.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test_options.in" 70 lines, 1954 charactersTest for ":options".

STARTTEST
:so small.vim
:let caught = 'ok'
:try
  :options
:catch
  :let caught = v:throwpoint . "\n" . v:exception
:endtry
:buf 1
:$put =caught
:function! TrySet(opt, val, exc)
  :let caught = 'ok'
  :try
    :exe 'set '.a:opt.'='.a:val
  :catch
    :let caught = v:exception
  :endtry
  :$put =a:val.' exception? '.(caught =~ a:exc)
:endfunction
: " Test filetype valid
:set ft=valid_name[?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for ":options".[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 64 lines, 1906 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST:"
:$put ='syn valid-name? '.('valid-name' == &syntax)
:exe "set syn=trunc\x00name"
:$put ='syn trunc? '.('trunc' == &syntax)
: " Test keymap valid
:call TrySet('kmp', "valid_name", 'E544:')
:call TrySet('kmp', "valid_name", 'valid_name')
:call TrySet('kmp', "valid-name", 'E544:')
:call TrySet('kmp', "valid-name", 'valid-name')
:"
:call TrySet('kmp', "wrong;name", 'E474:')
:call TrySet('kmp', "wrong\\\\name", 'E474:')
:call TrySet('kmp', "wrong\\|name", 'E474:')
:call TrySet('kmp', "wrong/name", 'E474:')
:call TrySet('kmp', "wrong\\\nname", 'E474:')
:"
:call TrySet('kmp', "trunc\x00name", 'E544:')
:call TrySet('kmp', "trunc\x00name", 'trunc')
:/^result/,$w! test.out
:qa!
ENDTEST

result[?12l[?25h
[?25l

:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hlet caught = 'ok'
[?25l[?12l[?25h[?25l:[?12l[?25htry
[?25l
:  [?12l[?25h  :options

[?25l"option-window" [New File]

:  [?12l[?25h:catch 

[?25l:  [?12l[?25h  :let caught = v:throwpoint . "\n" . v:exception

[?25l:  [?12l[?25h:endtry
[?25l" Each "set" line shows the current value of an option (on the left).
" Hit <CR> on a "set" line to execute it.
"A boolean option will be toggled.
"For other options you can edit the value.
" Hit <CR> on a help line to open a help window on this option.
" Hit <CR> on an index line to jump there.
" Hit <Space> on a "set" line to refresh it. 1 important 2 moving around, searching and patterns
 3 tagsoption-window                                                                   test_options.in                                                                 [?12l[?25h[?25l:[?12l[?25hbuf 1
[?25lTest for ":options".STARTTEST:so small.vim:let caught = 'ok':try  :options:catch
  :let caught = v:throwpoint . "\n" . v:exception
:endtry:buf 1test_options.in"test_options.in" line 1 of 70 --1%-- col 1[?12l[?25h[?25l:[?12l[?25h$put =caught
[?25l:call TrySet('kmp', "wrong/name", 'E474:')
:call TrySet('kmp', "wrong\\\nname", 'E474:')
:"call TrySet('kmp', "trunc\x00name", 'E544:')
:call TrySet('kmp', "trunc\x00name", 'trunc')
:/^result/,$w! test.out
:qa!ENDTESTresultok[+][+][?12l[?25h[?25l:[?12l[?25hfunction! TrySet(opt, val, exc)
[?25l
:  [?12l[?25h  :let caught = 'ok'

[?25l:  [?12l[?25h  :try

[?25l:    [?12l[?25h    :exe 'set '.a:opt.'='.a:val

[?25l:    [?12l[?25h  :catch

[?25l:    [?12l[?25h    :let caught = v:exception

[?25l:    [?12l[?25h  :endtry

[?25l:  [?12l[?25h  :$put =a:val.' exception? '.(caught =~ a:exc)

[?25l:  [?12l[?25h:endfunction
[?25l:call TrySet('kmp', "wrong/name", 'E474:')
:call TrySet('kmp', "wrong\\\nname", 'E474:')
:"
:call TrySet('kmp', "trunc\x00name", 'E544:')
:call TrySet('kmp', "trunc\x00name", 'trunc')
:/^result/,$w! test.out
:qa!
ENDTEST[?12l[?25h[?25l:[?12l[?25h " Test filetype valid
[?25l[?12l[?25h[?25l:[?12l[?25hset ft=valid_name
[?25l[?12l[?25h[?25l:[?12l[?25h$put ='ft valid_name? '.(&ft == 'valid_name')
[?25l
ft valid_name? 1[?12l[?25h[?25l:[?12l[?25hset ft=valid-name
[?25l[?12l[?25h[?25l:[?12l[?25h$put ='ft valid-name? '.(&ft == 'valid-name')
[?25l
ft valid-name? 1[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall TrySet('ft', 'wrong;name', 'E474:')
[?25l
wrong;name exception? 1[?12l[?25h[?25l:[?12l[?25hcall TrySet('ft', 'wrong\\name', 'E474:')
[?25l
wrong\\name exception? 1[?12l[?25h[?25l:[?12l[?25hcall TrySet('ft', 'wrong\|name', 'E474:')
[?25l
wrong\|name exception? 1[?12l[?25h[?25l:[?12l[?25hcall TrySet('ft', 'wrong/name', 'E474:')
[?25l
wrong/name exception? 1[?12l[?25h[?25l:[?12l[?25hcall TrySet('ft', "wrong\\\nname", 'E474:')
[?25lwrong\
name exception? 1[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h$put ='ft valid-name? '.(&ft == 'valid-name')
[?25l
ft valid-name? 1[?12l[?25h[?25l:[?12l[?25hexe "set ft=trunc\x00name"
[?25l[?12l[?25h[?25l:[?12l[?25h$put ='ft trunc? '.(&filetype == 'trunc')
[?25l
ft trunc? 1[?12l[?25h[?25l:[?12l[?25h " Test syntax valid
[?25l[?12l[?25h[?25l:[?12l[?25hset syn=valid_name
[?25l[?12l[?25h[?25l:[?12l[?25h$put ='syn valid_name? '.('valid_name' == &syntax)
[?25l
syn valid_name? 1[?12l[?25h[?25l:[?12l[?25hset syn=valid-name
[?25l[?12l[?25h[?25l:[?12l[?25h$put ='syn valid-name? '.('valid-name' == &syntax)
[?25l
syn valid-name? 1[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall TrySet('syn', 'wrong;name', 'E474:')
[?25l
wrong;name exception? 1[?12l[?25h[?25l:[?12l[?25hcall TrySet('syn', "wrong\\\\name", 'E474:')
[?25l
wrong\\name exception? 1[?12l[?25h[?25l:[?12l[?25hcall TrySet('syn', "wrong\\|name", 'E474:')
[?25l
wrong\|name exception? 1[?12l[?25h[?25l:[?12l[?25hcall TrySet('syn', "wrong/name", 'E474:')
[?25l
wrong/name exception? 1[?12l[?25h[?25l:[?12l[?25hcall TrySet('syn', "wrong\\\nname", 'E474:')
[?25lwrong\
name exception? 1[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h$put ='syn valid-name? '.('valid-name' == &syntax)
[?25l
syn valid-name? 1[?12l[?25h[?25l:[?12l[?25hexe "set syn=trunc\x00name"
[?25l[?12l[?25h[?25l:[?12l[?25h$put ='syn trunc? '.('trunc' == &syntax)
[?25l
syn trunc? 1[?12l[?25h[?25l:[?12l[?25h " Test keymap valid
[?25l[?12l[?25h[?25l:[?12l[?25hcall TrySet('kmp', "valid_name", 'E544:')
[?25lsyn valid_name? 1-
wrong;name exception? 1\\name exception? 1|/name exception? 1\name exception? 1
syn valid-name
syn trunc? 1valid_name exception? 1
[?12l[?25h[?25l:[?12l[?25hcall TrySet('kmp', "valid_name", 'valid_name')
[?25l-
wrong;name exception? 1\\name exception? 1|/name exception? 1\name exception? 1
syn valid-name
syn trunc? 1valid_name exception? 1
[?12l[?25h[?25l:[?12l[?25hcall TrySet('kmp', "valid-name", 'E544:')
[?25lwrong;name exception? 1\\name exception? 1|/name exception? 1\name exception? 1
syn valid-name
syn trunc? 1valid_name exception? 1-
[?12l[?25h[?25l:[?12l[?25hcall TrySet('kmp', "valid-name", 'valid-name')
[?25l\\name exception? 1|/name exception? 1\name exception? 1
syn valid-name
syn trunc? 1valid_name exception? 1-
[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall TrySet('kmp', "wrong;name", 'E474:')
[?25l|/name exception? 1\name exception? 1
syn valid-name
syn trunc? 1valid_name exception? 1-

wrong;
[?12l[?25h[?25l:[?12l[?25hcall TrySet('kmp', "wrong\\\\name", 'E474:')
[?25l/name exception? 1\name exception? 1
syn valid-name
syn trunc? 1valid_name exception? 1-

wrong;\\name exception? 1
[?12l[?25h[?25l:[?12l[?25hcall TrySet('kmp', "wrong\\|name", 'E474:')
[?25l\name exception? 1
syn valid-name
syn trunc? 1valid_name exception? 1-

wrong;\\name exception? 1|
[?12l[?25h[?25l:[?12l[?25hcall TrySet('kmp', "wrong/name", 'E474:')
[?25lname exception? 1
syn valid-name
syn trunc? 1valid_name exception? 1-

wrong;\\name exception? 1|/name exception? 1[?12l[?25h[?25l:[?12l[?25hcall TrySet('kmp', "wrong\\\nname", 'E474:')
[?25lsyn trunc? 1valid_name exception? 1
valid_name exception? 1--
wrong;
wrong\\name exception? 1\|name exception? 1/name exception? 1name exception? 1[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall TrySet('kmp', "trunc\x00name", 'E544:')
[?25lvalid_name exception? 1-

wrong;\\name exception? 1|/name exception? 1\name exception? 1
trunc exception? 1
[?12l[?25h[?25l:[?12l[?25hcall TrySet('kmp', "trunc\x00name", 'trunc')
[?25l-

wrong;\\name exception? 1|/name exception? 1\name exception? 1
trunc exception? 1
[?12l[?25h[?25l:[?12l[?25h/^result/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 34 lines, 643 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_qf_title.failed test.ok test.out X* viminfo
cp test_qf_title.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test_qf_title.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test_qf_title.in" 18 lines, 389 charactersTests for quickfix window's title     vim: set ft=vim :

STARTTEST
:so small.vim
:if !has('quickfix') | e! test.ok | wq! test.out | endif
:set efm=%E%f:%l:%c:%m
:cgetexpr ['file:1:1:message']
:let qflist=getqflist()
:call setqflist(qflist, 'r')
:copen
:let g:quickfix_title=w:quickfix_title
:wincmd p
:$put =g:quickfix_title
:/^Results/,$w test.out
:qa!
ENDTEST

Results of test_qf_title:
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for quickfix window's title     vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 12 lines, 287 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif !has('quickfix') | e! test.ok | wq! test.out | endif
[?25l[?12l[?25h[?25l:[?12l[?25hset efm=%E%f:%l:%c:%m
[?25l[?12l[?25h[?25l:[?12l[?25hcgetexpr ['file:1:1:message']
[?25l[?12l[?25h[?25l:[?12l[?25hlet qflist=getqflist()
[?25l[?12l[?25h[?25l:[?12l[?25hcall setqflist(qflist, 'r')
[?25l[?12l[?25h[?25l:[?12l[?25hcopen
[?25l:call setqflist(qflist, 'r'):copen
:let g:quickfix_title=w:quickfix_title
:wincmd p$put =g:quickfix_title/^Results/,$w test.out
:qa!ENDTESTResults of test_qf_title:
~                                                                               test_qf_title.in                                                                file|1 col 1 error| message                                                     ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Quickfix List]                                                                 [?12l[?25h[?25l:[?12l[?25hlet g:quickfix_title=w:quickfix_title
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd p
[?25ltest_qf_title.in                                                                [Quickfix List]                                                                  [?12l[?25h[?25l:[?12l[?25h$put =g:quickfix_title
[?25l:setqflist()[+][?12l[?25h[?25l:[?12l[?25h/^Results/,$w test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 2 lines, 39 characters written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_signs.failed test.ok test.out X* viminfo
cp test_signs.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test_signs.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test_signs.in" 22 lines, 447 charactersTests for signs
STARTTEST
:so small.vim
:if !has("signs")
:  e! test.ok
:  wq! test.out
:endif
:"
:sign define JumpSign text=x
:exe 'sign place 42 line=2 name=JumpSign buffer=' . bufnr('')
:" Split the window to the bottom to verify :sign-jump will stay in the current
:" window if the buffer is displayed there
:bot split
:exe 'sign jump 42 buffer=' . bufnr('')
:call append(line('$'), winnr())
:$-1,$w! test.out
ENDTEST

STARTTEST
:qa!
ENDTEST

~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for signs[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 14 lines, 388 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hif !has("signs")
[?25l
:  [?12l[?25h:  e! test.ok

[?25l:  [?12l[?25h:  wq! test.out

[?25l:  [?12l[?25h:endif
[?25lTests for signs
STARTTEST
:so small.vim[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hsign define JumpSign text=x
[?25l[?12l[?25h[?25l:[?12l[?25hexe 'sign place 42 line=2 name=JumpSign buffer=' . bufnr('')
[?25l  Tests for signs
x STARTTEST
  :so small.vim
  :if !has("signs")
  :  e! test.ok
  :  wq! test.out
  :endif
  :"
  :sign define JumpSign text=x
  :exe 'sign place 42 line=2 name=JumpSign buffer=' . bufnr('')
  :" Split the window to the bottom to verify :sign-jump will stay in the currenn  t  :" window if the buffer is displayed there
  :bot split  :exe 'sign jump 42 buffer=' . bufnr('')
  :call append(line('$'), winnr())
  :$-1,$w! test.out
  ENDTEST
    STARTTEST
  :qa!  ENDTEST
  [?12l[?25h[?25l:[?12l[?25h" Split the window to the bottom to verify :sign-jump will stay in the current
[?25l[?12l[?25h[?25l:[?12l[?25h" window if the buffer is displayed there
[?25l[?12l[?25h[?25l:[?12l[?25hbot split
[?25l:" Split the window to the bottom to verify :sign-jump will stay in the currenn  t" window if the buffer is displayed therebot splitexe 'sign jump 42 buffer=' . bufnr('')call append(line('$'), winnr())$-1,$w! test.outENDTESTSTARTTESTtest_signs.in                                                                   :exe 'sign place 42 line=2 name=JumpSign buffer=' . bufnr('')Split the window to the bottom to verify :sign-jump will stay in the currenn t" window if the buffer is displayed therebot splitexe 'sign jump 42 buffer=' . bufnr(''):call append(line('$'), winnr()):$-1,$w! test.outENDTESTSTARTTEST
test_signs.in                                                                   [?12l[?25h[?25l:[?12l[?25hexe 'sign jump 42 buffer=' . bufnr('')
[?25lTests for signsx STARTTEST:so small.vimif !has("signs")  e! test.ok  wq! test.outendif":sign define JumpSign text=x:exe 'sign place 42 line=2 name=JumpSign buffer=' . bufnr(''):" Split the window to the bottom to verify :sign-jump will stay in the curren@                                                                             [?12l[?25h[?25l:[?12l[?25hcall append(line('$'), winnr())
[?25l[+][+][?12l[?25h[?25l:[?12l[?25h$-1,$w! test.out
[?25l"test.out" [New File] 2 lines, 3 characters written[?12l[?25h[?25l/^STARTTEST
:bot split  :exe 'sign jump 42 buffer=' . bufnr('')call append(line('$'), winnr())$-1,$w! test.outENDTESTSTARTTESTqa!ENDTEST2[?12l[?25h[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 1 line, 5 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_utf8.failed test.ok test.out X* viminfo
cp test_utf8.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -u unix.vim -U NONE --noplugin -s dotest.in test_utf8.in
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"test_utf8.in" 18 lines, 360 charactersTests for Unicode manipulationsvim: set ft=vim :

STARTTEST
:so small.vim
:set encoding=utf-8
:" Visual block Insert adjusts for multi-byte char
:new
:exe ":norm! gg0l\<C-V>jjIx\<Esc>"
:let r = getline(1, '$')
:
:bwipeout!
:$put=r
:call garbagecollect(1)
:/^start:/,$wq! test.out
ENDTEST

start:
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25hset cp
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f

f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for Unicode manipulationsvim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 12 lines, 266 characters written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset encoding=utf-8
[?25lTests for Unicode manipulationsvim: set ft=vim :

STARTTEST
:so small.vim
:set encoding=utf-8
:" Visual block Insert adjusts for multi-byte char
:new
:call setline(1, ["aaa", "あああ", "bbb"])
:exe ":norm! gg0l\<C-V>jjIx\<Esc>"
:let r = getline(1, '$')
:
:bwipeout!
:$put=r
:call garbagecollect(1)
:/^start:/,$wq! test.out
ENDTEST

start:
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h" Visual block Insert adjusts for multi-byte char
[?25l[?12l[?25h[?25l:[?12l[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       let r = getline(1, '$')bwipeout!:$put=r
:call garbagecollect(1)
:/^start:/,$wq! test.out
ENDTEST start:test_utf8.in                                                                    [?12l[?25h[?25l:[?12l[?25hcall setline(1, ["aaa", "あああ", "bbb"])
[?25laaa
あああbbb[+][?12l[?25h[?25l:[?12l[?25hexe ":norm! gg0l\<C-V>jjIx\<Esc>"
[?25lxaa
xあああ
bxbb[?12l[?25h[?25l:[?12l[?25hlet r = getline(1, '$')
[?25l[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hbwipeout!
[?25lTests for Unicode manipulationsvim: set ft=vim :
 STARTTEST
:so small.vim:set encoding=utf-8:" Visual block Insert adjusts for multi-byte char:new:call setline(1, ["aaa", "あああ", "bbb"]):exe ":norm! gg0l\<C-V>jjIx\<Esc>":let r = getline(1, '$')::bwipeout!$put=rcall garbagecollect(1)
:/^start:/,$wq! test.out
ENDTEST
 start:~                                                                               ~                                                                               ~                                                                               ~                                                                               [?12l[?25h[?25l:[?12l[?25h$put=r
[?25l3 more linesaxaaxあああbxbb[?12l[?25h[?25l:[?12l[?25hcall garbagecollect(1)
[?25l[?12l[?25h[?25l:[?12l[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 4 lines, 28 characters written

[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo

Test results:
ALL DONE
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/testdir'
/usr/bin/make -f Makefile unittest
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic'
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/memfile_test.o memfile_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o memfile_test objects/buffer.o objects/blowfish.o objects/charset.o objects/crypt.o objects/crypt_zip.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o           objects/netbeans.o  objects/memfile_test.o        -lm -ltinfo -lnsl  -lselinux -lacl -lattr -lgpm -ldl          
link.sh: Linked fine
memfile_test passed
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic'
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic'
# installvimbin installs the vim binary under debian/tmp but we install
# it into the vim package from src/.  Need to rm it from debian/tmp so
# that dh_install doesn't fail
rm -f debian/tmp/usr/bin/vim
mv src/vim-basic/vim src/vim-basic/vim.basic
for L in fr it pl ru ja; do \
  if [ -d "/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/$L.UTF-8" ]; then \
    rm -rf "/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/$L"; \
    mv "/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/$L.UTF-8" "/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/$L"; \
  fi; \
  rm -rf "/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/$L."*; \
done
# rm stuff handled by alternatives
rm -f /<<PKGBUILDDIR>>/debian/tmp/usr/bin/ex /<<PKGBUILDDIR>>/debian/tmp/usr/bin/view
for f in $(find /<<PKGBUILDDIR>>/debian/tmp/usr/share/man -name view.1 -o -name ex.1); do \
  rm -f $f; \
done
# rm stuff handled by our own symlinks
for f in $(find /<<PKGBUILDDIR>>/debian/tmp/usr/share/man -name rvim.1 -o -name rview.1); do \
  rm -f $f; \
done
# helpztags manpage
pod2man -c "User Commands" -s 1 -q none -r "vim 7.4" \
	-d "August 2010" debian/helpztags debian/helpztags.1
# variant-related installations for package "vim"
# to be kept in sync with those in "install-stamp-%" target
for x in install postinst prerm links ; do \
  sed -e "s:@PKG@:vim:;s:@VARIANT@:basic:g" \
      -e "s:@COMMON@:vim-common:" \
      debian/vim-variant.$x > debian/vim.$x ;\
done
for L in fr it pl ru ja; do \
  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$mandir/$L/man1/\$i.1.gz \$i.$L.1.gz \$mandir/$L/man1/vim.1.gz \\\\\n&:" \
      -i debian/vim.postinst; \
done
sed -i "/@LANG_ALTS@/d" debian/vim.postinst
sed -e "s:@PKG@:vim:;s:@VARIANT@:basic:" \
	debian/lintian/vim-variant > debian/lintian/vim
# Generate language-specific sections of
# vim-{runtime,common,gui-common}.install files
for L in fr it pl ru ja; do \
  echo debian/tmp/usr/share/man/$L/man1/vimtutor.1  \
    usr/share/man/$L/man1/ >>debian/vim-runtime.install; \
  for f in vim xxd vimdiff; do \
    echo debian/tmp/usr/share/man/$L/man1/$f.1 \
      usr/share/man/$L/man1/ >>debian/vim-common.install; \
  done; \
  echo debian/tmp/usr/share/man/$L/man1/evim.1  \
    usr/share/man/$L/man1/ >>debian/vim-gui-common.install; \
done
# Icons
for sz in 16 32 48; do \
  cp runtime/vim${sz}x${sz}.xpm debian/vim-common/usr/share/pixmaps/vim-${sz}.xpm; \
  cp runtime/vim${sz}x${sz}.png debian/vim-common/usr/share/icons/hicolor/${sz}x${sz}/apps/vim.png; \
done
gs -sDefaultCMYKProfile=ps_cmyk.icc -sOutputICCProfile=ps_rgb.icc \
    -dSAFER -dEPSCrop -dBATCH -dNOPAUSE \
    -sDEVICE=ps2write -sOutputFile=debian/tmplogo.ps runtime/vimlogo.eps
GPL Ghostscript 9.26 (2018-11-20)
Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
ps2pdf debian/tmplogo.ps debian/tmplogo.pdf
pdf2svg debian/tmplogo.pdf debian/vim-common/usr/share/pixmaps/vim.svg
cp debian/vim-common/usr/share/pixmaps/vim.svg \
   debian/vim-common/usr/share/icons/hicolor/scalable/apps/vim.svg
dh_installman
dh_install --fail-missing -X/tools/
# adjust things for vim-gui-common
cp debian/vim-common/usr/share/man/man1/vim.1 \
   debian/vim-gui-common/usr/share/man/man1/gvim.1
cp debian/vim-common/usr/share/man/man1/vimdiff.1 \
   debian/vim-gui-common/usr/share/man/man1/gvimdiff.1
cp debian/vim-runtime/usr/share/man/man1/vimtutor.1 \
   debian/vim-gui-common/usr/share/man/man1/gvimtutor.1
for L in fr it pl ru ja; do \
  cp debian/vim-common/usr/share/man/$L/man1/vim.1 \
     debian/vim-gui-common/usr/share/man/$L/man1/gvim.1; \
  cp debian/vim-common/usr/share/man/$L/man1/vimdiff.1 \
     debian/vim-gui-common/usr/share/man/$L/man1/gvimdiff.1; \
  cp debian/vim-runtime/usr/share/man/$L/man1/vimtutor.1 \
     debian/vim-gui-common/usr/share/man/$L/man1/gvimtutor.1; \
done
# Generate language-specific sections of
# vim-{runtime,common,gui-common}.links files
for L in fr it pl ru ja; do \
  for p in rvim rview; do \
    echo usr/share/man/$L/man1/vim.1  \
      usr/share/man/$L/man1/$p.1 >>debian/vim-common.links; \
  done; \
  for p in gview rgvim rgview; do \
    echo usr/share/man/$L/man1/gvim.1  \
      usr/share/man/$L/man1/$p.1 >>debian/vim-gui-common.links; \
  done; \
  echo usr/share/man/$L/man1/evim.1 \
    usr/share/man/$L/man1/eview.1 >>debian/vim-gui-common.links; \
done
dh_link
# all excepts vim
dh_installchangelogs -Nvim -pvim-dbg
dh_installdocs -pvim-dbg
dh_installmime
env -u DH_OPTIONS dh_bugfiles -A -pvim
touch install-stamp-vim-basic
dh_testdir
dh_testroot
dh_strip --dbg-package=vim-dbg
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums
dh_builddeb -- -Zxz
dpkg-deb: building package `vim' in `../vim_7.4.488-7+deb8u4_armhf.deb'.
dpkg-deb: building package `vim-common' in `../vim-common_7.4.488-7+deb8u4_armhf.deb'.
dh_testdir
dh_testroot
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums
dh_builddeb -- -Zxz
dpkg-deb: building package `vim-dbg' in `../vim-dbg_7.4.488-7+deb8u4_armhf.deb'.
 dpkg-genchanges -B -mRaspbian wandboard test autobuilder <root@raspbian.org> >../vim_7.4.488-7+deb8u4_armhf.changes
dpkg-genchanges: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build vim-7.4.488
dpkg-buildpackage: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2019-08-03T11:24:40Z

Finished
--------

I: Built successfully

+------------------------------------------------------------------------------+
| Post Build Chroot                                                            |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Changes                                                                      |
+------------------------------------------------------------------------------+


vim_7.4.488-7+deb8u4_armhf.changes:
-----------------------------------

Format: 1.8
Date: Fri, 02 Aug 2019 16:18:22 +0200
Source: vim
Binary: vim-common vim-gui-common vim-runtime vim-doc vim-tiny vim vim-dbg vim-gtk vim-nox vim-athena vim-lesstif vim-gnome
Architecture: armhf
Version: 2:7.4.488-7+deb8u4
Distribution: jessie-staging
Urgency: high
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Sylvain Beucler <beuc@debian.org>
Description:
 vim        - Vi IMproved - enhanced vi editor
 vim-athena - Vi IMproved - enhanced vi editor - with Athena GUI
 vim-common - Vi IMproved - Common files
 vim-dbg    - Vi IMproved - enhanced vi editor (debugging symbols)
 vim-doc    - Vi IMproved - HTML documentation
 vim-gnome  - Vi IMproved - enhanced vi editor - with GNOME2 GUI
 vim-gtk    - Vi IMproved - enhanced vi editor - with GTK2 GUI
 vim-gui-common - Vi IMproved - Common GUI files
 vim-lesstif - Vi IMproved - enhanced vi editor (transitional package)
 vim-nox    - Vi IMproved - enhanced vi editor - with scripting languages suppo
 vim-runtime - Vi IMproved - Runtime files
 vim-tiny   - Vi IMproved - enhanced vi editor - compact version
Changes:
 vim (2:7.4.488-7+deb8u4) jessie-security; urgency=high
 .
   [Iain Lane]
   * debian/rules: Use ps2write. Ghostscript 9.10 removed the 'pswrite' device.
     We need to write level 2 postscript now. (cf. #785221)
 .
   [James McCoy]
   * Backport upstream patches to fix CVE-2017-11109  (cf. #867720)
     + 8.0.0703: Illegal memory access with empty :doau command
     + 8.0.0706: Crash when cancelling the cmdline window in Ex mode
     + 8.0.0707: Freeing wrong memory when manipulating buffers in autocommands
 .
   [Sylvain Beucler]
   * Fix CVE-2017-17087
     + 8.0.1263: others can read the swap file if a user is careless
   * Fix CVE-2019-12735; don't backport the other 23 stretch patches as
     vim 7.4 doesn't have execute() nor assert_*() in expressions yet
     + 8.1.1365: source command doesn't check for the sandbox
Checksums-Sha1:
 8ba4debb4d99de009fe491dabbf8bb2c5fd12de8 887248 vim-nox_7.4.488-7+deb8u4_armhf.deb
 1b51a16e864e0868cfba8371a8579f9484cfd9a7 982598 vim-athena_7.4.488-7+deb8u4_armhf.deb
 1dc5dcb599638e540aebfcae439eda40f7b855a6 989158 vim-gnome_7.4.488-7+deb8u4_armhf.deb
 227181f5fe64f339dc86ff14d099dbd4987bd545 357294 vim-tiny_7.4.488-7+deb8u4_armhf.deb
 615bdcd86bc07be3f222f49b8f0530c7d780c454 987012 vim-gtk_7.4.488-7+deb8u4_armhf.deb
 31ac594bf12a643c510fb0eac95b9ba4bc14ff67 184930 vim-common_7.4.488-7+deb8u4_armhf.deb
 8930641743bf4a6aa3b7e8f8642a35f720db2610 809596 vim_7.4.488-7+deb8u4_armhf.deb
 c838618b83a7fb6ec9cecf069a9efc06baf169a3 7292014 vim-dbg_7.4.488-7+deb8u4_armhf.deb
Checksums-Sha256:
 8eb381118450b2400cf7d7e21d8605de7e243faa80d1419121c18a37d59bc468 887248 vim-nox_7.4.488-7+deb8u4_armhf.deb
 2aa20bc3a4f8df69bf58333eb42a878f763bc859f01f35ed169e7cb4263ddf46 982598 vim-athena_7.4.488-7+deb8u4_armhf.deb
 a58e6c3c7f9906f9ed434d8cd1254631bc8f51d17f5686fed97961e56b1d21b3 989158 vim-gnome_7.4.488-7+deb8u4_armhf.deb
 557964326404191c5fa57666da31235541a3ef8843a5a4812abefcff979a4b0b 357294 vim-tiny_7.4.488-7+deb8u4_armhf.deb
 78e4121520c00c6c31a32785252e75cd60dc7b559df43f08f58b2e0a85197a37 987012 vim-gtk_7.4.488-7+deb8u4_armhf.deb
 bcb8f55f641ae09fedd5a28c69bef8645d7afe212496eb272dbe9f1cc6b668ce 184930 vim-common_7.4.488-7+deb8u4_armhf.deb
 ca20f62d326c7961546795aa8309a7383797f351b15b16e9646a3c9816137ff9 809596 vim_7.4.488-7+deb8u4_armhf.deb
 e513b32fc10ad36fd491190a26b58718e4e1facb907eee63d9add90fc0847dc9 7292014 vim-dbg_7.4.488-7+deb8u4_armhf.deb
Files:
 c0a766e179bef330448208c995e8eca7 887248 editors extra vim-nox_7.4.488-7+deb8u4_armhf.deb
 9246924cb116fbd8132c907ca04e2bfa 982598 editors extra vim-athena_7.4.488-7+deb8u4_armhf.deb
 6c4c7437f9c398d77111c7a3318e4dd0 989158 editors extra vim-gnome_7.4.488-7+deb8u4_armhf.deb
 0702c1e06c67b020b34641c32b78cd85 357294 editors important vim-tiny_7.4.488-7+deb8u4_armhf.deb
 b6ffd60eeb2c51918473984d617c3311 987012 editors extra vim-gtk_7.4.488-7+deb8u4_armhf.deb
 cb1268b88a7cc03c8d921607f024f552 184930 editors important vim-common_7.4.488-7+deb8u4_armhf.deb
 92341900bbb5538dbb7e29c9ab49f21b 809596 editors optional vim_7.4.488-7+deb8u4_armhf.deb
 20b7150a114d9044ad29e3e3460cf8ad 7292014 debug extra vim-dbg_7.4.488-7+deb8u4_armhf.deb

+------------------------------------------------------------------------------+
| Package contents                                                             |
+------------------------------------------------------------------------------+


vim-nox_7.4.488-7+deb8u4_armhf.deb
----------------------------------

 new debian package, version 2.0.
 size 887248 bytes: control archive=2139 bytes.
    1077 bytes,    21 lines      control              
     247 bytes,     4 lines      md5sums              
    2473 bytes,    78 lines   *  postinst             #!/bin/sh
    1220 bytes,    57 lines   *  prerm                #!/bin/sh
 Package: vim-nox
 Source: vim
 Version: 2:7.4.488-7+deb8u4
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 2143
 Depends: vim-common (= 2:7.4.488-7+deb8u4), vim-runtime (= 2:7.4.488-7+deb8u4), libacl1 (>= 2.2.51-8), libc6 (>= 2.15), libgpm2 (>= 1.20.4), liblua5.2-0, libperl5.20 (>= 5.20.2), libpython2.7 (>= 2.7), libruby2.1 (>= 2.1.0), libselinux1 (>= 1.32), libtcl8.6 (>= 8.6.0), libtinfo5
 Suggests: cscope, vim-doc
 Provides: editor, vim, vim-lua, vim-perl, vim-python, vim-ruby, vim-tcl
 Section: editors
 Priority: extra
 Homepage: http://www.vim.org/
 Description: Vi IMproved - enhanced vi editor - with scripting languages support
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  Many new features have been added: multi level undo, syntax
  highlighting, command line history, on-line help, filename
  completion, block operations, folding, Unicode support, etc.
  .
  This package contains a version of vim compiled with support for
  scripting with Lua, Perl, Python, Ruby, and Tcl but no GUI.

drwxr-xr-x root/root         0 2019-08-03 11:16 ./
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/bin/
-rwxr-xr-x root/root   2189572 2019-08-03 11:16 ./usr/bin/vim.nox
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/bug/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/bug/vim-nox/
-rw-r--r-- root/root       516 2014-10-23 01:01 ./usr/share/bug/vim-nox/presubj
-rwxr-xr-x root/root       204 2014-10-23 01:01 ./usr/share/bug/vim-nox/script
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/doc/
lrwxrwxrwx root/root         0 2019-08-03 11:16 ./usr/share/doc/vim-nox -> vim-common
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/lintian/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       198 2019-08-03 11:16 ./usr/share/lintian/overrides/vim-nox


vim-athena_7.4.488-7+deb8u4_armhf.deb
-------------------------------------

 new debian package, version 2.0.
 size 982598 bytes: control archive=2445 bytes.
    1189 bytes,    21 lines      control              
     319 bytes,     5 lines      md5sums              
    2647 bytes,    83 lines   *  postinst             #!/bin/sh
     160 bytes,     5 lines   *  postrm               #!/bin/sh
    1226 bytes,    57 lines   *  prerm                #!/bin/sh
 Package: vim-athena
 Source: vim
 Version: 2:7.4.488-7+deb8u4
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 2383
 Depends: vim-gui-common (= 2:7.4.488-7+deb8u4), vim-common (= 2:7.4.488-7+deb8u4), vim-runtime (= 2:7.4.488-7+deb8u4), libacl1 (>= 2.2.51-8), libc6 (>= 2.15), libgpm2 (>= 1.20.4), libice6 (>= 1:1.0.0), liblua5.2-0, libperl5.20 (>= 5.20.2), libpython2.7 (>= 2.7), libruby2.1 (>= 2.1.0), libselinux1 (>= 1.32), libsm6, libtcl8.6 (>= 8.6.0), libtinfo5, libx11-6, libxaw7, libxmu6, libxpm4, libxt6
 Suggests: cscope, vim-doc
 Provides: editor, gvim, vim, vim-lua, vim-perl, vim-python, vim-ruby, vim-tcl
 Section: editors
 Priority: extra
 Homepage: http://www.vim.org/
 Description: Vi IMproved - enhanced vi editor - with Athena GUI
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  Many new features have been added: multi level undo, syntax
  highlighting, command line history, on-line help, filename
  completion, block operations, folding, Unicode support, etc.
  .
  This package contains a version of vim compiled with a Athena GUI
  and support for scripting with Lua, Perl, Python, Ruby, and Tcl.

drwxr-xr-x root/root         0 2019-08-03 11:16 ./
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/bin/
-rwxr-xr-x root/root   2433904 2019-08-03 11:16 ./usr/bin/vim.athena
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/bug/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/bug/vim-athena/
-rw-r--r-- root/root       516 2014-10-23 01:01 ./usr/share/bug/vim-athena/presubj
-rwxr-xr-x root/root       204 2014-10-23 01:01 ./usr/share/bug/vim-athena/script
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/doc/
lrwxrwxrwx root/root         0 2019-08-03 11:16 ./usr/share/doc/vim-athena -> vim-gui-common
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/lintian/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       210 2019-08-03 11:16 ./usr/share/lintian/overrides/vim-athena
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/menu/
-rw-r--r-- root/root       318 2015-02-12 01:29 ./usr/share/menu/vim-athena


vim-gnome_7.4.488-7+deb8u4_armhf.deb
------------------------------------

 new debian package, version 2.0.
 size 989158 bytes: control archive=2510 bytes.
    1370 bytes,    21 lines      control              
     314 bytes,     5 lines      md5sums              
    2645 bytes,    83 lines   *  postinst             #!/bin/sh
     160 bytes,     5 lines   *  postrm               #!/bin/sh
    1224 bytes,    57 lines   *  prerm                #!/bin/sh
 Package: vim-gnome
 Source: vim
 Version: 2:7.4.488-7+deb8u4
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 2425
 Depends: vim-gui-common (= 2:7.4.488-7+deb8u4), vim-common (= 2:7.4.488-7+deb8u4), vim-runtime (= 2:7.4.488-7+deb8u4), libacl1 (>= 2.2.51-8), libbonoboui2-0 (>= 2.15.1), libc6 (>= 2.15), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.12.0), libgnome-2-0, libgnomeui-0 (>= 2.22.0), libgpm2 (>= 1.20.4), libgtk2.0-0 (>= 2.24.0), libice6 (>= 1:1.0.0), liblua5.2-0, libpango-1.0-0 (>= 1.14.0), libperl5.20 (>= 5.20.2), libpython2.7 (>= 2.7), libruby2.1 (>= 2.1.0), libselinux1 (>= 1.32), libsm6, libtcl8.6 (>= 8.6.0), libtinfo5, libx11-6, libxt6
 Suggests: cscope, vim-doc, ttf-dejavu, gnome-icon-theme
 Provides: editor, gvim, vim, vim-lua, vim-perl, vim-python, vim-ruby, vim-tcl
 Section: editors
 Priority: extra
 Homepage: http://www.vim.org/
 Description: Vi IMproved - enhanced vi editor - with GNOME2 GUI
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  Many new features have been added: multi level undo, syntax
  highlighting, command line history, on-line help, filename
  completion, block operations, folding, Unicode support, etc.
  .
  This package contains a version of vim compiled with a GNOME2 GUI
  and support for scripting with Lua, Perl, Python, Ruby, and Tcl.

drwxr-xr-x root/root         0 2019-08-03 11:16 ./
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/bin/
-rwxr-xr-x root/root   2477388 2019-08-03 11:16 ./usr/bin/vim.gnome
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/bug/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/bug/vim-gnome/
-rw-r--r-- root/root       516 2014-10-23 01:01 ./usr/share/bug/vim-gnome/presubj
-rwxr-xr-x root/root       204 2014-10-23 01:01 ./usr/share/bug/vim-gnome/script
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/doc/
lrwxrwxrwx root/root         0 2019-08-03 11:16 ./usr/share/doc/vim-gnome -> vim-gui-common
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/lintian/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       206 2019-08-03 11:16 ./usr/share/lintian/overrides/vim-gnome
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/menu/
-rw-r--r-- root/root       315 2015-02-12 01:29 ./usr/share/menu/vim-gnome


vim-tiny_7.4.488-7+deb8u4_armhf.deb
-----------------------------------

 new debian package, version 2.0.
 size 357294 bytes: control archive=2289 bytes.
      20 bytes,     1 lines      conffiles            
    1005 bytes,    24 lines      control              
     453 bytes,     7 lines      md5sums              
    2475 bytes,    78 lines   *  postinst             #!/bin/sh
    1222 bytes,    57 lines   *  prerm                #!/bin/sh
 Package: vim-tiny
 Source: vim
 Version: 2:7.4.488-7+deb8u4
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 872
 Depends: vim-common (= 2:7.4.488-7+deb8u4), libacl1 (>= 2.2.51-8), libc6 (>= 2.15), libselinux1 (>= 1.32), libtinfo5
 Suggests: indent
 Provides: editor
 Section: editors
 Priority: important
 Homepage: http://www.vim.org/
 Description: Vi IMproved - enhanced vi editor - compact version
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  Many new features have been added: multi level undo, syntax
  highlighting, command line history, on-line help, filename
  completion, block operations, folding, Unicode support, etc.
  .
  This package contains a minimal version of vim compiled with no
  GUI and a small subset of features in order to keep small the
  package size. This package does not depend on the vim-runtime
  package, but installing it you will get its additional benefits
  (online documentation, plugins, ...).

drwxr-xr-x root/root         0 2019-08-03 11:17 ./
drwxr-xr-x root/root         0 2019-08-03 11:16 ./etc/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./etc/vim/
-rw-r--r-- root/root       662 2019-08-03 11:16 ./etc/vim/vimrc.tiny
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/
drwxr-xr-x root/root         0 2019-08-03 11:17 ./usr/bin/
-rwxr-xr-x root/root    885272 2019-08-03 11:17 ./usr/bin/vim.tiny
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/bug/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/bug/vim-tiny/
-rw-r--r-- root/root       516 2014-10-23 01:01 ./usr/share/bug/vim-tiny/presubj
-rwxr-xr-x root/root       204 2014-10-23 01:01 ./usr/share/bug/vim-tiny/script
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/doc/
lrwxrwxrwx root/root         0 2019-08-03 11:16 ./usr/share/doc/vim-tiny -> vim-common
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/lintian/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       142 2019-08-03 11:16 ./usr/share/lintian/overrides/vim-tiny
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/vim/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/vim/vim74/
drwxr-xr-x root/root         0 2014-10-23 01:01 ./usr/share/vim/vim74/doc/
-rw-r--r-- root/root       324 2014-10-23 01:01 ./usr/share/vim/vim74/doc/README.Debian
-rw-r--r-- root/root      1287 2014-10-23 01:01 ./usr/share/vim/vim74/doc/help.txt
-rw-r--r-- root/root        30 2014-10-23 01:01 ./usr/share/vim/vim74/doc/tags
lrwxrwxrwx root/root         0 2019-08-03 11:16 ./usr/share/vim/vimrc.tiny -> /etc/vim/vimrc.tiny


vim-gtk_7.4.488-7+deb8u4_armhf.deb
----------------------------------

 new debian package, version 2.0.
 size 987012 bytes: control archive=2479 bytes.
    1296 bytes,    21 lines      control              
     304 bytes,     5 lines      md5sums              
    2641 bytes,    83 lines   *  postinst             #!/bin/sh
     160 bytes,     5 lines   *  postrm               #!/bin/sh
    1220 bytes,    57 lines   *  prerm                #!/bin/sh
 Package: vim-gtk
 Source: vim
 Version: 2:7.4.488-7+deb8u4
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 2417
 Depends: vim-gui-common (= 2:7.4.488-7+deb8u4), vim-common (= 2:7.4.488-7+deb8u4), vim-runtime (= 2:7.4.488-7+deb8u4), libacl1 (>= 2.2.51-8), libc6 (>= 2.15), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.12.0), libgpm2 (>= 1.20.4), libgtk2.0-0 (>= 2.24.0), libice6 (>= 1:1.0.0), liblua5.2-0, libpango-1.0-0 (>= 1.14.0), libperl5.20 (>= 5.20.2), libpython2.7 (>= 2.7), libruby2.1 (>= 2.1.0), libselinux1 (>= 1.32), libsm6, libtcl8.6 (>= 8.6.0), libtinfo5, libx11-6, libxt6
 Suggests: cscope, vim-doc, ttf-dejavu, gnome-icon-theme
 Provides: editor, gvim, vim, vim-lua, vim-perl, vim-python, vim-ruby, vim-tcl
 Section: editors
 Priority: extra
 Homepage: http://www.vim.org/
 Description: Vi IMproved - enhanced vi editor - with GTK2 GUI
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  Many new features have been added: multi level undo, syntax
  highlighting, command line history, on-line help, filename
  completion, block operations, folding, Unicode support, etc.
  .
  This package contains a version of vim compiled with a GTK2 GUI
  and support for scripting with Lua, Perl, Python, Ruby, and Tcl.

drwxr-xr-x root/root         0 2019-08-03 11:17 ./
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/
drwxr-xr-x root/root         0 2019-08-03 11:17 ./usr/bin/
-rwxr-xr-x root/root   2469192 2019-08-03 11:17 ./usr/bin/vim.gtk
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/bug/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/bug/vim-gtk/
-rw-r--r-- root/root       516 2014-10-23 01:01 ./usr/share/bug/vim-gtk/presubj
-rwxr-xr-x root/root       204 2014-10-23 01:01 ./usr/share/bug/vim-gtk/script
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/doc/
lrwxrwxrwx root/root         0 2019-08-03 11:16 ./usr/share/doc/vim-gtk -> vim-gui-common
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/lintian/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       198 2019-08-03 11:16 ./usr/share/lintian/overrides/vim-gtk
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/menu/
-rw-r--r-- root/root       309 2015-02-12 01:29 ./usr/share/menu/vim-gtk


vim-common_7.4.488-7+deb8u4_armhf.deb
-------------------------------------

 new debian package, version 2.0.
 size 184930 bytes: control archive=2350 bytes.
      15 bytes,     1 lines      conffiles            
     941 bytes,    24 lines      control              
    2407 bytes,    36 lines      md5sums              
     795 bytes,    30 lines   *  preinst              #!/bin/sh
 Package: vim-common
 Source: vim
 Version: 2:7.4.488-7+deb8u4
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 234
 Depends: libc6 (>= 2.4)
 Recommends: vim | vim-gnome | vim-gtk | vim-athena | vim-nox | vim-tiny
 Breaks: vim-gui-common (<< 2:7.4.488-4~)
 Replaces: vim-gui-common (<< 2:7.4.488-4~)
 Section: editors
 Priority: important
 Homepage: http://www.vim.org/
 Description: Vi IMproved - Common files
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  Many new features have been added: multi level undo, syntax
  highlighting, command line history, on-line help, filename
  completion, block operations, folding, Unicode support, etc.
  .
  This package contains files shared by all non GUI-enabled vim
  variants (vim and vim-tiny currently) available in Debian.
  Examples of such shared files are: manpages, common executables
  like xxd, and configuration files.

drwxr-xr-x root/root         0 2019-08-03 11:22 ./
drwxr-xr-x root/root         0 2019-08-03 11:21 ./etc/
drwxr-xr-x root/root         0 2019-08-03 11:21 ./etc/vim/
-rw-r--r-- root/root      2125 2014-11-05 00:41 ./etc/vim/vimrc
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/bin/
-rwxr-xr-x root/root      2480 2014-10-23 01:01 ./usr/bin/helpztags
-rwxr-xr-x root/root     13812 2019-08-03 11:22 ./usr/bin/xxd
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/lib/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/lib/mime/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/lib/mime/packages/
-rw-r--r-- root/root       346 2014-10-23 01:01 ./usr/lib/mime/packages/vim-common
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/
drwxr-xr-x root/root         0 2019-08-03 11:21 ./usr/share/applications/
-rw-r--r-- root/root      3411 2015-02-12 01:18 ./usr/share/applications/vim.desktop
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/doc/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/doc/vim-common/
-rw-r--r-- root/root      1366 2014-10-23 01:01 ./usr/share/doc/vim-common/NEWS.Debian.gz
-rw-r--r-- root/root      1723 2014-11-05 00:41 ./usr/share/doc/vim-common/README.Debian
-rw-r--r-- root/root     83241 2019-08-02 21:30 ./usr/share/doc/vim-common/changelog.Debian.gz
-rw-r--r-- root/root     10927 2014-10-23 01:01 ./usr/share/doc/vim-common/copyright
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/icons/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/icons/hicolor/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/icons/hicolor/16x16/
drwxr-xr-x root/root         0 2019-08-03 11:21 ./usr/share/icons/hicolor/16x16/apps/
-rw-r--r-- root/root       226 2019-08-03 11:21 ./usr/share/icons/hicolor/16x16/apps/vim.png
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/icons/hicolor/32x32/
drwxr-xr-x root/root         0 2019-08-03 11:21 ./usr/share/icons/hicolor/32x32/apps/
-rw-r--r-- root/root       347 2019-08-03 11:21 ./usr/share/icons/hicolor/32x32/apps/vim.png
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/icons/hicolor/48x48/
drwxr-xr-x root/root         0 2019-08-03 11:21 ./usr/share/icons/hicolor/48x48/apps/
-rw-r--r-- root/root       474 2019-08-03 11:21 ./usr/share/icons/hicolor/48x48/apps/vim.png
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/share/icons/hicolor/scalable/
drwxr-xr-x root/root         0 2019-08-03 11:21 ./usr/share/icons/hicolor/scalable/apps/
-rw-r--r-- root/root     18233 2019-08-03 11:21 ./usr/share/icons/hicolor/scalable/apps/vim.svg
drwxr-xr-x root/root         0 2019-08-03 11:21 ./usr/share/man/
drwxr-xr-x root/root         0 2019-08-03 11:21 ./usr/share/man/fr/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/man/fr/man1/
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/man/fr/man1/rview.1.gz -> vim.1.gz
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/man/fr/man1/rvim.1.gz -> vim.1.gz
-rw-r--r-- root/root      6527 2019-08-03 11:16 ./usr/share/man/fr/man1/vim.1.gz
-rw-r--r-- root/root       999 2019-08-03 11:16 ./usr/share/man/fr/man1/vimdiff.1.gz
-rw-r--r-- root/root      4905 2019-08-03 11:16 ./usr/share/man/fr/man1/xxd.1.gz
drwxr-xr-x root/root         0 2019-08-03 11:21 ./usr/share/man/it/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/man/it/man1/
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/man/it/man1/rview.1.gz -> vim.1.gz
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/man/it/man1/rvim.1.gz -> vim.1.gz
-rw-r--r-- root/root      6101 2019-08-03 11:16 ./usr/share/man/it/man1/vim.1.gz
-rw-r--r-- root/root       754 2019-08-03 11:16 ./usr/share/man/it/man1/vimdiff.1.gz
-rw-r--r-- root/root      4819 2019-08-03 11:16 ./usr/share/man/it/man1/xxd.1.gz
drwxr-xr-x root/root         0 2019-08-03 11:21 ./usr/share/man/ja/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/man/ja/man1/
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/man/ja/man1/rview.1.gz -> vim.1.gz
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/man/ja/man1/rvim.1.gz -> vim.1.gz
-rw-r--r-- root/root      5931 2019-08-03 11:16 ./usr/share/man/ja/man1/vim.1.gz
-rw-r--r-- root/root       860 2019-08-03 11:16 ./usr/share/man/ja/man1/vimdiff.1.gz
-rw-r--r-- root/root      4595 2019-08-03 11:16 ./usr/share/man/ja/man1/xxd.1.gz
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/man/man1/
-rw-r--r-- root/root      2199 2019-08-03 11:21 ./usr/share/man/man1/helpztags.1.gz
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/man/man1/rview.1.gz -> vim.1.gz
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/man/man1/rvim.1.gz -> vim.1.gz
-rw-r--r-- root/root      5420 2019-08-03 11:16 ./usr/share/man/man1/vim.1.gz
-rw-r--r-- root/root       701 2019-08-03 11:16 ./usr/share/man/man1/vimdiff.1.gz
-rw-r--r-- root/root      4183 2019-08-03 11:16 ./usr/share/man/man1/xxd.1.gz
drwxr-xr-x root/root         0 2019-08-03 11:21 ./usr/share/man/pl/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/man/pl/man1/
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/man/pl/man1/rview.1.gz -> vim.1.gz
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/man/pl/man1/rvim.1.gz -> vim.1.gz
-rw-r--r-- root/root      6296 2019-08-03 11:16 ./usr/share/man/pl/man1/vim.1.gz
-rw-r--r-- root/root       790 2019-08-03 11:16 ./usr/share/man/pl/man1/vimdiff.1.gz
-rw-r--r-- root/root      4642 2019-08-03 11:16 ./usr/share/man/pl/man1/xxd.1.gz
drwxr-xr-x root/root         0 2019-08-03 11:21 ./usr/share/man/ru/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/man/ru/man1/
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/man/ru/man1/rview.1.gz -> vim.1.gz
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/man/ru/man1/rvim.1.gz -> vim.1.gz
-rw-r--r-- root/root      7130 2019-08-03 11:16 ./usr/share/man/ru/man1/vim.1.gz
-rw-r--r-- root/root      1230 2019-08-03 11:16 ./usr/share/man/ru/man1/vimdiff.1.gz
-rw-r--r-- root/root      6117 2019-08-03 11:16 ./usr/share/man/ru/man1/xxd.1.gz
drwxr-xr-x root/root         0 2019-08-03 11:21 ./usr/share/pixmaps/
-rw-r--r-- root/root       490 2019-08-03 11:21 ./usr/share/pixmaps/vim-16.xpm
-rw-r--r-- root/root      1322 2019-08-03 11:21 ./usr/share/pixmaps/vim-32.xpm
-rw-r--r-- root/root      2666 2019-08-03 11:21 ./usr/share/pixmaps/vim-48.xpm
-rw-r--r-- root/root     18233 2019-08-03 11:21 ./usr/share/pixmaps/vim.svg
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/vim/
drwxr-xr-x root/root         0 2019-08-03 11:21 ./usr/share/vim/vim74/
-rw-r--r-- root/root      1708 2019-08-03 11:16 ./usr/share/vim/vim74/debian.vim
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/vim/vimfiles -> /etc/vim
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/vim/vimrc -> /etc/vim/vimrc
drwxr-xr-x root/root         0 2019-08-03 11:16 ./var/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./var/lib/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./var/lib/vim/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./var/lib/vim/addons/


vim_7.4.488-7+deb8u4_armhf.deb
------------------------------

 new debian package, version 2.0.
 size 809596 bytes: control archive=2091 bytes.
     956 bytes,    22 lines      control              
     237 bytes,     4 lines      md5sums              
    2471 bytes,    78 lines   *  postinst             #!/bin/sh
    1218 bytes,    57 lines   *  prerm                #!/bin/sh
 Package: vim
 Version: 2:7.4.488-7+deb8u4
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 1942
 Depends: vim-common (= 2:7.4.488-7+deb8u4), vim-runtime (= 2:7.4.488-7+deb8u4), libacl1 (>= 2.2.51-8), libc6 (>= 2.15), libgpm2 (>= 1.20.4), libselinux1 (>= 1.32), libtinfo5
 Suggests: ctags, vim-doc, vim-scripts
 Provides: editor
 Section: editors
 Priority: optional
 Homepage: http://www.vim.org/
 Description: Vi IMproved - enhanced vi editor
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  Many new features have been added: multi level undo, syntax
  highlighting, command line history, on-line help, filename
  completion, block operations, folding, Unicode support, etc.
  .
  This package contains a version of vim compiled with a rather
  standard set of features.  This package does not provide a GUI
  version of Vim.  See the other vim-* packages if you need more
  (or less).

drwxr-xr-x root/root         0 2019-08-03 11:22 ./
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/bin/
-rwxr-xr-x root/root   1983064 2019-08-03 11:22 ./usr/bin/vim.basic
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/bug/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/bug/vim/
-rw-r--r-- root/root       516 2014-10-23 01:01 ./usr/share/bug/vim/presubj
-rwxr-xr-x root/root       204 2014-10-23 01:01 ./usr/share/bug/vim/script
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/doc/
lrwxrwxrwx root/root         0 2019-08-03 11:22 ./usr/share/doc/vim -> vim-common
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/lintian/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       138 2019-08-03 11:21 ./usr/share/lintian/overrides/vim


vim-dbg_7.4.488-7+deb8u4_armhf.deb
----------------------------------

 new debian package, version 2.0.
 size 7292014 bytes: control archive=1005 bytes.
     866 bytes,    18 lines      control              
     665 bytes,    10 lines      md5sums              
 Package: vim-dbg
 Source: vim
 Version: 2:7.4.488-7+deb8u4
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 29581
 Depends: vim (= 2:7.4.488-7+deb8u4) | vim-gtk (= 2:7.4.488-7+deb8u4) | vim-gnome (= 2:7.4.488-7+deb8u4) | vim-nox (= 2:7.4.488-7+deb8u4) | vim-common (= 2:7.4.488-7+deb8u4) | vim-athena (= 2:7.4.488-7+deb8u4) | vim-tiny (= 2:7.4.488-7+deb8u4)
 Section: debug
 Priority: extra
 Homepage: http://www.vim.org/
 Description: Vi IMproved - enhanced vi editor (debugging symbols)
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  Many new features have been added: multi level undo, syntax
  highlighting, command line history, on-line help, filename
  completion, block operations, folding, Unicode support, etc.
  .
  This package contains gdb debugging symbols for the vim packages.

drwxr-xr-x root/root         0 2019-08-03 11:22 ./
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/lib/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/lib/debug/
drwxr-xr-x root/root         0 2019-08-03 11:16 ./usr/lib/debug/usr/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/lib/debug/usr/bin/
-rw-r--r-- root/root   5887268 2019-08-03 11:16 ./usr/lib/debug/usr/bin/vim.athena
-rw-r--r-- root/root   4757316 2019-08-03 11:22 ./usr/lib/debug/usr/bin/vim.basic
-rw-r--r-- root/root   6171980 2019-08-03 11:16 ./usr/lib/debug/usr/bin/vim.gnome
-rw-r--r-- root/root   6162388 2019-08-03 11:17 ./usr/lib/debug/usr/bin/vim.gtk
-rw-r--r-- root/root   5211136 2019-08-03 11:16 ./usr/lib/debug/usr/bin/vim.nox
-rw-r--r-- root/root   1982592 2019-08-03 11:17 ./usr/lib/debug/usr/bin/vim.tiny
-rw-r--r-- root/root     22252 2019-08-03 11:22 ./usr/lib/debug/usr/bin/xxd
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/doc/
drwxr-xr-x root/root         0 2019-08-03 11:22 ./usr/share/doc/vim-dbg/
-rw-r--r-- root/root      1366 2014-10-23 01:01 ./usr/share/doc/vim-dbg/NEWS.Debian.gz
-rw-r--r-- root/root     83241 2019-08-02 21:30 ./usr/share/doc/vim-dbg/changelog.Debian.gz
-rw-r--r-- root/root     10927 2014-10-23 01:01 ./usr/share/doc/vim-dbg/copyright


+------------------------------------------------------------------------------+
| Post Build                                                                   |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 319664
Build-Time: 2190
Distribution: jessie-staging
Host Architecture: armhf
Install-Time: 1986
Job: vim_2:7.4.488-7+deb8u4
Machine Architecture: armhf
Package: vim
Package-Time: 4247
Source-Version: 2:7.4.488-7+deb8u4
Space: 319664
Status: successful
Version: 2:7.4.488-7+deb8u4
--------------------------------------------------------------------------------
Finished at 2019-08-03T11:24:40Z
Build needed 01:10:47, 319664k disc space