vim →
2:7.3.547-7+deb7u3 →
armhf → 2017-03-09 05:23:32
sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on testbuildd.raspbian.org
+==============================================================================+
| vim 2:7.3.547-7+deb7u3 (armhf) Thu, 09 Mar 2017 04:15:05 +0000 |
+==============================================================================+
Package: vim
Version: 2:7.3.547-7+deb7u3
Source Version: 2:7.3.547-7+deb7u3
Distribution: wheezy-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf
I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/wheezy-staging-armhf-sbuild-21df53f3-dee1-43d0-b26c-bcf2e231c8e2' with '<<CHROOT>>'
+------------------------------------------------------------------------------+
| Update chroot |
+------------------------------------------------------------------------------+
Get:1 http://172.17.0.1 wheezy-staging Release.gpg [473 B]
Get:2 http://172.17.0.1 wheezy-staging Release [10.8 kB]
Get:3 http://172.17.0.1 wheezy-staging/main Sources [6092 kB]
Get:4 http://172.17.0.1 wheezy-staging/main armhf Packages [6942 kB]
Fetched 13.0 MB in 20s (634 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...
NOTICE: 'vim' packaging is maintained in the 'Hg' version control system at:
http://hg.debian.org/hg/pkg-vim/vim
Need to get 11.3 MB of source archives.
Get:1 http://172.17.0.1/private/ wheezy-staging/main vim 2:7.3.547-7+deb7u3 (dsc) [2787 B]
Get:2 http://172.17.0.1/private/ wheezy-staging/main vim 2:7.3.547-7+deb7u3 (tar) [11.1 MB]
Get:3 http://172.17.0.1/private/ wheezy-staging/main vim 2:7.3.547-7+deb7u3 (diff) [194 kB]
Fetched 11.3 MB in 3s (3119 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/vim-XdRqEP/vim-7.3.547' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/vim-XdRqEP' 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-JVfhuy/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-JVfhuy/gpg/secring.gpg' created
gpg: keyring `/<<BUILDDIR>>/resolver-JVfhuy/gpg/pubring.gpg' created
gpg: /<<BUILDDIR>>/resolver-JVfhuy/gpg/trustdb.gpg: trustdb created
gpg: key 34E39F26: 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 34E39F26: secret key imported
gpg: key 34E39F26: "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
Get:1 copy: ./ Release.gpg [316 B]
Get:2 copy: ./ Release [957 B]
Get:3 copy: ./ Sources [350 B]
Get:4 copy: ./ Packages [431 B]
Fetched 2054 B in 0s (22.4 kB/s)
Reading package lists...
Reading package lists...
Install core build dependencies (apt-based resolver)
----------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 706 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-JVfhuy/apt_archive/ ./ sbuild-build-depends-core-dummy 0.invalid.0 [706 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 706 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 11317 files and directories currently installed.)
Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb) ...
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, 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.1, liblua5.1-dev
Filtered Build-Depends: libacl1-dev, libgpmg1-dev, 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.1, liblua5.1-dev
dpkg-deb: building package `sbuild-build-depends-vim-dummy' in `/<<BUILDDIR>>/resolver-JVfhuy/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.
Get:1 copy: ./ Release.gpg [316 B]
Get:2 copy: ./ Release [963 B]
Get:3 copy: ./ Sources [616 B]
Get:4 copy: ./ Packages [663 B]
Fetched 2558 B in 0s (27.1 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:
adduser bsdmainutils dbus dbus-x11 debhelper desktop-file-utils dmsetup file
fontconfig fontconfig-config gconf-service gconf2 gconf2-common gettext
gettext-base 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-pango-1.0 gnome-mime-data groff-base gvfs gvfs-common gvfs-daemons
gvfs-libs html2text intltool-debian libacl1-dev libart-2.0-2 libart-2.0-dev
libasound2 libasprintf0c2 libatasmart4 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 libbluray1 libbonobo2-0 libbonobo2-common libbonobo2-dev
libbonoboui2-0 libbonoboui2-common libbonoboui2-dev libcairo-gobject2
libcairo-script-interpreter2 libcairo2 libcairo2-dev libcanberra-dev
libcanberra0 libcap2 libcroco3 libcups2 libdatrie1 libdbus-1-dev
libdbus-glib-1-2 libdevmapper-event1.02.1 libdevmapper1.02.1 libdrm2 libelf1
libexpat1 libexpat1-dev libfam0 libffi5 libfontconfig1 libfontconfig1-dev
libfontenc1 libfreetype6 libfreetype6-dev libgail-common libgail-dev
libgail18 libgconf-2-4 libgconf2-dev libgcrypt11 libgcrypt11-dev
libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgdk-pixbuf2.0-dev libgdu0
libgettextpo0 libgirepository-1.0-1 libgl1-mesa-glx libglade2-0
libglapi-mesa libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev
libgnome-keyring-common libgnome-keyring-dev libgnome-keyring0 libgnome2-0
libgnome2-common libgnome2-dev libgnomecanvas2-0 libgnomecanvas2-common
libgnomecanvas2-dev libgnomeui-0 libgnomeui-common libgnomeui-dev
libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-dev libgnutls-dev
libgnutls-openssl27 libgnutls26 libgnutlsxx27 libgpg-error-dev libgpg-error0
libgpm-dev libgpm2 libgssapi-krb5-2 libgtk2.0-0 libgtk2.0-common
libgtk2.0-dev libgudev-1.0-0 libice-dev libice6 libidl-dev libidl0
libjasper1 libjbig0 libjpeg8 libk5crypto3 libkeyutils1 libkrb5-3
libkrb5support0 libldap-2.4-2 libltdl7 liblua5.1-0 liblua5.1-0-dev
liblvm2app2.2 libmagic1 libogg0 liborbit2 liborbit2-dev libp11-kit-dev
libp11-kit0 libpango1.0-0 libpango1.0-dev libparted0debian1 libpcre3
libpcre3-dev libpcrecpp0 libperl-dev libperl5.14 libpipeline1 libpixman-1-0
libpixman-1-dev libpng12-0 libpng12-dev libpolkit-gobject-1-0 libpopt-dev
libpopt0 libpthread-stubs0 libpthread-stubs0-dev libpython2.7
libreadline-dev libreadline6-dev libruby1.9.1 libsasl2-2 libselinux1-dev
libsepol1-dev libsgutils2-2 libsm-dev libsm6 libsqlite3-0 libssl-dev
libssl1.0.0 libsystemd-login0 libtasn1-3 libtasn1-3-dev libtdb1 libthai-data
libthai0 libtiff4 libtinfo-dev libunistring0 libvorbis0a libvorbisfile3
libx11-6 libx11-data libx11-dev libx11-xcb1 libxau-dev libxau6 libxaw7
libxaw7-dev libxcb-glx0 libxcb-render0 libxcb-render0-dev libxcb-shape0
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 libxmuu1
libxpm-dev libxpm4 libxrandr-dev libxrandr2 libxrender-dev libxrender1
libxt-dev libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 libyaml-0-2 lua5.1
man-db mime-support pkg-config po-debconf psmisc python python-dev
python-minimal python2.7 python2.7-dev python2.7-minimal ruby ruby-dev
ruby1.9.1 ruby1.9.1-dev shared-mime-info tcl tcl-dev tcl8.5 tcl8.5-dev
ttf-dejavu-core ucf udisks x11-common x11-utils 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:
wamerican wordlist whois vacation dh-make gconf-defaults-service gettext-doc
groff gvfs-backends libasound2-plugins libbluray-bdj libbonobo2-bin
libcairo2-doc libcanberra-gtk0 libcanberra-pulse cups-common fam libgail-doc
rng-tools libgcrypt11-doc libglib2.0-doc gnome-keyring desktop-base
libgnome2-doc libgnomecanvas2-doc gnome-icon-theme libgnomeui-doc
libgnomevfs2-bin gnutls26-doc gpm krb5-doc krb5-user librsvg2-common
libgtk2.0-doc libice-doc libjasper-runtime ttf-baekmuk ttf-arphic-gbsn00lp
ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp libpango1.0-doc
imagemagick parted nparted libparted0-dev libparted0-i18n sg3-utils
libsm-doc libxaw-doc libxcb-doc libxext-doc libxt-doc less www-browser
libmail-box-perl python-doc python-tk python2.7-doc binfmt-support
ruby1.9.1-examples ri1.9.1 graphviz ruby-switch tcl-doc tcl-tclreadline
tcl8.5-doc xfsprogs reiserfsprogs mdadm mesa-utils
Recommended packages:
curl wget lynx-cur autopoint policykit-1-gnome libaacs0 libgconf2-doc
libgl1-mesa-dri libgnomevfs2-extra hicolor-icon-theme libgtk2.0-bin
krb5-locales libtool orbit2 libsasl2-modules libssl-doc libx11-doc xml-core
libmail-sendmail-perl policykit-1 hdparm dosfstools ntfs-3g eject
cryptsetup-bin
The following NEW packages will be installed:
adduser bsdmainutils dbus dbus-x11 debhelper desktop-file-utils dmsetup file
fontconfig fontconfig-config gconf-service gconf2 gconf2-common gettext
gettext-base 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-pango-1.0 gnome-mime-data groff-base gvfs gvfs-common gvfs-daemons
gvfs-libs html2text intltool-debian libacl1-dev libart-2.0-2 libart-2.0-dev
libasound2 libasprintf0c2 libatasmart4 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 libbluray1 libbonobo2-0 libbonobo2-common libbonobo2-dev
libbonoboui2-0 libbonoboui2-common libbonoboui2-dev libcairo-gobject2
libcairo-script-interpreter2 libcairo2 libcairo2-dev libcanberra-dev
libcanberra0 libcap2 libcroco3 libcups2 libdatrie1 libdbus-1-dev
libdbus-glib-1-2 libdevmapper-event1.02.1 libdevmapper1.02.1 libdrm2 libelf1
libexpat1 libexpat1-dev libfam0 libffi5 libfontconfig1 libfontconfig1-dev
libfontenc1 libfreetype6 libfreetype6-dev libgail-common libgail-dev
libgail18 libgconf-2-4 libgconf2-dev libgcrypt11 libgcrypt11-dev
libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgdk-pixbuf2.0-dev libgdu0
libgettextpo0 libgirepository-1.0-1 libgl1-mesa-glx libglade2-0
libglapi-mesa libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev
libgnome-keyring-common libgnome-keyring-dev libgnome-keyring0 libgnome2-0
libgnome2-common libgnome2-dev libgnomecanvas2-0 libgnomecanvas2-common
libgnomecanvas2-dev libgnomeui-0 libgnomeui-common libgnomeui-dev
libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-dev libgnutls-dev
libgnutls-openssl27 libgnutls26 libgnutlsxx27 libgpg-error-dev libgpg-error0
libgpm-dev libgpm2 libgssapi-krb5-2 libgtk2.0-0 libgtk2.0-common
libgtk2.0-dev libgudev-1.0-0 libice-dev libice6 libidl-dev libidl0
libjasper1 libjbig0 libjpeg8 libk5crypto3 libkeyutils1 libkrb5-3
libkrb5support0 libldap-2.4-2 libltdl7 liblua5.1-0 liblua5.1-0-dev
liblvm2app2.2 libmagic1 libogg0 liborbit2 liborbit2-dev libp11-kit-dev
libp11-kit0 libpango1.0-0 libpango1.0-dev libparted0debian1 libpcre3
libpcre3-dev libpcrecpp0 libperl-dev libperl5.14 libpipeline1 libpixman-1-0
libpixman-1-dev libpng12-0 libpng12-dev libpolkit-gobject-1-0 libpopt-dev
libpopt0 libpthread-stubs0 libpthread-stubs0-dev libpython2.7
libreadline-dev libreadline6-dev libruby1.9.1 libsasl2-2 libselinux1-dev
libsepol1-dev libsgutils2-2 libsm-dev libsm6 libsqlite3-0 libssl-dev
libssl1.0.0 libsystemd-login0 libtasn1-3 libtasn1-3-dev libtdb1 libthai-data
libthai0 libtiff4 libtinfo-dev libunistring0 libvorbis0a libvorbisfile3
libx11-6 libx11-data libx11-dev libx11-xcb1 libxau-dev libxau6 libxaw7
libxaw7-dev libxcb-glx0 libxcb-render0 libxcb-render0-dev libxcb-shape0
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 libxmuu1
libxpm-dev libxpm4 libxrandr-dev libxrandr2 libxrender-dev libxrender1
libxt-dev libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 libyaml-0-2 lua5.1
man-db mime-support pkg-config po-debconf psmisc python python-dev
python-minimal python2.7 python2.7-dev python2.7-minimal ruby ruby-dev
ruby1.9.1 ruby1.9.1-dev sbuild-build-depends-vim-dummy shared-mime-info tcl
tcl-dev tcl8.5 tcl8.5-dev ttf-dejavu-core ucf udisks x11-common x11-utils
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, 285 newly installed, 0 to remove and 19 not upgraded.
Need to get 118 MB of archives.
After this operation, 316 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-JVfhuy/apt_archive/ ./ sbuild-build-depends-vim-dummy 0.invalid.0 [804 B]
Get:2 http://172.17.0.1/private/ wheezy-staging/main libpcre3 armhf 1:8.30-5 [242 kB]
Get:3 http://172.17.0.1/private/ wheezy-staging/main libpipeline1 armhf 1.2.1-1 [35.0 kB]
Get:4 http://172.17.0.1/private/ wheezy-staging/main libpopt0 armhf 1.16-7 [56.5 kB]
Get:5 http://172.17.0.1/private/ wheezy-staging/main libssl1.0.0 armhf 1.0.1t-1+deb7u2 [1070 kB]
Get:6 http://172.17.0.1/private/ wheezy-staging/main libasprintf0c2 armhf 0.18.1.1-9 [26.4 kB]
Get:7 http://172.17.0.1/private/ wheezy-staging/main libcap2 armhf 1:2.22-1.2 [12.5 kB]
Get:8 http://172.17.0.1/private/ wheezy-staging/main libgpg-error0 armhf 1.10-3.1 [78.5 kB]
Get:9 http://172.17.0.1/private/ wheezy-staging/main libgcrypt11 armhf 1.5.0-5+deb7u5 [302 kB]
Get:10 http://172.17.0.1/private/ wheezy-staging/main libp11-kit0 armhf 0.12-3 [48.2 kB]
Get:11 http://172.17.0.1/private/ wheezy-staging/main libtasn1-3 armhf 2.13-2+deb7u3 [63.8 kB]
Get:12 http://172.17.0.1/private/ wheezy-staging/main libgnutls26 armhf 2.12.20-8+deb7u3 [602 kB]
Get:13 http://172.17.0.1/private/ wheezy-staging/main libgnutls-openssl27 armhf 2.12.20-8+deb7u3 [218 kB]
Get:14 http://172.17.0.1/private/ wheezy-staging/main libgpm2 armhf 1.20.4-6 [34.9 kB]
Get:15 http://172.17.0.1/private/ wheezy-staging/main libkeyutils1 armhf 1.5.5-3+deb7u1 [7880 B]
Get:16 http://172.17.0.1/private/ wheezy-staging/main libkrb5support0 armhf 1.10.1+dfsg-5+deb7u7 [47.0 kB]
Get:17 http://172.17.0.1/private/ wheezy-staging/main libk5crypto3 armhf 1.10.1+dfsg-5+deb7u7 [113 kB]
Get:18 http://172.17.0.1/private/ wheezy-staging/main libkrb5-3 armhf 1.10.1+dfsg-5+deb7u7 [343 kB]
Get:19 http://172.17.0.1/private/ wheezy-staging/main libgssapi-krb5-2 armhf 1.10.1+dfsg-5+deb7u7 [133 kB]
Get:20 http://172.17.0.1/private/ wheezy-staging/main libsasl2-2 armhf 2.1.25.dfsg1-6+deb7u1 [110 kB]
Get:21 http://172.17.0.1/private/ wheezy-staging/main libldap-2.4-2 armhf 2.4.31-2+rpi1 [218 kB]
Get:22 http://172.17.0.1/private/ wheezy-staging/main libmagic1 armhf 5.11-2+deb7u9 [201 kB]
Get:23 http://172.17.0.1/private/ wheezy-staging/main libsqlite3-0 armhf 3.7.13-1+deb7u3 [414 kB]
Get:24 http://172.17.0.1/private/ wheezy-staging/main libxml2 armhf 2.8.0+dfsg1-7+wheezy7 [826 kB]
Get:25 http://172.17.0.1/private/ wheezy-staging/main libart-2.0-2 armhf 2.3.21-2 [63.8 kB]
Get:26 http://172.17.0.1/private/ wheezy-staging/main libasound2 armhf 1.0.25-4 [410 kB]
Get:27 http://172.17.0.1/private/ wheezy-staging/main libatasmart4 armhf 0.19-1 [28.5 kB]
Get:28 http://172.17.0.1/private/ wheezy-staging/main libffi5 armhf 3.0.10-3+b3 [22.9 kB]
Get:29 http://172.17.0.1/private/ wheezy-staging/main libglib2.0-0 armhf 2.33.12+really2.32.4-5 [1689 kB]
Get:30 http://172.17.0.1/private/ wheezy-staging/main libatk1.0-data all 2.4.0-2 [240 kB]
Get:31 http://172.17.0.1/private/ wheezy-staging/main libatk1.0-0 armhf 2.4.0-2 [86.8 kB]
Get:32 http://172.17.0.1/private/ wheezy-staging/main libavahi-common-data armhf 0.6.31-2 [137 kB]
Get:33 http://172.17.0.1/private/ wheezy-staging/main libavahi-common3 armhf 0.6.31-2 [52.6 kB]
Get:34 http://172.17.0.1/private/ wheezy-staging/main libavahi-client3 armhf 0.6.31-2 [55.4 kB]
Get:35 http://172.17.0.1/private/ wheezy-staging/main libavahi-glib1 armhf 0.6.31-2 [38.0 kB]
Get:36 http://172.17.0.1/private/ wheezy-staging/main libbluray1 armhf 1:0.2.2-1 [89.4 kB]
Get:37 http://172.17.0.1/private/ wheezy-staging/main libexpat1 armhf 2.1.0-1+deb7u4 [118 kB]
Get:38 http://172.17.0.1/private/ wheezy-staging/main libfreetype6 armhf 2.4.9-1.1+deb7u4 [402 kB]
Get:39 http://172.17.0.1/private/ wheezy-staging/main ucf all 3.0025+nmu3 [70.8 kB]
Get:40 http://172.17.0.1/private/ wheezy-staging/main ttf-dejavu-core all 2.33-3 [1021 kB]
Get:41 http://172.17.0.1/private/ wheezy-staging/main fontconfig-config all 2.9.0-7.1+deb7u1 [233 kB]
Get:42 http://172.17.0.1/private/ wheezy-staging/main libfontconfig1 armhf 2.9.0-7.1+deb7u1 [286 kB]
Get:43 http://172.17.0.1/private/ wheezy-staging/main libpixman-1-0 armhf 0.26.0-4+deb7u2 [413 kB]
Get:44 http://172.17.0.1/private/ wheezy-staging/main libpng12-0 armhf 1.2.49-1+deb7u2 [179 kB]
Get:45 http://172.17.0.1/private/ wheezy-staging/main libxau6 armhf 1:1.0.7-1 [17.6 kB]
Get:46 http://172.17.0.1/private/ wheezy-staging/main libxdmcp6 armhf 1:1.1.1-1 [24.6 kB]
Get:47 http://172.17.0.1/private/ wheezy-staging/main libxcb1 armhf 1.8.1-2+deb7u1 [42.8 kB]
Get:48 http://172.17.0.1/private/ wheezy-staging/main libx11-data all 2:1.5.0-1+deb7u4 [189 kB]
Get:49 http://172.17.0.1/private/ wheezy-staging/main libx11-6 armhf 2:1.5.0-1+deb7u4 [838 kB]
Get:50 http://172.17.0.1/private/ wheezy-staging/main libxcb-render0 armhf 1.8.1-2+deb7u1 [16.4 kB]
Get:51 http://172.17.0.1/private/ wheezy-staging/main libxcb-shm0 armhf 1.8.1-2+deb7u1 [10.0 kB]
Get:52 http://172.17.0.1/private/ wheezy-staging/main libxrender1 armhf 1:0.9.7-1+deb7u3 [30.0 kB]
Get:53 http://172.17.0.1/private/ wheezy-staging/main libcairo2 armhf 1.12.2-3+deb7u1 [846 kB]
Get:54 http://172.17.0.1/private/ wheezy-staging/main libcairo-gobject2 armhf 1.12.2-3+deb7u1 [437 kB]
Get:55 http://172.17.0.1/private/ wheezy-staging/main libcairo-script-interpreter2 armhf 1.12.2-3+deb7u1 [472 kB]
Get:56 http://172.17.0.1/private/ wheezy-staging/main libltdl7 armhf 2.4.2-1.1 [349 kB]
Get:57 http://172.17.0.1/private/ wheezy-staging/main libogg0 armhf 1.3.0-4 [17.8 kB]
Get:58 http://172.17.0.1/private/ wheezy-staging/main libtdb1 armhf 1.2.10-2 [34.6 kB]
Get:59 http://172.17.0.1/private/ wheezy-staging/main libvorbis0a armhf 1.3.2-1.3 [102 kB]
Get:60 http://172.17.0.1/private/ wheezy-staging/main libvorbisfile3 armhf 1.3.2-1.3 [24.2 kB]
Get:61 http://172.17.0.1/private/ wheezy-staging/main libcanberra0 armhf 0.28-6 [36.6 kB]
Get:62 http://172.17.0.1/private/ wheezy-staging/main libcroco3 armhf 0.6.6-2 [119 kB]
Get:63 http://172.17.0.1/private/ wheezy-staging/main libcups2 armhf 1.5.3-5+deb7u6 [238 kB]
Get:64 http://172.17.0.1/private/ wheezy-staging/main libdatrie1 armhf 0.2.5-3 [26.0 kB]
Get:65 http://172.17.0.1/private/ wheezy-staging/main libdbus-glib-1-2 armhf 0.100.2-1 [190 kB]
Get:66 http://172.17.0.1/private/ wheezy-staging/main dmsetup armhf 2:1.02.74-8+rpi1 [67.3 kB]
Get:67 http://172.17.0.1/private/ wheezy-staging/main libdevmapper1.02.1 armhf 2:1.02.74-8+rpi1 [131 kB]
Get:68 http://172.17.0.1/private/ wheezy-staging/main libdevmapper-event1.02.1 armhf 2:1.02.74-8+rpi1 [31.7 kB]
Get:69 http://172.17.0.1/private/ wheezy-staging/main libdrm2 armhf 2.4.40-1~deb7u2 [456 kB]
Get:70 http://172.17.0.1/private/ wheezy-staging/main libfontenc1 armhf 1:1.1.1-1 [22.6 kB]
Get:71 http://172.17.0.1/private/ wheezy-staging/main libjpeg8 armhf 8d-1+deb7u1 [132 kB]
Get:72 http://172.17.0.1/private/ wheezy-staging/main libjasper1 armhf 1.900.1-13+deb7u5 [142 kB]
Get:73 http://172.17.0.1/private/ wheezy-staging/main libjbig0 armhf 2.0-2+deb7u1 [31.6 kB]
Get:74 http://172.17.0.1/private/ wheezy-staging/main libtiff4 armhf 3.9.6-11+deb7u3 [189 kB]
Get:75 http://172.17.0.1/private/ wheezy-staging/main libgdk-pixbuf2.0-common all 2.26.1-1+deb7u5 [288 kB]
Get:76 http://172.17.0.1/private/ wheezy-staging/main libgdk-pixbuf2.0-0 armhf 2.26.1-1+deb7u5 [142 kB]
Get:77 http://172.17.0.1/private/ wheezy-staging/main libthai-data all 0.1.18-2 [154 kB]
Get:78 http://172.17.0.1/private/ wheezy-staging/main libthai0 armhf 0.1.18-2 [39.7 kB]
Get:79 http://172.17.0.1/private/ wheezy-staging/main libxft2 armhf 2.3.1-1 [55.4 kB]
Get:80 http://172.17.0.1/private/ wheezy-staging/main fontconfig armhf 2.9.0-7.1+deb7u1 [348 kB]
Get:81 http://172.17.0.1/private/ wheezy-staging/main libpango1.0-0 armhf 1.30.0-1 [417 kB]
Get:82 http://172.17.0.1/private/ wheezy-staging/main libxcomposite1 armhf 1:0.4.3-2 [16.2 kB]
Get:83 http://172.17.0.1/private/ wheezy-staging/main libxdamage1 armhf 1:1.1.3-2 [13.8 kB]
Get:84 http://172.17.0.1/private/ wheezy-staging/main libxfixes3 armhf 1:5.0-4+deb7u2 [19.8 kB]
Get:85 http://172.17.0.1/private/ wheezy-staging/main libgtk2.0-common all 2.24.10-2 [3081 kB]
Get:86 http://172.17.0.1/private/ wheezy-staging/main libxcursor1 armhf 1:1.1.13-1+deb7u1 [23.8 kB]
Get:87 http://172.17.0.1/private/ wheezy-staging/main libxext6 armhf 2:1.3.1-2+deb7u1 [48.7 kB]
Get:88 http://172.17.0.1/private/ wheezy-staging/main libxi6 armhf 2:1.6.1-1+deb7u3 [72.0 kB]
Get:89 http://172.17.0.1/private/ wheezy-staging/main libxinerama1 armhf 2:1.1.2-1+deb7u1 [16.2 kB]
Get:90 http://172.17.0.1/private/ wheezy-staging/main libxrandr2 armhf 2:1.3.2-2+deb7u2 [30.9 kB]
Get:91 http://172.17.0.1/private/ wheezy-staging/main shared-mime-info armhf 1.0-1 [1065 kB]
Get:92 http://172.17.0.1/private/ wheezy-staging/main libgtk2.0-0 armhf 2.24.10-2 [1893 kB]
Get:93 http://172.17.0.1/private/ wheezy-staging/main libgail18 armhf 2.24.10-2 [479 kB]
Get:94 http://172.17.0.1/private/ wheezy-staging/main gconf2-common all 3.2.5-1+build1 [1023 kB]
Get:95 http://172.17.0.1/private/ wheezy-staging/main libgconf-2-4 armhf 3.2.5-1+build1 [422 kB]
Get:96 http://172.17.0.1/private/ wheezy-staging/main libunistring0 armhf 0.9.3-5 [408 kB]
Get:97 http://172.17.0.1/private/ wheezy-staging/main libgettextpo0 armhf 0.18.1.1-9 [130 kB]
Get:98 http://172.17.0.1/private/ wheezy-staging/main libglapi-mesa armhf 8.0.5-4+deb7u2+rpi1 [52.0 kB]
Get:99 http://172.17.0.1/private/ wheezy-staging/main libx11-xcb1 armhf 2:1.5.0-1+deb7u4 [139 kB]
Get:100 http://172.17.0.1/private/ wheezy-staging/main libxcb-glx0 armhf 1.8.1-2+deb7u1 [27.2 kB]
Get:101 http://172.17.0.1/private/ wheezy-staging/main libxxf86vm1 armhf 1:1.1.2-1+deb7u1 [18.7 kB]
Get:102 http://172.17.0.1/private/ wheezy-staging/main libgl1-mesa-glx armhf 8.0.5-4+deb7u2+rpi1 [122 kB]
Get:103 http://172.17.0.1/private/ wheezy-staging/main libelf1 armhf 0.152-1+wheezy1 [300 kB]
Get:104 http://172.17.0.1/private/ wheezy-staging/main libglib2.0-data all 2.33.12+really2.32.4-5 [1607 kB]
Get:105 http://172.17.0.1/private/ wheezy-staging/main libglib2.0-bin armhf 2.33.12+really2.32.4-5 [867 kB]
Get:106 http://172.17.0.1/private/ wheezy-staging/main libgnome-keyring-common all 3.4.1-1 [59.8 kB]
Get:107 http://172.17.0.1/private/ wheezy-staging/main libgnome-keyring0 armhf 3.4.1-1 [84.9 kB]
Get:108 http://172.17.0.1/private/ wheezy-staging/main libgudev-1.0-0 armhf 175-7.2 [110 kB]
Get:109 http://172.17.0.1/private/ wheezy-staging/main x11-common all 1:7.7+3~deb7u1 [284 kB]
Get:110 http://172.17.0.1/private/ wheezy-staging/main libice6 armhf 2:1.0.8-2 [56.2 kB]
Get:111 http://172.17.0.1/private/ wheezy-staging/main liblua5.1-0 armhf 5.1.5-4+deb7u1 [146 kB]
Get:112 http://172.17.0.1/private/ wheezy-staging/main liblvm2app2.2 armhf 2.02.95-8+rpi1 [330 kB]
Get:113 http://172.17.0.1/private/ wheezy-staging/main libparted0debian1 armhf 2.3-12 [305 kB]
Get:114 http://172.17.0.1/private/ wheezy-staging/main libpcrecpp0 armhf 1:8.30-5 [124 kB]
Get:115 http://172.17.0.1/private/ wheezy-staging/main libpolkit-gobject-1-0 armhf 0.105-3 [42.7 kB]
Get:116 http://172.17.0.1/private/ wheezy-staging/main libsm6 armhf 2:1.2.1-2 [32.5 kB]
Get:117 http://172.17.0.1/private/ wheezy-staging/main libxt6 armhf 1:1.1.3-1+deb7u1 [181 kB]
Get:118 http://172.17.0.1/private/ wheezy-staging/main libxmu6 armhf 2:1.1.1-1 [59.1 kB]
Get:119 http://172.17.0.1/private/ wheezy-staging/main libxpm4 armhf 1:3.5.10-1+deb7u1 [45.2 kB]
Get:120 http://172.17.0.1/private/ wheezy-staging/main libxaw7 armhf 2:1.0.10-2 [192 kB]
Get:121 http://172.17.0.1/private/ wheezy-staging/main libxcb-shape0 armhf 1.8.1-2+deb7u1 [10.6 kB]
Get:122 http://172.17.0.1/private/ wheezy-staging/main libxmuu1 armhf 2:1.1.1-1 [23.0 kB]
Get:123 http://172.17.0.1/private/ wheezy-staging/main libxtst6 armhf 2:1.2.1-1+deb7u2 [25.4 kB]
Get:124 http://172.17.0.1/private/ wheezy-staging/main libxv1 armhf 2:1.0.7-1+deb7u2 [20.9 kB]
Get:125 http://172.17.0.1/private/ wheezy-staging/main libxxf86dga1 armhf 2:1.1.3-2+deb7u1 [21.1 kB]
Get:126 http://172.17.0.1/private/ wheezy-staging/main libyaml-0-2 armhf 0.1.4-2+deb7u5 [49.4 kB]
Get:127 http://172.17.0.1/private/ wheezy-staging/main libgnutlsxx27 armhf 2.12.20-8+deb7u3 [219 kB]
Get:128 http://172.17.0.1/private/ wheezy-staging/main libsystemd-login0 armhf 44-11+deb7u5 [28.3 kB]
Get:129 http://172.17.0.1/private/ wheezy-staging/main adduser all 3.113+nmu3 [264 kB]
Get:130 http://172.17.0.1/private/ wheezy-staging/main bsdmainutils armhf 9.0.3 [207 kB]
Get:131 http://172.17.0.1/private/ wheezy-staging/main groff-base armhf 1.21-9 [1071 kB]
Get:132 http://172.17.0.1/private/ wheezy-staging/main man-db armhf 2.6.2-1 [1027 kB]
Get:133 http://172.17.0.1/private/ wheezy-staging/main file armhf 5.11-2+deb7u9 [53.2 kB]
Get:134 http://172.17.0.1/private/ wheezy-staging/main gettext-base armhf 0.18.1.1-9 [138 kB]
Get:135 http://172.17.0.1/private/ wheezy-staging/main mime-support all 3.52-1+deb7u1 [35.5 kB]
Get:136 http://172.17.0.1/private/ wheezy-staging/main python2.7-minimal armhf 2.7.3-6+deb7u3 [1660 kB]
Get:137 http://172.17.0.1/private/ wheezy-staging/main python2.7 armhf 2.7.3-6+deb7u3 [2671 kB]
Get:138 http://172.17.0.1/private/ wheezy-staging/main python-minimal all 2.7.3-4+deb7u1 [42.8 kB]
Get:139 http://172.17.0.1/private/ wheezy-staging/main python all 2.7.3-4+deb7u1 [181 kB]
Get:140 http://172.17.0.1/private/ wheezy-staging/main dbus armhf 1.6.8-1+deb7u6 [353 kB]
Get:141 http://172.17.0.1/private/ wheezy-staging/main dbus-x11 armhf 1.6.8-1+deb7u6 [58.8 kB]
Get:142 http://172.17.0.1/private/ wheezy-staging/main html2text armhf 1.3.2a-15 [98.5 kB]
Get:143 http://172.17.0.1/private/ wheezy-staging/main gettext armhf 0.18.1.1-9 [1879 kB]
Get:144 http://172.17.0.1/private/ wheezy-staging/main intltool-debian all 0.35.0+20060710.1 [29.8 kB]
Get:145 http://172.17.0.1/private/ wheezy-staging/main po-debconf all 1.0.16+nmu2 [223 kB]
Get:146 http://172.17.0.1/private/ wheezy-staging/main debhelper all 9.20120909 [705 kB]
Get:147 http://172.17.0.1/private/ wheezy-staging/main desktop-file-utils armhf 0.20-0.1 [90.7 kB]
Get:148 http://172.17.0.1/private/ wheezy-staging/main gconf-service armhf 3.2.5-1+build1 [415 kB]
Get:149 http://172.17.0.1/private/ wheezy-staging/main psmisc armhf 22.19-1+deb7u1 [132 kB]
Get:150 http://172.17.0.1/private/ wheezy-staging/main gconf2 armhf 3.2.5-1+build1 [430 kB]
Get:151 http://172.17.0.1/private/ wheezy-staging/main libgirepository-1.0-1 armhf 1.32.1-1 [96.0 kB]
Get:152 http://172.17.0.1/private/ wheezy-staging/main gir1.2-glib-2.0 armhf 1.32.1-1 [170 kB]
Get:153 http://172.17.0.1/private/ wheezy-staging/main gir1.2-atk-1.0 armhf 2.4.0-2 [64.9 kB]
Get:154 http://172.17.0.1/private/ wheezy-staging/main gir1.2-freedesktop armhf 1.32.1-1 [19.9 kB]
Get:155 http://172.17.0.1/private/ wheezy-staging/main gir1.2-gconf-2.0 armhf 3.2.5-1+build1 [357 kB]
Get:156 http://172.17.0.1/private/ wheezy-staging/main gir1.2-gdkpixbuf-2.0 armhf 2.26.1-1+deb7u5 [14.0 kB]
Get:157 http://172.17.0.1/private/ wheezy-staging/main gir1.2-gnomekeyring-1.0 armhf 3.4.1-1 [37.3 kB]
Get:158 http://172.17.0.1/private/ wheezy-staging/main gir1.2-pango-1.0 armhf 1.30.0-1 [151 kB]
Get:159 http://172.17.0.1/private/ wheezy-staging/main gnome-mime-data all 2.18.0-1 [725 kB]
Get:160 http://172.17.0.1/private/ wheezy-staging/main libsgutils2-2 armhf 1.33-1 [74.2 kB]
Get:161 http://172.17.0.1/private/ wheezy-staging/main udisks armhf 1.0.4-7wheezy1 [247 kB]
Get:162 http://172.17.0.1/private/ wheezy-staging/main libgdu0 armhf 3.0.2-3 [64.4 kB]
Get:163 http://172.17.0.1/private/ wheezy-staging/main x11-utils armhf 7.7~1 [215 kB]
Get:164 http://172.17.0.1/private/ wheezy-staging/main gvfs-common all 1.12.3-4 [547 kB]
Get:165 http://172.17.0.1/private/ wheezy-staging/main gvfs-libs armhf 1.12.3-4 [181 kB]
Get:166 http://172.17.0.1/private/ wheezy-staging/main gvfs-daemons armhf 1.12.3-4 [210 kB]
Get:167 http://172.17.0.1/private/ wheezy-staging/main gvfs armhf 1.12.3-4 [187 kB]
Get:168 http://172.17.0.1/private/ wheezy-staging/main pkg-config armhf 0.26-1 [56.9 kB]
Get:169 http://172.17.0.1/private/ wheezy-staging/main libart-2.0-dev armhf 2.3.21-2 [82.0 kB]
Get:170 http://172.17.0.1/private/ wheezy-staging/main libpcre3-dev armhf 1:8.30-5 [343 kB]
Get:171 http://172.17.0.1/private/ wheezy-staging/main zlib1g-dev armhf 1:1.2.7.dfsg-13 [212 kB]
Get:172 http://172.17.0.1/private/ wheezy-staging/main libglib2.0-dev armhf 2.33.12+really2.32.4-5 [1888 kB]
Get:173 http://172.17.0.1/private/ wheezy-staging/main libatk1.0-dev armhf 2.4.0-2 [117 kB]
Get:174 http://172.17.0.1/private/ wheezy-staging/main libavahi-common-dev armhf 0.6.31-2 [68.5 kB]
Get:175 http://172.17.0.1/private/ wheezy-staging/main libdbus-1-dev armhf 1.6.8-1+deb7u6 [217 kB]
Get:176 http://172.17.0.1/private/ wheezy-staging/main libavahi-client-dev armhf 0.6.31-2 [62.3 kB]
Get:177 http://172.17.0.1/private/ wheezy-staging/main libavahi-glib-dev armhf 0.6.31-2 [36.6 kB]
Get:178 http://172.17.0.1/private/ wheezy-staging/main libbonobo2-common all 2.24.3-1 [327 kB]
Get:179 http://172.17.0.1/private/ wheezy-staging/main libidl0 armhf 0.8.14-0.2 [127 kB]
Get:180 http://172.17.0.1/private/ wheezy-staging/main liborbit2 armhf 1:2.14.19-0.1 [249 kB]
Get:181 http://172.17.0.1/private/ wheezy-staging/main libbonobo2-0 armhf 2.24.3-1 [287 kB]
Get:182 http://172.17.0.1/private/ wheezy-staging/main libidl-dev armhf 0.8.14-0.2 [137 kB]
Get:183 http://172.17.0.1/private/ wheezy-staging/main liborbit2-dev armhf 1:2.14.19-0.1 [467 kB]
Get:184 http://172.17.0.1/private/ wheezy-staging/main libpopt-dev armhf 1.16-7 [52.0 kB]
Get:185 http://172.17.0.1/private/ wheezy-staging/main libbonobo2-dev armhf 2.24.3-1 [751 kB]
Get:186 http://172.17.0.1/private/ wheezy-staging/main libglade2-0 armhf 1:2.6.4-1 [85.3 kB]
Get:187 http://172.17.0.1/private/ wheezy-staging/main libfam0 armhf 2.7.0-17 [27.8 kB]
Get:188 http://172.17.0.1/private/ wheezy-staging/main libgnomevfs2-common all 1:2.24.4-2 [757 kB]
Get:189 http://172.17.0.1/private/ wheezy-staging/main libgnomevfs2-0 armhf 1:2.24.4-2 [466 kB]
Get:190 http://172.17.0.1/private/ wheezy-staging/main libgnome2-common all 2.32.1-3 [916 kB]
Get:191 http://172.17.0.1/private/ wheezy-staging/main libgnome2-0 armhf 2.32.1-3 [467 kB]
Get:192 http://172.17.0.1/private/ wheezy-staging/main libgnomecanvas2-common all 2.30.3-1.2 [133 kB]
Get:193 http://172.17.0.1/private/ wheezy-staging/main libgnomecanvas2-0 armhf 2.30.3-1.2 [95.0 kB]
Get:194 http://172.17.0.1/private/ wheezy-staging/main libbonoboui2-common all 2.24.3-1 [401 kB]
Get:195 http://172.17.0.1/private/ wheezy-staging/main libbonoboui2-0 armhf 2.24.3-1 [217 kB]
Get:196 http://172.17.0.1/private/ wheezy-staging/main xorg-sgml-doctools all 1:1.10-1 [24.1 kB]
Get:197 http://172.17.0.1/private/ wheezy-staging/main x11proto-core-dev all 7.0.23-1 [774 kB]
Get:198 http://172.17.0.1/private/ wheezy-staging/main libxau-dev armhf 1:1.0.7-1 [21.0 kB]
Get:199 http://172.17.0.1/private/ wheezy-staging/main libxdmcp-dev armhf 1:1.1.1-1 [40.8 kB]
Get:200 http://172.17.0.1/private/ wheezy-staging/main x11proto-input-dev all 2.2-1 [172 kB]
Get:201 http://172.17.0.1/private/ wheezy-staging/main x11proto-kb-dev all 1.0.6-2 [269 kB]
Get:202 http://172.17.0.1/private/ wheezy-staging/main xtrans-dev all 1.2.7-1 [112 kB]
Get:203 http://172.17.0.1/private/ wheezy-staging/main libpthread-stubs0 armhf 0.3-3 [3230 B]
Get:204 http://172.17.0.1/private/ wheezy-staging/main libpthread-stubs0-dev armhf 0.3-3 [3996 B]
Get:205 http://172.17.0.1/private/ wheezy-staging/main libxcb1-dev armhf 1.8.1-2+deb7u1 [81.6 kB]
Get:206 http://172.17.0.1/private/ wheezy-staging/main libx11-dev armhf 2:1.5.0-1+deb7u4 [957 kB]
Get:207 http://172.17.0.1/private/ wheezy-staging/main libpng12-dev armhf 1.2.49-1+deb7u2 [260 kB]
Get:208 http://172.17.0.1/private/ wheezy-staging/main libgdk-pixbuf2.0-dev armhf 2.26.1-1+deb7u5 [47.4 kB]
Get:209 http://172.17.0.1/private/ wheezy-staging/main libfreetype6-dev armhf 2.4.9-1.1+deb7u4 [748 kB]
Get:210 http://172.17.0.1/private/ wheezy-staging/main x11proto-render-dev all 2:0.11.1-2 [20.8 kB]
Get:211 http://172.17.0.1/private/ wheezy-staging/main libxrender-dev armhf 1:0.9.7-1+deb7u3 [38.4 kB]
Get:212 http://172.17.0.1/private/ wheezy-staging/main libexpat1-dev armhf 2.1.0-1+deb7u4 [211 kB]
Get:213 http://172.17.0.1/private/ wheezy-staging/main libfontconfig1-dev armhf 2.9.0-7.1+deb7u1 [840 kB]
Get:214 http://172.17.0.1/private/ wheezy-staging/main libxft-dev armhf 2.3.1-1 [68.1 kB]
Get:215 http://172.17.0.1/private/ wheezy-staging/main libice-dev armhf 2:1.0.8-2 [65.9 kB]
Get:216 http://172.17.0.1/private/ wheezy-staging/main libsm-dev armhf 2:1.2.1-2 [35.6 kB]
Get:217 http://172.17.0.1/private/ wheezy-staging/main libpixman-1-dev armhf 0.26.0-4+deb7u2 [439 kB]
Get:218 http://172.17.0.1/private/ wheezy-staging/main libxcb-render0-dev armhf 1.8.1-2+deb7u1 [24.8 kB]
Get:219 http://172.17.0.1/private/ wheezy-staging/main libxcb-shm0-dev armhf 1.8.1-2+deb7u1 [11.7 kB]
Get:220 http://172.17.0.1/private/ wheezy-staging/main libcairo2-dev armhf 1.12.2-3+deb7u1 [1052 kB]
Get:221 http://172.17.0.1/private/ wheezy-staging/main libpango1.0-dev armhf 1.30.0-1 [573 kB]
Get:222 http://172.17.0.1/private/ wheezy-staging/main x11proto-xext-dev all 7.2.1-1 [273 kB]
Get:223 http://172.17.0.1/private/ wheezy-staging/main libxext-dev armhf 2:1.3.1-2+deb7u1 [108 kB]
Get:224 http://172.17.0.1/private/ wheezy-staging/main x11proto-xinerama-dev all 1.2.1-2 [4938 B]
Get:225 http://172.17.0.1/private/ wheezy-staging/main libxinerama-dev armhf 2:1.1.2-1+deb7u1 [18.7 kB]
Get:226 http://172.17.0.1/private/ wheezy-staging/main libxi-dev armhf 2:1.6.1-1+deb7u3 [244 kB]
Get:227 http://172.17.0.1/private/ wheezy-staging/main x11proto-randr-dev all 1.3.2-2 [40.0 kB]
Get:228 http://172.17.0.1/private/ wheezy-staging/main libxrandr-dev armhf 2:1.3.2-2+deb7u2 [39.3 kB]
Get:229 http://172.17.0.1/private/ wheezy-staging/main x11proto-fixes-dev all 1:5.0-2 [19.2 kB]
Get:230 http://172.17.0.1/private/ wheezy-staging/main libxfixes-dev armhf 1:5.0-4+deb7u2 [22.9 kB]
Get:231 http://172.17.0.1/private/ wheezy-staging/main libxcursor-dev armhf 1:1.1.13-1+deb7u1 [31.9 kB]
Get:232 http://172.17.0.1/private/ wheezy-staging/main x11proto-composite-dev all 1:0.4.2-2 [15.3 kB]
Get:233 http://172.17.0.1/private/ wheezy-staging/main libxcomposite-dev armhf 1:0.4.3-2 [19.7 kB]
Get:234 http://172.17.0.1/private/ wheezy-staging/main x11proto-damage-dev all 1:1.2.1-2 [11.8 kB]
Get:235 http://172.17.0.1/private/ wheezy-staging/main libxdamage-dev armhf 1:1.1.3-2 [13.5 kB]
Get:236 http://172.17.0.1/private/ wheezy-staging/main libxml2-utils armhf 2.8.0+dfsg1-7+wheezy7 [97.4 kB]
Get:237 http://172.17.0.1/private/ wheezy-staging/main libgtk2.0-dev armhf 2.24.10-2 [2686 kB]
Get:238 http://172.17.0.1/private/ wheezy-staging/main libgail-common armhf 2.24.10-2 [551 kB]
Get:239 http://172.17.0.1/private/ wheezy-staging/main libgail-dev armhf 2.24.10-2 [480 kB]
Get:240 http://172.17.0.1/private/ wheezy-staging/main libgnomecanvas2-dev armhf 2.30.3-1.2 [114 kB]
Get:241 http://172.17.0.1/private/ wheezy-staging/main libgconf2-dev armhf 3.2.5-1+build1 [457 kB]
Get:242 http://172.17.0.1/private/ wheezy-staging/main libgpg-error-dev armhf 1.10-3.1 [40.0 kB]
Get:243 http://172.17.0.1/private/ wheezy-staging/main libgcrypt11-dev armhf 1.5.0-5+deb7u5 [395 kB]
Get:244 http://172.17.0.1/private/ wheezy-staging/main libtasn1-3-dev armhf 2.13-2+deb7u3 [383 kB]
Get:245 http://172.17.0.1/private/ wheezy-staging/main libp11-kit-dev armhf 0.12-3 [66.0 kB]
Get:246 http://172.17.0.1/private/ wheezy-staging/main libgnutls-dev armhf 2.12.20-8+deb7u3 [700 kB]
Get:247 http://172.17.0.1/private/ wheezy-staging/main libxml2-dev armhf 2.8.0+dfsg1-7+wheezy7 [824 kB]
Get:248 http://172.17.0.1/private/ wheezy-staging/main libsepol1-dev armhf 2.1.4-3 [188 kB]
Get:249 http://172.17.0.1/private/ wheezy-staging/main libselinux1-dev armhf 2.1.9-5 [162 kB]
Get:250 http://172.17.0.1/private/ wheezy-staging/main libgnomevfs2-dev armhf 1:2.24.4-2 [467 kB]
Get:251 http://172.17.0.1/private/ wheezy-staging/main libcanberra-dev armhf 0.28-6 [13.7 kB]
Get:252 http://172.17.0.1/private/ wheezy-staging/main libgnome2-dev armhf 2.32.1-3 [466 kB]
Get:253 http://172.17.0.1/private/ wheezy-staging/main libbonoboui2-dev armhf 2.24.3-1 [289 kB]
Get:254 http://172.17.0.1/private/ wheezy-staging/main libgnome-keyring-dev armhf 3.4.1-1 [96.7 kB]
Get:255 http://172.17.0.1/private/ wheezy-staging/main libgnomeui-common all 2.24.5-2 [863 kB]
Get:256 http://172.17.0.1/private/ wheezy-staging/main libgnomeui-0 armhf 2.24.5-2 [345 kB]
Get:257 http://172.17.0.1/private/ wheezy-staging/main libgnomeui-dev armhf 2.24.5-2 [432 kB]
Get:258 http://172.17.0.1/private/ wheezy-staging/main libgpm-dev armhf 1.20.4-6 [38.6 kB]
Get:259 http://172.17.0.1/private/ wheezy-staging/main libtinfo-dev armhf 5.9-10 [89.6 kB]
Get:260 http://172.17.0.1/private/ wheezy-staging/main libreadline6-dev armhf 6.2+dfsg-0.1 [164 kB]
Get:261 http://172.17.0.1/private/ wheezy-staging/main libreadline-dev armhf 6.2+dfsg-0.1 [898 B]
Get:262 http://172.17.0.1/private/ wheezy-staging/main liblua5.1-0-dev armhf 5.1.5-4+deb7u1 [202 kB]
Get:263 http://172.17.0.1/private/ wheezy-staging/main libperl5.14 armhf 5.14.2-21+rpi2+deb7u2 [1204 B]
Get:264 http://172.17.0.1/private/ wheezy-staging/main libperl-dev armhf 5.14.2-21+rpi2+deb7u2 [3023 kB]
Get:265 http://172.17.0.1/private/ wheezy-staging/main libpython2.7 armhf 2.7.3-6+deb7u3 [1069 kB]
Get:266 http://172.17.0.1/private/ wheezy-staging/main libruby1.9.1 armhf 1.9.3.194-8.1+deb7u5 [4178 kB]
Get:267 http://172.17.0.1/private/ wheezy-staging/main libssl-dev armhf 1.0.1t-1+deb7u2 [1528 kB]
Get:268 http://172.17.0.1/private/ wheezy-staging/main libxt-dev armhf 1:1.1.3-1+deb7u1 [477 kB]
Get:269 http://172.17.0.1/private/ wheezy-staging/main libxmu-headers all 2:1.1.1-1 [77.8 kB]
Get:270 http://172.17.0.1/private/ wheezy-staging/main libxmu-dev armhf 2:1.1.1-1 [64.7 kB]
Get:271 http://172.17.0.1/private/ wheezy-staging/main libxpm-dev armhf 1:3.5.10-1+deb7u1 [101 kB]
Get:272 http://172.17.0.1/private/ wheezy-staging/main libxaw7-dev armhf 2:1.0.10-2 [282 kB]
Get:273 http://172.17.0.1/private/ wheezy-staging/main lua5.1 armhf 5.1.5-4+deb7u1 [126 kB]
Get:274 http://172.17.0.1/private/ wheezy-staging/main python2.7-dev armhf 2.7.3-6+deb7u3 [28.7 MB]
Get:275 http://172.17.0.1/private/ wheezy-staging/main python-dev all 2.7.3-4+deb7u1 [920 B]
Get:276 http://172.17.0.1/private/ wheezy-staging/main ruby1.9.1 armhf 1.9.3.194-8.1+deb7u5 [209 kB]
Get:277 http://172.17.0.1/private/ wheezy-staging/main ruby all 1:1.9.3 [6484 B]
Get:278 http://172.17.0.1/private/ wheezy-staging/main ruby1.9.1-dev armhf 1.9.3.194-8.1+deb7u5 [1259 kB]
Get:279 http://172.17.0.1/private/ wheezy-staging/main ruby-dev all 1:1.9.3 [6082 B]
Get:280 http://172.17.0.1/private/ wheezy-staging/main tcl8.5 armhf 8.5.11-2 [1569 kB]
Get:281 http://172.17.0.1/private/ wheezy-staging/main tcl all 8.5.0-2.1 [4762 B]
Get:282 http://172.17.0.1/private/ wheezy-staging/main tcl8.5-dev armhf 8.5.11-2 [1013 kB]
Get:283 http://172.17.0.1/private/ wheezy-staging/main tcl-dev all 8.5.0-2.1 [7078 B]
Get:284 http://172.17.0.1/private/ wheezy-staging/main libattr1-dev armhf 1:2.4.46-8 [42.2 kB]
Get:285 http://172.17.0.1/private/ wheezy-staging/main libacl1-dev armhf 2.2.51-8 [89.9 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 118 MB in 49s (2386 kB/s)
Selecting previously unselected package libpcre3:armhf.
(Reading database ... 11317 files and directories currently installed.)
Unpacking libpcre3:armhf (from .../libpcre3_1%3a8.30-5_armhf.deb) ...
Selecting previously unselected package libpipeline1:armhf.
Unpacking libpipeline1:armhf (from .../libpipeline1_1.2.1-1_armhf.deb) ...
Selecting previously unselected package libpopt0:armhf.
Unpacking libpopt0:armhf (from .../libpopt0_1.16-7_armhf.deb) ...
Selecting previously unselected package libssl1.0.0:armhf.
Unpacking libssl1.0.0:armhf (from .../libssl1.0.0_1.0.1t-1+deb7u2_armhf.deb) ...
Selecting previously unselected package libasprintf0c2:armhf.
Unpacking libasprintf0c2:armhf (from .../libasprintf0c2_0.18.1.1-9_armhf.deb) ...
Selecting previously unselected package libcap2:armhf.
Unpacking libcap2:armhf (from .../libcap2_1%3a2.22-1.2_armhf.deb) ...
Selecting previously unselected package libgpg-error0:armhf.
Unpacking libgpg-error0:armhf (from .../libgpg-error0_1.10-3.1_armhf.deb) ...
Selecting previously unselected package libgcrypt11:armhf.
Unpacking libgcrypt11:armhf (from .../libgcrypt11_1.5.0-5+deb7u5_armhf.deb) ...
Selecting previously unselected package libp11-kit0:armhf.
Unpacking libp11-kit0:armhf (from .../libp11-kit0_0.12-3_armhf.deb) ...
Selecting previously unselected package libtasn1-3:armhf.
Unpacking libtasn1-3:armhf (from .../libtasn1-3_2.13-2+deb7u3_armhf.deb) ...
Selecting previously unselected package libgnutls26:armhf.
Unpacking libgnutls26:armhf (from .../libgnutls26_2.12.20-8+deb7u3_armhf.deb) ...
Selecting previously unselected package libgnutls-openssl27:armhf.
Unpacking libgnutls-openssl27:armhf (from .../libgnutls-openssl27_2.12.20-8+deb7u3_armhf.deb) ...
Selecting previously unselected package libgpm2:armhf.
Unpacking libgpm2:armhf (from .../libgpm2_1.20.4-6_armhf.deb) ...
Selecting previously unselected package libkeyutils1:armhf.
Unpacking libkeyutils1:armhf (from .../libkeyutils1_1.5.5-3+deb7u1_armhf.deb) ...
Selecting previously unselected package libkrb5support0:armhf.
Unpacking libkrb5support0:armhf (from .../libkrb5support0_1.10.1+dfsg-5+deb7u7_armhf.deb) ...
Selecting previously unselected package libk5crypto3:armhf.
Unpacking libk5crypto3:armhf (from .../libk5crypto3_1.10.1+dfsg-5+deb7u7_armhf.deb) ...
Selecting previously unselected package libkrb5-3:armhf.
Unpacking libkrb5-3:armhf (from .../libkrb5-3_1.10.1+dfsg-5+deb7u7_armhf.deb) ...
Selecting previously unselected package libgssapi-krb5-2:armhf.
Unpacking libgssapi-krb5-2:armhf (from .../libgssapi-krb5-2_1.10.1+dfsg-5+deb7u7_armhf.deb) ...
Selecting previously unselected package libsasl2-2:armhf.
Unpacking libsasl2-2:armhf (from .../libsasl2-2_2.1.25.dfsg1-6+deb7u1_armhf.deb) ...
Selecting previously unselected package libldap-2.4-2:armhf.
Unpacking libldap-2.4-2:armhf (from .../libldap-2.4-2_2.4.31-2+rpi1_armhf.deb) ...
Selecting previously unselected package libmagic1:armhf.
Unpacking libmagic1:armhf (from .../libmagic1_5.11-2+deb7u9_armhf.deb) ...
Selecting previously unselected package libsqlite3-0:armhf.
Unpacking libsqlite3-0:armhf (from .../libsqlite3-0_3.7.13-1+deb7u3_armhf.deb) ...
Selecting previously unselected package libxml2:armhf.
Unpacking libxml2:armhf (from .../libxml2_2.8.0+dfsg1-7+wheezy7_armhf.deb) ...
Selecting previously unselected package libart-2.0-2:armhf.
Unpacking libart-2.0-2:armhf (from .../libart-2.0-2_2.3.21-2_armhf.deb) ...
Selecting previously unselected package libasound2:armhf.
Unpacking libasound2:armhf (from .../libasound2_1.0.25-4_armhf.deb) ...
Selecting previously unselected package libatasmart4:armhf.
Unpacking libatasmart4:armhf (from .../libatasmart4_0.19-1_armhf.deb) ...
Selecting previously unselected package libffi5:armhf.
Unpacking libffi5:armhf (from .../libffi5_3.0.10-3+b3_armhf.deb) ...
Selecting previously unselected package libglib2.0-0:armhf.
Unpacking libglib2.0-0:armhf (from .../libglib2.0-0_2.33.12+really2.32.4-5_armhf.deb) ...
Selecting previously unselected package libatk1.0-data.
Unpacking libatk1.0-data (from .../libatk1.0-data_2.4.0-2_all.deb) ...
Selecting previously unselected package libatk1.0-0:armhf.
Unpacking libatk1.0-0:armhf (from .../libatk1.0-0_2.4.0-2_armhf.deb) ...
Selecting previously unselected package libavahi-common-data:armhf.
Unpacking libavahi-common-data:armhf (from .../libavahi-common-data_0.6.31-2_armhf.deb) ...
Selecting previously unselected package libavahi-common3:armhf.
Unpacking libavahi-common3:armhf (from .../libavahi-common3_0.6.31-2_armhf.deb) ...
Selecting previously unselected package libavahi-client3:armhf.
Unpacking libavahi-client3:armhf (from .../libavahi-client3_0.6.31-2_armhf.deb) ...
Selecting previously unselected package libavahi-glib1:armhf.
Unpacking libavahi-glib1:armhf (from .../libavahi-glib1_0.6.31-2_armhf.deb) ...
Selecting previously unselected package libbluray1:armhf.
Unpacking libbluray1:armhf (from .../libbluray1_1%3a0.2.2-1_armhf.deb) ...
Selecting previously unselected package libexpat1:armhf.
Unpacking libexpat1:armhf (from .../libexpat1_2.1.0-1+deb7u4_armhf.deb) ...
Selecting previously unselected package libfreetype6:armhf.
Unpacking libfreetype6:armhf (from .../libfreetype6_2.4.9-1.1+deb7u4_armhf.deb) ...
Selecting previously unselected package ucf.
Unpacking ucf (from .../ucf_3.0025+nmu3_all.deb) ...
Moving old data out of the way
Selecting previously unselected package ttf-dejavu-core.
Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.33-3_all.deb) ...
Selecting previously unselected package fontconfig-config.
Unpacking fontconfig-config (from .../fontconfig-config_2.9.0-7.1+deb7u1_all.deb) ...
Selecting previously unselected package libfontconfig1:armhf.
Unpacking libfontconfig1:armhf (from .../libfontconfig1_2.9.0-7.1+deb7u1_armhf.deb) ...
Selecting previously unselected package libpixman-1-0:armhf.
Unpacking libpixman-1-0:armhf (from .../libpixman-1-0_0.26.0-4+deb7u2_armhf.deb) ...
Selecting previously unselected package libpng12-0:armhf.
Unpacking libpng12-0:armhf (from .../libpng12-0_1.2.49-1+deb7u2_armhf.deb) ...
Selecting previously unselected package libxau6:armhf.
Unpacking libxau6:armhf (from .../libxau6_1%3a1.0.7-1_armhf.deb) ...
Selecting previously unselected package libxdmcp6:armhf.
Unpacking libxdmcp6:armhf (from .../libxdmcp6_1%3a1.1.1-1_armhf.deb) ...
Selecting previously unselected package libxcb1:armhf.
Unpacking libxcb1:armhf (from .../libxcb1_1.8.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.5.0-1+deb7u4_all.deb) ...
Selecting previously unselected package libx11-6:armhf.
Unpacking libx11-6:armhf (from .../libx11-6_2%3a1.5.0-1+deb7u4_armhf.deb) ...
Selecting previously unselected package libxcb-render0:armhf.
Unpacking libxcb-render0:armhf (from .../libxcb-render0_1.8.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libxcb-shm0:armhf.
Unpacking libxcb-shm0:armhf (from .../libxcb-shm0_1.8.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libxrender1:armhf.
Unpacking libxrender1:armhf (from .../libxrender1_1%3a0.9.7-1+deb7u3_armhf.deb) ...
Selecting previously unselected package libcairo2:armhf.
Unpacking libcairo2:armhf (from .../libcairo2_1.12.2-3+deb7u1_armhf.deb) ...
Selecting previously unselected package libcairo-gobject2:armhf.
Unpacking libcairo-gobject2:armhf (from .../libcairo-gobject2_1.12.2-3+deb7u1_armhf.deb) ...
Selecting previously unselected package libcairo-script-interpreter2:armhf.
Unpacking libcairo-script-interpreter2:armhf (from .../libcairo-script-interpreter2_1.12.2-3+deb7u1_armhf.deb) ...
Selecting previously unselected package libltdl7:armhf.
Unpacking libltdl7:armhf (from .../libltdl7_2.4.2-1.1_armhf.deb) ...
Selecting previously unselected package libogg0:armhf.
Unpacking libogg0:armhf (from .../libogg0_1.3.0-4_armhf.deb) ...
Selecting previously unselected package libtdb1:armhf.
Unpacking libtdb1:armhf (from .../libtdb1_1.2.10-2_armhf.deb) ...
Selecting previously unselected package libvorbis0a:armhf.
Unpacking libvorbis0a:armhf (from .../libvorbis0a_1.3.2-1.3_armhf.deb) ...
Selecting previously unselected package libvorbisfile3:armhf.
Unpacking libvorbisfile3:armhf (from .../libvorbisfile3_1.3.2-1.3_armhf.deb) ...
Selecting previously unselected package libcanberra0:armhf.
Unpacking libcanberra0:armhf (from .../libcanberra0_0.28-6_armhf.deb) ...
Selecting previously unselected package libcroco3:armhf.
Unpacking libcroco3:armhf (from .../libcroco3_0.6.6-2_armhf.deb) ...
Selecting previously unselected package libcups2:armhf.
Unpacking libcups2:armhf (from .../libcups2_1.5.3-5+deb7u6_armhf.deb) ...
Selecting previously unselected package libdatrie1:armhf.
Unpacking libdatrie1:armhf (from .../libdatrie1_0.2.5-3_armhf.deb) ...
Selecting previously unselected package libdbus-glib-1-2:armhf.
Unpacking libdbus-glib-1-2:armhf (from .../libdbus-glib-1-2_0.100.2-1_armhf.deb) ...
Selecting previously unselected package dmsetup.
Unpacking dmsetup (from .../dmsetup_2%3a1.02.74-8+rpi1_armhf.deb) ...
Selecting previously unselected package libdevmapper1.02.1:armhf.
Unpacking libdevmapper1.02.1:armhf (from .../libdevmapper1.02.1_2%3a1.02.74-8+rpi1_armhf.deb) ...
Selecting previously unselected package libdevmapper-event1.02.1:armhf.
Unpacking libdevmapper-event1.02.1:armhf (from .../libdevmapper-event1.02.1_2%3a1.02.74-8+rpi1_armhf.deb) ...
Selecting previously unselected package libdrm2:armhf.
Unpacking libdrm2:armhf (from .../libdrm2_2.4.40-1~deb7u2_armhf.deb) ...
Selecting previously unselected package libfontenc1:armhf.
Unpacking libfontenc1:armhf (from .../libfontenc1_1%3a1.1.1-1_armhf.deb) ...
Selecting previously unselected package libjpeg8:armhf.
Unpacking libjpeg8:armhf (from .../libjpeg8_8d-1+deb7u1_armhf.deb) ...
Selecting previously unselected package libjasper1:armhf.
Unpacking libjasper1:armhf (from .../libjasper1_1.900.1-13+deb7u5_armhf.deb) ...
Selecting previously unselected package libjbig0:armhf.
Unpacking libjbig0:armhf (from .../libjbig0_2.0-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libtiff4:armhf.
Unpacking libtiff4:armhf (from .../libtiff4_3.9.6-11+deb7u3_armhf.deb) ...
Selecting previously unselected package libgdk-pixbuf2.0-common.
Unpacking libgdk-pixbuf2.0-common (from .../libgdk-pixbuf2.0-common_2.26.1-1+deb7u5_all.deb) ...
Selecting previously unselected package libgdk-pixbuf2.0-0:armhf.
Unpacking libgdk-pixbuf2.0-0:armhf (from .../libgdk-pixbuf2.0-0_2.26.1-1+deb7u5_armhf.deb) ...
Selecting previously unselected package libthai-data.
Unpacking libthai-data (from .../libthai-data_0.1.18-2_all.deb) ...
Selecting previously unselected package libthai0:armhf.
Unpacking libthai0:armhf (from .../libthai0_0.1.18-2_armhf.deb) ...
Selecting previously unselected package libxft2:armhf.
Unpacking libxft2:armhf (from .../libxft2_2.3.1-1_armhf.deb) ...
Selecting previously unselected package fontconfig.
Unpacking fontconfig (from .../fontconfig_2.9.0-7.1+deb7u1_armhf.deb) ...
Selecting previously unselected package libpango1.0-0:armhf.
Unpacking libpango1.0-0:armhf (from .../libpango1.0-0_1.30.0-1_armhf.deb) ...
Selecting previously unselected package libxcomposite1:armhf.
Unpacking libxcomposite1:armhf (from .../libxcomposite1_1%3a0.4.3-2_armhf.deb) ...
Selecting previously unselected package libxdamage1:armhf.
Unpacking libxdamage1:armhf (from .../libxdamage1_1%3a1.1.3-2_armhf.deb) ...
Selecting previously unselected package libxfixes3:armhf.
Unpacking libxfixes3:armhf (from .../libxfixes3_1%3a5.0-4+deb7u2_armhf.deb) ...
Selecting previously unselected package libgtk2.0-common.
Unpacking libgtk2.0-common (from .../libgtk2.0-common_2.24.10-2_all.deb) ...
Selecting previously unselected package libxcursor1:armhf.
Unpacking libxcursor1:armhf (from .../libxcursor1_1%3a1.1.13-1+deb7u1_armhf.deb) ...
Selecting previously unselected package libxext6:armhf.
Unpacking libxext6:armhf (from .../libxext6_2%3a1.3.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libxi6:armhf.
Unpacking libxi6:armhf (from .../libxi6_2%3a1.6.1-1+deb7u3_armhf.deb) ...
Selecting previously unselected package libxinerama1:armhf.
Unpacking libxinerama1:armhf (from .../libxinerama1_2%3a1.1.2-1+deb7u1_armhf.deb) ...
Selecting previously unselected package libxrandr2:armhf.
Unpacking libxrandr2:armhf (from .../libxrandr2_2%3a1.3.2-2+deb7u2_armhf.deb) ...
Selecting previously unselected package shared-mime-info.
Unpacking shared-mime-info (from .../shared-mime-info_1.0-1_armhf.deb) ...
Selecting previously unselected package libgtk2.0-0:armhf.
Unpacking libgtk2.0-0:armhf (from .../libgtk2.0-0_2.24.10-2_armhf.deb) ...
Selecting previously unselected package libgail18:armhf.
Unpacking libgail18:armhf (from .../libgail18_2.24.10-2_armhf.deb) ...
Selecting previously unselected package gconf2-common.
Unpacking gconf2-common (from .../gconf2-common_3.2.5-1+build1_all.deb) ...
Selecting previously unselected package libgconf-2-4:armhf.
Unpacking libgconf-2-4:armhf (from .../libgconf-2-4_3.2.5-1+build1_armhf.deb) ...
Selecting previously unselected package libunistring0:armhf.
Unpacking libunistring0:armhf (from .../libunistring0_0.9.3-5_armhf.deb) ...
Selecting previously unselected package libgettextpo0:armhf.
Unpacking libgettextpo0:armhf (from .../libgettextpo0_0.18.1.1-9_armhf.deb) ...
Selecting previously unselected package libglapi-mesa:armhf.
Unpacking libglapi-mesa:armhf (from .../libglapi-mesa_8.0.5-4+deb7u2+rpi1_armhf.deb) ...
Selecting previously unselected package libx11-xcb1:armhf.
Unpacking libx11-xcb1:armhf (from .../libx11-xcb1_2%3a1.5.0-1+deb7u4_armhf.deb) ...
Selecting previously unselected package libxcb-glx0:armhf.
Unpacking libxcb-glx0:armhf (from .../libxcb-glx0_1.8.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libxxf86vm1:armhf.
Unpacking libxxf86vm1:armhf (from .../libxxf86vm1_1%3a1.1.2-1+deb7u1_armhf.deb) ...
Selecting previously unselected package libgl1-mesa-glx:armhf.
Unpacking libgl1-mesa-glx:armhf (from .../libgl1-mesa-glx_8.0.5-4+deb7u2+rpi1_armhf.deb) ...
Selecting previously unselected package libelf1.
Unpacking libelf1 (from .../libelf1_0.152-1+wheezy1_armhf.deb) ...
Selecting previously unselected package libglib2.0-data.
Unpacking libglib2.0-data (from .../libglib2.0-data_2.33.12+really2.32.4-5_all.deb) ...
Selecting previously unselected package libglib2.0-bin.
Unpacking libglib2.0-bin (from .../libglib2.0-bin_2.33.12+really2.32.4-5_armhf.deb) ...
Selecting previously unselected package libgnome-keyring-common.
Unpacking libgnome-keyring-common (from .../libgnome-keyring-common_3.4.1-1_all.deb) ...
Selecting previously unselected package libgnome-keyring0:armhf.
Unpacking libgnome-keyring0:armhf (from .../libgnome-keyring0_3.4.1-1_armhf.deb) ...
Selecting previously unselected package libgudev-1.0-0:armhf.
Unpacking libgudev-1.0-0:armhf (from .../libgudev-1.0-0_175-7.2_armhf.deb) ...
Selecting previously unselected package x11-common.
Unpacking x11-common (from .../x11-common_1%3a7.7+3~deb7u1_all.deb) ...
Selecting previously unselected package libice6:armhf.
Unpacking libice6:armhf (from .../libice6_2%3a1.0.8-2_armhf.deb) ...
Selecting previously unselected package liblua5.1-0:armhf.
Unpacking liblua5.1-0:armhf (from .../liblua5.1-0_5.1.5-4+deb7u1_armhf.deb) ...
Selecting previously unselected package liblvm2app2.2:armhf.
Unpacking liblvm2app2.2:armhf (from .../liblvm2app2.2_2.02.95-8+rpi1_armhf.deb) ...
Selecting previously unselected package libparted0debian1:armhf.
Unpacking libparted0debian1:armhf (from .../libparted0debian1_2.3-12_armhf.deb) ...
Selecting previously unselected package libpcrecpp0:armhf.
Unpacking libpcrecpp0:armhf (from .../libpcrecpp0_1%3a8.30-5_armhf.deb) ...
Selecting previously unselected package libpolkit-gobject-1-0:armhf.
Unpacking libpolkit-gobject-1-0:armhf (from .../libpolkit-gobject-1-0_0.105-3_armhf.deb) ...
Selecting previously unselected package libsm6:armhf.
Unpacking libsm6:armhf (from .../libsm6_2%3a1.2.1-2_armhf.deb) ...
Selecting previously unselected package libxt6:armhf.
Unpacking libxt6:armhf (from .../libxt6_1%3a1.1.3-1+deb7u1_armhf.deb) ...
Selecting previously unselected package libxmu6:armhf.
Unpacking libxmu6:armhf (from .../libxmu6_2%3a1.1.1-1_armhf.deb) ...
Selecting previously unselected package libxpm4:armhf.
Unpacking libxpm4:armhf (from .../libxpm4_1%3a3.5.10-1+deb7u1_armhf.deb) ...
Selecting previously unselected package libxaw7:armhf.
Unpacking libxaw7:armhf (from .../libxaw7_2%3a1.0.10-2_armhf.deb) ...
Selecting previously unselected package libxcb-shape0:armhf.
Unpacking libxcb-shape0:armhf (from .../libxcb-shape0_1.8.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libxmuu1:armhf.
Unpacking libxmuu1:armhf (from .../libxmuu1_2%3a1.1.1-1_armhf.deb) ...
Selecting previously unselected package libxtst6:armhf.
Unpacking libxtst6:armhf (from .../libxtst6_2%3a1.2.1-1+deb7u2_armhf.deb) ...
Selecting previously unselected package libxv1:armhf.
Unpacking libxv1:armhf (from .../libxv1_2%3a1.0.7-1+deb7u2_armhf.deb) ...
Selecting previously unselected package libxxf86dga1:armhf.
Unpacking libxxf86dga1:armhf (from .../libxxf86dga1_2%3a1.1.3-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libyaml-0-2:armhf.
Unpacking libyaml-0-2:armhf (from .../libyaml-0-2_0.1.4-2+deb7u5_armhf.deb) ...
Selecting previously unselected package libgnutlsxx27:armhf.
Unpacking libgnutlsxx27:armhf (from .../libgnutlsxx27_2.12.20-8+deb7u3_armhf.deb) ...
Selecting previously unselected package libsystemd-login0:armhf.
Unpacking libsystemd-login0:armhf (from .../libsystemd-login0_44-11+deb7u5_armhf.deb) ...
Selecting previously unselected package adduser.
Unpacking adduser (from .../adduser_3.113+nmu3_all.deb) ...
Selecting previously unselected package bsdmainutils.
Unpacking bsdmainutils (from .../bsdmainutils_9.0.3_armhf.deb) ...
Selecting previously unselected package groff-base.
Unpacking groff-base (from .../groff-base_1.21-9_armhf.deb) ...
Selecting previously unselected package man-db.
Unpacking man-db (from .../man-db_2.6.2-1_armhf.deb) ...
Selecting previously unselected package file.
Unpacking file (from .../file_5.11-2+deb7u9_armhf.deb) ...
Selecting previously unselected package gettext-base.
Unpacking gettext-base (from .../gettext-base_0.18.1.1-9_armhf.deb) ...
Selecting previously unselected package mime-support.
Unpacking mime-support (from .../mime-support_3.52-1+deb7u1_all.deb) ...
Selecting previously unselected package python2.7-minimal.
Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.3-6+deb7u3_armhf.deb) ...
Selecting previously unselected package python2.7.
Unpacking python2.7 (from .../python2.7_2.7.3-6+deb7u3_armhf.deb) ...
Selecting previously unselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.7.3-4+deb7u1_all.deb) ...
Selecting previously unselected package python.
Unpacking python (from .../python_2.7.3-4+deb7u1_all.deb) ...
Selecting previously unselected package dbus.
Unpacking dbus (from .../dbus_1.6.8-1+deb7u6_armhf.deb) ...
Selecting previously unselected package dbus-x11.
Unpacking dbus-x11 (from .../dbus-x11_1.6.8-1+deb7u6_armhf.deb) ...
Selecting previously unselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-15_armhf.deb) ...
Selecting previously unselected package gettext.
Unpacking gettext (from .../gettext_0.18.1.1-9_armhf.deb) ...
Selecting previously unselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously unselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ...
Selecting previously unselected package debhelper.
Unpacking debhelper (from .../debhelper_9.20120909_all.deb) ...
Selecting previously unselected package desktop-file-utils.
Unpacking desktop-file-utils (from .../desktop-file-utils_0.20-0.1_armhf.deb) ...
Selecting previously unselected package gconf-service.
Unpacking gconf-service (from .../gconf-service_3.2.5-1+build1_armhf.deb) ...
Selecting previously unselected package psmisc.
Unpacking psmisc (from .../psmisc_22.19-1+deb7u1_armhf.deb) ...
Selecting previously unselected package gconf2.
Unpacking gconf2 (from .../gconf2_3.2.5-1+build1_armhf.deb) ...
Selecting previously unselected package libgirepository-1.0-1.
Unpacking libgirepository-1.0-1 (from .../libgirepository-1.0-1_1.32.1-1_armhf.deb) ...
Selecting previously unselected package gir1.2-glib-2.0.
Unpacking gir1.2-glib-2.0 (from .../gir1.2-glib-2.0_1.32.1-1_armhf.deb) ...
Selecting previously unselected package gir1.2-atk-1.0.
Unpacking gir1.2-atk-1.0 (from .../gir1.2-atk-1.0_2.4.0-2_armhf.deb) ...
Selecting previously unselected package gir1.2-freedesktop.
Unpacking gir1.2-freedesktop (from .../gir1.2-freedesktop_1.32.1-1_armhf.deb) ...
Selecting previously unselected package gir1.2-gconf-2.0.
Unpacking gir1.2-gconf-2.0 (from .../gir1.2-gconf-2.0_3.2.5-1+build1_armhf.deb) ...
Selecting previously unselected package gir1.2-gdkpixbuf-2.0.
Unpacking gir1.2-gdkpixbuf-2.0 (from .../gir1.2-gdkpixbuf-2.0_2.26.1-1+deb7u5_armhf.deb) ...
Selecting previously unselected package gir1.2-gnomekeyring-1.0.
Unpacking gir1.2-gnomekeyring-1.0 (from .../gir1.2-gnomekeyring-1.0_3.4.1-1_armhf.deb) ...
Selecting previously unselected package gir1.2-pango-1.0.
Unpacking gir1.2-pango-1.0 (from .../gir1.2-pango-1.0_1.30.0-1_armhf.deb) ...
Selecting previously unselected package gnome-mime-data.
Unpacking gnome-mime-data (from .../gnome-mime-data_2.18.0-1_all.deb) ...
Selecting previously unselected package libsgutils2-2.
Unpacking libsgutils2-2 (from .../libsgutils2-2_1.33-1_armhf.deb) ...
Selecting previously unselected package udisks.
Unpacking udisks (from .../udisks_1.0.4-7wheezy1_armhf.deb) ...
Selecting previously unselected package libgdu0.
Unpacking libgdu0 (from .../libgdu0_3.0.2-3_armhf.deb) ...
Selecting previously unselected package x11-utils.
Unpacking x11-utils (from .../x11-utils_7.7~1_armhf.deb) ...
Selecting previously unselected package gvfs-common.
Unpacking gvfs-common (from .../gvfs-common_1.12.3-4_all.deb) ...
Selecting previously unselected package gvfs-libs:armhf.
Unpacking gvfs-libs:armhf (from .../gvfs-libs_1.12.3-4_armhf.deb) ...
Selecting previously unselected package gvfs-daemons.
Unpacking gvfs-daemons (from .../gvfs-daemons_1.12.3-4_armhf.deb) ...
Selecting previously unselected package gvfs:armhf.
Unpacking gvfs:armhf (from .../gvfs_1.12.3-4_armhf.deb) ...
Selecting previously unselected package pkg-config.
Unpacking pkg-config (from .../pkg-config_0.26-1_armhf.deb) ...
Selecting previously unselected package libart-2.0-dev.
Unpacking libart-2.0-dev (from .../libart-2.0-dev_2.3.21-2_armhf.deb) ...
Selecting previously unselected package libpcre3-dev.
Unpacking libpcre3-dev (from .../libpcre3-dev_1%3a8.30-5_armhf.deb) ...
Selecting previously unselected package zlib1g-dev:armhf.
Unpacking zlib1g-dev:armhf (from .../zlib1g-dev_1%3a1.2.7.dfsg-13_armhf.deb) ...
Selecting previously unselected package libglib2.0-dev.
Unpacking libglib2.0-dev (from .../libglib2.0-dev_2.33.12+really2.32.4-5_armhf.deb) ...
Selecting previously unselected package libatk1.0-dev.
Unpacking libatk1.0-dev (from .../libatk1.0-dev_2.4.0-2_armhf.deb) ...
Selecting previously unselected package libavahi-common-dev.
Unpacking libavahi-common-dev (from .../libavahi-common-dev_0.6.31-2_armhf.deb) ...
Selecting previously unselected package libdbus-1-dev.
Unpacking libdbus-1-dev (from .../libdbus-1-dev_1.6.8-1+deb7u6_armhf.deb) ...
Selecting previously unselected package libavahi-client-dev.
Unpacking libavahi-client-dev (from .../libavahi-client-dev_0.6.31-2_armhf.deb) ...
Selecting previously unselected package libavahi-glib-dev.
Unpacking libavahi-glib-dev (from .../libavahi-glib-dev_0.6.31-2_armhf.deb) ...
Selecting previously unselected package libbonobo2-common.
Unpacking libbonobo2-common (from .../libbonobo2-common_2.24.3-1_all.deb) ...
Selecting previously unselected package libidl0.
Unpacking libidl0 (from .../libidl0_0.8.14-0.2_armhf.deb) ...
Selecting previously unselected package liborbit2.
Unpacking liborbit2 (from .../liborbit2_1%3a2.14.19-0.1_armhf.deb) ...
Selecting previously unselected package libbonobo2-0.
Unpacking libbonobo2-0 (from .../libbonobo2-0_2.24.3-1_armhf.deb) ...
Selecting previously unselected package libidl-dev.
Unpacking libidl-dev (from .../libidl-dev_0.8.14-0.2_armhf.deb) ...
Selecting previously unselected package liborbit2-dev.
Unpacking liborbit2-dev (from .../liborbit2-dev_1%3a2.14.19-0.1_armhf.deb) ...
Selecting previously unselected package libpopt-dev:armhf.
Unpacking libpopt-dev:armhf (from .../libpopt-dev_1.16-7_armhf.deb) ...
Selecting previously unselected package libbonobo2-dev.
Unpacking libbonobo2-dev (from .../libbonobo2-dev_2.24.3-1_armhf.deb) ...
Selecting previously unselected package libglade2-0.
Unpacking libglade2-0 (from .../libglade2-0_1%3a2.6.4-1_armhf.deb) ...
Selecting previously unselected package libfam0.
Unpacking libfam0 (from .../libfam0_2.7.0-17_armhf.deb) ...
Selecting previously unselected package libgnomevfs2-common.
Unpacking libgnomevfs2-common (from .../libgnomevfs2-common_1%3a2.24.4-2_all.deb) ...
Selecting previously unselected package libgnomevfs2-0.
Unpacking libgnomevfs2-0 (from .../libgnomevfs2-0_1%3a2.24.4-2_armhf.deb) ...
Selecting previously unselected package libgnome2-common.
Unpacking libgnome2-common (from .../libgnome2-common_2.32.1-3_all.deb) ...
Selecting previously unselected package libgnome2-0.
Unpacking libgnome2-0 (from .../libgnome2-0_2.32.1-3_armhf.deb) ...
Selecting previously unselected package libgnomecanvas2-common.
Unpacking libgnomecanvas2-common (from .../libgnomecanvas2-common_2.30.3-1.2_all.deb) ...
Selecting previously unselected package libgnomecanvas2-0.
Unpacking libgnomecanvas2-0 (from .../libgnomecanvas2-0_2.30.3-1.2_armhf.deb) ...
Selecting previously unselected package libbonoboui2-common.
Unpacking libbonoboui2-common (from .../libbonoboui2-common_2.24.3-1_all.deb) ...
Selecting previously unselected package libbonoboui2-0.
Unpacking libbonoboui2-0 (from .../libbonoboui2-0_2.24.3-1_armhf.deb) ...
Selecting previously unselected package xorg-sgml-doctools.
Unpacking xorg-sgml-doctools (from .../xorg-sgml-doctools_1%3a1.10-1_all.deb) ...
Selecting previously unselected package x11proto-core-dev.
Unpacking x11proto-core-dev (from .../x11proto-core-dev_7.0.23-1_all.deb) ...
Selecting previously unselected package libxau-dev:armhf.
Unpacking libxau-dev:armhf (from .../libxau-dev_1%3a1.0.7-1_armhf.deb) ...
Selecting previously unselected package libxdmcp-dev:armhf.
Unpacking libxdmcp-dev:armhf (from .../libxdmcp-dev_1%3a1.1.1-1_armhf.deb) ...
Selecting previously unselected package x11proto-input-dev.
Unpacking x11proto-input-dev (from .../x11proto-input-dev_2.2-1_all.deb) ...
Selecting previously unselected package x11proto-kb-dev.
Unpacking x11proto-kb-dev (from .../x11proto-kb-dev_1.0.6-2_all.deb) ...
Selecting previously unselected package xtrans-dev.
Unpacking xtrans-dev (from .../xtrans-dev_1.2.7-1_all.deb) ...
Selecting previously unselected package libpthread-stubs0:armhf.
Unpacking libpthread-stubs0:armhf (from .../libpthread-stubs0_0.3-3_armhf.deb) ...
Selecting previously unselected package libpthread-stubs0-dev:armhf.
Unpacking libpthread-stubs0-dev:armhf (from .../libpthread-stubs0-dev_0.3-3_armhf.deb) ...
Selecting previously unselected package libxcb1-dev:armhf.
Unpacking libxcb1-dev:armhf (from .../libxcb1-dev_1.8.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libx11-dev:armhf.
Unpacking libx11-dev:armhf (from .../libx11-dev_2%3a1.5.0-1+deb7u4_armhf.deb) ...
Selecting previously unselected package libpng12-dev.
Unpacking libpng12-dev (from .../libpng12-dev_1.2.49-1+deb7u2_armhf.deb) ...
Selecting previously unselected package libgdk-pixbuf2.0-dev.
Unpacking libgdk-pixbuf2.0-dev (from .../libgdk-pixbuf2.0-dev_2.26.1-1+deb7u5_armhf.deb) ...
Selecting previously unselected package libfreetype6-dev.
Unpacking libfreetype6-dev (from .../libfreetype6-dev_2.4.9-1.1+deb7u4_armhf.deb) ...
Selecting previously unselected package x11proto-render-dev.
Unpacking x11proto-render-dev (from .../x11proto-render-dev_2%3a0.11.1-2_all.deb) ...
Selecting previously unselected package libxrender-dev:armhf.
Unpacking libxrender-dev:armhf (from .../libxrender-dev_1%3a0.9.7-1+deb7u3_armhf.deb) ...
Selecting previously unselected package libexpat1-dev.
Unpacking libexpat1-dev (from .../libexpat1-dev_2.1.0-1+deb7u4_armhf.deb) ...
Selecting previously unselected package libfontconfig1-dev.
Unpacking libfontconfig1-dev (from .../libfontconfig1-dev_2.9.0-7.1+deb7u1_armhf.deb) ...
Selecting previously unselected package libxft-dev.
Unpacking libxft-dev (from .../libxft-dev_2.3.1-1_armhf.deb) ...
Selecting previously unselected package libice-dev:armhf.
Unpacking libice-dev:armhf (from .../libice-dev_2%3a1.0.8-2_armhf.deb) ...
Selecting previously unselected package libsm-dev:armhf.
Unpacking libsm-dev:armhf (from .../libsm-dev_2%3a1.2.1-2_armhf.deb) ...
Selecting previously unselected package libpixman-1-dev.
Unpacking libpixman-1-dev (from .../libpixman-1-dev_0.26.0-4+deb7u2_armhf.deb) ...
Selecting previously unselected package libxcb-render0-dev:armhf.
Unpacking libxcb-render0-dev:armhf (from .../libxcb-render0-dev_1.8.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libxcb-shm0-dev:armhf.
Unpacking libxcb-shm0-dev:armhf (from .../libxcb-shm0-dev_1.8.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libcairo2-dev.
Unpacking libcairo2-dev (from .../libcairo2-dev_1.12.2-3+deb7u1_armhf.deb) ...
Selecting previously unselected package libpango1.0-dev.
Unpacking libpango1.0-dev (from .../libpango1.0-dev_1.30.0-1_armhf.deb) ...
Selecting previously unselected package x11proto-xext-dev.
Unpacking x11proto-xext-dev (from .../x11proto-xext-dev_7.2.1-1_all.deb) ...
Selecting previously unselected package libxext-dev:armhf.
Unpacking libxext-dev:armhf (from .../libxext-dev_2%3a1.3.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package x11proto-xinerama-dev.
Unpacking x11proto-xinerama-dev (from .../x11proto-xinerama-dev_1.2.1-2_all.deb) ...
Selecting previously unselected package libxinerama-dev:armhf.
Unpacking libxinerama-dev:armhf (from .../libxinerama-dev_2%3a1.1.2-1+deb7u1_armhf.deb) ...
Selecting previously unselected package libxi-dev.
Unpacking libxi-dev (from .../libxi-dev_2%3a1.6.1-1+deb7u3_armhf.deb) ...
Selecting previously unselected package x11proto-randr-dev.
Unpacking x11proto-randr-dev (from .../x11proto-randr-dev_1.3.2-2_all.deb) ...
Selecting previously unselected package libxrandr-dev.
Unpacking libxrandr-dev (from .../libxrandr-dev_2%3a1.3.2-2+deb7u2_armhf.deb) ...
Selecting previously unselected package x11proto-fixes-dev.
Unpacking x11proto-fixes-dev (from .../x11proto-fixes-dev_1%3a5.0-2_all.deb) ...
Selecting previously unselected package libxfixes-dev.
Unpacking libxfixes-dev (from .../libxfixes-dev_1%3a5.0-4+deb7u2_armhf.deb) ...
Selecting previously unselected package libxcursor-dev:armhf.
Unpacking libxcursor-dev:armhf (from .../libxcursor-dev_1%3a1.1.13-1+deb7u1_armhf.deb) ...
Selecting previously unselected package x11proto-composite-dev.
Unpacking x11proto-composite-dev (from .../x11proto-composite-dev_1%3a0.4.2-2_all.deb) ...
Selecting previously unselected package libxcomposite-dev.
Unpacking libxcomposite-dev (from .../libxcomposite-dev_1%3a0.4.3-2_armhf.deb) ...
Selecting previously unselected package x11proto-damage-dev.
Unpacking x11proto-damage-dev (from .../x11proto-damage-dev_1%3a1.2.1-2_all.deb) ...
Selecting previously unselected package libxdamage-dev.
Unpacking libxdamage-dev (from .../libxdamage-dev_1%3a1.1.3-2_armhf.deb) ...
Selecting previously unselected package libxml2-utils.
Unpacking libxml2-utils (from .../libxml2-utils_2.8.0+dfsg1-7+wheezy7_armhf.deb) ...
Selecting previously unselected package libgtk2.0-dev.
Unpacking libgtk2.0-dev (from .../libgtk2.0-dev_2.24.10-2_armhf.deb) ...
Selecting previously unselected package libgail-common:armhf.
Unpacking libgail-common:armhf (from .../libgail-common_2.24.10-2_armhf.deb) ...
Selecting previously unselected package libgail-dev.
Unpacking libgail-dev (from .../libgail-dev_2.24.10-2_armhf.deb) ...
Selecting previously unselected package libgnomecanvas2-dev.
Unpacking libgnomecanvas2-dev (from .../libgnomecanvas2-dev_2.30.3-1.2_armhf.deb) ...
Selecting previously unselected package libgconf2-dev.
Unpacking libgconf2-dev (from .../libgconf2-dev_3.2.5-1+build1_armhf.deb) ...
Selecting previously unselected package libgpg-error-dev.
Unpacking libgpg-error-dev (from .../libgpg-error-dev_1.10-3.1_armhf.deb) ...
Selecting previously unselected package libgcrypt11-dev.
Unpacking libgcrypt11-dev (from .../libgcrypt11-dev_1.5.0-5+deb7u5_armhf.deb) ...
Selecting previously unselected package libtasn1-3-dev.
Unpacking libtasn1-3-dev (from .../libtasn1-3-dev_2.13-2+deb7u3_armhf.deb) ...
Selecting previously unselected package libp11-kit-dev.
Unpacking libp11-kit-dev (from .../libp11-kit-dev_0.12-3_armhf.deb) ...
Selecting previously unselected package libgnutls-dev.
Unpacking libgnutls-dev (from .../libgnutls-dev_2.12.20-8+deb7u3_armhf.deb) ...
Selecting previously unselected package libxml2-dev:armhf.
Unpacking libxml2-dev:armhf (from .../libxml2-dev_2.8.0+dfsg1-7+wheezy7_armhf.deb) ...
Selecting previously unselected package libsepol1-dev.
Unpacking libsepol1-dev (from .../libsepol1-dev_2.1.4-3_armhf.deb) ...
Selecting previously unselected package libselinux1-dev.
Unpacking libselinux1-dev (from .../libselinux1-dev_2.1.9-5_armhf.deb) ...
Selecting previously unselected package libgnomevfs2-dev.
Unpacking libgnomevfs2-dev (from .../libgnomevfs2-dev_1%3a2.24.4-2_armhf.deb) ...
Selecting previously unselected package libcanberra-dev:armhf.
Unpacking libcanberra-dev:armhf (from .../libcanberra-dev_0.28-6_armhf.deb) ...
Selecting previously unselected package libgnome2-dev.
Unpacking libgnome2-dev (from .../libgnome2-dev_2.32.1-3_armhf.deb) ...
Selecting previously unselected package libbonoboui2-dev.
Unpacking libbonoboui2-dev (from .../libbonoboui2-dev_2.24.3-1_armhf.deb) ...
Selecting previously unselected package libgnome-keyring-dev.
Unpacking libgnome-keyring-dev (from .../libgnome-keyring-dev_3.4.1-1_armhf.deb) ...
Selecting previously unselected package libgnomeui-common.
Unpacking libgnomeui-common (from .../libgnomeui-common_2.24.5-2_all.deb) ...
Selecting previously unselected package libgnomeui-0.
Unpacking libgnomeui-0 (from .../libgnomeui-0_2.24.5-2_armhf.deb) ...
Selecting previously unselected package libgnomeui-dev.
Unpacking libgnomeui-dev (from .../libgnomeui-dev_2.24.5-2_armhf.deb) ...
Selecting previously unselected package libgpm-dev:armhf.
Unpacking libgpm-dev:armhf (from .../libgpm-dev_1.20.4-6_armhf.deb) ...
Selecting previously unselected package libtinfo-dev:armhf.
Unpacking libtinfo-dev:armhf (from .../libtinfo-dev_5.9-10_armhf.deb) ...
Selecting previously unselected package libreadline6-dev:armhf.
Unpacking libreadline6-dev:armhf (from .../libreadline6-dev_6.2+dfsg-0.1_armhf.deb) ...
Selecting previously unselected package libreadline-dev:armhf.
Unpacking libreadline-dev:armhf (from .../libreadline-dev_6.2+dfsg-0.1_armhf.deb) ...
Selecting previously unselected package liblua5.1-0-dev:armhf.
Unpacking liblua5.1-0-dev:armhf (from .../liblua5.1-0-dev_5.1.5-4+deb7u1_armhf.deb) ...
Selecting previously unselected package libperl5.14.
Unpacking libperl5.14 (from .../libperl5.14_5.14.2-21+rpi2+deb7u2_armhf.deb) ...
Selecting previously unselected package libperl-dev.
Unpacking libperl-dev (from .../libperl-dev_5.14.2-21+rpi2+deb7u2_armhf.deb) ...
Selecting previously unselected package libpython2.7.
Unpacking libpython2.7 (from .../libpython2.7_2.7.3-6+deb7u3_armhf.deb) ...
Selecting previously unselected package libruby1.9.1.
Unpacking libruby1.9.1 (from .../libruby1.9.1_1.9.3.194-8.1+deb7u5_armhf.deb) ...
Selecting previously unselected package libssl-dev.
Unpacking libssl-dev (from .../libssl-dev_1.0.1t-1+deb7u2_armhf.deb) ...
Selecting previously unselected package libxt-dev:armhf.
Unpacking libxt-dev:armhf (from .../libxt-dev_1%3a1.1.3-1+deb7u1_armhf.deb) ...
Selecting previously unselected package libxmu-headers.
Unpacking libxmu-headers (from .../libxmu-headers_2%3a1.1.1-1_all.deb) ...
Selecting previously unselected package libxmu-dev:armhf.
Unpacking libxmu-dev:armhf (from .../libxmu-dev_2%3a1.1.1-1_armhf.deb) ...
Selecting previously unselected package libxpm-dev:armhf.
Unpacking libxpm-dev:armhf (from .../libxpm-dev_1%3a3.5.10-1+deb7u1_armhf.deb) ...
Selecting previously unselected package libxaw7-dev:armhf.
Unpacking libxaw7-dev:armhf (from .../libxaw7-dev_2%3a1.0.10-2_armhf.deb) ...
Selecting previously unselected package lua5.1.
Unpacking lua5.1 (from .../lua5.1_5.1.5-4+deb7u1_armhf.deb) ...
Selecting previously unselected package python2.7-dev.
Unpacking python2.7-dev (from .../python2.7-dev_2.7.3-6+deb7u3_armhf.deb) ...
Selecting previously unselected package python-dev.
Unpacking python-dev (from .../python-dev_2.7.3-4+deb7u1_all.deb) ...
Selecting previously unselected package ruby1.9.1.
Unpacking ruby1.9.1 (from .../ruby1.9.1_1.9.3.194-8.1+deb7u5_armhf.deb) ...
Selecting previously unselected package ruby.
Unpacking ruby (from .../ruby_1%3a1.9.3_all.deb) ...
Selecting previously unselected package ruby1.9.1-dev.
Unpacking ruby1.9.1-dev (from .../ruby1.9.1-dev_1.9.3.194-8.1+deb7u5_armhf.deb) ...
Selecting previously unselected package ruby-dev.
Unpacking ruby-dev (from .../ruby-dev_1%3a1.9.3_all.deb) ...
Selecting previously unselected package tcl8.5.
Unpacking tcl8.5 (from .../tcl8.5_8.5.11-2_armhf.deb) ...
Selecting previously unselected package tcl.
Unpacking tcl (from .../archives/tcl_8.5.0-2.1_all.deb) ...
Selecting previously unselected package tcl8.5-dev.
Unpacking tcl8.5-dev (from .../tcl8.5-dev_8.5.11-2_armhf.deb) ...
Selecting previously unselected package tcl-dev.
Unpacking tcl-dev (from .../tcl-dev_8.5.0-2.1_all.deb) ...
Selecting previously unselected package libattr1-dev:armhf.
Unpacking libattr1-dev:armhf (from .../libattr1-dev_1%3a2.4.46-8_armhf.deb) ...
Selecting previously unselected package libacl1-dev.
Unpacking libacl1-dev (from .../libacl1-dev_2.2.51-8_armhf.deb) ...
Selecting previously unselected package sbuild-build-depends-vim-dummy.
Unpacking sbuild-build-depends-vim-dummy (from .../sbuild-build-depends-vim-dummy_0.invalid.0_armhf.deb) ...
Setting up libpcre3:armhf (1:8.30-5) ...
Setting up libpipeline1:armhf (1.2.1-1) ...
Setting up libpopt0:armhf (1.16-7) ...
Setting up libssl1.0.0:armhf (1.0.1t-1+deb7u2) ...
Setting up libasprintf0c2:armhf (0.18.1.1-9) ...
Setting up libcap2:armhf (1:2.22-1.2) ...
Setting up libgpg-error0:armhf (1.10-3.1) ...
Setting up libgcrypt11:armhf (1.5.0-5+deb7u5) ...
Setting up libp11-kit0:armhf (0.12-3) ...
Setting up libtasn1-3:armhf (2.13-2+deb7u3) ...
Setting up libgnutls26:armhf (2.12.20-8+deb7u3) ...
Setting up libgnutls-openssl27:armhf (2.12.20-8+deb7u3) ...
Setting up libgpm2:armhf (1.20.4-6) ...
Setting up libkeyutils1:armhf (1.5.5-3+deb7u1) ...
Setting up libkrb5support0:armhf (1.10.1+dfsg-5+deb7u7) ...
Setting up libk5crypto3:armhf (1.10.1+dfsg-5+deb7u7) ...
Setting up libkrb5-3:armhf (1.10.1+dfsg-5+deb7u7) ...
Setting up libgssapi-krb5-2:armhf (1.10.1+dfsg-5+deb7u7) ...
Setting up libsasl2-2:armhf (2.1.25.dfsg1-6+deb7u1) ...
Setting up libldap-2.4-2:armhf (2.4.31-2+rpi1) ...
Setting up libmagic1:armhf (5.11-2+deb7u9) ...
Setting up libsqlite3-0:armhf (3.7.13-1+deb7u3) ...
Setting up libxml2:armhf (2.8.0+dfsg1-7+wheezy7) ...
Setting up libart-2.0-2:armhf (2.3.21-2) ...
Setting up libasound2:armhf (1.0.25-4) ...
Setting up libatasmart4:armhf (0.19-1) ...
Setting up libffi5:armhf (3.0.10-3+b3) ...
Setting up libglib2.0-0:armhf (2.33.12+really2.32.4-5) ...
No schema files found: doing nothing.
Setting up libatk1.0-data (2.4.0-2) ...
Setting up libatk1.0-0:armhf (2.4.0-2) ...
Setting up libavahi-common-data:armhf (0.6.31-2) ...
Setting up libavahi-common3:armhf (0.6.31-2) ...
Setting up libavahi-client3:armhf (0.6.31-2) ...
Setting up libavahi-glib1:armhf (0.6.31-2) ...
Setting up libbluray1:armhf (1:0.2.2-1) ...
Setting up libexpat1:armhf (2.1.0-1+deb7u4) ...
Setting up libfreetype6:armhf (2.4.9-1.1+deb7u4) ...
Setting up ucf (3.0025+nmu3) ...
Setting up ttf-dejavu-core (2.33-3) ...
Setting up fontconfig-config (2.9.0-7.1+deb7u1) ...
Setting up libfontconfig1:armhf (2.9.0-7.1+deb7u1) ...
Setting up libpixman-1-0:armhf (0.26.0-4+deb7u2) ...
Setting up libpng12-0:armhf (1.2.49-1+deb7u2) ...
Setting up libxau6:armhf (1:1.0.7-1) ...
Setting up libxdmcp6:armhf (1:1.1.1-1) ...
Setting up libxcb1:armhf (1.8.1-2+deb7u1) ...
Setting up libx11-data (2:1.5.0-1+deb7u4) ...
Setting up libx11-6:armhf (2:1.5.0-1+deb7u4) ...
Setting up libxcb-render0:armhf (1.8.1-2+deb7u1) ...
Setting up libxcb-shm0:armhf (1.8.1-2+deb7u1) ...
Setting up libxrender1:armhf (1:0.9.7-1+deb7u3) ...
Setting up libcairo2:armhf (1.12.2-3+deb7u1) ...
Setting up libcairo-gobject2:armhf (1.12.2-3+deb7u1) ...
Setting up libcairo-script-interpreter2:armhf (1.12.2-3+deb7u1) ...
Setting up libltdl7:armhf (2.4.2-1.1) ...
Setting up libogg0:armhf (1.3.0-4) ...
Setting up libtdb1:armhf (1.2.10-2) ...
Setting up libvorbis0a:armhf (1.3.2-1.3) ...
Setting up libvorbisfile3:armhf (1.3.2-1.3) ...
Setting up libcanberra0:armhf (0.28-6) ...
Setting up libcroco3:armhf (0.6.6-2) ...
Setting up libcups2:armhf (1.5.3-5+deb7u6) ...
Setting up libdatrie1:armhf (0.2.5-3) ...
Setting up libdbus-glib-1-2:armhf (0.100.2-1) ...
Setting up libdrm2:armhf (2.4.40-1~deb7u2) ...
Setting up libfontenc1:armhf (1:1.1.1-1) ...
Setting up libjpeg8:armhf (8d-1+deb7u1) ...
Setting up libjasper1:armhf (1.900.1-13+deb7u5) ...
Setting up libjbig0:armhf (2.0-2+deb7u1) ...
Setting up libtiff4:armhf (3.9.6-11+deb7u3) ...
Setting up libgdk-pixbuf2.0-common (2.26.1-1+deb7u5) ...
Setting up libgdk-pixbuf2.0-0:armhf (2.26.1-1+deb7u5) ...
Setting up libthai-data (0.1.18-2) ...
Setting up libthai0:armhf (0.1.18-2) ...
Setting up libxft2:armhf (2.3.1-1) ...
Setting up fontconfig (2.9.0-7.1+deb7u1) ...
Regenerating fonts cache... done.
Setting up libpango1.0-0:armhf (1.30.0-1) ...
Setting up libxcomposite1:armhf (1:0.4.3-2) ...
Setting up libxdamage1:armhf (1:1.1.3-2) ...
Setting up libxfixes3:armhf (1:5.0-4+deb7u2) ...
Setting up libgtk2.0-common (2.24.10-2) ...
Setting up libxcursor1:armhf (1:1.1.13-1+deb7u1) ...
Setting up libxext6:armhf (2:1.3.1-2+deb7u1) ...
Setting up libxi6:armhf (2:1.6.1-1+deb7u3) ...
Setting up libxinerama1:armhf (2:1.1.2-1+deb7u1) ...
Setting up libxrandr2:armhf (2:1.3.2-2+deb7u2) ...
Setting up shared-mime-info (1.0-1) ...
Setting up libgtk2.0-0:armhf (2.24.10-2) ...
Setting up libgail18:armhf (2.24.10-2) ...
Setting up gconf2-common (3.2.5-1+build1) ...
Creating config file /etc/gconf/2/path with new version
Setting up libgconf-2-4:armhf (3.2.5-1+build1) ...
Setting up libunistring0:armhf (0.9.3-5) ...
Setting up libgettextpo0:armhf (0.18.1.1-9) ...
Setting up libglapi-mesa:armhf (8.0.5-4+deb7u2+rpi1) ...
Setting up libx11-xcb1:armhf (2:1.5.0-1+deb7u4) ...
Setting up libxcb-glx0:armhf (1.8.1-2+deb7u1) ...
Setting up libxxf86vm1:armhf (1:1.1.2-1+deb7u1) ...
Setting up libgl1-mesa-glx:armhf (8.0.5-4+deb7u2+rpi1) ...
Setting up libelf1 (0.152-1+wheezy1) ...
Setting up libglib2.0-data (2.33.12+really2.32.4-5) ...
Setting up libglib2.0-bin (2.33.12+really2.32.4-5) ...
Setting up libgnome-keyring-common (3.4.1-1) ...
Setting up libgnome-keyring0:armhf (3.4.1-1) ...
Setting up libgudev-1.0-0:armhf (175-7.2) ...
Setting up x11-common (1:7.7+3~deb7u1) ...
All runlevel operations denied by policy
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libice6:armhf (2:1.0.8-2) ...
Setting up liblua5.1-0:armhf (5.1.5-4+deb7u1) ...
Setting up libpcrecpp0:armhf (1:8.30-5) ...
Setting up libpolkit-gobject-1-0:armhf (0.105-3) ...
Setting up libsm6:armhf (2:1.2.1-2) ...
Setting up libxt6:armhf (1:1.1.3-1+deb7u1) ...
Setting up libxmu6:armhf (2:1.1.1-1) ...
Setting up libxpm4:armhf (1:3.5.10-1+deb7u1) ...
Setting up libxaw7:armhf (2:1.0.10-2) ...
Setting up libxcb-shape0:armhf (1.8.1-2+deb7u1) ...
Setting up libxmuu1:armhf (2:1.1.1-1) ...
Setting up libxtst6:armhf (2:1.2.1-1+deb7u2) ...
Setting up libxv1:armhf (2:1.0.7-1+deb7u2) ...
Setting up libxxf86dga1:armhf (2:1.1.3-2+deb7u1) ...
Setting up libyaml-0-2:armhf (0.1.4-2+deb7u5) ...
Setting up libgnutlsxx27:armhf (2.12.20-8+deb7u3) ...
Setting up libsystemd-login0:armhf (44-11+deb7u5) ...
Setting up adduser (3.113+nmu3) ...
Setting up bsdmainutils (9.0.3) ...
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 groff-base (1.21-9) ...
Setting up man-db (2.6.2-1) ...
Building database of manual pages ...
Setting up file (5.11-2+deb7u9) ...
Setting up gettext-base (0.18.1.1-9) ...
Setting up mime-support (3.52-1+deb7u1) ...
update-alternatives: using /usr/bin/see to provide /usr/bin/view (view) in auto mode
Setting up python2.7-minimal (2.7.3-6+deb7u3) ...
Setting up python2.7 (2.7.3-6+deb7u3) ...
Setting up python-minimal (2.7.3-4+deb7u1) ...
Setting up python (2.7.3-4+deb7u1) ...
Setting up dbus (1.6.8-1+deb7u6) ...
All runlevel operations denied by policy
invoke-rc.d: policy-rc.d denied execution of start.
Setting up dbus-x11 (1.6.8-1+deb7u6) ...
Setting up html2text (1.3.2a-15) ...
Setting up gettext (0.18.1.1-9) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu2) ...
Setting up debhelper (9.20120909) ...
Setting up desktop-file-utils (0.20-0.1) ...
Setting up gconf-service (3.2.5-1+build1) ...
Setting up psmisc (22.19-1+deb7u1) ...
Setting up gconf2 (3.2.5-1+build1) ...
update-alternatives: using /usr/bin/gconftool-2 to provide /usr/bin/gconftool (gconftool) in auto mode
Setting up libgirepository-1.0-1 (1.32.1-1) ...
Setting up gir1.2-glib-2.0 (1.32.1-1) ...
Setting up gir1.2-atk-1.0 (2.4.0-2) ...
Setting up gir1.2-freedesktop (1.32.1-1) ...
Setting up gir1.2-gconf-2.0 (3.2.5-1+build1) ...
Setting up gir1.2-gdkpixbuf-2.0 (2.26.1-1+deb7u5) ...
Setting up gir1.2-gnomekeyring-1.0 (3.4.1-1) ...
Setting up gir1.2-pango-1.0 (1.30.0-1) ...
Setting up gnome-mime-data (2.18.0-1) ...
Setting up libsgutils2-2 (1.33-1) ...
Setting up x11-utils (7.7~1) ...
Setting up gvfs-common (1.12.3-4) ...
Setting up gvfs-libs:armhf (1.12.3-4) ...
Setting up pkg-config (0.26-1) ...
Setting up libart-2.0-dev (2.3.21-2) ...
Setting up libpcre3-dev (1:8.30-5) ...
Setting up zlib1g-dev:armhf (1:1.2.7.dfsg-13) ...
Setting up libglib2.0-dev (2.33.12+really2.32.4-5) ...
Setting up libatk1.0-dev (2.4.0-2) ...
Setting up libavahi-common-dev (0.6.31-2) ...
Setting up libdbus-1-dev (1.6.8-1+deb7u6) ...
Setting up libavahi-client-dev (0.6.31-2) ...
Setting up libavahi-glib-dev (0.6.31-2) ...
Setting up libbonobo2-common (2.24.3-1) ...
Setting up libidl0 (0.8.14-0.2) ...
Setting up liborbit2 (1:2.14.19-0.1) ...
Setting up libbonobo2-0 (2.24.3-1) ...
Setting up libidl-dev (0.8.14-0.2) ...
Setting up liborbit2-dev (1:2.14.19-0.1) ...
Setting up libpopt-dev:armhf (1.16-7) ...
Setting up libbonobo2-dev (2.24.3-1) ...
Setting up libglade2-0 (1:2.6.4-1) ...
Setting up libfam0 (2.7.0-17) ...
Setting up libgnomevfs2-common (1:2.24.4-2) ...
Setting up libgnomevfs2-0 (1:2.24.4-2) ...
Setting up libgnome2-common (2.32.1-3) ...
Setting up libgnomecanvas2-common (2.30.3-1.2) ...
Setting up libgnomecanvas2-0 (2.30.3-1.2) ...
Setting up libbonoboui2-common (2.24.3-1) ...
Setting up xorg-sgml-doctools (1:1.10-1) ...
Setting up x11proto-core-dev (7.0.23-1) ...
Setting up libxau-dev:armhf (1:1.0.7-1) ...
Setting up libxdmcp-dev:armhf (1:1.1.1-1) ...
Setting up x11proto-input-dev (2.2-1) ...
Setting up x11proto-kb-dev (1.0.6-2) ...
Setting up xtrans-dev (1.2.7-1) ...
Setting up libpthread-stubs0:armhf (0.3-3) ...
Setting up libpthread-stubs0-dev:armhf (0.3-3) ...
Setting up libxcb1-dev:armhf (1.8.1-2+deb7u1) ...
Setting up libx11-dev:armhf (2:1.5.0-1+deb7u4) ...
Setting up libpng12-dev (1.2.49-1+deb7u2) ...
Setting up libgdk-pixbuf2.0-dev (2.26.1-1+deb7u5) ...
Setting up libfreetype6-dev (2.4.9-1.1+deb7u4) ...
Setting up x11proto-render-dev (2:0.11.1-2) ...
Setting up libxrender-dev:armhf (1:0.9.7-1+deb7u3) ...
Setting up libexpat1-dev (2.1.0-1+deb7u4) ...
Setting up libfontconfig1-dev (2.9.0-7.1+deb7u1) ...
Setting up libxft-dev (2.3.1-1) ...
Setting up libice-dev:armhf (2:1.0.8-2) ...
Setting up libsm-dev:armhf (2:1.2.1-2) ...
Setting up libpixman-1-dev (0.26.0-4+deb7u2) ...
Setting up libxcb-render0-dev:armhf (1.8.1-2+deb7u1) ...
Setting up libxcb-shm0-dev:armhf (1.8.1-2+deb7u1) ...
Setting up libcairo2-dev (1.12.2-3+deb7u1) ...
Setting up libpango1.0-dev (1.30.0-1) ...
Setting up x11proto-xext-dev (7.2.1-1) ...
Setting up libxext-dev:armhf (2:1.3.1-2+deb7u1) ...
Setting up x11proto-xinerama-dev (1.2.1-2) ...
Setting up libxinerama-dev:armhf (2:1.1.2-1+deb7u1) ...
Setting up libxi-dev (2:1.6.1-1+deb7u3) ...
Setting up x11proto-randr-dev (1.3.2-2) ...
Setting up libxrandr-dev (2:1.3.2-2+deb7u2) ...
Setting up x11proto-fixes-dev (1:5.0-2) ...
Setting up libxfixes-dev (1:5.0-4+deb7u2) ...
Setting up libxcursor-dev:armhf (1:1.1.13-1+deb7u1) ...
Setting up x11proto-composite-dev (1:0.4.2-2) ...
Setting up libxcomposite-dev (1:0.4.3-2) ...
Setting up x11proto-damage-dev (1:1.2.1-2) ...
Setting up libxdamage-dev (1:1.1.3-2) ...
Setting up libxml2-utils (2.8.0+dfsg1-7+wheezy7) ...
Setting up libgtk2.0-dev (2.24.10-2) ...
Setting up libgail-common:armhf (2.24.10-2) ...
Setting up libgail-dev (2.24.10-2) ...
Setting up libgnomecanvas2-dev (2.30.3-1.2) ...
Setting up libgconf2-dev (3.2.5-1+build1) ...
Setting up libgpg-error-dev (1.10-3.1) ...
Setting up libgcrypt11-dev (1.5.0-5+deb7u5) ...
Setting up libtasn1-3-dev (2.13-2+deb7u3) ...
Setting up libp11-kit-dev (0.12-3) ...
Setting up libgnutls-dev (2.12.20-8+deb7u3) ...
Setting up libxml2-dev:armhf (2.8.0+dfsg1-7+wheezy7) ...
Setting up libsepol1-dev (2.1.4-3) ...
Setting up libselinux1-dev (2.1.9-5) ...
Setting up libgnomevfs2-dev (1:2.24.4-2) ...
Setting up libcanberra-dev:armhf (0.28-6) ...
Setting up libgnome-keyring-dev (3.4.1-1) ...
Setting up libgnomeui-common (2.24.5-2) ...
Setting up libgpm-dev:armhf (1.20.4-6) ...
Setting up libtinfo-dev:armhf (5.9-10) ...
Setting up libreadline6-dev:armhf (6.2+dfsg-0.1) ...
Setting up libreadline-dev:armhf (6.2+dfsg-0.1) ...
Setting up liblua5.1-0-dev:armhf (5.1.5-4+deb7u1) ...
Setting up libperl5.14 (5.14.2-21+rpi2+deb7u2) ...
Setting up libperl-dev (5.14.2-21+rpi2+deb7u2) ...
Setting up libpython2.7 (2.7.3-6+deb7u3) ...
Setting up libruby1.9.1 (1.9.3.194-8.1+deb7u5) ...
Setting up libssl-dev (1.0.1t-1+deb7u2) ...
Setting up libxt-dev:armhf (1:1.1.3-1+deb7u1) ...
Setting up libxmu-headers (2:1.1.1-1) ...
Setting up libxmu-dev:armhf (2:1.1.1-1) ...
Setting up libxpm-dev:armhf (1:3.5.10-1+deb7u1) ...
Setting up libxaw7-dev:armhf (2:1.0.10-2) ...
Setting up lua5.1 (5.1.5-4+deb7u1) ...
update-alternatives: using /usr/bin/lua5.1 to provide /usr/bin/lua (lua-interpreter) in auto mode
update-alternatives: using /usr/bin/luac5.1 to provide /usr/bin/luac (lua-compiler) in auto mode
Setting up python2.7-dev (2.7.3-6+deb7u3) ...
Setting up python-dev (2.7.3-4+deb7u1) ...
Setting up ruby1.9.1 (1.9.3.194-8.1+deb7u5) ...
update-alternatives: using /usr/bin/gem1.9.1 to provide /usr/bin/gem (gem) in auto mode
update-alternatives: using /usr/bin/ruby1.9.1 to provide /usr/bin/ruby (ruby) in auto mode
Setting up ruby (1:1.9.3) ...
Setting up ruby1.9.1-dev (1.9.3.194-8.1+deb7u5) ...
Setting up ruby-dev (1:1.9.3) ...
Setting up tcl8.5 (8.5.11-2) ...
update-alternatives: using /usr/bin/tclsh8.5 to provide /usr/bin/tclsh (tclsh) in auto mode
Setting up tcl (8.5.0-2.1) ...
update-alternatives: using /usr/bin/tclsh-default to provide /usr/bin/tclsh (tclsh) in auto mode
Setting up tcl8.5-dev (8.5.11-2) ...
Setting up tcl-dev (8.5.0-2.1) ...
Setting up libattr1-dev:armhf (1:2.4.46-8) ...
Setting up libacl1-dev (2.2.51-8) ...
Setting up libdevmapper1.02.1:armhf (2:1.02.74-8+rpi1) ...
Setting up libdevmapper-event1.02.1:armhf (2:1.02.74-8+rpi1) ...
Setting up liblvm2app2.2:armhf (2.02.95-8+rpi1) ...
Setting up libparted0debian1:armhf (2.3-12) ...
Setting up udisks (1.0.4-7wheezy1) ...
Setting up libgdu0 (3.0.2-3) ...
Setting up gvfs-daemons (1.12.3-4) ...
Setting up gvfs:armhf (1.12.3-4) ...
Setting up libgnome2-0 (2.32.1-3) ...
Setting up libbonoboui2-0 (2.24.3-1) ...
Setting up libgnome2-dev (2.32.1-3) ...
Setting up libbonoboui2-dev (2.24.3-1) ...
Setting up libgnomeui-0 (2.24.5-2) ...
Setting up libgnomeui-dev (2.24.5-2) ...
Setting up sbuild-build-depends-vim-dummy (0.invalid.0) ...
Setting up dmsetup (2:1.02.74-8+rpi1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
+------------------------------------------------------------------------------+
| Build environment |
+------------------------------------------------------------------------------+
Kernel: Linux 4.9.0-0.bpo.1-armmp armhf (armv7l)
Toolchain package versions: binutils_2.22-8+deb7u2 dpkg-dev_1.16.16+rpi1 g++-4.6_4.6.3-14+rpi1 gcc-4.6_4.6.3-14+rpi1 libc6-dev_2.13-38+rpi2+deb7u8 libstdc++6_4.7.2-5+rpi1 libstdc++6-4.6-dev_4.6.3-14+rpi1 linux-libc-dev_3.2.51-1+rpi1
Package versions: adduser_3.113+nmu3 apt_0.9.7.9+rpi1+deb7u7 base-files_7.1wheezy8+rpi1 base-passwd_3.5.26 bash_4.2+dfsg-0.1+deb7u3 binutils_2.22-8+deb7u2 bsdmainutils_9.0.3 bsdutils_1:2.20.1-5.3 build-essential_11.5+b1 bzip2_1.0.6-4 coreutils_8.13-3.5 cpio_2.11+dfsg-0.1+deb7u1 cpp_4:4.6.3-8 cpp-4.6_4.6.3-14+rpi1 dash_0.5.7-3 dbus_1.6.8-1+deb7u6 dbus-x11_1.6.8-1+deb7u6 debconf_1.5.49 debconf-i18n_1.5.49 debfoster_2.7-1.2 debhelper_9.20120909 debianutils_4.3.2 desktop-file-utils_0.20-0.1 diffutils_1:3.2-6 dmsetup_2:1.02.74-8+rpi1 dpkg_1.16.16+rpi1 dpkg-dev_1.16.16+rpi1 e2fslibs_1.42.5-1.1+deb7u1 e2fsprogs_1.42.5-1.1+deb7u1 fakeroot_1.18.4-2 file_5.11-2+deb7u9 findutils_4.4.2-4 fontconfig_2.9.0-7.1+deb7u1 fontconfig-config_2.9.0-7.1+deb7u1 g++_4:4.6.3-8 g++-4.6_4.6.3-14+rpi1 gcc_4:4.6.3-8 gcc-4.5-base_4.5.3-12+rpi1 gcc-4.6_4.6.3-14+rpi1 gcc-4.6-base_4.6.3-14+rpi1 gcc-4.7-base_4.7.2-5+rpi1 gconf-service_3.2.5-1+build1 gconf2_3.2.5-1+build1 gconf2-common_3.2.5-1+build1 gettext_0.18.1.1-9 gettext-base_0.18.1.1-9 gir1.2-atk-1.0_2.4.0-2 gir1.2-freedesktop_1.32.1-1 gir1.2-gconf-2.0_3.2.5-1+build1 gir1.2-gdkpixbuf-2.0_2.26.1-1+deb7u5 gir1.2-glib-2.0_1.32.1-1 gir1.2-gnomekeyring-1.0_3.4.1-1 gir1.2-pango-1.0_1.30.0-1 gnome-mime-data_2.18.0-1 gnupg_1.4.12-7+deb7u7 gpgv_1.4.12-7+deb7u7 grep_2.12-2 groff-base_1.21-9 gvfs_1.12.3-4 gvfs-common_1.12.3-4 gvfs-daemons_1.12.3-4 gvfs-libs_1.12.3-4 gzip_1.5-1.1 hostname_3.11 html2text_1.3.2a-15 initramfs-tools_0.115~bpo70+1 initscripts_2.88dsf-41+deb7u1 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 klibc-utils_2.0.1-3.1+rpi1 kmod_9-3 libacl1_2.2.51-8 libacl1-dev_2.2.51-8 libapt-pkg4.12_0.9.7.9+rpi1+deb7u7 libart-2.0-2_2.3.21-2 libart-2.0-dev_2.3.21-2 libasound2_1.0.25-4 libasprintf0c2_0.18.1.1-9 libatasmart4_0.19-1 libatk1.0-0_2.4.0-2 libatk1.0-data_2.4.0-2 libatk1.0-dev_2.4.0-2 libattr1_1:2.4.46-8 libattr1-dev_1:2.4.46-8 libavahi-client-dev_0.6.31-2 libavahi-client3_0.6.31-2 libavahi-common-data_0.6.31-2 libavahi-common-dev_0.6.31-2 libavahi-common3_0.6.31-2 libavahi-glib-dev_0.6.31-2 libavahi-glib1_0.6.31-2 libblkid1_2.20.1-5.3 libbluray1_1:0.2.2-1 libbonobo2-0_2.24.3-1 libbonobo2-common_2.24.3-1 libbonobo2-dev_2.24.3-1 libbonoboui2-0_2.24.3-1 libbonoboui2-common_2.24.3-1 libbonoboui2-dev_2.24.3-1 libbz2-1.0_1.0.6-4 libc-bin_2.13-38+rpi2+deb7u8 libc-dev-bin_2.13-38+rpi2+deb7u8 libc6_2.13-38+rpi2+deb7u8 libc6-dev_2.13-38+rpi2+deb7u8 libcairo-gobject2_1.12.2-3+deb7u1 libcairo-script-interpreter2_1.12.2-3+deb7u1 libcairo2_1.12.2-3+deb7u1 libcairo2-dev_1.12.2-3+deb7u1 libcanberra-dev_0.28-6 libcanberra0_0.28-6 libcap2_1:2.22-1.2 libclass-isa-perl_0.36-3 libcomerr2_1.42.5-1.1+deb7u1 libcroco3_0.6.6-2 libcups2_1.5.3-5+deb7u6 libdatrie1_0.2.5-3 libdb5.1_5.1.29-5 libdbus-1-3_1.6.8-1+deb7u6 libdbus-1-dev_1.6.8-1+deb7u6 libdbus-glib-1-2_0.100.2-1 libdevmapper-event1.02.1_2:1.02.74-8+rpi1 libdevmapper1.02.1_2:1.02.74-8+rpi1 libdpkg-perl_1.16.16+rpi1 libdrm2_2.4.40-1~deb7u2 libelf1_0.152-1+wheezy1 libexpat1_2.1.0-1+deb7u4 libexpat1-dev_2.1.0-1+deb7u4 libfam0_2.7.0-17 libffi5_3.0.10-3+b3 libfontconfig1_2.9.0-7.1+deb7u1 libfontconfig1-dev_2.9.0-7.1+deb7u1 libfontenc1_1:1.1.1-1 libfreetype6_2.4.9-1.1+deb7u4 libfreetype6-dev_2.4.9-1.1+deb7u4 libgail-common_2.24.10-2 libgail-dev_2.24.10-2 libgail18_2.24.10-2 libgc1c2_1:7.1-9.1 libgcc1_1:4.7.2-5+rpi1 libgconf-2-4_3.2.5-1+build1 libgconf2-dev_3.2.5-1+build1 libgcrypt11_1.5.0-5+deb7u5 libgcrypt11-dev_1.5.0-5+deb7u5 libgdbm3_1.8.3-11 libgdk-pixbuf2.0-0_2.26.1-1+deb7u5 libgdk-pixbuf2.0-common_2.26.1-1+deb7u5 libgdk-pixbuf2.0-dev_2.26.1-1+deb7u5 libgdu0_3.0.2-3 libgettextpo0_0.18.1.1-9 libgirepository-1.0-1_1.32.1-1 libgl1-mesa-glx_8.0.5-4+deb7u2+rpi1 libglade2-0_1:2.6.4-1 libglapi-mesa_8.0.5-4+deb7u2+rpi1 libglib2.0-0_2.33.12+really2.32.4-5 libglib2.0-bin_2.33.12+really2.32.4-5 libglib2.0-data_2.33.12+really2.32.4-5 libglib2.0-dev_2.33.12+really2.32.4-5 libgmp10_2:5.0.5+dfsg-2 libgnome-keyring-common_3.4.1-1 libgnome-keyring-dev_3.4.1-1 libgnome-keyring0_3.4.1-1 libgnome2-0_2.32.1-3 libgnome2-common_2.32.1-3 libgnome2-dev_2.32.1-3 libgnomecanvas2-0_2.30.3-1.2 libgnomecanvas2-common_2.30.3-1.2 libgnomecanvas2-dev_2.30.3-1.2 libgnomeui-0_2.24.5-2 libgnomeui-common_2.24.5-2 libgnomeui-dev_2.24.5-2 libgnomevfs2-0_1:2.24.4-2 libgnomevfs2-common_1:2.24.4-2 libgnomevfs2-dev_1:2.24.4-2 libgnutls-dev_2.12.20-8+deb7u3 libgnutls-openssl27_2.12.20-8+deb7u3 libgnutls26_2.12.20-8+deb7u3 libgnutlsxx27_2.12.20-8+deb7u3 libgomp1_4.7.2-5+rpi1 libgpg-error-dev_1.10-3.1 libgpg-error0_1.10-3.1 libgpm-dev_1.20.4-6 libgpm2_1.20.4-6 libgssapi-krb5-2_1.10.1+dfsg-5+deb7u7 libgtk2.0-0_2.24.10-2 libgtk2.0-common_2.24.10-2 libgtk2.0-dev_2.24.10-2 libgudev-1.0-0_175-7.2 libice-dev_2:1.0.8-2 libice6_2:1.0.8-2 libidl-dev_0.8.14-0.2 libidl0_0.8.14-0.2 libjasper1_1.900.1-13+deb7u5 libjbig0_2.0-2+deb7u1 libjpeg8_8d-1+deb7u1 libk5crypto3_1.10.1+dfsg-5+deb7u7 libkeyutils1_1.5.5-3+deb7u1 libklibc_2.0.1-3.1+rpi1 libkmod2_9-3 libkrb5-3_1.10.1+dfsg-5+deb7u7 libkrb5support0_1.10.1+dfsg-5+deb7u7 libldap-2.4-2_2.4.31-2+rpi1 liblocale-gettext-perl_1.05-7 libltdl7_2.4.2-1.1 liblua5.1-0_5.1.5-4+deb7u1 liblua5.1-0-dev_5.1.5-4+deb7u1 liblvm2app2.2_2.02.95-8+rpi1 liblzma5_5.1.1alpha+20120614-2 libmagic1_5.11-2+deb7u9 libmount1_2.20.1-5.3 libmpc2_0.9-4 libmpfr4_3.1.0-5 libncurses5_5.9-10 libncursesw5_5.9-10 libnih-dbus1_1.0.3-4.1 libnih1_1.0.3-4.1 libogg0_1.3.0-4 liborbit2_1:2.14.19-0.1 liborbit2-dev_1:2.14.19-0.1 libp11-kit-dev_0.12-3 libp11-kit0_0.12-3 libpam-modules_1.1.3-7.1 libpam-modules-bin_1.1.3-7.1 libpam-runtime_1.1.3-7.1 libpam0g_1.1.3-7.1 libpango1.0-0_1.30.0-1 libpango1.0-dev_1.30.0-1 libparted0debian1_2.3-12 libpcre3_1:8.30-5 libpcre3-dev_1:8.30-5 libpcrecpp0_1:8.30-5 libperl-dev_5.14.2-21+rpi2+deb7u2 libperl5.14_5.14.2-21+rpi2+deb7u2 libpipeline1_1.2.1-1 libpixman-1-0_0.26.0-4+deb7u2 libpixman-1-dev_0.26.0-4+deb7u2 libpng12-0_1.2.49-1+deb7u2 libpng12-dev_1.2.49-1+deb7u2 libpolkit-gobject-1-0_0.105-3 libpopt-dev_1.16-7 libpopt0_1.16-7 libprocps0_1:3.3.3-3 libpthread-stubs0_0.3-3 libpthread-stubs0-dev_0.3-3 libpython2.7_2.7.3-6+deb7u3 libreadline-dev_6.2+dfsg-0.1 libreadline6_6.2+dfsg-0.1 libreadline6-dev_6.2+dfsg-0.1 libruby1.9.1_1.9.3.194-8.1+deb7u5 libsasl2-2_2.1.25.dfsg1-6+deb7u1 libselinux1_2.1.9-5 libselinux1-dev_2.1.9-5 libsemanage-common_2.1.6-6 libsemanage1_2.1.6-6 libsepol1_2.1.4-3 libsepol1-dev_2.1.4-3 libsgutils2-2_1.33-1 libslang2_2.2.4-15 libsm-dev_2:1.2.1-2 libsm6_2:1.2.1-2 libsqlite3-0_3.7.13-1+deb7u3 libss2_1.42.5-1.1+deb7u1 libssl-dev_1.0.1t-1+deb7u2 libssl1.0.0_1.0.1t-1+deb7u2 libstdc++6_4.7.2-5+rpi1 libstdc++6-4.6-dev_4.6.3-14+rpi1 libswitch-perl_2.16-2 libsystemd-login0_44-11+deb7u5 libtasn1-3_2.13-2+deb7u3 libtasn1-3-dev_2.13-2+deb7u3 libtdb1_1.2.10-2 libtext-charwidth-perl_0.04-7 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libthai-data_0.1.18-2 libthai0_0.1.18-2 libtiff4_3.9.6-11+deb7u3 libtimedate-perl_1.2000-1 libtinfo-dev_5.9-10 libtinfo5_5.9-10 libudev0_175-7.2 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-20+nmu1 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.3 libvorbis0a_1.3.2-1.3 libvorbisfile3_1.3.2-1.3 libx11-6_2:1.5.0-1+deb7u4 libx11-data_2:1.5.0-1+deb7u4 libx11-dev_2:1.5.0-1+deb7u4 libx11-xcb1_2:1.5.0-1+deb7u4 libxau-dev_1:1.0.7-1 libxau6_1:1.0.7-1 libxaw7_2:1.0.10-2 libxaw7-dev_2:1.0.10-2 libxcb-glx0_1.8.1-2+deb7u1 libxcb-render0_1.8.1-2+deb7u1 libxcb-render0-dev_1.8.1-2+deb7u1 libxcb-shape0_1.8.1-2+deb7u1 libxcb-shm0_1.8.1-2+deb7u1 libxcb-shm0-dev_1.8.1-2+deb7u1 libxcb1_1.8.1-2+deb7u1 libxcb1-dev_1.8.1-2+deb7u1 libxcomposite-dev_1:0.4.3-2 libxcomposite1_1:0.4.3-2 libxcursor-dev_1:1.1.13-1+deb7u1 libxcursor1_1:1.1.13-1+deb7u1 libxdamage-dev_1:1.1.3-2 libxdamage1_1:1.1.3-2 libxdmcp-dev_1:1.1.1-1 libxdmcp6_1:1.1.1-1 libxext-dev_2:1.3.1-2+deb7u1 libxext6_2:1.3.1-2+deb7u1 libxfixes-dev_1:5.0-4+deb7u2 libxfixes3_1:5.0-4+deb7u2 libxft-dev_2.3.1-1 libxft2_2.3.1-1 libxi-dev_2:1.6.1-1+deb7u3 libxi6_2:1.6.1-1+deb7u3 libxinerama-dev_2:1.1.2-1+deb7u1 libxinerama1_2:1.1.2-1+deb7u1 libxml2_2.8.0+dfsg1-7+wheezy7 libxml2-dev_2.8.0+dfsg1-7+wheezy7 libxml2-utils_2.8.0+dfsg1-7+wheezy7 libxmu-dev_2:1.1.1-1 libxmu-headers_2:1.1.1-1 libxmu6_2:1.1.1-1 libxmuu1_2:1.1.1-1 libxpm-dev_1:3.5.10-1+deb7u1 libxpm4_1:3.5.10-1+deb7u1 libxrandr-dev_2:1.3.2-2+deb7u2 libxrandr2_2:1.3.2-2+deb7u2 libxrender-dev_1:0.9.7-1+deb7u3 libxrender1_1:0.9.7-1+deb7u3 libxt-dev_1:1.1.3-1+deb7u1 libxt6_1:1.1.3-1+deb7u1 libxtst6_2:1.2.1-1+deb7u2 libxv1_2:1.0.7-1+deb7u2 libxxf86dga1_2:1.1.3-2+deb7u1 libxxf86vm1_1:1.1.2-1+deb7u1 libyaml-0-2_0.1.4-2+deb7u5 linux-libc-dev_3.2.51-1+rpi1 login_1:4.1.5.1-1 lsb-base_4.1+Debian8+rpi1+deb7u1 lua5.1_5.1.5-4+deb7u1 make_3.81-8.2 makedev_2.3.1-92 man-db_2.6.2-1 mawk_1.3.3-17 mime-support_3.52-1+deb7u1 mount_2.20.1-5.3 mountall_2.46 multiarch-support_2.13-38+rpi2+deb7u8 ncurses-base_5.9-10 ncurses-bin_5.9-10 passwd_1:4.1.5.1-1 patch_2.6.1-3 perl_5.14.2-21+rpi2+deb7u2 perl-base_5.14.2-21+rpi2+deb7u2 perl-modules_5.14.2-21+rpi2+deb7u2 pkg-config_0.26-1 plymouth_0.8.5.1-5 po-debconf_1.0.16+nmu2 procps_1:3.3.3-3 psmisc_22.19-1+deb7u1 python_2.7.3-4+deb7u1 python-dev_2.7.3-4+deb7u1 python-minimal_2.7.3-4+deb7u1 python2.7_2.7.3-6+deb7u3 python2.7-dev_2.7.3-6+deb7u3 python2.7-minimal_2.7.3-6+deb7u3 raspbian-archive-keyring_20120528.2 readline-common_6.2+dfsg-0.1 ruby_1:1.9.3 ruby-dev_1:1.9.3 ruby1.9.1_1.9.3.194-8.1+deb7u5 ruby1.9.1-dev_1.9.3.194-8.1+deb7u5 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-vim-dummy_0.invalid.0 sed_4.2.1-10 sensible-utils_0.0.7 shared-mime-info_1.0-1 sysv-rc_2.88dsf-41+deb7u1 sysvinit_2.88dsf-41+deb7u1 sysvinit-utils_2.88dsf-41+deb7u1 tar_1.26+dfsg-0.1 tcl_8.5.0-2.1 tcl-dev_8.5.0-2.1 tcl8.5_8.5.11-2 tcl8.5-dev_8.5.11-2 ttf-dejavu-core_2.33-3 tzdata_2015f-0+deb7u1 ucf_3.0025+nmu3 udev_175-7.2 udisks_1.0.4-7wheezy1 util-linux_2.20.1-5.3 x11-common_1:7.7+3~deb7u1 x11-utils_7.7~1 x11proto-composite-dev_1:0.4.2-2 x11proto-core-dev_7.0.23-1 x11proto-damage-dev_1:1.2.1-2 x11proto-fixes-dev_1:5.0-2 x11proto-input-dev_2.2-1 x11proto-kb-dev_1.0.6-2 x11proto-randr-dev_1.3.2-2 x11proto-render-dev_2:0.11.1-2 x11proto-xext-dev_7.2.1-1 x11proto-xinerama-dev_1.2.1-2 xorg-sgml-doctools_1:1.10-1 xtrans-dev_1.2.7-1 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.7.dfsg-13 zlib1g-dev_1:1.2.7.dfsg-13
+------------------------------------------------------------------------------+
| Build |
+------------------------------------------------------------------------------+
Unpack source
-------------
gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Thu Mar 9 03:20:07 2017 UTC using RSA key ID 331BA3DB
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./vim_7.3.547-7+deb7u3.dsc
dpkg-source: info: extracting vim in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking vim_7.3.547.orig.tar.gz
dpkg-source: info: unpacking vim_7.3.547-7+deb7u3.debian.tar.gz
dpkg-source: info: applying upstream/python-ftplugin-include.patch
dpkg-source: info: applying upstream/python-ftplugin-keywordprg.patch
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/debian-runtime-spell.patch
dpkg-source: info: applying upstream/netrw-syntax-fix.patch
dpkg-source: info: applying upstream/remove-py_config.patch
dpkg-source: info: applying upstream/if_py-crash.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
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=wheezy-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=wheezy-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=111
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=wheezy-staging-armhf-sbuild-21df53f3-dee1-43d0-b26c-bcf2e231c8e2
SCHROOT_UID=106
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=linux
USER=buildd
dpkg-buildpackage
-----------------
dpkg-buildpackage: source package vim
dpkg-buildpackage: source version 2:7.3.547-7+deb7u3
dpkg-source --before-build vim-7.3.547
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-gtk.$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-athena.$x ; \
done
rm -f debian/lintian/vim-tiny
rm -f debian/lintian/vim-gtk
rm -f debian/lintian/vim-athena
rm -f debian/lintian/vim-gnome
if [ "vim-gtk" = "vim-tiny" ]; then \
rm -f debian/tiny/vimrc.tiny; \
fi
if [ "vim-tiny" = "vim-tiny" ]; then \
rm -f debian/tiny/vimrc.tiny; \
fi
if [ "vim-athena" = "vim-tiny" ]; then \
rm -f debian/tiny/vimrc.tiny; \
fi
rm -rf src/vim-gtk
rm -rf src/vim-athena
if [ "vim-gnome" = "vim-tiny" ]; then \
rm -f debian/tiny/vimrc.tiny; \
fi
dh_testdir
rm -rf src/vim-tiny
dh_testdir
rm -rf src/vim-gnome
dh_testroot
dh_testroot
for x in install postinst prerm links ; do \
rm -f debian/vim-nox.$x ; \
done
for x in install postinst prerm links ; do \
rm -f debian/vim.$x ; \
done
rm -f debian/lintian/vim-nox
rm -f debian/lintian/vim
if [ "vim-nox" = "vim-tiny" ]; then \
rm -f debian/tiny/vimrc.tiny; \
fi
[ ! -L src/vim-basic/po ] || /usr/bin/make -C src/vim-basic/po clean
rm -rf src/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
rm -rf src/vim-basic
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
[ ! -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
dh_testdir
dh_testdir
dh_testdir
*** DEBIAN *** CONFIGURING VARIANT vim-tiny
/usr/bin/make -C src shadow SHADOWDIR=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-gnome
*** DEBIAN *** CONFIGURING VARIANT vim-athena
make[1]: Entering directory `/<<PKGBUILDDIR>>/src'
ln -s ../runtime .
/usr/bin/make -C src shadow SHADOWDIR=vim-athena
ln -s ../pixmaps .
make[1]: Entering directory `/<<PKGBUILDDIR>>/src'
ln -s ../pixmaps .
mkdir vim-tiny
ln: failed to create symbolic link `./pixmaps': File exists
make[1]: [pixmaps] Error 1 (ignored)
mkdir vim-gtk
cd vim-tiny; ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../po ../vimtutor ../gvimtutor ../mkinstalldirs .
cd vim-gtk; ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../po ../vimtutor ../gvimtutor ../mkinstalldirs .
make[1]: Entering directory `/<<PKGBUILDDIR>>/src'
mkdir vim-gnome
cd vim-gnome; ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../po ../vimtutor ../gvimtutor ../mkinstalldirs .
make[1]: Entering directory `/<<PKGBUILDDIR>>/src'
mkdir vim-athena
cd vim-athena; ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../po ../vimtutor ../gvimtutor ../mkinstalldirs .
mkdir vim-tiny/auto
cd vim-tiny/auto; ln -s ../../auto/configure .
cd vim-tiny; rm -f auto/link.sed
mkdir vim-gtk/auto
cp Makefile configure vim-tiny
cd vim-gtk/auto; ln -s ../../auto/configure .
mkdir vim-athena/auto
rm -f vim-tiny/auto/config.mk vim-tiny/config.mk.dist
mkdir vim-gnome/auto
cd vim-gtk; rm -f auto/link.sed
cd vim-athena/auto; ln -s ../../auto/configure .
cp config.mk.dist vim-tiny/auto/config.mk
cd vim-gnome/auto; ln -s ../../auto/configure .
cp Makefile configure vim-gtk
cd vim-athena; rm -f auto/link.sed
cp config.mk.dist vim-tiny
cd vim-gnome; rm -f auto/link.sed
cp Makefile configure vim-athena
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* .
rm -f vim-athena/auto/config.mk vim-athena/config.mk.dist
cp config.mk.dist vim-athena/auto/config.mk
cp config.mk.dist vim-gtk
rm -f vim-gnome/auto/config.mk vim-gnome/config.mk.dist
cp config.mk.dist vim-athena
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
mkdir vim-gtk/xxd
cp config.mk.dist vim-gnome/auto/config.mk
mkdir vim-athena/xxd
cd vim-gtk/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
cp config.mk.dist vim-gnome
cd vim-athena/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
mkdir vim-tiny/testdir
mkdir vim-gnome/xxd
cd vim-tiny/testdir; ln -s ../../testdir/Makefile \
../../testdir/vimrc.unix \
../../testdir/*.in \
../../testdir/*.vim \
../../testdir/test83-tags? \
../../testdir/*.ok .
cd vim-gnome/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
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
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
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
mkdir vim-gtk/testdir
mkdir vim-athena/testdir
cd vim-gtk/testdir; ln -s ../../testdir/Makefile \
../../testdir/vimrc.unix \
../../testdir/*.in \
../../testdir/*.vim \
../../testdir/test83-tags? \
../../testdir/*.ok .
cd vim-athena/testdir; ln -s ../../testdir/Makefile \
../../testdir/vimrc.unix \
../../testdir/*.in \
../../testdir/*.vim \
../../testdir/test83-tags? \
../../testdir/*.ok .
mkdir vim-gnome/testdir
cd vim-gnome/testdir; ln -s ../../testdir/Makefile \
../../testdir/vimrc.unix \
../../testdir/*.in \
../../testdir/*.vim \
../../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="-Wl,-z,relro" CPPFLAGS="" CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -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
make[1]: Leaving directory `/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-athena && LDFLAGS="-Wl,-z,relro" CPPFLAGS="" CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 --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 --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="-Wl,-z,relro" CPPFLAGS="" CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 --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 --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-gtk && LDFLAGS="-Wl,-z,relro" CPPFLAGS="" CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 --with-features=huge --enable-multibyte --enable-acl --with-x --enable-xim --enable-luainterp --disable-mzschemeinterp --enable-perlinterp --enable-pythoninterp --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)... yes
checking for gcc... gcc
checking whether the C compiler works... configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... 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
yes
yes
checking for C compiler default output file name... checking for C compiler default output file name... a.out
a.out
checking for C compiler default output file name... a.out
checking for suffix of executables... checking for suffix of executables... checking for suffix of executables... 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
no
checking for suffix of object files... checking for suffix of object files... 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
yes
checking for gcc option to accept ISO C89... 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
none needed
checking how to run the C preprocessor... checking how to run the C preprocessor... none needed
none needed
checking how to run the C preprocessor... 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... checking for grep that handles long lines and -e... /bin/grep
checking for egrep... checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
/bin/grep
checking for egrep... /bin/grep
checking for egrep... /bin/grep -E
/bin/grep -E
/bin/grep -E
checking for library containing strerror... checking for library containing strerror... checking for library containing strerror... checking for library containing strerror... none required
checking for gawk... no
checking for mawk... mawk
checking for strip... none required
strip
checking for ANSI C header files... checking for gawk... none required
checking for gawk... no
checking for mawk... mawk
no
none required
checking for mawk... checking for gawk... mawk
checking for strip... no
checking for mawk... mawk
strip
checking for strip... checking for ANSI C header files... checking for strip... strip
checking for ANSI C header files... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
yes
checking for sys/wait.h that is POSIX.1 compatible... 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
yes
configure: checking for buggy tools...
checking --enable-fail-if-missing argument... yes
configure: checking for buggy tools...
configure: checking for buggy tools...
configure: checking for buggy tools...
- sed is 'GNU sed version 4.2.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <bug-gnu-utils@gnu.org>.
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.'.
checking for BeOS... - sed is 'GNU sed version 4.2.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <bug-gnu-utils@gnu.org>.
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.'.
checking for BeOS... no
- sed is 'GNU sed version 4.2.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <bug-gnu-utils@gnu.org>.
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.'.
checking for QNX... checking for BeOS... - sed is 'GNU sed version 4.2.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <bug-gnu-utils@gnu.org>.
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.'.
checking for BeOS... no
checking for Darwin (Mac OS X)... no
checking for QNX... no
checking for QNX... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking for Darwin (Mac OS X)... no
no
checking for Darwin (Mac OS X)... 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... no
Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... checking --with-local-dir argument... no
pkg-vim-maintainers@lists.alioth.debian.org
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 --with-local-dir argument... no
checking --with-vim-name argument... Defaulting to vim
checking if character set is EBCDIC... checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
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... checking --with-global-runtime argument... Defaulting to view
no
checking --with-global-runtime argument... checking --with-modified-by argument... no
checking --with-modified-by argument... pkg-vim-maintainers@lists.alioth.debian.org
pkg-vim-maintainers@lists.alioth.debian.org
checking if character set is EBCDIC... checking if character set is EBCDIC... no
no
checking --disable-selinux argument... checking --disable-selinux argument... no
no
checking for is_selinux_enabled in -lselinux... checking for is_selinux_enabled in -lselinux... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
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
checking --with-lua-prefix argument... no
checking LUA_PREFIX environment var... not set, default to /usr
checking if lua.h can be found in /usr/include... no
checking for lua... /usr/bin/lua
checking Lua version... 5.1
checking if lua.h can be found in /usr/include/lua5.1... yes
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/bin/perl
checking Perl version... yes
checking --with-features argument... small
checking --with-compiledby argument... yes
buildd@
checking --with-features argument... checking --disable-xsmp argument... huge
yes
checking --enable-luainterp argument... checking --with-compiledby argument... no
buildd@
checking --disable-xsmp argument... yes
no
checking --with-features argument... checking --disable-xsmp-interact argument... no
huge
checking --with-compiledby argument... checking --enable-mzschemeinterp argument... buildd@
checking --disable-xsmp argument... no
checking --enable-luainterp argument... no
checking --disable-xsmp-interact argument... no
yes
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... checking --enable-perlinterp argument... checking --with-lua-prefix argument... no
checking LUA_PREFIX environment var... no
not set, default to /usr
checking if lua.h can be found in /usr/include... no
checking for lua... no
checking LUA_PREFIX environment var... not set, default to /usr
/usr/bin/lua
checking Lua version... checking if lua.h can be found in /usr/include... no
checking for lua... checking --enable-pythoninterp argument... no
/usr/bin/lua
checking Lua version... checking --enable-python3interp argument... no
5.1
checking if lua.h can be found in /usr/include/lua5.1... yes
checking --enable-mzschemeinterp argument... no
checking --enable-tclinterp argument... no
checking --enable-perlinterp argument... 5.1
checking if lua.h can be found in /usr/include/lua5.1... yes
yes
checking --enable-mzschemeinterp argument... no
checking for perl... checking --enable-rubyinterp argument... no
/usr/bin/perl
checking Perl version... checking --enable-perlinterp argument... checking --enable-cscope argument... no
yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... yes
checking --enable-sniff argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... checking for perl... defaulting to auto
checking --enable-fontset argument... no
/usr/bin/perl
checking Perl version... checking for xmkmf... no
checking for X... 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
yes
checking for shmat... yes
checking --enable-pythoninterp argument... yes
checking --enable-pythoninterp argument... yes
checking for python... /usr/bin/python
checking Python version... checking --enable-pythoninterp argument... checking for python... yes
/usr/bin/python
checking Python version... checking for python... /usr/bin/python
checking Python version... 2.7
checking Python is 1.4 or better... 2.7
checking Python is 1.4 or better... 2.7
checking Python is 1.4 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... yes
checking for IceConnectionNumber in -lICE... /usr
/usr
/usr
checking Python's configuration directory... /usr/lib/python2.7/config
checking Python's configuration directory... /usr/lib/python2.7/config
checking Python's configuration directory... /usr/lib/python2.7/config
yes
checking if -pthread should be used... checking if -pthread should be used... checking if X11 header files can be found... checking if -pthread should be used... yes
checking for _XdmcpAuthDoIt in -lXdmcp... yes
yes
yes
checking if compile and link flags for Python are sane... checking if compile and link flags for Python are sane... checking if compile and link flags for Python are sane... yes
checking for IceOpenConnection in -lICE... yes
yes
yes
checking --enable-python3interp argument... checking --enable-python3interp argument... no
no
checking --enable-python3interp argument... no
checking --enable-tclinterp argument... checking --enable-tclinterp argument... yes
yes
checking --enable-tclinterp argument... yes
checking --with-tclsh argument... checking --with-tclsh argument... no
no
checking for tclsh8.5... checking for tclsh8.5... /usr/bin/tclsh8.5
/usr/bin/tclsh8.5
checking Tcl version... checking Tcl version... checking --with-tclsh argument... no
checking for tclsh8.5... /usr/bin/tclsh8.5
checking Tcl version... 8.5 - OK
8.5 - OK
8.5 - OK
checking for location of Tcl include... /usr/include/tcl8.5/tcl.h
checking for location of tclConfig.sh script... checking for location of Tcl include... /usr/include/tcl8.5/tcl.h
checking for location of tclConfig.sh script... /usr/lib/tclConfig.sh
checking for location of Tcl include... /usr/include/tcl8.5/tcl.h
checking for location of tclConfig.sh script... /usr/lib/tclConfig.sh
checking --enable-rubyinterp argument... yes
/usr/lib/tclConfig.sh
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... checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/bin/ruby
checking Ruby version... yes
checking for XpmCreatePixmapFromData in -lXpm... OK
checking Ruby header files... OK
checking Ruby header files... OK
checking Ruby header files... /usr/include/ruby-1.9.1
/usr/include/ruby-1.9.1
/usr/include/ruby-1.9.1
yes
checking if X11 header files implicitly declare return values... -e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
no
-e:1: Use RbConfig instead of obsolete and deprecated Config.
checking size of wchar_t is 2 bytes... -e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
no
checking --enable-gui argument... no GUI support
-e:1: Use RbConfig instead of obsolete and deprecated Config.
checking whether toupper is broken... -e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
checking --enable-cscope argument... checking --enable-cscope argument... yes
yes
checking --enable-workshop argument... checking --enable-workshop argument... no
no
checking --disable-netbeans argument... checking --disable-netbeans argument... no
no
checking for socket in -lsocket... checking for socket in -lsocket... -e:1: Use RbConfig instead of obsolete and deprecated Config.
checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for gethostbyname in -lnsl... no
checking for gethostbyname in -lnsl... no
checking whether __DATE__ and __TIME__ work... yes
checking whether __attribute__((unused)) is allowed... yes
yes
checking whether compiling netbeans integration is possible... checking whether compiling netbeans integration is possible... yes
checking whether compiling netbeans integration is possible... 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
yes
checking --enable-sniff argument... no
checking --enable-sniff argument... checking --enable-multibyte argument... no
yes
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-hangulinput argument... checking --enable-xim argument... no
yes
checking --enable-xim argument... checking --enable-fontset argument... yes
yes
checking --enable-fontset argument... no
yes
checking --enable-sniff argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... yes
checking --enable-fontset argument... no
checking for xmkmf... no
checking for xmkmf... checking for X... no
checking for X... checking for xmkmf... no
checking for X... yes
checking for library containing opendir... none required
checking stdarg.h usability... libraries , headers
libraries , headers
libraries , headers
yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdint.h usability... yes
checking stdint.h presence... checking for gethostbyname... checking for gethostbyname... checking for gethostbyname... yes
checking for stdint.h... yes
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
yes
checking for connect... yes
checking for connect... yes
checking for connect... checking string.h usability... yes
checking string.h presence... yes
checking for string.h... yes
yes
checking for remove... checking sys/select.h usability... yes
yes
checking for remove... checking for remove... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/utsname.h usability... yes
checking for shmat... yes
checking for shmat... yes
checking for shmat... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking termcap.h usability... yes
checking for IceConnectionNumber in -lICE... yes
checking for IceConnectionNumber in -lICE... yes
checking for IceConnectionNumber in -lICE... yes
yes
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... no
checking termcap.h presence... no
checking for termcap.h... no
checking fcntl.h usability... yes
checking for _XdmcpAuthDoIt in -lXdmcp... yes
checking for _XdmcpAuthDoIt in -lXdmcp... yes
checking for _XdmcpAuthDoIt in -lXdmcp... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sgtty.h usability... yes
checking for IceOpenConnection in -lICE... yes
checking for IceOpenConnection in -lICE... yes
checking for IceOpenConnection in -lICE... yes
checking sgtty.h presence... yes
yes
checking for sgtty.h... checking for XpmCreatePixmapFromData in -lXpm... yes
yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking for XpmCreatePixmapFromData in -lXpm... 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 if X11 header files implicitly declare return values... yes
yes
checking if X11 header files implicitly declare return values... checking if X11 header files implicitly declare return values... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
no
checking size of wchar_t is 2 bytes... no
no
checking sys/types.h usability... checking size of wchar_t is 2 bytes... checking size of wchar_t is 2 bytes... yes
checking sys/types.h presence... yes
checking for sys/types.h... yes
checking termio.h usability... no
checking --enable-gui argument... Athena GUI support
no
checking --enable-gui argument... no
checking --enable-gui argument... checking if Athena header files can be found... 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... GNOME 2.x GUI support
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... checking --disable-gtktest argument... gtk test enabled
checking for pkg-config... /usr/bin/pkg-config
checking for GTK - version >= 2.2.0... yes
checking termio.h presence... yes
checking for termio.h... yes
checking iconv.h usability... yes
checking for XShapeQueryExtension in -lXext... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking inttypes.h usability... yes
checking for wslen in -lw... yes
checking inttypes.h presence... yes
checking for inttypes.h... yes
checking langinfo.h usability... no
checking for dlsym in -ldl... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking math.h usability... yes
checking for XmuCreateStippledPixmap in -lXmu... yes
checking math.h presence... yes
checking for math.h... yes
checking unistd.h usability... yes
checking unistd.h presence... yes
checking for extra X11 defines... yes
checking for unistd.h... yes
no
checking X11/SM/SMlib.h usability... checking stropts.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
yes
checking stropts.h presence... checking X11/xpm.h usability... yes
checking for stropts.h... yes
checking errno.h usability... yes
checking X11/xpm.h presence... yes
checking errno.h presence... yes
checking for X11/xpm.h... yes
yes
checking for errno.h... yes
checking X11/Sunkeysym.h usability... checking sys/resource.h usability... yes
checking X11/Sunkeysym.h presence... yes
checking for X11/Sunkeysym.h... yes
yes
checking sys/resource.h presence... checking for XIMText in X11/Xlib.h... yes
checking for sys/resource.h... yes
yes
checking for X11/Xmu/Editres.h... checking sys/systeminfo.h usability... yes
checking whether toupper is broken... yes; found version 2.24.10
yes; found version 2.24.10
checking for libgnomeui-2.0... checking X11/SM/SMlib.h usability... yes
checking for FreeBSD... no
checking sys/systeminfo.h presence... no
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... no
checking whether __DATE__ and __TIME__ work... no
checking for sys/systeminfo.h... no
yes
checking for X11/SM/SMlib.h... yes
checking locale.h usability... checking X11/xpm.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking whether __attribute__((unused)) is allowed... yes
checking for X11/SM/SMlib.h... yes
checking X11/xpm.h usability... yes
checking locale.h presence... yes
checking elf.h usability... yes
checking for locale.h... yes
yes
checking X11/xpm.h presence... checking sys/stream.h usability... yes
checking for X11/xpm.h... yes
checking X11/Sunkeysym.h usability... yes
yes
checking X11/xpm.h presence... checking elf.h presence... yes
checking for elf.h... yes
checking for main in -lelf... yes
checking for X11/xpm.h... yes
yes
checking X11/Sunkeysym.h presence... checking X11/Sunkeysym.h usability... yes
checking for X11/Sunkeysym.h... yes
checking for XIMText in X11/Xlib.h... no
yes
checking for dirent.h that defines DIR... checking whether toupper is broken... yes
checking X11/Sunkeysym.h presence... yes
checking for X11/Sunkeysym.h... yes
checking for XIMText in X11/Xlib.h... yes
yes
checking whether toupper is broken... checking for library containing opendir... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking termios.h usability... no
checking whether __DATE__ and __TIME__ work... yes
checking termios.h presence... none required
checking stdarg.h usability... yes
checking for termios.h... yes
no
checking whether __DATE__ and __TIME__ work... yes
checking whether __attribute__((unused)) is allowed... checking libc.h usability... yes
checking stdarg.h presence... yes
checking whether __attribute__((unused)) is allowed... yes
checking elf.h usability... yes
checking for stdarg.h... yes
checking stdint.h usability... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking stdint.h presence... yes
checking for elf.h... yes
yes
checking for stdint.h... yes
checking for main in -lelf... checking stdlib.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 stdlib.h presence... no
checking libc.h presence... yes
checking for stdlib.h... yes
no
checking for libc.h... no
checking sys/statfs.h usability... checking string.h usability... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... yes
checking for library containing opendir... yes
checking string.h presence... yes
checking sys/statfs.h presence... yes
checking for string.h... yes
yes
checking for sys/statfs.h... yes
checking sys/select.h usability... checking poll.h usability... none required
checking stdarg.h usability... yes
checking sys/select.h presence... none required
yes
checking for sys/select.h... yes
yes
checking poll.h presence... checking stdarg.h usability... yes
checking stdarg.h presence... checking sys/utsname.h usability... yes
checking for poll.h... yes
yes
checking for stdarg.h... yes
checking sys/poll.h usability... checking stdint.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
yes
checking sys/utsname.h presence... checking stdint.h usability... yes
checking for sys/utsname.h... yes
yes
checking stdint.h presence... yes
checking sys/poll.h presence... checking termcap.h usability... yes
checking for sys/poll.h... yes
yes
checking for stdint.h... yes
checking pwd.h usability... checking stdlib.h usability... yes
checking stdint.h presence... yes
checking for stdint.h... yes
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking pwd.h presence... yes
checking for stdlib.h... yes
yes
checking for pwd.h... yes
checking string.h usability... yes
checking stdlib.h presence... checking utime.h usability... yes
checking for stdlib.h... yes
checking string.h usability... no
checking termcap.h presence... yes
checking string.h presence... no
checking for termcap.h... no
yes
checking utime.h presence... yes
checking for string.h... yes
checking fcntl.h usability... checking sys/select.h usability... yes
checking for utime.h... yes
yes
checking string.h presence... checking sys/param.h usability... yes
checking for string.h... yes
checking sys/select.h usability... yes
checking fcntl.h presence... yes
checking sys/select.h presence... yes
checking for fcntl.h... yes
yes
checking for sys/select.h... yes
checking sgtty.h usability... yes
checking sys/param.h presence... checking sys/utsname.h usability... yes
checking sys/select.h presence... yes
checking for sys/param.h... yes
yes
checking for sys/select.h... yes
checking libintl.h usability... checking sys/utsname.h usability... yes
checking sgtty.h presence... yes
checking sys/utsname.h presence... yes
checking for sgtty.h... yes
checking sys/ioctl.h usability... yes
checking for sys/utsname.h... yes
checking termcap.h usability... yes
checking sys/utsname.h presence... yes
checking libintl.h presence... yes
checking for sys/utsname.h... yes
yes
checking for libintl.h... yes
checking termcap.h usability... checking libgen.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking util/debug.h usability... yes
checking sys/time.h presence... no
checking termcap.h presence... yes
checking for sys/time.h... yes
checking sys/types.h usability... no
checking for termcap.h... no
no
checking termcap.h presence... checking fcntl.h usability... no
checking for termcap.h... no
checking fcntl.h usability... yes
checking sys/types.h presence... yes
checking fcntl.h presence... yes
checking for sys/types.h... yes
checking termio.h usability... yes
checking for fcntl.h... yes
yes
checking fcntl.h presence... checking sgtty.h usability... yes
checking for fcntl.h... yes
checking sgtty.h usability... no
checking util/debug.h presence... yes
checking termio.h presence... no
checking for util/debug.h... no
checking util/msg18n.h usability... yes
checking sgtty.h presence... yes
checking for termio.h... yes
checking iconv.h usability... yes
checking for sgtty.h... yes
yes
checking sgtty.h presence... checking sys/ioctl.h usability... yes
checking for sgtty.h... yes
checking sys/ioctl.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
yes
checking sys/ioctl.h presence... checking inttypes.h usability... yes
checking for sys/ioctl.h... yes
yes
checking sys/ioctl.h presence... checking sys/time.h usability... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking inttypes.h presence... yes
checking for inttypes.h... yes
no
checking util/msg18n.h presence... yes
checking sys/time.h presence... checking langinfo.h usability... yes
checking for sys/time.h... yes
no
checking for util/msg18n.h... no
checking frame.h usability... checking sys/types.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/types.h usability... yes
checking langinfo.h presence... yes
checking sys/types.h presence... yes
checking for langinfo.h... yes
yes
checking for sys/types.h... yes
checking math.h usability... checking termio.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 math.h presence... yes
checking for termio.h... yes
yes
checking for math.h... yes
no
checking frame.h presence... checking iconv.h usability... checking unistd.h usability... yes
checking termio.h presence... no
checking for frame.h... no
checking sys/acl.h usability... yes
checking for termio.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
yes
checking unistd.h presence... checking inttypes.h usability... yes
checking sys/acl.h presence... yes
checking for unistd.h... yes
checking stropts.h usability... yes
checking iconv.h presence... yes
checking for sys/acl.h... yes
yes
checking for iconv.h... yes
checking sys/access.h usability... checking inttypes.h usability... yes
checking inttypes.h presence... yes
checking for inttypes.h... yes
yes
checking stropts.h presence... checking langinfo.h usability... yes
checking for stropts.h... yes
yes
checking inttypes.h presence... checking errno.h usability... yes
checking for inttypes.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
yes
checking errno.h presence... checking math.h usability... yes
checking for errno.h... yes
yes
checking langinfo.h presence... checking sys/resource.h usability... yes
checking for langinfo.h... yes
no
checking sys/access.h presence... checking math.h usability... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... yes
checking math.h presence... yes
checking sys/resource.h presence... yes
checking for math.h... yes
yes
checking for sys/resource.h... yes
checking unistd.h usability... yes
checking math.h presence... checking sys/systeminfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for math.h... yes
yes
checking for sys/sysinfo.h... yes
checking unistd.h usability... checking wchar.h usability... yes
checking unistd.h presence... yes
checking for unistd.h... yes
checking stropts.h usability... yes
checking unistd.h presence... yes
checking wchar.h presence... yes
checking for unistd.h... yes
yes
checking for wchar.h... yes
checking stropts.h usability... checking wctype.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
no
checking sys/systeminfo.h presence... checking errno.h usability... yes
checking stropts.h presence... no
checking for sys/systeminfo.h... no
yes
checking wctype.h presence... yes
checking for stropts.h... yes
checking locale.h usability... checking errno.h usability... yes
checking for wctype.h... yes
checking for sys/ptem.h... yes
checking errno.h presence... yes
checking for errno.h... yes
yes
checking locale.h presence... checking sys/resource.h usability... yes
checking errno.h presence... no
checking for sys/sysctl.h... yes
checking for locale.h... yes
yes
checking for errno.h... yes
checking sys/stream.h usability... checking sys/resource.h usability... yes
checking for pthread_np.h... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... no
checking strings.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
yes
checking strings.h presence... checking termios.h usability... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... no
checking sys/systeminfo.h presence... yes
checking whether gcc needs -traditional... yes
checking termios.h presence... no
checking for sys/systeminfo.h... no
checking locale.h usability... yes
checking for termios.h... yes
no
checking sys/systeminfo.h presence... no
checking for an ANSI C-conforming const... checking libc.h usability... no
checking for sys/systeminfo.h... no
checking locale.h usability... yes
checking for working volatile... yes
checking locale.h presence... yes
yes
checking for locale.h... checking for mode_t... yes
checking sys/stream.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/stream.h usability... no
checking libc.h presence... yes
checking for off_t... no
checking for libc.h... no
checking sys/statfs.h usability... no
checking sys/stream.h presence... yes
checking sys/statfs.h presence... no
checking for sys/stream.h... no
checking termios.h usability... yes
checking for sys/statfs.h... yes
no
checking sys/stream.h presence... checking poll.h usability... no
checking for sys/stream.h... no
checking termios.h usability... yes
checking for pid_t... yes
checking termios.h presence... yes
checking for termios.h... yes
yes
checking poll.h presence... checking libc.h usability... yes
checking for poll.h... yes
yes
checking termios.h presence... checking sys/poll.h usability... yes
checking for termios.h... yes
checking libc.h usability... yes
checking sys/poll.h presence... yes
checking for size_t... yes
checking for sys/poll.h... yes
checking pwd.h usability... no
checking libc.h presence... yes
checking pwd.h presence... yes
checking for pwd.h... yes
no
checking for libc.h... no
checking sys/statfs.h usability... checking utime.h usability... no
checking libc.h presence... yes
checking for uid_t in sys/types.h... yes
checking for uint32_t... no
checking for libc.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking utime.h presence... yes
checking for sys/statfs.h... yes
yes
checking for utime.h... yes
checking poll.h usability... yes
checking whether time.h and sys/time.h may both be included... checking sys/param.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
yes
checking for ino_t... checking poll.h usability... yes
checking poll.h presence... yes
checking sys/param.h presence... yes
checking for poll.h... yes
yes
checking for sys/param.h... yes
checking sys/poll.h usability... checking libintl.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking libintl.h presence... yes
checking for dev_t... yes
checking for sys/poll.h... yes
yes
checking for libintl.h... yes
checking pwd.h usability... checking libgen.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking libgen.h presence... yes
checking for pwd.h... yes
yes
checking for libgen.h... yes
checking util/debug.h usability... checking utime.h usability... yes
checking pwd.h presence... yes
checking whether byte ordering is bigendian... yes
checking for pwd.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/param.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
no
checking for rlim_t... 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
no
checking util/debug.h presence... checking libintl.h usability... yes
checking sys/param.h presence... no
checking for util/debug.h... no
checking util/msg18n.h usability... yes
checking for sys/param.h... yes
no
checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -ltinfo... checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking libgen.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking util/debug.h usability... no
checking util/msg18n.h presence... yes
checking libgen.h presence... yes
checking for libgen.h... yes
no
checking for util/msg18n.h... no
checking frame.h usability... checking util/debug.h usability... checking whether we talk terminfo... yes
checking what tgetent() returns for an unknown terminal... no
checking util/debug.h presence... no
checking for util/debug.h... no
checking util/msg18n.h usability... no
checking frame.h presence... no
checking util/debug.h presence... no
checking for frame.h... no
checking sys/acl.h usability... no
checking for util/debug.h... no
checking util/msg18n.h usability... zero
checking whether termcap.h contains ospeed... yes
checking sys/acl.h presence... no
checking whether ospeed can be extern... yes
checking for sys/acl.h... yes
checking sys/access.h usability... no
checking util/msg18n.h presence... yes
checking whether termcap.h contains UP, BC and PC... no
checking for util/msg18n.h... no
checking frame.h usability... no
checking util/msg18n.h presence... no
checking whether UP, BC and PC can be extern... no
checking for util/msg18n.h... no
checking frame.h usability... yes
checking whether tputs() uses outfuntype... no
checking sys/access.h presence... no
no
checking for sys/access.h... no
checking whether sys/select.h and sys/time.h may both be included... checking sys/sysinfo.h usability... no
checking frame.h presence... yes
checking for /dev/ptc... no
checking for SVR4 ptys... no
checking for frame.h... no
checking sys/acl.h usability... yes
checking sys/sysinfo.h presence... no
checking frame.h presence... yes
checking for sys/sysinfo.h... yes
checking wchar.h usability... no
checking for frame.h... no
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
yes
checking for ptyranges... checking sys/access.h usability... don't know
checking default tty permissions/group... yes
checking wchar.h presence... yes
checking sys/acl.h presence... yes
checking for wchar.h... yes
yes
checking for sys/acl.h... yes
checking wctype.h usability... checking sys/access.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for sys/ptem.h... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... no
checking sys/access.h presence... no
checking for sys/sysctl.h... void
no
checking for sys/access.h... no
checking for struct sigcontext... checking sys/sysinfo.h usability... no
checking sys/access.h presence... yes
checking for pthread_np.h... yes
checking getcwd implementation is broken... no
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... no
checking strings.h usability... yes
checking for sys/sysinfo.h... yes
no
checking for bcmp... checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
yes
checking strings.h presence... checking wctype.h usability... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... yes
checking wchar.h presence... yes
checking for wchar.h... yes
yes
yes
checking whether gcc needs -traditional... checking wctype.h usability... checking for fchdir... yes
checking wctype.h presence... yes
checking for wctype.h... yes
no
checking for an ANSI C-conforming const... checking for sys/ptem.h... yes
checking for working volatile... yes
checking wctype.h presence... yes
no
checking for wctype.h... yes
checking for sys/sysctl.h... checking for sys/ptem.h... yes
yes
checking for mode_t... checking for fchown... yes
checking for pthread_np.h... no
checking for sys/sysctl.h... yes
checking for pthread_np.h... yes
checking for fsync... no
checking strings.h usability... yes
checking for off_t... no
checking strings.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 for getcwd... yes
checking whether gcc needs -traditional... yes
checking strings.h presence... yes
checking for strings.h... yes
yes
checking for pid_t... checking if strings.h can be included after string.h... no
checking for an ANSI C-conforming const... yes
checking whether gcc needs -traditional... yes
checking for working volatile... yes
checking for getpseudotty... no
checking for an ANSI C-conforming const... yes
checking for mode_t... yes
checking for working volatile... yes
checking for size_t... yes
checking for mode_t... no
checking for getpwnam... yes
checking for off_t... yes
yes
checking for uid_t in sys/types.h... checking for getpwuid... yes
checking for off_t... yes
checking for uint32_t... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for getrlimit... yes
checking for ino_t... yes
checking for pid_t... yes
yes
checking for size_t... checking for gettimeofday... yes
checking for dev_t... yes
checking for size_t... yes
checking for getwd... yes
checking for uid_t in sys/types.h... yes
checking for uint32_t... yes
checking whether byte ordering is bigendian... yes
checking for uid_t in sys/types.h... yes
yes
checking for uint32_t... checking for lstat... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ino_t... yes
checking whether time.h and sys/time.h may both be included... no
checking for rlim_t... yes
checking for stack_t... yes
checking for memcmp... yes
checking for ino_t... 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 dev_t... yes
checking for memset... yes
checking for dev_t... yes
yes
checking whether byte ordering is bigendian... yes
checking for mkdtemp... yes
checking whether byte ordering is bigendian... checking whether we talk terminfo... yes
no
checking for rlim_t... checking for nanosleep... yes
checking for stack_t... yes
checking whether stack_t has an ss_base field... no
checking for rlim_t... yes
checking what tgetent() returns for an unknown terminal... yes
checking for stack_t... no
checking --with-tlib argument... empty: automatic terminal library selection
yes
checking for tgetent in -ltinfo... yes
checking whether stack_t has an ss_base field... checking for opendir... no
checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -ltinfo... zero
checking whether termcap.h contains ospeed... yes
yes
checking for putenv... no
checking whether ospeed can be extern... yes
yes
yes
checking whether we talk terminfo... checking whether termcap.h contains UP, BC and PC... checking for qsort... no
checking whether UP, BC and PC can be extern... checking whether we talk terminfo... yes
checking for readlink... yes
checking whether tputs() uses outfuntype... yes
checking what tgetent() returns for an unknown terminal... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking what tgetent() returns for an unknown terminal... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for select... zero
checking whether termcap.h contains ospeed... no
checking whether ospeed can be extern... yes
checking for ptyranges... zero
checking whether termcap.h contains ospeed... don't know
yes
checking default tty permissions/group... checking for setenv... no
checking whether ospeed can be extern... yes
checking whether termcap.h contains UP, BC and PC... no
checking whether UP, BC and PC can be extern... yes
yes
checking whether termcap.h contains UP, BC and PC... checking for setpgid... no
checking whether UP, BC and PC can be extern... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... yes
checking whether tputs() uses outfuntype... void
yes
checking for struct sigcontext... no
checking whether sys/select.h and sys/time.h may both be included... checking for setsid... yes
checking whether tputs() uses outfuntype... yes
checking getcwd implementation is broken... yes
checking for /dev/ptc... no
checking for SVR4 ptys... no
checking whether sys/select.h and sys/time.h may both be included... yes
yes
checking for /dev/ptc... no
checking for SVR4 ptys... checking for sigaltstack... yes
checking for ptyranges... no
don't know
checking for bcmp... checking default tty permissions/group... yes
checking for ptyranges... yes
don't know
checking default tty permissions/group... checking for sigstack... yes
checking for fchdir... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... yes
checking for sigset... void
checking for struct sigcontext... yes
can't determine - assume ptys are world accessible
world
checking return type of signal handlers... checking for fchown... yes
checking getcwd implementation is broken... yes
void
checking for struct sigcontext... checking for sigsetjmp... yes
checking getcwd implementation is broken... yes
checking for fsync... no
checking for bcmp... no
checking for sigaction... no
checking for bcmp... yes
checking for getcwd... yes
checking for fchdir... yes
checking for sigvec... yes
yes
checking for fchdir... checking for getpseudotty... yes
checking for fchown... yes
checking for strcasecmp... yes
checking for fchown... no
checking for getpwnam... yes
checking for fsync... yes
checking for strerror... yes
yes
checking for fsync... checking for getpwuid... yes
checking for getcwd... yes
checking for strftime... yes
yes
checking for getrlimit... checking for getcwd... yes
checking for getpseudotty... yes
checking for stricmp... yes
yes
checking for gettimeofday... checking for getpseudotty... no
checking for getpwnam... no
checking for strncasecmp... yes
no
checking for getpwnam... checking for getwd... yes
checking for getpwuid... yes
checking for strnicmp... yes
yes
yes
checking for getpwuid... checking for lstat... checking for getrlimit... no
checking for strpbrk... yes
yes
yes
checking for memcmp... checking for getrlimit... checking for gettimeofday... yes
checking for strtol... yes
yes
yes
checking for gettimeofday... checking for getwd... checking for memset... yes
checking for tgetent... yes
yes
checking for getwd... checking for lstat... yes
yes
checking for mkdtemp... checking for towlower... yes
yes
checking for memcmp... yes
checking for lstat... yes
checking for nanosleep... checking for towupper... yes
yes
yes
checking for memcmp... yes
checking for memset... checking for opendir... checking for iswupper... yes
yes
yes
yes
checking for putenv... checking for memset... checking for mkdtemp... checking for usleep... yes
yes
yes
yes
checking for qsort... checking for nanosleep... checking for utime... checking for mkdtemp... yes
yes
yes
yes
checking for opendir... checking for readlink... checking for nanosleep... checking for utimes... yes
yes
yes
yes
checking for _LARGEFILE_SOURCE value needed for large files... checking for select... checking for opendir... checking for putenv... yes
yes
yes
no
checking for special C compiler options needed for large files... no
checking for setenv... checking for _FILE_OFFSET_BITS value needed for large files... checking for qsort... checking for putenv... 64
checking for st_blksize... yes
yes
yes
checking for readlink... checking for qsort... checking for setpgid... yes
checking whether stat() ignores a trailing slash... yes
yes
yes
checking for readlink... checking for select... checking for setsid... no
checking for iconv_open()... yes
yes
yes
checking for setenv... checking for select... checking for sigaltstack... yes
checking for nl_langinfo(CODESET)... yes
yes
yes
checking for setpgid... checking for setenv... checking for sigstack... yes
checking for strtod in -lm... yes
yes
yes
checking for setsid... checking for setpgid... checking for sigset... yes
checking for strtod() and other floating point functions... yes
yes
yes
checking for sigaltstack... checking for setsid... checking for sigsetjmp... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... yes
yes
checking for sigaltstack... no
checking for sigstack... checking for sigaction... no
checking for acl_get_file in -lacl... yes
yes
yes
checking for sigstack... checking for sigset... checking for sigvec... yes
checking for fgetxattr in -lattr... yes
yes
yes
yes
checking for POSIX ACL support... checking for sigset... checking for sigsetjmp... checking for strcasecmp... yes
yes
checking for acl_get in -lsec... yes
no
checking for sigsetjmp... checking for sigaction... checking for strerror... no
checking for Solaris ACL support... no
checking for AIX ACL support... yes
yes
no
checking for sigvec... checking for sigaction... checking for strftime... no
checking --disable-gpm argument... yes
checking --disable-sysmouse argument... no
checking for sysmouse... no
checking for FD_CLOEXEC... yes
yes
checking for strcasecmp... yes
checking for sigvec... checking for stricmp... yes
checking for rename... yes
yes
checking for strcasecmp... checking for strerror... no
yes
checking for sysctl... checking for strncasecmp... not usable
checking for sysinfo... yes
yes
checking for sysinfo.mem_unit... yes
checking for strftime... yes
checking for strerror... checking for strnicmp... yes
checking for sysconf... yes
checking size of int... yes
yes
checking for strftime... checking for stricmp... no
checking for strpbrk... yes
4
no
checking size of long... yes
checking for stricmp... checking for strncasecmp... checking for strtol... yes
yes
no
checking for strncasecmp... checking for strnicmp... checking for tgetent... 4
checking size of time_t... yes
yes
no
checking for strpbrk... checking for strnicmp... checking for towlower... 4
checking size of off_t... yes
no
yes
checking for strpbrk... checking for strtol... checking for towupper... yes
yes
8
checking uint32_t is 32 bits... yes
checking for tgetent... checking for strtol... checking for iswupper... ok
yes
checking whether memmove handles overlaps... yes
checking for towlower... checking for tgetent... yes
checking for usleep... yes
yes
checking for towlower... yes
checking for towupper... yes
checking whether X_LOCALE needed... checking for utime... no
checking for _xpg4_setrunelocale in -lxpg4... no
checking how to create tags... yes
yes
yes
checking for towupper... ctags
checking for iswupper... checking how to run man with a section nr... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... checking for utimes... yes
yes
yes
gettext() works
checking for bind_textdomain_codeset... checking for _LARGEFILE_SOURCE value needed for large files... checking for usleep... checking for iswupper... yes
yes
checking for _nl_msg_cat_cntr... yes
checking for utime... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... checking for usleep... 64
checking for st_blksize... yes
checking dlfcn.h usability... yes
yes
checking for utimes... checking for utime... yes
checking whether stat() ignores a trailing slash... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... yes
checking for _LARGEFILE_SOURCE value needed for large files... yes
checking for utimes... no
checking for iconv_open()... yes
checking for dlsym()... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... yes
checking setjmp.h usability... yes
checking for nl_langinfo(CODESET)... 64
checking for st_blksize... no
yes
checking setjmp.h presence... checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... yes
checking for setjmp.h... yes
checking for GCC 3 or later... yes
checking whether stat() ignores a trailing slash... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
yes
checking for strtod in -lm... 64
checking for st_blksize... configure: updating cache auto/config.cache
configure: creating auto/config.status
yes
checking whether stat() ignores a trailing slash... no
checking for iconv_open()... yes
checking for strtod() and other floating point functions... no
checking for iconv_open()... config.status: creating auto/config.mk
yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... yes
checking for nl_langinfo(CODESET)... config.status: creating auto/config.h
no
checking for acl_get_file in -lacl... yes
yes
checking for strtod in -lm... checking for nl_langinfo(CODESET)... touch configure-stamp-vim-tiny
dh_testdir
yes
checking for fgetxattr in -lattr... *** 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 ../po ../vimtutor ../gvimtutor ../mkinstalldirs .
yes
mkdir vim-nox/auto
cd vim-nox/auto; ln -s ../../auto/configure .
yes
checking for strtod() and other floating point functions... cd vim-nox; rm -f auto/link.sed
checking for strtod in -lm... 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/test83-tags? \
../../testdir/*.ok .
make[1]: Leaving directory `/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-nox && LDFLAGS="-Wl,-z,relro" CPPFLAGS="" CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 --with-features=huge --enable-multibyte --enable-acl --without-x --enable-gui=no --enable-luainterp --disable-mzschemeinterp --enable-perlinterp --enable-pythoninterp --disable-python3interp --enable-rubyinterp --enable-tclinterp
yes
checking for POSIX ACL support... yes
checking for strtod() and other floating point functions... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... yes
checking for acl_get in -lsec... no
checking for acl_get_file in -lacl... yes
no
checking for Solaris ACL support... checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... no
checking for AIX ACL support... no
checking for acl_get_file in -lacl... yes
checking for fgetxattr in -lattr... no
checking --disable-gpm argument... no
checking for gpm... configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for fgetxattr in -lattr... yes
checking for POSIX ACL support... yes
checking for gcc... gcc
yes
checking --disable-sysmouse argument... no
checking for sysmouse... checking whether the C compiler works... no
checking for FD_CLOEXEC... yes
checking for POSIX ACL support... yes
checking for acl_get in -lsec... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... yes
checking for rename... no
checking for Solaris ACL support... yes
checking for acl_get in -lsec...
checking whether we are cross compiling... no
checking for AIX ACL support... yes
checking for sysctl... no
checking for Solaris ACL support... no
checking --disable-gpm argument... no
checking for gpm... not usable
checking for sysinfo... no
checking for AIX ACL support... no
checking for suffix of object files... yes
checking for sysinfo.mem_unit... o
checking whether we are using the GNU C compiler... no
checking --disable-gpm argument... no
checking for gpm... yes
checking --disable-sysmouse argument... no
checking for sysmouse... yes
checking whether gcc accepts -g... yes
checking for sysconf... yes
checking for gcc option to accept ISO C89... yes
checking size of int... no
checking for FD_CLOEXEC... yes
checking --disable-sysmouse argument... no
checking for sysmouse... yes
checking for rename... none needed
checking how to run the C preprocessor... gcc -E
no
checking for FD_CLOEXEC... checking for grep that handles long lines and -e... yes
/bin/grep
checking for egrep... checking for rename... /bin/grep -E
checking for library containing strerror... 4
checking size of long... yes
checking for sysctl... not usable
checking for sysinfo... none required
checking for gawk... no
checking for mawk... mawk
checking for strip... strip
checking for ANSI C header files... yes
checking for sysctl... yes
checking for sysinfo.mem_unit... not usable
yes
checking for sysinfo... checking for sysconf... 4
checking size of time_t... yes
checking for sysinfo.mem_unit... yes
checking size of int... yes
checking for sysconf... yes
checking size of int... yes
checking for sys/wait.h that is POSIX.1 compatible... 4
checking size of off_t... 4
checking size of long... yes
checking --enable-fail-if-missing argument... yes
configure: checking for buggy tools...
- sed is 'GNU sed version 4.2.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <bug-gnu-utils@gnu.org>.
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.'.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... 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-selinux argument... no
checking for is_selinux_enabled in -lselinux... 4
checking size of long... 8
checking uint32_t is 32 bits... 4
checking size of time_t... 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 if lua.h can be found in /usr/include... no
checking for lua... /usr/bin/lua
checking Lua version... 5.1
checking if lua.h can be found in /usr/include/lua5.1... yes
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/bin/perl
checking Perl version... OK
4
checking size of time_t... ok
checking whether memmove handles overlaps... 4
checking size of off_t... yes
checking whether X_LOCALE needed... 4
checking size of off_t... no
checking for _xpg4_setrunelocale in -lxpg4... 8
checking uint32_t is 32 bits... 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... 8
checking uint32_t is 32 bits... ok
checking whether memmove handles overlaps... checking if compile and link flags for Perl are sane... gettext() works
checking for bind_textdomain_codeset... ok
checking whether memmove handles overlaps... yes
checking whether X_LOCALE needed... yes
checking for _nl_msg_cat_cntr... yes
no
checking --enable-pythoninterp argument... yes
checking for python... checking for _xpg4_setrunelocale in -lxpg4... /usr/bin/python
checking Python version... 2.7
checking Python is 1.4 or better... yep
checking Python's install prefix... no
checking how to create tags... yes
checking whether X_LOCALE needed... /usr
checking Python's execution prefix... yes
checking dlfcn.h usability... no
ctags
checking how to run man with a section nr... checking for _xpg4_setrunelocale in -lxpg4... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... /usr
checking Python's configuration directory... /usr/lib/python2.7/config
no
checking how to create tags... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... ctags
checking how to run man with a section nr... checking if -pthread should be used... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... gettext() works
checking for bind_textdomain_codeset... yes
checking for dlsym()... yes
checking if compile and link flags for Python are sane... gettext() works
checking for bind_textdomain_codeset... yes
checking for _nl_msg_cat_cntr... yes
checking setjmp.h usability... yes
yes
checking for _nl_msg_cat_cntr... checking dlfcn.h usability... yes
checking --enable-python3interp argument... no
checking --enable-tclinterp argument... yes
checking --with-tclsh argument... no
checking for tclsh8.5... /usr/bin/tclsh8.5
checking Tcl version... 8.5 - OK
yes
checking setjmp.h presence... checking for location of Tcl include... /usr/include/tcl8.5/tcl.h
checking for location of tclConfig.sh script... yes
checking for setjmp.h... yes
/usr/lib/tclConfig.sh
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking dlfcn.h presence... yes
checking linker --as-needed support... 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 dlfcn.h... yes
checking for dlopen()... yes
checking dlfcn.h usability... OK
checking Ruby header files... configure: updating cache auto/config.cache
configure: creating auto/config.status
yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... yes
checking for dlsym()... /usr/include/ruby-1.9.1
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
yes
yes
checking setjmp.h usability... checking for dlsym()... -e:1: Use RbConfig instead of obsolete and deprecated Config.
config.status: creating auto/config.mk
-e:1: Use RbConfig instead of obsolete and deprecated Config.
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... -e:1: Use RbConfig instead of obsolete and deprecated Config.
config.status: creating auto/config.h
yes
checking setjmp.h usability... yes
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
yes
checking setjmp.h presence... checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking for socket in -lsocket... yes
checking for setjmp.h... yes
checking for GCC 3 or later... configure: updating cache auto/config.cache
configure: creating auto/config.status
yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
touch configure-stamp-vim-athena
dh_testdir
no
checking for gethostbyname in -lnsl... *** DEBIAN *** CONFIGURING VARIANT vim-basic
/usr/bin/make -C src shadow SHADOWDIR=vim-basic
make[1]: Entering directory `/<<PKGBUILDDIR>>/src'
mkdir vim-basic
cd vim-basic; ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../po ../vimtutor ../gvimtutor ../mkinstalldirs .
mkdir vim-basic/auto
cd vim-basic/auto; ln -s ../../auto/configure .
configure: updating cache auto/config.cache
cd vim-basic; rm -f auto/link.sed
cp Makefile configure vim-basic
configure: creating auto/config.status
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/test83-tags? \
../../testdir/*.ok .
yes
checking whether compiling netbeans integration is possible... make[1]: Leaving directory `/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-basic && LDFLAGS="-Wl,-z,relro" CPPFLAGS="" CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 --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
config.status: creating auto/config.mk
config.status: creating auto/config.h
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
config.status: creating auto/config.mk
checking --enable-gui argument... no GUI support
checking X11/SM/SMlib.h usability... config.status: creating auto/config.h
touch configure-stamp-vim-gtk
dh_testdir
yes
checking X11/SM/SMlib.h presence... dh_prep -p vim-tiny
yes
checking for X11/SM/SMlib.h... yes
checking whether toupper is broken... *** DEBIAN *** BUILDING VARIANT vim-tiny
/usr/bin/make -C src/vim-tiny
touch configure-stamp-vim-gnome
make[1]: Entering directory `/<<PKGBUILDDIR>>/src/vim-tiny'
mkdir objects
dh_testdir
CC="gcc -Iproto -DHAVE_CONFIG_H " srcdir=. sh ./osdef.sh
dh_prep -p vim-gtk
no
checking whether __DATE__ and __TIME__ work... configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking whether __attribute__((unused)) is allowed... yes
checking for gcc... gcc
*** DEBIAN *** BUILDING VARIANT vim-gtk
/usr/bin/make -C src/vim-gtk
make[1]: Entering directory `/<<PKGBUILDDIR>>/src/vim-gtk'
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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 " srcdir=. sh ./osdef.sh
yes
checking elf.h usability... checking whether the C compiler works... yes
checking elf.h presence... yes
checking for elf.h... yes
checking for main in -lelf... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... no
checking for dirent.h that defines DIR...
checking whether we are cross compiling... yes
checking for library containing opendir... no
checking for suffix of object files... none required
checking stdarg.h usability... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
yes
checking for gcc option to accept ISO C89... checking stdint.h usability... yes
checking stdint.h presence... none needed
checking how to run the C preprocessor... yes
checking for stdint.h... yes
checking stdlib.h usability... gcc -E
yes
checking stdlib.h presence... checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
yes
checking for stdlib.h... yes
checking for library containing strerror... checking string.h usability... yes
checking string.h presence... yes
checking for string.h... yes
none required
checking for gawk... no
checking for mawk... mawk
checking for strip... strip
checking for ANSI C header files... checking sys/select.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
checking termcap.h usability... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking --enable-fail-if-missing argument... yes
configure: checking for buggy tools...
- sed is 'GNU sed version 4.2.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <bug-gnu-utils@gnu.org>.
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.'.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... 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-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking termcap.h presence... no
checking for termcap.h... no
checking fcntl.h usability... 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... 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... yes
checking for fcntl.h... yes
checking sgtty.h usability... no
checking for gethostbyname in -lnsl... 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... creating auto/pathdef.c
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... yes
checking sys/time.h presence... no GUI support
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/popupmnu.o popupmnu.c
checking X11/SM/SMlib.h usability... yes
checking for sys/time.h... yes
checking sys/types.h usability... yes
checking sys/types.h presence... creating auto/pathdef.c
yes
checking X11/SM/SMlib.h presence... yes
checking for sys/types.h... yes
yes
checking for X11/SM/SMlib.h... yes
checking termio.h usability... checking whether toupper is broken... 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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/popupmnu.o popupmnu.c
yes
checking termio.h presence... gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/quickfix.o quickfix.c
yes
checking for termio.h... yes
no
checking whether __DATE__ and __TIME__ work... checking iconv.h usability... yes
checking whether __attribute__((unused)) is allowed... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking inttypes.h usability... yes
checking elf.h usability... gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/regexp.o regexp.c
yes
checking inttypes.h presence... yes
checking elf.h presence... yes
checking for inttypes.h... yes
yes
checking for elf.h... yes
checking for main in -lelf... checking langinfo.h usability... no
yes
checking langinfo.h presence... checking for dirent.h that defines DIR... yes
checking for langinfo.h... yes
checking math.h usability... yes
checking for library containing opendir... yes
checking math.h presence... yes
checking for math.h... yes
none required
checking stdarg.h usability... checking unistd.h usability... yes
checking stdarg.h presence... yes
checking unistd.h presence... yes
checking for stdarg.h... yes
yes
checking for unistd.h... yes
checking stdint.h usability... checking stropts.h usability... yes
checking stdint.h presence... yes
checking for stdint.h... yes
checking stdlib.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking errno.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking string.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/resource.h usability... yes
checking string.h presence... yes
checking for string.h... yes
checking sys/select.h usability... yes
checking sys/resource.h presence... yes
checking sys/select.h presence... yes
checking for sys/resource.h... yes
yes
checking for sys/select.h... yes
checking sys/systeminfo.h usability... checking sys/utsname.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 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... 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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/quickfix.o quickfix.c
no
checking termcap.h presence... no
checking for termcap.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sgtty.h usability... no
checking sys/stream.h presence... yes
checking sgtty.h presence... no
checking for sys/stream.h... no
checking termios.h usability... yes
checking for sgtty.h... yes
checking sys/ioctl.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
yes
checking sys/ioctl.h presence... checking libc.h usability... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/types.h usability... no
checking libc.h presence... no
checking for libc.h... no
yes
checking sys/types.h presence... checking sys/statfs.h usability... yes
checking for sys/types.h... yes
checking termio.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking poll.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking iconv.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking inttypes.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
yes
checking inttypes.h presence... checking pwd.h usability... yes
checking for inttypes.h... yes
checking langinfo.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
yes
checking langinfo.h presence... yes
checking utime.h usability... checking for langinfo.h... yes
checking math.h usability... yes
checking utime.h presence... yes
checking math.h presence... yes
checking for utime.h... yes
checking sys/param.h usability... yes
checking for math.h... yes
checking unistd.h usability... yes
checking sys/param.h presence... yes
checking unistd.h presence... yes
checking for sys/param.h... yes
yes
checking for unistd.h... yes
checking libintl.h usability... checking stropts.h usability... yes
checking libintl.h presence... yes
checking stropts.h presence... yes
checking for libintl.h... yes
yes
checking for stropts.h... yes
checking libgen.h usability... checking errno.h usability... yes
checking errno.h presence... yes
checking libgen.h presence... yes
checking for errno.h... yes
yes
checking for libgen.h... yes
checking util/debug.h usability... checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... no
checking util/debug.h presence... no
checking for util/debug.h... no
checking util/msg18n.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking locale.h usability... no
checking util/msg18n.h presence... yes
checking locale.h presence... no
checking for util/msg18n.h... no
checking frame.h usability... yes
checking for locale.h... yes
checking sys/stream.h usability... no
checking frame.h presence... no
checking for frame.h... no
no
checking sys/stream.h presence... checking sys/acl.h usability... no
checking for sys/stream.h... no
checking termios.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
yes
checking termios.h presence... checking sys/access.h usability... yes
checking for termios.h... yes
checking libc.h usability... no
checking sys/access.h presence... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... no
checking libc.h presence... yes
checking sys/sysinfo.h presence... no
checking for libc.h... no
checking sys/statfs.h usability... yes
checking for sys/sysinfo.h... yes
checking wchar.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking poll.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
yes
checking wctype.h presence... checking sys/poll.h usability... yes
checking for wctype.h... yes
checking for sys/ptem.h... yes
checking sys/poll.h presence... no
checking for sys/sysctl.h... yes
checking for sys/poll.h... yes
checking pwd.h usability... yes
checking for pthread_np.h... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking utime.h usability... no
checking strings.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/param.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... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
no
checking for an ANSI C-conforming const... checking libintl.h usability... yes
checking for working volatile... yes
checking libintl.h presence... yes
checking for mode_t... yes
checking for libintl.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking util/debug.h usability... yes
checking for off_t... yes
checking for pid_t... no
checking util/debug.h presence... no
checking for util/debug.h... no
checking util/msg18n.h usability... yes
checking for size_t... no
checking util/msg18n.h presence... no
checking for util/msg18n.h... no
yes
checking for uid_t in sys/types.h... checking frame.h usability... yes
checking for uint32_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ino_t... no
checking frame.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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/regexp.o regexp.c
no
checking for frame.h... no
checking sys/acl.h usability... yes
checking for dev_t... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking sys/access.h usability... yes
checking whether byte ordering is bigendian... gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/screen.o screen.c
no
checking sys/access.h presence... no
checking for rlim_t... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... yes
checking for stack_t... yes
checking whether stack_t has an ss_base field... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
no
checking --with-tlib argument... empty: automatic terminal library selection
checking wchar.h usability... checking for tgetent in -ltinfo... yes
checking wchar.h presence... yes
checking for wchar.h... yes
yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for sys/ptem.h... checking whether we talk terminfo... no
checking for sys/sysctl.h... yes
checking for pthread_np.h... yes
checking what tgetent() returns for an unknown terminal... no
checking strings.h usability... zero
checking whether termcap.h contains ospeed... yes
checking strings.h presence... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... no
checking whether ospeed can be extern... yes
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking whether termcap.h contains UP, BC and PC... yes
checking for working volatile... no
checking whether UP, BC and PC can be extern... yes
checking for mode_t... yes
checking whether tputs() uses outfuntype... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for off_t... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for ptyranges... yes
checking for pid_t... don't know
checking default tty permissions/group... yes
checking for size_t... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... void
checking for struct sigcontext... yes
checking getcwd implementation is broken... yes
checking for uid_t in sys/types.h... yes
checking for uint32_t... no
yes
checking whether time.h and sys/time.h may both be included... checking for bcmp... yes
checking for ino_t... yes
checking for fchdir... yes
checking for dev_t... yes
checking for fchown... yes
checking whether byte ordering is bigendian... yes
checking for fsync... no
checking for rlim_t... yes
yes
checking for stack_t... checking for getcwd... 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 getpseudotty... yes
no
checking for getpwnam... checking whether we talk terminfo... yes
checking for getpwuid... yes
checking what tgetent() returns for an unknown terminal... yes
checking for getrlimit... zero
checking whether termcap.h contains ospeed... yes
checking for gettimeofday... no
checking whether ospeed can be extern... yes
yes
checking whether termcap.h contains UP, BC and PC... checking for getwd... no
checking whether UP, BC and PC can be extern... yes
checking for lstat... 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 memcmp... yes
checking for ptyranges... don't know
checking default tty permissions/group... yes
checking for memset... yes
can't determine - assume ptys are world accessible
checking for mkdtemp... world
checking return type of signal handlers... void
checking for struct sigcontext... yes
checking getcwd implementation is broken... yes
checking for nanosleep... no
checking for bcmp... yes
checking for opendir... yes
yes
checking for fchdir... checking for putenv... yes
yes
checking for fchown... checking for qsort... yes
yes
checking for fsync... checking for readlink... yes
yes
checking for getcwd... checking for select... yes
yes
checking for getpseudotty... checking for setenv... yes
no
checking for getpwnam... checking for setpgid... yes
yes
checking for getpwuid... checking for setsid... yes
yes
checking for getrlimit... checking for sigaltstack... gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/search.o search.c
yes
yes
checking for gettimeofday... checking for sigstack... yes
yes
checking for getwd... checking for sigset... yes
yes
checking for lstat... checking for sigsetjmp... yes
checking for memcmp... no
checking for sigaction... yes
yes
checking for memset... checking for sigvec... yes
yes
checking for strcasecmp... checking for mkdtemp... yes
yes
checking for nanosleep... checking for strerror... yes
yes
checking for opendir... 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
checking for tgetent... yes
checking for setsid... yes
checking for towlower... yes
checking for sigaltstack... yes
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/sha256.o sha256.c
checking for towupper... yes
checking for sigstack... yes
checking for iswupper... 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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/screen.o screen.c
yes
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/spell.o spell.c
checking for sigset... yes
checking for usleep... yes
checking for sigsetjmp... gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/syntax.o syntax.c
yes
checking for utime... no
checking for sigaction... yes
checking for utimes... yes
checking for sigvec... yes
checking for _LARGEFILE_SOURCE value needed for large files... yes
checking for strcasecmp... 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 strerror... 64
checking for st_blksize... yes
checking whether stat() ignores a trailing slash... yes
checking for strftime... yes
no
checking for iconv_open()... checking for stricmp... no
checking for strncasecmp... yes
checking for nl_langinfo(CODESET)... yes
checking for strnicmp... yes
checking for strtod in -lm... no
checking for strpbrk... yes
checking for strtod() and other floating point functions... yes
checking for strtol... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... no
checking for acl_get_file in -lacl... yes
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/tag.o tag.c
checking for tgetent... yes
checking for fgetxattr in -lattr... yes
checking for towlower... yes
checking for POSIX ACL support... yes
checking for towupper... yes
checking for acl_get in -lsec... yes
no
checking for Solaris ACL support... checking for iswupper... no
checking for AIX ACL support... no
checking --disable-gpm argument... no
checking for gpm... yes
checking for usleep... yes
checking --disable-sysmouse argument... no
checking for sysmouse... yes
checking for utime... no
checking for FD_CLOEXEC... yes
checking for rename... yes
checking for utimes... yes
checking for sysctl... yes
checking for _LARGEFILE_SOURCE value needed for large files... not usable
checking for sysinfo... yes
checking for sysinfo.mem_unit... yes
checking for sysconf... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... yes
checking size of int... 64
checking for st_blksize... yes
checking whether stat() ignores a trailing slash... 4
checking size of long... no
checking for iconv_open()... 4
checking size of time_t... yes
checking for nl_langinfo(CODESET)... 4
checking size of off_t... yes
checking for strtod in -lm... yes
checking for strtod() and other floating point functions... 8
checking uint32_t is 32 bits... ok
checking whether memmove handles overlaps... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... no
checking for acl_get_file in -lacl... yes
checking for _xpg4_setrunelocale in -lxpg4... yes
checking for fgetxattr in -lattr... gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/term.o term.c
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
checking for POSIX ACL support... gettext() works
checking for bind_textdomain_codeset... yes
checking for acl_get in -lsec... no
checking for Solaris ACL support... yes
checking for _nl_msg_cat_cntr... no
checking for AIX ACL support... no
checking --disable-gpm argument... no
checking for gpm... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking --disable-sysmouse argument... no
checking for sysmouse... yes
checking for dlfcn.h... yes
checking for dlopen()... no
checking for FD_CLOEXEC... yes
checking for rename... yes
checking for dlsym()... yes
checking for sysctl... yes
checking setjmp.h usability... not usable
checking for sysinfo... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
yes
checking for sysinfo.mem_unit... checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
yes
checking for sysconf... yes
checking size of int... configure: updating cache auto/config.cache
configure: creating auto/config.status
4
checking size of long... config.status: creating auto/config.mk
config.status: creating auto/config.h
4
checking size of time_t... touch configure-stamp-vim-nox
dh_testdir
dh_prep -p vim-gnome
4
checking size of off_t... *** 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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 " srcdir=. sh ./osdef.sh
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ui.o ui.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... gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/undo.o undo.c
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()... 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
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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/popupmnu.o popupmnu.c
touch configure-stamp-vim-basic
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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/window.o window.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.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 " srcdir=. sh ./osdef.sh
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/search.o search.c
creating auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/memfile.o memfile.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/regexp.o regexp.c
cd xxd; CC="gcc" CFLAGS=" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-Wl,-z,relro -Wl,--as-needed" \
/usr/bin/make -f Makefile
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/vim-tiny/xxd'
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wl,-z,relro -Wl,--as-needed -DUNIX -o xxd xxd.c
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/vim-tiny/xxd'
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/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
1791 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
1791 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
1777 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.mo ja.po
1779 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, 553 untranslated 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
1768 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
1422 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
1768 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.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
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
1779 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.cp1250.mo pl.cp1250.po
1768 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.UTF-8.mo pl.UTF-8.po
1768 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.cp1251.mo ru.cp1251.po
1422 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
1768 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/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 -DFEAT_GUI_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -DFEAT_GUI_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/term.o term.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/gui.o gui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 -Wl,-z,relro -Wl,--as-needed -o vim objects/buffer.o objects/blowfish.o objects/charset.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
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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/ui.o ui.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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/undo.o undo.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.5 -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 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/include/lua5.1 -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.14/ExtUtils/xsubpp -prototypes -typemap \
/usr/share/perl/5.14/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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -o objects/if_perlsfio.o if_perlsfio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/gui_athena.o gui_athena.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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/include/python2.7 -DPYTHON_HOME=\"/usr\" -pthread -o objects/if_python.o if_python.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/gui_at_fs.o gui_at_fs.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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/include/ruby-1.9.1 -I/usr/include/ruby-1.9.1/arm-linux-eabihf -DRUBY_VERSION=19 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/include/lua5.1 -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.14/ExtUtils/xsubpp -prototypes -typemap \
/usr/share/perl/5.14/ExtUtils/typemap if_perl.xs >> auto/if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -o objects/if_perlsfio.o if_perlsfio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/include/python2.7 -DPYTHON_HOME=\"/usr\" -pthread -o objects/if_python.o if_python.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/include/ruby-1.9.1 -I/usr/include/ruby-1.9.1/arm-linux-eabihf -DRUBY_VERSION=19 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/include/lua5.1 -o objects/if_lua.o if_lua.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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/main.o main.c
cd xxd; CC="gcc" CFLAGS=" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-z,relro -Wl,--as-needed" \
/usr/bin/make -f Makefile
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/vim-gtk/xxd'
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-z,relro -Wl,--as-needed -DUNIX -o xxd xxd.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.14/ExtUtils/xsubpp -prototypes -typemap \
/usr/share/perl/5.14/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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -o objects/if_perlsfio.o if_perlsfio.c
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/vim-gtk/xxd'
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Nothing to be done for `converted'.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/include/python2.7 -DPYTHON_HOME=\"/usr\" -pthread -o objects/if_python.o if_python.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/if_tcl.o if_tcl.c
cd xxd; CC="gcc" CFLAGS=" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-z,relro -Wl,--as-needed" \
/usr/bin/make -f Makefile
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/vim-athena/xxd'
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-z,relro -Wl,--as-needed -DUNIX -o xxd xxd.c
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/vim-athena/xxd'
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Nothing to be done for `converted'.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/include/ruby-1.9.1 -I/usr/include/ruby-1.9.1/arm-linux-eabihf -DRUBY_VERSION=19 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/memfile.o memfile.c
cd xxd; CC="gcc" CFLAGS=" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-z,relro -Wl,--as-needed" \
/usr/bin/make -f Makefile
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/vim-gnome/xxd'
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-z,relro -Wl,--as-needed -DUNIX -o xxd xxd.c
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/vim-gnome/xxd'
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Nothing to be done for `converted'.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/buffer.o buffer.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/charset.o charset.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/edit.o edit.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/include/lua5.1 -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.14/ExtUtils/xsubpp -prototypes -typemap \
/usr/share/perl/5.14/ExtUtils/typemap if_perl.xs >> auto/if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -o objects/if_perlsfio.o if_perlsfio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/include/python2.7 -DPYTHON_HOME=\"/usr\" -pthread -o objects/if_python.o if_python.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/include/ruby-1.9.1 -I/usr/include/ruby-1.9.1/arm-linux-eabihf -DRUBY_VERSION=19 -o objects/if_ruby.o if_ruby.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/ex_docmd.o ex_docmd.c
cd xxd; CC="gcc" CFLAGS=" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-z,relro -Wl,--as-needed" \
/usr/bin/make -f Makefile
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/vim-nox/xxd'
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-z,relro -Wl,--as-needed -DUNIX -o xxd xxd.c
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/vim-nox/xxd'
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Nothing to be done for `converted'.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/blowfish.o blowfish.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/charset.o charset.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/misc1.o misc1.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_ATHENA -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-z,relro -Wl,--as-needed -o vim objects/buffer.o objects/blowfish.o objects/charset.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 -L/usr/lib -llua5.1 -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/usr/lib -ltcl8.5 -ldl -lpthread -lieee -lm -lruby-1.9.1 -lpthread -lrt -ldl -lcrypt -lm -L/usr/lib
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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/move.o move.c
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
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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/option.o option.c
creating auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/ops.o ops.c
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
gcc -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-z,relro -Wl,--as-needed -o vim objects/buffer.o objects/blowfish.o objects/charset.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 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -L/usr/lib -llua5.1 -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/usr/lib -ltcl8.5 -ldl -lpthread -lieee -lm -lruby-1.9.1 -lpthread -lrt -ldl -lcrypt -lm -L/usr/lib
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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/option.o option.c
link.sh: Linked fine
make[1]: Leaving directory `/<<PKGBUILDDIR>>/src/vim-gtk'
touch build-stamp-vim-gtk
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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -o objects/if_perl.o auto/if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/sha256.o sha256.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/spell.o spell.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -o objects/os_unix.o os_unix.c
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
gcc -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-z,relro -Wl,--as-needed -o vim objects/buffer.o objects/blowfish.o objects/charset.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 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -L/usr/lib -llua5.1 -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/usr/lib -ltcl8.5 -ldl -lpthread -lieee -lm -lruby-1.9.1 -lpthread -lrt -ldl -lcrypt -lm -L/usr/lib
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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -o objects/if_perl.o auto/if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/term.o term.c
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
gcc -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-z,relro -Wl,--as-needed -o vim objects/buffer.o objects/blowfish.o objects/charset.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 -L/usr/lib -llua5.1 -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/usr/lib -ltcl8.5 -ldl -lpthread -lieee -lm -lruby-1.9.1 -lpthread -lrt -ldl -lcrypt -lm -L/usr/lib
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ui.o ui.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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/memfile.o memfile.c
cd xxd; CC="gcc" CFLAGS=" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-Wl,-z,relro -Wl,--as-needed" \
/usr/bin/make -f Makefile
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/vim-basic/xxd'
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wl,-z,relro -Wl,--as-needed -DUNIX -o xxd xxd.c
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Nothing to be done for `converted'.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/buffer.o buffer.c
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/vim-basic/xxd'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/digraph.o digraph.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/edit.o edit.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -Wl,-z,relro -Wl,--as-needed -o vim objects/buffer.o objects/blowfish.o objects/charset.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
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@/vim73/' > debian/tiny/vimrc.tiny
dh_testdir
dh_testdir
dh_testdir
dh_testdir
dh_testroot
dh_testroot
dh_testroot
dh_testroot
*** DEBIAN *** INSTALLING VARIANT vim-athena
*** DEBIAN *** INSTALLING VARIANT vim-gnome
dh_installdirs
dh_installdirs
*** DEBIAN *** INSTALLING VARIANT vim-gtk
dh_installdirs
*** DEBIAN *** INSTALLING VARIANT vim-nox
dh_installdirs
mv src/vim-gtk/vim src/vim-gtk/vim.gtk
mv src/vim-gnome/vim src/vim-gnome/vim.gnome
mv src/vim-athena/vim src/vim-athena/vim.athena
mv src/vim-nox/vim src/vim-nox/vim.nox
# variant-related installations
# to be kept in sync with those in "install-stamp-vim-basic" target
# variant-related installations
# variant-related installations
# variant-related installations
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
# 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-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
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
sed -e "s:@PKG@:vim-gtk:;s:@VARIANT@:gtk:" \
debian/lintian/vim-variant > debian/lintian/vim-gtk
for L in fr it pl ru; 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
sed -e "s:@PKG@:vim-nox:;s:@VARIANT@:nox:" \
debian/lintian/vim-variant > debian/lintian/vim-nox
sed -e "s:@PKG@:vim-athena:;s:@VARIANT@:athena:" \
debian/lintian/vim-variant > debian/lintian/vim-athena
sed -e "s:@PKG@:vim-gnome:;s:@VARIANT@:gnome:" \
debian/lintian/vim-variant > debian/lintian/vim-gnome
for L in fr it pl ru; 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
for L in fr it pl ru; 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
for L in fr it pl ru; 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
sed -i "/@LANG_ALTS@/d" debian/vim-gtk.postinst
dh_install
sed -i "/@LANG_ALTS@/d" debian/vim-athena.postinst
sed -i "/@LANG_ALTS@/d" debian/vim-nox.postinst
sed -i "/@LANG_ALTS@/d" debian/vim-gnome.postinst
dh_install
dh_install
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@/vim73/' > debian/vim-common.install
cat debian/vim-common.links.in | sed 's/@VIMCUR@/vim73/' > debian/vim-common.links
cat debian/vim-gui-common.install.in | sed 's/@VIMCUR@/vim73/' > debian/vim-gui-common.install
cat debian/vim-gui-common.links.in | sed 's/@VIMCUR@/vim73/' > debian/vim-gui-common.links
touch install-stamp-vim-athena
touch install-stamp-vim-gtk
cat debian/vim-runtime.install.in | sed 's/@VIMCUR@/vim73/' > debian/vim-runtime.install
cat debian/vim-runtime.links.in | sed 's/@VIMCUR@/vim73/' > debian/vim-runtime.links
cat debian/vim-runtime.postrm.in | sed 's/@VIMCUR@/vim73/' > debian/vim-runtime.postrm
cat debian/vim-runtime.preinst.in | sed 's/@VIMCUR@/vim73/' > debian/vim-runtime.preinst
cat debian/runtime/debian.vim.in | sed 's/@VIMCUR@/vim73/' > debian/runtime/debian.vim
dh_testdir
dh_testdir
touch install-stamp-vim-gnome
dh_testdir
dh_testdir
dh_testroot
dh_testroot
dh_testroot
dh_testroot
dh_strip --dbg-package=vim-dbg
*** DEBIAN *** INSTALLING VARIANT vim-tiny
dh_strip --dbg-package=vim-dbg
dh_strip --dbg-package=vim-dbg
dh_installdirs
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; 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/vim73" >> 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-icons \
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/vim73
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/doc
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/doc
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/doc
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/print
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/print
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/print
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/colors
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/colors
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/colors
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/syntax
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/syntax
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/syntax
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/indent
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/indent
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/indent
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/ftplugin
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/ftplugin
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/ftplugin
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/autoload
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/autoload
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/autoload
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/autoload/xml
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/autoload/xml
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/autoload/xml
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/plugin
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/plugin
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/plugin
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/tutor
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/tutor
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/tutor
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/spell
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/spell
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/spell
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/compiler
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/compiler
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/compiler
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/macros
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/macros
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/macros
cp ../runtime/tutor/README* ../runtime/tutor/tutor* /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/tutor
rm -f /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/tutor/*.info
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/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/vim73/spell; \
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/spell/*.spl /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/spell/*.sug /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/spell/*.vim; \
fi
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/tools
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/tools
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/tools
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1 "-fr" /usr/share/vim /usr/share/vim/vim73 /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/vim73 /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/vim73 /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/vim73 /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/vim73 /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/vim73 /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/pl/man1 "-pl" /usr/share/vim /usr/share/vim/vim73 /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/vim73 /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/vim73 /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/vim73 /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/vim73 /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
if test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/icons/hicolor/48x48/apps -a -w /<<PKGBUILDDIR>>/debian/tmp/usr/share/icons/hicolor/48x48/apps \
-a ! -f /<<PKGBUILDDIR>>/debian/tmp/usr/share/icons/hicolor/48x48/apps/gvim.png; then \
cp ../runtime/vim48x48.png /<<PKGBUILDDIR>>/debian/tmp/usr/share/icons/hicolor/48x48/apps/gvim.png; \
fi
if test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/icons/locolor/32x32/apps -a -w /<<PKGBUILDDIR>>/debian/tmp/usr/share/icons/locolor/32x32/apps \
-a ! -f /<<PKGBUILDDIR>>/debian/tmp/usr/share/icons/locolor/32x32/apps/gvim.png; then \
cp ../runtime/vim32x32.png /<<PKGBUILDDIR>>/debian/tmp/usr/share/icons/locolor/32x32/apps/gvim.png; \
fi
if test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/icons/locolor/16x16/apps -a -w /<<PKGBUILDDIR>>/debian/tmp/usr/share/icons/locolor/16x16/apps \
-a ! -f /<<PKGBUILDDIR>>/debian/tmp/usr/share/icons/locolor/16x16/apps/gvim.png; then \
cp ../runtime/vim16x16.png /<<PKGBUILDDIR>>/debian/tmp/usr/share/icons/locolor/16x16/apps/gvim.png; \
fi
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[2]: Nothing to be done for `converted'.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/po'
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/lang
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/lang
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/lang
/bin/sh ./mkinstalldirs /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/keymap
mkdir /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/keymap
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/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/vim73 /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/vim73/doc; \
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/doc; \
chmod 644 $files
cp ../runtime/doc/*.pl /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/doc
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/doc/*.pl
cp ../runtime/menu.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/menu.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/menu.vim
cp ../runtime/synmenu.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/synmenu.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/synmenu.vim
cp ../runtime/delmenu.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/delmenu.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/delmenu.vim
cp ../runtime/mswin.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/mswin.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/mswin.vim
cp ../runtime/evim.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/evim.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/evim.vim
cp ../runtime/bugreport.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/bugreport.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/bugreport.vim
cp ../runtime/vimrc_example.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/vimrc_example.vim
cp ../runtime/gvimrc_example.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/gvimrc_example.vim
cp ../runtime/filetype.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/filetype.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/filetype.vim
cp ../runtime/ftoff.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/ftoff.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/ftoff.vim
cp ../runtime/scripts.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/scripts.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/scripts.vim
cp ../runtime/ftplugin.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/ftplugin.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/ftplugin.vim
cp ../runtime/ftplugof.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/ftplugof.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/ftplugof.vim
cp ../runtime/indent.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/indent.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/indent.vim
cp ../runtime/indoff.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/indoff.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/indoff.vim
cp ../runtime/optwin.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/optwin.vim
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/optwin.vim
cd ../runtime/print; cp *.ps /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/print
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/print; chmod 644 *.ps
cd ../runtime/colors; cp *.vim README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/colors
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/colors; chmod 644 *.vim README.txt
cd ../runtime/syntax; cp *.vim README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/syntax
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/syntax; chmod 644 *.vim README.txt
cd ../runtime/indent; cp *.vim README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/indent
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/indent; chmod 644 *.vim README.txt
cd ../runtime/autoload; cp *.vim README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/autoload
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/autoload; chmod 644 *.vim README.txt
cd ../runtime/autoload/xml; cp *.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/autoload/xml
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/autoload/xml; chmod 644 *.vim
cd ../runtime/plugin; cp *.vim README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/plugin
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/plugin; chmod 644 *.vim README.txt
cd ../runtime/ftplugin; cp *.vim README.txt logtalk.dict /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/ftplugin
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/ftplugin; chmod 644 *.vim README.txt
cd ../runtime/compiler; cp *.vim README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/compiler
cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/compiler; chmod 644 *.vim README.txt
cp -r ../runtime/macros/* /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/macros
chmod 755 `find /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/macros -type d -print`
chmod 644 `find /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/macros -type f -print`
chmod 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/macros/less.sh
cvs=`find /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/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/vim73 /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/vim73/tools
cvs=`find /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/tools \( -name CVS -o -name AAPDIR \) -print`; \
if test -n "$cvs"; then \
rm -rf $cvs; \
fi
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/tools/*
perlpath=`./which.sh perl` && sed -e "s+/usr/bin/perl+$perlpath+" ../runtime/tools/efm_perl.pl >/<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/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/vim73/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/vim73/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/vim73/tools/mve.awk; fi; fi
chmod 755 `grep -l "^#!" /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/tools/*`
/bin/sh ./installman.sh install /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr/man1 "-fr" /usr/share/vim /usr/share/vim/vim73 /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/vim73 /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/vim73 /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/vim73 /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/vim73 /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/vim73 /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/pl/man1 "-pl" /usr/share/vim /usr/share/vim/vim73 /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/vim73 /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/vim73 /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/vim73 /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/vim73 /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/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/vim73/lang \
INSTALL_DATA=cp FILEMOD=644 install; \
fi
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[3]: Entering directory `/<<PKGBUILDDIR>>/src/po'
make[3]: Leaving directory `/<<PKGBUILDDIR>>/src/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; do \
dir=/<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/lang/$lang/; \
if test ! -x "$dir"; then \
mkdir $dir; chmod 755 $dir; \
fi; \
dir=/<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/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/po'
if test -d ../runtime/lang; then \
cp ../runtime/lang/README.txt ../runtime/lang/*.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/lang; \
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/lang/README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/lang/*.vim; \
fi
if test -d ../runtime/keymap; then \
cp ../runtime/keymap/README.txt ../runtime/keymap/*.vim /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/keymap; \
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/keymap/README.txt /<<PKGBUILDDIR>>/debian/tmp/usr/share/vim/vim73/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 || true; \
else \
/usr/bin/make -j1 -C src/vim-basic test || true; \
fi; \
[ $(find src -type f -name '*.failed' \! -name 'test61.failed' | wc -l) -eq 0 ]; \
fi
make[1]: Entering directory `/<<PKGBUILDDIR>>/src/vim-basic'
make[1]: warning: -jN forced in submake: disabling jobserver mode.
/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/po'
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq af.po
/bin/sh: 1: ../vim: not found
make[2]: *** [af.ck] Error 127
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src/po'
make[1]: [test] Error 2 (ignored)
if test vim != vim -a ! -r vim; then \
ln -s vim vim; \
fi
cd testdir; /usr/bin/make -f Makefile VIMPROG=../vim
make[2]: Entering directory `/<<PKGBUILDDIR>>/src/vim-basic/testdir'
rm -f test.log
rm -f test1.failed tiny.vim small.vim mbyte.vim mzscheme.vim test.ok X* viminfo
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test1.in" 53 lines, 1864 characters[2;1HFirst 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
:" Write a single line to test.out to check if testing works at all.
:%d
athis is a test[1m[34m^[[0m:w! test.out[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[20;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 31 lines, 928 characters written[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[21;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H: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
[?25h[?0c
[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Write a single line to test.out to check if testing works at all.
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c%d
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H--No lines in buffer--[1;1H[?25h[?0c[?25l[?1cthis is a test[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 1 line, 15 characters written[1;14H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Create small.vim and tiny.vim empty, create mbyte.vim to skip the test.
[?25l[?1c[1;14H[?25h[?0c
[?25l[?1c[1;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! small.vim
[?25l[?1c"small.vim" [24;13H[K[24;13H[New File] 1 line, 1 character written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! tiny.vim
[?25l[?1c"tiny.vim" [24;12H[K[24;12H[New File] 1 line, 1 character written[1;1H[?25h[?0c[?25l[?1ce! test.ok
w! test.out[2;12H[K[3;1Hqa![3;4H[K[4;1H[K[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! mbyte.vim
[?25l[?1c"mbyte.vim" [24;13H[K[24;13H[New File] 4 lines, 28 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! mzscheme.vim
[?25l[?1c"mzscheme.vim" [24;16H[K[24;16H[New File] 4 lines, 28 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! lua.vim
[?25l[?1c"lua.vim" [24;11H[K[24;11H[New File] 4 lines, 28 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" If +multi_byte feature supported, make mbyte.vim empty.
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif has("multi_byte") | sp another | w! mbyte.vim | q | endif
[?25l[?1c"another" [New File][24;21H[K[24;1H
"mbyte.vim" 0 lines, 0 characters written[1;1H[L[1;1He! test.ok[24;1H[K[4;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c"
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" If +mzscheme feature supported, make mzscheme.vim empty.
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif has("mzscheme") | sp another | w! mzscheme.vim | q | endif
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" If +lua feature supported, make lua.vim empty.
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif has("lua") | sp another | w! lua.vim | q | endif
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" If +eval feature supported quit here, leaving tiny.vim and small.vim empty.
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Otherwise write small.vim to skip the test.
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif 1 | q! | endif
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test2.in" 29 lines, 717 characters[2;1HThis 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>"))[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[5;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 19 lines, 336 characters written[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[6;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[2M[1;24r[22;1H5GdG:wq! test.out
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hfirst test for URL://machine.name/tmp/vimtest2a and other text
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^first
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[23;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H/[?25h[?0ctmp
[?25l[?1c[23;35H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append(0, expand("<cfile>"))
[?25l[?1c[23;35H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^second
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hsecond test for URL://machine.name/tmp/vimtest2b. And other text[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0cURL
[?25l[?1c[23;17H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append(1, expand("<cfile>"))
[?25l[?1c[23;17H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif has("ebcdic")
[?25l[?1c
: [?25h[?0c: set isf=@,240-249,/,.,-,_,+,,,$,:,~,\
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: set isf=@,48-57,/,.,-,_,+,,,$,:,~,\
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1HSTARTTEST
:so small.vim
/^first
/tmp[24;1H[K[23;17H[?25h[?0c[?25l[?1c
/[?25h[?0c^third
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hthird test for URL:\\machine.name\vimtest2c and other text[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0cname
[?25l[?1c[23;30H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append(2, expand("<cfile>"))
[?25l[?1c[23;30H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^fourth
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hfourth test for URL:\\machine.name\tmp\vimtest2d, and other text[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0cURL
[?25l[?1c[23;17H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append(3, expand("<cfile>"))
[?25l[?1c[23;17H[?25h[?0c[?25l[?1c[1;23r[1;1H[6L[1;24r[2;1HThis is a test if a URL is recognized by "gf", with the cursor before and
after the "://". Also test ":\\".
STARTTEST
:so small.vim[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H29 fewer lines[27m[24m[0m[H[J[1;1HURL:\\machine.name\tmp\vimtest2d
[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H29 fewer lines[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cwq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 4 lines, 128 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test3.in" 2024 lines, 21290 characters[1;1H/* vim: set cin ts=4 sw=4 : */
Test for 'cindent'
STARTTEST
:so small.vim
:set nocompatible viminfo+=nviminfo modeline
:edit[16C" read modeline
/start of AUTO
=/end of AUTO
ENDTEST
/* start of AUTO matically checked vim: set ts=4 : */
{[15;9Hif (test)[16;17Hcmd1;[17;9Hcmd2;
}
{[21;9Hif (test)[22;17Hcmd1;[23;9Helse[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1H/* vim: set cin ts=4 sw=4 : */[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[5;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 5 lines, 125 characters written[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[6;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[11;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocompatible viminfo+=nviminfo modeline
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cedit " read modeline
[?25l[?1c"test3.in"[24;22H[K[24;12H2024L, 21290C[15;5Hif (test)[15;14H[K[16;9Hcmd1;[16;17H[K[17;5Hcmd2;[17;10H[K[21;5Hif (test)[21;14H[K[22;9Hcmd1;[22;17H[K[23;5Helse[23;9H[K[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cstart of AUTO
[?25l[?1c[13;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cend of AUTO
[?25l[?1c859 lines to indent...
8500
750
650
550
450
350
250
150
50 lines to indent...
860 lines indented [24;20H[K[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[27m[24m[0m[H[J[1;1Hnamespace 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[1m[34m^[[0m
ENDTEST
{
/* this is
* a real serious important big
* comment
*/[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 93C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[15;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset tw=0 wm=60 columns=80 noai fo=croq
[?25l[?1c[27m[24m[0m[H[J[1;1Hnamespace 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[1m[34m^[[0m
ENDTEST
{
/* this is
* a real serious important big
* comment
*/[16;1H[?25h[?0c[?25l[?1c[24;1H/[?25h[?0cserious/e
[?25l[?1c[21;17H[?25h[?0c[?25l[?1c
[1m-- INSERT --[0m[24;1H[K[1;23r[23;1H
[1;24r[20;19H[K[21;4Habout life, the
* universe, and the
* rest important big[23;7H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;2H* comment[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[5M[1;24r[19;2H*/
/* insert " about life, the universe, and the rest" after "serious" */
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set nocin
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H6L, 78C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[5M[1;24r[19;1H/comments
joabout life[1m[34m^[[0m/happens
jothere[1m[34m^[[0m/below
oline[1m[34m^[[0m/this
Ohello[1m[34m^[[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocin
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0ccomments
[?25l[?1c[1;23r[1;1H[4M[1;24r[21;1H{
/*[23;6H* Testing for comments, without 'cin' set[24;1H[K[23;20H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;6H*/[?25h[?0c[?25l[?1c
[1m-- INSERT --[0m[24;1H[K[1;23r[23;1H
[1;24r[23;1Habout life[?25h[?0c[?25l[?1c
/[?25h[?0chappens
[?25l[?1c[1;23r[1;1H[3M[1;24r[22;1H/*
* what happens here?[24;1H[K[23;8H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H*/[?25h[?0c[?25l[?1c
[1m-- INSERT --[0m[24;1H[K[1;23r[23;1H
[1;24r[23;1Hthere[?25h[?0c[?25l[?1c
/[?25h[?0cbelow
[?25l[?1c[1;23r[1;1H[3M[1;24r[22;5H/*[23;8Hthe end of the comment, try inserting a line below */[24;1H[K[23;53H[?25h[?0c[?25l[?1c
[1m-- INSERT --[0m[24;1H[K[1;23r[23;1H
[1;24r[23;1Hline[?25h[?0c[?25l[?1c
/[?25h[?0cthis
[?25l[?1c[1;23r[1;1H[3M[1;24r[22;9H/* how about[23;25Hthis one */[24;1H[K[23;25H[?25h[?0c[?25l[?1c
[1m-- INSERT --[0m[24;1H[K[23;1Hhello[23;25H[K[23;5H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;25Hthis one */[23;8H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[3M[1;24r[21;1H}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cin
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 18C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[2M[1;24r[22;1H/vec2
==[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cin
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cvec2
[?25l[?1c[1;23r[1;1H[5M[1;24r[20;1H{
var = this + that + vec[0] * vec[0][22;23H+ vec[1] * vec[1][23;23H+ vec2[2] * vec[2];[24;1H[K[23;25H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cin
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H5L, 51C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[4M[1;24r[20;1H:set cino=}4
/testing1
k2==/testing2
k2==[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cin
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=}4
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0ctesting1
[?25l[?1c[1;23r[1;1H[8M[1;24r[17;1H{[18;9Hasdf asdflkajds f;
if (tes & ting) {[20;9Hasdf asdf asdf ;[21;9Hasdfa sdf asdf;[22;9H}
testing1;[24;1H[K[23;5H[?25h[?0c[22;8H [?25l[?1c
/[?25h[?0ctesting2
[?25l[?1c[1;23r[1;1H[6M[1;24r[18;5Hif (tes & ting)
{[20;9Hasdf asdf asdf ;[21;9Hasdfa sdf asdf;[22;9H}
testing2;[24;1H[K[23;5H[?25h[?0c[22;8H [23;9H[?25l[?1c
/^STARTTEST
[1;23r[1;1H[3M[1;24r[21;1H}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cin
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H4L, 36C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[3M[1;24r[21;1H:set cino=(0,)20
/main
=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cin
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=(0,)20
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cmain
[?25l[?1c[1;23r[1;1H[2M[1;24r[23;1Hmain ( int first_par, /*[24;1H[K[23;1H[?25h[?0c[?25l[?1c
19 lines to indent...
20[7Cindented [24;19H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;24H* Comment for[24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[27m[24m[0m[H[J[1;23H* Comment for[2;23H* first par[3;23H*/[4;11Hsecond_par /*[5;23H* Comment for[6;23H* second par[7;23H*/[8;9H);
}
STARTTEST
:set cin
:set cino=
]]=][
ENDTEST
{
do
{[21;9Hif ()[22;9H{[23;13Hif ()[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 26C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[15;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cin
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=
[?25l[?1c[16;1H[?25h[?0c
[?25l[?1c[24;1H11 lines to indent...
12[7Cindented [24;19H[K[18;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[1;1H[9M[1;24r[15;17Hasdf;[16;13Helse[17;17Hasdf;[18;9H}
} while ();
cmd;[8C/* this should go under the } */
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H]]=][
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H1L, 6C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[3M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
8 lines to indent...
9[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hif ( k() ) {[24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[10M[1;24r[14;9Hl();[16;5H} else { /* Start (two words) end */[17;9Hm();
}[20;5Hn();
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino={s,e-s
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 23C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino={s,e-s
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[3M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
7 lines to indent...
8[7Cindented [24;18H[K[23;1H {[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hif ( k() )[24;1H[K[23;5H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[9M[1;24r[15;9H{[16;9Hl();[17;9H} else { /* Start (two words) end */[18;9Hm();[19;9H}
n(); /* should be under the if () */
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino={s,fs
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 25C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H]]=/ foo[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino={s,fs
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[3M[1;24r[22;1Hvoid bar(void)
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0c foo
[?25l[?1c30 lines to indent...
31[7Cindented [24;19H[K[23;1H {[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[27m[24m[0m[H[J[1;1Hvoid func(void)
{
a = 1;[4;9H{[5;9Hb = 2;[6;9H}
c = 3;
d = 4;
}
/* foo */
STARTTEST
:set cino=
/while
ohere[1m[34m^[[0m
ENDTEST
a()
{
do {
a = a +[22;7Ha;
} while ( a );[8C/* add text under this line */[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 25C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[15;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cwhile
[?25l[?1c[23;5H[?25h[?0c[?25l[?1c
[1m-- INSERT --[0m[24;1H[K[1;23r[23;1H
[1;24r[23;3Hhere[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hif ( a )
i[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[4M[1;24r[20;7Ha;
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino= com=
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 109C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[3M[1;24r[21;1H/comment
olabel2: b();[1m[34m^M[0mlabel3 /* post */:[1m[34m^M[0m/* pre */ label4:[1m[34m^M[0mf(/*com*/);[1m[34m^M[0mif (/*com*/)[1m[34m^[23;1HM[0mcmd();[1m[34m^[[0m[24;1H[K[22;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino= com=
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0ccomment
[?25l[?1c[1;23r[1;1H[6M[1;24r[19;1Ha()
{
label1:[22;13H/* hmm */[23;13H// comment[24;1H[K[23;16H[?25h[?0c[?25l[?1c
[1m-- INSERT --[0m[24;1H[K[1;23r[1;1H[6M[1;24r[18;1Hlabel2: b();
label3 /* post */:
/* pre */ label4:[21;9Hf(/*com*/);[22;9Hif (/*com*/)[23;13Hcmd();[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set comments& comments^=s:/*,m:**,ex:*/
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 53C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[2M[1;24r[22;1H/simple
=5j[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset comments& comments^=s:/*,m:**,ex:*/
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0csimple
[?25l[?1c[1;23r[1;1H[3M[1;24r[22;1H/*
* A simple comment[24;1H[K[23;7H[?25h[?0c[?25l[?1c
5 lines to indent...
6[7Cindented [24;18H[K[23;2H* A simple comment[23;20H[K[23;2H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;2H*/[24;1H[K[23;2H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[6M[1;24r[19;1H/*
** A different comment
*/
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=c0
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 70C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[2M[1;24r[22;1H:set comments& comments-=s1:/* comments^=s0:/*
2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=c0
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset comments& comments-=s1:/* comments^=s0:/*
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
4 lines to indent...
5[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[6M[1;24r[18;5H/*********[19;7HA comment.
*********/
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=c0,C1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 73C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[2M[1;24r[22;1H:set comments& comments-=s1:/* comments^=s0:/*
2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=c0,C1
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset comments& comments-=s1:/* comments^=s0:/*
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
4 lines to indent...
5[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[6M[1;24r[18;5H/*********
A comment.
*********/
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 17C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[3M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
5 lines to indent...
6[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hc = c1 &&[24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[7M[1;24r[17;9H([18;10Hc2 ||[19;10Hc3[20;9H) && c4;
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=(s
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 23C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=(s
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
5 lines to indent...
6[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hc = c1 &&[24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[7M[1;24r[17;9H([18;10Hc2 ||[19;10Hc3[20;9H) && c4;
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=(s,U1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 28C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=(s,U1
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
5 lines to indent...
6[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hc = c1 &&[24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[7M[1;24r[17;9H([18;13Hc2 ||[19;13Hc3[20;9H) && c4;
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=(0
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 23C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=(0
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
4 lines to indent...
5[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hif ( c1[24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[6M[1;24r[18;12H&& ( c2[19;19H|| c3))[20;9Hfoo;
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=(0,w1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 28C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=(0,w1
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
4 lines to indent...
5[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hif ( c1[24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[6M[1;24r[18;9H&& ( c2[19;13H|| c3))[20;9Hfoo;
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=(s
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 23C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=(s
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
8 lines to indent...
9[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hc = c1 && ([24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[10M[1;24r[14;9Hc2 ||[15;9Hc3[16;9H) && c4;
if ([18;9Hc1 && c2[19;8H)[20;9Hfoo;
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=(s,m1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 28C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=(s,m1
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
8 lines to indent...
9[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hc = c1 && ([24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[10M[1;24r[14;9Hc2 ||[15;9Hc3
) && c4;
if ([18;9Hc1 && c2
)[20;9Hfoo;
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=b1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 23C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=b1
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
9 lines to indent...
10 lines indented [24;19H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hswitch (x)[24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[11M[1;24r[13;5H{[14;9Hcase 1:[15;13Ha = b;[16;9Hbreak;[17;9Hdefault:[18;13Ha = 0;[19;9Hbreak;
}
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=(0,W5
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 26C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=(0,W5
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
10 lines to indent...
11[7Cindented [24;19H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hinvokeme([24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[12M[1;24r[12;10Hargu,[13;10Hment);
invokeme([15;10Hargu,[16;10Hment[17;10H);
invokeme(argu,[19;14Hment[20;13H);
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=/6
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[Kdh_gencontrol
[24;11H2L, 23C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=/6
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
3 lines to indent...
4[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hstatement;[24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[5M[1;24r[19;11H// comment 1[20;11H// comment 2
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 34C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[2M[1;24r[22;1H2kdd]]/comment 1/+1
==[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c==[21;3H[K[22;1HENDTEST[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hvoid f()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0ccomment 1/+1
[?25l[?1c[1;23r[1;1H[3M[1;24r[21;5Hstatement;[22;8H// comment 1
// comment 2[24;1H[K[23;4H[?25h[?0c[?25l[?1c // comment 2[23;8H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=g0
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 23C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=g0
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hclass CAbc
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
6 lines to indent...
7[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hint Test() { return FALSE; }[24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[8M[1;24r[17;1Hpublic: // comment
void testfall();
protected:
void testfall();
};
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=(0,gs,hs
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 29C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=(0,gs,hs
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hclass Foo : public Bar
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
5 lines to indent...
6[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hpublic:[24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[7M[1;24r[17;9Hvirtual void method1(void) = 0;[18;9Hvirtual void method2(int arg1,[19;30Hint arg2,[20;30Hint arg3) = 0;
};
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=+20
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 24C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=+20
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[3M[1;24r[21;5Hvoid
foo()
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
4 lines to indent...
5[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hif (a)[24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[6M[1;24r[18;5H{
} else[20;9Hasdf;
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=(0,W2s
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 27C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd]]=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=(0,W2s
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd]]=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
34 lines to indent...
35[7Cindented [24;19H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Haverylongfunctionnamelongfunctionnameaverylongfunctionname()->asd([24;1H[K[23;4H[?25h[?0c[?25l[?1c
/^STARTTEST
[27m[24m[0m[H[J[1;21Hdec)->asdfasdfasdf([2;29Hasdfadsf,[3;29Hasdfasdf,[4;29Hasdfasdf,[5;29H),[6;13Hfunc(asdfadf,[7;18Hasdfasdf),[8;13Hasdasdf[9;13H);
}
STARTTEST
:set cino=M1
2kdd]]=][
ENDTEST
int main ()
{
if (cond1 &&[20;13Hcond2[21;13H)[22;9Hfoo;
}[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 23C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=M1
[?25l[?1c[15;1H[?25h[?0c[13;1H[?25l[?1c[13;23r[23;1H
[1;24r[24;1H[K[13;1H[?25h[?0c[17;1H[?25l[?1c[24;1H4 lines to indent...
5[7Cindented [24;18H[K[17;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[23;1H
[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=(0,ts
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 24C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=(0,ts
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd=][[21;8H[K[22;1HENDTEST[23;1H[K[21;1H[?25h[?0c[?25l[?1c
9 lines to indent...
10 lines indented [24;19H[K[21;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[1;1H[10M[1;24r[14;1Hvoid func(int a
#if defined(FOO)[16;11H, int b[17;11H, int c
#endif[19;10H)
{
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=(0
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 21C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=(0
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd=][[21;8H[K[22;1HENDTEST[23;1H[K[21;1H[?25h[?0c[?25l[?1c
10 lines to indent...
11[7Cindented [24;19H[K[21;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[1;1H[11M[1;24r[13;5Hvoid
func(int a
#if defined(FOO)[16;6H, int b[17;6H, int c
#endif
)
{
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino&
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 20C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd=7][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino&
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd=7][[21;9H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c
71 lines to indent...
50
72[7Cindented [24;19H[K[21;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[27m[24m[0m[H[J[1;9Hint a,[2;9Hint b)
{
}[6;5Hvoid
func6([8;9Hint a)
{
}
STARTTEST
:set cino&
:set cino+=l1
2kdd=][
ENDTEST
void func(void)
{
int tab[] =
{[22;9H1, 2, 3,[23;9H4, 5, 6};[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[Kdpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
[24;11H3L, 33C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[15;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[16;1H[?25h[?0cdh_md5sums
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino&
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino+=l1
[?25l[?1c[16;1H[?25h[?0c[14;1H[?25l[?1c[14;23r[23;1H
[1;24r[24;1H[K[14;1H[?25h[?0c[?25l[?1c[24;1H24 lines to indent...
25[7Cindented [24;19H[K[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[27m[24m[0m[H[J[1;13Hbreak;[2;9Hcase baz: {[3;13Hprintf("baz");[4;13Hbreak;[5;9H}[6;9Hcase quux:[7;13Hprintf("But don't break the indentation of this instruction\n");[8;13Hbreak;
}
}
STARTTEST
:set cino&
2kdd=][
ENDTEST
void func(void)
{
cout << "a"
<< "b"
<< ") :"
<< "c";
}[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 19C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino&
[?25l[?1c[15;1H[?25h[?0c[13;1H[?25l[?1c[13;23r[23;1H
[1;24r[24;1H[K[13;1H[?25h[?0c[?25l[?1c[24;1H8 lines to indent...
9[7Cindented [24;18H[K[19;5H << "b"
<< ") :"
<< "c";[13;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[23;1H
[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set com=s1:/*,m:*,ex:*/
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 38C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H]]3jofoo();[1m[34m^[[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset com=s1:/*,m:*,ex:*/
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[3M[1;24r[22;1Hvoid func(void)
{[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[3M[1;24r[21;5H/*[22;6H* This is a comment.[23;6H*/[?25h[?0c[?25l[?1c
[1m-- INSERT --[0m[24;1H[K[1;23r[23;1H
[1;24r[23;5Hfoo();[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino&
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 19C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino&
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd=][[21;8H[K[22;1HENDTEST[23;1H[K[21;1H[?25h[?0c[?25l[?1c
10 lines to indent...
11[7Cindented [24;19H[K[21;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[1;1H[11M[1;24r[13;1Hvoid func(void)
{
for (int i = 0; i < 10; ++i)[16;9Hif (i & 1) {[17;13Hfoo(1);[18;9H} else[19;13Hfoo(0);
baz();
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=k2s,(0
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 27C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[23;1H
[1;24r[23;1H2kdd3j=][[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=k2s,(0
[?25l[?1c[23;1H[?25h[?0c[21;1H[?25l[?1c2kdd3j=][[21;10H[K[22;1HENDTEST[22;8H[K[23;1H[K[21;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hvoid func(void)[24;1H[K[23;1H[?25h[?0c[?25l[?1c
23 lines to indent...
24[7Cindented [24;19H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/^STARTTEST
[27m[24m[0m[H[J[2;5Hif ( c1[3;13H&& ( c2[4;23H|| c3))[5;9Hfoo;
func( c1[7;11H&& ( c2[8;20H|| c3))[9;9Hfoo;
}
STARTTEST
:set cino=k2s,(s
2kdd3j=][
ENDTEST
void func(void)
{
if (condition1
&& condition2)
action();
function(argument1
&& argument2);[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[Kdh_builddeb -- -Zxz
[24;11H2L, 27C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=k2s,(s
[?25l[?1c[15;1H[?25h[?0c[13;1H[?25l[?1c[13;23r[23;1H
[1;24r[24;1H[K[13;1H[?25h[?0c
[?25l[?1c[24;1H23 lines to indent...
24[7Cindented [24;19H[K[19;5H && condition2)
action();[22;5H && argument2);[16;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[27m[24m[0m[H[J[2;5Hif ( c1[3;13H&& ( c2[4;17H|| c3))[5;9Hfoo;
func( c1[7;9H&& ( c2[8;13H|| c3))[9;9Hfoo;
}
STARTTEST
:set cino=k2s,(s,U1
2kdd3j=][
ENDTEST
void func(void)
{
if (condition1
&& condition2)
action();
function(argument1
&& argument2);[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 30C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=k2s,(s,U1
[?25l[?1c[15;1H[?25h[?0c[13;1H[?25l[?1c[13;23r[23;1H
[1;24r[24;1H[K[13;1H[?25h[?0c
[?25l[?1c[24;1H24 lines to indent...
25[7Cindented [24;19H[K[19;5H && condition2)
action();[22;5H && argument2);[16;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[27m[24m[0m[H[J[1;13H&& (c22345[2;17H|| c3))[3;9Hprintf("foo\n");[5;5Hc = c1 &&[6;9H([7;13Hc2 ||[8;13Hc3[9;9H) && c4;
}
STARTTEST
:set cino=k2s,(0,W4
2kdd3j=][
ENDTEST
void func(void)
{
if (condition1
&& condition2)
action();
function(argument1
&& argument2);[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 30C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[15;1H[?25h[?0cdpkg-deb: building package `vim-nox' in `../vim-nox_7.3.547-7+deb7u3_armhf.deb'.
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=k2s,(0,W4
[?25l[?1c[15;1H[?25h[?0c[13;1H[?25l[?1c[13;23r[23;1H
[1;24r[24;1H[K[13;1H[?25h[?0c
[?25l[?1c[24;1H29 lines to indent...
30[7Cindented [24;19H[K[19;5H && condition2)
action();[22;5H && argument2);[16;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[27m[24m[0m[H[J[1;13H&& ( c2[2;20H|| c3))[3;9Hfoo;[5;5Ha_long_line([6;9Hargument,[7;9Hargument);
a_short_line(argument,[9;18Hargument);
}
STARTTEST
:set cino=k2s,u2
2kdd3j=][
ENDTEST
void func(void)
{
if (condition1
&& condition2)
action();
function(argument1
&& argument2);[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 27C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=k2s,u2
[?25l[?1c[15;1H[?25h[?0c[13;1H[?25l[?1c[13;23r[23;1H
[1;24r[24;1H[K[13;1H[?25h[?0c
[?25l[?1c[24;1H18 lines to indent...
19[7Cindented [24;19H[K[19;5H && condition2)
action();[22;5H && argument2);[16;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[27m[24m[0m[H[J[1;9Hfoo;
if (c1 &&[3;13H(c2 || c3))
{
}
if (c123456789[7;13H&& (c22345[8;15H|| c3))[9;9Hprintf("foo\n");
}
STARTTEST
:set cino=k2s,(0,w1
2kdd3j=][
ENDTEST
void func(void)
{
if (condition1
&& condition2)
action();
function(argument1
&& argument2);[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 30C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=k2s,(0,w1
[?25l[?1c[15;1H[?25h[?0c[13;1H[?25l[?1c[13;23r[23;1H
[1;24r[24;1H[K[13;1H[?25h[?0c
[?25l[?1c[24;1H27 lines to indent...
28[7Cindented [24;19H[K[19;5H && condition2)
action();[22;5H && argument2);[16;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[27m[24m[0m[H[J[2;5Hif ( c1[3;13H&& ( c2[4;17H|| c3))[5;9Hfoo;
func( c1[7;10H&& ( c2[8;14H|| c3))[9;9Hfoo;
}
STARTTEST
:set cino=k2,(s
2kdd3j=][
ENDTEST
void func(void)
{
if (condition1[20;7H&& condition2)[21;9Haction();
function(argument1[23;9H&& argument2);[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 26C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=k2,(s
[?25l[?1c[15;1H[?25h[?0c[13;1H[?25l[?1c[13;23r[23;1H
[1;24r[24;1H[K[13;1H[?25h[?0c
[?25l[?1c[24;1H14 lines to indent...
15[7Cindented [24;19H[K[16;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[1;1H[10M[1;24r[14;5Hif (c1 && (c2 ||[15;11Hc3))[16;9Hfoo;
if (c1 &&[18;7H(c2 || c3))
{
}
}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=N-s
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 47C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[2M[1;24r[22;1H/^NAMESPACESTART
=/^NAMESPACEEND[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=N-s
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^NAMESPACESTART
[?25l[?1c[1;23r[1;1H[2M[1;24r[23;1HNAMESPACESTART[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0c^NAMESPACEEND
[?25l[?1c61 lines to indent...
50
62[7Cindented [24;19H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[27m[24m[0m[H[J[1;1Hnamespace test test2
{
1111111111111111111;
}
namespace111111111
{
111111111111111111;
}
NAMESPACEEND
STARTTEST
:set cino=j1,J1
/^JSSTART
=/^JSEND
ENDTEST
JSSTART
var bar = {
foo: {
that: this,
some: ok,
},[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 35C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[15;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=j1,J1
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^JSSTART
[?25l[?1c[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^JSEND
[?25l[?1c12 lines to indent...
13[7Cindented [24;19H[K[20;1H foo: {
that: this,
some: ok,
},[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[1;1H[10M[1;24r[14;5H"bar":{[15;9Ha : 2,[16;9Hb: "123abc",[17;9Hx: 4,[18;9H"y": 5
}
}
JSEND
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=j1,J1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 35C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[2M[1;24r[22;1H/^JSSTART
=/^JSEND[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=j1,J1
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^JSSTART
[?25l[?1c[1;23r[1;1H[2M[1;24r[23;1HJSSTART[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0c^JSEND
[?25l[?1c5 lines to indent...
6[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[1;1H[8M[1;24r[16;1Hvar foo = [
1, // indent 8 more
2,
3
]; // indent 8 less
JSEND
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=j1,J1
[?25h[?0c[?25l[?1c
:dh_gencontrol
set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 35C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[2M[1;24r[22;1H/^JSSTART
=/^JSEND[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=j1,J1
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^JSSTART
[?25l[?1c[1;23r[1;1H[2M[1;24r[23;1HJSSTART[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0c^JSEND
[?25l[?1c7 lines to indent...
8[7Cindented [24;18H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[1;1H[10M[1;24r[14;1Hfunction bar() {
var foo = [[16;9H1,[17;9H2,[18;9H3[19;13H]; // indent 16 less
}
JSEND
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=j1,J1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 35C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[2M[1;24r[22;1H/^JSSTART
=/^JSEND[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=j1,J1
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^JSSTART
[?25l[?1c[1;23r[1;1H[2M[1;24r[23;1HJSSTART[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0c^JSEND
[?25l[?1c52 lines to indent...
503[7Cindented [24;19H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[27m[24m[0m[H[J[1;21Hreturn false;[2;17H}[3;17H_arguments[0]=options;[4;17Hmethod.apply(this,_arguments);[5;13H}[6;9H});
}
})(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: [[12;1H[?25h[?0c
[?25l[?1c[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 35C written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST/+-1[24;13H[K[24;1H[15;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=j1,J1
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^JSSTART
[?25l[?1c[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^JSEND
[?25l[?1c14 lines to indent...
15[7Cindented [24;19H[K[20;1H $(this).data(class_name+'_public',$.extend({},{
foo: 'bar',
bar: 2,
foobar: [[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[1;1H[12M[1;24r[12;9H1, // indent 8 more[13;9H2, // indent 8 more[14;9H3 // indent 8 more[15;9H],[16;9Hcallback: function(){[17;13Hreturn true;[18;9H}
}, options||{}));
}
JSEND
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set cino=j1,J1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3L, 35C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[1;23r[1;1H[2M[1;24r[22;1H/^JSSTART
=/^JSEND[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HENDTEST
[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cino=j1,J1
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^JSSTART
[?25l[?1c[1;23r[1;1H[2M[1;24r[23;1HJSSTART[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0c^JSEND
[?25l[?1c16 lines to indent...
17[7Cindented [24;19H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[1;1H[19M[1;24r[5;1H(function($){
function init(options) {[7;9H$(this).data(class_name+'_public',$.extend({},{[8;13Hfoo: 'bar',[9;9Hbar: 2, // indent 8 more[10;9Hfoobar: [ // indent 8 more[11;13H1, // indent 8 more[12;9H2, // indent 16 more[13;9H3 // indent 16 more[14;13H],[15;9Hcallback: function(){ // indent 8 more[16;13Hreturn true; // indent 8 more[17;9H} // indent 8 more[18;9H}, options||{}));
}
})(jQuery);
JSEND
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2L, 61C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST/+-1[24;13H[K[24;1H[22;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cg/^STARTTEST/.,/^ENDTEST/d
[?25l[?1c210 fewer lines[24;16H[K[1;1H}[1;2H[K[2;1HJSEND[3;1H[K[4;1H[K[5;1HJSSTART[5;8H[K[6;1H(function($){[6;14H[K[7;5Hfunction init(options) {[8;9H$(this).data(class_name+'_public',$.extend({},{[9;9H foo: 'bar',[9;24H[K[10;9Hbar: 2, // indent 8 more[11;9Hfoobar: [ // indent 8 more[12;9H 1, // indent 8 more[13;9H2, // indent 16 more[14;9H3 // indent 16 more[14;29H[K[15;13H],[15;15H[K[16;9Hcallback: function(){ // indent 8 more[17;9H return true; // indent 8 more
} // indent 8 more
}, options||{}));
}
})(jQuery);
JSEND[22;6H[K[23;1H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c1;/start of AUTO/,$wq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New] 1794L, 18203C written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test4.in" 31 lines, 839 characters[1;1HTest 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[13C" split to Xxx, autocmd will do :brew
G?this is a
othis should be auto-indented[1m[34m^[[0m
:[19C" Append text with autoindent to this file
:au! BufEnter Xxx
:buf Xxx[12C" go to Xxx, no autocmd anymore
G?this is a
othis should be in column 1[1m[34m^[[0m:wq " append text without autoindent to Xxx
G:r Xxx[13C" include Xxx in the current file
:?startstart?,$w! test.out
:qa!
ENDTEST[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for autocommand that changes current buffer on BufEnter event.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[4;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 17 lines, 557 characters written[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[5;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[22;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocompatible viminfo+=nviminfo
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufEnter Xxx brew
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cstart of
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hstartstart
start of test file Xxx[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c.,/end of/w! Xxx " write test file Xxx
[?25l[?1c"Xxx" [24;7H[K[24;7H[New] 7L, 124C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ai modeline modelines=3
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csp Xxx " split to Xxx, autocmd will do :brew
[?25l[?1c"Xxx" [24;7H[K[24;7H7L, 124C[1;1HTest for autocommand that changes current buffer on BufEnter event.
Check if modelines are interpreted for the correct buffer.[3;1H[K[4;1HSTARTTEST[4;10H[K[5;2Hso small.vim[5;14H[K[6;1H:set nocompatible viminfo+=nviminfo
:au BufEnter Xxx brew[7;23H[K[8;1H/start of[8;10H[K[9;2H.,/end of/w! Xxx " write test file Xxx[9;42H[K[10;1H:set ai modeline modelines=3
:sp Xxx " split to Xxx, autocmd will do :brew
[1m[7mtest4.in [0m[13;2Hbuf Xxx " go to Xxx, no autocmd anymore
G?this is a[14;21H[K[15;1Hothis should be in column 1[1m[34m^[[0m:wq " append text without autoindent to Xxx
G:r Xxx " include Xxx in the current file[16;54H[K[17;1H:?startstart?,$w! test.out[17;27H[K[18;2Hqa![18;5H[K[19;1HENDTEST[20;1H[K[21;1Hstartstart[22;6H of test file Xxx
[7mtest4.in [0m[24;2Htest4.in" line 1 of 31 --3%-- col 1[1;1H[?25h[?0c[?25l[?1c:qa![1;6H[K[2;1HENDTEST[2;8H[K[4;1Hstartstart
start of test file Xxx
vim: set noai :[6;16H[K[7;1H this is a test
this is a test
this is a test[9;23H[K[10;1H this is a test[10;23H[K[11;1Hend of test file Xxx[11;21H[K[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H?[?25h[?0cthis is a
[?25l[?1c[10;9H[?25h[?0c[?25l[?1c[24;1H[1m-- INSERT --[0m[24;1H[K[11;1H this should be auto-indented[12;10H[1m[7m[+][0m[23;10H[7m[+][11;36H[?25h[?0c[?25l[?1c[1;11r[0m[11;1H
[1;24r[11;1Hend of test file Xxx[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c " Append text with autoindent to this file
[?25l[?1c[11;20H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau! BufEnter Xxx
[?25l[?1c[11;20H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbuf Xxx " go to Xxx, no autocmd anymore
[?25l[?1c"Xxx" [24;7H[K[24;7H7L, 124C[1;1Hstart of test file Xxx
vim: set noai :
this is a test
this is a test
this is a test
end of test file Xxx[7;21H[K[8;1H[1m[34m~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7mXxx [1;1H[?25h[?0c[7;1H[?25l[?1c[0m[24;1H[K[24;1H?[?25h[?0cthis is a
[?25l[?1c[6;9H[?25h[?0c[?25l[?1c[24;1H[1m-- INSERT --[0m[24;1H[K[7;11r[7;1H[L[1;24r[7;1Hthis should be in column 1[12;5H[1m[7m[+][7;26H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0cwq " append text without autoindent to Xxx
[?25l[?1c"Xxx[24;7H[K[24;7H8L, 151C written[1;1H[K[2;1HSTARTTEST[2;10H[K[3;1H:so small.vim[3;14H[K[4;1H:set nocompatible viminfo+=nviminfo
:au BufEnter Xxx brew[5;22H[K[6;1H/start of[6;10H[K[7;1H:.,/end of/w! Xxx " write test file Xxx
:set ai modeline modelines=3
:sp Xxx " split to Xxx, autocmd will do :brew[9;58H[K[10;1HG?this is a[10;12H[K[11;1Hothis should be auto-indented[1m[34m^[[0m[11;32H[K[12;1H: " Append text with autoindent to this file[12;63H[K[13;2Hau! BufEnter Xxx[13;21H[K[14;1H:buf Xxx [9C" go to Xxx, no autocmd anymore
G?this is a[15;12H[K[16;1Hothis should be in column 1[1m[34m^[[0m:wq " append text without autoindent to Xxx
G:r Xxx " include Xxx in the current file
:?startstart?,$w! test.out
:qa![19;5H[K[20;1HENDTEST[21;1H[K[22;6Hstar[22;11H[K[23;1Hstart of test file Xxx[23;23H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[7M[1;24r[17;1Hvim: set noai :[18;9Hthis is a test[19;9Hthis is a test[20;9Hthis is a test[21;9Hthis is a test[22;9Hthis should be auto-indented
end of test file Xxx[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cr Xxx " include Xxx in the current file
[?25l[?1c"Xxx" [24;20H[K[24;7H8L, 151C[1;23r[23;1H
[1;24r[23;1Hstart of test file Xxx[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c?startstart?,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New] 17L, 316C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test5.in" 29 lines, 949 characters[1;1HTest 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[15C" write test file Xxx
:sp Xxx[25C" split to Xxx
:bwipe[26C" delete buffer Xxx, now we're back here
G?this is a
othis is some more text[1m[34m^[[0m
:[31C" Append some text to this file
:?start?,$w! test.out[11C" Write current file contents
:bwipe test.out[17C" delete alternate buffer
:au bufleave test5.in bwipe
:bwipe![25C" delete current buffer, get an empty one
ithis is another test line[1m[34m^[[0m:w >>test.out
:[31C" append an extra line to the output file
:qa!
ENDTEST
start of test file Xxx[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for autocommand that deletes the current buffer on BufLeave event.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[4;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[Kdpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums
[24;11H[New File] 16 lines, 664 characters written[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[5;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[21;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufLeave Xxx bwipe
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cstart of
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.,/end of/w! Xxx " write test file Xxx
[?25l[?1c"Xxx" [24;7H[K[24;7H[New File] 7 lines, 124 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csp Xxx " split to Xxx
[?25l[?1c"Xxx" [24;7H[K[24;7H7 lines, 124 characters[1;1Hstart of test file Xxx[1;23H[K[2;1Hvim: set noai :[2;16H[K[3;9Hthis is a test
this is a test
this is a test
this is a test
end of test file Xxx
[1m[34m~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7mXxx [0m[13;2H?start?,$w! test.out[13CWrite current file contents[13;62H[K[14;2Hbwipe test.out [13Cdelete alternate buffer[14;58H[K[15;2Hau bufleave test5.in bwipe[15;33H[K[16;2Hbwipe! " delete current buffer, get an empty one
ithis is another test line[1m[34m^[[0m:w >>test.out[17;42H[K[18;1H: " append an extra line to the output file
:qa![19;33H[K[20;1HENDTEST[21;1H[K[22;1Hstart of test file Xxx
[7mtest5.in [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cbwipe " delete buffer Xxx, now we're back here
[?25l[?1c[1;1HTest for autocommand that deletes the current buffer on BufLeave event.
Also test deleting the last buffer, should give a new, empty buffer.[3;9H[K[4;1HSTARTTEST[4;10H[K[5;1H:so small.vim[5;14H[K[6;1H:au BufLeave Xxx bwipe
/start of[7;10H[K[8;1H:.,/end of/w! Xxx " write test file Xxx[8;54H[K[9;1H:sp Xxx " split to Xxx[9;47H[K[10;1H:bwipe " delete buffer Xxx, now we're back here[10;73H[K[11;1HG?this is a[11;12H[K[12;1Hothis is some more text[1m[34m^[[0m[12;26H[K[13;2H [13CAppend some text to this file
:?start?,$w! test.out[13CWrite current file contents
:bwipe test.out " delete alternate buffer
:au bufleave test5.in bwipe[16;33H[K[17;1H:bwipe! " delete current buffer, get an empty one
ithis is another test line[1m[34m^[[0m:w >>test.out[18;42H[K[19;2H [28C" append an extra line to the output file
:qa![20;5H[K[21;1HENDTEST[22;1H[K[23;1Hstart of test file Xxx[23;23H[K[24;1H"test5.in" line 23 of 29 --79%-- col 1[24;39H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[6M[1;24r[18;1Hvim: set noai :[19;9Hthis is a test[20;9Hthis is a test[21;9Hthis is a test[22;9Hthis is a test
end of test file Xxx[24;1H[K[23;1H[?25h[?0c[?25l[?1c
?[?25h[?0cthis is a
[?25l[?1c[22;9H[?25h[?0c[?25l[?1c
this is some more text[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hend of test file Xxx[24;1H[K[23;20H[?25h[?0c[?25l[?1c
:[?25h[?0c " Append some text to this file
[?25l[?1c[23;20H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c?start?,$w! test.out " Write current file contents
[?25l[?1c"test.out" [24;12H[Kdh_builddeb -- -Zxz
[24;12H[New File] 8 lines, 147 characters written[23;20H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe test.out " delete alternate buffer
[?25l[?1c[23;20H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau bufleave test5.in bwipe
[?25l[?1c[23;20H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe! " delete current buffer, get an empty one
[?25l[?1c[1m[37m[41mError detected while processing BufLeave Auto commands for "test5.in":[0m[24;71H[K[24;1H
[1m[37m[41mE89: No write since last change for buffer 1 (add ! to override)[0m
[1m[32mPress ENTER or type command to continue[?25h[?0c[0m[1;1H[2L[?25l[?1c[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H[K[1;1H[?25h[?0c[?25l[?1cthis is another test line[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[Kdpkg-deb: building package `vim-athena' in `../vim-athena_7.3.547-7+deb7u3_armhf.deb'.
[24;12H1 line, 26 characters appended[1;25H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c " append an extra line to the output file
[?25l[?1c[1;25H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test6.in" 24 lines, 739 characters[1;1HTest for autocommand that redefines the argument list, when doing ":all".
STARTTEST
:so small.vim
:au BufReadPost Xxx2 next Xxx2 Xxx1
/^start of
A1[1m[34m^[[0m:.,/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[22C" open window for all args
:w! test.out[14C" Write contents of Xxx1
[1m[34m^W^W^W^W[0m:w >>test.out " Append contents of last window (Xxx1)
:rew[22C" should now be in Xxx2
:w >>test.out[13C" Append contents of Xxx2
:qa!
ENDTEST
start of test file Xxx[20;9Hthis is a test[21;9Hthis is a test[22;9Hthis is a test[23;9Hthis is a test[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for autocommand that redefines the argument list, when doing ":all".[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 13 lines, 537 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[17;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufReadPost Xxx2 next Xxx2 Xxx1
[?25l[?1c[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^start of
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[22C1[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.,/end of/w! Xxx1 " write test file Xxx1
[?25l[?1c"Xxx1" [24;9H[K[24;8H[New File] 6 lines, 109 characters written[19;23H[?25h[?0c[?25l[?1c2[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.,/end of/w! Xxx2 " write test file Xxx2
[?25l[?1c"Xxx2" [24;9H[K[24;8H[New File] 6 lines, 109 characters written[19;23H[?25h[?0c[?25l[?1c3[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.,/end of/w! Xxx3 " write test file Xxx3
[?25l[?1c"Xxx3" [24;9H[K[24;8H[New File] 6 lines, 109 characters written[19;23H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnext! Xxx1 Xxx2 Xxx3 " redefine arglist; go to Xxx1
[?25l[?1c"Xxx1"[24;8H[K[24;8H6 lines, 109 characters[1;1Hstart of test file Xxx1[1;24H[K[2;9Hthis is a test
this is a test
this is a test
this is a test[5;23H[K[6;1Hend of test file Xxx
[1m[34m~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0call " open window for all args
[?25l[?1c"Xxx2"[24;27H[K[24;8H6 lines, 109 characters
"Xxx2" 6 lines, 109 characters
"Xxx1" line 1 of 6 --16%-- col 1 (file (3) of 2)
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! test.out " Write contents of Xxx1
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 6 lines, 109 characters written
[1m[32mPress ENTER or type command to continue[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[1;1Hstart of test file Xxx1[2;9Hthis is a test[3;9Hthis is a test[4;9Hthis is a test[5;9Hthis is a test
end of test file Xxx
[1m[34m~ [0m[8;1H[1m[7mXxx1 [0m[9;1Hstart of test file Xxx2[10;9Hthis is a test[11;9Hthis is a test[12;9Hthis is a test[13;9Hthis is a test
end of test file Xxx
[7mXxx2 [0m[16;1Hstart of test file Xxx1[17;9Hthis is a test[18;9Hthis is a test[19;9Hthis is a test[20;9Hthis is a test
end of test file Xxx
[1m[34m~ [0m[23;1H[7mXxx1 [1;1H[?25h[?0c[8;1HXxx1 [0m[15;1H[1m[7mXxx2 [9;1H[0m[15;1H[7mXxx2 [0m[23;1H[1m[7mXxx1 [16;1H[?25l[?1c[24;1H[0m:[?25h[?0cw >>test.out " Append contents of last window (Xxx1)
[?25l[?1c"test.out" [24;12H[K[24;12H6 lines, 109 characters appended[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0crew " should now be in Xxx2
[?25l[?1c"Xxx2" line 1 of 6 --16%-- col 1 (file 1 of 2)[24;47H[K[16;23H2[23;4H[1m[7m2[16;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw >>test.out " Append contents of Xxx2
[?25l[?1c"test.out" [24;12H[K[24;12H6 lines, 109 characters appended[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test7.in" 26 lines, 675 characters[1;1HTest for autocommand that changes the buffer list, when doing ":ball".
STARTTEST
:so small.vim
/^start of
A1[1m[34m^[[0m:.,/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[17C" open window for all args, close Xxx2
:.,$w! test.out[10C" Write contents of this file
[1m[34m^W^W[0m:w >>test.out[8C" Append contents of second window (Xxx1)
[1m[34m^W^W[0m:/^start of/,$w >>test.out " Append contents of last window (this file)
:qa!
ENDTEST
start of test file Xxx[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for autocommand that changes the buffer list, when doing ":ball".[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 17 lines, 508 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[21;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^start of
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[22C1[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.,/end of/w! Xxx1 " write test file Xxx1
[?25l[?1c"Xxx1" [24;9H[K[24;8H[New File] 4 lines, 77 characters written[23;23H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csp Xxx1
[?25l[?1c"Xxx1" [24;8H[K[24;8H4 lines, 77 characters[1;1Hstart of test file Xxx1[1;24H[K[2;9Hthis is a test
this is a test
end of test file Xxx
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7mXxx1 [0m[13;2Hclose[13;7H[K[14;2Hau BufReadPost Xxx2 bwipe
$r4:ball " open window for all args, close Xxx2
:.,$w! test.out[12CWrite contents of this file[16;55H[K[17;1H[1m[34m^W^W[0m:w >>test.out[10CAppend contents of second window (Xxx1)[18;6H/^start of/,$w >>test.out " Append contents of last window (this file)
:qa![19;5H[K[20;1HENDTEST[21;1H[K[22;1Hstart of test file Xxx1
[7mtest7.in [+] [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cclose
[?25l[?1c[1;1HTest for autocommand that changes the buffer list, when doing ":ball".[2;9H[K[3;1HSTARTTEST[3;10H[K[4;1H:so small.vim[4;14H[K[5;1H/^start of[5;11H[K[6;1HA1[1m[34m^[[0m:.,/end of/w! Xxx1 " write test file Xxx1[6;48H[K[7;1H:sp Xxx1[7;9H[K[8;1H:close[8;7H[K[9;1H$r2:.,/end of/w! Xxx2 " write test file Xxx2[9;48H[K[10;1H:sp Xxx2[10;9H[K[11;1H:close[11;7H[K[12;1H$r3:.,/end of/w! Xxx3 " write test file Xxx3[12;48H[K[13;2Hsp Xxx3
:close[14;7H[K[15;1H:au BufReadPost Xxx2 bwipe[15;28H[K[16;1H$r4:ball [12Copen window for all args, close Xxx2
:.,$w! test.out [10CWrite contents of this file[17;55H[K[18;6Hw >>test.out " Append contents of second window (Xxx1)[18;67H[K[19;1H[1m[34m^W^W[0m:/^start of/,$w >>test.out " Append contents of last window (this file)
:qa![20;5H[K[21;1HENDTEST[22;1H[K[23;1Hstart of test file Xxx1[23;24H[K[23;23H[?25h[?0c[?25l[?1c2[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.,/end of/w! Xxx2 " write test file Xxx2
[?25l[?1c"Xxx2" [24;9H[K[24;8H[New File] 4 lines, 77 characters written[23;23H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csp Xxx2
[?25l[?1c"Xxx2" [24;8H[K[24;8H4 lines, 77 characters[1;1Hstart of test file Xxx2[1;24H[K[2;9Hthis is a test
this is a test
end of test file Xxx
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7mXxx2 [0m[13;2Hclose[13;7H[K[14;2Hau BufReadPost Xxx2 bwipe
$r4:ball " open window for all args, close Xxx2
:.,$w! test.out[12CWrite contents of this file[16;55H[K[17;1H[1m[34m^W^W[0m:w >>test.out[10CAppend contents of second window (Xxx1)[18;6H/^start of/,$w >>test.out " Append contents of last window (this file)
:qa![19;5H[K[20;1HENDTEST[21;1H[K[22;1Hstart of test file Xxx2
[7mtest7.in [+] [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cclose
[?25l[?1c[1;1HTest for autocommand that changes the buffer list, when doing ":ball".[2;9H[K[3;1HSTARTTEST[3;10H[K[4;1H:so small.vim[4;14H[K[5;1H/^start of[5;11H[K[6;1HA1[1m[34m^[[0m:.,/end of/w! Xxx1 " write test file Xxx1[6;48H[K[7;1H:sp Xxx1[7;9H[K[8;1H:close[8;7H[K[9;1H$r2:.,/end of/w! Xxx2 " write test file Xxx2[9;48H[K[10;1H:sp Xxx2[10;9H[K[11;1H:close[11;7H[K[12;1H$r3:.,/end of/w! Xxx3 " write test file Xxx3[12;48H[K[13;2Hsp Xxx3
:close[14;7H[K[15;1H:au BufReadPost Xxx2 bwipe[15;28H[K[16;1H$r4:ball [12Copen window for all args, close Xxx2
:.,$w! test.out [10CWrite contents of this file[17;55H[K[18;6Hw >>test.out " Append contents of second window (Xxx1)[18;67H[K[19;1H[1m[34m^W^W[0m:/^start of/,$w >>test.out " Append contents of last window (this file)
:qa![20;5H[K[21;1HENDTEST[22;1H[K[23;1Hstart of test file Xxx2[23;24H[K[23;23H[?25h[?0c[?25l[?1c3[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.,/end of/w! Xxx3 " write test file Xxx3
[?25l[?1c"Xxx3" [24;9H[K[24;8H[New File] 4 lines, 77 characters written[23;23H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csp Xxx3
[?25l[?1c"Xxx3" [24;8H[K[24;8H4 lines, 77 characters[1;1Hstart of test file Xxx3[1;24H[K[2;9Hthis is a test
this is a test
end of test file Xxx
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7mXxx3 [0m[13;2Hclose[13;7H[K[14;2Hau BufReadPost Xxx2 bwipe
$r4:ball " open window for all args, close Xxx2
:.,$w! test.out[12CWrite contents of this file[16;55H[K[17;1H[1m[34m^W^W[0m:w >>test.out[10CAppend contents of second window (Xxx1)[18;6H/^start of/,$w >>test.out " Append contents of last window (this file)
:qa![19;5H[K[20;1HENDTEST[21;1H[K[22;1Hstart of test file Xxx3
[7mtest7.in [+] [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cclose
[?25l[?1c[1;1HTest for autocommand that changes the buffer list, when doing ":ball".[2;9H[K[3;1HSTARTTEST[3;10H[K[4;1H:so small.vim[4;14H[K[5;1H/^start of[5;11H[K[6;1HA1[1m[34m^[[0m:.,/end of/w! Xxx1 " write test file Xxx1[6;48H[K[7;1H:sp Xxx1[7;9H[K[8;1H:close[8;7H[K[9;1H$r2:.,/end of/w! Xxx2 " write test file Xxx2[9;48H[K[10;1H:sp Xxx2[10;9H[K[11;1H:close[11;7H[K[12;1H$r3:.,/end of/w! Xxx3 " write test file Xxx3[12;48H[K[13;2Hsp Xxx3
:close[14;7H[K[15;1H:au BufReadPost Xxx2 bwipe[15;28H[K[16;1H$r4:ball [12Copen window for all args, close Xxx2
:.,$w! test.out [10CWrite contents of this file[17;55H[K[18;6Hw >>test.out " Append contents of second window (Xxx1)[18;67H[K[19;1H[1m[34m^W^W[0m:/^start of/,$w >>test.out " Append contents of last window (this file)
:qa![20;5H[K[21;1HENDTEST[22;1H[K[23;1Hstart of test file Xxx3[23;24H[K[23;23H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufReadPost Xxx2 bwipe
[?25l[?1c[23;23H[?25h[?0c[?25l[?1c4[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cball " open window for all args, close Xxx2
[?25l[?1c"Xxx1"[24;23H[K[24;8H4 lines, 77 characters
"Xxx2" 4 lines, 77 characters
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c.,$w! test.out " Write contents of this file
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 4 lines, 77 characters written
[1m[32mPress ENTER or type command to continue[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[1;1H:close
:au BufReadPost Xxx2 bwipe
$r4:ball[17C" open window for all args, close Xxx2
:.,$w! test.out[10C" Write contents of this file
[1m[34m^W^W[0m:w >>test.out[8C" Append contents of second window (Xxx1)
[1m[34m^W^W[0m:/^start of/,$w >>test.out " Append contents of last window (this file)
:qa!
ENDTEST
start of test file Xxx4
[1m[7mtest7.in [+] [0m[12;1Hstart of test file Xxx1[13;9Hthis is a test[14;9Hthis is a test
end of test file Xxx
[1m[34m~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [0m[23;1H[7mXxx1 [10;23H[?25h[?0c[11;1Htest7.in [+] [0m[23;1H[1m[7mXxx1 [12;1H[?25l[?1c[24;1H[0m:[?25h[?0cw >>test.out " Append contents of second window (Xxx1)
[?25l[?1c"test.out" [24;12H[K[24;12H4 lines, 77 characters appended[12;1H[?25h[?0c[11;1H[1m[7mtest7.in [+] [0m[23;1H[7mXxx1 [10;23H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c/^start of/,$w >>test.out " Append contents of last window (this file)
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m[24;37H[K[24;1H"test.out" [24;12H[K[24;12H4 lines, 77 characters appended[10;23H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test8.in" 24 lines, 797 characters[1;1HTest for BufWritePre autocommand that deletes or unloads the buffer.
STARTTEST
:so small.vim
:au BufWritePre Xxx1 bunload
:au BufWritePre Xxx2 bwipe
/^start of
A1[1m[34m^[[0m:.,/end of/w! Xxx1 " write test file Xxx1
$r2:.,/end of/w! Xxx2 " write test file Xxx2
:e! Xxx2[16C" edit Xxx2
:bdel test8.in[10C" delete this file from the buffer list
:e Xxx1[17C" edit Xxx1
:w[22C" write it, will unload it and give an error msg
:w! test.out[12C" Write contents of this file
:e! Xxx2[16C" start editing Xxx2
:bwipe test.out[9C" remove test.out from the buffer list
:w[22C" write it, will delete the buffer and give an error msg[18;1H:w >>test.out[11C" Append contents of this file
:qa!
ENDTEST
start of Xxx[23;9Htest[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for BufWritePre autocommand that deletes or unloads the buffer.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 16 lines, 678 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[20;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufWritePre Xxx1 bunload
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufWritePre Xxx2 bwipe
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^start of
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[12C1[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.,/end of/w! Xxx1 " write test file Xxx1
[?25l[?1c"Xxx1" [24;9H[K[24;8H[New File] 3 lines, 31 characters written[22;13H[?25h[?0c[?25l[?1c2[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.,/end of/w! Xxx2 " write test file Xxx2
[?25l[?1c"Xxx2" [24;9H[K[24;8H[New File] 3 lines, 31 characters written[22;13H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xxx2 " edit Xxx2
[?25l[?1c"Xxx2" [24;8H[K[24;8H3 lines, 31 characters[1;1Hstart of Xxx2[1;14H[K[2;9Htest
end of Xxx
[1m[34m~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cbdel test8.in[1m[34m^I^I[0m" delete this file from the buffer list
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce Xxx1 " edit Xxx1
[?25l[?1c"Xxx1" [24;25H[K[24;8H3 lines, 31 characters[1;13H1
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw " write it, will unload it and give an error msg
[?25l[?1c"Xxx2"[24;25H[K[24;8H3 lines, 31 characters
[1m[37m[41mE203: Autocommands deleted or unloaded buffer to be written[0m
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! test.out " Write contents of this file
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 3 lines, 31 characters written
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ce! Xxx2 " start editing Xxx2
[?25l[?1c"Xxx2" [24;8H[K[24;8H3 lines, 31 characters[1;1H[3L[1;1Hstart of Xxx2[2;9Htest
end of Xxx[24;1H[K[24;1H"Xxx2" 3 lines, 31 characters[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe test.out " remove test.out from the buffer list
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw " write it, will delete the buffer and give an error ms
[23;80Hg[24;1H[?25l[?1c[23;1H"Xxx1"[23;25H[K[23;8H3 lines, 31 characters
[1m[37m[41mE203: Autocommands deleted or unloaded buffer to be written[0m
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw >>test.out " Append contents of this file
[?25l[?1c"test.out" [24;12H[K[24;12H3 lines, 31 characters appended
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test9.in" 12 lines, 255 characters[1;1HTest 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
[1m[34m~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for Bufleave autocommand that deletes the buffer we are about to edit.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 5 lines, 117 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[9;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[10;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[10;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufLeave test9.in bwipe yy
[?25l[?1c[10;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce yy
[?25l[?1c[1m[37m[41mE143: Autocommands unexpectedly deleted new buffer yy[10;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c/^start of/,$w! test.out " Write contents of this file
[?25l[?1c"test.out" [24;12H[Kdh_testdir
[24;12H[New File] 2 lines, 42 characters written[10;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
dh_testroot
dh_strip --dbg-package=vim-dbg
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test10.in" 114 lines, 3080 characters[1;1HTest 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[1m[34m^R[0m=a[1m[34m^M^[[0m
:cf Xerrorfile1
grA
:cn
gRLINE 6, COL 19[1m[34m^[[0m
:cn[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for 'errorformat'. This will fail if the quickfix feature was disabled.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 50 lines, 801 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:cn
gR. TAB-SPACE POINTER[1m[34m^[[0m
:clast
:cprev
:cprev
:wincmd w
:let a=w:quickfix_title
:wincmd p
lgR[1m[34m^R[0m=a[1m[34m^M^[[0m
:w! test.out[13C" 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[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Also test a BOM is ignored.
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso mbyte.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset encoding=utf-8
[?25l[?1c[27m[24m[0m[H[J[1;1H:cn
gR. TAB-SPACE POINTER[1m[34m^[[0m
:clast
:cprev
:cprev
:wincmd w
:let a=w:quickfix_title
:wincmd p
lgR[1m[34m^R[0m=a[1m[34m^M^[[0m
:w! test.out[12C " Write contents of this file
:qa!
ENDTEST
start of errorfile
"Xtestfile", line 4.12: 1506-045 (S) Undeclared identifier fd_set.
[1m[34m<feff>[0m"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[13;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c7/start of errorfile/,/end of errorfile/w! Xerrorfile1
[?25l[?1c"Xerrorfile1" [24;15H[K[24;15H[New File] 83 lines, 1974 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c7/start of errorfile/,/end of errorfile/-1w! Xerrorfile2
[?25l[?1c"Xerrorfile2" [24;15H[K[24;15H[New File] 82 lines, 1957 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/start of testfile/,/end of testfile/w! Xtestfile
[?25l[?1c"Xtestfile" [24;13H[Kdh_compress
[24;13H[New File] 23 lines, 937 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset efm+==%f=\\,\ line\ %l%*\\D%v%*[^\ ]\ %m
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset efm^=%AError\ in\ \"%f\"\ at\ line\ %l:,%Z%p^,%C%m
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccf Xerrorfile2
[?25l[?1c"Xtestfile" [24;13H[K[24;13H23 lines, 937 characters
(50 of 70): 1506-045 (S) Undeclared identifier fd_set.
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cclast
[?25l[?1c(70 of 70): What is the title of the quickfix window?
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccopen
[?25l[?1c[1;1H[3L[1;8H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 17[2;8H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 18[3;8H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 19
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 20
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 21
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 22
end of testfile[7;16H[K[8;1H[1m[34m~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[7mXtestfile [0m[13;1HXtestfile|18 col 14| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 1[14;1H8[14;2H[K[15;1HXtestfile|19 col 15| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 1[16;1H9[16;2H[K[17;1HXtestfile|20 col 16| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 2[18;1H0[18;2H[K[19;1H|| [19;4H[K[20;1H|| Does anyone know what is the problem and how to correction it?
Xtestfile|21 col 9| What is the title of the quickfix window?
[30m[43mXtestfile|22 col 9| What is the title of the quickfix window? [0m[23;1H[1m[7m[Quickfix List] [0m[24;1H[K[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet a=w:quickfix_title
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cwincmd p
[?25l[?1c[12;1H[1m[7mXtestfile [0m[23;1H[7m[Quickfix List] [6;16H[?25h[?0c[0mx[?25l[?1c[24;1H[K[24;1H=[?25h[?0ca
[?25l[?1c[6;16Hx:cf Xerrorfile2[12;11H[1m[7m[+][6;31H[?25h[?0c[7;15H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccf Xerrorfile1
dh_fixperms
[?25l[?1c[1;1Hstart of testfile[1;18H[K[2;47H 2[3;47H 3[4;47H 4[5;47H 5[6;16Hxxxxxxxxxxxxxxxx[15C 6
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 7
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 8[8;50H[K[9;1H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 9[9;50H[K[10;1H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 10[10;50H[K[11;1H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 11[11;50H[K[13;1H|| :qa![13;8H[K[14;1H|| ENDTEST
|| [15;4H[K[16;1H|| start of errorfile
[30m[43mXtestfile|4 col 12| 1506-045 (S) Undeclared identifier fd_set. [0m[18;1HXtestfile|6 col 19| this is an error
|| gcc -c -DHAVE_CONFIsing-prototypes -I/usr/X11R6/include version.c
Xtestfile|9| parse error before `asd'[20;38H[K[21;1H|| make: *** [vim] Error 1[21;27H[K[22;1HXtestfile|10| there is an error[22;32H[K[4;19H[?25h[?0c[?25l[?1cxA[?25h[?0c[5;19H[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccn
[?25l[?1c[17;1HXtestfile|4 col 12| 1506-045 (S) Undeclared identifier fd_set.[17;63H[K[18;1H[30m[43mXtestfile|6 col 19| this is an error [6;26H[?25h[?0c[?25l[?1c[0mxLINE 6, COL 19[?25h[?0c[7;39H[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccn
[?25l[?1c[18;1HXtestfile|6 col 19| this is an error[18;37H[K[20;1H[30m[43mXtestfile|9| parse error before `asd' [9;9H[?25h[?0c[?25l[?1c[0m NO COLUMN SPECIFIED[?25h[?0c[10;27H[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccn
[?25l[?1c[20;1HXtestfile|9| parse error before `asd'[20;38H[K[22;1H[30m[43mXtestfile|10| there is an error [10;9H[?25h[?0c[?25l[?1c[0m AGAIN NO COLUMN[?25h[?0c[11;23H[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccn
[?25l[?1c[13;22r[13;1H[3M[1;24r[19;1HXtestfile|10| there is an error[19;32H[K[20;1H||
|| 2 returned
[30m[43mXtestfile|11 col 1| this is an error [0m[24;1H[K[11;8H[?25h[?0c[?25l[?1c
COL 1[?25h[?0c[?25l[?1c[1;11r[11;1H
[1;24r[11;8H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 12[11;8H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccn
[?25l[?1c[13;22r[22;1H
[1;24r[21;1HXtestfile|11 col 1| this is an error[21;37H[K[22;1H[30m[43mXtestfile|12 col 2| this is another error [0m[24;1H[K[11;9H[?25h[?0c[?25l[?1c COL 2[?25h[?0c[?25l[?1c[1;11r[11;1H
[1;24r[11;8H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 13[11;13H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccn
[?25l[?1c[1;11r[11;1H
[1;24r[11;8H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 14[13;22r[22;1H
[1;24r[21;1HXtestfile|12 col 2| this is another error[21;42H[K[22;1H[30m[43mXtestfile|14 col 10| this is an error in column 10 [0m[24;1H[K[11;17H[?25h[?0c[?25l[?1cxCOL 10[?25h[?0c[?25l[?1c[1;11r[11;1H
[1;24r[11;8H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 15[11;22H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccn
[?25l[?1c[13;22r[22;1H
[1;24r[21;1HXtestfile|14 col 10| this is an error in column 10[21;51H[K[22;1H[30m[43mXtestfile|15 col 10| this is another error, but in vcol 10 this time [0m[24;1H[K[11;10H[?25h[?0c[?25l[?1cxVCOL 10[?25h[?0c[?25l[?1c[1;11r[11;1H
[1;24r[11;8H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 16[11;16H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccn
[?25l[?1c[13;22r[22;1H
[1;24r[21;1HXtestfile|15 col 10| this is another error, but in vcol 10 this time[21;69H[K[22;1H[30m[43mXtestfile|16| yet another problem [0m[24;1H[K[11;9H[?25h[?0c[?25l[?1c I[?25h[?0c[?25l[?1c[1;11r[11;1H
[1;24r[11;8H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 17[11;9H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccn
[?25l[?1c[13;22r[13;1H[2M[1;24r[20;1HXtestfile|16| yet another problem[20;34H[K[21;1H[30m[43mXtestfile|17 col 13| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 1[22;1H7 [0m[24;1H[K[11;13H[?25h[?0c[?25l[?1cx. SPACE POINTER[?25h[?0c[?25l[?1c[1;11r[11;1H
[1;24r[11;8H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 18[11;27H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccn
[?25l[?1c[13;22r[13;1H[2M[1;24r[19;1HXtestfile|17 col 13| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 1[20;1H7[20;2H[K[21;1H[30m[43mXtestfile|18 col 14| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 1[22;1H8 [0m[24;1H[K[11;14H[?25h[?0c[?25l[?1cx. DOT POINTER[?25h[?0c[?25l[?1c[1;11r[11;1H
[1;24r[11;8H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 19[11;26H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccn
[?25l[?1c[13;22r[13;1H[2M[1;24r[19;1HXtestfile|18 col 14| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 1[20;1H8[20;2H[K[21;1H[30m[43mXtestfile|19 col 15| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 1[22;1H9 [0m[24;1H[K[11;15H[?25h[?0c[?25l[?1cx. DASH POINTER[?25h[?0c[?25l[?1c[1;11r[11;1H
[1;24r[11;8H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 20[11;28H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccn
[?25l[?1c[13;22r[13;1H[2M[1;24r[19;1HXtestfile|19 col 15| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 1[20;1H9[20;2H[K[21;1H[30m[43mXtestfile|20 col 16| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 2[22;1H0 [0m[24;1H[K[11;16H[?25h[?0c[?25l[?1cx. TAB-SPACE POINTER[?25h[?0c[?25l[?1c[1;11r[11;1H
[1;24r[11;8H xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 21[11;34H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cclast
[?25l[?1c[13;22r[13;1H[6M[1;24r[15;1HXtestfile|20 col 16| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 2[16;1H0[16;2H[K[17;1H||
|| 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?
[30m[43m|| end of errorfile [0m[22;1H[1m[34m~ [0m[24;1H[K[11;9H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccprev
[?25l[?1c[1;11r[11;1H
[1;24r[11;8H xxxxxxxx:cf Xerrorfile2xxxxxxx line 22[20;1H[30m[43mXtestfile|22 col 9| What is the title of the quickfix window? [0m[21;1H|| end of errorfile[21;20H[K[24;1H[K[11;16H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccprev
[?25l[?1c[19;1H[30m[43mXtestfile|21 col 9| What is the title of the quickfix window? [0m[20;1HXtestfile|22 col 9| What is the title of the quickfix window?[20;62H[K[10;16H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cwincmd w
[?25l[?1c[12;1H[7mXtestfile [+] [0m[23;1H[1m[7m[Quickfix List] [19;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet a=w:quickfix_title
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cwincmd p
[?25l[?1c[12;1H[1m[7mXtestfile [+] [0m[23;1H[7m[Quickfix List] [10;16H[?25h[?0c[0mx[?25l[?1c[24;1H[K[24;1H=[?25h[?0ca
[?25l[?1c[10;16Hx:cf Xerrorfile1[?25h[?0c[11;31H[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! test.out " Write contents of this file
[?25l[?1c"test.out" [24;12H[Kdh_installdeb
dh_gencontrol
[24;12H[New File] 23 lines, 942 characters written[12;11H[1m[7m [11;31H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
dh_shlibdeps
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test11.in" 84 lines, 3345 characters[1;1HTests for autocommands:
- FileWritePre[10Cwriting a compressed file
- FileReadPost[10Creading a compressed file
- BufNewFile[12Creading a file template
- BufReadPre[12Cdecompressing the file to be read
- FilterReadPre[9Csubstituting characters in the temp file
- FilterReadPost[8Csubstituting characters after filtering
- FileReadPre[11Cset options for decompression
- FileReadPost[10Cdecompress 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for autocommands:[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[16;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[17;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 48 lines, 2277 characters written[17;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[17;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:23,$s/\r$//[17C" remove CR for when sed adds them
:au! FileReadPre *.gz exe '!gzip -d ' . shellescape(expand("<afile>"))
:au FileReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>"))
:au! FileReadPost *.gz '[,']s/l/L/
:$r Xtestfile.gz[13C" Read compressed file
:w[27C" write it, after filtering
:au![13C" remove all autocommands
:e[15C" 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[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" drop out when there is no gzip program
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif !executable("gzip")
[?25l[?1c
: [?25h[?0c: e! test.ok
[?25l[?1c: [?25h[?0c: w! test.out
[?25l[?1c: [?25h[?0c: qa!
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1H:23,$s/\r$//[17C" remove CR for when sed adds them
:au! FileReadPre *.gz exe '!gzip -d ' . shellescape(expand("<afile>"))
:au FileReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>"))
:au! FileReadPost *.gz '[,']s/l/L/[24;1H[K[13;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0clet $GZIP = ""
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau FileChangedShell * echo "caught FileChangedShell"
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset bin
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau FileWritePre *.gz '[,']!gzip
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau FileWritePost *.gz undo
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^start of testfile/,/^end of testfile/w! Xtestfile.gz
[?25l[?1c[?25h[?0c[?25l[?1c11 lines filtered[24;18H[K[24;1H
"Xtestfile.gz" [New File][Incomplete last line] 1 line, 111 characters written
10 more lines; before #1 0 seconds ago
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cau FileReadPost *.gz '[,']!gzip -d
[?25l[?1c[1;1H[3L[1;1H:au FileReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>"))
:au! FileReadPost *.gz '[,']s/l/L/
:$r Xtestfile.gz[13C" Read compressed file
:w " write it, after filtering
:au! " remove all autocommands[5;43H[K[6;2He[15C" Edit test.out again[6;39H[K[7;2Hset nobin ff& " use the default fileformat for writing
:w[8;18H[K[9;2Hqa![9;6H[K[10;1HENDTEST[11;1H[K[12;1Hstartstart
start of testfile
line 2 Abcdefghijklmnopqrstuvwxyz
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[16;6H4[17;6H5[18;6H6[19;6H7[20;6H8[21;6H9[22;6H10
end of testfile[23;16H[K[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r Xtestfile.gz " Read and decompress the testfile
[?25l[?1c"Xtestfile.gz" [24;16H[K[24;16H[Incomplete last line] 1 line, 111 characters
[?25h[?0c[60C[?25l[?1c[1;23r[1;1H[7M[1;24r[18;1Hstart of test.c
/*
* Here is a new .c file
*/
end of test.c
start of testfile[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c?startstart?,$w! test.out " Wridh_testdir
te contents of this file
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 29 lines, 788 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufNewFile *.c read Xtest.c
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^start of test.c/+1,/^end of test.c/-1w! Xtest.c
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m[24;37H[K[24;1H"Xtest.c" [24;11H[K[24;11H[New File] 3 lines, 32 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! foo.c " Will load Xtest.c
[?25l[?1c"foo.c" [New File][24;33H[K[24;1H
"Xtest.c" 3 lines, 32 characters
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cau FileAppendPre *.out '[,']s/new/NEW/
[?25l[?1c[1;1H[2L[2;1H/*
* Here is a new .c file
*/
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H[K[2;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cau FileAppendPost *.out !cat Xtest.c >>test.out
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw>>test.out " Append it to the output file
[?25l[?1c"test.out" [24;12H[Kdh_testroot
[24;12H4 lines, 33 characters appended
:!cat Xtest.c >>test.out
[?25h[?0c[24m[0m
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cau! FileAppendPre
[?25l[?1c[27m[24m[0m[H[J[2;1H/*
* Here is a NEW .c file
*/
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [3;2H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0c" setup autocommands to decompress before reading anddh_strip --dbg-package=vim-dbg
re-compress afterwards
[?25l[?1c[3;2H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufReadPre *.gz exe '!gzip -d ' . shellescape(expand("<afile>"))
[?25l[?1c[3;2H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?1c[3;2H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufReadPost *.gz call rename(expand("<afile>"), expand("<afile>:r"))
[?25l[?1c[3;2H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufReadPost *.gz exe '!gzip ' . shellescape(expand("<afile>:r"))
[?25l[?1c[3;2H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtestfile.gz " Edit compressed file
[?25l[?1c:!gzip -d 'Xtestfile.gz'[24;33H[K[24;25H
[?25h[?0c[?25l[?1c[24m[0m"Xtestfile.gz"[23;1H"Xtestfile.gz" 11 lines, 357 characters[24;1H[K[24;1H:!gzip 'Xtestfile'
[?25h[?0c[24m[0m
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw>>test.out " Append it to the output file
[?25l[?1c"test.out" [24;12H[K[24;12H11 lines, 357 characters appended
:!cat Xtest.c >>test.out
[?25h[?0c[24m[0m
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset shelltemp " need temp files here
[?25l[?1c[27m[24m[0m[H[J[1;1Hstart 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
[1m[34m~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0cau FilterReadPre *.out call rename(expand("<afile>"), expand("<afile>") . "
[23;80H.[24;1Ht")
[?25l[?1c[1;1H[L[1;1Hstart of testfile[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cau FilterReadPre *.out exe '!sed s/e/E/ ' . shellescape(expand("<afile>"))
[23;80H.[24;1H ".t >" . shellescape(expand("<afile>"))
[?25l[?1c[1;1H[L[1;1Hstart of testfile[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cau FilterReadPre *.out exe '!rm ' . shellescape(expand("<afile>")) . '.t'
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau FilterReadPost *.out '[,']s/x/X/g
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! test.out " Edit the output file
[?25l[?1c"test.out" [24;12H[K[24;12H50 lines, 1242 characters[1;6Hstar[1;11H[K[2;1Hstart of testfile[2;18H[K[3;6H2 Abcdefghijklmnopqrstuvwxyz[3;35H[K[4;6H3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[5;6H4 Abcdefghijklmnopqrstuvwxyz[5;35H[K[6;6H5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[7;6H6 Abcdefghijklmnopqrstuvwxyz[7;35H[K[8;6H7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[9;6H8 Abcdefghijklmnopqrstuvwxyz[9;35H[K[10;6H9 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 10 Abcdefghijklmnopqrstuvwxyz
end of testfile[12;16H[K[13;1H[K[14;1Hstart of test.c[14;16H[K[15;1H/*[15;3H[K[16;1H * Here is a new .c file[16;25H[K[17;1H */[17;4H[K[18;1Hend of test.c[18;14H[K[19;1Hstart of testfile[19;18H[K[20;1Hline 2 Abcdefghijklmnopqrstuvwxyz[20;35H[K[21;1Hline 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[21;39H[K[22;1Hline 4 Abcdefghijklmnopqrstuvwxyz[22;35H[K[23;1Hline 5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[23;39H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c23,$!cat
[?25l[?1c[?25h[?0c[?25l[?1c:!sed s/e/E/ '/tmp/vguTj4P/1'.t >'/tmp/vguTj4P/1'
[?25h[?0c[?25l[?1c[24m[0m:!rm '/tmp/vguTj4P/1'.t
[?25h[?0c[?25l[?1c[24m[0m218 substitutions on 15 lines
28 lines filtered
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c23,$s/\r$// " remove CR for when sed adds them
[?25l[?1c[1m[37m[41mE486: Pattern not found: \r$[0m[24;30H[K[24;1H
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cau! FileReadPre *.gz exe '!gzip -d ' . shellescape(expand("<afile>"))
[?25l[?1c[27m[24m[0m[H[J[1;1Hstartstart
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
line 10 Abcdefghijklmnopqrstuvwxyz
end of testfile
start of test.c
/*
* Here is a new .c file
*/
end of test.c
start of testfile
line 2 Abcdefghijklmnopqrstuvwxyz
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 4 Abcdefghijklmnopqrstuvwxyz
linE 5 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[?25h[?0c[?25l[?1c
:[?25h[?0cau FileReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau! FileReadPost *.gz '[,']s/l/L/
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$r Xtestfile.gz " Read compressed file
[?25l[?1c:!gzip -d 'Xtestfile.gz'[24;30H[K[24;25H
[?25h[?0c[?25l[?1c[24m[0m"Xtestfile.gz"[23;1H"Xtestfile.gz" 11 lines, 357 characters[24;1H[K[24;1H11 substitutions on 11 lines
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw " write it, after filtering
[?25l[?1c"test.out"[24;30H[K[24;12H61 lines, 1599 characters written
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cau! " remove all autocommands
[?25l[?1c[1m[37m[41mE216: No such group or event: " remove all autocommands[0m
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ce " Edit test.out again
[?25l[?1c"test.out"[24;18H[K[24;12H61 lines, 1599 characters[27m[24m[0m[H[J[1;1Hstartstart
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
line 10 Abcdefghijklmnopqrstuvwxyz
end of testfile
start of test.c
/*
* Here is a new .c file
*/
end of test.c
start of testfile
line 2 Abcdefghijklmnopqrstuvwxyz
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 4 Abcdefghijklmnopqrstuvwxyz
linE 5 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
"test.out" 61 lines, 1599 characters[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nobin ff& " use the default fileformat for writing
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw
[?25l[?1c"test.out"dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
61 lines, 1599 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hdh_md5sums
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
dh_compress
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test12.in" 52 lines, 1199 characters[1;1HTests 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/[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for 'directory' option.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[6;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 40 lines, 965 characters written[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[7;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:!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[18;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocompatible viminfo+=nviminfo
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset dir=.,~
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/start of testfile/,/end of testfile/w! Xtest1
[?25l[?1c"Xtest1" [24;10H[Kdh_builddeb -- -Zxz
[24;10H[New] 4L, 70C written[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" do an ls of the current dir to find the swap file (should not be there)
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif has("unix")
[?25l[?1c
: [?25h[?0c: !ls .X*.swp >test.out
[?25l[?1c:!ls .X*.swp >test.out[?25h[?0c[24;1H
ls: cannot access .X*.swp: No such file or directory
shell returned 2
[?25l[?1c[24;1H: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: r !ls X*.swp >test.out
[?25l[?1c: [?25h[?0c:endif
[27m[24m[0m[H[J[?25l[?1c[1;1H:!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[19;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c!echo first line >>test.out
[?25l[?1c[28C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ce Xtest1
[?25l[?1c"Xtest1" 4L, 70C[27m[24m[0m[H[J[1;1Hstart of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H"Xtest1" 4L, 70C[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif has("unix")
[?25l[?1c
: [?25h[?0c:" Do an ls of the current dir to find the swap file, remove the leading dot
[?25l[?1c: [?25h[?0c:" to make the result the same for all systems.
[?25l[?1c: [?25h[?0c: r!ls .X*.swp
[24m[0m
[?25l[?1c: [?25h[?0c: s/\.*X/X/
[?25l[?1c: [?25h[?0c: .w >>test.out
[?25l[?1c"test.out" [24;12H[Kdh_fixperms
[24;12H1L, 11C appended
: [?25h[?0c: undo
[?25l[?1c1 line less; before #1 0 seconds ago
: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: !ls X*.swp >>test.out
[?25l[?1c: [?25h[?0c:endif
[27m[24m[0m[H[J[?25l[?1c[1;1Hstart of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0c!echo under Xtest1.swp >>test.out
[?25l[?1c[34C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c!mkdir Xtest2
[?25l[?1c[14C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset dir=./Xtest2,.,~
[?25l[?1c[27m[24m[0m[H[J[1;1Hstart of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0ce Xtest1
dpkg-deb: building package `vim-gtk' in `../vim-gtk_7.3.547-7+deb7u3_armhf.deb'.
[?25l[?1c"Xtest1" 4L, 70C[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c!ls X*.swp >>test.out
[?25l[?1c[22C[?25h[?0c[24;1H
ls: cannot access X*.swp: No such file or directory
shell returned 2
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c!echo under under >>test.out
[?25l[?1c[29C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c!ls Xtest2 >>test.out
[?25l[?1c[22C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c!echo under Xtest1.swp >>test.out
[?25l[?1c[34C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c!mkdir Xtest.je
[?25l[?1c[16C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c/start of testfile/,/end of testfile/w! Xtest2/Xtest3
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m[24;37H[K[24;1H"Xtest2/Xtest3" [24;17H[K[24;17H[New] 4L, 70C written
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset dir=Xtest.je,~
[?25l[?1c[27m[24m[0m[H[J[1;1Hstart of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0ce Xtest2/Xtest3
[?25l[?1c"Xtest2/Xtest3" 4L, 70C[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cswap
[?25l[?1cXtest.je/Xtest3.swp[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c!ls Xtest2 >>test.out
[?25l[?1c[22C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c!echo under Xtest3 >>test.out
[?25l[?1c[30C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c!ls Xtest.je >>test.out
[?25l[?1c[24C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c!echo under Xtest3.swp >>test.out
[?25l[?1c[34C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
dh_installdeb
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test13.in" 58 lines, 1133 characters[1;1HTests 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[1m[34m^[[0m
:w
:sp Xtestje2
otestje2[1m[34m^[[0m
:w[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for autocommands on :close command[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[13;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 38 lines, 631 characters written[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[14;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:au!
: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
:qa!
ENDTEST
start of testfile[20;9Hcontents[21;9Hcontents[22;9Hcontents
end of testfile[17;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^start of testfile/,/^end of testfile/w! Xtestje1
[?25l[?1c"Xtestje1" [24;13H[K[24;12H[New File] 5 lines, 64 characters written[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^start of testfile/,/^end of testfile/w! Xtestje2
[?25l[?1c"Xtestje2" [24;13H[K[24;12H[New File] 5 lines, 64 characters written[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^start of testfile/,/^end of testfile/w! Xtestje3
[?25l[?1c"Xtestje3" [24;13H[K[24;12H[New File] 5 lines, 64 characters written[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce Xtestje1
[?25l[?1c"Xtestje1" 5 lines, 64 characters[1;1Hstart of testfile
contents[2;17H[K[3;1H contents
contents
end of testfile
[1m[34m~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[2;23r[0m[2;1H[L[1;24r[2;1Htestje1[24;1H[K[2;7H[?25h[?0c[3;8H[?25l[?1c[24;1H:[?25h[?0cw
[?25l[?1c"Xtestje1" 6 lines, 72 characters written[3;8H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csp Xtestje2
[?25l[?1c"Xtestje2" [24;12H[K[24;12H5 lines, 64 characters[2;1H contents
end of testfile[5;16H[K[6;1H[1m[34m~ [0m[12;1H[1m[7mXtestje2 [0m[13;1Htestje1[13;8H[K[14;1H contents[14;17H[K[15;1H contents[15;17H[K[16;1H contents[16;17H[K[17;1Hend of testfile[17;16H[K[23;1H[7mXtestje1 [1;1H[?25h[?0c[?25l[?1c[2;11r[0m[2;1H[L[1;24r[2;1Htestje2[12;10H[1m[7m[+][0m[24;1H[K[2;7H[?25h[?0c[3;8H[?25l[?1c[24;1H:[?25h[?0cw
[?25l[?1c"Xtestje2" 6 lines, 72 characters written[12;10H[1m[7m [3;8H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0csp Xtestje3
[?25l[?1c"Xtestje3" [24;12H[K[24;12H5 lines, 64 characters[27m[24m[0m[H[J[1;1Hstart of testfile[2;9Hcontents[3;9Hcontents[4;9Hcontents
end of testfile
[1m[34m~ [7;1H~ [0m[8;1H[1m[7mXtestje3 [0m[9;1Htestje2[10;9Hcontents[11;9Hcontents[12;9Hcontents
end of testfile
[1m[34m~ [15;1H~ [0m[16;1H[7mXtestje2 [0m[17;9Hcontents[18;9Hcontents[19;9Hcontents
end of testfile
[1m[34m~ [22;1H~ [0m[23;1H[7mXtestje1 [1;1H[?25h[?0c[?25l[?1c[2;7r[0m[2;1H[L[1;24r[2;1Htestje3[8;10H[1m[7m[+][2;7H[?25h[?0c[3;8H[?25l[?1c[24;1H[0m:[?25h[?0cw
[?25l[?1c"Xtestje3"dh_shlibdeps
6 lines, 72 characters written[8;10H[1m[7m [3;8H[?25h[?0c[0m[8;1H[7mXtestje3 [0m[16;1H[1m[7mXtestje2 [10;8H[11;8H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cau WinLeave Xtestje2 bwipe
[?25l[?1c[11;8H[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[1;1Hstart of testfile
testje3[3;9Hcontents[4;9Hcontents[5;9Hcontents
end of testfile
[1m[34m~ [8;1H~ [9;1H~ [10;1H~ [0m[11;1H[7mXtestje3 [0m[12;1Htestje1[13;9Hcontents[14;9Hcontents[15;9Hcontents
end of testfile
[1m[34m~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [0m[23;1H[1m[7mXtestje1 [13;8H[?25h[?0c[14;8H[?25l[?1c[24;1H[0m:[?25h[?0cw! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 6 lines, 72 characters written[14;8H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau WinLeave Xtestje1 bwipe Xtestje3
[?25l[?1c[14;8H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cclose
[?25l[?1c[2;7H1[11;1H[1m[34m~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [23;1H~ [4;8H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H6 lines, 72 characters appended[4;8H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce Xtestje1
[?25l[?1c"Xtestje1" 6 lines, 72 characters[4;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe Xtestje2 Xtestje3 test.out
[?25l[?1c[1m[37m[41mE94: No matching buffer for Xtestje2 Xtestje3 test.out[4;9H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cau!
[?25l[?1c[4;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau! BufUnload Xtestje1 bwipe
[?25l[?1c[4;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce Xtestje3
[?25l[?1c"Xtestje3" 6 lines, 72 characters[2;7H3[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H6 lines, 72 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce Xtestje2
[?25l[?1c"Xtestje2" 6 lines, 72 characters[2;7H2[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csp Xtestje1
[?25l[?1c"Xtestje1" [24;12H[K[24;12H6 lines, 72 characters[2;7H1[12;1H[1m[7mXtestje1 [0m[13;1Hstart of testfile[13;18H[K[14;1Htestje2[14;8H[K[15;1H contents[15;17H[K[16;1H contents[16;17H[K[17;1H contents[17;17H[K[18;1Hend of testfile[18;16H[K[23;1H[7mXtestje2 [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ce
[?25l[?1c[1m[37m[41mE143: Autocommands unexpectedly deleted new buffer Xtestje1[0m[2;7H2[12;8H[1m[7m2[0m[24;1H"Xtestje2" line 1 of 6 --16%-- col 1[24;37H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H6 lines, 72 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau!
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0conly
[?25l[?1c[12;1H[1m[34m~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ce Xtestje1
[?25l[?1c"Xtestje1" 6 lines, 72 characters[2;7H1[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe Xtestje2 Xtestje3 test.out test13.in
[?25l[?1c4 buffers wiped out[24;20H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufWipeout Xtestje1 buf Xtestje1
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe
[?25l[?1c"Xtestje1" 6 lines, 72 characters[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H6 lines, 72 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test14.in" 66 lines, 1022 characters[1;1HTests 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"
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
:set vb[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for "vaBiB", end could be wrong.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[6;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 31 lines, 623 characters written[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[7;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H]maC[1m[34m^[[0m:.w >>test.out
[maD[1m[34m^[[0m:.w >>test.out
k2[maE[1m[34m^[[0m:.w >>test.out
3[maF[1m[34m^[[0m:.w >>test.out
]MaG[1m[34m^[[0m:.w >>test.out
j2]MaH[1m[34m^[[0m:.w >>test.out
]M]MaI[1m[34m^[[0m:.w >>test.out
2[MaJ[1m[34m^[[0m:.w >>test.out
k[MaK[1m[34m^[[0m:.w >>test.out
3[MaL[1m[34m^[[0m:.w >>test.out
:qa!
ENDTEST
- Bug in "vPPPP" on this text (Webb):[15;9H{[16;17Hcmd;[17;17H{[18;25Hcmd; /* <-- Start cursor here */[19;25H{[20;25H}[21;17H}[22;9H}[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cStart cursor here
[?25l[?1c[18;40H[?25h[?0c[?25l[?1c[?25h[?0c[?25l[?1c[17;17H[7m{
cmd; /* <-- Start cursor here */
{
}
[?25h[?0c[?25l[?1c[16;1H cmd;
[21;17H}[?25h[?0c[?25l[?1c[0m
6 fewer lines[24;15H[K[16;1H }[16;10H[K[17;1H[K[18;1HPiece of Java[18;14H[K[19;1H{[19;2H[K[20;1H tt m1 {[20;16H[K[21;1H t1;[22;11He1[16;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c?Bug?,/Piece/-2w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 3 lines, 44 characters written[16;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^- Bug
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[14;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cs/u/~u~/
[?25l[?1c[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/i/~u~/
[?25l[?1c[14;7Huuun "vPPPP" on this text (Webb):
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/o/~~~/
[?25l[?1c[14;20Huuuuuuuuun this text (Webb):
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 48 characters appended[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif has("ebcdic")
[?25l[?1c
: [?25h[?0c: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>
[23;80H"[24;1H
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"
[?25l[?1c: [?25h[?0c:endif
[1;1H[5L[?25l[?1c[1;1H]maC[1m[34m^[[0m:.w >>test.out
[maD[1m[34m^[[0m:.w >>test.out
k2[maE[1m[34m^[[0m:.w >>test.out
3[maF[1m[34m^[[0m:.w >>test.out
]MaG[1m[34m^[[0m:.w >>test.out[24;1H[K[14;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cexe "normal " . tt
[?25l[?1c[15;23r[15;1H[L[1;24r[15;1HABC !a[1m[34m^O[0mg[1m[34m^G[0m8[24;1H[K[15;12H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cunlet tt
[?25l[?1c[15;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 11 characters appended[15;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset vb
[?25l[?1c[15;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^Piece
[?25l[?1c[19;1H[?25h[?0c[21;15H[?25l[?1c{A[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 10 characters appended[21;16H[?25h[?0c[22;16H[?25l[?1c[1;23r[1;1H[2M[1;24r[23;9Htt m2 {[24;1H[K[23;15H[?25h[?0c[?25l[?1c{B[?25h[?0c[?25l[?1c
:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 10 characters appended[23;16H[?25h[?0c[?25l[?1c[1;23r[1;1H[4M[1;24r[20;17Ht2;[21;9H} e2[23;9Htt m3 {[24;1H[K[23;15H[?25h[?0c[?25l[?1c{C[?25h[?0c[?25l[?1c
:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 10 characters appended[23;16H[?25h[?0c[?25l[?1c{DC[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 11 characters appended[23;16H[?25h[?0c[22;1H[15;15H[?25l[?1c{EA[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 11 characters appended[15;16H[?25h[?0c[14;1H[?25l[?1c{F[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 3 characters appended[14;2H[?25h[?0c[17;9H[?25l[?1c}G e1[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 7 characters appended[17;10H[?25h[?0c
[?25l[?1c[1;23r[1;1H[5M[1;24r[19;17Hif (x)[20;17H{[21;25Ht3;[22;17H}[23;9H} e3[24;1H[K[23;9H[?25h[?0c[?25l[?1c}H e3[?25h[?0c[?25l[?1c
:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 7 characters appended[23;10H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[24;1H[K[23;1H[?25h[?0c[?5h[?5l[?25l[?1c}I[?25h[?0c[?25l[?1c
:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 3 characters appended[23;2H[?25h[?0c[22;9H[?25l[?1c}JH e3[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 8 characters appended[22;10H[?25h[?0c[21;16H[15;9H[?25l[?1c}K e2[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 7 characters appended[15;10H[?25h[?0c[8;1H[?25l[?1c{LF[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 4 characters appended[8;2H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test15.in" 136 lines, 2246 characters[1;1HTests 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[1m[34m^R[0m
:map gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
/^aa
ggu
:?test for :left?,$w! test.out
:qa!
ENDTEST[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for :right on text with embedded TAB.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[5;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[Kdh_gencontrol
[24;11H[New File] 17 lines, 401 characters written[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[6;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset tw=65
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;9Htest for :left[24;1H[K[23;8H[?25h[?0c[?25l[?1c
:[?25h[?0c/^\s*test for :left/,/^\s*test for :center/ left
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m[24;37H[K[23;1Htest for :left[23;15H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^\s*test for :center/,/^\s*test for :right/ center
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^\s*test for :right/,/^xxx/-1 right
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fo+=tcroql tw=72
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cxxxxxxxx$
[?25l[?1c[27m[24m[0m[H[J[1;40Hasxa;ofa[9Caxxxoike[2;39Hasdfaqwer[9Caxxxoike[3;47Ha[9Caxxxoikey[4;46Hfa[9Caxxxoikey[5;45Hdfa[9Caxxxoikey[6;44Hsdfa[9Caxxxoikey[7;43Hasdfa[9Caxxxoikey[8;42Hxasdfa[9Caxxxoikey[9;41Hasxxdfa[9Caxxxoikey[10;40Hasxa;ofa[9Caxxxoikey[11;39Hasdfaqwer[9Caxxxoikey
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[19;50H[?25h[?0c
[?25l[?1c[13;23r[23;1H
[1;24r[13;6H xx xxxxxx xxxxxxx xxxxxxxxx xxx xxxx xxxxx xxxxx xxx xx[14;62Hxx xxxxxxx.
xxxx xxxx.[15;11H[K[17;65Hxxxxxx[18;9Hx: xxxx xxxxxxx, xx xxxx[7C xxxxxxx[18;51H[K[23;1H[1m[34m~ [18;1H[?25h[?0c[17;1H
[?25l[?1c[24;1H[0m:[?25h[?0cset nocp viminfo+=nviminfo
[?25l[?1c[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" undo/redo here to make the next undo only work on the following changes
[?25l[?1c[18;1H[?25h[?0c[?25l[?1c[24;1H1 more line; before #1 0 seconds ago[24;38H[K[27m[24m[0m[H[J[1;1H0gq6kk
:set nocp viminfo+=nviminfo
:" undo/redo here to make the next undo only work on the following changes
u[1m[34m^R[0m
:map gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
/^aa
ggu
:?test for :left?,$w! test.out
:qa!
ENDTEST[12;9Htest for :left[13;11Ha[13Ca[14;13Hfa[10Ca[15;11Hdfa[11Ca[16;17Hsdfa[12Ca[17;11Hasdfa[9Ca[18;17Hxasdfa[10Ca
asxxdfa[9Ca[21;9Htest for :center[22;11Ha[13Ca[23;13Hfa[10Cafd asdf[12;8H[?25h[?0c[?25l[?1c[24;1H1 line less; after #1 0 seconds ago[12;1Htest for :left[12;15H[K[13;1Ha[9C a[13;25H[K[14;1Hfa[10C a[14;25H[K[15;1Hdfa[7C a[15;25H[K[16;1Hsdfa[12Ca[16;18H[K[17;1Hasdfa a[17;25H[K[18;1Hxasdfa[10Ca[18;18H[K[21;9H test for :center[22;11H [13C a[14Ca[23;13H [8Cfa [8Cafd asdf[12;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^aa
[?25l[?1c[27m[24m[0m[H[J[1;41Hasxxdfa[9Caxxxoike[2;40Hasxa;ofa[9Caxxxoike[3;39Hasdfaqwer[9Caxxxoike[4;47Ha[9Caxxxoikey[5;46Hfa[9Caxxxoikey[6;45Hdfa[9Caxxxoikey[7;44Hsdfa[9Caxxxoikey[8;43Hasdfa[9Caxxxoikey[9;42Hxasdfa[9Caxxxoikey[10;41Hasxxdfa[9Caxxxoikey[11;40Hasxa;ofa[9Caxxxoikey[12;39Hasdfaqwer[9Caxxxoikey
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[21;1H[?25h[?0c[?25l[?1c
:.,.+2s/^/x/
3 substitutions on 3 lines[21;1Hxaa aa aa aa
xbb bb bb bb
xcc cc cc cc
[?25h[?0c[22;1H[21;1H[?25l[?1c[24;1H[K[24;1H:set tw=3
[21;1H[?25h[?0c[?25l[?1c
3 more lines[1;23r[23;1H
[1;24r[20;5H[K[21;1Haa[21;3H[K[22;1Haa[22;3H[K[23;1Haa[24;1H[K[24;1H3 more lines[23;1H[?25h[?0c[?25l[?1c
3 fewer lines; before #2 0 seconds ago[20;1Haa aa aa aa
bb bb bb bb
cc cc cc cc
[1m[34m~ [20;1H[?25h[?0c
[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c?test for :left?,$w! test.out
[?25l[?1c"test.out"[24;12H[K[24;12H[New] 111L, 2304C written[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test17.in" 27 lines, 368 characters[1;1HTests for "gf" on ${VAR}
STARTTEST
:so small.vim
:if has("ebcdic")
: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}
:else
: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}
:endif
:if has("unix")
:let $CDIR = "."
/CDIR
:else
:if has("amiga")
:let $TDIR = "/testdir"
:else
:let $TDIR = "."
:endif
/TDIR
:endif
gf
:w! test.out
:qa![1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for "gf" on ${VAR}[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 20 lines, 285 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[23;1H
[1;24r[23;1HENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif has("ebcdic")
[?25l[?1c
: [?25h[?0c: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1HSTARTTEST
:so small.vim
:if has("ebcdic")
: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cif has("unix")
[?25l[?1c
: [?25h[?0c:let $CDIR = "."
[?25l[?1c: [?25h[?0c/CDIR
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c:if has("amiga")
[?25l[?1c: [?25h[?0c:let $TDIR = "/testdir"
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c:let $TDIR = "."
[?25l[?1c: [?25h[?0c:endif
[?25l[?1c: [?25h[?0c/TDIR
[?25l[?1c: [?25h[?0c:endif
[1;1H[10L[?25l[?1c[1;1H:so small.vim
:if has("ebcdic")
: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}
:else
: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}
:endif
:if has("unix")
:let $CDIR = "."
/CDIR
:else
:if has("amiga")
:let $TDIR = "/testdir"
:else[13;6H[K[14;2Hlet $TDIR = "."
:endif[15;7H[K[16;1H/TDIR[16;6H[K[17;1H:endif
gf[18;3H[K[19;1H:w! test.out
:qa![20;5H[K[21;1HENDTEST[22;1H[K[23;9H${CDIR}/test17a.in[24;1H[K[23;9H[?25h[?0c[?25l[?1c
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/./test17a.in" 3 lines, 88
[23;80Hc[24;1Hharacters
[1m[32mPress ENTER or type command to continue[?25h[?0c[0m[1;1H[2L[?25l[?1c[1;1HThis file is just to test "gf" in test 17.
The contents is not important.
Just testing![3;14H[K[4;1H[1m[34m~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cw! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 3 lines, 88 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test18.in" 16 lines, 213 characters[1;1HTests for not doing smart indenting when it isn't set.
STARTTEST
:so small.vim
:set nocin nosi ai
/some
2cc#test[1m[34m^[[0m
:?start?,$w! test.out
:qa!
ENDTEST
start text[13;17Hsome test text[14;17Htest text
test text[16;17Htest text
[1m[34m~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for not doing smart indenting when it isn't set.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 6 lines, 76 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[10;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocin nosi ai
[?25l[?1c[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0csome
[?25l[?1c[13;17H[?25h[?0c[?25l[?1c[13;23r[23;1H
[1;24r[13;17H#test[13;22H[K[23;1H[1m[34m~ [0m[24;1H[K[13;21H[?25h[?0c[14;9H[?25l[?1c[24;1H:[?25h[?0c?start?,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 4 lines, 41 characters written[14;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test19.in" 29 lines, 587 characters[1;1HTests for "r<Tab>" with 'smarttab' and 'expandtab' set/not set.
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=[1m[34m^V[0mx7f t_kb=[1m[34m^V[0mx08
/some
r[7C:set noexpandtab
/other
r
:" Test replacing with Tabs and then backspacing to undo it
0wR[21C[1m[34m^H^H^H^[[0m
:" Test replacing with Tabs
0wR[21C[1m[34m^[[0m
:" Test that copyindent works with expandtab set
:set expandtab smartindent copyindent ts=8 sw=8 sts=8
o{
x[1m[34m^[[0m:?^start?,$w! test.out
:qa!
ENDTEST
start text[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for "r<Tab>" with 'smarttab' and 'expandtab' set/not set.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 17 lines, 417 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[21;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset smarttab expandtab ts=8 sw=4
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" make sure that backspace works, no matter what termcap is used
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset t_kD=^[1m[34m^?[0m t_kb=^[1m[34m^H
[?25l[?1c[27m[24m[0m[H[J[1;1HTests for "r<Tab>" with 'smarttab' and 'expandtab' set/not set.
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=[1m[34m^V[0mx7f t_kb=[1m[34m^V[0mx08
/some
r[7C:set noexpandtab
/other
r
:" Test replacing with Tabs and then backspacing to undo it
0wR[21C[1m[34m^H^H^H^[[0m
:" Test replacing with Tabs
0wR[21C[1m[34m^[[0m
:" Test that copyindent works with expandtab set
:set expandtab smartindent copyindent ts=8 sw=8 sts=8
o{
x[1m[34m^[[0m:?^start?,$w! test.out
:qa!
ENDTEST
start text[22;1H[?25h[?0c[?25l[?1c
/[?25h[?0csome
[?25l[?1c[1;23r[23;1H
[1;24r[23;17Hsome test text[24;1H[K[23;17H[?25h[?0c[?25l[?1c ome test text[23;20H[?25h[?0c[?25l[?1c
:[?25h[?0cset noexpandtab
[?25l[?1c[23;20H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cother
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Htest text[23;17Hother test text[24;1H[K[23;17H[?25h[?0c[?25l[?1c ther test text[23;20H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Ha cde[?25h[?0c[?25l[?1c
:[?25h[?0c" Test replacing with Tabs and then backspacing to undo it
[?25l[?1c[23;9H[?25h[?0c
[?25l[?1c[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Hf ghi[24;1H[K[23;4H[?25h[?0c[?25l[?1c
:[?25h[?0c" Test replacing widpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
th Tabs
[?25l[?1c[23;4H[?25h[?0c
[?25l[?1c [7Chi[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Htest text[24;1H[K[23;9H[?25h[?0c[?25l[?1c
:[?25h[?0c" Test that copyindent works with expandtab set
[?25l[?1c[23;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset expandtab smartindent copyindent ts=8 sw=8 sts=8
[?25l[?1c[23;9H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1H{[23;9Hx[24;1H[K[23;9H[?25h[?0c[?25l[?1c
:[?25h[?0c?^start?,$w! test.out
[?25l[?1c"test.out" [24;12H[Kdh_md5sums
[24;12H[New File] 9 lines, 103 characters written[23;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../vim -u unix.vim -U NONE --noplugin -s dotest.in test20.in
dh_builddeb -- -Zxz
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test20.in" 22 lines, 361 characters[1;1HTests 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$
[1m[34m^V[0mjjlld
:/here$/,$-1w! test.out
:qa!
ENDTEST
test text test tex start here[18;17Hsome text[19;17Htest text
test text
Ox[1m[34m^[[0mjAy[1m[34m^[[0mkdd
[1m[34m~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests Blockwise Visual when there are TABs before the text.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[5;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 9 lines, 92 characters written[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[6;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[15;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso tiny.vim
[?25l[?1c[16;1H[?25h[?0c[22;1H[21;1H[?25l[?1cx[22;1H[K[23;1HOx[1m[34m^[[0mjAy[1m[34m^[[0mkdd[23;13H[K[21;1H[?25h[?0c
[?25l[?1cy[?25h[?0c[21;1H[?25l[?1cy
Ox[1m[34m^[[0mjAy[1m[34m^[[0mkdd
[1m[34m~ [21;1H[?25h[?0c[?25l[?1c[0m
2 changes; before #1 0 seconds ago[21;1H[K[21;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7m[No Name] [0m[23;1H[7mtest20.in [1;1H[?25h[?0c[?25l[?1c[1;11r[0m[1;1H[L[1;24r[1;1Hx[12;11H[1m[7m[+][0m[24;1H[K[1;1H[?25h[?0c
[?25l[?1cy[?25h[?0c[1;1H[?25l[?1c[1;11r[11;1H
[1;24r[11;1H[1m[34m~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H1 line less; before #1 0 seconds ago[1;1H[K[12;11H[1m[7m [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cquit!
[?25l[?1c[1;1HTests Blockwise Visual when there are TABs before the text.
First test for undo working properly when executing commands from a register.[2;78H[K[3;1HAlso test this in an empty buffer.[3;35H[K[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so tiny.vim[6;13H[K[7;1HG0"ay$k@au[7;11H[K[8;1H:new[8;5H[K[9;1H@auY:quit![9;11H[K[10;1HGP[10;3H[K[11;1H/start here$[11;13H[K[12;1H[1m[34m^V[0mjjlld[12;8H[K[23;1H[1m[34m~ [22;1H[?25h[?0c[?25l[?1c[0m[22;1H[K[23;1HOx[1m[34m^[[0mjAy[1m[34m^[[0mkdd[23;13H[K[22;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/[?25h[?0cstart here$
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[17;20H[?25h[?0c[?25l[?1c[?25h[?0c[?25l[?1c[0m[7ms[18;20H[?25h[?0c[?25l[?1ce[19;20H[?25h[?0c[?25l[?1c[17;21Ht[18;21H [19;20Ht[?25h[?0c[?25l[?1c[17;22Ha[18;22Ht[19;21H [?25h[?0c[?25l[?1c[0m[17;20Hrt here[17;27H[K[18;20Hext[18;23H[K[19;20Hex[19;23H[K[17;20H[?25h[?0c[18;20H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/here$/,$-1w! test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[Kdpkg-deb: building package `vim-tiny' in `../vim-tiny_7.3.547-7+deb7u3_armhf.deb'.
[24;12H[New File] 6 lines, 57 characters written[18;20H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test21.in" 19 lines, 297 characters[1;1HTests 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[1m[34m^W[0m :.w >>test.out
:qa!
ENDTEST
#include test21.in
/* test text test tex start here[15;17Hsome text[16;17Htest text[17;17Hstart OK if found this line[18;9Hstart found wrong line
test text
[1m[34m~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for [ CTRL-I with a count and CTRL-W CTRL-I with a count[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 6 lines, 73 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[10;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cstart
[?25l[?1c[14;23H[?25h[?0c[17;17H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 1 line, 30 characters written[17;17H[?25h[?0c[?25l[?1c[24;1H[K[24;1H?[?25h[?0cstart here
[?25l[?1c[14;23H[?25h[?0c[?25l[?1c[1;1H6[1m[34m^W[0m :.w >>test.ou[1;23H[K[2;1H:qa!
ENDTEST[3;8H[K[4;1H[K[5;1H#include test21.in[6;1H[K[7;1H/* test text test tex start here
some text
[12Ctest text
[9Cstart OK if found this line[11;9Hstart found wrong line
[1m[7mtest21.in [0m[13;1H:qa!
ENDTEST[14;9H[K[15;17H[K[16;1H#include test21.in[16;19H[K[17;17H[K[18;1H/* test text test tex start here
[7Csome text
test text[20;26H[K[21;1H start OK if found this line[21;44H[K[22;1H start found wrong line[22;31H[K[23;1H[7mtest21.in [10;17H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 30 characters appended[10;17H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test22.in" 13 lines, 197 characters[1;1HTests for file with some lines ending in CTRL-M, some not[1m[34m^M
^M[0m
STARTTEST
:set ta tx
:e!
:$-3,$w! test.out
:qa!
ENDTEST
this lines ends in a[1m[34m^M[0m
this one doesn't
this one does[1m[34m^M[0m
and the last one doesn't
[1m[34m~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for file with some lines ending in CTRL-M, some not[1m[34m^M[0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 4 lines, 38 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[8;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ta tx
[?25l[?1c[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce!
[?25l[?1c"test22.in" 13 lines, 197 characters[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$-3,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 4 lines, 79 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test23.in" 15 lines, 282 characters[1;1HTests 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
[1m[34m~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for complicated + argument to :edit command[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 7 lines, 125 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[11;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$-1w! Xfile1
[?25l[?1c"Xfile1" [24;10H[K[24;10H[New File] 1 line, 8 characters written[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$w! Xfile2
[?25l[?1c"Xfile2" [24;10H[K[24;10H[New File] 1 line, 8 characters written[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cedit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w
[?25l[?1c"Xfile1" [24;10H[K[24;10H1 line, 8 characters
foo|bar
"Xfile1" 1 line, 11 characters written
"Xfile2" 1 line, 8 characters
foo/bar
"Xfile2" 1 line, 12 characters written
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 1 line, 12 characters written
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ce Xfile1
[?25l[?1c"Xfile1" 1 line, 11 characters[1;1H[7L[1;1HfooPIPEbar
[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [0m[24;1H[K[24;1H"Xfile1" 1 line, 11 characters[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >> test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 11 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test24.in" 79 lines, 1240 characters[1;1HTests 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for regexp with backslash and other special characters inside [][24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[4;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 44 lines, 480 characters written[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[5;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:s/\(a\)*\(12\)\@>/A/
:s/\(foo\)\@<!bar/A/
:s/\(an\_s\+\)\@<=file/A/
:s/^\(\h\w*\%(->\|\.\)\=\)\+=/XX/
:s/^\(\h\w*\%(->\|\.\)\=\)\+=/YY/
:?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[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocompatible viminfo+=nviminfo
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c[\x]
[?25l[?1c[15;6H[?25h[?0c[?25l[?1ctext test text[15;20H[K[15;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c[\t\]]
[?25l[?1c[16;8H[?25h[?0c[?25l[?1ctext test tex[16;20H[K[16;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c[]y]
[?25l[?1c[17;11H[?25h[?0c[?25l[?1ctest text[17;20H[K[17;11H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c[\]]
[?25l[?1c[18;6H[?25h[?0c[?25l[?1ctext test text[18;20H[K[18;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c[y^]
[?25l[?1c[19;13H[?25h[?0c[?25l[?1cst text[19;20H[K[19;13H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c[$y]
[?25l[?1c[20;8H[?25h[?0c[?25l[?1cxt test text[20;20H[K[20;8H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c[\x61]
[?25l[?1c[21;7H[?25h[?0c[?25l[?1cext test text x61[21;25H[K[21;7H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c[\x60-\x64]
[?25l[?1c[22;7H[?25h[?0c[?25l[?1cext test text x60-x64[22;29H[K[22;7H[?25h[?0c[23;7H
[?25l[?1c[24;1H[K[24;1H/[?25h[?0c[\x785]
[?25l[?1c[23;6H[?25h[?0c[?25l[?1ctext test text x78 5[23;27H[K[23;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c[\o143]
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Htestc text test text o143[24;1H[K[23;5H[?25h[?0c[?25l[?1c text test text o143[23;26H[K[23;5H[?25h[?0c[?25l[?1c
/[?25h[?0c[\o140-\o144]
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Htesdt text test text o140-o144[24;1H[K[23;4H[?25h[?0c[?25l[?1ct text test text o140-o14[23;31H[K[23;4H[?25h[?0c[?25l[?1c
/[?25h[?0c[\o417]
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Htest7 text test text o41 7[24;1H[K[23;5H[?25h[?0c[?25l[?1c text test text o41 7[23;27H[K[23;5H[?25h[?0c[?25l[?1c
/[?25h[?0c\%x42
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Htest text tBest text \%x42[24;1H[K[23;12H[?25h[?0c[?25l[?1cest text \%x42[23;27H[K[23;12H[?25h[?0c[?25l[?1c
/[?25h[?0c\%o103
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Htest text teCst text \%o103[24;1H[K[23;13H[?25h[?0c[?25l[?1cst text \%o103[23;28H[K[23;13H[?25h[?0c[?25l[?1c
/[?25h[?0c[\x00]
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Htest text [1m[34m^@[0mtest text [\x00][24;1H[K[23;11H[?25h[?0c[?25l[?1ctest text [\x00][23;28H[K[23;11H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Htest te[1m[34m^@[0mxt t[1m[34m^D[0mest t[1m[34m^P[0mext [\x00-\x10][23;11H[?25h[?0c[?25l[?1c
:[?25h[?0cs/[\x00-\x10]//g
[?25l[?1c3 substitutions on 1 line[23;8Hxt test text [\x00-\x10][23;33H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Htest \xyztext test text [\x-z][24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/[\x-z]\+//
[?25l[?1c[23;6Htext test text [\x-z][23;28H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Htest text tev\uyst text [\u-z][24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/[\u-z]\{2,}//
[?25l[?1c[23;13Hst text [\u-z][23;28H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hxx aaaaa xx a[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/\(a\)\+//
[?25l[?1c[23;4H xx [23;10H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hxx aaaaa xx a[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/\(a*\)\+//
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hxx aaaaa xx a[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/\(a*\)*//
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hxx aaaaa xx[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/\(a\)\{2,3}/A/
[?25l[?1c[23;4HAaa xx[23;10H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hxx aaaaa xx[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/\(a\)\{-2,3}/A/
[?25l[?1c[23;4HAaaa x[23;11H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hxx aaa12aa xx[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/\(a\)*\(12\)\@>/A/
[?25l[?1c[23;4HAaa xx[23;10H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hxx foobar xbar xx[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/\(foo\)\@<!bar/A/
[?25l[?1c[23;12HA xx[23;16H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hxx an file xx[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/\(an\_s\+\)\@<=file/A/
[?25l[?1c[23;7HA xx[23;12H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hx= 9;[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/^\(\h\w*\%(->\|\.\)\=\)\+=/XX/
[?25l[?1c[23;1HXX
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hhh= 77;[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/^\(\h\w*\%(->\|\.\)\=\)\+=/YY/
[?25l[?1c[23;1HYY 77;[23;7H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c?start?,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New] 29L, 571C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test25.in" 31 lines, 840 characters[1;1HTest 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[1m[34m^][0m x:.w! test.out
:!rm -f test25.dir tags.test
:qa!
ENDTEST[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[4;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 17 lines, 540 characters written[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[5;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[22;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset hidden
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Create a link from test25.dir to the current directory.
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c!rm -f test25.dir
[?25l[?1c[18C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c!ln -s . test25.dir
[?25l[?1c[20C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c" Create tags.text, with the current directory name inserted.
[?25l[?1c[27m[24m[0m[H[J[1;1HTest 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[1m[34m^][0m x:.w! test.out
:!rm -f test25.dir tags.test
:qa!
ENDTEST
[?25h[?0c[?25l[?1c
/[?25h[?0ctags line
[?25l[?1c[1;2Hhis only works for Unix, because of the symbolic link.[1;56H[K[2;1H[K[3;1HSTARTTEST
:so small.vim
:set hidden[5;12H[K[6;2H" Create a link from test25.dir to the current directory.
:!rm -f test25.dir[7;19H[K[8;3Hln -s . test25.dir
:" Create tags.text, with the current directory name inserted.
/tags line[10;11H[K[11;1H:r !pwd[11;8H[K[12;1Hd$/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[17;20H[K[18;1HG[1m[34m^][0m x:.w! test.out[18;19H[K[19;1H:!rm -f test25.dir tags.test
:qa![20;6H[K[21;1HENDTEST[22;1H[K[23;1Htags line:
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cr !pwd
[?25l[?1c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[2;1HSTARTTEST
: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[1m[34m^][0m x:.w! test.out
:!rm -f test25.dir tags.test
:qa!
ENDTEST
tags line:
/<<PKGBUILDDIR>>/src/vim-basic/testdir
[?25h[?0c[?25l[?1c[23;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0ctest
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HSECTION_OFF /test25.dir/test25.in /^#define SECTION_OFF 3$/[24;1H[K[23;18H[?25h[?0c[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/test25.dir/t[23;1H[1m[34m@ [1;23r[0m[23;1H
[1;24r[22;1HSECTION_OFF /<<PKGBUILDDIR>>/src/vim-basic/testdir/test25.dir/t[23;1Hest25.in[8C/^#define SECTION_OFF 3$/[22;67H[?25h[?0c[?25l[?1c
:[?25h[?0c.w! tags.test
[?25l[?1c"tags.test" [24;13H[K[24;13H[New File] 1 line, 113 characters written[22;67H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Try jumping to a tag in the current file, but with a path that contains a
[?25l[?1c[22;67H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" symbolic link. When wrong, this will give the ATTENTION message. The next
[?25l[?1c[22;67H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" space will then be eaten by hit-return, instead of moving the cursor to 'd'.
[?25l[?1c[22;67H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset tags=tags.test
[?25l[?1c[22;67H[?25h[?0c[?25l[?1c[1;23r[1;1H[6M[1;24r[19;1H/*tx.c*/
#define SECTION_OFF 3
#define NUM_SECTIONS 3
SECTION_OFF[24;1H[K[23;1H[?25h[?0c[20;1H#[?25l[?1cefine SECTION_OFF 3[20;23H[K[20;2H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c.w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 1 line, 23 characters written[20;2H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c!rm -f test25.dir tags.test
[?25l[?1c[28C[?25h[?0c[24;1H
[No write since last change]
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test26.in" 44 lines, 750 characters[1;1HTest 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[1m[34m^V^[[0m
: if i == 9
: break
: endif
: if i == 5
: continue
: else
: let j = 9
: while j > 0
:[8Cif has("ebcdic")[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for :execute, :while and :if[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 39 lines, 696 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H: let j = 9
: while j > 0
:[8Cif has("ebcdic")
:[10Cexecute "normal" j . "a" . j . "\x27"
:[8Celse
:[10Cexecute "normal" j . "a" . j . "\x1b"
:[8Cendif
:[8Clet 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
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet i = 0
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cwhile i < 12
[?25l[?1c
: [?25h[?0c: let i = i + 1
[?25l[?1c: [?25h[?0c: if has("ebcdic")
[?25l[?1c: [?25h[?0c: execute "normal o" . i . "\047"
[?25l[?1c: [?25h[?0c: else
[?25l[?1c: [?25h[?0c: execute "normal o" . i . "\033"
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c: if i % 2
[?25l[?1c: [?25h[?0c: normal Ax^[1m[34m^[
[0m
[?25l[?1c: [?25h[?0c: if i == 9
[?25l[?1c: [?25h[?0c: break
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c: if i == 5
[?25l[?1c: [?25h[?0c: continue
[?25l[?1c: [?25h[?0c: else
[?25l[?1c: [?25h[?0c: let j = 9
[?25l[?1c: [?25h[?0c: while j > 0
[?25l[?1c:[8C[?25h[?0c: if has("ebcdic")
[?25l[?1c:[10C[?25h[?0c: execute "normal" j . "a" . j . "\x27"
[?25l[?1c:[10C[?25h[?0c: else
[?25l[?1c:[10C[?25h[?0c: execute "normal" j . "a" . j . "\x1b"
[?25l[?1c:[10C[?25h[?0c: endif
[?25l[?1c:[8C[?25h[?0c: let j = j - 1
[?25l[?1c:[8C[?25h[?0c: endwhile
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c: if i == 9
[?25l[?1c: [?25h[?0c: if has("ebcdic")
[?25l[?1c: [?25h[?0c: execute "normal Az\047"
[?25l[?1c: [?25h[?0c: else
[?25l[?1c: [?25h[?0c: execute "normal Az\033"
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c:endwhile
[27m[24m[0m[H[J[?25l[?1c[1;1H: 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[?25h[?0c[?25l[?1c
:[?25h[?0cunlet i j
[?25l[?1c[23;2H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c't,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 10 lines, 159 characters written[23;2H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test27.in" 20 lines, 270 characters[1;1HTest 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[1m[34m^R[0m%[1m[34m^[[0m:.w! test.out
:n! Xdir?/*/nofile
Go[1m[34m^R[0m%[1m[34m^[[0m:.w >>test.out
:e! xx
:!rm -rf Xdir1 Xdir2 Xdir3
:qa!
ENDTEST
[1m[34m~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for expanding file names[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 15 lines, 220 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[19;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c!mkdir Xdir1
[?25l[?1c[13C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c!mkdir Xdir2
[?25l[?1c[13C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c!mkdir Xdir3
[?25l[?1c[13C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccd Xdir3
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xdir3
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c!mkdir Xdir4
[?25l[?1c[13C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccd ..
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw Xdir1/file
[?25l[?1c"Xdir1/file" [New File] 20 lines, 270 characters written
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw Xdir3/Xdir4/file
[?25l[?1c"Xdir3/Xdir4/file" [New File] 20 lines, 270 characters written
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cn Xdir?/*/file
[?25l[?1c"Xdir3/Xdir4/file" 20 lines, 270 characters[27m[24m[0m[H[J[1;1HTest 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[1m[34m^R[0m%[1m[34m^[[0m:.w! test.out
:n! Xdir?/*/nofile
Go[1m[34m^R[0m%[1m[34m^[[0m:.w >>test.out
:e! xx
:!rm -rf Xdir1 Xdir2 Xdir3
:qa!
ENDTEST
[1m[34m~ [22;1H~ [23;1H~ [0m[24;1H"Xdir3/Xdir4/file" 20 lines, 270 characters[1;1H[?25h[?0c[20;1H[?25l[?1c
Xdir3/Xdir4/file[21;17H[K[21;16H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 1 line, 17 characters written[21;16H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cn! Xdir?/*/nofile
[?25l[?1c"Xdir?/*/nofile" [New DIRECTORY][1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [1;1H[?25h[?0c[?25l[?1c[0m
Xdir?/*/nofile[2;15H[K[2;14H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 15 characters appended[2;14H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! xx
[?25l[?1c"xx" [New File][2;1H[1m[34m~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c!rm -rf Xdir1 Xdir2 Xdir3
[?25l[?1c[26C[?25h[?0c[24;1H
[24;1H
[1m[32mPress ENTER or type command to continue[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test28.in" 23 lines, 364 characters[1;1HTest for sourcing a file with CTRL-V's at the end of the line
STARTTEST
:/firstline/+1,/lastline/-1w! Xtestfile
:so Xtestfile
Gmm__1[1m[34m^[^[[0m__2[1m[34m^[[0m__3[1m[34m^[^[[0m__4[1m[34m^[[0m__5[1m[34m^[[0m:'m,$s/[1m[34m^@[0m/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[1m[34m^V[0m
map __2 asd[1m[34m^V^V[0m
map __3 asd[1m[34m^V^V[0m
map __4 asd[1m[34m^V^V^V[0m
map __5 asd[1m[34m^V^V^V[0m
lastline[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for sourcing a file with CTRL-V's at the end of the line[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 5 lines, 114 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[9;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[10;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/firstline/+1,/lastline/-1w! Xtestfile
[?25l[?1c"Xtestfile" [24;13H[K[24;13H[New File] 10 lines, 148 characters written[10;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso Xtestfile
[?25l[?1c[10;1H[?25h[?0c[23;1H[11C[?25l[?1c[1;23r[23;1H
[1;24r[22;1Hsd
map __2 asd[1m[34m^[[0m[24;1H[K[23;12H[?25h[?0c[?25l[?1c[2Csecond[?25h[?0cd [?25l[?1csd[1m[34m^[[?25h[?0c^[[0m [13C[?25l[?1c[23;24Hsd[1m[34m^@[0mmap __5 asd[1m[34m^@[?25h[?0c[?25l[?1c[0m[2Cfifth[?25h[?0c[?25l[?1c
:[?25h[?0c'm,$s/[1m[34m^@[0m/0/g
[?25l[?1c[23;26H0map __5 asd0fifth[23;44H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c'm,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 2 lines, 45 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test29.in" 181 lines, 3395 characters[1;1HTest 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+=j[14;1Hj05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions-=j joinspaces
j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions[16;1H+=j
j05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions-=j nojoinspaces compatible
j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj4Jy3l$pjd/STARTTEST/-2
ENDTEST
firstline
asdfasdf.
asdf[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for joining lines and marks in them[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[6;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 11 lines, 478 characters written[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[7;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[19;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocompatible viminfo+=nviminfo
[?25l[?1c[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nojoinspaces
[?25l[?1c[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpoptions-=j
[?25l[?1c[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cfirstline/
[?25l[?1c[24;11H[K[24;1H[21;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^STARTTEST/-1
[?25l[?1c[12C+-1
37 fewer lines[24;15H[K[22;1HSTARTTEST
/^{/+1[22;1H[?25h[?0c[?25l[?1c[24;4Hmore lines[24;14H[K[22;1Hasdfasdf.
asdf[23;5H[K[22;1H[?25h[?0c[?25l[?1c[10Casdf
asdfasdf.[22;10H[?25h[?0c[23;10H[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf.[24;1H[K[23;11H[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf. [?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf. [?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf.[7C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf.[14C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[?25h[?0c[?25l[?1cf asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf [?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[7C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[8C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[7C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[15C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hzx cvn.[?25h[?0c
zx cv[?25l[?1c[1;23r[1;1H[3M[1;24r[21;1Has dfg?
hjkl iop!
ert[22;6H[?25h[?0c
hjkl i[20;7H[?25l[?1c. as dfg? hjkl iop! ert
zx cvn.
as dfg?[22;8H[K[23;1Hhjkl iop![20;26H[?25h[?0c er[?25l[?1ct er[?25h[?0c
zx cv[26C[?25l[?1crn[?25h[?0c[20;23H[10C[?25l[?1cnop[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset cpoptions+=j
[?25l[?1c[20;35H[?25h[?0c[21;7H
zx cv[23;6H
hjkl i[21;7H[?25l[?1c. as dfg? hjkl iop! ert[22;1H[K[23;1HSTARTTEST[21;26H[?25h[?0c er[?25l[?1ct er[?25h[?0c
zx cv[26C[?25l[?1crn[?25h[?0c[21;23H[10C[?25l[?1cnop[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpoptions-=j joinspaces
[?25l[?1c[21;35H[?25h[?0c
[?25l[?1c
37 more lines[24;14H[K[23;1Hasdfasdf.
[?25h[?0c[?25l[?1c[11Casdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf.[24;1H[K[23;10H[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf. [?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf. [?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf. [?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf.[7C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf.[14C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[?25h[?0c[?25l[?1cf asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf [?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[7C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[8C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[7C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[15C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hzx cvn.[?25h[?0c
zx cv[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Has dfg?
hjkl iop![?25h[?0c
hjkl i[21;7H[?25l[?1c. as dfg? hjkl iop! ert
zx cvn.
as dfg?[23;8H[K[21;28H[?25h[?0c er[?25l[?1ct e[?25h[?0c
zx cv[29C[?25l[?1cen[?25h[?0c[21;25H[11C[?25l[?1cnop[?25h[?0c[?25l[?1c
:[?25h[?0cset cpoptions+=j
[?25l[?1c[21;38H[?25h[?0c[22;7H
zx cv[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hhjkl iop![24;1H[K[23;6H[?25h[?0c
hjkl i[21;7H[?25l[?1c. as dfg? hjkl iop! ert[22;1H[K[23;1HSTARTTEST[21;27H[?25h[?0c er[?25l[?1ct er[?25h[?0c
zx cv[27C[?25l[?1crn[?25h[?0c[21;24H[10C[?25l[?1cnop[?25h[?0c[?25l[?1c
:[?25h[?0cset cpoptions-=j nojoinspaces compatible
[?25l[?1c[21;36H[?25h[?0c
[?25l[?1c
37 more lines[24;14H[K[23;1Hasdfasdf.
[?25h[?0c[?25l[?1c[11Casdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf.[24;1H[K[23;10H[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf. [?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf. [?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf. [?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf.[7C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf.[14C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[?25h[?0c[?25l[?1cf asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf [?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[7C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[8C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[7C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hasdfasdf[15C[?25h[?0c[?25l[?1c asdf[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hzx cvn.[?25h[?0c[?25l[?1c. as dfg? hjkl iop! ert[23;8H[?25h[?0c[22C[?25l[?1ct a[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hzx cvn.[?25h[?0c[?25l[?1c
/[?25h[?0cSTARTTEST/-2
[?25l[?1c[11C+-2
4 fewer lines[24;14H[K[23;1H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[23;1H
[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H/^{/+1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H12 lines, 147 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[12M[1;24r[12;1H:set comments=s1:/*,mb:*,ex:*/,://
:set nojoinspaces fo=j
:set backspace=eol,start
:.,+3join
j4J
:.,+2join
j3J
:.,+2join
j3J
:.,+2join
jj3J
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+1
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1H{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset comments=s1:/*,mb:*,ex:*/,://
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nojoinspaces fo=j
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset backspace=eol,start
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.,+3join
[?25l[?1c[23;1H/* Make sure the previous comment leader is not removed. */
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[24;1H[K[23;1H[?25h[?0c[?25l[?1c/* Make sure the previous comment leader is not removed. */
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c.,+2join
[?25l[?1c[23;1H// Should the next comment leader be left alone? Yes.
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[24;1H[K[23;1H[?25h[?0c[?25l[?1c// Should the next comment leader be left alone? Yes.
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c.,+2join
[?25l[?1c[23;1H/* Here the comment leader should be left intact. */ // And so should this one.
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[24;1H[K[23;1H[?25h[?0c[?25l[?1c/* Here the comment leader should be left intact. */ // And so should this one.
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c.,+2join
[?25l[?1c[23;1Hif (condition) // Remove the next comment leader! OK, I will.
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Haction();[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1cif (condition) // Remove the next comment leader! OK, I will.
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Haction();
[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[3M[1;24r[21;1H}
STARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H/^{/+1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H18 lines, 303 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1Hj3J
:.,+2join
j3J
:.,+2join
jj3J
j:.,+2join
jj3J
j:.,+5join
j6J
oSome code![1m[34m^M[0m// Make sure backspacing does not remove this comment leader.[1m[34m^[[0m0i[1m[34m^H[11;1H^[[0m
ENDTEST
{
/*
* Make sure the previous comment leader is not removed.
*/
/*
* Make sure the previous comment leader is not removed.
*/[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+1
[?25l[?1c[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset comments=s1:/*,mb:*,ex:*/,://
[?25l[?1c[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset comments+=s1:>#,mb:#,ex:#<,:<
[?25l[?1c[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpoptions-=j joinspaces fo=j
[?25l[?1c[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset backspace=eol,start
[?25l[?1c[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.,+3join
[?25l[?1c[15;23r[15;1H[3M[1;24r[15;1H/* Make sure the previous comment leader is not removed. */[21;1H// Should the next comment leader be left alone?
// Yes.[24;1H[K[15;1H[?25h[?0c
[?25l[?1c[16;23r[16;1H[3M[1;24r[16;1H/* Make sure the previous comment leader is not removed. */[21;1H// Should the next comment leader be left alone?
// Yes.[16;1H[?25h[?0c
[?25l[?1c[24;1H:[?25h[?0c.,+2join
[?25l[?1c[17;23r[17;1H[2M[1;24r[17;4HShould the next comment leader be left alone? Yes.[22;1H/* Here the comment leader should be left intact. */
// And so should this one.[24;1H[K[17;1H[?25h[?0c
[?25l[?1c[18;23r[18;1H[2M[1;24r[18;4HShould the next comment leader be left alone? Yes.[23;1H/* Here the comment leader should be left intact. */[18;1H[?25h[?0c
[?25l[?1c[24;1H:[?25h[?0c.,+2join
[?25l[?1c[19;23r[19;1H[2M[1;24r[19;2H* Here the comment leader should be left intact. */ // And so should this one.
// And so should this one.[24;1H[K[19;1H[?25h[?0c
[?25l[?1c/* Here the comment leader should be left intact. */ // And so should this one.[21;1H[K[22;1Hif (condition) // Remove the next comment leader![23;16H// OK, I will.[20;1H[?25h[?0c
[?25l[?1c
:[?25h[?0c.,+2join
[?25l[?1c[21;1Hif (condition) // Remove the next comment leader! OK, I will.
action();[22;14H[K[23;16H[K[21;1H[?25h[?0c
[?25l[?1cif (condition) // Remove the next comment leader! OK, I will.
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;5Haction();[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c.,+2join
[?25l[?1c[23;1Hint i = 7 /* foo *// 3 // comment
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;2H;[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1cint i = 7 /* foo *// 3 // comment
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;2H;
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c.,+5join
[?25l[?1c[23;1H># Note that the last character of the ending comment leader (left angle bracket[23;1H[1m[34m@ [1;23r[0m[1;1H[3M[1;24r[20;1H># Note that the last character of the ending comment leader (left angle bracket[21;1H) 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 lines[23;1H. This comment should retain its comment leader.[24;1H[K[20;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[23;1H># Note that the last character of the ending comment leader (left angle[22;1H[?25h[?0c[?25l[?1c># Note that the last character of the ending comment leader (left angle bracket[23;1H) is a comment leader itself. Make sure that this comment leader is not removed[22;1H[1m[34m@ [23;1H@ [1;23r[0m[1;1H[2M[1;24r[20;1H># Note that the last character of the ending comment leader (left angle bracket[21;1H) is a comment leader itself. Make sure that this comment leader is not removed [22;1Hfrom the next line #< < On this line a new comment is opened which spans 2 lines[23;1H. This comment should retain its comment leader.[20;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1HSome code!
// Make sure backspacing does not remove this comment leader.[?25h[?0c
[?25l[?1c[22;11H// Make sure backspacing does not remove this comment leader.
}[23;2H[K[22;10H[?25h[?0c
[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3 lines, 61 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[23;19H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:?firstline?+1,$w! test.out[24;1H[K[23;19H[?25h[?0c
[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cg/^STARTTEST/.,/^ENDTEST/d
[?25l[?1c52 fewer lines[24;15H[K[1;1H// Should the next comment leader be left alone? Yes.[1;56H[K[2;1H/* 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();[5;14H[K[6;1Hif (condition) // Remove the next comment leader! OK, I will.
action();[7;14H[K[8;1Hint i = 7 /* foo *// 3 // comment
;[9;4H[K[10;1Hint i = 7 /* foo *// 3 // comment[10;34H[K[11;1H ;[11;3H[K[12;1H># Note that the last character of the ending comment leader (left angle bracket[13;1H) is a comment leader itself. Make sure that this comment leader is not removed [14;1Hfrom the next line #< < On this line a new comment is opened which spans 2 lines[15;1H. This comment should retain its comment leader.[15;49H[K[16;1H># Note that the last character of the ending comment leader (left angle bracket[17;1H) 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 lines[19;1H. This comment should retain its comment leader.
Some code!// Make sure backspacing does not remove this comment leader.
}[22;2H[K[23;1H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c?firstline?+1,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 86 lines, 2645 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test30.in" 222 lines, 3463 characters[1;1HTest 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for a lot of variations of the 'fileformats' option[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[5;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 195 lines, 3271 characters written[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[6;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:$r XXtt62
:$r XXtt63
Go7[1m[34m^[[0m:$r XXtt71
Go8[1m[34m^[[0m:$r XXtt81
Go9[1m[34m^[[0m:$r XXtt91
:$r XXtt92
:$r XXtt93
Go10[1m[34m^[[0m:$r XXUnix
:set nobinary ff&
:w
:qa!
ENDTEST
1
2
3
4
5
6
7
8
9
10[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" first write three test files, one in each format
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformat=unix
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformats=
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^1/w! XX1
[?25l[?1c"XX1" [24;7H[K[24;7H[New File] 1 line, 2 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^2/w! XX2
[?25l[?1c"XX2" [24;7H[K[24;7H[New File] 1 line, 2 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^3/w! XX3
[?25l[?1c"XX3" [24;7H[K[24;7H[New File] 1 line, 2 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^4/w! XX4
[?25l[?1c"XX4" [24;7H[K[24;7H[New File] 1 line, 2 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^5/w! XX5
[?25l[?1c"XX5" [24;7H[K[24;7H[New File] 1 line, 2 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^6/w! XX6
[?25l[?1c"XX6" [24;7H[K[24;7H[New File] 1 line, 2 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^7/w! XX7
[?25l[?1c"XX7" [24;7H[K[24;7H[New File] 1 line, 2 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^8/w! XX8
[?25l[?1c"XX8" [24;7H[K[24;7H[New File] 1 line, 2 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^9/w! XX9
[?25l[?1c"XX9" [24;7H[K[24;7H[New File] 1 line, 2 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^10/w! XX10
[?25l[?1c"XX10" [24;8H[K[24;8H[New File] 1 line, 3 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^unix/;/eof/-1w! XXUnix
[?25l[?1c"XXUnix" [24;10H[K[24;10H[New File] 2 lines, 10 characters written[1;23r[1;1H[2M[1;24r[23;1Hunix[24;1H[K[24;1H"XXUnix" [New File] 2 lines, 10 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^dos/;/eof/-1w! XXDos
[?25l[?1c"XXDos" [24;9H[K[24;9H[New File] 2 lines, 10 characters written[1;23r[1;1H[4M[1;24r[20;1Hunix
eof
dos[1m[34m^M[0m[24;1H[K[24;1H"XXDos" [New File] 2 lines, 10 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset bin noeol
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$w! XXMac
[?25l[?1c"XXMac" [24;9H[K[24;9H[New File][Incomplete last line] 1 line, 8 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nobin eol
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUnix XXDos XXMac
[?25l[?1c3 buffers wiped out[24;21H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" create mixed format files
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif has("vms")
[?25l[?1c
: [?25h[?0c: !copy XXUnix,XXDos XXUxDs.
[?25l[?1c: [?25h[?0c: !copy XXUnix,XXMac XXUxMac.
[?25l[?1c: [?25h[?0c: !copy XXDos,XXMac XXDosMac.
[?25l[?1c: [?25h[?0c: !copy XXUnix,XXDos,XXMac XXUxDsMc.
[?25l[?1c: [?25h[?0c:elseif has("win32")
[?25l[?1c: [?25h[?0c: !copy /b XXUnix+XXDos XXUxDs
[?25l[?1c: [?25h[?0c: !copy /b XXUnix+XXMac XXUxMac
[?25l[?1c: [?25h[?0c: !copy /b XXDos+XXMac XXDosMac
[?25l[?1c: [?25h[?0c: !copy /b XXUnix+XXDos+XXMac XXUxDsMc
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: !cat XXUnix XXDos >XXUxDs
[?25l[?1c:!cat XXUnix XXDos >XXUxDs[?25h[?0c[24;1H
[?25l[?1c[24;1H: [?25h[?0c: !cat XXUnix XXMac >XXUxMac
[?25l[?1c:!cat XXUnix XXMac >XXUxMac[?25h[?0c[24;1H
[?25l[?1c[24;1H: [?25h[?0c: !cat XXDos XXMac >XXDosMac
[?25l[?1c:!cat XXDos XXMac >XXDosMac[?25h[?0c[24;1H
[?25l[?1c[24;1H: [?25h[?0c: !cat XXUnix XXDos XXMac >XXUxDsMc
[?25l[?1c:!cat XXUnix XXDos XXMac >XXUxDsMc[?25h[?0c[24;1H
[?25l[?1c[24;1H: [?25h[?0c:endif
[27m[24m[0m[H[J[?25l[?1c[1;1H:$r XXtt93
Go10[1m[34m^[[0m:$r XXUnix
:set nobinary ff&
:w
:qa!
ENDTEST
1
2
3
4
5
6
7
8
9
10
unix
unix
eof
dos[1m[34m^M
[?25h[?0c[?25l[?1c
[0m:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" try reading and writing with 'fileformats' empty
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformat=unix
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUnix
[?25l[?1c"XXUnix" [24;10H[K[24;10H2 lines, 10 characters[1;1Hunix[1;5H[K[2;1Hunix[2;5H[K[3;1H[1m[34m~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 2 lines, 10 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXDos
[?25l[?1c"XXDos" [24;9H[K[24;9H2 lines, 10 characters[1;1Hdos[1m[34m^M[0m
dos[1m[34m^M[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt01
[?25l[?1c"XXtt01" [24;10H[K[24;10H[New File] 2 lines, 10 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXMac
[?25l[?1c"XXMac" [24;9H[K[24;9H[Incomplete last line] 1 line, 8 characters[1;1Hmac[2Cmac[1m[34m^M
~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt02
[?25l[?1c"XXtt02" [24;10H[K[24;10H[New File] 1 line, 9 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUnix XXDos XXMac
[?25l[?1c"test30.in" [24;13H[K[24;13H222 lines, 3463 characters
3 buffers wiped out
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset fileformat=dos
[?25l[?1c[1;1H[2L[1;1H:qa!
ENDTEST[3;1H[K[4;1H1[4;2H[K[5;1H2[5;2H[K[6;1H3[6;2H[K[7;1H4[7;2H[K[8;1H5[8;2H[K[9;1H6[9;2H[K[10;1H7[10;2H[K[11;1H8[11;2H[K[12;1H9[12;2H[K[13;1H10[13;3H[K[14;1H[K[15;1Hunix[15;5H[K[16;1Hunix[16;5H[K[17;1Heof[17;4H[K[18;1H[K[19;1Hdos[1m[34m^M[0m[19;6H[K[20;1Hdos[1m[34m^M[0m[20;6H[K[21;1Heof[21;4H[K[22;1H[K[23;1Hmac[1m[34m^M[0mmac[1m[34m^M[0m[23;11H[K[24;1H[K[19;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ce! XXUnix
[?25l[?1c"XXUnix" [24;10H[K[24;10H[CR missing][dos format] 2 lines, 10 characters[1;1Hunix
unix[2;5H[K[3;1H[1m[34m~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt11
[?25l[?1c"XXtt11" [24;10H[K[24;10H[New File][dos format] 2 lines, 12 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXDos
[?25l[?1c"XXDos" [24;9H[K[24;9H[dos format] 2 lines, 10 characters[1;1Hdos[1;4H[K[2;1Hdos[2;4H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! XXtt12
[?25l[?1c"XXtt12" [24;10H[K[24;10H[New File][dos format] 2 lines, 10 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXMac
[?25l[?1c"XXMac" [24;9H[K[24;9H[Incomplete last line][dos format] 1 line, 8 characters[1;1Hmac[1m[34m^M[0mmac[1m[34m^M
~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt13
[?25l[?1c"XXtt13" [24;10H[K[24;10H[New File][dos format] 1 line, 10 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUnix XXDos XXMac
[?25l[?1c"test30.in" [24;13H[K[24;13H[CR missing][dos format] 222 lines, 3463 characters
3 buffers wiped out
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset fileformat=mac
[?25l[?1c[1;1H[2L[1;1H:qa!
ENDTEST[3;1H[K[4;1H1[4;2H[K[5;1H2[5;2H[K[6;1H3[6;2H[K[7;1H4[7;2H[K[8;1H5[8;2H[K[9;1H6[9;2H[K[10;1H7[10;2H[K[11;1H8[11;2H[K[12;1H9[12;2H[K[13;1H10[13;3H[K[14;1H[K[15;1Hunix[15;5H[K[16;1Hunix[16;5H[K[17;1Heof[17;4H[K[18;1H[K[19;1Hdos[19;4H[K[20;1Hdos[20;4H[K[21;1Heof[21;4H[K[22;1H[K[23;1Hmac[1m[34m^J[0mmac[23;9H[K[24;1H[K[19;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ce! XXUnix
[?25l[?1c"XXUnix" [24;10H[K[24;10H[Incomplete last line][mac format] 1 line, 10 characters[1;1Hunix[1m[34m^J[0munix[1m[34m^J
~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt21
[?25l[?1c"XXtt21" [24;10H[K[24;10H[New File][mac format] 1 line, 11 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXDos
[?25l[?1c"XXDos" [24;9H[K[24;9H[Incomplete last line][mac format] 3 lines, 10 characters[1;1Hdos[1;4H[K[2;1H[1m[34m^J[0mdos[2;6H[K[3;1H[1m[34m^J[0m[3;3H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! XXtt22
[?25l[?1c"XXtt22" [24;10H[K[24;10H[New File][mac format] 3 lines, 11 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXMac
[?25l[?1c"XXMac" [24;9H[K[24;9H[mac format] 2 lines, 8 characters[1;1Hmac
mac[2;4H[K[3;1H[1m[34m~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt23
[?25l[?1c"XXtt23" [24;10H[K[24;10H[New File][mac format] 2 lines, 8 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUnix XXDos XXMac
[?25l[?1c"test30.in" [24;13H[K[24;13H[Incomplete last line][mac format] 5 lines, 3463 characters
3 buffers wiped out
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[2L[1;1H[1m[34m^J[0mdos
[1m[34m^J[0meof[1m[34m^J^J[0mmac
mac[3;4H[K[4;1H[1m[34m^J[0m[4;3H[K[24;1H[K[4;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c" try reading and writing with 'fileformats' set to one format
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformats=unix
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxDsMc
[?25l[?1c"XXUxDsMc" [24;12H[K[24;12H[Incomplete last line] 5 lines, 28 characters[1;1Hunix[1;5H[K[2;1Hunix[2;5H[K[3;1Hdos[1m[34m^M[0m
dos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M[0m[5;11H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! XXtt31
[?25l[?1c"XXtt31" [24;10H[K[24;10H[New File] 5 lines, 29 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUxDsMc
[?25l[?1c"test30.in" [24;13H[K[24;13H222 lines, 3463 characters[1;1HTest for a lot of variations of the 'fileformats' option[2;1H[K[3;1HNote: This test will fail if "cat" is not available.[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so small.vim[6;14H[K[7;1H:" first write three test files, one in each format[7;52H[K[8;1H:set fileformat=unix[8;21H[K[9;1H:set fileformats=[9;18H[K[10;1H:/^1/w! XX1[10;12H[K[11;1H:/^2/w! XX2[11;12H[K[12;1H:/^3/w! XX3[12;12H[K[13;1H:/^4/w! XX4[13;12H[K[14;1H:/^5/w! XX5[14;12H[K[15;1H:/^6/w! XX6[15;12H[K[16;1H:/^7/w! XX7[16;12H[K[17;1H:/^8/w! XX8[17;12H[K[18;1H:/^9/w! XX9[18;12H[K[19;1H:/^10/w! XX10[19;14H[K[20;1H:/^unix/;/eof/-1w! XXUnix[20;26H[K[21;1H:/^dos/;/eof/-1w! XXDos[21;24H[K[22;1H:set bin noeol[22;15H[K[23;1H:$w! XXMac[23;11H[K[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformats=dos
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxDsMc
[?25l[?1c"XXUxDsMc" [24;12H[K[24;12H[Incomplete last line][CR missing][dos format] 5 lines, 28 character
[23;80Hs[24;1H
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt32
[?25l[?1c"XXtt32" [24;10H[K[24;10H[New File][dos format] 5 lines, 32 characters written
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cbwipe XXUxDsMc
[?25l[?1c"test30.in" [24;13H[K[24;13H[CR missing][dos format] 222 lines, 3463 characters[1;1H[3L[1;1HTest for a lot of variations of the 'fileformats' option
Note: This test will fail if "cat" is not available.[24;1H[K[24;1H"test30.in" [CR missing][dos format] 222 lines, 3463 characters[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformats=mac
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxDsMc
[?25l[?1c"XXUxDsMc" [24;12H[K[24;12H[mac format] 4 lines, 28 characters[1;1Hunix[1m[34m^J[0munix[1m[34m^J[0mdos[1;16H[K[2;1H[1m[34m^J[0mdos
[1m[34m^J[0mmac[3;7H[K[4;1Hmac
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt33
[?25l[?1c"XXtt33" [24;10H[K[24;10H[New File][mac format] 4 lines, 28 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUxDsMc
[?25l[?1c"test30.in" [24;13H[K[24;13H[Incomplete last line][mac format] 5 lines, 3463 characters[1;1H[1m[34m^J[0mdos[1;6H[K[2;3Heof[1m[34m^J^J[0mmac
mac[3;4H[K[4;1H[1m[34m^J[0m[4;3H[K[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" try reading and writing with 'fileformats' set to two formats
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformats=unix,dos
[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxDsMc
[?25l[?1c"XXUxDsMc" [24;12H[K[24;12H[Incomplete last line] 5 lines, 28 characters[1;1Hunix[1;5H[K[2;1Hunix[2;5H[K[3;1Hdos[1m[34m^M[0m
dos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M[0m[5;11H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! XXtt41
[?25l[?1c"XXtt41" [24;10H[K[24;10H[New File] 5 lines, 29 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUxDsMc
[?25l[?1c"test30.in" [24;13H[K[24;13H222 lines, 3463 characters[1;1HTest for a lot of variations of the 'fileformats' option[2;1H[K[3;1HNote: This test will fail if "cat" is not available.[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so small.vim[6;14H[K[7;1H:" first write three test files, one in each format[7;52H[K[8;1H:set fileformat=unix[8;21H[K[9;1H:set fileformats=[9;18H[K[10;1H:/^1/w! XX1[10;12H[K[11;1H:/^2/w! XX2[11;12H[K[12;1H:/^3/w! XX3[12;12H[K[13;1H:/^4/w! XX4[13;12H[K[14;1H:/^5/w! XX5[14;12H[K[15;1H:/^6/w! XX6[15;12H[K[16;1H:/^7/w! XX7[16;12H[K[17;1H:/^8/w! XX8[17;12H[K[18;1H:/^9/w! XX9[18;12H[K[19;1H:/^10/w! XX10[19;14H[K[20;1H:/^unix/;/eof/-1w! XXUnix[20;26H[K[21;1H:/^dos/;/eof/-1w! XXDos[21;24H[K[22;1H:set bin noeol[22;15H[K[23;1H:$w! XXMac[23;11H[K[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxMac
[?25l[?1c"XXUxMac" [24;11H[K[24;11H[Incomplete last line] 3 lines, 18 characters[1;1Hunix[1;6H[K[2;1Hunix
mac[1m[34m^M[0mmac[1m[34m^M[0m[3;12H[K[4;1H[1m[34m~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt42
[?25l[?1c"XXtt42" [24;10H[K[24;10H[New File] 3 lines, 19 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUxMac
[?25l[?1c"test30.in" [24;13H[K[24;13H222 lines, 3463 characters[1;1HTest for a lot of variations of the 'fileformats' option[2;1H[K[3;1HNote: This test will fail if "cat" is not available.[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so small.vim[6;14H[K[7;1H:" first write three test files, one in each format[7;52H[K[8;1H:set fileformat=unix[8;21H[K[9;1H:set fileformats=[9;18H[K[10;1H:/^1/w! XX1[10;12H[K[11;1H:/^2/w! XX2[11;12H[K[12;1H:/^3/w! XX3[12;12H[K[13;1H:/^4/w! XX4[13;12H[K[14;1H:/^5/w! XX5[14;12H[K[15;1H:/^6/w! XX6[15;12H[K[16;1H:/^7/w! XX7[16;12H[K[17;1H:/^8/w! XX8[17;12H[K[18;1H:/^9/w! XX9[18;12H[K[19;1H:/^10/w! XX10[19;14H[K[20;1H:/^unix/;/eof/-1w! XXUnix[20;26H[K[21;1H:/^dos/;/eof/-1w! XXDos[21;24H[K[22;1H:set bin noeol[22;15H[K[23;1H:$w! XXMac[23;11H[K[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXDosMac
[?25l[?1c"XXDosMac" [24;12H[K[24;12H[Incomplete last line][dos format] 3 lines, 18 characters[1;1Hdo[1;4H[K[2;1Hdos
mac[1m[34m^M[0mmac[1m[34m^M[0m[3;12H[K[4;1H[1m[34m~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt43
[?25l[?1c"XXtt43" [24;10H[K[24;10H[New File][dos format] 3 lines, 20 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXDosMac
[?25l[?1c"test30.in" [24;13H[K[24;13H222 lines, 3463 characters[1;1HTest for a lot of variations of the 'fileformats' option[2;1H[K[3;1HNote: This test will fail if "cat" is not available.[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so small.vim[6;14H[K[7;1H:" first write three test files, one in each format[7;52H[K[8;1H:set fileformat=unix[8;21H[K[9;1H:set fileformats=[9;18H[K[10;1H:/^1/w! XX1[10;12H[K[11;1H:/^2/w! XX2[11;12H[K[12;1H:/^3/w! XX3[12;12H[K[13;1H:/^4/w! XX4[13;12H[K[14;1H:/^5/w! XX5[14;12H[K[15;1H:/^6/w! XX6[15;12H[K[16;1H:/^7/w! XX7[16;12H[K[17;1H:/^8/w! XX8[17;12H[K[18;1H:/^9/w! XX9[18;12H[K[19;1H:/^10/w! XX10[19;14H[K[20;1H:/^unix/;/eof/-1w! XXUnix[20;26H[K[21;1H:/^dos/;/eof/-1w! XXDos[21;24H[K[22;1H:set bin noeol[22;15H[K[23;1H:$w! XXMac[23;11H[K[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformats=unix,mac
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxDs
[?25l[?1c"XXUxDs" [24;10H[K[24;10H4 lines, 20 characters[1;1Hunix[1;6H[K[2;1Hunix
dos[1m[34m^M[0m[3;7H[K[4;1Hdos[1m[34m^M
~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt51
[?25l[?1c"XXtt51" [24;10H[K[24;10H[New File] 4 lines, 20 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUxDs
[?25l[?1c"test30.in" [24;13H[K[24;13H222 lines, 3463 characters[1;1HTest for a lot of variations of the 'fileformats' option[2;1H[K[3;1HNote: This test will fail if "cat" is not available.[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so small.vim[6;14H[K[7;1H:" first write three test files, one in each format[7;52H[K[8;1H:set fileformat=unix[8;21H[K[9;1H:set fileformats=[9;18H[K[10;1H:/^1/w! XX1[10;12H[K[11;1H:/^2/w! XX2[11;12H[K[12;1H:/^3/w! XX3[12;12H[K[13;1H:/^4/w! XX4[13;12H[K[14;1H:/^5/w! XX5[14;12H[K[15;1H:/^6/w! XX6[15;12H[K[16;1H:/^7/w! XX7[16;12H[K[17;1H:/^8/w! XX8[17;12H[K[18;1H:/^9/w! XX9[18;12H[K[19;1H:/^10/w! XX10[19;14H[K[20;1H:/^unix/;/eof/-1w! XXUnix[20;26H[K[21;1H:/^dos/;/eof/-1w! XXDos[21;24H[K[22;1H:set bin noeol[22;15H[K[23;1H:$w! XXMac[23;11H[K[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxDsMc
[?25l[?1c"XXUxDsMc" [24;12H[K[24;12H[Incomplete last line] 5 lines, 28 characters[1;1Hunix[1;6H[K[2;1Hunix
dos[1m[34m^M[0m[3;7H[K[4;1Hdos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M
~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt52
[?25l[?1c"XXtt52" [24;10H[K[24;10H[New File] 5 lines, 29 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUxDsMc
[?25l[?1c"test30.in" [24;13H[K[24;13H222 lines, 3463 characters[1;1HTest for a lot of variations of the 'fileformats' option[2;1H[K[3;1HNote: This test will fail if "cat" is not available.[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so small.vim[6;14H[K[7;1H:" first write three test files, one in each format[7;52H[K[8;1H:set fileformat=unix[8;21H[K[9;1H:set fileformats=[9;18H[K[10;1H:/^1/w! XX1[10;12H[K[11;1H:/^2/w! XX2[11;12H[K[12;1H:/^3/w! XX3[12;12H[K[13;1H:/^4/w! XX4[13;12H[K[14;1H:/^5/w! XX5[14;12H[K[15;1H:/^6/w! XX6[15;12H[K[16;1H:/^7/w! XX7[16;12H[K[17;1H:/^8/w! XX8[17;12H[K[18;1H:/^9/w! XX9[18;12H[K[19;1H:/^10/w! XX10[19;14H[K[20;1H:/^unix/;/eof/-1w! XXUnix[20;26H[K[21;1H:/^dos/;/eof/-1w! XXDos[21;24H[K[22;1H:set bin noeol[22;15H[K[23;1H:$w! XXMac[23;11H[K[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXDosMac
[?25l[?1c"XXDosMac" [24;12H[K[24;12H[mac format] 4 lines, 18 characters[1;1Hdo[1;4H[K[2;1H[1m[34m^J[0mdos
[1m[34m^J[0mmac[3;7H[K[4;1Hmac
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt53
[?25l[?1c"XXtt53" [24;10H[K[24;10H[New File][mac format] 4 lines, 18 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXDosMac
[?25l[?1c"test30.in" [24;13H[K[24;13H222 lines, 3463 characters[1;1HTest for a lot of variations of the 'fileformats' option[2;1H[K[3;1HNote: This test will fail if "cat" is not available.[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so small.vim[6;14H[K[7;1H:" first write three test files, one in each format[7;52H[K[8;1H:set fileformat=unix[8;21H[K[9;1H:set fileformats=[9;18H[K[10;1H:/^1/w! XX1[10;12H[K[11;1H:/^2/w! XX2[11;12H[K[12;1H:/^3/w! XX3[12;12H[K[13;1H:/^4/w! XX4[13;12H[K[14;1H:/^5/w! XX5[14;12H[K[15;1H:/^6/w! XX6[15;12H[K[16;1H:/^7/w! XX7[16;12H[K[17;1H:/^8/w! XX8[17;12H[K[18;1H:/^9/w! XX9[18;12H[K[19;1H:/^10/w! XX10[19;14H[K[20;1H:/^unix/;/eof/-1w! XXUnix[20;26H[K[21;1H:/^dos/;/eof/-1w! XXDos[21;24H[K[22;1H:set bin noeol[22;15H[K[23;1H:$w! XXMac[23;11H[K[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformats=dos,mac
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxDs
[?25l[?1c"XXUxDs" [24;10H[K[24;10H[CR missing][dos format] 4 lines, 20 characters[1;1Hunix[1;6H[K[2;1Hunix
dos[3;4H[K[4;1Hdos
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt61
[?25l[?1c"XXtt61" [24;10H[K[24;10H[New File][dos format] 4 lines, 22 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUxDs
[?25l[?1c"test30.in" [24;13H[K[24;13H[CR missing][dos format] 222 lines, 3463 characters[1;1HTest for a lot of variations of the 'fileformats' option[2;1H[K[3;1HNote: This test will fail if "cat" is not available.[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so small.vim[6;14H[K[7;1H:" first write three test files, one in each format[7;52H[K[8;1H:set fileformat=unix[8;21H[K[9;1H:set fileformats=[9;18H[K[10;1H:/^1/w! XX1[10;12H[K[11;1H:/^2/w! XX2[11;12H[K[12;1H:/^3/w! XX3[12;12H[K[13;1H:/^4/w! XX4[13;12H[K[14;1H:/^5/w! XX5[14;12H[K[15;1H:/^6/w! XX6[15;12H[K[16;1H:/^7/w! XX7[16;12H[K[17;1H:/^8/w! XX8[17;12H[K[18;1H:/^9/w! XX9[18;12H[K[19;1H:/^10/w! XX10[19;14H[K[20;1H:/^unix/;/eof/-1w! XXUnix[20;26H[K[21;1H:/^dos/;/eof/-1w! XXDos[21;24H[K[22;1H:set bin noeol[22;15H[K[23;1H:$w! XXMac[23;11H[K[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxMac
[?25l[?1c"XXUxMac" [24;11H[K[24;11H[Incomplete last line][CR missing][dos format] 3 lines, 18 characters[1;1Hunix[1;6H[K[2;1Hunix
mac[1m[34m^M[0mmac[1m[34m^M[0m[3;12H[K[4;1H[1m[34m~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt62
[?25l[?1c"XXtt62" [24;10H[K[24;10H[New File][dos format] 3 lines, 22 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUxMac
[?25l[?1c"test30.in" [24;13H[K[24;13H[CR missing][dos format] 222 lines, 3463 characters[1;1HTest for a lot of variations of the 'fileformats' option[2;1H[K[3;1HNote: This test will fail if "cat" is not available.[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so small.vim[6;14H[K[7;1H:" first write three test files, one in each format[7;52H[K[8;1H:set fileformat=unix[8;21H[K[9;1H:set fileformats=[9;18H[K[10;1H:/^1/w! XX1[10;12H[K[11;1H:/^2/w! XX2[11;12H[K[12;1H:/^3/w! XX3[12;12H[K[13;1H:/^4/w! XX4[13;12H[K[14;1H:/^5/w! XX5[14;12H[K[15;1H:/^6/w! XX6[15;12H[K[16;1H:/^7/w! XX7[16;12H[K[17;1H:/^8/w! XX8[17;12H[K[18;1H:/^9/w! XX9[18;12H[K[19;1H:/^10/w! XX10[19;14H[K[20;1H:/^unix/;/eof/-1w! XXUnix[20;26H[K[21;1H:/^dos/;/eof/-1w! XXDos[21;24H[K[22;1H:set bin noeol[22;15H[K[23;1H:$w! XXMac[23;11H[K[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxDsMc
[?25l[?1c"XXUxDsMc" [24;12H[K[24;12H[Incomplete last line][CR missing][dos format] 5 lines, 28 character
[23;80Hs[24;1H
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt63
[?25l[?1c"XXtt63" [24;10H[K[24;10H[New File][dos format] 5 lines, 32 characters written
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cbwipe XXUxDsMc
[?25l[?1c"test30.in" [24;13H[K[24;13H[CR missing][dos format] 222 lines, 3463 characters[1;1H[3L[1;1HTest for a lot of variations of the 'fileformats' option
Note: This test will fail if "cat" is not available.[24;1H[K[24;1H"test30.in" [CR missing][dos format] 222 lines, 3463 characters[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" try reading and writing with 'fileformats' set to three formats
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformats=unix,dos,mac
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxDsMc
[?25l[?1c"XXUxDsMc" [24;12H[K[24;12H[Incomplete last line] 5 lines, 28 characters[1;1Hunix[1;6H[K[2;1Hunix
dos[1m[34m^M[0m[3;7H[K[4;1Hdos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M
~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt71
[?25l[?1c"XXtt71" [24;10H[K[24;10H[New File] 5 lines, 29 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUxDsMc
[?25l[?1c"test30.in" [24;13H[K[24;13H222 lines, 3463 characters[1;1HTest for a lot of variations of the 'fileformats' option[2;1H[K[3;1HNote: This test will fail if "cat" is not available.[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so small.vim[6;14H[K[7;1H:" first write three test files, one in each format[7;52H[K[8;1H:set fileformat=unix[8;21H[K[9;1H:set fileformats=[9;18H[K[10;1H:/^1/w! XX1[10;12H[K[11;1H:/^2/w! XX2[11;12H[K[12;1H:/^3/w! XX3[12;12H[K[13;1H:/^4/w! XX4[13;12H[K[14;1H:/^5/w! XX5[14;12H[K[15;1H:/^6/w! XX6[15;12H[K[16;1H:/^7/w! XX7[16;12H[K[17;1H:/^8/w! XX8[17;12H[K[18;1H:/^9/w! XX9[18;12H[K[19;1H:/^10/w! XX10[19;14H[K[20;1H:/^unix/;/eof/-1w! XXUnix[20;26H[K[21;1H:/^dos/;/eof/-1w! XXDos[21;24H[K[22;1H:set bin noeol[22;15H[K[23;1H:$w! XXMac[23;11H[K[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformats=mac,dos,unix
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxDsMc
[?25l[?1c"XXUxDsMc" [24;12H[K[24;12H[Incomplete last line] 5 lines, 28 characters[1;1Hunix[1;6H[K[2;1Hunix
dos[1m[34m^M[0m[3;7H[K[4;1Hdos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M
~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt81
[?25l[?1c"XXtt81" [24;10H[K[24;10H[New File] 5 lines, 29 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUxDsMc
[?25l[?1c"test30.in" [24;13H[K[24;13H222 lines, 3463 characters[1;1HTest for a lot of variations of the 'fileformats' option[2;1H[K[3;1HNote: This test will fail if "cat" is not available.[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so small.vim[6;14H[K[7;1H:" first write three test files, one in each format[7;52H[K[8;1H:set fileformat=unix[8;21H[K[9;1H:set fileformats=[9;18H[K[10;1H:/^1/w! XX1[10;12H[K[11;1H:/^2/w! XX2[11;12H[K[12;1H:/^3/w! XX3[12;12H[K[13;1H:/^4/w! XX4[13;12H[K[14;1H:/^5/w! XX5[14;12H[K[15;1H:/^6/w! XX6[15;12H[K[16;1H:/^7/w! XX7[16;12H[K[17;1H:/^8/w! XX8[17;12H[K[18;1H:/^9/w! XX9[18;12H[K[19;1H:/^10/w! XX10[19;14H[K[20;1H:/^unix/;/eof/-1w! XXUnix[20;26H[K[21;1H:/^dos/;/eof/-1w! XXDos[21;24H[K[22;1H:set bin noeol[22;15H[K[23;1H:$w! XXMac[23;11H[K[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" try with 'binary' set
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformats=mac,unix,dos
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset binary
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxDsMc
[?25l[?1c"XXUxDsMc" [24;12H[K[24;12H[Incomplete last line] 5 lines, 28 characters[1;1Hunix[1;6H[K[2;1Hunix
dos[1m[34m^M[0m[3;7H[K[4;1Hdos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M
~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt91
[?25l[?1c"XXtt91" [24;10H[K[24;10H[New File][Incomplete last line] 5 lines, 28 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUxDsMc
[?25l[?1c"test30.in" [24;13H[K[24;13H222 lines, 3463 characters[1;1HTest for a lot of variations of the 'fileformats' option[2;1H[K[3;1HNote: This test will fail if "cat" is not available.[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so small.vim[6;14H[K[7;1H:" first write three test files, one in each format[7;52H[K[8;1H:set fileformat=unix[8;21H[K[9;1H:set fileformats=[9;18H[K[10;1H:/^1/w! XX1[10;12H[K[11;1H:/^2/w! XX2[11;12H[K[12;1H:/^3/w! XX3[12;12H[K[13;1H:/^4/w! XX4[13;12H[K[14;1H:/^5/w! XX5[14;12H[K[15;1H:/^6/w! XX6[15;12H[K[16;1H:/^7/w! XX7[16;12H[K[17;1H:/^8/w! XX8[17;12H[K[18;1H:/^9/w! XX9[18;12H[K[19;1H:/^10/w! XX10[19;14H[K[20;1H:/^unix/;/eof/-1w! XXUnix[20;26H[K[21;1H:/^dos/;/eof/-1w! XXDos[21;24H[K[22;1H:set bin noeol[22;15H[K[23;1H:$w! XXMac[23;11H[K[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformats=mac
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxDsMc
[?25l[?1c"XXUxDsMc" [24;12H[K[24;12H[Incomplete last line] 5 lines, 28 characters[1;1Hunix[1;6H[K[2;1Hunix
dos[1m[34m^M[0m[3;7H[K[4;1Hdos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M
~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt92
[?25l[?1c"XXtt92" [24;10H[K[24;10H[New File][Incomplete last line] 5 lines, 28 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe XXUxDsMc
[?25l[?1c"test30.in" [24;13H[K[24;13H222 lines, 3463 characters[1;1HTest for a lot of variations of the 'fileformats' option[2;1H[K[3;1HNote: This test will fail if "cat" is not available.[4;1H[K[5;1HSTARTTEST[5;10H[K[6;1H:so small.vim[6;14H[K[7;1H:" first write three test files, one in each format[7;52H[K[8;1H:set fileformat=unix[8;21H[K[9;1H:set fileformats=[9;18H[K[10;1H:/^1/w! XX1[10;12H[K[11;1H:/^2/w! XX2[11;12H[K[12;1H:/^3/w! XX3[12;12H[K[13;1H:/^4/w! XX4[13;12H[K[14;1H:/^5/w! XX5[14;12H[K[15;1H:/^6/w! XX6[15;12H[K[16;1H:/^7/w! XX7[16;12H[K[17;1H:/^8/w! XX8[17;12H[K[18;1H:/^9/w! XX9[18;12H[K[19;1H:/^10/w! XX10[19;14H[K[20;1H:/^unix/;/eof/-1w! XXUnix[20;26H[K[21;1H:/^dos/;/eof/-1w! XXDos[21;24H[K[22;1H:set bin noeol[22;15H[K[23;1H:$w! XXMac[23;11H[K[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformats=dos
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! XXUxDsMc
[?25l[?1c"XXUxDsMc" [24;12H[K[24;12H[Incomplete last line] 5 lines, 28 characters[1;1Hunix[1;6H[K[2;1Hunix
dos[1m[34m^M[0m[3;7H[K[4;1Hdos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M
~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! XXtt93
[?25l[?1c"XXtt93" [24;10H[K[24;10H[New File][Incomplete last line] 5 lines, 28 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Append "END" to each file so that we can see what the last written char was.
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileformat=unix nobin
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [0m[24;1H--No lines in buffer--[24;23H[K[1;1H[?25h[?0c[?25l[?1cEND[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt01
[?25l[?1c"XXtt01" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt02
[?25l[?1c"XXtt02" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt11
[?25l[?1c"XXtt11" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt12
[?25l[?1c"XXtt12" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt13
[?25l[?1c"XXtt13" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt21
[?25l[?1c"XXtt21" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt22
[?25l[?1c"XXtt22" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt23
[?25l[?1c"XXtt23" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt31
[?25l[?1c"XXtt31" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt32
[?25l[?1c"XXtt32" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt33
[?25l[?1c"XXtt33" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt41
[?25l[?1c"XXtt41" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt42
[?25l[?1c"XXtt42" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt43
[?25l[?1c"XXtt43" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt51
[?25l[?1c"XXtt51" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt52
[?25l[?1c"XXtt52" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt53
[?25l[?1c"XXtt53" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt61
[?25l[?1c"XXtt61" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt62
[?25l[?1c"XXtt62" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt63
[?25l[?1c"XXtt63" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt71
[?25l[?1c"XXtt71" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt81
[?25l[?1c"XXtt81" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt91
[?25l[?1c"XXtt91" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt92
[?25l[?1c"XXtt92" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>XXtt93
[?25l[?1c"XXtt93" [24;10H[K[24;10H1 line, 4 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Concatenate the results.
[?25l[?1c[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Make fileformat of test.out the native fileformat.
[?25l[?1c[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Add a newline at the end.
[?25l[?1c[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset binary
[?25l[?1c[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H2 lines, 10 characters[1;1Hunix
unix[2;5H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$r XXtt01
[?25l[?1c"XXtt01" [24;10H[K[24;10H3 lines, 14 characters[3;1Hdos[1m[34m^M[0m[3;6H[K[4;1Hdos[1m[34m^M[0m[4;6H[K[5;1HEND[5;4H[K[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$r XXtt02
[?25l[?1c"XXtt02" [24;10H[K[24;10H2 lines, 13 characters[6;1Hmac[1m[34m^M[0mmac[1m[34m^M[0m[6;11H[K[7;1HEND[7;4H[K[6;1H[?25h[?0c
[?25l[?1c
1[8;2H[K[8;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$r XXtt11
[?25l[?1c"XXtt11" [24;10H[K[24;10H3 lines, 16 characters[9;1Hunix[1m[34m^M[0m[9;7H[K[10;1Hunix[1m[34m^M[0m[10;7H[K[11;1HEND[11;4H[K[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$r XXtt12
[?25l[?1c"XXtt12" [24;10H[K[24;10H3 lines, 14 characters[12;1Hdos[1m[34m^M[0m[12;6H[K[13;1Hdos[1m[34m^M[0m[13;6H[K[14;1HEND[14;4H[K[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$r XXtt13
[?25l[?1c"XXtt13" [24;10H[K[24;10H2 lines, 14 characters[15;1Hmac[1m[34m^M[0mmac[1m[34m^M^M[0m[15;13H[K[16;1HEND[16;4H[K[15;1H[?25h[?0c
[?25l[?1c
2[17;2H[K[17;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$r XXtt21
[?25l[?1c"XXtt21" [24;10H[K[24;10H3 lines, 15 characters[18;1Hunix[18;5H[K[19;1Hunix[19;5H[K[20;1H[1m[34m^M[0mEND[20;6H[K[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$r XXtt22
[?25l[?1c"XXtt22" [24;10H[K[24;10H3 lines, 15 characters[21;1Hdos[1m[34m^M[0m[21;6H[K[22;1Hdos[1m[34m^M[0m[22;6H[K[23;1H[1m[34m^M[0mEND[23;6H[K[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$r XXtt23
[?25l[?1c"XXtt23" [24;10H[K[24;10H1 line, 12 characters[1;23r[23;1H
[1;24r[23;1Hmac[1m[34m^M[0mmac[1m[34m^M[0mEND[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H3[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt31
[?25l[?1c"XXtt31" [24;10H[K[24;10H6 lines, 33 characters[1;23r[23;1H
[1;24r[23;1Hunix[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt32
[?25l[?1c"XXtt32" [24;10H[K[24;10H6 lines, 36 characters[1;23r[1;1H[6M[1;24r[18;1Hunix
dos[1m[34m^M[0m
dos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M[0m
END
unix[1m[34m^M[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt33
[?25l[?1c"XXtt33" [24;10H[K[24;10H5 lines, 32 characters[1;23r[1;1H[6M[1;24r[18;1Hunix[1m[34m^M[0m
dos[1m[34m^M[0m
dos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M^M[0m
END
unix[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[4M[1;24r[20;1Hunix
dos[1m[34m^M[0m
dos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M[0mEND
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H4[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt41
[?25l[?1c"XXtt41" [24;10H[K[24;10H6 lines, 33 characters[1;23r[23;1H
[1;24r[23;1Hunix[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt42
[?25l[?1c"XXtt42" [24;10H[K[24;10H4 lines, 23 characters[1;23r[1;1H[6M[1;24r[18;1Hunix
dos[1m[34m^M[0m
dos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M[0m
END
unix[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt43
[?25l[?1c"XXtt43" [24;10H[K[24;10H4 lines, 24 characters[1;23r[1;1H[4M[1;24r[20;1Hunix
mac[1m[34m^M[0mmac[1m[34m^M[0m
END
dos[1m[34m^M[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[3M[1;24r[21;1Hdos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M^M[0m
END
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H5[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt51
[?25l[?1c"XXtt51" [24;10H[K[24;10H5 lines, 24 characters[1;23r[23;1H
[1;24r[23;1Hunix[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt52
[?25l[?1c"XXtt52" [24;10H[K[24;10H6 lines, 33 characters[1;23r[1;1H[5M[1;24r[19;1Hunix
dos[1m[34m^M[0m
dos[1m[34m^M[0m
END
unix[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt53
[?25l[?1c"XXtt53" [24;10H[K[24;10H3 lines, 22 characters[1;23r[1;1H[6M[1;24r[18;1Hunix
dos[1m[34m^M[0m
dos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M[0m
END
dos[1m[34m^M[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hdos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M[0mEND
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H6[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt61
[?25l[?1c"XXtt61" [24;10H[K[24;10H5 lines, 26 characters[1;23r[23;1H
[1;24r[23;1Hunix[1m[34m^M[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt62
[?25l[?1c"XXtt62" [24;10H[K[24;10H4 lines, 26 characters[1;23r[1;1H[5M[1;24r[19;1Hunix[1m[34m^M[0m
dos[1m[34m^M[0m
dos[1m[34m^M[0m
END
unix[1m[34m^M[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt63
[?25l[?1c"XXtt63" [24;10H[K[24;10H6 lines, 36 characters[1;23r[1;1H[4M[1;24r[20;1Hunix[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M^M[0m
END
unix[1m[34m^M[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[5M[1;24r[19;1Hunix[1m[34m^M[0m
dos[1m[34m^M[0m
dos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M^M[0m
END
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H7[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt71
[?25l[?1c"XXtt71" [24;10H[K[24;10H6 lines, 33 characters[1;23r[23;1H
[1;24r[23;1Hunix[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[5M[1;24r[19;1Hunix
dos[1m[34m^M[0m
dos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M[0m
END
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H8[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt81
[?25l[?1c"XXtt81" [24;10H[K[24;10H6 lines, 33 characters[1;23r[23;1H
[1;24r[23;1Hunix[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[5M[1;24r[19;1Hunix
dos[1m[34m^M[0m
dos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M[0m
END
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H9[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt91
[?25l[?1c"XXtt91" [24;10H[K[24;10H5 lines, 32 characters[1;23r[23;1H
[1;24r[23;1Hunix[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt92
[?25l[?1c"XXtt92" [24;10H[K[24;10H5 lines, 32 characters[1;23r[1;1H[5M[1;24r[19;1Hunix
dos[1m[34m^M[0m
dos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M[0mEND
unix[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXtt93
[?25l[?1c"XXtt93" [24;10H[K[24;10H5 lines, 32 characters[1;23r[1;1H[5M[1;24r[19;1Hunix
dos[1m[34m^M[0m
dos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M[0mEND
unix[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[4M[1;24r[20;1Hunix
dos[1m[34m^M[0m
dos[1m[34m^M[0m
mac[1m[34m^M[0mmac[1m[34m^M[0mEND
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H10[?25h[?0c[?25l[?1c
:[?25h[?0c$r XXUnix
[?25l[?1c"XXUnix" [24;10H[K[24;10H2 lines, 10 characters[1;23r[23;1H
[1;24r[23;1Hunix[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset nobinary ff&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw
[?25l[?1c"test.out" 121 lines, 664 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test31.in" 75 lines, 1545 characters[1;1HTest for commands that close windows and/or buffers:
:quit
:close
:hide
:only
:sall
:all
:ball
:buf
:edit
STARTTEST
:so tiny.vim
GA 1[1m[34m^[[0m:$w! Xtest1
$r2:$w! Xtest2
$r3:$w! Xtest3
:n! Xtest1 Xtest2
A 1[1m[34m^[[0m: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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for commands that close windows and/or buffers:[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[12;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 60 lines, 1410 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[13;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H: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[1m[34m^[[0m:close
:w >>test.out
:" test ":close!" does hide when 'hidden' not set in modified buffer;
:" write "testtext 1"
A 3[1m[34m^[[0m:close!
:w >>test.out
:set nohidden
:" test ":all!" hides changed buffer; write "testtext 2 2 2"
:sp Xtest4
GA 4[1m[34m^[[0m:all!
:1wincmd w
:w >>test.out
:qa!
ENDTEST
testtext[21;1H[?25h[?0c
[?25l[?1c
:so! Xdotest
[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso tiny.vim
[?25l[?1c[22;1H[?25h[?0c
[?25l[?1c[9C1[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$w! Xtest1
[?25l[?1c"Xtest1" [24;10H[K[24;10H[New File] 1 line, 11 characters written[23;10H[?25h[?0c[?25l[?1c2[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$w! Xtest2
[?25l[?1c"Xtest2" [24;10H[K[24;10H[New File] 1 line, 11 characters written[23;10H[?25h[?0c[?25l[?1c3[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$w! Xtest3
[?25l[?1c"Xtest3" [24;10H[K[24;10H[New File] 1 line, 11 characters written[23;10H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cn! Xtest1 Xtest2
[?25l[?1c"Xtest1" [24;10H[K[24;10H1 line, 11 characters[1;1Htesttext 1[1;11H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[11C1[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset hidden
[?25l[?1c[1;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test for working :n when hidden set; write "testtext 2"
[?25l[?1c[1;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cn
[?25l[?1c"Xtest2" 1 line, 11 characters[1;10H2[1;12H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 1 line, 11 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test for failing :rew when hidden not set; write "testtext 2 2"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nohidden
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[11C2[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0crew
[?25l[?1c[1m[37m[41mE37: No write since last change (add ! to override)[1;12H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 13 characters appended[1;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test for working :rew when hidden set; write "testtext 1 1"
[?25l[?1c[1;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset hidden
[?25l[?1c[1;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0crew
[?25l[?1c"Xtest1" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)[1;10H1 1
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 13 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test for :all keeping a buffer when it's modified; write "testtext 1 1 1"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nohidden
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[13C1[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csp
[?25l[?1c[12;1H[1m[7mXtest1 [+] [0m[13;1Htesttext 1 1 1[13;15H[K[23;1H[7mXtest1 [+] [1;14H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cn Xtest2 Xtest3
[?25l[?1c"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)[1;10H2 2[1;14H[K[12;6H[1m[7m2[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0call
[?25l[?1c"Xtest3" 1 line, 11 characters[27m[24m[0m[H[J[1;1Htesttext 1 1 1
[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [0m[8;1H[7mXtest1 [+] [0m[9;1Htesttext 2 2
[1m[34m~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [0m[15;1H[1m[7mXtest2 [+] [0m[16;1Htesttext 3
[1m[34m~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [0m[23;1H[7mXtest3 [9;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0c1wincmd w
[?25l[?1c[8;1H[1m[7mXtest1 [+] [0m[15;1H[7mXtest2 [+] [1;14H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 15 characters appended[1;14H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test abandoning changed buffer, should be unloaded even when 'hidden' set
[?25l[?1c[1;14H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" write "testtext 2 2" twice
[?25l[?1c[1;14H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset hidden
[?25l[?1c[1;14H[?25h[?0c[?25l[?1c1 1[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cq!
[?25l[?1c[27m[24m[0m[H[J[1;1Htesttext 2 2
[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7mXtest2 [+] [0m[13;1Htesttext 3
[1m[34m~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [0m[23;1H[7mXtest3 [1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 13 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunhide
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 13 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test ":hide" hides anyway when 'hidden' not set; write "testtext 3"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nohidden
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[13C2[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0chide
[?25l[?1c[1;10H3[1;12H[K[12;1H[1m[34m~ [13;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 11 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test ":edit" failing in modified buffer when 'hidden' not set
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" write "testtext 3 3"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[11C3[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce Xtest1
[?25l[?1c[1m[37m[41mE37: No write since last change (add ! to override)[1;12H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 13 characters appended[1;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test ":edit" working in modified buffer when 'hidden' set; write "testtext 1
[23;80H"[24;1H[?25l[?1c[1;1H[L[1;1Htesttext 3 3[24;1H[K[1;12H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset hidden
[?25l[?1c[1;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce Xtest1
[?25l[?1c"Xtest1" 1 line, 11 characters[1;10H1[1;12H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 11 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test ":close" not hiding when 'hidden' not set in modified buffer;
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" write "testtext 3 3 3"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csp Xtest3
[?25l[?1c"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (file 2 of 2)[1;10H3 3[12;1H[1m[7mXtest3 [+] [0m[13;1Htesttext 1[13;11H[K[23;1H[7mXtest1 [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset nohidden
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[13C3[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cclose
[?25l[?1c[1m[37m[41mE37: No write since last change (add ! to override)[1;14H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 15 characters appended[1;14H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test ":close!" does hide when 'hidden' not set in modified buffer;
[?25l[?1c[1;14H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" write "testtext 1"
[?25l[?1c[1;14H[?25h[?0c[?25l[?1c3 3[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cclose!
[?25l[?1c[1;10H1[1;12H[K[12;1H[1m[34m~ [13;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 11 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nohidden
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test ":all!" hides changed buffer; write "testtext 2 2 2"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csp Xtest4
[?25l[?1c"Xtest4" [New File][1;1H[K[12;1H[1m[7mXtest4 [0m[13;1Htesttext 1[13;11H[K[23;1H[7mXtest1 [1;1H[?25h[?0c[?25l[?1c[0m 4[12;8H[1m[7m[+][1;2H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0call!
[?25l[?1c"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)
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c1wincmd w
[?25l[?1c[1;1H[2L[1;1Htesttext 2 2 2
[1m[34m~ [0m[11;1H[1m[7mXtest2 [+] [0m[12;1Htesttext 3 3 3 3[12;17H[K[13;1H[1m[34m~ [0m[23;6H[7m3 [+][0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 15 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test32.in" 57 lines, 1242 characters[1;1HTest 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)[11;1H: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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for insert expansion[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:so small.vim[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 24 lines, 384 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:se cpt=kXtestfile
:w Xtest11.one
:w Xtest11.two
O[1m[34m^N^[[0mIX[1m[34m^[[0mA[1m[34m^X^F^N^[[0m
:se cpt=w
OST[1m[34m^N^P^P^P^P^[[0m
:se cpt=u nohid
[1m[34m^W[0moOEN[1m[34m^N[0m
unl[1m[34m^N^X^X^P^[[0m
:se cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
O[1m[34m^X^]^X^D^X^D^X^X^D^X^D^X^D^X^D[0m
a[1m[34m^N^[[0m
:wq! test.out
ENDTEST
start of testfile
run1
run2
end of testfile
test11 36Gepeto[8C/Tag/
asd test11file 36G
Makefile[8Cto run[14;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cse nocp viminfo+=nviminfo cpt=.,w ff=unix | $-2,$w!Xtestfile | set ff&
[?25l[?1c"Xtestfile" [24;13H[K[24;13H[New] 3L, 57C written[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cse cot=
[?25l[?1c[15;1H[?25h[?0c[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7m[No Name] [0m[13;1Hunl[1m[34m^N^X^X^P^[[0m
:se cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
O[1m[34m^X^]^X^D^X^D^X^X^D^X^D^X^D^X^D[0m
a[1m[34m^N^[[0m[16;7H[K[17;1H:wq! test.out
ENDTEST[19;1H[K[20;1Hstart of testfile
run1[21;5H[K[22;1Hrun2[22;9H[K[23;1H[7mtest32.in [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[1m-- INSERT --
-- Keyword completion (^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;1Hmatch in file test32.in
[1m-- Keyword completion (^N^P) [0m[1m[32mmatch 1 of 4[2;3H[0m[24;29H[K[24;1Hmatch in file test32.in[24;24H[K[24;1H[1m-- Keyword completion (^N^P) [0m[1m[32mmatch 2 of 4[2;5H[0m[24;29H[K[24;1H[K[24;1H[1m-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1mAdding Keyword completion (^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;1Hmatch in file test32.in
[1m-- Adding Keyword completion (^N^P) Word from other line[2;10H[1;11r[0m[1;1H[2L[1;24r[1;1H#include "Xtestfile"
run1 run2[12;11H[1m[7m[+][2;10H[?25h[?0c[0m[24;1H[K[?25l[?1c[24;1H[1m-- Adding Keyword completion (^N^P) Word from other line[0m[24;1H[K[24;1H[1m-- INSERT --[0m[24;1H[K[2;9H[?25h[?0c[?25l[?1c3[?25h[?0c
[?25l[?1c[24;1H[1m-- INSERT --
-- Keyword completion (^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;1H[1m-- Keyword completion (^N^P) [0m[1m[32mmatch 1 of 103[3;5H[0m[24;29H[K[24;1H[K[24;1H[1m-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1mAdding Keyword completion (^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;1H[1m-- Adding Keyword completion (^N^P) Word from other line[3;10H[0m[24;1H[K[24;1H[1m-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1mKeyword Local completion (^N^P) -- Searching...[0m[24;36H[1m[32mmatch 1 of 4[0m[24;48H[K[4;5H[24;35H[K[24;35H[1m [0m[1m[32mmatch 2 of 4[4;5H[0m[24;35H[K[24;35H[1m [0m[1m[32mmatch 3 of 4[4;10H[0m[24;35H[K[24;35H[1m [0m[1m[32mmatch 4 of 4[4;8H[0m[24;35H[K[24;35H[1m [0m[1m[31mBack at original[4;1H[0m[24;1H[K[24;1H[1m-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1mKeyword Local completion (^N^P) -- Searching...[0m[24;36H[1m[32mmatch 1 of 4[0m[24;48H[K[5;5H[24;35H[K[24;35H[1m [0m[1m[32mmatch 2 of 4[5;5H[0m[24;35H[K[24;1H[K[24;1H[1m-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1m^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1mKeyword completion (^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;1H[1m-- Keyword completion (^N^P) The only match[5;5H[0m[24;29H[K[24;1H[K[24;1H[1m-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1mAdding Keyword completion (^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;1H[1m-- Adding Keyword completion (^N^P) [0m[1m[32mmatch 1 of 2[5;10H[0m[24;36H[K[24;1Hmatch in file test32.in[24;24H[K[24;1H[1m-- Adding Keyword completion (^N^P) Word from other line[5;10H[3;11r[0m[3;1H[3L[1;24r[3;1Hrun3 run3
run1 run2[?25h[?0c[24;1H[K[?25l[?1c[24;1H[1m-- Adding Keyword completion (^N^P) Word from other line[0m[24;1H[K[24;1H[1m-- INSERT --[0m[24;1H[K[5;9H[?25h[?0c
[?25l[?1c[24;1H:[?25h[?0cse cpt=.,w,i
[?25l[?1c[6;1H[?25h[?0c[5;9H[?25l[?1c[24;1H[1m-- INSERT --[0m[24;13H[K[24;4H[1mKeyword completion (^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;9H[1m[32m included file: Xtestfile[0m
match in file test32.in[24;24H[K[24;1H[1m-- Keyword completion (^N^P) The only match[5;9H[0m[24;29H[K[24;1H[K[24;1H[1m-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1mAdding Keyword completion (^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;9H[1m[32m included file: Xtestfile[0m
match in file test32.in[24;24H[K[24;1H[1m-- Adding Keyword completion (^N^P) The only match[5;19H[0m[24;36H[K[24;1H[K[24;1H[1m-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1mAdding Keyword completion (^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;9H[1m[32m included file: Xtestfile[0m
match in file test32.in[24;24H[K[24;1H[1m-- Adding Keyword completion (^N^P) The only match[5;28H[0m[24;36H[K[24;1H[K[24;1H[1m-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1m^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1m^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1mKeyword Local completion (^N^P) -- Searching...[0m[24;36H[1m[32mmatch 1 of 3[0m[24;48H[K[5;29H[24;1H[K[24;1H[1m-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- Whole line completion (^L^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;1H[1m-- Whole line completion (^L^N^P) [0m[1m[32mmatch 1 of 54[6;29H[0m[24;4H[1mINSERT --[0m[24;13H[K[24;1H[K[24;1H[1m-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) [0m[1m[32mmatch 1 of 54[0m[24;4H[1mAdding Whole line completion (^L^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;1H[1m-- Adding Whole line completion (^L^N^P) The only match[7;29H[0m[24;41H[K[24;41H[1m [0m[1m[31mBack at original[7;1H[0m[24;41H[K[24;41H[1m The only match[7;29H[5;11r[0m[5;1H[3L[1;24r[5;1HMakefile[8Cto run3
Makefile[8Cto run3
Makefile[8Cto run3[?25h[?0c[24;1H[K[?25l[?1c[24;1H[1m-- INSERT --[0m[24;1H[K[7;28H[?25h[?0c[8;9H[?25l[?1c[24;1H:[?25h[?0cse cpt=kXtestfile
[?25l[?1c[8;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw Xtest11.one
[?25l[?1c"Xtest11.one" [New] 9L, 104C written[12;1H[1m[7mXtest11.one [8;9H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw Xtest11.two
[?25l[?1c"Xtest11.two" [New] 9L, 104C written[8;9H[?25h[?0c[?25l[?1c[24;1H[1m-- INSERT --[0m[24;13H[K[24;4H[1mKeyword completion (^N^P) -- Searching...[0m
[1m[32mScanning dictionary: Xtestfile[0m[24;31H[K[24;1Hmatch in file Xtestfile[24;24H[K[24;1H[1m-- Keyword completion (^N^P) [0m[1m[32mmatch 1 of 9[8;7H[8;11r[0m[8;1H[L[1;24r[8;1Htest11[12;13H[1m[7m[+][8;7H[0mI[?25h[?0c [24;1H[K[?25l[?1c[24;1H[1m-- Keyword completion (^N^P) [0m[1m[32mmatch 1 of 9[0m[24;1H[K[24;1H[1m-- INSERT --[0m[24;1H[K[8;6H[?25h[?0c[?25l[?1c[24;1H[1m-- INSERT --[0m[24;1H[K[8;1HXtest11
[?25h[?0c[?25l[?1c[24;1H[1m-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- File name completion (^F^N^P) -- Searching...[0m[24;34H[1m[32mmatch 1 of 2[0m[24;46H[K[8;12H[24;33H[K[24;33H[1m [0m[1m[32mmatch 2 of 2[8;12H[0m.two[?25h[?0c[24;1H[K[?25l[?1c[24;1H[1m-- INSERT --[0m[24;1H[K[8;11H[?25h[?0c[9;9H[?25l[?1c[24;1H:[?25h[?0cse cpt=w
[?25l[?1c[9;9H[?25h[?0c[?25l[?1c[24;1H[1m-- INSERT --
-- Keyword completion (^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;1Hmatch in file test32.in
[1m-- Keyword completion (^N^P) The only match[9;10H[0m[24;29H[K[24;29H[1m [0m[1m[31mBack at original[9;3H[0m[24;29H[K[24;1Hmatch in file test32.in[24;24H[K[24;1H[1m-- Keyword completion (^N^P) The only match[9;10H[0m[24;29H[K[24;29H[1m [0m[1m[31mBack at original[9;3H[0m[24;29H[K[24;1Hmatch in file test32.in[24;24H[K[24;1H[1m-- Keyword completion (^N^P) The only match[9;10H[0m
STARTTEST
run1 run2[11;1H[K[9;10H[?25h[?0c[24;1H[K[?25l[?1c[24;1H[1m-- Keyword completion (^N^P) The only match[0m[24;1H[K[24;1H[1m-- INSERT --[0m[24;1H[K[9;9H[?25h[?0c[10;9H[?25l[?1c[24;1H:[?25h[?0cse cpt=u nohid
[?25l[?1c[10;9H[?25h[?0c[?25l[?1c
[1m[34m~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [10;9H[?25h[?0c[?25l[?1c[0m[24;1H[1m-- INSERT --[0m[24;13H[K[24;4H[1mKeyword completion (^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;1Hmatch in file test32.in
[1m-- Keyword completion (^N^P) The only match[10;8H[0m[24;1H[K[24;1H[1m-- INSERT --
-- Keyword completion (^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;1Hmatch in file test32.in
[1m-- Keyword completion (^N^P) [0m[1m[32mmatch 1 of 3[11;7H[0m[24;29H[K[24;1H[K[24;1H[1m-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1m^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERT --[0m[24;13H[K[24;4H[1mKeyword completion (^N^P) -- Searching...[0m
[1m[32mScanning: test32.in[0m[24;20H[K[24;1Hmatch in file test32.in
[1m-- Keyword completion (^N^P) The only match[11;7H[10;23r[0m[10;1H[2L[1;24r[10;1HENDTEST
unless[?25h[?0c[24;1H[K[?25l[?1c[24;1H[1m-- Keyword completion (^N^P) The only match[0m[24;1H[K[24;1H[1m-- INSERT --[0m[24;1H[K[11;6H[?25h[?0c[12;6H[?25l[?1c[24;1H:[?25h[?0cse cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
[?25l[?1c[12;6H[?25h[?0c[?25l[?1c[24;1H[1m-- INSERT --[0m[24;13H[K[24;4H[1m^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- Tag completion (^]^N^P) -- Searching...[0m[24;28H[1m[32mmatch 1 of 3[0m[24;40H[K[12;7H[24;4H[1mINSERT --[0m[24;13H[K[24;1H[K[24;1H[1m-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) [0m[1m[32mmatch 1 of 3[0m[24;4H[1mDefinition completion (^D^N^P) -- Searching...[0m[24;50H[K[24;1H[1m[32mScanning included file: Xtestfile[0m[24;34H[K[24;1Hmatch in file Xtestfile[24;24H[K[24;1H[1m-- Definition completion (^D^N^P) The only match[12;11H[24;4HINSERT --[0m[24;13H[K[24;1H[K[24;1H[1m-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- Adding Definition completion (^D^N^P) -- Searching...[0m
[1m[32mScanning included file: Xtestfile[0m[24;34H[K[24;1Hmatch in file Xtestfile[24;24H[K[24;1H[1m-- Adding Definition completion (^D^N^P) The only match[12;20H[24;4HINSERT --[0m[24;13H[K[24;1H[K[24;1H[1m-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- INSERT --[0m[24;13H[K[24;4H[1m^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- Definition completion (^D^N^P) -- Searching...[0m
[1m[32mScanning included file: Xtestfile[0m[24;34H[K[24;1Hmatch in file Xtestfile[24;24H[K[24;1H[1m-- Definition completion (^D^N^P) The only match[12;25H[24;4HINSERT --[0m[24;13H[K[24;1H[K[24;1H[1m-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- Adding Definition completion (^D^N^P) -- Searching...[0m
[1m[32mScanning included file: Xtestfile[0m[24;34H[K[24;1Hmatch in file Xtestfile[24;24H[K[24;1H[1m-- Adding Definition completion (^D^N^P) The only match[12;37H[24;4HINSERT --[0m[24;13H[K[24;1H[K[24;1H[1m-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- Adding Definition completion (^D^N^P) -- Searching...[0m
[1m[32mScanning included file: Xtestfile[0m[24;34H[K[24;1Hmatch in file Xtestfile[24;24H[K[24;1H[1m-- Adding Definition completion (^D^N^P) The only match[12;38H[24;4HINSERT --[0m[24;13H[K[24;1H[K[24;1H[1m-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- Adding Definition completion (^D^N^P) -- Searching...[0m
[1m[32mScanning included file: Xtestfile[0m[24;34H[K[24;1Hmatch in file Xtestfile[24;24H[K[24;1H[1m-- Adding Definition completion (^D^N^P) Word from other line[12;42H[24;4HINSERT --[0m[24;13H[K[24;1H[K[24;1H[1m-- Keyword completion (^N^P) -- Searching...[0m
[1m[32mScanning tags.[0m[24;15H[K[24;10H[1m[32mincluded file: Xtestfile[0m
[1m-- Keyword completion (^N^P) The only match[13;4H[12;23r[0m[12;1H[2L[1;24r[12;1Htest11file 36Gepeto[8C/Tag/ asd
asd[?25h[?0c[24;1H[K[?25l[?1c[24;1H[1m-- Keyword completion (^N^P) The only match[0m[24;1H[K[24;1H[1m-- INSERT --[0m[24;1H[K[13;3H[?25h[?0c
ru[?25l[?1c[24;1H:[?25h[?0cwq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New] 15L, 175C written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test33.in" 34 lines, 616 characters[1;1HTest 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for 'lisp'[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[4;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 5 lines, 63 characters written[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[5;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[10;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset lisp
[?25l[?1c[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^(defun
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H22 lines to indent...
23[7Cindented [24;19H[K[13;1H (format nil "~(~A~).html" base))
(let ((ti (gensym)))
`(with-open-file (*standard-output*
[8C(html-file ,name)
[7C:direction :output
:if-exists :supersede)
(let ((,ti ,title))
[15C(as title ,ti)
[17C(with center[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^(defun/,$w! test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H[New File] 23 lines, 544 characters written[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cq!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test34.in" 72 lines, 1258 characters[1;1HTest for user functions.
Also test an <expr> mapping calling a function.
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
:func Expr1()
: normal! v[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for user functions.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[4;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 65 lines, 1160 characters written[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[5;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1HC[1m[34m^R[0m=Table("xxx", 4, "asdf")
[1m[34m^R[0m=Compute(45, 0, "retval")
[1m[34m^R[0m=retval
[1m[34m^R[0m=Compute(45, 5, "retval")
[1m[34m^R[0m=retval
[1m[34m^R[0m=g:FuncRef(333)
XX+-XX
---*---
(one
(two
[(one again[1m[34m^[[0m:$-5,$w! test.out
:delfunc Table
:delfunc Compute
:delfunc Expr1
:delfunc Expr2
:delfunc ListItem
:delfunc ListReset
:unlet retval counter
:q!
ENDTEST
here[21;1H[?25h[?0c
[?25l[?1c
:so! Xdotest
[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction Table(title, ...)
[?25l[?1c
: [?25h[?0c: let ret = a:title
[?25l[?1c: [?25h[?0c: let idx = 1
[?25l[?1c: [?25h[?0c: while idx <= a:0
[?25l[?1c: [?25h[?0c: exe "let ret = ret . a:" . idx
[?25l[?1c: [?25h[?0c: let idx = idx + 1
[?25l[?1c: [?25h[?0c: endwhile
[?25l[?1c: [?25h[?0c: return ret
[?25l[?1c: [?25h[?0c:endfunction
[1;1H[8L[?25l[?1c[1;1HC[1m[34m^R[0m=Table("xxx", 4, "asdf")
[1m[34m^R[0m=Compute(45, 0, "retval")
[1m[34m^R[0m=retval
[1m[34m^R[0m=Compute(45, 5, "retval")
[1m[34m^R[0m=retval
[1m[34m^R[0m=g:FuncRef(333)
XX+-XX[24;1H[K[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0cfunction Compute(n1, n2, divname)
[?25l[?1c
: [?25h[?0c: if a:n2 == 0
[?25l[?1c: [?25h[?0c: return "fail"
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c: exe "let g:" . a:divname . " = ". a:n1 / a:n2
[?25l[?1c: [?25h[?0c: return "ok"
[?25l[?1c: [?25h[?0c:endfunction
[1;1H[6L[?25l[?1c[1;1HC[1m[34m^R[0m=Table("xxx", 4, "asdf")
[1m[34m^R[0m=Compute(45, 0, "retval")
[1m[34m^R[0m=retval
[1m[34m^R[0m=Compute(45, 5, "retval")
[1m[34m^R[0m=retval
[1m[34m^R[0m=g:FuncRef(333)[24;1H[K[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0cfunc Expr1()
[?25l[?1c
: [?25h[?0c: normal! v
[?25l[?1c: [?25h[?0c: return "111"
[?25l[?1c: [?25h[?0c:endfunc
[1;1H[3L[?25l[?1c[1;1HC[1m[34m^R[0m=Table("xxx", 4, "asdf")
[1m[34m^R[0m=Compute(45, 0, "retval")
[1m[34m^R[0m=retval[24;1H[K[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0cfunc Expr2()
[?25l[?1c
: [?25h[?0c: call search('XX', 'b')
[?25l[?1c: [?25h[?0c: return "222"
[?25l[?1c: [?25h[?0c:endfunc
[1;1H[3L[?25l[?1c[1;1HC[1m[34m^R[0m=Table("xxx", 4, "asdf")
[1m[34m^R[0m=Compute(45, 0, "retval")
[1m[34m^R[0m=retval[24;1H[K[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0cfunc ListItem()
[?25l[?1c
: [?25h[?0c: let g:counter += 1
[?25l[?1c: [?25h[?0c: return g:counter . '. '
[?25l[?1c: [?25h[?0c:endfunc
[1;1H[3L[?25l[?1c[1;1HC[1m[34m^R[0m=Table("xxx", 4, "asdf")
[1m[34m^R[0m=Compute(45, 0, "retval")
[1m[34m^R[0m=retval[24;1H[K[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0cfunc ListReset()
[?25l[?1c
: [?25h[?0c: let g:counter = 0
[?25l[?1c: [?25h[?0c: return ''
[?25l[?1c: [?25h[?0c:endfunc
[1;1H[3L[?25l[?1c[1;1HC[1m[34m^R[0m=Table("xxx", 4, "asdf")
[1m[34m^R[0m=Compute(45, 0, "retval")
[1m[34m^R[0m=retval[24;1H[K[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0cfunc FuncWithRef(a)
[?25l[?1c
: [?25h[?0c: unlet g:FuncRef
[?25l[?1c: [?25h[?0c: return a:a
[?25l[?1c: [?25h[?0c:endfunc
[1;1H[3L[?25l[?1c[1;1HC[1m[34m^R[0m=Table("xxx", 4, "asdf")
[1m[34m^R[0m=Compute(45, 0, "retval")
[1m[34m^R[0m=retval[24;1H[K[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet g:FuncRef=function("FuncWithRef")
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet counter = 0
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cinoremap <expr> ( ListItem()
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cinoremap <expr> [ ListReset()
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cimap <expr> + Expr1()
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cimap <expr> * Expr2()
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet retval = "nop"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^here
[?25l[?1c[23;1H[?25h[?0c[?25l[?1cher$[24;1H[K[24;1H=[?25h[?0cTable("xxx", 4, "asdf")
[?25l[?1c[24;1H[K[24;1H=[?25h[?0cCompute(45, 0, "retval")
[?25l[?1c[24;1H[K[24;1H=[?25h[?0cretval
[?25l[?1c[24;1H[K[24;1H=[?25h[?0cCompute(45, 5, "retval")
[?25l[?1c[24;1H[K[24;1H=[?25h[?0cretval
[?25l[?1c[24;1H[K[24;1H=[?25h[?0cg:FuncRef(333)
[?25l[?1c[1m[37m[41mError detected while processing function Expr1:[0m
[1m[33mline 1:[0m
[1m[37m[41mE523: Not allowed here[0m
[1m[32mPress ENTER or type command to continue[?25h[?0c[0m[1;1H[4L[?25l[?1c[1;2H[1m[34m^R[0m=g:FuncRef(333)
XX+-XX
---*---
(one[5;5H[K[6;1H(two[6;5H[K[7;1H[(one again[1m[34m^[[0m:$-5,$w! test.out
:delfunc Table
:delfunc Compute
:delfunc Expr1
:delfunc Expr2
:delfunc ListItem[12;18H[K[13;10HListReset
:unlet retval counter
:q![15;4H[K[16;1HENDTEST[16;8H[K[17;1H[K[18;1Hxxx4asdf fail nop ok 9 333
XX111-XX[19;9H[K[20;1H---222---
1. one[21;7H[K[22;1H2. two[23;1H[K[24;1H[K[23;1H[?25h[?0c[?25l[?1c1. one again[?25h[?0c[?25l[?1c
:[?25h[?0c$-5,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 6 lines, 73 characters written[23;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cdelfunc Table
[?25l[?1c[23;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cdelfunc Compute
[?25l[?1c[23;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cdelfunc Expr1
[?25l[?1c[23;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cdelfunc Expr2
[?25l[?1c[23;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cdelfunc ListItem
[?25l[?1c[23;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cdelfunc ListReset
[?25l[?1c[23;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet retval counter
[?25l[?1c[23;12H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cq!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test35.in" 21 lines, 448 characters[1;1HTest Ctrl-A and Ctrl-X, which increment and decrement decimal, hexadecimal,
and octal numbers.
STARTTEST
/^start-here
:set nrformats=octal,hex
j[1m[34m^A[0m102[1m[34m^X^A[0ml[1m[34m^X[0ml[1m[34m^A[0m64[1m[34m^A[0m128[1m[34m^X[0m$[1m[34m^X[0m
:set nrformats=octal
0[1m[34m^A[0m102[1m[34m^X^A[0ml[1m[34m^X[0m2[1m[34m^A[0mw65[1m[34m^A[0m129[1m[34m^X[0mblx6lD
:set nrformats=hex
0101[1m[34m^X[0ml257[1m[34m^X^A[0mTxldt [1m[34m^A[0m [1m[34m^X[0m [1m[34m^X[0m
:set nrformats=
0200[1m[34m^X[0ml100[1m[34m^X[0mw78[1m[34m^X^A[0mk
:$-3,$wq! test.out
ENDTEST
start-here
100 0x100 077 0
100 0x100 077
100 0x100 077 0xfF 0xFf
100 0x100 077
[1m[34m~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest Ctrl-A and Ctrl-X, which increment and decrement decimal, hexadecimal,[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[4;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 10 lines, 200 characters written[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[5;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[15;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^start-here
[?25l[?1c[17;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nrformats=octal,hex
[?25l[?1c[17;1H[?25h[?0c
[?25l[?1c101[?25h[?0c[?25l[?1c
-1 0x100 077 0[18;27H[K[18;2H[?25h[?0c[?25l[?1c0 0x100 077 0[18;26H[K[18;1H[?25h[?0c0[?25l[?1c[7C0ff[?25h[?0cf[?25l[?1c 0100 0[18;20H[?25h[?0c[?25l[?1c20[?25h[?0c[?25l[?1c00[?25h[?0c0 [?25l[?1c-1[?25h[?0c[19;26H[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nrformats=octal
[?25l[?1c[19;26H[?25h[?0c
[?25l[?1c101[?25h[?0c[?25l[?1c
-1 0x100 077
-[?25h[?0c[?25l[?1c0 0x100 077
[?25h[?0c0[?25l[?1c -1x100 077[19;8H[?25h[?0c[?25l[?1c1x100 077 [19;7H[?25h[?0c[10C[?25l[?1c0200[?25h[?0c[?25l[?1c37777777777[?25h[?0c[19;17H0[?25l[?1c7[9C [19;18H[?25h[?0c777777[?25l[?1c[19;24H[K[19;23H[?25h[?0c[20;23H[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nrformats=hex
[?25l[?1c[20;23H[?25h[?0c
[?25l[?1c-1 0x100 077 0xfF 0xFf[20;39H[K[20;2H[?25h[?0c1[?25l[?1c[7Cffffffff 077 0xfF 0xFf[20;17H[?25h[?0c[?25l[?1c[20;10H00000000[?25h[?0c[20;10H0[?25l[?1c 077 0xfF 0xFf[20;40H[K[20;11H[?25h[?0c[?25l[?1c[7C8[?25h[?0c8[?25l[?1c[7CFE[?25h[?0cE[?25l[?1c[7Cfe[?25h[?0c[21;26H[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nrformats=
[?25l[?1c[21;26H[?25h[?0c
[?25l[?1c-100 0x100 077
-10[?25h[?0c0[?25l[?1c -100x100 077[21;13H[?25h[?0c[10C[?25l[?1c-001[?25h[?0c[?25l[?1c000 [?25h[?0c[20;25H[21;25H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$-3,$wq! test.out
[?25l[?1c"test.out" [24;12H[Kdh_gencontrol
[24;12H[New File] 4 lines, 120 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test36.in" 40 lines, 1596 characters[1;1HTest character classes in regexp
STARTTEST
/^start-here
j:s/\d//g
j:s/\D//g
j:s/\o//g
j:s/\O//g
j:s/\x//g
j:s/\X//g
j:s/\w//g
j:s/\W//g
j:s/\h//g
j:s/\H//g
j:s/\a//g
j:s/\A//g
j:s/\l//g
j:s/\L//g
j:s/\u//g
j:s/\U//g
:/^start-here/+1,$wq! test.out
ENDTEST[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest character classes in regexp[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 18 lines, 204 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[22;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^start-here
[?25l[?1c[1;23r[23;1H
:[?25h[?0cs/\D//g
[?25l[?1c72 substitutions on 1 line[22;1H0123456789[22;11H[K[23;1H [1m[34m^L^M[0m !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~[23;1H[1m[34m@ [22;1H[?25h[?0c[?25l[?1c[1;23r[0m[23;1H
:[?25h[?0cs/\O//g
[?25l[?1c74 substitutions on 1 line[22;1H01234567[22;9H[K[23;1H [1m[34m^L^M[0m !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~[23;1H[1m[34m@ [22;1H[?25h[?0c[?25l[?1c[1;23r[0m[23;1H
:[?25h[?0cs/\X//g
[?25l[?1c60 substitutions on 1 line[22;1H0123456789ABCDEFabcdef[22;23H[K[23;1H [1m[34m^L^M[0m !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~[23;1H[1m[34m@ [22;1H[?25h[?0c[?25l[?1c[1;23r[0m[23;1H
:[?25h[?0cs/\W//g
[?25l[?1c46 substitutions on 1 line[22;1H0123456789ABCDEFGHIXYZ_abcdefghiwxyz[22;37H[K[23;1H [1m[34m^L^M[0m !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~[23;1H[1m[34m@ [22;1H[?25h[?0c[?25l[?1c[1;23r[0m[23;1H
:[?25h[?0cs/\H//g
[?25l[?1c56 substitutions on 1 line[22;1HABCDEFGHIXYZ_abcdefghiwxyz[22;27H[K[23;1H [1m[34m^L^M[0m !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~[23;1H[1m[34m@ [22;1H[?25h[?0c[?25l[?1c[1;23r[0m[23;1H
:[?25h[?0cs/\A//g
[?25l[?1c57 substitutions on 1 line[22;1HABCDEFGHIXYZabcdefghiwxyz[22;26H[K[23;1H [1m[34m^L^M[0m !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~[23;1H[1m[34m@ [22;1H[?25h[?0c[?25l[?1c[1;23r[0m[23;1H
:[?25h[?0cs/\L//g
[?25l[?1c69 substitutions on 1 line[22;1Habcdefghiwxyz[22;14H[K[23;1H [1m[34m^L^M[0m !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~[23;1H[1m[34m@ [22;1H[?25h[?0c[?25l[?1c[1;23r[0m[23;1H
:[?25h[?0cs/\U//g
[?25l[?1c70 substitutions on 1 line[22;1HABCDEFGHIXYZ[22;14H[K[23;1H[1m[34m~ [22;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c/^start-here/+1,$wq! test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H[New File] 16 lines, 672 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test37.in" 116 lines, 3262 characters[1;1HTest 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
[1m[34m^W[0mt:
:resize 8
/^start of window 1$/
zt:
:set scrollbind
[1m[34m^W[0mj:
:resize 7
/^start of window 2$/
zt:
:set scrollbind
:" -- start of tests --[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for 'scrollbind'. <eralston@computer.org> Do not add a line below![24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[2;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 72 lines, 1498 characters written[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[3;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1HHk[1m[34m^W[0mtH[1m[34m^W[0mjHyy[1m[34m^W[0mbp[1m[34m^W[0mtyy[1m[34m^W[0mbp:
[1m[34m^W[0mt:set noscb
ggL[1m[34m^W[0mj:set noscb
ggL:set scb
[1m[34m^W[0mt:set scb
[1m[34m^W[0mtG[1m[34m^W[0mjG[1m[34m^W[0mt:syncbind
Hk[1m[34m^W[0mjH[1m[34m^W[0mtHyy[1m[34m^W[0mbp[1m[34m^W[0mt[1m[34m^W[0mjyy[1m[34m^W[0mbp:
[1m[34m^W[0mtH3k[1m[34m^W[0mjH[1m[34m^W[0mtHyy[1m[34m^W[0mbp[1m[34m^W[0mt[1m[34m^W[0mjyy[1m[34m^W[0mbp:
:" ***** done with tests *****
:w! test.out[13C" 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[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset noscrollbind
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset scrollopt=ver,jump
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset scrolloff=2
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nowrap
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset noequalalways
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset splitbelow
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" TEST using two windows open to one buffer, one extra empty window
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csplit
[?25l[?1c[1;1H[1m[34m^W[0mtH3k[4C[1m[34m^W[0mtHyy[2Cbp[1m[34m^W[0mt[1m[34m^W[0mjyy[1m[34m^W[0mbp:
:" ***** done with tests *****
:w! test.out [9C" Write contents of this file
:qa![4;5H[K[5;1HENDTEST[5;9H[K[6;1H[K[7;1H[K[8;1Hstart of window 1[8;18H[K[9;1H. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[10;51H[K[11;1H[7mtest37.in [0m[12;1H[1m[34m^W[0mtH3k[1m[34m^W[0mjH[1m[34m^W[0mtHyy[1m[34m^W[0mbp[1m[34m^W[0mt[1m[34m^W[0mjyy[1m[34m^W[0mbp:
:" ***** done with tests *****
:w! test.out[13C" Write contents of this file
:qa![15;5H[K[16;1HENDTEST[16;8H[K[17;1H[K[18;1H[K[19;1Hstart of window 1[19;18H[K[20;9H1[39C1[21;9H2[39C2[22;9H3[39C3
[1m[7mtest37.in [17;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[12;1H:qa![12;5H[K[13;1HENDTEST[13;8H[K[14;1H[K[15;1H[K[16;1Hstart of window 1
[7mtest37.in [0m[19;1H[1m[34m~ [20;1H~ [21;1H~ [22;1H~ [0m[23;1H[1m[7m[No Name][18;1H[?25h[?0c[11;1Htest37.in [0m[23;1H[7m[No Name] [6;1H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c[?25l[?1c[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cresize 8
[?25l[?1c[1;1H:" ***** done with tests *****[1;31H[K[2;2Hw! test.out " Write contents of this file
:qa![3;5H[K[4;1HENDTEST[5;1H[K[7;1Hstart of window 1
. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
[1m[7mtest37.in [0m[10;1H:w! test.out " Write contents of this file
:qa![11;5H[K[12;1HENDTEST[13;1H[K[15;1Hstart of window 1
. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^start of window 1$/
[?25l[?1c[24;21H[K[24;1H[1;8r[8;1H
[1;24r[8;1H. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[24;1H[K[6;1H[?25h[?0c[?25l[?1c[1;8r[1;1H[3M[1;24r[6;1H. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03
. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04
. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset scrollbind
[?25l[?1c[3;1H[?25h[?0c[9;1H[7mtest37.in [0m[17;1H[1m[7mtest37.in [13;1H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cresize 7
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^start of window 2$/
[?25l[?1c[24;21H[K[24;1H[10;1Hend of window 1[10;26H[K[11;1H[K[12;1H[K[13;1Hstart of window 2
. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01
. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[16;9H3 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03[13;1H[?25h[?0c[?25l[?1c[10;16r[16;1H
[1;24r[16;1H. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04[24;1H[K[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset scrollbind
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" -- start of tests --
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" TEST scrolling down
[?25l[?1c[12;1H[?25h[?0c
[?25l[?1c[1;8r[1;1H[5M[1;24r[4;1H. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
. line 07 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07
. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08
. line 09 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09
. line 10 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 10[10;16r[10;1H[5M[1;24r[12;1H. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
. line 07 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 07
. line 08 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 08
. line 09 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 09[24;1H[K[14;1H[?25h[?0c[12;1H[17;1H[7mtest37.in [0m[23;1H[1m[7m[No Name] [18;1H[?25l[?1c[0m
. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[19;50H[K[23;11H[1m[7m[+][19;1H[?25h[?0c[?25l[?1c[0m0[?25h[?0c[9;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[9;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [19;1H[?25l[?1c[0m
. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[20;50H[K[20;1H[?25h[?0c[?25l[?1c1[?25h[?0c[9;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H
[?25l[?1c[1;8r[0m[1;1H[6M[1;24r[3;1H. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
. line 12 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 12
. line 13 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 13
. line 14 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 14
. line 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 15
end of window 1[10;16r[10;1H[6M[1;24r[11;1H. line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13
. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15[6;1H[?25h[?0c[3;1H[9;1H[7mtest37.in [0m[23;1H[1m[7m[No Name] [+] [20;1H[?25l[?1c[0m
. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[21;50H[K[21;1H[?25h[?0c[?25l[?1c2[?25h[?0c[17;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [12;1H[17;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [21;1H[?25l[?1c[0m
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[22;50H[K[22;1H[?25h[?0c[?25l[?1c3[?25h[?0c[?25l[?1c
:[?25h[?0c[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" TEST scrolling up
[?25l[?1c[22;1H[?25h[?0c[9;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[?25l[?1c[1;8r[0m[1;1H[5L[1;24r[1;1H. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04
. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
. line 07 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07
. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08[10;9H4[39C4[11;8H05[38C05[12;8H06[38C06[13;8H07[38C07[14;8H08[38C08[15;8H09[38C09[16;9H0[39C0[24;1H[K[4;1H[?25h[?0c[9;1H[7mtest37.in [0m[17;1H[1m[7mtest37.in [14;1H[12;1H[9;1Htest37.in [0m[17;1H[7mtest37.in [4;1H[3;1H[9;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?25h[?0c[?25l[?1c4[?25h[?0c[17;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [12;1H[17;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?25h[?0c[?25l[?1c5[?25h[?0c[17;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [12;1H[?25l[?1c[1;8r[0m[1;1H[4L[1;24r[1;1Hstart of window 1
. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03[10;16r[10;1H[4L[1;24r[10;1Hstart of window 2
. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01
. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03
[?25h[?0c[9;1H[1m[7mtest37.in [0m[17;1H[7mtest37.in [6;1H[3;1H[9;1Htest37.in [0m[17;1H[1m[7mtest37.in [13;1H[12;1H[0m[17;1H[7mtest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?25h[?0c[?25l[?1c6[?25h[?0c[9;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[9;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?0c[?25l[?1c7[?25h[?0c[?25l[?1c
:[?25h[?0c[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" TEST horizontal scrolling
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset scrollopt+=hor
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[18;1H[K[19;1H0[7C5 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
1[7C5 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[18;1H[?25h[?0c[?25l[?1c[18;22r[18;1H[4M[1;24r[19;1H4 line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
5 line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[24;1H[K[22;1H[?25h[?0c[?25l[?1c[18;22r[22;1H
[1;24r[22;1H[?25h[?0c[9;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[?25l[?1c[0m[1;1H 1[1;3H[K[2;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01[2;35H[K[3;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[3;35H[K[4;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03[4;35H[K[5;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04[5;35H[K[6;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[6;35H[K[7;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06[7;35H[K[8;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07[8;35H[K[10;1H 2[10;3H[K[11;1HUTSRQPONMLKJIHGREDCBA9876543210 01[11;35H[K[12;1HUTSRQPONMLKJIHGREDCBA9876543210 02[12;35H[K[13;1HUTSRQPONMLKJIHGREDCBA9876543210 03[13;35H[K[14;1HUTSRQPONMLKJIHGREDCBA9876543210 04[14;35H[K[15;1HUTSRQPONMLKJIHGREDCBA9876543210 05[15;35H[K[16;1HUTSRQPONMLKJIHGREDCBA9876543210 06[16;35H[K[3;1H[?25h[?0c[9;1H[7mtest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[0m56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?0c[?25l[?1c[18;22r[22;1H
[1;24r[22;1H[?25h[?0c[17;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [12;1H[17;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[0mUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?0c[?25l[?1c[18;22r[22;1H
[1;24r[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0c[?25l[?1c[22;1H[?25h[?0c[17;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [12;1H[?25l[?1c[0m[1;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09[2;33H10[3;33H11[4;33H12[5;33H13[6;33H14[7;33H15[8;1H[K[10;1HUTSRQPONMLKJIHGREDCBA9876543210 09[11;33H10[12;33H11[13;33H12[14;33H13[15;33H14[16;33H15[13;1H[?25h[?0c[?25l[?1c[1;1H. 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[12;1H[?25h[?0c[?25l[?1c[?25h[?0c[17;1H[7mtest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[0m. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?0c[?25l[?1c[18;22r[22;1H
[1;24r[24;1H[K[22;1H[?25h[?0c[9;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;16H
[9;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[0m. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?0c[?25l[?1c[18;22r[22;1H
[1;24r[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0c[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset scrollopt-=hor
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" ****** tests using two different bufferdpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums
s *****
[?25l[?1c[22;1H[?25h[?0c[9;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[9;1Htest37.in [0m[17;1H[1m[7mtest37.in [12;1H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cclose
[?25l[?1c[9;1H[K[10;1H[K[11;1Hstart of window 2[11;18H[K[12;8H0[39C0[13;8H0[39C0[14;8H0[39C0[15;8H0[39C0[16;8H0[39C0[3;1H[?25h[?0c[3;1H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset noscrollbind
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^start of window 2$/,/^end of window 2$/y
[?25l[?1c18 lines yanked[24;16H[K[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[8;1H[7mtest37.in [0m[10;1H[1m[34m~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [0m[17;1H[1m[7m[No Name][9;1H[?25h[?0c[8;1Htest37.in [0m[17;1H[7m[No Name] [3;1H[8;1Htest37.in [0m[17;1H[1m[7m[No Name] [9;1H[?25l[?1c[0m[24;1H4 more lines[10;1H[K[11;1H[K[12;1H[K[13;1H[K[17;11H[1m[7m[+][10;1H[?25h[?0c
[?25l[?1c[0m[24;1H18 more lines[14;1Hstart of window 2[14;18H[K[15;1H. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01[15;50H[K[16;1H. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[16;50H[K[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[?25l[?1c[14;1H[?25h[?0c[8;1H[1m[7mtest37.in [0m[17;1H[7m[No Name] [+] [3;1H[?25l[?1c[0m[24;1H[K[24;1H/[?25h[?0c^start of window 1$/
[?25l[?1c[24;21H[K[24;1H[1m[31msearch hit BOTTOM, continuing at TOP[0m[1;1HENDTEST[1;8H[K[2;1H[K[3;1H[K[4;1Hstart of window 1[4;18H[K[5;8H01[38C01[6;8H02[38C02[7;8H03[38C03[4;1H[?25h[?0c[?25l[?1c[1;7r[7;1H
[1;24r[7;1H. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset scrollbind
[?25l[?1c[3;1H[?25h[?0c[8;1H[7mtest37.in [0m[17;1H[1m[7m[No Name] [+] [14;1H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c[?25l[?1c[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^start of window 2$/
[?25l[?1c[24;21H[K[24;1H[1m[31msearch hit BOTTOM, continuing at TOP[14;1H[?25h[?0c[?25l[?1c[9;16r[0m[9;1H[3M[1;24r[14;1H. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03
. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04
. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[24;1H[K[11;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c[?25l[?1c[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset scrollbind
[?25l[?1c[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" -- start of tests --
[?25l[?1c[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" TEST scrolling down
[?25l[?1c[11;1H[?25h[?0c
[?25l[?1c[1;7r[1;1H[5M[1;24r[3;1H. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
. line 07 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07
. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08
. line 09 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09[9;16r[9;1H[5M[1;24r[12;1H. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
. line 07 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 07
. line 08 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 08
. line 09 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 09
. line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10[24;1H[K[14;1H[?25h[?0c[11;1H[17;1H[7m[No Name] [+] [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
[?25h[?0c[?25l[?1c0[?25h[?0c[8;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[8;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
[?25h[?0c[?25l[?1c1[?25h[?0c[8;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H
[?25l[?1c[1;7r[0m[1;1H[6M[1;24r[2;1H. line 10 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 10
. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
. line 12 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 12
. line 13 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 13
. line 14 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 14
. line 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 15[9;16r[9;1H[6M[1;24r[11;1H. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13
. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16[5;1H[?25h[?0c[3;1H[8;1H[7mtest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
[?25h[?0c[?25l[?1c2[?25h[?0c[17;1H[1m[7m[No Name] [+] [0m[23;1H[7m[No Name] [+] [11;1H[17;1H[No Name] [+] [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
[?25h[?0c[?25l[?1c3[?25h[?0c[?25l[?1c
:[?25h[?0c[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" TEST scrolling up
[?25l[?1c[22;1H[?25h[?0c[8;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[?25l[?1c[0m[1;9H4[39C4[2;8H05[38C05[3;8H06[38C06[4;8H07[38C07[5;8H08[38C08[6;8H09[38C09[7;9H0[39C0[9;16r[9;1H[5L[1;24r[9;1H. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04
. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
. line 07 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 07
. line 08 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 08[24;1H[K[4;1H[?25h[?0c[8;1H[7mtest37.in [0m[17;1H[1m[7m[No Name] [+] [14;1H[11;1H[8;1Htest37.in [0m[17;1H[7m[No Name] [+] [4;1H[3;1H[8;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?25h[?0c[?25l[?1c4[?25h[?0c[17;1H[1m[7m[No Name] [+] [0m[23;1H[7m[No Name] [+] [11;1H[17;1H[No Name] [+] [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?25h[?0c[?25l[?1c5[?25h[?0c[17;1H[1m[7m[No Name] [+] [0m[23;1H[7m[No Name] [+] [11;1H[?25l[?1c[1;7r[0m[1;1H[4L[1;24r[1;1Hstart of window 1
. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03[9;16r[9;1H[4L[1;24r[9;1Hstart of window 2
. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01
. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03
[?25h[?0c[8;1H[1m[7mtest37.in [0m[17;1H[7m[No Name] [+] [5;1H[3;1H[8;1Htest37.in [0m[17;1H[1m[7m[No Name] [+] [12;1H[11;1H[0m[17;1H[7m[No Name] [+] [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?25h[?0c[?25l[?1c6[?25h[?0c[8;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[8;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?0c[?25l[?1c7[?25h[?0c[?25l[?1c
:[?25h[?0c[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" TEST horizontal scrolling
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset scrollopt+=hor
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[18;1H[K[19;1H0[7C5 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
1[7C5 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[18;1H[?25h[?0c[?25l[?1c3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
4[7C6 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
5[7C6 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?0c[?25l[?1c[18;22r[22;1H
[1;24r[24;1H[K[22;1H[?25h[?0c[8;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[?25l[?1c[0m[1;1H 1[1;3H[K[2;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01[2;35H[K[3;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[3;35H[K[4;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03[4;35H[K[5;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04[5;35H[K[6;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[6;35H[K[7;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06[7;35H[K[9;1H 2[9;3H[K[10;1HUTSRQPONMLKJIHGREDCBA9876543210 01[10;35H[K[11;1HUTSRQPONMLKJIHGREDCBA9876543210 02[11;35H[K[12;1HUTSRQPONMLKJIHGREDCBA9876543210 03[12;35H[K[13;1HUTSRQPONMLKJIHGREDCBA9876543210 04[13;35H[K[14;1HUTSRQPONMLKJIHGREDCBA9876543210 05[14;35H[K[15;1HUTSRQPONMLKJIHGREDCBA9876543210 06[15;35H[K[16;1HUTSRQPONMLKJIHGREDCBA9876543210 07[16;35H[K[3;1H[?25h[?0c[8;1H[7mtest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[0m56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?0c[?25l[?1c[18;22r[22;1H
[1;24r[22;1H[?25h[?0c[17;1H[1m[7m[No Name] [+] [0m[23;1H[7m[No Name] [+] [11;1H[17;1H[No Name] [+] [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[0mUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?0c[?25l[?1c[18;22r[22;1H
[1;24r[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0c[?25l[?1c[22;1H[?25h[?0c[17;1H[1m[7m[No Name] [+] [0m[23;1H[7m[No Name] [+] [11;1H[?25l[?1c[0m[1;1H56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09[2;33H10[3;33H11[4;33H12[5;33H13[6;33H14[7;33H15
UTSRQPONMLKJIHGREDCBA9876543210 09[10;33H10[11;33H11[12;33H12[13;33H13[14;33H14[15;33H15[16;33H16[12;1H[?25h[?0c[?25l[?1c[1;1H. 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[11;1H[?25h[?0c[?25l[?1c[?25h[?0c[17;1H[7m[No Name] [+] [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[0m. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?0c[?25l[?1c[18;22r[22;1H
[1;24r[24;1H[K[22;1H[?25h[?0c[8;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;16H
[8;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[0m. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?0c[?25l[?1c[18;22r[22;1H
[1;24r[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0c[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset scrollopt-=hor
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" TEST syncbind
[?25l[?1c[22;1H[?25h[?0c[8;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset noscb
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[1;1HTest for 'scrollbind'. <eralston@computer.org> Do not add a line below!
STARTTEST[2;11H[K[3;1H:so small.vim[3;14H[K[4;1H:set noscrollbind[4;18H[K[5;1H:set scrollopt=ver,jump[5;24H[K[6;1H:set scrolloff=2[6;17H[K[7;1H:set nowrap[7;12H[K[1;1H[?25h[?0c[5;1H[8;1H[7mtest37.in [0m[17;1H[1m[7m[No Name] [+] [11;1H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset noscb
[?25l[?1c[11;1H[?25h[?0c[?25l[?1c[9;1H[K[10;1H[K[11;1H[K[12;1H[K[13;1H[K[14;1Hstart of window 2[14;18H[K[15;8H01[38C01[16;8H02[38C02[9;1H[?25h[?0c[14;1H[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset scb
[?25l[?1c[14;1H[?25h[?0c[8;1H[1m[7mtest37.in [0m[17;1H[7m[No Name] [+] [5;1H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset scb
[?25l[?1c[5;1H[?25h[?0c[?25l[?1c[1;1H. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13[1;50H[K[2;1H. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
end of window 2[5;16H[K[6;1H[K[7;1Hend of test37.in (please don't delete this line)
end of window 2
[1m[34m~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [7;1H[?25h[?0c[?25l[?1c[0m[1;1Hzt:[1;4H[K[2;1H:set scrollbind[2;16H[K[3;1H:" -- start of tests --[3;24H[K[4;1H:" TEST scrolling down[4;23H[K[5;1HL5jHyy[1m[34m^W[0mbpr0[1m[34m^W[0mtHyy[1m[34m^W[0mbpr1[1m[34m^W[0mtL6jHyy[1m[34m^W[0mbpr2[1m[34m^W[0mkHyy[1m[34m^W[0mbpr3:
:" TEST scrolling up
[1m[34m^W[0mtH4k[1m[34m^W[0mjH[1m[34m^W[0mtHyy[1m[34m^W[0mbpr4[1m[34m^W[0mkHyy[1m[34m^W[0mbpr5[1m[34m^W[0mk3k[1m[34m^W[0mtH[1m[34m^W[0mjHyy[1m[34m^W[0mbpr6[1m[34m^W[0mtHyy[1m[34m^W[0mbpr7:
[7mtest37.in [9;16r[0m[9;1H[2L[1;24r[9;1H. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16[17;1H[1m[7m[No Name] [+] [0m[24;1H[K[11;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0csyncbind
[?25l[?1c[11;1H[?25h[?0c[?25l[?1c[1;7r[1;1H[L[1;24r[1;1H/^start of window 2$/[9;16r[9;1H[L[1;24r[9;1H. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[24;1H[K[11;1H[?25h[?0c[8;1H[1m[7mtest37.in [0m[17;1H[7m[No Name] [+] [5;1H[3;1H[8;1Htest37.in [0m[17;1H[1m[7m[No Name] [+] [11;1Hdh_builddeb -- -Zxz
[0m[17;1H[7m[No Name] [+] [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?25h[?0c[8;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[8;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H:set scrollbind
[?25h[?0c[?25l[?1c
:[?25h[?0c[?25l[?1c[22;1H[?25h[?0c[8;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset noscb
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[1;1HTest for 'scrollbind'. <eralston@computer.org> Do not add a line below!
STARTTEST
:so small.vim[3;14H[K[4;2Hset noscrollbind[4;18H[K[5;2Hset scrollopt=ver,jump
:set scrolloff=2[6;17H[K[7;2Hset nowrap[7;12H[K[1;1H[?25h[?0c[5;1H[8;1H[7mtest37.in [0m[17;1H[1m[7m[No Name] [+] [11;1H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset noscb
[?25l[?1c[11;1H[?25h[?0c[?25l[?1c[9;1H[K[10;1H[K[11;1H[K[12;1H[K[13;1H[K[14;1Hstart of window 2[14;18H[K[15;1H. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01[15;50H[K[16;1H. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[16;50H[K[9;1H[?25h[?0c[14;1H[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset scb
[?25l[?1c[14;1H[?25h[?0c[8;1H[1m[7mtest37.in [0m[17;1H[7m[No Name] [+] [5;1H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset scb
[?25l[?1c[5;1H[?25h[?0c[5;1H[?25l[?1c[1;1H. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13[1;50H[K[2;1H. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
end of window 2[5;16H[K[6;1H[K[7;1Hend of test37.in (please don't delete this line)
end of window 2
[1m[34m~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [7;1H[?25h[?0c[?25l[?1c[0m[1;1Hzt:[1;4H[K[2;1H:set scrollbind[2;16H[K[3;1H:" -- start of tests --[3;24H[K[4;1H:" TEST scrolling down[4;23H[K[5;1HL5jHyy[1m[34m^W[0mbpr0[1m[34m^W[0mtHyy[1m[34m^W[0mbpr1[1m[34m^W[0mtL6jHyy[1m[34m^W[0mbpr2[1m[34m^W[0mkHyy[1m[34m^W[0mbpr3:
:" TEST scrolling up
[1m[34m^W[0mtH4k[1m[34m^W[0mjH[1m[34m^W[0mtHyy[1m[34m^W[0mbpr4[1m[34m^W[0mkHyy[1m[34m^W[0mbpr5[1m[34m^W[0mk3k[1m[34m^W[0mtH[1m[34m^W[0mjHyy[1m[34m^W[0mbpr6[1m[34m^W[0mtHyy[1m[34m^W[0mbpr7:
[7mtest37.in [9;16r[0m[9;1H[2L[1;24r[9;1H. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16[17;1H[1m[7m[No Name] [+] [0m[24;1H[K[11;1H[?25h[?0c[8;1H[1m[7mtest37.in [0m[17;1H[7m[No Name] [+] [5;1H[?25l[?1c[24;1H[0m:[?25h[?0csyncbind
[?25l[?1c[5;1H[?25h[?0c[3;1H[?25l[?1c[1;7r[1;1H[L[1;24r[1;1H/^start of window 2$/[9;16r[9;1H[2L[1;24r[9;1H. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13
. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[24;1H[K[3;1H[?25h[?0c[?25l[?1c[1;7r[1;1H[L[1;24r[1;1H:resize 7[8;1H[7mtest37.in [0m[17;1H[1m[7m[No Name] [+] [12;1H[?25h[?0c[11;1H[8;1Htest37.in [0m[17;1H[7m[No Name] [+] [4;1H[3;1H[8;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1Hzt:
[?25h[?0c[8;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[8;1Htest37.in [0m[17;1H[1m[7m[No Name] [+] [11;1H[0m[17;1H[7m[No Name] [+] [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
[?25h[?0c[?25l[?1c
:[?25h[?0c[?25l[?1c[22;1H[?25h[?0c[8;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[?25l[?1c[1;7r[0m[1;1H[4L[1;24r[1;1H/^start of window 1$/
zt:
:set scrollbind
[1m[34m^W[0mj:[9;16r[9;1H[4L[1;24r[9;1H. line 09 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 09
. line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12[24;1H[K[4;1H[?25h[?0c[8;1H[7mtest37.in [0m[17;1H[1m[7m[No Name] [+] [14;1H[11;1H[8;1Htest37.in [0m[17;1H[7m[No Name] [+] [4;1H[3;1H[8;1Htest37.in [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H:set scrollbind
[?25h[?0c[8;1H[1m[7mtest37.in [0m[23;1H[7m[No Name] [+] [3;1H[8;1Htest37.in [0m[17;1H[1m[7m[No Name] [+] [11;1H[0m[17;1H[7m[No Name] [+] [0m[23;1H[1m[7m[No Name] [+] [22;1H[?25l[?1c[18;22r[0m[22;1H
[1;24r[22;1H. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
[?25h[?0c[?25l[?1c
:[?25h[?0c[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" ***** done with tests *****
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! test.out " Write dpkg-deb: building package `vim-gnome' in `../vim-gnome_7.3.547-7+deb7u3_armhf.deb'.
contents of this file
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 33 lines, 1329 characters written[23;1H[1m[7mtest.out [22;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test38.in" 35 lines, 455 characters[2;1HTest Virtual replace mode.
STARTTEST
:so small.vim
:" make sure that backspace works, no matter what termcap is used
:set t_kD=[1m[34m^V[0mx7f t_kb=[1m[34m^V[0mx08
ggdGa
abcdefghi
jk lmn
opq rst
[1m[34m^D[0muvwxyz
[1m[34m^[[0mgg:set ai
:set bs=2
gR0[1m[34m^D[0m 1
A
BCDEFGHIJ[18;9HKL
MNO
PQR[1m[34m^[[0mG:ka
o0[1m[34m^D[0m
abcdefghi
jk lmn[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[4;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 29 lines, 407 characters written[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[5;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[11M[1;24r[13;5Hopq rst
[1m[34m^D[0muvwxyz
[1m[34m^[[0m'ajgR0[1m[34m^D[0m 1
A
BCDEFGHIJ[18;9HKL
MNO
PQR[1m[34m^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^[[0m:$
iab cdefghi jkl[1m[34m^[[0m0gRAB......CDEFGHI.J[1m[34m^[[0mo[1m[34m^[[0m:
iabcdefghijklmnopqrst[1m[34m^[[0m0gRAB IJKLMNO QR[1m[34m^[[0m:wq! test.out
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" make sure that backspace works, no matter what termcap is used
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset t_kD=^[1m[34m^?[0m t_kb=^[1m[34m^H
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m[34m^[[0mgg:set ai
:set bs=2
gR0[1m[34m^D[0m 1
A
BCDEFGHIJ[6;9HKL
MNO
PQR[1m[34m^[[0mG:ka
o0[1m[34m^D[0m
abcdefghi
jk lmn
opq rst
[1m[34m^D[0muvwxyz
[1m[34m^[[0m'ajgR0[1m[34m^D[0m 1
A
BCDEFGHIJ[17;9HKL
MNO
PQR[1m[34m^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^[[0m:$
iab cdefghi jkl[1m[34m^[[0m0gRAB......CDEFGHI.J[1m[34m^[[0mo[1m[34m^[[0m:
iabcdefghijklmnopqrst[1m[34m^[[0m0gRAB IJKLMNO QR[1m[34m^[[0m:wq! test.out
ENDTEST
[?25h[?0c[?25l[?1c[1;23r[1;1H[12L[1;24r[2;1HTest Virtual replace mode.
STARTTEST
:so small.vim
:" make sure that backspace works, no matter what termcap is used
:set t_kD=[1m[34m^V[0mx7f t_kb=[1m[34m^V[0mx08
ggdGa
abcdefghi
jk lmn
opq rst
[1m[34m^D[0muvwxyz[1;1H[?25h[?0c[?25l[?1c
[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H--No lines in buffer--[1;1H[?25h[?0c[?25l[?1c
abcdefghi[2;10H[K[3;1Hjk lmn[3;12H[K[4;1H opq rst[4;12H[K[5;1Huvwxyz[5;7H[K[6;1H[K[6;1H[?25h[?0c[1;1H[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ai
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset bs=2
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c 1
A[2;3H[K[3;1H BCDEFGHIJ[3;11H[K[4;5H KL[4;11H[K[5;1H MNO[6;9HPQR[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cka
[?25l[?1c[6;9H[?25h[?0c[?25l[?1c[7;1H[K[8;1Habcdefghi[8;10H[K[9;1Hjk lmn[9;12H[K[10;1H opq rst[10;12H[K[11;1Huvwxyz[11;7H[K[12;1H[K[12;1H[?25h[?0c[6;9H
[?25l[?1c 1[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$
[?25l[?1c[12;1H[?25h[?0c[?25l[?1cab cdefghi jkl[?25h[?0c
[?25l[?1cAB......CDEFGHI.J[?25h[?0c[?25l[?1c[13;1H[K[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[?25l[?1c[13;1H[?25h[?0c[?25l[?1cabcdefghijklmnopqrst[?25h[?0c
[?25l[?1cAB IJKLMNO QR[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cwq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 13 lines, 107 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test39.in" 43 lines, 916 characters[2;1HTest 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[1m[34m^V[0mjj>wll[1m[34m^V[0mjlll>
:" Test shift-left of a block
G$hhhh[1m[34m^V[0mkk<
:" Test block-insert
Gkl[1m[34m^V[0mkkkIxyz[1m[34m^[[0m
:" Test block-replace
Gllll[1m[34m^V[0mkkklllrq
:" Test block-change
G$khhh[1m[34m^V[0mhhkkcmno[1m[34m^[[0m
:$-4,$w! test.out
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[5;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 31 lines, 740 characters written[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[6;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[14M[1;24r[10;1H:" gUfx must uppercase until x, inclusive.
:" VU must uppercase a whole line
YpkVU
:" same, when it's the last line in the buffer
YPGi111[1m[34m^[[0mVUddP
:" Uppercase two lines
Oblah di
doh dut[1m[34m^[[0mVkUj
:" Uppercase part of two lines
ddppi333[1m[34m^[[0mk0i222[1m[34m^[[0mfyllvjfuUk
:/^the/,$w >> test.out
:qa!
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso mbyte.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" This only works when 'encoding' is "latin1", don't depend on the environment
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset enc=latin1
[?25l[?1c[27m[24m[0m[H[J[1;1HGkl[1m[34m^V[0mkkkIxyz[1m[34m^[[0m
:" Test block-replace
Gllll[1m[34m^V[0mkkklllrq
:" Test block-change
G$khhh[1m[34m^V[0mhhkkcmno[1m[34m^[[0m
:$-4,$w! test.out
:" gUfx must uppercase until x, inclusive.
:" VU must uppercase a whole line
YpkVU
:" same, when it's the last line in the buffer
YPGi111[1m[34m^[[0mVUddP
:" Uppercase two lines
Oblah di
doh dut[1m[34m^[[0mVkUj
:" Uppercase part of two lines
ddppi333[1m[34m^[[0mk0i222[1m[34m^[[0mfyllvjfuUk
:/^the/,$w >> test.out
:qa!
ENDTEST
[?25h[?0c[?25l[?1c
/[?25h[?0c^abcde
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Habcdefghijklm[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c" Test shift-right of a block
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Habcdefghijklm[24;1H[K[23;1H[?25h[?0cabcd[?25l[?1c[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;5H[7me[0m
abcdefghijklm
abcd[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;5H[7me[0m
abcdefghijklm
abcd[?25h[?0c[?25l[?1c
3 lines >ed 1 time[21;5H efghijklm
abcd efghijklm
abcd efghijklm[21;8H[?25h[?0c ef[?25l[?1c[?25h[?0c[?25l[?1c[7mg[22;15H[?25h[?0c[?25l[?1c[21;16Hh[22;15Hg[?25h[?0c[?25l[?1c[21;17Hi[22;16Hh[?25h[?0c[?25l[?1c[21;18Hj[22;17Hi[?25h[?0c[?25l[?1c[0m[21;15H ghijklm[22;15H ghijklm[21;16H[?25h[?0c[22;16H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test shift-left of a block
[?25l[?1c[22;16H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Habcdefghijklm[24;1H[K[23;1H[?25h[?0c[12C[?25l[?1c[?25h[?0c[?25l[?1c[7mi[22;9H[?25h[?0c[?25l[?1c [21;9H[?25h[?0c[?25l[?1c[0m
3 lines <ed 1 time[21;9Hef [22;9Hefghijklm[22;18H[K[23;9Hi[21;9H[?25h[?0c[22;9H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test block-insert
[?25l[?1c[22;9H[?25h[?0c
[22;1Ha[?25l[?1c[?25h[?0c[?25l[?1c[7mb[21;2H[?25h[?0c[?25l[?1cb[20;2H[?25h[?0c[?25l[?1cb[19;2H[?25h[?0c[?25l[?1c[0m
ab
ab
ab[19;2Hxyzbcdefghijklm
axyzbcd
axyzbcd
axyzbcd[19;2H[?25h[?0c
a[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test block-replace
[?25l[?1c[20;2H[?25h[?0c
abcd[?25l[?1c[?25h[?0c[?25l[?1c[7me[22;5H[?25h[?0c[?25l[?1cb[21;5H[?25h[?0c[?25l[?1cb[20;5H[?25h[?0c[?25l[?1cb[21;6Hc[22;6Hc[23;6Hf[20;6H[?25h[?0c[?25l[?1cc[21;7Hd[22;7Hd[23;7Hg[20;7H[?25h[?0c[?25l[?1cd[21;8H [22;8H [23;8Hh[20;8H[?25h[?0c[?25l[?1c[0mqqqq
axyzqqqq
axyzqqqq
abcdqqqq[20;5H[?25h[?0c
axyz[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test block-change
[?25l[?1c[21;5H[?25h[?0c
[?25l[?1c[1;23r[23;1H
the [?25l[?1c
:[?25h[?0c" VU must uppercase a whole line
[?25l[?1c[23;4H[?25h[?0c[?25l[?1c[1;23r[23;1H
[?25l[?1c
:[?25h[?0c" same, when it's the last line in the buffer
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[?25h[?0c[?25l[?1c[1;23r[23;1H
[?25l[?1c
:[?25h[?0c" Uppercase two lines
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;1Hblah di[22;8H[K[23;1Hdoh dut[24;1H[K[23;7H[?25h[?0c[?25l[?1c
[7mdoh du[0mt[7m [?25h[?0c[?25l[?1c[22;1Hblah d[0mi[7m [23;7Ht[22;7H[?25h[?0c[?25l[?1c[0m
BLAH DI[22;8H[K[23;1HDOH DUT[23;8H[K[22;7H[?25h[?0c[23;7H[?25l[?1c[1;23r[23;1H
:[?25h[?0c" Uppercase part of two lines
[?25l[?1c[23;7H[?25h[?0c[?25l[?1c
[1m[34m~ [22;1H[?25h[?0c[?25l[?1c[0m
333the yo[?25h[?0c[?25l[?1cut[?25h[?0c[?25l[?1c[0m[22;10HUTUSSEUU END
333THE YOUTU[22;10H[?25h[?0c[21;7H[22;10H[?25l[?1c
:[?25h[?0c/^the/,$w >> test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H8 lines, 136 characters appended[22;10H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test40.in" 63 lines, 1521 characters[1;1HTest for "*Cmd" autocommands
STARTTEST
:so small.vim
:/^start/,$w! Xxx[15C" write lines below to Xxx
:au BufReadCmd testA 0r Xxx|$del
:e testA[24C" will read text of Xxd instead
:au BufWriteCmd testA call append(line("$"), "write")
:w[30C" will append a line to the file
:r testA[24C" should not read anything
:[31C" now we have:
:[31C" 1 start of Xxx
:[31C" 2[13Ctest40
:[31C" 3 end of Xxx
:[31C" 4 write
:au FileReadCmd testB '[r Xxx
:2r testB[23C" will read Xxx below line 2 instead
:[31C" 1 start of Xxx
:[31C" 2[13Ctest40
:[31C" 3 start of Xxx
:[31C" 4[13Ctest40
:[31C" 5 end of Xxx
:[31C" 6 end of Xxx[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for "*Cmd" autocommands[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 55 lines, 1440 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:$w >>test.out[18C" append "end of Xxx" to test.out
:au BufReadCmd testE 0r test.out|$del
:sp testE[23C" split window with test.out
5Goasdf[1m[34m^[^W^W[0m:"
:au BufWriteCmd testE w! test.out
:wall[27C" will write other window to test.out
:[31C" 1 start of Xxx
:[31C" 2[13Ctest40
:[31C" 3 start of Xxx
:[31C" 4[13Ctest401
:[31C" 5 end of Xxx
:[31C" 6 asdf
:[31C" 7 end of Xxx
:[31C" 8 write
:[31C" 9[13Ctest401
:[31C" 10 end of Xxx
:[31C" 11 end of Xxx
:qa!
ENDTEST
start of Xxx[22;9Htest40
end of Xxx[19;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^start/,$w! Xxx[1m[34m^I^I[0m" write lines below to Xxx
[?25l[?1c"Xxx" [24;7H[K[24;7H[New File] 3 lines, 32 characters written[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufReadCmd testA 0r Xxx|$del
[?25l[?1c[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce testA[1m[34m^I^I^I[0m" will read text of Xxd instead
[?25l[?1c"Xxx" [24;7H[K[24;7H3 lines, 32 characters[1;1Hstart of Xxx[1;13H[K[2;1H test40[2;16H[K[3;1Hend of Xxx[3;33H[K[4;1H[1m[34m~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [3;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cau BufWriteCmd testA call append(line("$"), "write")
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw[1m[34m^I^I^I^I[0m" will append a line to the file
[?25l[?1c[4;1Hwrite[4;6H[K[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cr testA[1m[34m^I^I^I[0m" should not read anything
[?25l[?1c[1m[37m[41mE484: Can't open file testA[0m[24;28H[K[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" now we have:
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 1[1m[34m^I[0mstart of Xxx
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 2[1m[34m^I^I[0mtest40
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 3[1m[34m^I[0mend of Xxx
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 4[1m[34m^I[0mwrite
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau FileReadCmd testB '[r Xxx
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c2r testB[1m[34m^I^I^I[0m" will read Xxx below line 2 instead
[?25l[?1c"Xxx" [24;7H[K[24;7H3 lines, 32 characters[3;23r[3;1H[3L[1;24r[3;1Hstart of Xxx[4;9Htest40
end of Xxx[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 1[1m[34m^I[0mstart of Xxx
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 2[1m[34m^I^I[0mtest40
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 3[1m[34m^I[0mstart of Xxx
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 4[1m[34m^I^I[0mtest40
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 5[1m[34m^I[0mend of Xxx
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 6[1m[34m^I[0mend of Xxx
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 7[1m[34m^I[0mwrite
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau FileWriteCmd testC '[,']copy $
[?25l[?1c[3;1H[?25h[?0c[4;9H[?25l[?1ctest401[?25h[?0c[5;10H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c4,5w testC[1m[34m^I^I^I[0m" will copy lines 4 and 5 to the end
[?25l[?1c[8;1H test401[8;16H[K[9;1Hend of Xxx[9;11H[K[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cr testC[1m[34m^I^I^I[0m" should not read anything
[?25l[?1c[1m[37m[41mE484: Can't open file testC[0m[24;28H[K[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 1[1m[34m^I[0mstart of Xxx
[?25l[?1c[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 2[1m[34m^I^I[0mtest40
[?25l[?1c[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 3[1m[34m^I[0mstart of Xxx
[?25l[?1c[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 4[1m[34m^I^I[0mtest401
[?25l[?1c[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 5[1m[34m^I[0mend of Xxx
[?25l[?1c[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 6[1m[34m^I[0mend of Xxx
[?25l[?1c[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 7[1m[34m^I[0mwrite
[?25l[?1c[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 8[1m[34m^I^I[0mtest401
[?25l[?1c[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 9[1m[34m^I[0mend of Xxx
[?25l[?1c[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau FILEAppendCmd testD '[,']w! test.out
[?25l[?1c[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>testD[1m[34m^I^I^I[0m" will write all lines to test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 9 lines, 91 characters written[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$r testD[1m[34m^I^I^I[0m" should not read anything
[?25l[?1c[1m[37m[41mE484: Can't open file testD[0m[24;29H[K[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$w >>test.out[1m[34m^I^I^I[0m" append "end of Xxx" to test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 11 characters appended[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufReadCmd testE 0r test.out|$del
[?25l[?1c[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csp testE[1m[34m^I^I^I[0m" split window with test.out
[?25l[?1c"test.out" [24;12H[K[24;12H10 lines, 102 characters[10;1Hend of Xxx[10;11H[K[12;1H[1m[7mtestE [0m[13;1Hend of Xxx[13;11H[K[14;1Hwrite[14;6H[K[15;1H test401[15;16H[K[16;1Hend of Xxx[16;11H[K[23;1H[7mtestA [10;1H[?25h[?0c[5;1H[?25l[?1c[6;11r[0m[6;1H[L[1;24r[6;1Hasdf[12;7H[1m[7m[+][0m[24;1H[K[6;4H[?25h[?0c[12;1H[7mtestE [+] [0m[23;1H[1m[7mtestA [16;1H[?25l[?1c[24;1H[0m:[?25h[?0c"
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufWriteCmd testE w! test.out
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cwall[1m[34m^I^I^I^I[0m" will write other window to test.out
[?25l[?1c"test.out" [24;12H[K[24;12H11 lines, 107 characters written[12;7H[7m [16;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 1[1m[34m^I[0mstart of Xxx
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 2[1m[34m^I^I[0mtest40
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 3[1m[34m^I[0mstart of Xxx
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 4[1m[34m^I^I[0mtest401
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 5[1m[34m^I[0mend of Xxx
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 6[1m[34m^I[0masdf
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 7[1m[34m^I[0mend of Xxx
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 8[1m[34m^I[0mwrite
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 9[1m[34m^I^I[0mtest401
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 10[1m[34m^I[0mend of Xxx
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[1m[34m^I^I^I^I[0m" 11[1m[34m^I[0mend of Xxx
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test41.in" 24 lines, 421 characters[1;1HTest 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[1m[34m^[[0mkY3000p2GY3000p
:w! Xtest
:%d
:e! Xtest
:.w! test.out
3003G:.w >>test.out
6005G:.w >>test.out
:qa!
ENDTEST[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for writing and reading a file of over 100 Kbyte[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[9;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[10;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 13 lines, 196 characters written[10;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[10;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c%d
[?25l[?1c[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H--No lines in buffer--[1;1H[?25h[?0c[?25l[?1cThis is the start
This is the leader[2;19H[K[3;1HThis is the middle[3;19H[K[4;1HThis is the trailer[4;20H[K[5;1HThis is the end[5;16H[K[5;15H[?25h[?0c[4;15H[?25l[?1c[24;1H3000 more lines[24;16H[K[5;13Htrailer
This is the trailer[6;20H[K[7;1HThis is the trailer[7;20H[K[8;1HThis is the trailer[8;20H[K[9;1HThis is the trailer[9;20H[K[10;1HThis is the trailer[10;20H[K[11;1HThis is the trailer[11;20H[K[12;1HThis is the trailer[12;20H[K[13;1HThis is the trailer[13;20H[K[14;1HThis is the trailer[14;20H[K[15;1HThis is the trailer[15;20H[K[16;1HThis is the trailer[16;20H[K[17;1HThis is the trailer[17;20H[K[18;1HThis is the trailer[18;20H[K[19;1HThis is the trailer[19;20H[K[20;1HThis is the trailer[20;20H[K[21;1HThis is the trailer[21;20H[K[22;1HThis is the trailer[22;20H[K[23;1HThis is the trailer[23;20H[K[5;1H[?25h[?0c[2;1H[?25l[?1c[3;13Hleader[4;13Hleader[4;19H[K[5;13Hleader[5;19H[K[6;13Hleader[6;19H[K[7;13Hleader[7;19H[K[8;13Hleader[8;19H[K[9;13Hleader[9;19H[K[10;13Hleader[10;19H[K[11;13Hleader[11;19H[K[12;13Hleader[12;19H[K[13;13Hleader[13;19H[K[14;13Hleader[14;19H[K[15;13Hleader[15;19H[K[16;13Hleader[16;19H[K[17;13Hleader[17;19H[K[18;13Hleader[18;19H[K[19;13Hleader[19;19H[K[20;13Hleader[20;19H[K[21;13Hleader[21;19H[K[22;13Hleader[22;19H[K[23;13Hleader[23;19H[K[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! Xtest
[?25l[?1c"Xtest" [24;9H[K[24;9H[New File] 6005 lines, 117092 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c%d
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H--No lines in buffer--[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtest
[?25l[?1c"Xtest" [24;9H[K[24;9H6005 lines, 117092 characters[1;1HThis is the start
This is the leader[2;19H[K[3;1HThis is the leader[3;19H[K[4;1HThis is the leader[4;19H[K[5;1HThis is the leader[5;19H[K[6;1HThis is the leader[6;19H[K[7;1HThis is the leader[7;19H[K[8;1HThis is the leader[8;19H[K[9;1HThis is the leader[9;19H[K[10;1HThis is the leader[10;19H[K[11;1HThis is the leader[11;19H[K[12;1HThis is the leader[12;19H[K[13;1HThis is the leader[13;19H[K[14;1HThis is the leader[14;19H[K[15;1HThis is the leader[15;19H[K[16;1HThis is the leader[16;19H[K[17;1HThis is the leader[17;19H[K[18;1HThis is the leader[18;19H[K[19;1HThis is the leader[19;19H[K[20;1HThis is the leader[20;19H[K[21;1HThis is the leader[21;19H[K[22;1HThis is the leader[22;19H[K[23;1HThis is the leader[23;19H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 1 line, 18 characters written[1;1H[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;1HThis 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[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 19 characters appended[12;1H[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;1HThis 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
[?25h[?0c[?25l[?1c
:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 16 characters appended[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test42.in" 130 lines, 2368 characters[1;1HTest 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[11C" 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[22C" Ignore change from setting 'ff'
o[1m[34m^V^@^[[0m:set noeol
:w
:set ffs& nobinary[14C" Allow default test42.in format
:e #
:set ff=unix[20C" Format for files to write
:/^ucs-4$/+1w! Xtest5
:/^ucs-4le$/+1w! Xtest6[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for writing and reading a file starting with a BOM[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 111 lines, 2116 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:e! test.out
:$r Xtest0x
:$r Xtest1x
:$r Xtest2x
:$r Xtest3x
:$r Xtest4x
:$r Xtest5x
:$r Xtest6x
:set nobin ff&[15C" Write the file in default format
:w! test.out
:qa!
ENDTEST
latin-1
utf-8
utf-8
utf-8-err
utf-8[1m[34m~@[0merr
ucs-2
ucs-2le
[?25l[?1c[24;1H[0m:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso mbyte.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset encoding=utf-8
[?25l[?1c[27m[24m[0m[H[J[1;1H:e! test.out
:$r Xtest0x
:$r Xtest1x
:$r Xtest2x
:$r Xtest3x
:$r Xtest4x
:$r Xtest5x
:$r Xtest6x
:set nobin ff&[14C " Write the file in default format
:w! test.out
:qa!
ENDTEST
latin-1
[1m[34m<fe><fe>[0mlatin-1
utf-8
[1m[34m<feff>[0mutf-8
utf-8-err
[1m[34m<feff>[0mutf-8[1m[34m<80>[0merr
ucs-2
[1m[34m<fe><ff>^@[0mu[1m[34m^@[0mc[1m[34m^@[0ms[1m[34m^@[0m-[1m[34m^@[0m2[1m[34m^@[0m
ucs-2le
[1m[34m<ff><fe>[0mu[1m[34m^@[0mc[1m[34m^@[0ms[1m[34m^@[0m-[1m[34m^@[0m2[1m[34m^@[0ml[1m[34m^@[0me[1m[34m^@[13;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0cset fileencodings=ucs-bom,latin-1
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ff=unix ffs=unix " This changes the file for DOS and MAC
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Write the test files
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^latin-1$/+1w! Xtest0
[?25l[?1c"Xtest0" [24;10H[K[24;10H[New File] 1 line, 10 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^utf-8$/+1w! Xtest1
[?25l[?1c"Xtest1" [24;10H[K[24;10H[New File] 1 line, 9 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^utf-8-err$/+1w! Xtest2
[?25l[?1c"Xtest2" [24;10H[K[24;10H[New File] 1 line, 13 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^ucs-2$/+1w! Xtest3
[?25l[?1c"Xtest3" [24;10H[K[24;10H[New File] 1 line, 14 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^ucs-2le$/+1w! Xtest4
[?25l[?1c"Xtest4" [24;10H[K[24;10H[New File] 1 line, 17 characters written[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Need to add a NUL byte after the NL byte
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset bin
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtest4 " Ignore change from setting 'ff'
[?25l[?1c"Xtest4" [24;10H[K[24;10H1 line, 17 characters[1;1H[1m[34m<ff><fe>[0mu[1m[34m^@[0mc[1m[34m^@[0ms[1m[34m^@[0m-[1m[34m^@[0m2[1m[34m^@[0ml[1m[34m^@[0me[1m[34m^@
~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c
[?25l[?1c^@[0m[2;3H[K[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset noeol
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw
[?25l[?1c"Xtest4" [Incomplete last line] 2 lines, 18 characters written[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ffs& nobinary " Allow default test42.in format
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce #
[?25l[?1c"test42.in" [converted] 130 lines, 2385 characters[1;1H:$r Xtest0x[1;12H[K[2;1H:$r Xtest1x
:$r Xtest2x[3;12H[K[4;1H:$r Xtest3x[4;12H[K[5;1H:$r Xtest4x[5;12H[K[6;1H:$r Xtest5x[6;12H[K[7;1H:$r Xtest6x[7;12H[K[8;1H:set nobin ff& " Write the file in default format[8;64H[K[9;1H:w! test.out[9;13H[K[10;1H:qa![10;5H[K[11;1HENDTEST[11;8H[K[12;1H[K[13;1Hlatin-1[13;8H[K[14;1Hþþlatin-1[14;10H[K[15;1Hutf-8[15;6H[K[16;1Hutf-8[16;9H[K[17;1Hutf-8-err[17;10H[K[18;1Hutf-8[1m[34m<80>[0merr[18;16H[K[19;1Hucs-2[19;6H[K[20;1Hþÿ[1m[34m^@[0mu[1m[34m^@[0mc[1m[34m^@[0ms[1m[34m^@[0m-[1m[34m^@[0m2[1m[34m^@[0m[20;20H[K[21;1Hucs-2le[21;8H[K[22;1Hÿþu[1m[34m^@[0mc[1m[34m^@[0ms[1m[34m^@[0m-[1m[34m^@[0m2[1m[34m^@[0ml[1m[34m^@[0me[1m[34m^@[0m[22;24H[K[23;1Hucs-4[23;6H[K[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ff=unix " Format for files to write
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^ucs-4$/+1w! Xtest5
[?25l[?1c"Xtest5" [24;10H[K[24;10H[converted][New File] 1 line, 30 characters written[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^ucs-4le$/+1w! Xtest6
[?25l[?1c"Xtest6" [24;10H[K[24;10H[converted][New File] 1 line, 35 characters written[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Need to add three NUL bytes after the NL byte
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset bin
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtest6 " ! for when setting 'ff' is a change
[?25l[?1c"Xtest6" [24;10H[K[24;10H1 line, 33 characters[1;1H[1m[34m<ff><fe>^@^@[0mu[1m[34m^@^@^@[0mc[1m[34m^@^@^@[0ms[1m[34m^@^@^@[0m-[1m[34m^@^@^@[0m4[1m[34m^@^@^@[0ml[1m[34m^@^@^@[0me[1m[34m^@^@^@
~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c
~ [?25l[?1c
^@^@^@[0m[2;7H[K[2;5H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset noeol
[?25l[?1c[2;5H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw
[?25l[?1c"Xtest6" [Incomplete last line] 2 lines, 36 characters written[2;5H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nobin
[?25l[?1c[2;5H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce #
[?25l[?1c"test42.in" [converted] 130 lines, 2385 characters[1;1H:$r Xtest0x[1;12H[K[2;1H:$r Xtest1x
:$r Xtest2x[3;12H[K[4;1H:$r Xtest3x[4;12H[K[5;1H:$r Xtest4x[5;12H[K[6;1H:$r Xtest5x[6;12H[K[7;1H:$r Xtest6x[7;12H[K[8;1H:set nobin ff& " Write the file in default format[8;64H[K[9;1H:w! test.out[9;13H[K[10;1H:qa![10;5H[K[11;1HENDTEST[11;8H[K[12;1H[K[13;1Hlatin-1[13;8H[K[14;1Hþþlatin-1[14;10H[K[15;1Hutf-8[15;6H[K[16;1Hutf-8[16;9H[K[17;1Hutf-8-err[17;10H[K[18;1Hutf-8[1m[34m<80>[0merr[18;16H[K[19;1Hucs-2[19;6H[K[20;1Hþÿ[1m[34m^@[0mu[1m[34m^@[0mc[1m[34m^@[0ms[1m[34m^@[0m-[1m[34m^@[0m2[1m[34m^@[0m[20;20H[K[21;1Hucs-2le[21;8H[K[22;1Hÿþu[1m[34m^@[0mc[1m[34m^@[0ms[1m[34m^@[0m-[1m[34m^@[0m2[1m[34m^@[0ml[1m[34m^@[0me[1m[34m^@[0m[22;24H[K[23;1Hucs-4[23;6H[K[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Check that editing a latin-1 file doesn't see a BOM
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtest0
[?25l[?1c"Xtest0" [24;10H[K[24;10H[converted] 1 line, 12 characters[1;1Hþþlatin-1[1;10H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0credir! >test.out
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileencoding bomb?
[?25l[?1c[24;1H[K[24;1H fileencoding=latin1
nobomb
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0credir END
[?25l[?1c[1;1H[2L[1;1Hþþlatin-1
[1m[34m~ [0m[24;3H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset fenc=latin-1
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[converted] 1 line, 12 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset bomb fenc=latin-1
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! Xtest0x
[?25l[?1c"Xtest0x" [24;11H[K[24;11H[converted][New File] 1 line, 12 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Check utf-8
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtest1
[?25l[?1c"Xtest1" [24;10H[K[24;10H1 line, 9 characters[1;1Hutf-8[1;6H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0credir >>test.out
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileencoding bomb?
[?25l[?1c[24;1H[K[24;1H fileencoding=utf-8
bomb
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0credir END
[?25l[?1c[1;1H[2L[1;1Hutf-8
[1m[34m~ [0m[24;3H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset fenc=latin-1
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[converted] 1 line, 6 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fenc=utf-8
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! Xtest1x
[?25l[?1c"Xtest1x" [24;11H[K[24;11H[New File] 1 line, 9 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Check utf-8 with an error (will fall back to latin-1)
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtest2
[?25l[?1c"Xtest2" [24;10H[K[24;10H[converted] 1 line, 17 characters[1;1Hutf-8[1m[34m<80>[0merr
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0credir >>test.out
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileencoding bomb?
[?25l[?1c[24;1H[K[24;1H fileencoding=latin1
nobomb
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0credir END
[?25l[?1c[1;1H[2L[1;1Hutf-8[1m[34m<80>[0merr
[1m[34m~ [0m[24;3H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset fenc=latin-1
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[converted] 1 line, 17 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fenc=utf-8
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! Xtest2x
[?25l[?1c"Xtest2x" [24;11H[K[24;11H[New File] 1 line, 17 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Check ucs-2
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtest3
[?25l[?1c"Xtest3" [24;10H[K[24;10H[converted] 1 line, 8 characters[1;1Hucs-2[1;6H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0credir >>test.out
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileencoding bomb?
[?25l[?1c[24;1H[K[24;1H fileencoding=utf-16
bomb
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0credir END
[?25l[?1c[1;1H[2L[1;1Hucs-2
[1m[34m~ [0m[24;3H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset fenc=latin-1
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[converted] 1 line, 6 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fenc=ucs-2
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! Xtest3x
[?25l[?1c"Xtest3x" [24;11H[K[24;11H[converted][New File] 1 line, 8 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Check ucs-2le
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtest4
[?25l[?1c"Xtest4" [24;10H[K[24;10H[converted] 1 line, 10 characters[1;5H2le
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0credir >>test.out
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileencoding bomb?
[?25l[?1c[24;1H[K[24;1H fileencoding=utf-16le
bomb
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0credir END
[?25l[?1c[1;1H[2L[1;1Hucs-2le
[1m[34m~ [0m[24;3H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset fenc=latin-1
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[converted] 1 line, 8 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fenc=ucs-2le
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! Xtest4x
[?25l[?1c"Xtest4x" [24;11H[K[24;11H[converted][New File] 1 line, 10 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Check ucs-4
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtest5
[?25l[?1c"Xtest5" [24;10H[K[24;10H[converted] 1 line, 10 characters[1;4H-4[1;6H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0credir >>test.out
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileencoding bomb?
[?25l[?1c[24;1H[K[24;1H fileencoding=ucs-4
bomb
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0credir END
[?25l[?1c[1;1H[2L[1;1Hucs-4
[1m[34m~ [0m[24;3H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset fenc=latin-1
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[converted] 1 line, 6 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fenc=ucs-4
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! Xtest5x
[?25l[?1c"Xtest5x" [24;11H[K[24;11H[converted][New File] 1 line, 10 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Check ucs-4le
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtest6
[?25l[?1c"Xtest6" [24;10H[K[24;10H[converted] 1 line, 12 characters[1;5H4le
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0credir >>test.out
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fileencoding bomb?
[?25l[?1c[24;1H[K[24;1H fileencoding=ucs-4le
bomb
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0credir END
[?25l[?1c[1;1H[2L[1;1Hucs-4le
[1m[34m~ [0m[24;3H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset fenc=latin-1
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[converted] 1 line, 8 characters appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fenc=ucs-4le
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! Xtest6x
[?25l[?1c"Xtest6x" [24;11H[K[24;11H[converted][New File] 1 line, 12 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Check the files written with BOM
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset bin
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H35 lines, 275 characters[1;1H[K[2;1H[K[3;1H fileencoding=latin1[3;22H[K[4;1Hnobomb[4;7H[K[5;1H[1m[34m<fe><fe>[0mlatin-1[5;16H[K[6;1H[K[7;1H[K[8;1H fileencoding=utf-8[8;21H[K[9;1H bomb[9;7H[K[10;1Hutf-8[10;6H[K[11;1H[K[12;1H[K[13;1H fileencoding=latin1[13;22H[K[14;1Hnobomb[14;7H[K[15;1H[1m[34m<feff>[0mutf-8[1m[34m<80>[0merr[15;19H[K[16;1H[K[17;1H[K[18;1H fileencoding=utf-16[18;22H[K[19;1H bomb[19;7H[K[20;1Hucs-2[20;6H[K[21;1H[K[22;1H[K[23;1H fileencoding=utf-16le[23;24H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$r Xtest0x
[?25l[?1c"Xtest0x" [24;11H[K[24;11H1 line, 10 characters[1;23r[1;1H[13M[1;24r[11;2H bomb
ucs-2le[15;2H fileencoding=ucs-4
bomb
ucs-4[20;2H fileencoding=ucs-4le
bomb
ucs-4le
[1m[34m<fe><fe>[0mlatin-1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r Xtest1x
[?25l[?1c"Xtest1x" [24;11H[K[24;11H1 line, 9 characters[1;23r[23;1H
[1;24r[23;1H[1m[34m<feff>[0mutf-8[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r Xtest2x
[?25l[?1c"Xtest2x" [24;11H[K[24;11H1 line, 17 characters[1;23r[23;1H
[1;24r[23;1Hutf-8[1m[34m<80>[0merr[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r Xtest3x
[?25l[?1c"Xtest3x" [24;11H[K[24;11H1 line, 14 characters[1;23r[23;1H
[1;24r[23;1H[1m[34m<fe><ff>^@[0mu[1m[34m^@[0mc[1m[34m^@[0ms[1m[34m^@[0m-[1m[34m^@[0m2[1m[34m^@[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r Xtest4x
[?25l[?1c"Xtest4x" [24;11H[K[24;11H[Incomplete last line] 2 lines, 18 characters[1;23r[23;1H
[1;24r[23;1H[1m[34m<ff><fe>[0mu[1m[34m^@[0mc[1m[34m^@[0ms[1m[34m^@[0m-[1m[34m^@[0m2[1m[34m^@[0ml[1m[34m^@[0me[1m[34m^@[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r Xtest5x
[?25l[?1c"Xtest5x" [24;11H[K[24;11H1 line, 28 characters[1;23r[1;1H[2M[1;24r[22;1H[1m[34m^@
^@^@<fe><ff>^@^@^@[0mu[1m[34m^@^@^@[0mc[1m[34m^@^@^@[0ms[1m[34m^@^@^@[0m-[1m[34m^@^@^@[0m4[1m[34m^@^@^@[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$r Xtest6x
[?25l[?1c"Xtest6x" [24;11H[K[24;11H[Incomplete last line] 2 lines, 36 characters[1;23r[23;1H
[1;24r[23;1H[1m[34m<ff><fe>^@^@[0mu[1m[34m^@^@^@[0mc[1m[34m^@^@^@[0ms[1m[34m^@^@^@[0m-[1m[34m^@^@^@[0m4[1m[34m^@^@^@[0ml[1m[34m^@^@^@[0me[1m[34m^@^@^@[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset nobin ff& " Write the file in default format
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H44 lines, 409 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test43.in" 34 lines, 473 characters[1;1HTests 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for regexp with various magic settings.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 19 lines, 268 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocompatible viminfo+=nviminfo
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^1
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H1 a aa abb abbccc[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0ca*b\{2}c\+/e
[?25l[?1c[23;17H[?25h[?0c[?25l[?1c[23;17H[K[23;16H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c\Md\*e\{2}f\+/e
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H2 d dd dee deefff[24;1H[K[23;17H[?25h[?0c[?25l[?1c[23;17H[K[23;16H[?25h[?0c[?25l[?1c
:[?25h[?0cset nomagic
[?25l[?1c[23;16H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cg\*h\{2}i\+/e
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H3 g gg ghh ghhiii[24;1H[K[23;17H[?25h[?0c[?25l[?1c[23;17H[K[23;16H[?25h[?0c[?25l[?1c
/[?25h[?0c\mj*k\{2}l\+/e
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H4 j jj jkk jkklll[24;1H[K[23;17H[?25h[?0c[?25l[?1c[23;17H[K[23;16H[?25h[?0c[?25l[?1c
/[?25h[?0c\vm*n{2}o+/e
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H5 m mm mnn mnnooo[24;1H[K[23;17H[?25h[?0c[?25l[?1c[23;17H[K[23;16H[?25h[?0c[?25l[?1c
/[?25h[?0c\V^aa$
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H6 x ^aa$ x[24;1H[K[23;5H[?25h[?0c[?25l[?1caa$ x[23;10H[K[23;5H[?25h[?0c[?25l[?1c
:[?25h[?0cset magic
[?25l[?1c[23;5H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c\v(a)(b)\2\1\1/e
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H7 (a)(b) abbaa[24;1H[K[23;14H[?25h[?0c[?25l[?1c[23;14H[K[23;13H[?25h[?0c[?25l[?1c
/[?25h[?0c\V[ab]\(\[xy]\)\1
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H8 axx [ab]xx[24;1H[K[23;7H[?25h[?0c[?25l[?1cab]x[23;12H[K[23;7H[?25h[?0c[?25l[?1c
:[?25h[?0c$
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1H9 foobar[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset undolevels=100
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H?[?25h[?0cbar?
[?25l[?1c[24;5H[K[24;1H[22;6H[K[23;1H[1m[34m~ [22;5H[?25h[?0c[?25l[?1c[0m
1 more line; before #2 0 seconds ago[22;6Hbar[23;1H[K[22;6H[?25h[?0c[?25l[?1c
9 foo
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c?^1?,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New] 11L, 137C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test44.in" 59 lines, 2403 characters[1;1HTests for regexp with multi-byte encoding and various magic settings.
Test matchstr() with a count and multi-byte chars.
STARTTEST
:so mbyte.vim
:set nocompatible encoding=utf-8 termencoding=latin1 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:" Now search for multi-byte without composing char
/ม
x:" Now search for multi-byte with composing char
x:" find word by change of word class
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for regexp with multi-byte encoding and various magic settings.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[4;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 35 lines, 1238 characters written[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[5;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1Hx/ [[=a=]]* [[=b=]]* [[=c=]]* [[=d=]]* [[=e=]]* [[=f=]]* [[=g=]]* [[=h=]]* [[=i=[2;1H]]* [[=j=]]* [[=k=]]* [[=l=]]* [[=m=]]* [[=n=]]* [[=o=]]* [[=p=]]* [[=q=]]* [[=r[3;1H=]]* [[=s=]]* [[=t=]]* [[=u=]]* [[=v=]]* [[=w=]]* [[=x=]]* [[=y=]]* [[=z=]]*/e
x:?^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[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso mbyte.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo
[?25l[?1c[27m[24m[0m[H[J[1;1Hx/ [[=a=]]* [[=b=]]* [[=c=]]* [[=d=]]* [[=e=]]* [[=f=]]* [[=g=]]* [[=h=]]* [[=i=[2;1H]]* [[=j=]]* [[=k=]]* [[=l=]]* [[=m=]]* [[=n=]]* [[=o=]]* [[=p=]]* [[=q=]]* [[=r[3;1H=]]* [[=s=]]* [[=t=]]* [[=u=]]* [[=v=]]* [[=w=]]* [[=x=]]* [[=y=]]* [[=z=]]*/e
x:?^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
/[?25h[?0c[\U1234abcd\u1234\uabcd]
[?25l[?1c[1;23r[23;1H
/[?25h[?0c\%d21879b
[?25l[?1c[1;23r[23;1H
/[?25h[?0c [[=A=]]* [[=B=]]* [[=C=]]* [[=D=]]* [[=E=]]* [[=F=]]* [[=G=]]* [[=H=]]* [[=I=
[23;80H][24;1H]* [[=J=]]* [[=K=]]* [[=L=]]* [[=M=]]* [[=N=]]* [[=O=]]* [[=P=]]* [[=Q=]]* [[=R
[23;80H=[24;1H]]* [[=S=]]* [[=T=]]* [[=U=]]* [[=V=]]* [[=W=]]* [[=X=]]* [[=Y=]]* [[=Z=]]*/e
[?25l[?1c[22;1H[1m[32mPress ENTER or type command to continue[0m[22;40H[K[23;1H[K[24;1H[K[?25h[?0c[1;1H[2L[?25l[?1c[1;1H:w!
:qa!
ENDTEST[3;8H[K[4;1H[K[5;1H1 a aa abb abbcc
2 d dd dee deeff
3 g gg ghh ghhii
4 j jj jkk jkkll
5 m mm mnn mnnoo
/[?25h[?0c [[=a=]]* [[=b=]]* [[=c=]]* [[=d=]]* [[=e=]]* [[=f=]]* [[=g=]]* [[=h=]]* [[=i=
[23;80H][24;1H]* [[=j=]]* [[=k=]]* [[=l=]]* [[=m=]]* [[=n=]]* [[=o=]]* [[=p=]]* [[=q=]]* [[=r
[23;80H=[24;1H]]* [[=s=]]* [[=t=]]* [[=u=]]* [[=v=]]* [[=w=]]* [[=x=]]* [[=y=]]* [[=z=]]*/e
[?25l[?1c[22;1H[1m[32mPress ENTER or type command to continue[0m[22;40H[K[23;1H[K[24;1H[K[?25h[?0c[1;1H[2L[?25l[?1c[2;1H1 a aa abb abbcc
2 d dd dee deeff
3 g gg ghh ghhii
4 j jj jkk jkkll
5 m mm mnn mnnoo
:[?25h[?0c?^1?,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New] 18L, 977C written[23;42H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H18L, 977C[1;1H1 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$ x[6;10H[K[7;1H7 (a)(b) abba
g abb
:[?25h[?0cw!
[?25l[?1c"test.out" 22L, 991C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test45.in" 80 lines, 1824 characters[1;1HTests 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{{ [1m[34m^[[0mr{jj:call append("$", foldlevel("."))
kYpj:call append("$", foldlevel("."))[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for folding. vim: set ft=vim :[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 63 lines, 1691 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H/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[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" We also need the +syntax feature here.
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif !has("syntax")
[?25l[?1c
: [?25h[?0c e! test.ok
[?25l[?1c: [?25h[?0c w! test.out
[?25l[?1c: [?25h[?0c qa!
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1H/bb$
:call append("$", "expr " . foldlevel("."))
/hh$
:call append("$", foldlevel("."))[24;1H[K[13;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c" basic test if a fold can be created, opened, moving to the end and closed
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^1
[?25l[?1c[14;1H[?25h[?0c[?25l[?1c[1m[36m[40m+-- 3 lines: 1 aa--------------------------------------------------------------[0m[15;1H4 dd {{{
5 ee {{{ }}}
6 ff }}}
7 gg[18;6H[K[19;1H8 hh[19;6H[K[20;1H9 ii
a jj
b kk
last[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", "manual " . getline(foldclosed(".")))
[?25l[?1c[14;1H[?25h[?0c[?25l[?1c1 aa[14;5H[K[15;1H2 bb[15;6H[K[16;1H3 cc[16;6H[K[17;1H4 dd {{{
5 ee {{{ }}}
6 ff }}}
7 gg
8 hh
9 ii
a jj[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", foldclosed("."))
[?25l[?1c[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", getline("."))
[?25l[?1c[16;1H[?25h[?0c[?25l[?1c[14;1H[1m[36m[40m+-- 3 lines: 1 aa--------------------------------------------------------------[0m[15;1H4 dd {{{
5 ee {{{ }}}
6 ff }}}
7 gg[18;6H[K[19;1H8 hh[19;6H[K[20;1H9 ii
a jj
b kk
last[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", getline(foldclosed(".")))
[?25l[?1c[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test folding with markers.
[?25l[?1c[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fdm=marker fdl=1 fdc=3
[?25l[?1c[1;1H[1m[36m[40m [0m/bb$
[1m[36m[40m [0m:call append("$", "expr " . foldlevel("."))
[1m[36m[40m [0m/hh$
[1m[36m[40m [0m:call append("$", foldlevel("."))
[1m[36m[40m [0m/ii$
[1m[36m[40m [0m:call append("$", foldlevel("."))
[1m[36m[40m [0m/kk$
[1m[36m[40m [0m:call append("$", foldlevel("."))
[1m[36m[40m [0m:/^last/+1,$w! test.out
[1m[36m[40m [0m:delfun Flvl
[1m[36m[40m [0m:qa!
[1m[36m[40m [0mENDTEST
[1m[36m[40m
[0m1 aa[14;8H[K[15;1H[1m[36m[40m [0m2 bb[15;8H[K[16;1H[1m[36m[40m [0m3 cc[16;8H[K[17;1H[1m[36m[40m- [0m4 dd {{{
[1m[36m[40m|- [0m5 ee {{{ }}}
[1m[36m[40m| [0m6 ff }}}
[1m[36m[40m [0m7 gg
[1m[36m[40m [0m8 hh
[1m[36m[40m [0m9 ii
[1m[36m[40m [0ma jj[16;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^5
[?25l[?1c[18;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", "marker " . foldlevel("."))
[?25l[?1c[18;4H[?25h[?0c[17;4H[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", foldlevel("."))
[?25l[?1c[17;4H[?25h[?0c[18;4H[?25l[?1c[20;23r[20;1H[L[1;24r[19;4H{{ [19;7H[K[20;1H[1m[36m[40m| [0m6 ff }}}[24;1H[K[19;6H[?25h[?0c[?25l[?1c[19;2H[1m[36m[40m-[0m[3C{[20;2H[1m[36m[40m|
|
|
|[19;6H[?25h[?0c[20;6H[21;6H[?25l[?1c
[0m:[?25h[?0ccall append("$", foldlevel("."))
[?25l[?1c[21;6H[?25h[?0c[20;6H[?25l[?1c[21;4H6 ff }}}
[1m[36m[40m [0m[2C7 gg
[1m[36m[40m [0m[2C8 hh[21;4H[?25h[?0c[22;4H[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", foldlevel("."))
[?25l[?1c[22;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test folding with indent
[?25l[?1c[22;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fdm=indent sw=2
[?25l[?1c[17;1H[1m[36m[40m
[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H/[?25h[?0c^2 b
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[15;4H[?25h[?0c[?25l[?1c[0m
[1m[36m[40m-[0m[2C 2 bb[?25h[?0c[16;5H[?25l[?1c
[1m[36m[40m|-[0m[1C 3 cc[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", "indent " . foldlevel("."))
[?25l[?1c[16;7H[?25h[?0c[15;7H[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", foldlevel("."))
[?25l[?1c[15;7H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test syntax folding
[?25l[?1c[15;7H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fdm=syntax fdl=0
[?25l[?1c[15;1H[1m[36m[40m
[15;7H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0csyn region Hup start="dd" end="ii" fold contains=Fd1,Fd2,Fd3
[?25l[?1c[17;1H[1m[36m[40m+ +-- 8 lines: 4 dd ----------------------------------------------------------[0m[18;4Ha jj[18;9H[K[19;4Hb kk[20;4Hlast[20;9H[K[21;4Hmanual 1 aa[22;4H-1[22;6H[K[23;4H3 cc[15;7H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csyn region Fd1 start="ee" end="ff" fold contained
[?25l[?1c[15;7H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csyn region Fd2 start="gg" end="hh" fold contained
[?25l[?1c[15;7H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csyn region Fd3 start="commentstart" end="commentend" fold contained
[?25l[?1c[15;7H[?25h[?0c[?25l[?1c[1;23r[1;1H[7M[1;24r[17;1H[1m[36m[40m [0m1 aa
[1m[36m[40m [0mmarker 2
[1m[36m[40m [0m1
[1m[36m[40m [0m1
[1m[36m[40m [0m0
[1m[36m[40m [0mindent 2
[1m[36m[40m [0m1[24;1H[K[23;4H[?25h[?0c[10;4H[?25l[?1c[24;1H:[?25h[?0ccall append("$", "folding " . getline("."))
[?25l[?1c[10;4H[?25h[?0c[9;4H[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", getline("."))
[?25l[?1c[9;4H[?25h[?0c[10;4H[?25l[?1c
[1m[36m[40m--[0m[1C4 dd {{{commentstart [10;26H[K[11;1H[1m[36m[40m||[0m[1C5 ee {{{ }}}
[1m[36m[40m||[0m[1C{{{[12;7H[K[13;1H[1m[36m[40m||[0m[1C6 ff }}}
[1m[36m[40m||[0m[1C6 ff }}}[14;13H[K[15;1H[1m[36m[40m||[0m[1C7 gg
[1m[36m[40m||[0m[1C8 hh
[1m[36m[40m||[0m[1C9 ii
[1m[36m[40m||[0m[1Ca jj[18;8H[K[19;1H[1m[36m[40m||[0m[1Cb kk
[1m[36m[40m||[0m[1Clast
[1m[36m[40m||[0m[1Cmanual 1 aa
[1m[36m[40m||[0m[1C-1[22;6H[K[23;1H[1m[36m[40m||[0m[1C3 cc[10;25H[?25h[?0c[?25l[?1c[10;2H[1m[36m[40m [0m[23Ccommentend[11;2H[1m[36m[40m-[14;2H
|-
|
[10;35H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset fdl=1
[?25l[?1c[11;2H[1m[36m[40m+ +--- 3 lines: 5 ee ---------------------------------------------------------[12;2H [0m[1C6 ff }}}[13;2H[1m[36m[40m+ +--- 2 lines: 7 gg----------------------------------------------------------[0m[14;4H9 ii[14;9H[K[15;1H[1m[36m[40m [0m[1Ca jj
[1m[36m[40m [0m[1Cb kk
[1m[36m[40m [0m[2Clast[18;4Hmanual 1 aa[19;4H-1[19;6H[K[20;4H3 cc[21;4H1 aa[21;8H[K[22;4Hmarker 2[23;4H1[23;6H[K[10;35H[?25h[?0c[13;4H[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", getline("."))
[?25l[?1c[13;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset fdl=0
[?25l[?1c[10;1H[1m[36m[40m+ +-- 8 lines: 4 dd commentstart commentend----------------------------------[11;1H [0m[1Ca jj[11;8H[K[12;1H[1m[36m[40m [0m[2Cb kk[12;9H[K[13;1H[1m[36m[40m [0m[1Clast[13;8H[K[14;1H[1m[36m[40m [0m[2Cmanual 1 aa[15;4H-1[15;6H[K[16;4H3 cc[17;4H1 aa[18;6Hrker 2[18;13H[K[19;4H1[19;5H[K[20;4H1[20;6H[K[21;4H0[21;6H[K[22;4Hindent[10;4H[?25h[?0c[?25l[?1c
[1m[36m[40m-[0m[2C4 dd {{{commentstart commentend[10;36H[K[11;1H[1m[36m[40m|-[0m[1C5 ee {{{ }}}
[1m[36m[40m||[0m[1C{{{[12;7H[K[13;1H[1m[36m[40m||[0m[1C6 ff }}}
[1m[36m[40m|[0m[2C6 ff }}}[14;13H[K[15;1H[1m[36m[40m|-[0m[1C7 gg
[1m[36m[40m||[0m[1C8 hh
[1m[36m[40m|[0m[2C9 ii[18;4Ha jj[18;8H[K[19;4Hb kk[20;4Hlast[21;4Hmanual 1 aa[22;4H-1[22;6H[K[23;4H3 cc[15;7H[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[1;1H[1m[36m[40m [0m:call append("$", foldlevel("."))
[1m[36m[40m [0m:/^last/+1,$w! test.out
[1m[36m[40m [0m:delfun Flvl
[1m[36m[40m [0m:qa!
[1m[36m[40m [0mENDTEST
[1m[36m[40m
[0m1 aa
[1m[36m[40m [0m 2 bb
[1m[36m[40m [0m 3 cc
[1m[36m[40m- [0m4 dd {{{commentstart commentend
[1m[36m[40m|- [0m5 ee {{{ }}}
[1m[36m[40m|| [0m{{{
[1m[36m[40m|| [0m6 ff }}}
[1m[36m[40m| [0m6 ff }}}
[1m[36m[40m|- [0m7 gg
[1m[36m[40m|| [0m8 hh
[1m[36m[40m| [0m9 ii
[1m[36m[40m [0ma jj
[1m[36m[40m [0mb kk
[1m[36m[40m [0mlast
[1m[36m[40m [0mmanual 1 aa
[1m[36m[40m [0m-1
[1m[36m[40m [0m3 cc[15;7H[?25h[?0c[16;4H[?25l[?1c[24;1H:[?25h[?0ccall append("$", getline("."))
[?25l[?1c[16;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test expression folding
[?25l[?1c[16;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfun Flvl()
[?25l[?1c
: [?25h[?0c let l = getline(v:lnum)
[?25l[?1c: [?25h[?0c if l =~ "bb$"
[?25l[?1c: [?25h[?0c return 2
[?25l[?1c: [?25h[?0c elseif l =~ "gg$"
[?25l[?1c: [?25h[?0c return "s1"
[?25l[?1c: [?25h[?0c elseif l =~ "ii$"
[?25l[?1c: [?25h[?0c return ">2"
[?25l[?1c: [?25h[?0c elseif l =~ "kk$"
[?25l[?1c: [?25h[?0c return "0"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c return "="
[?25l[?1c: [?25h[?0cendfun
[1;1H[12L[?25l[?1c[1;1H[1m[36m[40m [0m:call append("$", foldlevel("."))
[1m[36m[40m [0m:/^last/+1,$w! test.out
[1m[36m[40m [0m:delfun Flvl
[1m[36m[40m [0m:qa!
[1m[36m[40m [0mENDTEST
[1m[36m[40m
[0m1 aa
[1m[36m[40m [0m 2 bb
[1m[36m[40m [0m 3 cc
[1m[36m[40m- [0m4 dd {{{commentstart commentend
[1m[36m[40m|- [0m5 ee {{{ }}}
[1m[36m[40m|| [0m{{{[24;1H[K[16;4H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset fdm=expr fde=Flvl()
[?25l[?1c[8;1H[1m[36m[40m+ +-- 11 lines: 2 bb-----------------------------------------------------------[0m[9;4Hb kk[9;8H[K[10;1H[1m[36m[40m [0m[2Clast[10;9H[K[11;1H[1m[36m[40m [0m[1Cmanual 1 aa[11;15H[K[12;1H[1m[36m[40m [0m[1C-1[12;6H[K[13;1H[1m[36m[40m [0m[1C3 cc[13;9H[K[14;1H[1m[36m[40m [0m[2C1 aa[14;9H[K[15;1H[1m[36m[40m [0m[1Cmarker 2
[1m[36m[40m [0m[1C1[16;6H[K[17;1H[1m[36m[40m [0m[2C1[17;6H[K[18;4H0[18;6H[K[19;4Hindent 2[20;4H1[20;5H[K[21;1H[1m[36m[40m+ +-- 4 lines: folding 9 ii---------------------------------------------------[0m[22;4H[1m[34m~ [23;4H~ [8;4H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H/[?25h[?0cbb$
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m[8;1H[1m[36m[40m--[0m[1C 2 bb[8;10H[K[9;1H[1m[36m[40m||[0m[1C 3 cc
[1m[36m[40m||[0m[1C4 dd {{{commentstart commentend
[1m[36m[40m||[0m[1C5 ee {{{ }}}
[1m[36m[40m||[0m[1C{{{
[1m[36m[40m||[0m[1C6 ff }}}
[1m[36m[40m||[0m[1C6 ff }}}
[1m[36m[40m||[0m[1C7 gg[15;8H[K[16;1H[1m[36m[40m|[0m[2C8 hh
[1m[36m[40m|+ +--- 2 lines: 9 ii----------------------------------------------------------[0m[18;4Hb kk[19;4Hlast[19;8H[K[20;4Hmanual 1 aa
[1m[36m[40m [0m[2C-1[21;6H[K[22;4H3 cc[22;8H[K[23;4H1 aa[23;8H[K[8;8H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", "expr " . foldlevel("."))
[?25l[?1c[8;8H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0chh$
[?25l[?1c[16;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", foldlevel("."))
[?25l[?1c[16;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cii$
[?25l[?1c[17;2H[1m[36m[40m-[0m[1C9 ii[17;8H[K[18;1H[1m[36m[40m||[0m[1Ca jj[19;4Hb kk[20;4Hlast[20;8H[K[21;4Hmanual 1 aa[22;4H-1[22;6H[K[23;4H3 cc[17;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", foldlevel("."))
[?25l[?1c[17;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0ckk$
[?25l[?1c[19;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", foldlevel("."))
[?25l[?1c[19;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^last/+1,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 18 lines, 96 characters written[19;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cdelfun Flvl
[?25l[?1c[19;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test46.in" 27 lines, 431 characters[1;1HTests 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for multi-line regexps with ":s". vim: set ft=vim :[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 8 lines, 292 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[12;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test if replacing a line break works with a back reference
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^1/,/^2/s/\n\(.\)/ \1/
[?25l[?1c4 substitutions on 1 line[14;23r[14;1H[4M[1;24r[14;1H1 aa bb cc 2 dd ee[20;1H9d
6 e7
77f
xxxxx[24;1H[K[24;1H4 substitutions on 1 line[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test if inserting a line break works with a back reference
[?25l[?1c[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^3/,/^4/s/\(.\)$/\r\1/
[?25l[?1c3 substitutions on 3 lines[18;23r[18;1H[3L[1;24r[15;4H[K[16;1Hf[16;2H[K[17;1Hg[17;3H[K[18;1Hh
4 i
j[24;1H[K[24;1H3 substitutions on 3 lines[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test if replacing a line break with another line break works
[?25l[?1c[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^5/,/^6/s/\(\_d\{3}\)/x\1x/
[?25l[?1c3 substitutions on 2 lines[24;27H[K[1;23r[1;1H[2M[1;24r[19;4Hx8
8xb cx9
9xd
6 ex7
7x7f[24;1H[K[24;1H3 substitutions on 2 lines[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^1/,$w! test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H[New File] 13 lines, 70 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test47.in" 47 lines, 1140 characters[1;1HTests 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[1m[34m^[[0m:w! Xtest2
:file Nop
ggoyyy[1m[34m^[[0mjjjozzzz[1m[34m^[[0m
:vert diffsplit Xtest
:vert diffsplit Xtest2
:" jump to second window for a moment to have filler line appear at start of
:" first window
[1m[34m^W^W[0mgg[1m[34m^W[0mpgg: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()
[1m[34m^W^W[0mgg:let two = winline()[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for vertical splits and filler lines in diff mode[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 37 lines, 1039 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1Hj:let two = two . "-" . winline()
j:let two = two . "-" . winline()
j:let two = two . "-" . winline()
[1m[34m^W^W[0mgg:let three = winline()
j:let three = three . "-" . winline()
j:let three = three . "-" . winline()
j:let three = three . "-" . winline()
j:let three = three . "-" . winline()
j:let three = three . "-" . winline()
j:let three = three . "-" . winline()
[1m[34m^W^W[0m:call append("$", one)
:call append("$", two)
:call append("$", three)
:$-2,$w! test.out
:unlet one two three
:qa!
ENDTEST
1 aa
2 bb
3 cc
4 dd
5 ee[17;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Disable the title to avoid xterm keeping the wrong one.
[?25l[?1c[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset notitle noicon
[?25l[?1c[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^1
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H5 lines yanked[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7m[No Name] [0m[13;1H[1m[34m^W^W[0m:call append("$", one)
:call append("$", two)
:call append("$", three)
:$-2,$w! test.out
:unlet one two three
:qa!
ENDTEST[20;1H[K[21;1H1 aa
2 bb
[7mtest47.in [1;1H[?25h[?0c[?25l[?1c[0m[24;1H5 more lines[2;1H1 aa[2;5H[K[3;1H2 bb[3;5H[K[4;1H3 cc[4;5H[K[5;1H4 dd[5;5H[K[6;1H5 ee[6;5H[K[12;11H[1m[7m[+][2;1H[?25h[?0c[1;1H[?25l[?1c[1;11r[0m[11;1H
[1;24r[11;1H[1m[34m~ [0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cw! Xtest
[?25l[?1c"Xtest" [24;9H[K[24;9H[New File] 5 lines, 25 characters written[12;1H[1m[7mXtest [1;1H[?25h[?0c[?25l[?1c[1;11r[0m[11;1H
[1;24r[11;1H[1m[34m~ [0m[12;7H[1m[7m[+][0m[24;1H[K[1;1H[?25h[?0c
[?25l[?1c
1 aa[5;5H[K[5;1H[?25h[?0c[4;1H[3;1H[?25l[?1cX[?25h[?0c[?25l[?1c[4;11r[4;1H[L[1;24r[4;1Hxxx[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cw! Xtest2
[?25l[?1c"Xtest2" [24;10H[K[24;10H[New File] 6 lines, 29 characters written[12;7H[1m[7m [4;3H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cfile Nop
[?25l[?1c"Nop" [Not edited] line 4 of 6 --66%-- col 3[12;1H[1m[7mNop [4;3H[?25h[?0c[1;1H[?25l[?1c[2;11r[0m[2;1H[L[1;24r[2;1Hyyy[12;5H[1m[7m[+][0m[24;1H[K[2;3H[?25h[?0c
3
X
xx[?25l[?1c[6;11r[6;1H[L[1;24r[6;1Hzzzz[?25h[?0c
5 e[?25l[?1c[24;1H:[?25h[?0cvert diffsplit Xtest
[?25l[?1c"Xtest" [24;9H[K[24;9H5 lines, 25 characters[1;1H[1m[36m[40m [0m[44m1 aa [0m[7m|[0m
[1m[36m[40m [0m2 bb[34C[7m|[0m
[1m[36m[40m [0m[1m[34m[46m--------------------------------------[0m[7m|[0m
[1m[36m[40m [0m3 cc[34C[7m|[0m
[1m[36m[40m [0m[1m[41m4[0m[45m dd [0m[7m|[0m
[1m[36m[40m [0m[1m[34m[46m--------------------------------------[0m[7m|[0m
[1m[36m[40m [0m[1m[34m[46m--------------------------------------[0m[7m|[0m
[1m[36m[40m [0m5 ee[34C[7m|[9;41H|[10;41H|[11;41H|[0m[9;1H[1m[36m[40m [0m[1m[34m[46m--------------------------------------[0m
[1m[36m[40m
[0m[10;3H[1m[34m~[11;3H~[0m
[1m[7mXtest [0m[1;42H[1m[36m[40m [0m[1m[34m[46m-------------------------------------[0m[2;42H[1m[36m[40m [0m2 bb[3;42H[1m[36m[40m [0m[44myyy [0m[4;42H[1m[36m[40m [0m3 cc[5;42H[1m[36m[40m [0m[1m[41mX[0m[45m dd [0m[6;42H[1m[36m[40m [0m[44mxxx [0m[7;42H[1m[36m[40m [0m[44mzzzz [0m[8;42H[1m[36m[40m [0m5 ee[9;42H[1m[36m[40m [0m[44m1 aa [0m[10;42H[1m[36m[40m [11;42H [0m[10;44H[1m[34m~[11;44H~[0m[12;42H[7mNop [+] [1;3H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cvert diffsplit Xtest2
[?25l[?1c"Xtest2" [24;10H[K[24;10H6 lines, 29 characters[27m[24m[0m[H[J[1;1H[1m[36m[40m [0m2 bb[20C[7m|[0m
[1m[36m[40m [0m[1m[34m[46m------------------------[0m[7m|[0m
[1m[36m[40m [0m3 cc[20C[7m|[0m
[1m[36m[40m [0m[1m[41mX[0m[45m dd [0m[7m|[0m
[1m[36m[40m [0m[45mxxx [0m[7m|[0m
[1m[36m[40m [0m[1m[34m[46m------------------------[0m[7m|[0m
[1m[36m[40m [0m5 ee[20C[7m|[0m
[1m[36m[40m [0m[44m1 aa [0m[7m|[9;27H|[10;27H|[11;27H|[0m[9;1H[1m[36m[40m
[0m[9;3H[1m[34m~ [10;3H~ [11;3H~ [0m
[1m[7mXtest2 [0m[1;28H[1m[36m[40m [0m2 bb[20C[7m|[0m[2;28H[1m[36m[40m [0m[1m[34m[46m------------------------[0m[7m|[0m[3;28H[1m[36m[40m [0m3 cc[20C[7m|[0m[4;28H[1m[36m[40m [0m[1m[41m4[0m[45m dd [0m[7m|[0m[5;28H[1m[36m[40m [0m[1m[34m[46m------------------------[0m[7m|[0m[6;28H[1m[36m[40m [0m[1m[34m[46m------------------------[0m[7m|[0m[7;28H[1m[36m[40m [0m5 ee[20C[7m|[8;54H|[9;54H|[10;54H|[11;54H|[0m[8;28H[1m[36m[40m [0m[1m[34m[46m------------------------[0m[9;28H[1m[36m[40m [10;28H [11;28H [0m[9;30H[1m[34m~ [10;30H~ [11;30H~ [0m[12;28H[7mXtest [0m[1;55H[1m[36m[40m [0m2 bb[2;55H[1m[36m[40m [0m[44myyy [0m[3;55H[1m[36m[40m [0m3 cc[4;55H[1m[36m[40m [0m[1m[41mX[0m[45m dd [0m[5;55H[1m[36m[40m [0m[45mxxx [0m[6;55H[1m[36m[40m [0m[44mzzzz [0m[7;55H[1m[36m[40m [0m5 ee[8;55H[1m[36m[40m [0m[44m1 aa [0m[9;55H[1m[36m[40m [10;55H [11;55H [0m[9;57H[1m[34m~ [10;57H~ [11;57H~ [0m[12;55H[7mNop [+] [0m[13;1H[1m[34m^W^W[0m:call append("$", one)
:call append("$", two)
:call append("$", three)
:$-2,$w! test.out
:unlet one two three
:qa!
ENDTEST
1 aa
2 bb
[7mtest47.in [1;3H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0c" jump to second window for a moment to have filler line appear at start of
[?25l[?1c[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" first window
[?25l[?1c[1;3H[?25h[?0c[?25l[?1c[12;1H[7mXtest2 [0m[1m[7mXtest [1;30H[?25h[?0c[?25l[?1c[0m[1;3H[1m[34m[46m------------------------[0m[2;3H2 bb [3;3H[1m[34m[46m------------------------[0m[4;3H3 cc [5;3H[1m[41mX[0m[45m dd[6;3Hxxx [0m[7;3H[1m[34m[46m------------------------[0m[8;3H5 ee [9;3H[44m1 aa [0m[1;1H[27C [2;28H[1m[36m[40m [0m2 bb [3;28H[1m[36m[40m [0m[1m[34m[46m------------------------[0m[4;28H[1m[36m[40m [0m3 cc [5;28H[1m[36m[40m [0m[1m[41m4[0m[45m dd [0m[6;28H[1m[36m[40m [0m[1m[34m[46m------------------------[0m[7;28H[1m[36m[40m [0m[1m[34m[46m------------------------[0m[8;28H[1m[36m[40m [0m5 ee [9;28H[1m[36m[40m [0m[1m[34m[46m------------------------[0m[10;28H[1m[36m[40m [0m[1m[34m~ [0m[11;28H[1m[36m[40m [0m[1m[34m~ [0m[1;28H[1m[36m[40m [0m[44m1 aa [0m[3C[1m[34m[46m------------------------[0m[2;57H2 bb[2;61H[K[3;57H[44myyy [0m[4;57H3 cc[4;61H[K[5;57H[1m[41mX[0m[45m dd[6;57Hxxx [0m[7;57H[44mzzzz [0m[8;57H5 ee[8;61H[K[9;57H[44m1 aa [0m[24;1H[K[1;30H[?25h[?0c[?25l[?1c[12;1H[1m[7mXtest2 [0m[7mXtest [2;3H[?25h[?0c[?25l[?1c[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0clet one = winline()
[?25l[?1c[2;3H[?25h[?0c[?25l[?1c[4;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet one = one . "-" . winline()
[?25l[?1c[4;3H[?25h[?0c[?25l[?1c[5;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet one = one . "-" . winline()
[?25l[?1c[5;3H[?25h[?0c[?25l[?1c[6;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet one = one . "-" . winline()
[?25l[?1c[6;3H[?25h[?0c[?25l[?1c[8;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet one = one . "-" . winline()
[?25l[?1c[8;3H[?25h[?0c[?25l[?1c[9;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet one = one . "-" . winline()
[?25l[?1c[9;3H[?25h[?0c[?25l[?1c[12;1H[7mXtest2 [0m[1m[7mXtest [8;30H[?25h[?0c[?25l[?1c[1;30H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet two = winline()
[?25l[?1c[1;30H[?25h[?0c[?25l[?1c[2;30H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet two = two . "-" . winline()
[?25l[?1c[2;30H[?25h[?0c[?25l[?1c[4;30H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet two = two . "-" . winline()
[?25l[?1c[4;30H[?25h[?0c[?25l[?1c[5;30H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet two = two . "-" . winline()
[?25l[?1c[5;30H[?25h[?0c[?25l[?1c[8;30H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet two = two . "-" . winline()
[?25l[?1c[8;30H[?25h[?0c[?25l[?1c[12;28H[7mXtest [0m[1m[7mNop [+] [8;57H[?25h[?0c[?25l[?1c[2;57H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet three = winline()
[?25l[?1c[2;57H[?25h[?0c[?25l[?1c[3;57H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet three = three . "-" . winline()
[?25l[?1c[3;57H[?25h[?0c[?25l[?1c[4;57H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet three = three . "-" . winline()
[?25l[?1c[4;57H[?25h[?0c[?25l[?1c[5;57H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet three = three . "-" . winline()
[?25l[?1c[5;57H[?25h[?0c[?25l[?1c[6;57H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet three = three . "-" . winline()
[?25l[?1c[6;57H[?25h[?0c[?25l[?1c[7;57H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet three = three . "-" . winline()
[?25l[?1c[7;57H[?25h[?0c[?25l[?1c[8;57H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet three = three . "-" . winline()
[?25l[?1c[8;57H[?25h[?0c[12;55H[7mNop [+] [0m[23;1H[1m[7mtest47.in [21;1H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall append("$", one)
[?25l[?1c[23;11H[1m[7m[+][21;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall append("$", two)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append("$", three)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$-2,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 3 lines, 36 characters written[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet one two three
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test48.in" 74 lines, 1452 characters[1;1HThis 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[1m[34m^N^[[0m
:"
:" Using "C" then then <CR> moves the last remaining character to the next
:" line. (Mary Ellen Foster)
j^/are
C[1m[34m^M[0mare belong to vim[1m[34m^[[0m
:"
:" When past the end of a line that ends in a single character "b" skips
:" that word.
^$15lbC7[1m[34m^[[0m
:"
:" Make sure 'i' works[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HThis is a test of 'virtualedit'.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 54 lines, 1250 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:" Test to make sure 'x' can delete control characters
:set display=uhex
^xxxxxxi[This line should contain only the text between the brackets.][1m[34m^[[0m
:set display=
:"
:" Test for ^Y/^E due to bad w_virtcol value, reported by
:" Roy <royl@netropolis.net>.
^O[1m[34m^[[0m3li[1m[34m^E^[[0m4li[1m[34m^E^[[0m4li[1m[34m^E[0m <-- should show the name of a noted text editor[1m[34m^[[0m
^o[1m[34m^[[0m4li[1m[34m^Y^[[0m4li[1m[34m^Y^[[0m4li[1m[34m^Y[0m <-- and its version number[1m[34m^[[0m-dd
:"
:wq! test.out
ENDTEST
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
this is a test[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset noswf
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ve=all
[?25l[?1c[13;1H[?25h[?0c[12;1H[?25l[?1c[24;1H58 fewer lines[1;23r[1;1H[12M[1;24r[12;1H"r"
a[1m[34m^V[0mb[1m[34m^M[0msd
abcv6efi.him0kl
[1m[34m~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H[K[24;1H58 fewer lines[1;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Repeating CTRL-N fixes it. (Mary Ellen Foster)
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cw
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[1;12H[?25h[?0c[?25l[?1c[0m$[24;1H[1m[32mScanning tags.[0m[24;15H[K[24;1HThe only match[1;16H[24;1H[K[1;12Hword[?25h[?0c[2;15H[?25l[?1c[24;1H:[?25h[?0c"
[?25l[?1c[2;15H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Using "C" then then <CR> moves the last remaining character to the next
[?25l[?1c[2;15H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" line. (Mary Ellen Foster)
[?25l[?1c[2;15H[?25h[?0c[3;15H
[?25l[?1c[24;1H[K[24;1H/[?25h[?0care
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[2;15H[?25h[?0c[?25l[?1c[0m[15C$[2;15H[K[3;1Hare belong to vim
1 2 3 4 5 6
'i
'C
'a
'A
'D'[9;4H[K[12;1Hthis is a test
"r"[13;4H[K[14;2H[1m[34m^V[0mb[1m[34m^M[0msd[14;9H[K[15;1Habcv6efi.him0kl[17;1H[K[3;17H[?25h[?0c[4;17H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[4;17H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" When past the end of a line that ends in a single character "b" skips
[?25l[?1c[4;17H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" that word.
[?25l[?1c[4;17H[?25h[?0c
[10C[15C[4;11H[?25l[?1c$7[?25h[?0c[5;11H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[5;11H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Make sure 'i' works
[?25l[?1c[5;11H[?25h[?0c
'i' [?25l[?1c<-- should be 3 ' '[?25h[?0c[6;25H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[6;25H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Make sure 'C' works
[?25l[?1c[6;25H[?25h[?0c
'C' [?25l[?1c$<-- should be 3 ' '[?25h[?0c[7;25H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[7;25H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Make sure 'a' works
[?25l[?1c[7;25H[?25h[?0c
'a' [?25l[?1c <-- should be 4 ' '[?25h[?0c[8;26H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[8;26H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Make sure 'A' works
[?25l[?1c[8;26H[?25h[?0c
'A' [?25l[?1c<-- should be 0 ' '[?25h[?0c[9;22H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[9;22H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Make sure 'D' works
[?25l[?1c[9;22H[?25h[?0c
'D' [?25l[?1c<-- 'D' should be intact[?25h[?0c[10;30H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[10;30H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test for yank bug reported by Mark Waggoner.
[?25l[?1c[10;30H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ve=block
[?25l[?1c[10;14H[?25h[?0c
[8C[?25l[?1c[?25h[?0c[?25l[?1c[7ma[11;9Ha[12;9Ha[13;9H[?25h[?0c[?25l[?1c[0m[10;9Ha[11;9Ha[12;9Ha[24;1Hblock of 4 lines yanked[10;9H[?25h[?0c[17;1H[?25l[?1c[24;1H3 more lines[24;13H[K[17;1Ha
a[18;2H[K[19;1Ha[19;2H[K[20;1H [20;2H[K[17;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test "r" beyond the end of the line
[?25l[?1c[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ve=all
[?25l[?1c[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^"r"
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[13;1H[?25h[?0c[0m"r" [?25l[?1cx[?25h[?0c[?25l[?1cx<-- should be 'x'[?25h[?0c[14;25H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[14;25H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test to make sure 'x' can delete control characters
[?25l[?1c[14;25H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset display=uhex
[?25l[?1c[14;2H[1m[34m<16>[0mb[1m[34m<0d>[0msd[16C[?25h[?0c
[?25l[?1c[1m[34m<16>[0mb[1m[34m<0d>[0msd[14;12H[K[14;1H[?25h[?0c[?25l[?1cb[1m[34m<0d>[0msd[14;8H[K[14;1H[?25h[?0c[?25l[?1c[1m[34m<0d>[0msd[14;7H[K[14;1H[?25h[?0c[?25l[?1csd[14;3H[K[14;1H[?25h[?0c[?25l[?1cd[14;2H[K[14;1H[?25h[?0c[?25l[?1c[14;1H[K[14;1H[?25h[?0c[?25l[?1c[This line should contain only the text between the brackets.][?25h[?0c[15;62H[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset display=
[?25l[?1c[15;62H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[15;62H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test for ^Y/^E due to bad w_virtcol value, reported by
[?25l[?1c[15;62H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Roy <royl@netropolis.net>.
[?25l[?1c[15;62H[?25h[?0c
[?25l[?1c[15;23r[15;1H[L[1;24r[24;1H[K[15;1H[?25h[?0c [?25l[?1cv[?25h[?0cv [?25l[?1ci[?25h[?0ci [?25l[?1cm <-- should show the name of a noted text editor[?25h[?0c[16;62H
[?25l[?1c[17;23r[17;1H[L[1;24r[17;1H[?25h[?0c [?25l[?1c6[?25h[?0c6 [?25l[?1c.[?25h[?0c. [?25l[?1c0 <-- and its version number[?25h[?0c[16;1H[?25l[?1c[16;23r[23;1H
[1;24r[23;1H[1m[34m~ [16;5H[?25h[?0c
[0m [?25l[?1c[24;1H:[?25h[?0c"
[?25l[?1c[17;5H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cwq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 21 lines, 443 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test49.in" 30 lines, 632 characters[1;1HThis 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 ore 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:)[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HThis is a test of the script language.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[6;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 21 lines, 401 characters written[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[7;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[5M[1;24r[19;1H: silent! exe "unlet " . v
:endfor
:unlet v
:qa!
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cse nocp nomore viminfo+=nviminfo
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clang mess C
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso test49.vim
[?25l[?1c[1m[37m[41mError detected while processing function G:[0m
[1m[33mline 16:[0m
[1m[37m[41mE171: Missing :endif: endwhile[0m
*** Test 1: OK (34695)
function F()
1 Xpath 1[37C" X: 1
2 let first = 1
3 XloopINIT 2 8
4 while 1
5[10CXloop 1[33C" X: 2 + 0 * 16
6[10Cif first
7[14CXloop 2[29C" X: 4 + 0 * 32
8[14Clet first = 0
9[14CXloopNEXT
10[13Cbreak
11[9Celse
12[13CXloop 4[29C" X: 0 + 0 * 64
13[13Creturn
14[9Cendif
15 endwhile
endfunction[8;1H"/tmp/vekLUii/0"[9;1H[K[10;1H[K[11;1H[K[12;1H[K[13;1H[K[14;1H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[22;1H[K[23;1H[K[24;4H[K[8;18H[noeol] 18L, 528C
15 substitutions on 15 lines
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/0" [10;19H[K[10;18H15L, 476C written
"test49.in" [10;13H[K[10;13H30L, 632C
function G()
1 Xpath 256[35C" X: 256 + 0 * 2048
2 let first = 1
3 XloopINIT 512 8
4 while 1
5[10CXloop 1[33C" X: 512 + 0 * 4096
6[10Cif first
7[14CXloop 2[29C" X: 1024 + 0 * 8192
8[14Clet first = 0
9[14CXloopNEXT
10[13Cbreak
11[9Celse
12[13CXloop 4[29C" X: 0 + 0 * 16384
13[13Creturn
14[9Cendif
15[9Cif 1 " unmatched :if
16 endwhile
endfunction[7;1H"/tmp/vekLUii/1"[8;1H[K[9;1H[K[10;1H[K[11;1H[K[12;1H[K[13;1H[K[14;1H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[22;1H[K[23;1H[K[24;4H[K[7;18H[noeol] 19L, 588C
16 substitutions on 16 lines
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/1" [9;19H[K[9;18H16L, 534C written
"test49.in" [9;13H[K[9;13H30L, 632C
[1m[37m[41mError detected while processing /tmp/vekLUii/1:[0m
[1m[33mline 16:[0m
[1m[37m[41mE171: Missing :endif: endwhile[0m
*** Test 2: OK (34695)
*** Test 3: OK (1384648195)
*** Test 4: OK (32883)
function F()
1 if 1
2[10CXpath 1[33C" X: 1
3[10Clet loops = 3
4[10CXloopINIT 2 16
5[10Cwhile loops > 0[25C" 3: 2: 1:
6[14CXloop 1[29C" X: 2 + 2*16 + 0*16*16
7[14Cif (loops == 2)
8[18CXloop 2[25C" X: 4*16
9[18Creturn
10[17CXloop 4[25C" X: 0
11[13Cendif
12[13CXloop 8[29C" X: 16
13[13Clet loops = loops - 1
14[13CXloopNEXT
15[9Cendwhile
16[9CXpath 8192[30C" X: 0
17 else
18[9CXpath 16384[29C" X: 0
19 endif
endfunction[4;1H"/tmp/vekLUii/2"[5;1H[K[6;1H[K[7;1H[K[8;1H[K[9;1H[K[10;1H[K[11;1H[K[12;1H[K[13;1H[K[14;1H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[22;1H[K[23;1H[K[24;4H[K[4;18H[noeol] 22L, 784C
19 substitutions on 19 lines
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/2" [6;19H[K[6;18H19L, 724C written
"test49.in" [6;13H[K[6;13H30L, 632C
*** Test 5: OK (32883)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9802[8;1HL, 224143C
"/tmp/vekLUii/3" [New] 53L, 1582C written[8;18H[K[8;18H14L, 358C appended[8;18H[K[8;18H26L, 824C appended[8;18H[K[8;18H34L, 986C appended
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/4[?25h[?0c[10;1H[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/4" [24;18H[K[24;18H130L, 2431C appended[24;18H[K[24;18H131L, 2453C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/5[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/5"' -S /tmp/vekLUi
[23;80Hi[24;1H/4[?25h[?0c[24;1H
[?25l[?1c[24;1H"/tmp/vekLUii/5" 21L, 130C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 6: OK (603978947)
[1m[37m[41mError detected while processing /<<PKGBUILDDIR>>/src/vim-basic/tes[0m
[23;80H[1m[37m[41mt[24;1Hdir/test49.vim:[0m
[1m[33mline 976:[0m
[1m[37m[41mE492: Not an editor command: ^Iasdf[0m
[1m[33mline 988:[0m
[1m[37m[41mE492: Not an editor command: ^Iasdf[0m
[1m[33mline 996:[0m
[1m[37m[41mE492: Not an editor command: asdf[0m
[1m[33mline 999:[0m
[1m[37m[41mE492: Not an editor command: asdf | Xpath 32768^I^I^I^I" X: 0[0m
*** Test 7: OK (90563)
[1m[37m[41mError detected while processing function F:[0m
[1m[33mline 5:[0m
[1m[37m[41mE492: Not an editor command: ^I asdf[0m
[1m[33mline 7:[0m
[1m[37m[41mE492: Not an editor command: ^I asdf | Xpath 8^I^I^I" X: 0[0m
[1m[33mline 19:[0m
[1m[37m[41mE492: Not an editor command: ^I asdf[0m
[1m[33mline 21:[0m
[1m[37m[41mE492: Not an editor command: ^I asdf | Xpath 2048^I^I^I" X: 0[0m
[1m[33mline 29:[0m
[1m[37m[41mE121: Undefined variable: novar[0m
[1m[37m[41mE15: Invalid expression: novar^I^I" returns (default return value 0)[0m
[1m[37m[41mError detected while processing function G:[0m
[1m[33mline 5:[0m
[1m[37m[41mE492: Not an editor command: ^I asdf^I^I" returns -1[0m
[1m[37m[41mError detected while processing function H:[0m
[1m[33mline 5:[0m
[1m[37m[41mE492: Not an editor command: ^I asdf^I^I" returns -1[0m
*** Test 8: OK (562493431)
[1m[37m[41mError detected while processing function F..G..H..I:[0m
[1m[33mline 2:[0m
[1m[37m[41mE492: Not an editor command: asdf^I^I" error[0m
*** Test 9: OK (363)
[1m[37m[41mError detected while processing /<<PKGBUILDDIR>>/src/vim-basic/tes[0m
[23;80H[1m[37m[41mt[24;1Hdir/test49.vim:[0m
[1m[33mline 1201:[0m
[1m[37m[41mE15: Invalid expression: | strlen("\"") | Xpath 512^I^I" X: 0[0m
[1m[37m[41mE15: Invalid expression: 1 ||| strlen("\"") | Xpath 512^I^I" X: 0[0m
[1m[33mline 1211:[0m
[1m[37m[41mE15: Invalid expression: | strlen("\"") | Xpath 8192^I^I" X: 0[0m
[1m[37m[41mE15: Invalid expression: 1 ||| strlen("\"") | Xpath 8192^I^I" X: 0[0m
[1m[33mline 1220:[0m
[1m[37m[41mE15: Invalid expression: | strlen("\"") | Xpath 131072^I^I" X: 0[0m
[1m[37m[41mE15: Invalid expression: 1 ||| strlen("\"") | Xpath 131072^I^I" X: 0[0m
*** Test 10: OK (559615)
[1m[33mline 1252:[0m
[1m[37m[41mE492: Not an editor command: asdf^I^I" error[0m
*** Test 11: OK (2049)
1
[1m[33mline 1330:[0m
[1m[37m[41mE492: Not an editor command: asdf^I^I" error[0m
[1m[33mline 1338:[0m
[1m[37m[41mE492: Not an editor command: asdf^I^I" error[0m
*** Test 12: OK (352256)
[1m[33mline 1357:[0m
[1m[37m[41mE121: Undefined variable: asdf[0m
[1m[37m[41mE15: Invalid expression: asdf[0m
[1m[33mline 1368:[0m
[1m[37m[41mE121: Undefined variable: asdf[0m
[1m[37m[41mE15: Invalid expression: asdf | Xpath 32 | endwhile | Xpath 64^I" X: 0[0m
*** Test 13: OK (145)
[1m[37m[41mError detected while processing function F:[0m
[1m[33mline 8:[0m
[1m[37m[41mE121: Undefined variable: g:boolvar[0m
[1m[37m[41mE15: Invalid expression: g:boolvar^I" possibly undefined[0m
*** Test 14: OK (42413)
[1m[37m[41mE121: Undefined variable: g:boolvar[0m
[1m[37m[41mE15: Invalid expression: g:boolvar | Xloop 8 | else | Xloop 16 | endif " X: [0m
[23;80H[1m[37m[41m8[0m[24;1H
*** Test 15: OK (42413)
[1m[33mline 5:[0m
[1m[37m[41mE583: multiple :else: else^I^I[0m
[1m[37m[41mError detected while processing function G:[0m
[1m[33mline 5:[0m
[1m[37m[41mE584: :elseif after :else: elseif 1^I^I" aborts function[0m
[1m[37m[41mError detected while processing function H:[0m
[1m[33mline 7:[0m
[1m[37m[41mE583: multiple :else: else^I^I[0m
[1m[37m[41mError detected while processing function I:[0m
[1m[33mline 7:[0m
[1m[37m[41mE584: :elseif after :else: elseif 1^I^I" aborts function[0m
*** Test 16: OK (8722)
[1m[37m[41mError detected while processing function F:[0m
[1m[33mline 18:[0m
[1m[37m[41mE171: Missing :endif: endwhile^I[0m
[1m[37m[41mE171: Missing :endif: endwhile^I[0m
[1m[33mline 34:[0m
[1m[37m[41mE171: Missing :endif: endwhile^I[0m
[1m[37m[41mE171: Missing :endif: endwhile^I[0m
[1m[37m[41mE171: Missing :endif: endwhile^I[0m
[1m[33mline 47:[0m
[1m[37m[41mE580: :endif without :if: ^Iendif^I[0m
[1m[37m[41mE580: :endif without :if: ^Iendif^I[0m
[1m[37m[41mE580: :endif without :if: ^Iendif^I[0m
[1m[37m[41mError detected while processing /<<PKGBUILDDIR>>/src/vim-basic/tes[0m
[23;80H[1m[37m[41mt[24;1Hdir/test49.vim:[0m
[1m[33mline 1626:[0m
[1m[37m[41mE171: Missing :endif: endwhile [0m
*** Test 17: OK (285127993)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/6[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/6" [24;18H[K[24;18H16L, 304C appended[24;18H[K[24;18H17L, 326C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/7[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -
[23;80Hc[24;2H'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/7"' -c 'breakad
[23;80Hd[24;2Hfile 8 /tmp/vekLUii/6' -S /tmp/vekLUii/6[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/7" 3L, 6C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/8[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/8" [24;18H[K[24;18H6L, 127C appended[24;18H[K[24;18H7L, 149C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/9[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -
[23;80Hc[24;2H'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/9"' -c 'breakad
[23;80Hd[24;2Hfile 4 /tmp/vekLUii/8' -S /tmp/vekLUii/8[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/9" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/10[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/10" [24;19H[K[24;19H21L, 486C appended[24;19H[K[24;19H22L, 508C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/11[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -
[23;80Hc[24;2H'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/11"' -c 'breaka
[23;80Hd[24;1Hd func 7 F' -S /tmp/vekLUii/10[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/11" 3L, 18C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/12[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/12" [24;19H[K[24;19H13L, 364C appended[24;19H[K[24;19H14L, 386C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/13[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -
[23;80Hc[24;2H'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/13"' -c 'breaka
[23;80Hd[24;1Hd func 3 G' -S /tmp/vekLUii/12[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/13" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 18: OK (67224583)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/14[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/14" [24;19H[K[24;19H12L, 201C appended[24;19H[K[24;19H13L, 223C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/15[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/15"' -S /tmp/vekLU
[23;80Hi[24;1Hi/14[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/15" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/16[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/16" [24;19H[K[24;19H12L, 205C appended[24;19H[K[24;19H13L, 227C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/17[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/17"' -S /tmp/vekLU
[23;80Hi[24;1Hi/16[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/17" 2L, 7C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/18[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/18" [24;19H[K[24;19H6L, 122C appended[24;19H[K[24;19H7L, 144C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/19[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/19"' -S /tmp/vekLU
[23;80Hi[24;1Hi/18[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/19" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/20[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/20" [24;19H[K[24;19H8L, 176C appended[24;19H[K[24;19H9L, 198C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/21[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/21"' -S /tmp/vekLU
[23;80Hi[24;1Hi/20[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/21" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/22[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/22" [24;19H[K[24;19H10L, 215C appended[24;19H[K[24;19H11L, 237C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/23[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/23"' -S /tmp/vekLU
[23;80Hi[24;1Hi/22[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/23" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/24[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/24" [24;19H[K[24;19H7L, 149C appended[24;19H[K[24;19H8L, 171C[24;19H[K[24;19H8L, 170C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/25[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/25"' -S /tmp/vekLU
[23;80Hi[24;1Hi/24[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/25" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 19: OK (69275973)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/26[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/26" [24;19H[K[24;19H9L, 135C appended[24;19H[K[24;19H10L, 157C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/27[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/27"' -S /tmp/vekLU
[23;80Hi[24;1Hi/26[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/27" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/28[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/28" [24;19H[K[24;19H10L, 155C appended[24;19H[K[24;19H11L, 177C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/29[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/29"' -S /tmp/vekLU
[23;80Hi[24;1Hi/28[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/29" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/30[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/30" [24;19H[K[24;19H12L, 204C appended[24;19H[K[24;19H13L, 226C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/31[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/31"' -S /tmp/vekLU
[23;80Hi[24;1Hi/30[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/31" 4L, 18C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/32[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/32" [24;19H[K[24;19H12L, 214C appended[24;19H[K[24;19H13L, 236C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/33[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/33"' -S /tmp/vekLU
[23;80Hi[24;1Hi/32[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/33" 4L, 22C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/34[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/34" [24;19H[K[24;19H12L, 211C appended[24;19H[K[24;19H13L, 233C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/35[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/35"' -S /tmp/vekLU
[23;80Hi[24;1Hi/34[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/35" 3L, 22C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/36[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/36" [24;19H[K[24;19H14L, 263C appended[24;19H[K[24;19H15L, 285C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/37[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/37"' -S /tmp/vekLU
[23;80Hi[24;1Hi/36[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/37" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/38[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/38" [24;19H[K[24;19H14L, 277C appended[24;19H[K[24;19H15L, 299C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/39[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/39"' -S /tmp/vekLU
[23;80Hi[24;1Hi/38[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/39" 4L, 40C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 20: OK (1874575085)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/40[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/40" [24;19H[K[24;19H58L, 1022C appended[24;19H[K[24;19H59L, 1044C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/41[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/41"' -S /tmp/vekLU
[23;80Hi[24;1Hi/40[?25h[?0c[24;1H
[?25l[?1c[24;1H"/tmp/vekLUii/41" 9L, 56C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 21: OK (147932225)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/42[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/42" [24;19H[K[24;19H23L, 418C appended[24;19H[K[24;19H24L, 440C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/43[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/43"' -S /tmp/vekLU
[23;80Hi[24;1Hi/42[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/43" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/44[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/44" [24;19H[K[24;19H23L, 437C appended[24;19H[K[24;19H24L, 459C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/45[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -
[23;80Hc[24;2H'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/45"' -c 'breaka
[23;80Hd[24;1Hd func 2 Interrupt' -S /tmp/vekLUii/44[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/45" 1L, 3C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/46[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/46" [24;19H[K[24;19H21L, 386C appended[24;19H[K[24;19H22L, 408C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/47[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/47"' -S /tmp/vekLU
[23;80Hi[24;1Hi/46[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/47" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 22: OK (4161)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/48[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/48" [24;19H[K[24;19H25L, 432C appended[24;19H[K[24;19H26L, 454C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/49[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/49"' -S /tmp/vekLU
[23;80Hi[24;1Hi/48[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/49" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 23: OK (49)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/50[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/50" [24;19H[K[24;19H16L, 392C appended[24;19H[K[24;19H17L, 414C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/51[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/51"' -S /tmp/vekLU
[23;80Hi[24;1Hi/50[?25h[?0c[24;1H
[?25l[?1c[24;1H"/tmp/vekLUii/51" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 24: OK (41)
*** Test 25: OK (260177811)
*** Test 26: OK (1681500476)
*** Test 27: OK (1996459)
function F()
1 try
2[10CXpath 1[33C" X: 1
3[10Ctry
4[14CXpath 2[29C" X: 2
5[14Creturn
6[14CXpath 4[29C" X: 0
7[10Cfinally
8[14CXpath 8[29C" X: 8
9[10Cendtry
10[9CXpath 16[32C" X: 0
11 finally
12[9CXpath 32[32C" X: 32
13 endtry
14 Xpath 64[36C" X: 0
endfunction[9;1H"/tmp/vekLUii/52"[10;1H[K[11;1H[K[12;1H[K[13;1H[K[14;1H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[22;1H[K[23;1H[K[24;4H[K[9;19H[noeol] 17L, 552C
14 substitutions on 14 lines
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/52"[11;19H[K[11;19H14L, 502C written
"test49.in" [11;13H[K[11;13H30L, 632C
function G()
1 try
2[10CXpath 128[31C" X: 128
3[10Creturn
4[10CXpath 256[31C" X: 0
5 finally
6[10CXpath 512[31C" X: 512
7[10Ccall F()
8[10CXpath 1024[30C" X: 1024
9 endtry
10 Xpath 2048[34C" X: 0
endfunction[12;1H"/tmp/vekLUii/53"[13;1H[K[14;1H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[22;1H[K[23;4H[K[12;19H[noeol] 13L, 406C
10 substitutions on 10 lines
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/53"[14;19H[K[14;19H10L, 378C written
"test49.in" [14;13H[K[14;13H30L, 632C
function H()
1 try
2[10CXpath 4096[30C" X: 4096
3[10Ccall G()
4[10CXpath 8192[30C" X: 8192
5 finally
6[10CXpath 16384[29C" X: 16384
7[10Creturn
8[10CXpath 32768[29C" X: 0
9 endtry
10 Xpath 65536[33C" X: 0
endfunction[13;1H"/tmp/vekLUii/54"[14;1H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[22;1H[K[23;1H[K[24;4H[K[13;19H[noeol] 13L, 409C
10 substitutions on 10 lines
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/54"[15;19H[K[15;19H10L, 381C written
"test49.in" [15;13H[K[15;13H30L, 632C
*** Test 28: OK (1996459)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9802[17;1HL, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/55[?25h[?0c[19;1H[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/55" [24;19H[K[24;19H39L, 721C appended[24;19H[K[24;19H40L, 743C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/56[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/56"' -S /tmp/vekLU
[23;80Hi[24;1Hi/55[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/56" 6L, 21C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/57[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/57" [24;19H[K[24;19H23L, 509C appended[24;19H[K[24;19H24L, 531C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/58[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/58"' -S /tmp/vekLU
[23;80Hi[24;1Hi/57[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/58" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 29: OK (170428555)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/59[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/59" [24;19H[K[24;19H60L, 1101C appended[24;19H[K[24;19H61L, 1123C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/60[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nv
[23;80Hi[24;1Hminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/60"' -
[23;80Hc[24;2H'breakadd func 3 F' -c 'breakadd file 19 /tmp/vekLUii/59' -c 'breakadd file 31
/tmp/vekLUii/59' -S /tmp/vekLUii/59[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/60" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 30: OK (190905173)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/61[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/61" [24;19H[K[24;19H60L, 1122C appended[24;19H[K[24;19H61L, 1144C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/62[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/62"' -S /tmp/vekLU
[23;80Hi[24;1Hi/61[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/62" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 31: OK (190905173)
*** Test 32: OK (354833067)
*** Test 33: OK (1216907538)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/63[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/63" [24;19H[K[24;19H63L, 1288C appended[24;19H[K[24;19H64L, 1310C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/64[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi
[23;80Hm[24;1Hinfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLU
[23;80Hi[24;1Hi/64"' -c 'breakadd func 16 C' -S /tmp/vekLUii/63[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/64" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 34: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/65[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/65" [24;19H[K[24;19H63L, 1285C appended[24;19H[K[24;19H64L, 1307C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/66[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi
[23;80Hm[24;1Hinfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLU
[23;80Hi[24;1Hi/66"' -c 'breakadd func 16 B' -S /tmp/vekLUii/65[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/66" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 35: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/67[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/67" [24;19H[K[24;19H66L, 1430C appended[24;19H[K[24;19H67L, 1452C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/68[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin
[23;80Hf[24;1Ho+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/
[23;80H6[24;1H8"' -c 'breakadd func 16 R' -S /tmp/vekLUii/67[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/68" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 36: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/69[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/69" [24;19H[K[24;19H73L, 1488C appended[24;19H[K[24;19H74L, 1510C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/70[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/70"' -c 'breakadd
[23;80Hf[24;1Hunc 16 F' -S /tmp/vekLUii/69[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/70" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 37: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/71[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/71" [24;19H[K[24;19H82L, 1519C appended[24;19H[K[24;19H83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/72[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi
[23;80Hm[24;1Hinfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLU
[23;80Hi[24;1Hi/72"' -c 'breakadd func 16 E' -S /tmp/vekLUii/71[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/72" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 38: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/73[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/73" [24;19H[K[24;19H83L, 1538C appended[24;19H[K[24;19H84L, 1560C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/74[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -
[23;80Hc[24;2H'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVi
[23;80Hm[24;1HResult = "/tmp/vekLUii/74"' -c 'breakadd func 16 I' -c 'breakadd func 22 I' -S
[23;80H/[24;1Htmp/vekLUii/73[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/74" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 39: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/75[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/75" [24;19H[K[24;19H82L, 1519C appended[24;19H[K[24;19H83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/76[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi
[23;80Hm[24;1Hinfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLU
[23;80Hi[24;1Hi/76"' -c 'breakadd func 16 T' -S /tmp/vekLUii/75[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/76" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** 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
2[10CXpath 1[33C" X: 1
3[10Cthrow "arrgh"
4[10CXpath 2[33C" X: 0
5 catch /arrgh/
6[10CXpath 4[33C" X: 4
7 endtry
8 Xpath 8[37C" X: 8
endfunction[15;1H"/tmp/vekLUii/77"[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[22;1H[K[23;1H[K[24;4H[K[15;19H[noeol] 11L, 334C
8 substitutions on 8 lines
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/77"[17;19H[K[17;19H8L, 295C written
"test49.in" [17;13H[K[17;13H30L, 632C
function T1()
1 XloopNEXT
2 try
3[10CXloop 1[33C" X: 16 + 16*16
4[10Cthrow "arrgh"
5[10CXloop 2[33C" X: 0
6 finally
7[10CXloop 4[33C" X: 64 + 64*16
8 endtry
9 Xloop 8[37C" X: 0
endfunction[14;1H"/tmp/vekLUii/78"[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[22;1H[K[23;1H[K[24;4H[K[14;19H[noeol] 12L, 364C
9 substitutions on 9 lines
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/78"[16;19H[K[16;19H9L, 323C written
"test49.in" [16;13H[K[16;13H30L, 632C
function T2()
1 try
2[10CXpath 4096[30C" X: 4096
3[10Ccall T1()
4[10CXpath 8192[30C" X: 0
5 finally
6[10CXpath 16384[29C" X: 16384
7 endtry
8 Xpath 32768[33C" X: 0
endfunction[15;1H"/tmp/vekLUii/79"[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[22;1H[K[23;1H[K[24;4H[K[15;19H[noeol] 11L, 332C
8 substitutions on 8 lines
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/79"[17;19H[K[17;19H8L, 305C written
"test49.in" [17;13H[K[17;13H30L, 632C
*** Test 50: OK (363550045)
*** Test 51: OK (40744667)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9802[20;1HL, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/81[?25h[?0c[22;1H[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/81" [24;19H[K[24;19H2L, 41C appended[24;19H[K[24;19H3L, 63C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/82[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/82"' -S /tmp/vekLUii/81[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/82" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/80" [24;19H[K[24;19H8L, 182C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/83[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/83" [24;19H[K[24;19H7L, 115C appended[24;19H[K[24;19H8L, 137C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/84[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/84"' -S /tmp/vekLUii/83[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/84" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/80" [24;19H[K[24;19H8L, 181C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/85[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/85" [24;19H[K[24;19H12L, 180C appended[24;19H[K[24;19H13L, 202C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/86[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/86"' -S /tmp/vekLUii/85[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/86" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/80" [24;19H[K[24;19H10L, 209C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/87[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/87" [24;19H[K[24;19H8L, 139C appended[24;19H[K[24;19H9L, 161C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/88[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/88"' -S /tmp/vekLUii/87[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/88" 2L, 11C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/80" [24;19H[K[24;19H10L, 217C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/89[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/89" [24;19H[K[24;19H5L, 87C appended[24;19H[K[24;19H6L, 109C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/90[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir!
[23;80H>[24;1H/tmp/vekLUii/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin =
1' -c 'let ExtraVimResult = "/tmp/vekLUii/90"' -c 'breakadd file 4 /tmp/vekLUii
[23;80H/[24;1H89' -S /tmp/vekLUii/89[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/90" 1L, 7C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/80" [24;19H[K[24;19H[noeol] 9L, 202C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/91[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/91" [24;19H[K[24;19H7L, 189C appended[24;19H[K[24;19H8L, 211C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/92[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/92"' -S /tmp/vekLUii/91[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/92" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/80" [24;19H[K[24;19H9L, 252C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/93[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/93" [24;19H[K[24;19H7L, 199C appended[24;19H[K[24;19H8L, 221C[24;19H[K[24;19H8L, 220C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/94[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/80' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/94"' -S /tmp/vekLUii/93[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/94" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/80" [24;19H[K[24;19H9L, 214C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 52: OK (1247112011)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/96[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/96" [24;19H[K[24;19H1L, 10C appended[24;19H[K[24;19H2L, 32C[24;19H[K[24;19H2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/97[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/97"' -S /tmp/vekLUii/96[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/97" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 154C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/98[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/98" [24;19H[K[24;19H3L, 39C appended[24;19H[K[24;19H4L, 61C
3 substitutions on 3 lines
"/tmp/vekLUii/98" [24;20H[K[24;19H4L, 58C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/99[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/99"' -S /tmp/vekLUii/98[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/99" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 158C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/100[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/100" [24;20H[K[24;20H4L, 45C appended[24;20H[K[24;20H5L, 67C
4 substitutions on 4 lines
"/tmp/vekLUii/100"[24;20H[K[24;20H5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/101[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/101"' -S /tmp/vekLUii/100[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/101" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 159C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/102[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/102" [24;20H[K[24;20H3L, 33C appended[24;20H[K[24;20H4L, 55C
3 substitutions on 3 lines
"/tmp/vekLUii/102"[24;20H[K[24;20H4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/103[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/103"' -S /tmp/vekLUii/102[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/103" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 159C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/104[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/104" [24;20H[K[24;20H5L, 65C appended[24;20H[K[24;20H6L, 87C
5 substitutions on 5 lines
"/tmp/vekLUii/104"[24;20H[K[24;20H6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/105[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/105"' -S /tmp/vekLUii/104[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/105" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 159C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/106[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/106" [24;20H[K[24;20H1L, 9C appended[24;20H[K[24;20H2L, 31C[24;20H[K[24;20H2L, 30C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/107[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/107"' -S /tmp/vekLUii/106[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/107" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 153C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/108[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/108" [24;20H[K[24;20H3L, 38C appended[24;20H[K[24;20H4L, 60C
3 substitutions on 3 lines
"/tmp/vekLUii/108"[24;20H[K[24;20H4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/109[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/109"' -S /tmp/vekLUii/108[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/109" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 157C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/110[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/110" [24;20H[K[24;20H4L, 44C appended[24;20H[K[24;20H5L, 66C
4 substitutions on 4 lines
"/tmp/vekLUii/110"[24;20H[K[24;20H5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/111[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/111"' -S /tmp/vekLUii/110[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/111" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 157C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/112[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/112" [24;20H[K[24;20H3L, 32C appended[24;20H[K[24;20H4L, 54C
3 substitutions on 3 lines
"/tmp/vekLUii/112"[24;20H[K[24;20H4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/113[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/113"' -S /tmp/vekLUii/112[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/113" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 157C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/114[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/114" [24;20H[K[24;20H5L, 64C appended[24;20H[K[24;20H6L, 86C
5 substitutions on 5 lines
"/tmp/vekLUii/114"[24;20H[K[24;20H6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/115[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/115"' -S /tmp/vekLUii/114[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/115" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 157C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/116[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/116" [24;20H[K[24;20H1L, 11C appended[24;20H[K[24;20H2L, 33C[24;20H[K[24;20H2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/117[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/117"' -S /tmp/vekLUii/116[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/117" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 157C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/118[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/118" [24;20H[K[24;20H3L, 40C appended[24;20H[K[24;20H4L, 62C
3 substitutions on 3 lines
"/tmp/vekLUii/118"[24;20H[K[24;20H4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/119[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/119"' -S /tmp/vekLUii/118[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/119" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 161C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/120[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/120" [24;20H[K[24;20H4L, 46C appended[24;20H[K[24;20H5L, 68C
4 substitutions on 4 lines
"/tmp/vekLUii/120"[24;20H[K[24;20H5L, 64C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/121[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/121"' -S /tmp/vekLUii/120[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/121" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 161C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/122[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/122" [24;20H[K[24;20H3L, 34C appended[24;20H[K[24;20H4L, 56C
3 substitutions on 3 lines
"/tmp/vekLUii/122"[24;20H[K[24;20H4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/123[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/123"' -S /tmp/vekLUii/122[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/123" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 161C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/124[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/124" [24;20H[K[24;20H5L, 66C appended[24;20H[K[24;20H6L, 88C
5 substitutions on 5 lines
"/tmp/vekLUii/124"[24;20H[K[24;20H6L, 83C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/125[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/125"' -S /tmp/vekLUii/124[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/125" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 161C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/126[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/126" [24;20H[K[24;20H4L, 37C appended[24;20H[K[24;20H5L, 59C
4 substitutions on 4 lines
"/tmp/vekLUii/126"[24;20H[K[24;20H5L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/127[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/127"' -S /tmp/vekLUii/126[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/127" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 150C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/128[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/128" [24;20H[K[24;20H4L, 41C appended[24;20H[K[24;20H5L, 63C
4 substitutions on 4 lines
"/tmp/vekLUii/128"[24;20H[K[24;20H5L, 59C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/129[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/95' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'
-c 'let ExtraVimResult = "/tmp/vekLUii/129"' -S /tmp/vekLUii/128[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/129" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/95" [24;19H[K[24;19H6L, 159C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 53: OK (131071)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/131[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/131" [24;20H[K[24;20H1L, 13C appended[24;20H[K[24;20H2L, 35C[24;20H[K[24;20H2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/132[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/132"' -S /tmp/vekLUii/131[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/132" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/130" [24;20H[K[24;20H6L, 164C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/133[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/133" [24;20H[K[24;20H3L, 36C appended[24;20H[K[24;20H4L, 58C
3 substitutions on 3 lines
"/tmp/vekLUii/133"[24;20H[K[24;20H4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/134[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/134"' -S /tmp/vekLUii/133[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/134" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/130" [24;20H[K[24;20H6L, 168C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/135[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/135" [24;20H[K[24;20H3L, 38C appended[24;20H[K[24;20H4L, 60C
3 substitutions on 3 lines
"/tmp/vekLUii/135"[24;20H[K[24;20H4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/136[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/136"' -S /tmp/vekLUii/135[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/136" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/130" [24;20H[K[24;20H6L, 154C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/137[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/137" [24;20H[K[24;20H4L, 48C appended[24;20H[K[24;20H5L, 70C
4 substitutions on 4 lines
"/tmp/vekLUii/137"[24;20H[K[24;20H5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/138[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/138"' -S /tmp/vekLUii/137[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/138" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/130" [24;20H[K[24;20H6L, 168C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/139[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/139" [24;20H[K[24;20H4L, 53C appended[24;20H[K[24;20H5L, 75C
4 substitutions on 4 lines
"/tmp/vekLUii/139"[24;20H[K[24;20H5L, 71C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/140[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/140"' -S /tmp/vekLUii/139[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/140" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/130" [24;20H[K[24;20H6L, 155C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/141[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/141" [24;20H[K[24;20H5L, 62C appended[24;20H[K[24;20H6L, 84C
5 substitutions on 5 lines
"/tmp/vekLUii/141"[24;20H[K[24;20H6L, 79C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/142[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/142"' -S /tmp/vekLUii/141[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/142" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/130" [24;20H[K[24;20H6L, 155C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/143[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/143" [24;20H[K[24;20H5L, 64C appended[24;20H[K[24;20H6L, 86C
5 substitutions on 5 lines
"/tmp/vekLUii/143"[24;20H[K[24;20H6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/144[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/144"' -S /tmp/vekLUii/143[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/144" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/130" [24;20H[K[24;20H6L, 154C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/145[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/145" [24;20H[K[24;20H3L, 36C appended[24;20H[K[24;20H4L, 58C
3 substitutions on 3 lines
"/tmp/vekLUii/145"[24;20H[K[24;20H4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/146[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/146"' -S /tmp/vekLUii/145[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/146" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/130" [24;20H[K[24;20H6L, 168C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/147[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/147" [24;20H[K[24;20H5L, 67C appended[24;20H[K[24;20H6L, 89C
5 substitutions on 5 lines
"/tmp/vekLUii/147"[24;20H[K[24;20H6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/148[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/148"' -S /tmp/vekLUii/147[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/148" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/130" [24;20H[K[24;20H6L, 167C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/149[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/149" [24;20H[K[24;20H5L, 68C appended[24;20H[K[24;20H6L, 90C
5 substitutions on 5 lines
"/tmp/vekLUii/149"[24;20H[K[24;20H6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/150[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/150"' -S /tmp/vekLUii/149[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/150" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/130" [24;20H[K[24;20H6L, 168C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/151[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/151" [24;20H[K[24;20H7L, 95C appended[24;20H[K[24;20H8L, 117C
7 substitutions on 7 lines
"/tmp/vekLUii/151"[24;20H[K[24;20H8L, 110C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/152[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/130' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/152"' -S /tmp/vekLUii/151[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/152" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/130" [24;20H[K[24;20H6L, 167C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 54: OK (2047)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/154[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/154" [24;20H[K[24;20H1L, 13C appended[24;20H[K[24;20H2L, 35C[24;20H[K[24;20H2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/155[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/155"' -S /tmp/vekLUii/154[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/155" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/153" [24;20H[K[24;20H6L, 172C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/156[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/156" [24;20H[K[24;20H3L, 36C appended[24;20H[K[24;20H4L, 58C
3 substitutions on 3 lines
"/tmp/vekLUii/156"[24;20H[K[24;20H4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/157[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/157"' -S /tmp/vekLUii/156[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/157" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/153" [24;20H[K[24;20H6L, 176C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/158[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/158" [24;20H[K[24;20H4L, 48C appended[24;20H[K[24;20H5L, 70C
4 substitutions on 4 lines
"/tmp/vekLUii/158"[24;20H[K[24;20H5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/159[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/159"' -S /tmp/vekLUii/158[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/159" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/153" [24;20H[K[24;20H6L, 176C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/160[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/160" [24;20H[K[24;20H3L, 36C appended[24;20H[K[24;20H4L, 58C
3 substitutions on 3 lines
"/tmp/vekLUii/160"[24;20H[K[24;20H4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/161[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/161"' -S /tmp/vekLUii/160[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/161" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/153" [24;20H[K[24;20H6L, 176C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/162[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/162" [24;20H[K[24;20H5L, 68C appended[24;20H[K[24;20H6L, 90C
5 substitutions on 5 lines
"/tmp/vekLUii/162"[24;20H[K[24;20H6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/163[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/163"' -S /tmp/vekLUii/162[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/163" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/153" [24;20H[K[24;20H6L, 176C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/164[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/164" [24;20H[K[24;20H1L, 10C appended[24;20H[K[24;20H2L, 32C[24;20H[K[24;20H2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/165[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/165"' -S /tmp/vekLUii/164[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/165" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/153" [24;20H[K[24;20H6L, 166C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/166[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/166" [24;20H[K[24;20H3L, 33C appended[24;20H[K[24;20H4L, 55C
3 substitutions on 3 lines
"/tmp/vekLUii/166"[24;20H[K[24;20H4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/167[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/167"' -S /tmp/vekLUii/166[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/167" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/153" [24;20H[K[24;20H6L, 170C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/168[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/168" [24;20H[K[24;20H4L, 45C appended[24;20H[K[24;20H5L, 67C
4 substitutions on 4 lines
"/tmp/vekLUii/168"[24;20H[K[24;20H5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/169[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/169"' -S /tmp/vekLUii/168[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/169" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/153" [24;20H[K[24;20H6L, 170C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/170[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/170" [24;20H[K[24;20H3L, 33C appended[24;20H[K[24;20H4L, 55C
3 substitutions on 3 lines
"/tmp/vekLUii/170"[24;20H[K[24;20H4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/171[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/171"' -S /tmp/vekLUii/170[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/171" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/153" [24;20H[K[24;20H6L, 170C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/172[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/172" [24;20H[K[24;20H5L, 65C appended[24;20H[K[24;20H6L, 87C
5 substitutions on 5 lines
"/tmp/vekLUii/172"[24;20H[K[24;20H6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/173[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/153' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/173"' -S /tmp/vekLUii/172[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/173" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/153" [24;20H[K[24;20H6L, 170C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 55: OK (1023)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/175[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/175" [24;20H[K[24;20H1L, 11C appended[24;20H[K[24;20H2L, 33C[24;20H[K[24;20H2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/176[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/176"' -S /tmp/vekLUii/175[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/176" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/174" [24;20H[K[24;20H6L, 158C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/177[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/177" [24;20H[K[24;20H3L, 34C appended[24;20H[K[24;20H4L, 56C
3 substitutions on 3 lines
"/tmp/vekLUii/177"[24;20H[K[24;20H4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/178[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/178"' -S /tmp/vekLUii/177[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/178" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/174" [24;20H[K[24;20H6L, 162C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/179[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/179" [24;20H[K[24;20H3L, 40C appended[24;20H[K[24;20H4L, 62C
3 substitutions on 3 lines
"/tmp/vekLUii/179"[24;20H[K[24;20H4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/180[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/180"' -S /tmp/vekLUii/179[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/180" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/174" [24;20H[K[24;20H6L, 162C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/181[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/181" [24;20H[K[24;20H3L, 32C appended[24;20H[K[24;20H4L, 54C
3 substitutions on 3 lines
"/tmp/vekLUii/181"[24;20H[K[24;20H4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/182[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/182"' -S /tmp/vekLUii/181[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/182" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/174" [24;20H[K[24;20H6L, 152C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/183[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/183" [24;20H[K[24;20H3L, 35C appended[24;20H[K[24;20H4L, 57C
3 substitutions on 3 lines
"/tmp/vekLUii/183"[24;20H[K[24;20H4L, 54C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/184[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/184"' -S /tmp/vekLUii/183[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/184" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/174" [24;20H[K[24;20H6L, 155C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/185[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/185" [24;20H[K[24;20H4L, 44C appended[24;20H[K[24;20H5L, 66C
4 substitutions on 4 lines
"/tmp/vekLUii/185"[24;20H[K[24;20H5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/186[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/186"' -S /tmp/vekLUii/185[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/186" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/174" [24;20H[K[24;20H6L, 152C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/187[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/187" [24;20H[K[24;20H4L, 47C appended[24;20H[K[24;20H5L, 69C
4 substitutions on 4 lines
"/tmp/vekLUii/187"[24;20H[K[24;20H5L, 65C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/188[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/188"' -S /tmp/vekLUii/187[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/188" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/174" [24;20H[K[24;20H6L, 155C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/189[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/189" [24;20H[K[24;20H5L, 64C appended[24;20H[K[24;20H6L, 86C
5 substitutions on 5 lines
"/tmp/vekLUii/189"[24;20H[K[24;20H6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/190[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/190"' -S /tmp/vekLUii/189[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/190" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/174" [24;20H[K[24;20H6L, 152C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/191[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/191" [24;20H[K[24;20H5L, 67C appended[24;20H[K[24;20H6L, 89C
5 substitutions on 5 lines
"/tmp/vekLUii/191"[24;20H[K[24;20H6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/192[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t
[23;80Hm[24;1Hp/vekLUii/174' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
[23;80H'[24;2H-c 'let ExtraVimResult = "/tmp/vekLUii/192"' -S /tmp/vekLUii/191[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/192" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/174" [24;20H[K[24;20H6L, 155C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 56: OK (511)
function FuncException()
1 let g:exception = v:exception
endfunction[22;1H"/tmp/vekLUii/193" [22;20H[K[23;1H[K[24;4H[K[22;20H[noeol] 4L, 80C
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/193" [23;20H[K[23;20H1L, 36C written
"test49.in" [23;13H[K[23;13H30L, 632C
function FuncThrowpoint()
1 let g:throwpoint = v:throwpoint
endfunction[22;1H"/tmp/vekLUii/194" [22;20H[K[23;1H[K[24;4H[K[22;20H[noeol] 4L, 83C
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/194" [23;20H[K[23;20H1L, 38C written
"test49.in" [23;13H[K[23;13H30L, 632C
function T(arg, line)
1 if a:line == 2
2[10Cthrow a:arg[13C" in line 2
3 elseif a:line == 4
4[10Cthrow a:arg[13C" in line 4
5 elseif a:line == 6
6[10Cthrow a:arg[13C" in line 6
7 elseif a:line == 8
8[10Cthrow a:arg[13C" in line 8
9 endif
endfunction[14;1H"/tmp/vekLUii/195"[14;20H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[22;1H[K[23;1H[K[24;4H[K[14;20H[noeol] 12L, 341C
9 substitutions on 9 lines
8 substitutions on 8 lines
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/195" [17;20H[K[17;20H9L, 292C written
"test49.in" [17;13H[K[17;13H30L, 632C
function G(arg, line)
1 call T(a:arg, a:line)
endfunction[18;1H"/tmp/vekLUii/196"[18;20H[K[19;1H[K[20;4H[K[18;20H[noeol] 4L, 69C
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/196" [19;20H[K[19;20H1L, 30C written
"test49.in" [19;13H[K[19;13H30L, 632C
function F(arg, line)
1 call G(a:arg, a:line)
endfunction[20;1H"/tmp/vekLUii/197"[20;20H[K[21;1H[K[22;4H[K[20;20H[noeol] 4L, 69C
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/197" [21;20H[K[21;20H1L, 30C written
"test49.in" [21;13H[K[21;13H30L, 632C
*** Test 57: OK (2147450880)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9802[23;1HL, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/198[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/198" [24;20H[K[24;20H87L, 1700C appended[24;20H[K[24;20H88L, 1722C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/199[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -
[23;80Hc[24;2H'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/199"' -c 'break
[23;80Ha[24;1Hdd func 4 T' -S /tmp/vekLUii/198[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/199" 8L, 36C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 58: OK (624945)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/200[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/200" [24;20H[K[24;20H293L, 5789C appended[24;20H[K[24;20H294L, 5811C
3 substitutions on 3 lines
"/tmp/vekLUii/200"[24;20H[K[24;20H294L, 5808C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/201[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo
[23;80H'[24;2H-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/201"' -c 'br
[23;80He[24;1Hakadd file 115 /tmp/vekLUii/200' -c 'breakadd file 225 /tmp/vekLUii/200' -S /tm
[23;80Hp[24;1H/vekLUii/200[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/201" 28L, 162C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** 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"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/202[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/202" [24;20H[K[24;20H33L, 765C appended[24;20H[K[24;20H34L, 787C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/203[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -
[23;80Hc[24;2H'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/203"' -c 'break
[23;80Ha[24;1Hdd file 7 /tmp/vekLUii/202' -S /tmp/vekLUii/202[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/203" 3L, 27C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 60: OK (311511339)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/204[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/204" [24;20H[K[24;20H115L, 2272C appended[24;20H[K[24;20H116L, 2294C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/205[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin
[23;80Hf[24;1Ho+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/
[23;80H2[24;1H05"' -c 'breakadd file 8 /tmp/vekLUii/204' -c 'breakadd file 36 /tmp/vekLUii/20
[23;80H4[24;1H' -c 'breakadd file 40 /tmp/vekLUii/204' -c 'breakadd file 69 /tmp/vekLUii/204'
-c 'breakadd file 95 /tmp/vekLUii/204' -c 'breakadd file 97 /tmp/vekLUii/204' -
[23;80HS[24;2H/tmp/vekLUii/204[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/205" 14L, 81C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 61: OK (374889517)
function F()
1 while 1
2 " Missing :endwhile
endfunction[21;1H"/tmp/vekLUii/206"[22;1H[K[23;1H[K[24;4H[K[21;20H[noeol] 5L, 73C
E486: Pattern not found: ^\s*$
"/tmp/vekLUii/206" [22;20H[K[22;20H2L, 40C written
"test49.in" [22;13H[K[22;13H30L, 632C
*** Test 62: OK (286331153)
"/i/m/p/o/s/s/i/b/l/e" [23;24H[K[24;1H[1m[33mline 6342:[0m
[1m[37m[41m"/i/m/p/o/s/s/i/b/l/e" E212: Can't open file for writing[0m
*** Test 63: OK (236978127)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/207[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/207" [24;20H[K[24;20H149L, 2828C appended[24;20H[K[24;20H150L, 2850C
6 substitutions on 6 lines
"/tmp/vekLUii/207"[24;20H[K[24;20H150L, 2844C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/208[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -
[23;80Hc[24;2H'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/208"' -c 'break
[23;80Ha[24;1Hdd file 63 /tmp/vekLUii/207' -S /tmp/vekLUii/207[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/208" 16L, 97C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 64: OK (1499645335)
*** Test 65: OK (70187)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/209[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/209" [24;20H[K[24;20H78L, 1520C appended[24;20H[K[24;20H79L, 1542C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/210[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -
[23;80Hc[24;2H'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/210"' -c 'break
[23;80Ha[24;1Hdd func 8 F' -S /tmp/vekLUii/209[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/210" 6L, 22C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** 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/vekLUii/211" [New File]
"test49.in" [24;13H[K[24;13H30L, 632C
"/tmp/vekLUii/212" [New File]
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 74: OK (224907669)
*** Test 75: OK (2000403408)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/213[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/213" [24;20H[K[24;20H253L, 6369C appended[24;20H[K[24;20H254L, 6391C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/214[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|
[23;80Hs[24;1Het viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp
[23;80H/[24;1HvekLUii/214"' -c 'breakadd func 2 INT' -S /tmp/vekLUii/213[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/214" 28L, 167C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 76: OK (1610087935)
[1m[37m[41mError detected while processing function ERR:[0m
[1m[33mline 2:[0m
[1m[37m[41mE492: Not an editor command: asdf[0m
[1m[37m[41mE492: Not an editor command: asdf[0m
[1m[37m[41mE492: Not an editor command: asdf[0m
*** Test 77: OK (1388671)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/215[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/215" [24;20H[K[24;20H161L, 4543C appended[24;20H[K[24;20H162L, 4565C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/216[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/216"' -S /tmp/vekL
[23;80HU[24;1Hii/215[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/216" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 78: OK (134217728)
[1m[37m[41mError detected while processing function NEXT:[0m
[1m[33mline 1:[0m
[1m[37m[41mE121: Undefined variable: novar[0m
[1m[37m[41mE15: Invalid expression: novar | Xloop 1[0m
[1m[37m[41mE121: Undefined variable: novar[0m
[1m[37m[41mE488: Trailing characters[0m
[1m[37m[41mE108: No such variable: "novar"[0m
[1m[37m[41mE488: Trailing characters[0m
[1m[37m[41mE121: Undefined variable: novar[0m
[1m[37m[41mE15: Invalid expression: novar[0m
[1m[37m[41mE475: Invalid argument: {novar} | Xloop 1[0m
[1m[37m[41mE121: Undefined variable: novar[0m
[1m[37m[41mE15: Invalid expression: novar[0m
[1m[37m[41mE475: Invalid argument: { novar} | Xloop 1[0m
*** Test 79: OK (70288929)
[1m[37m[41mError detected while processing /<<PKGBUILDDIR>>/src/vim-basic/tes[0m
[23;80H[1m[37m[41mt[24;1Hdir/test49.vim:[0m
[1m[33mline 8828:[0m
[1m[37m[41mE584: :elseif after :else: elseif 1 ||| 2[0m
[1m[33mline 8838:[0m
[1m[37m[41mE584: :elseif after :else: elseif 1 ||| 2[0m
[1m[33mline 8846:[0m
[1m[37m[41mE582: :elseif without :if: elseif 1 ||| 2[0m
[1m[33mline 8854:[0m
[1m[37m[41mE582: :elseif without :if: elseif 1 ||| 2[0m
*** Test 80: OK (17895765)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/217[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/217" [24;20H[K[24;20H15L, 272C appended[24;20H[K[24;20H16L, 294C[24;20H[K[24;20H16L, 293C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/218[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/218"' -S /tmp/vekL
[23;80HU[24;1Hii/217[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/218" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/219[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/219" [24;20H[K[24;20H12L, 227C appended[24;20H[K[24;20H13L, 249C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/220[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -
[23;80Hc[24;2H'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/220"' -c 'break
[23;80Ha[24;1Hdd file 8 /tmp/vekLUii/219' -S /tmp/vekLUii/219[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/220" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 81: OK (387)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/221[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/221" [24;20H[K[24;20H20L, 417C appended[24;20H[K[24;20H21L, 439C[24;20H[K[24;20H21L, 438C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/222[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/222"' -S /tmp/vekL
[23;80HU[24;1Hii/221[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/222" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/223[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/223" [24;20H[K[24;20H24L, 480C appended[24;20H[K[24;20H25L, 502C[24;20H[K[24;20H25L, 501C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/224[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/224"' -S /tmp/vekL
[23;80HU[24;1Hii/223[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/224" 1L, 4C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/225[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/225" [24;20H[K[24;20H17L, 390C appended[24;20H[K[24;20H18L, 412C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/226[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -
[23;80Hc[24;2H'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/226"' -c 'break
[23;80Ha[24;1Hdd file 7 /tmp/vekLUii/225' -S /tmp/vekLUii/225[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/226" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/227[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/227" [24;20H[K[24;20H21L, 444C appended[24;20H[K[24;20H22L, 466C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/228[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -
[23;80Hc[24;2H'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/228"' -c 'break
[23;80Ha[24;1Hdd func 6 I' -S /tmp/vekLUii/227[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/228" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 82: OK (8454401)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/229[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/229" [24;20H[K[24;20H17L, 307C appended[24;20H[K[24;20H18L, 329C[24;20H[K[24;20H18L, 328C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/230[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '
[23;80Hl[24;1Het ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/230"' -S /tmp/vekL
[23;80HU[24;1Hii/229[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/230" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/231[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/231" [24;20H[K[24;20H14L, 266C appended[24;20H[K[24;20H15L, 288C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/232[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -
[23;80Hc[24;2H'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/232"' -c 'break
[23;80Ha[24;1Hdd file 8 /tmp/vekLUii/231' -S /tmp/vekLUii/231[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/232" 3L, 13C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 83: OK (2835)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/233[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/233" [24;20H[K[24;20H154L, 3580C appended[24;20H[K[24;20H155L, 3602C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/234[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo
[23;80H'[24;2H-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/234"' -c 'br
[23;80He[24;1Hakadd func 1 INT' -S /tmp/vekLUii/233[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/234" 18L, 118C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 84: OK (934782101)
TMP
"/tmp/vekLUii/235" [noeol] 2L, 6C[24;1H[K[24;1H/
"test49.in" 30L, 632C
"/n/o/n/e/x/i/s/t/e/n/t"
"/tmp/vekLUii/237" 1L, 1C
"test49.in" [24;13H[K[24;13H30L, 632C
:!echo XYZ >/tmp/vekLUii/238[?25h[?0c[24;1H
[?25l[?1c[24;1H"/tmp/vekLUii/239" [New File]
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 85: OK (198689)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!echo 'source /tmp/vekLUii/3' >/tmp/vekLUii/240[?25h[?0c[24;1H
[?25l[?1c[24;1H/^\s*if\s\+ExtraVim(.*)/+
[25C1
"/tmp/vekLUii/240" [24;20H[K[24;20H151L, 3929C appended[24;20H[K[24;20H152L, 3951C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
:!>/tmp/vekLUii/241[?25h[?0c[24;1H
[?25l[?1c[24;1H:!echo 'q[1m[34m^M[0mq[1m[34m^M[0mq[1m[34m^M[0mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nvimi
[23;80Hn[24;1Hfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vekLUii/241"' -c
[23;80H'[24;1Hbreakadd func 5 ThrowOnInterrupt' -S /tmp/vekLUii/240[?25h[?0c[24;1H
shell returned 1
[?25l[?1c[24;1H"/tmp/vekLUii/241" 16L, 281C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<XdRqEP/vim-7.3.547/src/vim-basic/testdir/test49.vim" [readonly] 9802L, 224143C
"test49.in" [24;13H[K[24;13H30L, 632C
*** Test 86: OK (50443995)
[1m[32mPress ENTER or type command to continue[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[1;1H: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:[22;1H[?25h[?0c
[?25l[?1c
91 more lines[1;23r[23;1H
[1;24r[23;1H*** Test 1: OK (34695)[24;1H[K[24;1H91 more lines[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.-,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New] 92L, 2672C written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" make valgrind happy
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0credir => funclist
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csilent func
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0credir END
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfor line in split(funclist, "\n")
[?25l[?1c
: [?25h[?0c: let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')
[?25l[?1c: [?25h[?0c: if name != ''
[?25l[?1c: [?25h[?0c: exe "delfunc " . name
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c:endfor
[1;1H[5L[?25l[?1c[1;1H:lang mess C
:so test49.vim
GGGGGGGGGGGGGG"rp:.-,$w! test.out
:"
:" make valgrind happy[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cfor v in keys(g:)
[?25l[?1c
: [?25h[?0c: silent! exe "unlet " . v
[?25l[?1c: [?25h[?0c:endfor
[1;1H[2L[?25l[?1c[1;1H:lang mess C
:so test49.vim[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cunlet v
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test51.in" 36 lines, 808 characters[1;1HTests 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=#00[11;1Hff00 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for ":highlight". vim: set ft=vim :[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 31 lines, 746 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[13M[1;24r[11;1H: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[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" basic test if ":highlight" doesn't crash
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0chighlight
[?25l[?1c
SpecialKey [1m[34mxxx[0m [1m[36mterm=[0mbold [1m[36mcterm=[0mbold [1m[36mctermfg=[0m4 [1m[36mguifg=[0mCyan
NonText[8C[1m[34mxxx[0m [1m[36mterm=[0mbold [1m[36mcterm=[0mbold [1m[36mctermfg=[0m4 [1m[36mgui=[0mbold [1m[36mguifg=[0mBlue
Directory [1m[36mxxx[0m [1m[36mterm=[0mbold [1m[36mcterm=[0mbold [1m[36mctermfg=[0m6 [1m[36mguifg=[0mCyan
ErrorMsg[7C[1m[37m[41mxxx[0m [1m[36mterm=[0mstandout [1m[36mcterm=[0mbold [1m[36mctermfg=[0m7 [1m[36mctermbg=[0m1 [1m[36mguifg=[0mWhite
[19C[1m[36mguibg=[0mRed
IncSearch [7mxxx[0m [1m[36mterm=[0mreverse [1m[36mcterm=[0mreverse [1m[36mgui=[0mreverse
Search[9C[30m[43mxxx[0m [1m[36mterm=[0mreverse [1m[36mctermfg=[0m0 [1m[36mctermbg=[0m3 [1m[36mguifg=[0mBlack [1m[36mguibg=[0mYellow
MoreMsg[8C[1m[32mxxx[0m [1m[36mterm=[0mbold [1m[36mcterm=[0mbold [1m[36mctermfg=[0m2 [1m[36mgui=[0mbold [1m[36mguifg=[0mSeaGreen
ModeMsg[8C[1mxxx[0m [1m[36mterm=[0mbold [1m[36mcterm=[0mbold [1m[36mgui=[0mbold
LineNr[9C[1m[33mxxx[0m [1m[36mterm=[0munderline [1m[36mcterm=[0mbold [1m[36mctermfg=[0m3 [1m[36mguifg=[0mYellow
CursorLineNr [1m[33mxxx[0m [1m[36mterm=[0mbold [1m[36mcterm=[0mbold [1m[36mctermfg=[0m3 [1m[36mgui=[0mbold [1m[36mguifg=[0mYellow
Question[7C[1m[32mxxx[0m [1m[36mterm=[0mstandout [1m[36mcterm=[0mbold [1m[36mctermfg=[0m2 [1m[36mgui=[0mbold [1m[36mguifg=[0mGreen
StatusLine [1m[7mxxx[0m [1m[36mterm=[0mbold,reverse [1m[36mcterm=[0mbold,reverse [1m[36mgui=[0mbold,reverse
StatusLineNC [7mxxx[0m [1m[36mterm=[0mreverse [1m[36mcterm=[0mreverse [1m[36mgui=[0mreverse
VertSplit [7mxxx[0m [1m[36mterm=[0mreverse [1m[36mcterm=[0mreverse [1m[36mgui=[0mreverse
Title[10C[1m[35mxxx[0m [1m[36mterm=[0mbold [1m[36mcterm=[0mbold [1m[36mctermfg=[0m5 [1m[36mgui=[0mbold [1m[36mguifg=[0mMagenta
Visual[9C[7mxxx[0m [1m[36mterm=[0mreverse [1m[36mcterm=[0mreverse [1m[36mguibg=[0mDarkGrey
VisualNOS xxx cleared
WarningMsg [1m[31mxxx[0m [1m[36mterm=[0mstandout [1m[36mcterm=[0mbold [1m[36mctermfg=[0m1 [1m[36mguifg=[0mRed
WildMenu[7C[30m[43mxxx[0m [1m[36mterm=[0mstandout [1m[36mctermfg=[0m0 [1m[36mctermbg=[0m3 [1m[36mguifg=[0mBlack [1m[36mguibg=[0mYellow
Folded[9C[1m[36m[40mxxx[0m [1m[36mterm=[0mstandout [1m[36mcterm=[0mbold [1m[36mctermfg=[0m6 [1m[36mctermbg=[0m0 [1m[36mguifg=[0mCyan
[19C[1m[36mguibg=[0mDarkGrey
FoldColumn [1m[36m[40mxxx[0m [1m[36mterm=[0mstandout [1m[36mcterm=[0mbold [1m[36mctermfg=[0m6 [1m[36mctermbg=[0m0 [1m[36mguifg=[0mCyan
[19C[1m[36mguibg=[0mGrey
DiffAdd[8C[44mxxx[0m [1m[36mterm=[0mbold [1m[36mctermbg=[0m4 [1m[36mguibg=[0mDarkBlue
DiffChange [45mxxx[0m [1m[36mterm=[0mbold [1m[36mctermbg=[0m5 [1m[36mguibg=[0mDarkMagenta
DiffDelete [1m[34m[46mxxx[0m [1m[36mterm=[0mbold [1m[36mcterm=[0mbold [1m[36mctermfg=[0m4 [1m[36mctermbg=[0m6 [1m[36mgui=[0mbold [1m[36mguifg=[0mBlue
[19C[1m[36mguibg=[0mDarkCyan
DiffText[7C[1m[41mxxx[0m [1m[36mterm=[0mreverse [1m[36mcterm=[0mbold [1m[36mctermbg=[0m1 [1m[36mgui=[0mbold [1m[36mguibg=[0mRed
SignColumn [1m[36m[40mxxx[0m [1m[36mterm=[0mstandout [1m[36mcterm=[0mbold [1m[36mctermfg=[0m6 [1m[36mctermbg=[0m0 [1m[36mguifg=[0mCyan
[19C[1m[36mguibg=[0mGrey
Conceal[8C[37m[40mxxx[0m [1m[36mctermfg=[0m7 [1m[36mctermbg=[0m0 [1m[36mguifg=[0mLightGrey [1m[36mguibg=[0mDarkGrey
SpellBad[7C[41mxxx[0m [1m[36mterm=[0mreverse [1m[36mctermbg=[0m1 [1m[36mgui=[0mundercurl [1m[36mguisp=[0mRed
SpellCap[7C[44mxxx[0m [1m[36mterm=[0mreverse [1m[36mctermbg=[0m4 [1m[36mgui=[0mundercurl [1m[36mguisp=[0mBlue
SpellRare [45mxxx[0m [1m[36mterm=[0mreverse [1m[36mctermbg=[0m5 [1m[36mgui=[0mundercurl [1m[36mguisp=[0mMagenta
SpellLocal [46mxxx[0m [1m[36mterm=[0munderline [1m[36mctermbg=[0m6 [1m[36mgui=[0mundercurl [1m[36mguisp=[0mCyan
Pmenu[10C[30m[45mxxx[0m [1m[36mctermfg=[0m0 [1m[36mctermbg=[0m5 [1m[36mguibg=[0mMagenta
PmenuSel[7C[30m[40mxxx[0m [1m[36mctermfg=[0m0 [1m[36mctermbg=[0m0 [1m[36mguibg=[0mDarkGrey
PmenuSbar [47mxxx[0m [1m[36mctermbg=[0m7 [1m[36mguibg=[0mGrey
PmenuThumb [47mxxx[0m [1m[36mctermbg=[0m7 [1m[36mguibg=[0mWhite
TabLine[8C[1m[4m[37m[40mxxx[24m[0m [1m[36mterm=[0munderline [1m[36mcterm=[0mbold,underline [1m[36mctermfg=[0m7 [1m[36mctermbg=[0m0
[19C[1m[36mgui=[0munderline [1m[36mguibg=[0mDarkGrey
TabLineSel [1mxxx[0m [1m[36mterm=[0mbold [1m[36mcterm=[0mbold [1m[36mgui=[0mbold
TabLineFill [7mxxx[0m [1m[36mterm=[0mreverse [1m[36mcterm=[0mreverse [1m[36mgui=[0mreverse
CursorColumn [40mxxx[0m [1m[36mterm=[0mreverse [1m[36mctermbg=[0m0 [1m[36mguibg=[0mGrey40
CursorLine [4mxxx[24m [1m[36mterm=[0munderline [1m[36mcterm=[0munderline [1m[36mguibg=[0mGrey40
ColorColumn [41mxxx[0m [1m[36mterm=[0mreverse [1m[36mctermbg=[0m1 [1m[36mguibg=[0mDarkRed
MatchParen [46mxxx[0m [1m[36mterm=[0mreverse [1m[36mctermbg=[0m6 [1m[36mguibg=[0mDarkCyan
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0chi Search
[?25l[?1c
Search[9C[30m[43mxxx[0m [1m[36mterm=[0mreverse [1m[36mctermfg=[0m0 [1m[36mctermbg=[0m3 [1m[36mguifg=[0mBlack [1m[36mguibg=[0mYellow
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c" test setting colors.
[?25l[?1c[27m[24m[0m[H[J[1;1H: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
[?25h[?0c[?25l[?1c
:[?25h[?0c" test clearing one color and all doesn't generate error or warning
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0chi NewGroup term=bold cterm=italic ctermfg=DarkBlue ctermbg=Grey gui= guifg=#0
[23;80H0[24;1Hff00 guibg=Cyan
[?25l[?1c[23;1H[1m[37m[41mE418: Illegal value: guifg=#00ff00[0m[23;35H[K[24;1H[K[24;1H[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0chi Group2 term= cterm=
[?25l[?1c[1m[37m[41mE418: Illegal value: cterm=[0m
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0chi Group3 term=underline cterm=bold
[?25l[?1c[1;1H[2L[1;1H:hi NewGroup
:hi Group2[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0credir! >test.out
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0chi NewGroup
[?25l[?1c
NewGroup[7C[7m[34m[47mxxx[0m [1m[36mterm=[0mbold [1m[36mcterm=[0mitalic [1m[36mctermfg=[0m4 [1m[36mctermbg=[0m7
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0chi Group2
[?25l[?1c
Group2[9Cxxx cleared
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0chi Group3
[?25l[?1c
Group3[9C[1mxxx[0m [1m[36mterm=[0munderline [1m[36mcterm=[0mbold
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0chi clear NewGroup
[?25l[?1c[1;1H[6L[1;1H:hi NewGroup
:hi Group2
:hi Group3
:hi clear NewGroup
:hi NewGroup
:hi Group2[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0chi NewGroup
[?25l[?1c
NewGroup[7Cxxx cleared
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0chi Group2
[?25l[?1c
Group2[9Cxxx cleared
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0chi Group2 NONE
[?25l[?1c[1;1H[4L[1;1H:hi NewGroup
:hi Group2
:hi Group3
:hi clear NewGroup[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0chi Group2
[?25l[?1c
Group2[9Cxxx cleared
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0chi clear
[?25l[?1c[27m[24m[0m[H[J[1;1H: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
[?25h[?0c[?25l[?1c
:[?25h[?0chi Group3
[?25l[?1c
Group3[9Cxxx cleared
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0chi Crash term='asdf
[?25l[?1c[1m[37m[41mE475: Invalid argument: term='asdf[0m
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0credir END
[?25l[?1c[1;1H[3L[1;1H:hi NewGroup
:hi Group2
:hi Group3[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c" filter ctermfg and ctermbg, the numbers depend on the terminal
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce test.out
[?25l[?1c"test.out" 20 lines, 289 characters[1;1H[K[2;1H[K[3;1HNewGroup xxx term=bold cterm=italic ctermfg=4 ctermbg=7[4;1H[K[5;1HGroup2 xxx cleared[6;1H[K[7;1HGroup3 xxx term=underline cterm=bold[8;1H[K[9;1H[K[10;1HNewGroup xxx cleared[11;1H[K[12;1HGroup2 xxx cleared[13;1H[K[14;1H[K[15;1HGroup2 xxx cleared[16;1H[K[17;1H[K[18;1HGroup3 xxx cleared[19;1H[K[20;1HE475: Invalid argument: term='asdf
[1m[34m~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c%s/ctermfg=\d*/ctermfg=2/
[?25l[?1c[3;51H2
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c%s/ctermbg=\d*/ctermbg=3/
[?25l[?1c[3;61H3
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" filter out possibly translated error message
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c%s/E475: [^:]*:/E475:/
[?25l[?1c[20;7Hterm='asdf[20;17H[K[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" fix the fileformat
[?25l[?1c[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ff&
[?25l[?1c[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cwq!
[?25l[?1c"test.out" 20 lines, 271 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test52.in" 65 lines, 1645 characters[1;1HTests 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for reading and writing files with conversion for Win32.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 57 lines, 1333 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H: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[?1c[24;1H:so! Xdotest
[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso mbyte.vim
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" make this a dummy test for non-Win32 systems
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif !has("win32") | e! test.ok | wq! test.out | endif
[?25l[?1c"test.ok" [24;11H[K[24;11H18 lines, 1374 characters
"test.out" [New File] 18 lines, 1374 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test53.in" 48 lines, 952 characters[1;1HTests 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()
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
fXdat
0fXdat[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for string and html text objects. vim: set ft=vim :[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[7;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[8;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 24 lines, 461 characters written[8;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[8;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[9M[1;24r[15;1H:"
:put =matchstr(\"abcd\", \".\", 0, 2) " b
:put =matchstr(\"abcd\", \"..\", 0, 2) " bc
:put =matchstr(\"abcd\", \".\", 2, 0) " c (zero and negative -> first match)
:put =matchstr(\"abcd\", \".\", 0, -1) " a
:put =match(\"abcd\", \".\", 0, 5) " -1
:put =match(\"abcd\", \".\", 0, -1) " 0
:/^start:/,/^end:/wq! test.out
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^start:/
[?25l[?1c[24;9H[K[24;1H[1;23r[23;1H
[1;24r[23;1Hstart: "wo\"rd\\" foo[24;1H[K[23;1H[?25h[?0c[?25l[?1c[7Cfo[23;11H[K[23;8H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H'foo' 'bar' 'piep'[23;8H[?25h[?0c
[?25l[?1c[?25h[?0c[?25l[?1c[7m'foo'[?25h[?0c[?25l[?1c 'bar'[?25h[?0c[?25l[?1c[0m
xxxxxxxxxxxx
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hbla bla `quote` blah
[?25h[?0c[14C[?25l[?1cblah[23;13H[K[23;9H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hout " in "noXno"[23;9H[?25h[?0c
[12C[?25l[?1c"[23;12H[K[23;11H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H"'" 'blah' rep 'buh'[23;11H[?25h[?0c
[9C[?25l[?1c[?25h[?0c[?25l[?1c'[7m rep[?25h[?0c[?25l[?1c[0myyyyy[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hbla `s*`d-`+++`l**` b`la[23;11H[?25h[?0c[?25l[?1c
:[?25h[?0cset quoteescape=+*-
[?25l[?1c[23;11H[?25h[?0c[?25l[?1c` b`la[23;12H[K[23;6H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hvoo "nah" sdf " asdf" sdf " sdf" sd[24;1H[K[23;6H[?25h[?0c[29C[?25l[?1c[?25h[?0c[?25l[?1c[7m" sdf"[?25h[?0c[?25l[?1c[0m"[5C[7m [23;27H[?25h[?0c[?25l[?1c"[?25h[?0c[?25l[?1c[23;16H asdf" sdf [23;15H[?25h[?0c[?25l[?1c[23;7Hah" sdf "
[0mvoo "[?25h[?0c[?25l[?1czzzzzzzzzzzzzzzzzzzzzzzzzzzz
voo "[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^<begin
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H<begin>[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H-<b>asdf<i>Xasdf</i>asdf</b>-
[?25h[?0c[11C[?25l[?1c</i>asdf</b>-[23;25H[K[23;12H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H-<b>asdX<i>a<i />sdf</i>asdf</b>-[23;12H[?25h[?0c
[7C[?25l[?1c</b>-[23;10H[K[23;5H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H-<b>asdf<i>Xasdf</i>asdf</b>-
-<b>[?25h[?0c[7C[?25l[?1casdf</b>-[23;18H[K[23;9H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H-<b>asdX<i>as<b />df</i>asdf</b>-[23;9H[?25h[?0c
[7C[?25l[?1c
--[23;3H[K[23;2H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H</begin>
<[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[23;2H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cput =matchstr(\"abcd\", \".\", 0, 2) " b
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hb[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cput =matchstr(\"abcd\", \"..\", 0, 2) " bc
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hbc[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cput =matchstr(\"abcd\", \".\", 2, 0) " c (zero and negative -> first match)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hc[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cput =matchstr(\"abcd\", \".\", 0, -1) " a
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Ha[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cput =match(\"abcd\", \".\", 0, 5) " -1
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H-1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cput =match(\"abcd\", \".\", 0, -1) " 0
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^start:/,/^end:/wq! test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H[New File] 21 lines, 217 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test54.in" 22 lines, 658 characters[1;1HSome 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.o[9;1Hut
:else
: !rm -f test.out
: au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out
:endif
:e somefile[11C" here, autocommand for xx shall write test.out
:[21C" but autocommand shall not apply to buffer named <buffer>[16;1H:bwipe xx[13C" here, autocommand shall be auto-deleted
:e xx[17C" nothing shall be written
:e somefile[11C" nothing shall be written
:qa!
ENDTEST
start of test file xx
end of test file xx[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HSome tests for buffer-local autocommands[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 15 lines, 555 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[20;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce xx
[?25l[?1c"xx" [New File][1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cif has("vms")
[?25l[?1c
: [?25h[?0c: !del test.out.*
[?25l[?1c: [?25h[?0c: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > te
[23;80Hs[24;1Ht.out
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: !rm -f test.out
[?25l[?1c:!rm -f test.out[?25h[?0c[24;1H
[?25l[?1c[24;1H: [?25h[?0c: au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out
[?25l[?1c: [?25h[?0c:endif
[27m[24m[0m[H[J[?25l[?1c[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0ce somefile " here, autocommand for xx shall write test.out
[?25l[?1c:!echo buffer-local autommand in xx>> test.out[24;47H[K[24;47H
[?25h[?0c[?25l[?1c[24m[0m"somefile" [New File]
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c " but autocommand shall not apply to buffer named <buffer
[23;80H>[24;1H[?25l[?1c[27m[24m[0m[H[J[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0cbwipe xx " here, autocommand shall be auto-deleted
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce xx " nothing shall be written
[?25l[?1c"xx" [New File][24;23H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce somefile " nothing shall be written
[?25l[?1c"somefile" [New File][24;23H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test55.in" 384 lines, 7875 characters[1;1HTests for List and Dictionary types. vim: set ft=vim :
STARTTEST
:so small.vim
:fun Test(...)
:" 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])
:"
:" List identity[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for List and Dictionary types. vim: set ft=vim :[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 378 lines, 7789 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:let d = { 'a': {'b': 'B'}}
:call extend(d, d)
:$put =string(d)
:"
:" Pass the same Dict to extend() with "error"
:try
: call extend(d, d, "error")
:catch
: $put =v:exception[:15] . v:exception[-1:-1]
:endtry
:$put =string(d)
:endfun
:"
:call Test(1, 2, [3, 4], {5: 6}) " This may take a while
:"
:delfunc Test
:unlet dict
:call garbagecollect(1)
:"
:/^start:/,$wq! test.out
ENDTEST
start:[21;1H[?25h[?0c
[?25l[?1c
:so! Xdotest
[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfun Test(...)
[?25l[?1c
: [?25h[?0c:" Creating List directly with different types
[?25l[?1c: [?25h[?0c:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0c:$put =string(l[-1])
[?25l[?1c: [?25h[?0c:$put =string(l[-4])
[?25l[?1c: [?25h[?0c:try
[?25l[?1c: [?25h[?0c: $put =string(l[-5])
[?25l[?1c: [?25h[?0c:catch
[?25l[?1c: [?25h[?0c: $put =v:exception[:14]
[?25l[?1c: [?25h[?0c:endtry
[?25l[?1c: [?25h[?0c:" List slices
[?25l[?1c: [?25h[?0c:$put =string(l[:])
[?25l[?1c: [?25h[?0c:$put =string(l[1:])
[?25l[?1c: [?25h[?0c:$put =string(l[:-2])
[?25l[?1c: [?25h[?0c:$put =string(l[0:8])
[?25l[?1c: [?25h[?0c:$put =string(l[8:-1])
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:" List identity
[?25l[?1c: [?25h[?0c:let ll = l
[?25l[?1c: [?25h[?0c:let lx = copy(l)
[?25l[?1c: [?25h[?0c:try
[?25l[?1c: [?25h[?0c: $put =(l == ll) . (l isnot ll) . (l is ll) . (l == lx) . (l is lx) . (l
isnot lx)
[?25l[?1c: [?25h[?0c:catch
[?25l[?1c: [?25h[?0c: $put =v:exception
[?25l[?1c: [?25h[?0c:endtry
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:" Creating Dictionary directly with different types
[?25l[?1c: [?25h[?0c:let d = {001: 'asd', 'b': [1, 2, function('strlen')], -1: {'a': 1},}
[?25l[?1c: [?25h[?0c:$put =string(d) . d.1
[?25l[?1c: [?25h[?0c:$put =string(sort(keys(d)))
[?25l[?1c: [?25h[?0c:$put =string (values(d))
[?25l[?1c: [?25h[?0c:for [key, val] in items(d)
[?25l[?1c: [?25h[?0c: $put =key . ':' . string(val)
[?25l[?1c: [?25h[?0c: unlet key val
[?25l[?1c: [?25h[?0c:endfor
[?25l[?1c: [?25h[?0c:call extend (d, {3:33, 1:99})
[?25l[?1c: [?25h[?0c:call extend(d, {'b':'bbb', 'c':'ccc'}, "keep")
[?25l[?1c: [?25h[?0c:try
[?25l[?1c: [?25h[?0c: call extend(d, {3:333,4:444}, "error")
[?25l[?1c: [?25h[?0c:catch
[?25l[?1c: [?25h[?0c: $put =v:exception[:15] . v:exception[-1:-1]
[?25l[?1c: [?25h[?0c:endtry
[?25l[?1c: [?25h[?0c:$put =string(d)
[?25l[?1c: [?25h[?0c:call filter(d, 'v:key =~ ''[ac391]''')
[?25l[?1c: [?25h[?0c:$put =string(d)
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:" Dictionary identity
[?25l[?1c: [?25h[?0c:let dd = d
[?25l[?1c: [?25h[?0c:let dx = copy(d)
[?25l[?1c: [?25h[?0c:try
[?25l[?1c: [?25h[?0c: $put =(d == dd) . (d isnot dd) . (d is dd) . (d == dx) . (d is dx) . (d
isnot dx)
[?25l[?1c: [?25h[?0c:catch
[?25l[?1c: [?25h[?0c: $put =v:exception
[?25l[?1c: [?25h[?0c:endtry
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:" Changing var type should fail
[?25l[?1c: [?25h[?0c:try
[?25l[?1c: [?25h[?0c: let d = []
[?25l[?1c: [?25h[?0c:catch
[?25l[?1c: [?25h[?0c: $put =v:exception[:14] . v:exception[-1:-1]
[?25l[?1c: [?25h[?0c:endtry
[?25l[?1c: [?25h[?0c:try
[?25l[?1c: [?25h[?0c: let l = {}
[?25l[?1c: [?25h[?0c:catch
[?25l[?1c: [?25h[?0c: $put =v:exception[:14] . v:exception[-1:-1]
[?25l[?1c: [?25h[?0c:endtry
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:" removing items with :unlet
[?25l[?1c: [?25h[?0c:unlet l[2]
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0c:let l = range(8)
[?25l[?1c: [?25h[?0c:try
[?25l[?1c: [?25h[?0c:unlet l[:3]
[?25l[?1c: [?25h[?0c:unlet l[1:]
[?25l[?1c: [?25h[?0c:catch
[?25l[?1c: [?25h[?0c:$put =v:exception
[?25l[?1c: [?25h[?0c:endtry
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:unlet d.c
[?25l[?1c: [?25h[?0c:unlet d[-1]
[?25l[?1c: [?25h[?0c:$put =string(d)
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:" removing items out of range: silently skip items that don't exist
[?25l[?1c: [?25h[?0clet l = [0, 1, 2, 3]
[?25l[?1c: [?25h[?0c:unlet l[2:1]
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0clet l = [0, 1, 2, 3]
[?25l[?1c: [?25h[?0c:unlet l[2:2]
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0clet l = [0, 1, 2, 3]
[?25l[?1c: [?25h[?0c:unlet l[2:3]
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0clet l = [0, 1, 2, 3]
[?25l[?1c: [?25h[?0c:unlet l[2:4]
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0clet l = [0, 1, 2, 3]
[?25l[?1c: [?25h[?0c:unlet l[2:5]
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0clet l = [0, 1, 2, 3]
[?25l[?1c: [?25h[?0c:unlet l[-1:2]
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0clet l = [0, 1, 2, 3]
[?25l[?1c: [?25h[?0c:unlet l[-2:2]
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0clet l = [0, 1, 2, 3]
[?25l[?1c: [?25h[?0c:unlet l[-3:2]
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0clet l = [0, 1, 2, 3]
[?25l[?1c: [?25h[?0c:unlet l[-4:2]
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0clet l = [0, 1, 2, 3]
[?25l[?1c: [?25h[?0c:unlet l[-5:2]
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0clet l = [0, 1, 2, 3]
[?25l[?1c: [?25h[?0c:unlet l[-6:2]
[?25l[?1c: [?25h[?0c:$put =string(l)
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:" assignment to a list
[?25l[?1c: [?25h[?0c:let l = [0, 1, 2, 3]
[?25l[?1c: [?25h[?0c:let [va, vb] = l[2:3]
[?25l[?1c: [?25h[?0c:$put =va
[?25l[?1c: [?25h[?0c:$put =vb
[?25l[?1c: [?25h[?0c:try
[?25l[?1c: [?25h[?0c: let [va, vb] = l
[?25l[?1c: [?25h[?0c:catch
[?25l[?1c: [?25h[?0c: $put =v:exception[:14]
[?25l[?1c: [?25h[?0c:endtry
[?25l[?1c: [?25h[?0c:try
[?25l[?1c: [?25h[?0c: let [va, vb] = l[1:1]
[?25l[?1c: [?25h[?0c:catch
[?25l[?1c: [?25h[?0c: $put =v:exception[:14]
[?25l[?1c: [?25h[?0c:endtry
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:" manipulating a big Dictionary (hashtable.c has a border of 1000 entries)
[?25l[?1c: [?25h[?0c:let d = {}
[?25l[?1c: [?25h[?0c:for i in range(1500)
[?25l[?1c: [?25h[?0c: let d[i] = 3000 - i
[?25l[?1c: [?25h[?0c:endfor
[?25l[?1c: [?25h[?0c:$put =d[0] . ' ' . d[100] . ' ' . d[999] . ' ' . d[1400] . ' ' . d[1499]
[?25l[?1c: [?25h[?0c:try
[?25l[?1c: [?25h[?0c: let n = d[1500]
[?25l[?1c: [?25h[?0c:catch
[?25l[?1c: [?25h[?0c: $put =substitute(v:exception, '\v(.{14}).*( \d{4}).*', '\1\2', '')
[?25l[?1c: [?25h[?0c:endtry
[?25l[?1c: [?25h[?0c:" lookup each items
[?25l[?1c: [?25h[?0c:for i in range(1500)
[?25l[?1c: [?25h[?0c: if d[i] != 3000 - i
[?25l[?1c: [?25h[?0c: $put =d[i]
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c:endfor
[?25l[?1c: [?25h[?0c: let i += 1
[?25l[?1c: [?25h[?0c:" delete even items
[?25l[?1c: [?25h[?0c:while i >= 2
[?25l[?1c: [?25h[?0c: let i -= 2
[?25l[?1c: [?25h[?0c: unlet d[i]
[?25l[?1c: [?25h[?0c:endwhile
[?25l[?1c: [?25h[?0c:$put =get(d, 1500 - 100, 'NONE') . ' ' . d[1]
[?25l[?1c: [?25h[?0c:" delete odd items, checking value, one intentionally wrong
[?25l[?1c: [?25h[?0c:let d[33] = 999
[?25l[?1c: [?25h[?0c:let i = 1
[?25l[?1c: [?25h[?0c:while i < 1500
[?25l[?1c: [?25h[?0c: if d[i] != 3000 - i
[?25l[?1c: [?25h[?0c: $put =i . '=' . d[i]
[?25l[?1c: [?25h[?0c: else
[?25l[?1c: [?25h[?0c: unlet d[i]
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c: let i += 2
[?25l[?1c: [?25h[?0c:endwhile
[?25l[?1c: [?25h[?0c:$put =string(d) " must be almost empty now
[?25l[?1c: [?25h[?0c:unlet d
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:" Dictionary function
[?25l[?1c: [?25h[?0c:let dict = {}
[?25l[?1c: [?25h[?0c:func dict.func(a) dict
[?25l[?1c: [?25h[?0c: $put =a:a . len(self.data)
[?25l[?1c: [?25h[?0c:endfunc
[?25l[?1c: [?25h[?0c:let dict.data = [1,2,3]
[?25l[?1c: [?25h[?0c:call dict.func("len: ")
[?25l[?1c: [?25h[?0c:let x = dict.func("again: ")
[?25l[?1c: [?25h[?0c:try
[?25l[?1c: [?25h[?0c: let Fn = dict.func
[?25l[?1c: [?25h[?0c: call Fn('xxx')
[?25l[?1c: [?25h[?0c:catch
[?25l[?1c: [?25h[?0c: $put =v:exception[:15]
[?25l[?1c: [?25h[?0c:endtry
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:" Function in script-local List or Dict
[?25l[?1c: [?25h[?0c:let g:dict = {}
[?25l[?1c: [?25h[?0c:function g:dict.func() dict
[?25l[?1c: [?25h[?0c: $put ='g:dict.func'.self.foo[1].self.foo[0]('asdf')
[?25l[?1c: [?25h[?0c:endfunc
[?25l[?1c: [?25h[?0c:let g:dict.foo = ['-', 2, 3]
[?25l[?1c: [?25h[?0c:call insert(g:dict.foo, function('strlen'))
[?25l[?1c: [?25h[?0c:call g:dict.func()
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:" Nasty: remove func from Dict that's being called (works)
[?25l[?1c: [?25h[?0c:let d = {1:1}
[?25l[?1c: [?25h[?0c:func d.func(a)
[?25l[?1c:[8C[?25h[?0c: return "a:". a:a
[?25l[?1c:[8C[?25h[?0c:endfunc
[?25l[?1c:[8C[?25h[?0c:$put =d.func(string(remove(d, 'func')))
[?25l[?1c:[8C[?25h[?0c:"
[?25l[?1c:[8C[?25h[?0c:" Nasty: deepcopy() dict that refers to itself (fails when noref used
[23;80H)[24;1H
[?25l[?1c:[8C[?25h[?0c:let d = {1:1, 2:2}
[?25l[?1c:[8C[?25h[?0c:let l = [4, d, 6]
[?25l[?1c:[8C[?25h[?0c:let d[3] = l
[?25l[?1c:[8C[?25h[?0c:let dc = deepcopy(d)
[?25l[?1c:[8C[?25h[?0c:try
[?25l[?1c:[10C[?25h[?0c: let dc = deepcopy(d, 1)
[?25l[?1c:[10C[?25h[?0c:catch
[?25l[?1c:[10C[?25h[?0c: $put =v:exception[:14]
[?25l[?1c:[10C[?25h[?0c:endtry
[?25l[?1c:[8C[?25h[?0c:let l2 = [0, l, l, 3]
[?25l[?1c:[8C[?25h[?0c:let l[1] = l2
[?25l[?1c:[8C[?25h[?0c:let l3 = deepcopy(l2)
[?25l[?1c:[8C[?25h[?0c:$put ='same list: ' . (l3[1] is l3[2])
[?25l[?1c:[8C[?25h[?0c:"
[?25l[?1c:[8C[?25h[?0c:" Locked variables
[?25l[?1c:[8C[?25h[?0c:for depth in range(5)
[?25l[?1c:[10C[?25h[?0c: $put ='depth is ' . depth
[?25l[?1c:[10C[?25h[?0c: for u in range(3)
[?25l[?1c:[12C[?25h[?0c: unlet l
[?25l[?1c:[12C[?25h[?0c: let l = [0, [1, [2, 3]], {4: 5, 6: {7: 8}}]
[?25l[?1c:[12C[?25h[?0c: exe "lockvar " . depth . " l"
[?25l[?1c:[12C[?25h[?0c: if u == 1
[?25l[?1c:[14C[?25h[?0c: exe "unlockvar l"
[?25l[?1c:[14C[?25h[?0c: elseif u == 2
[?25l[?1c:[14C[?25h[?0c: exe "unlockvar " . depth . " l"
[?25l[?1c:[14C[?25h[?0c: endif
[?25l[?1c:[12C[?25h[?0c: let ps = islocked("l").islocked("l[1]").islocked("l[1][1]").i
[23;80Hs[24;1Hlocked("l[1][1][0]").'-'.islocked("l[2]").islocked("l[2]['6']").islocked("l[2][
[23;80H'[24;1H6'][7]")
[?25l[?1c:[12C[?25h[?0c: $put =ps
[?25l[?1c:[12C[?25h[?0c: let ps = ''
[?25l[?1c:[12C[?25h[?0c: try
[?25l[?1c:[14C[?25h[?0c: let l[1][1][0] = 99
[?25l[?1c:[14C[?25h[?0c: let ps .= 'p'
[?25l[?1c:[14C[?25h[?0c: catch
[?25l[?1c:[14C[?25h[?0c: let ps .= 'F'
[?25l[?1c:[14C[?25h[?0c: endtry
[?25l[?1c:[12C[?25h[?0c: try
[?25l[?1c:[14C[?25h[?0c: let l[1][1] = [99]
[?25l[?1c:[14C[?25h[?0c: let ps .= 'p'
[?25l[?1c:[14C[?25h[?0c: catch
[?25l[?1c:[14C[?25h[?0c: let ps .= 'F'
[?25l[?1c:[14C[?25h[?0c: endtry
[?25l[?1c:[12C[?25h[?0c: try
[?25l[?1c:[14C[?25h[?0c: let l[1] = [99]
[?25l[?1c:[14C[?25h[?0c: let ps .= 'p'
[?25l[?1c:[14C[?25h[?0c: catch
[?25l[?1c:[14C[?25h[?0c: let ps .= 'F'
[?25l[?1c:[14C[?25h[?0c: endtry
[?25l[?1c:[12C[?25h[?0c: try
[?25l[?1c:[14C[?25h[?0c: let l[2]['6'][7] = 99
[?25l[?1c:[14C[?25h[?0c: let ps .= 'p'
[?25l[?1c:[14C[?25h[?0c: catch
[?25l[?1c:[14C[?25h[?0c: let ps .= 'F'
[?25l[?1c:[14C[?25h[?0c: endtry
[?25l[?1c:[12C[?25h[?0c: try
[?25l[?1c:[14C[?25h[?0c: let l[2][6] = {99: 99}
[?25l[?1c:[14C[?25h[?0c: let ps .= 'p'
[?25l[?1c:[14C[?25h[?0c: catch
[?25l[?1c:[14C[?25h[?0c: let ps .= 'F'
[?25l[?1c:[14C[?25h[?0c: endtry
[?25l[?1c:[12C[?25h[?0c: try
[?25l[?1c:[14C[?25h[?0c: let l[2] = {99: 99}
[?25l[?1c:[14C[?25h[?0c: let ps .= 'p'
[?25l[?1c:[14C[?25h[?0c: catch
[?25l[?1c:[14C[?25h[?0c: let ps .= 'F'
[?25l[?1c:[14C[?25h[?0c: endtry
[?25l[?1c:[12C[?25h[?0c: try
[?25l[?1c:[14C[?25h[?0c: let l = [99]
[?25l[?1c:[14C[?25h[?0c: let ps .= 'p'
[?25l[?1c:[14C[?25h[?0c: catch
[?25l[?1c:[14C[?25h[?0c: let ps .= 'F'
[?25l[?1c:[14C[?25h[?0c: endtry
[?25l[?1c:[12C[?25h[?0c: $put =ps
[?25l[?1c:[12C[?25h[?0c: endfor
[?25l[?1c:[10C[?25h[?0c:endfor
[?25l[?1c:[8C[?25h[?0c:"
[?25l[?1c:[8C[?25h[?0c:" a:000 function argument
[?25l[?1c:[8C[?25h[?0c:" first the tests that should fail
[?25l[?1c:[8C[?25h[?0c:try
[?25l[?1c:[10C[?25h[?0c: let a:000 = [1, 2]
[?25l[?1c:[10C[?25h[?0c:catch
[?25l[?1c:[10C[?25h[?0c: $put ='caught a:000'
[?25l[?1c:[10C[?25h[?0c:endtry
[?25l[?1c:[8C[?25h[?0c:try
[?25l[?1c:[10C[?25h[?0c: let a:000[0] = 9
[?25l[?1c:[10C[?25h[?0c:catch
[?25l[?1c:[10C[?25h[?0c: $put ='caught a:000[0]'
[?25l[?1c:[10C[?25h[?0c:endtry
[?25l[?1c:[8C[?25h[?0c:try
[?25l[?1c:[10C[?25h[?0c: let a:000[2] = [9, 10]
[?25l[?1c:[10C[?25h[?0c:catch
[?25l[?1c:[10C[?25h[?0c: $put ='caught a:000[2]'
[?25l[?1c:[10C[?25h[?0c:endtry
[?25l[?1c:[8C[?25h[?0c:try
[?25l[?1c:[10C[?25h[?0c: let a:000[3] = {9: 10}
[?25l[?1c:[10C[?25h[?0c:catch
[?25l[?1c:[10C[?25h[?0c: $put ='caught a:000[3]'
[?25l[?1c:[10C[?25h[?0c:endtry
[?25l[?1c:[8C[?25h[?0c:" now the tests that should pass
[?25l[?1c:[8C[?25h[?0c:try
[?25l[?1c:[10C[?25h[?0c: let a:000[2][1] = 9
[?25l[?1c:[10C[?25h[?0c: call extend(a:000[2], [5, 6])
[?25l[?1c:[10C[?25h[?0c: let a:000[3][5] = 8
[?25l[?1c:[10C[?25h[?0c: let a:000[3]['a'] = 12
[?25l[?1c:[10C[?25h[?0c: $put =string(a:000)
[?25l[?1c:[10C[?25h[?0c:catch
[?25l[?1c:[10C[?25h[?0c: $put ='caught ' . v:exception
[?25l[?1c:[10C[?25h[?0c:endtry
[?25l[?1c:[8C[?25h[?0c:"
[?25l[?1c:[8C[?25h[?0c:" reverse() and sort()
[?25l[?1c:[8C[?25h[?0c:let l = ['-0', 'A11', 2, 'xaaa', 4, 'foo', 'foo6', [0, 1, 2], 'x8']
[?25l[?1c:[8C[?25h[?0c:$put =string(reverse(l))
[?25l[?1c:[8C[?25h[?0c:$put =string(reverse(reverse(l)))
[?25l[?1c:[8C[?25h[?0c:$put =string(sort(l))
[?25l[?1c:[8C[?25h[?0c:$put =string(reverse(sort(l)))
[?25l[?1c:[8C[?25h[?0c:$put =string(sort(reverse(sort(l))))
[?25l[?1c:[8C[?25h[?0c:"
[?25l[?1c:[8C[?25h[?0c:" splitting a string to a List
[?25l[?1c:[8C[?25h[?0c:$put =string(split(' aa bb '))
[?25l[?1c:[8C[?25h[?0c:$put =string(split(' aa bb ', '\W\+', 0))
[?25l[?1c:[8C[?25h[?0c:$put =string(split(' aa bb ', '\W\+', 1))
[?25l[?1c:[8C[?25h[?0c:$put =string(split(' aa bb ', '\W', 1))
[?25l[?1c:[8C[?25h[?0c:$put =string(split(':aa::bb:', ':', 0))
[?25l[?1c:[8C[?25h[?0c:$put =string(split(':aa::bb:', ':', 1))
[?25l[?1c:[8C[?25h[?0c:$put =string(split('aa,,bb, cc,', ',\s*', 1))
[?25l[?1c:[8C[?25h[?0c:$put =string(split('abc', '\zs'))
[?25l[?1c:[8C[?25h[?0c:$put =string(split('abc', '\zs', 1))
[?25l[?1c:[8C[?25h[?0c:"
[?25l[?1c:[8C[?25h[?0c:" compare recursively linked list and dict
[?25l[?1c:[8C[?25h[?0c:let l = [1, 2, 3, 4]
[?25l[?1c:[8C[?25h[?0c:let d = {'1': 1, '2': l, '3': 3}
[?25l[?1c:[8C[?25h[?0c:let l[1] = d
[?25l[?1c:[8C[?25h[?0c:$put =(l == l)
[?25l[?1c:[8C[?25h[?0c:$put =(d == d)
[?25l[?1c:[8C[?25h[?0c:$put =(l != deepcopy(l))
[?25l[?1c:[8C[?25h[?0c:$put =(d != deepcopy(d))
[?25l[?1c:[8C[?25h[?0c:"
[?25l[?1c:[8C[?25h[?0c:" compare complex recursively linked list and dict
[?25l[?1c:[8C[?25h[?0c:let l = []
[?25l[?1c:[8C[?25h[?0c:call add(l, l)
[?25l[?1c:[8C[?25h[?0c:let dict4 = {"l": l}
[?25l[?1c:[8C[?25h[?0c:call add(dict4.l, dict4)
[?25l[?1c:[8C[?25h[?0c:let lcopy = deepcopy(l)
[?25l[?1c:[8C[?25h[?0c:let dict4copy = deepcopy(dict4)
[?25l[?1c:[8C[?25h[?0c:$put =(l == lcopy)
[?25l[?1c:[8C[?25h[?0c:$put =(dict4 == dict4copy)
[?25l[?1c:[8C[?25h[?0c:"
[?25l[?1c:[8C[?25h[?0c:" Pass the same List to extend()
[?25l[?1c:[8C[?25h[?0c:let l = [1, 2, 3, 4, 5]
[?25l[?1c:[8C[?25h[?0c:call extend(l, l)
[?25l[?1c:[8C[?25h[?0c:$put =string(l)
[?25l[?1c:[8C[?25h[?0c:"
[?25l[?1c:[8C[?25h[?0c:" Pass the same Dict to extend()
[?25l[?1c:[8C[?25h[?0c:let d = { 'a': {'b': 'B'}}
[?25l[?1c:[8C[?25h[?0c:call extend(d, d)
[?25l[?1c:[8C[?25h[?0c:$put =string(d)
[?25l[?1c:[8C[?25h[?0c:"
[?25l[?1c:[8C[?25h[?0c:" Pass the same Dict to extend() with "error"
[?25l[?1c:[8C[?25h[?0c:try
[?25l[?1c:[10C[?25h[?0c: call extend(d, d, "error")
[?25l[?1c:[10C[?25h[?0c:catch
[?25l[?1c:[10C[?25h[?0c: $put =v:exception[:15] . v:exception[-1:-1]
[?25l[?1c:[10C[?25h[?0c:endtry
[?25l[?1c:[8C[?25h[?0c:$put =string(d)
[?25l[?1c:[8C[?25h[?0c:endfun
[27m[24m[0m[H[J[?25l[?1c[1;1H:let d = { 'a': {'b': 'B'}}
:call extend(d, d)
:$put =string(d)
:"
:" Pass the same Dict to extend() with "error"
:try
: call extend(d, d, "error")
:catch
: $put =v:exception[:15] . v:exception[-1:-1]
:endtry
:$put =string(d)
:endfun
:"
:call Test(1, 2, [3, 4], {5: 6}) " This may take a while
:"
:delfunc Test
:unlet dict
:call garbagecollect(1)
:"
:/^start:/,$wq! test.out
ENDTEST
start:[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall Test(1, 2, [3, 4], {5: 6}) " This may take a while
[?25l[?1c[1m[37m[41mError detected while processing function Test:[0m[24;47H[K[24;1H
[1m[33mline 86:[0m
[1m[37m[41mE684: list index out of range: 1[0m
[1m[33mline 101:[0m
[1m[37m[41mE684: list index out of range: 2[0m[1;1H[4L[1;1H['x8', [0, 1, 2], 'foo6', 'foo', 4, 'xaaa', 2, 'A11', '-0']
['-0', 'A11', 'foo', 'foo6', 'x8', 'xaaa', 2, 4, [0, 1, 2]]
[[0, 1, 2], 4, 2, 'xaaa', 'x8', 'foo6', 'foo', 'A11', '-0']
['-0', 'A11', 'foo', 'foo6', 'x8', 'xaaa', 2, 4, [0, 1, 2]]
['aa', 'bb'][5;13H[K[6;1H['aa', 'bb']
['', 'aa', 'bb', ''][7;22H[K[8;1H['', '', 'aa', '', 'bb', '', '']
['aa', '', 'bb'][9;17H[K[10;1H['', 'aa', '', 'bb', '']
['aa', '', 'bb', 'cc', '']
['a', 'b', 'c']
['', 'a', '', 'b', '', 'c', '']
1[14;2H[K[15;1H1[15;2H[K[16;1H0[16;2H[K[17;1H0[17;2H[K[18;1H1[18;2H[K[19;1H1[19;2H[K[20;1H[1, 2, 3, 4, 5, 1, 2, 3, 4, 5]
{'a': {'b': 'B'}}
Vim(call):E737: a
{'a': {'b': 'B'}}[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cdelfunc Test
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet dict
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall garbagecollect(1)
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^start:/,$wq! test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H[New File] 117 lines, 1988 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test56.in" 21 lines, 457 characters[1;1HTest 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>delfun[21;1Hc <SID>DoNothing<bar>delfunc <SID>DoLast<cr>
end:
[1m[34m~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for script-local function. vim: set ft=vim :[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 7 lines, 120 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[11;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocp viminfo+=nviminfo
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^start:/+1,/^end:/-1w! Xtest.vim
[?25l[?1c"Xtest.vim" [24;13H[K[24;13H[New] 7L, 251C written[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csource Xtest.vim
[?25l[?1c[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:call <SNR>3_DoNothing()|call <SNR>3_DoLast()|delfunc <SNR>3_DoNothing|delfunc
[23;80H<[24;1HSNR>3_DoLast
[1m[32mPress ENTER or type command to continue[?25h[?0c[0m[1;1H[L[?25l[?1c[1;1HTest for script-local function. vim: set ft=vim :[23;1Hnothing line[23;13H[K[24;1H[K[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c$-1,$wq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New] 2L, 23C written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test57.in" 500 lines, 3666 characters[1;1HTests 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for :sort command. vim: set ft=vim :[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 30 lines, 842 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[11M[1;24r[13;1H:/^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[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^t01:/+1,/^t02/-1sort
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Ht01: alphebetical[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^t02:/+1,/^t03/-1sort n
[?25l[?1c[27m[24m[0m[H[J[1;1Ha321
ab
abc
b123
b321
b321
b321b
b322b
c123d
c321d
t02: numeric
abc
ab
a[18;1H-24
x-22
0
a122
a123
b123[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^t03:/+1,/^t04/-1sort x
[?25l[?1c[1;23r[1;1H[10M[1;24r[14;1Hc123d
123b
a321
b321
c321d
b321
b321b
b322b
t03: hexadecimal[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^t04:/+1,/^t05/-1sort u
[?25l[?1c[27m[24m[0m[H[J[1;1Ha122
a123
a321
b123
b321
b321
b321b
b322b
c123d
c321d
t04: alpha, unique
123b
a
a122
a123
a321
ab
abc
b123
b321
b321b
b322b[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^t05:/+1,/^t06/-1sort!
[?25l[?1c[1;23r[1;1H[4M[1;24r[20;1Hc123d
c321d
t05: alpha, reverse
c321d[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^t06:/+1,/^t07/-1sort! n
[?25l[?1c[27m[24m[0m[H[J[1;1Hb123
abc
ab
a321
a123
a122
a
123b
t06: numeric, reverse
b322b
b321b
b321
c321d
b321
a321
123b
c123d
b123
a123
a122[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^t07:/+1,/^t08/-1sort! u
[?25l[?1c[1;23r[1;1H[6M[1;24r[19;1Ha
ab
abc
t07: unique, reverse
c321d[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^t08:/+1,/^t09/-1sort o
[?25l[?1c[27m[24m[0m[H[J[1;1Hb321
b123
abc
ab
a321
a123
a122
a
123b
t08: octal
abc
ab
a
a122
a123
b123
c123d
123b
a321
b321[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^t09:/+1,/^t10/-1sort! x
[?25l[?1c[1;23r[1;1H[6M[1;24r[18;1Hc321d
b321
b321b
b322b
t09: reverse, hexadecimal
c321d[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^t10:/+1,/^t11/-1sort/./
[?25l[?1c[27m[24m[0m[H[J[1;1Hb123
a321
a123
a122
123b
abc
ab
a
t10: alpha, skip first character
a
a122
a123
b123
123b
c123d
a321
b321
b321
b321b[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^t11:/+1,/^t12/-1sort/../
[?25l[?1c[1;23r[1;1H[6M[1;24r[18;1Hc321d
b322b
ab
abc
t11: alpha, skip first 2 characters
ab[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^t12:/+1,/^t13/-1sort/../u
[?25l[?1c[27m[24m[0m[H[J[1;1Hb321
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[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^t13:/+1,/^t14/-1sort/./n
[?25l[?1c[1;23r[1;1H[4M[1;24r[20;1Hc123d
abc
t13: numeric, skip first character
abc[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^t14:/+1,/^t15/-1sort/./r
[?25l[?1c[27m[24m[0m[H[J[1;1Ha123
b123
c123d
123b
a321
b321
c321d
b321
b321b
b322b
t14: alpha, sort on first character[14;2H123b
abc
ab
a
a321
a123
a122
b321
b123
b322b[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^t15:/+1,/^t16/-1sort/../r
[?25l[?1c[1;23r[1;1H[6M[1;24r[18;1Hb321
b321b
c123d
c321d
t15: alpha, sort on first 2 characters
a[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^t16:/+1,/^t17/-1sort/./rn
[?25l[?1c[27m[24m[0m[H[J[1;1Ha321
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[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^t17:/+1,/^t18/-1sort/\d/
[?25l[?1c[1;23r[1;1H[6M[1;24r[18;1Hb321
b321b
t17: alpha, skip past first digit
abc[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^t18:/+1,/^t19/-1sort/\d/r
[?25l[?1c[27m[24m[0m[H[J[1;1Hb321
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[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^t19:/+1,/^t20/-1sort/\d/n
[?25l[?1c[1;23r[1;1H[6M[1;24r[18;1Hc321d
b322b
b321
b321b
t19: numeric, skip past first digit
abc[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^t20:/+1,/^t21/-1sort/\d/rn
[?25l[?1c[27m[24m[0m[H[J[1;1Hb321
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[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^t21:/+1,/^t22/-1sort/\d\d/
[?25l[?1c[1;23r[1;1H[6M[1;24r[18;1Hc321d
b322b
b321
b321b
t21: alpha, skip past first 2 digits
abc[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^t22:/+1,/^t23/-1sort/\d\d/n
[?25l[?1c[27m[24m[0m[H[J[1;1Hb321
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[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^t23:/+1,/^t24/-1sort/\d\d/x
[?25l[?1c[1;23r[1;1H[6M[1;24r[18;1Ha123
b123
c123d
123b
t23: hexadecimal, skip past first 2 digits
abc[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^t24:/+1,/^t25/-1sort/\d\d/r
[?25l[?1c[27m[24m[0m[H[J[1;1Hb321
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[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^t25:/+1,/^t26/-1sort/\d\d/rn
[?25l[?1c[1;23r[1;1H[6M[1;24r[18;1Hc321d
b322b
b321
b321b
t25: numeric, sort on first 2 digits
abc[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^t26:/+1,/^t27/-1sort/\d\d/rx
[?25l[?1c[27m[24m[0m[H[J[1;1Ha122
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[12;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^t27:/+1,/^t28/-1sort no
[?25l[?1c[1m[37m[41mE474: Invalid argument[0m[24;23H[K[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^t01:/,$wq! test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H[New File] 459 lines, 2739 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test58.in" 635 lines, 10784 characters[1;1HTests 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!
:"
:" 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
set spl=Xtest.latin1.spl spell
" list all valid words
spelldump
%yank[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for spell checking. vim: set ft=vim :[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 105 lines, 2456 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H: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[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Don't want to depend on the locale from the environment
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset enc=latin1
[?25l[?1c[27m[24m[0m[H[J[1;1H: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
:"[5;3H[K[6;4HDon't want to depend on the locale from the environment
:set enc=latin1[7;17H[K[8;2He![8;4H[K[9;2H"[9;3H[K[10;4HFunction to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)[11;25H[K[12;1H 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[18;23H[K[19;1H " use that spell file[19;24H[K[20;1H set spl=Xtest.latin1.spl spell[20;33H[K[21;3H" list all valid words
spelldump[22;12H[K[23;1H %yank[23;8H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Function to test .aff/.dic with list of good and bad words.
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunc TestOne(aff, dic)
[?25l[?1c
: [?25h[?0c set spellfile=
[?25l[?1c: [?25h[?0c $put =''
[?25l[?1c: [?25h[?0c $put ='test '. a:aff . '-' . a:dic
[?25l[?1c: [?25h[?0c " Generate a .spl file from a .dic and .aff file.
[?25l[?1c: [?25h[?0c exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
[?25l[?1c: [?25h[?0c exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
[?25l[?1c: [?25h[?0c mkspell! Xtest Xtest
[?25l[?1c: [?25h[?0c " use that spell file
[?25l[?1c: [?25h[?0c set spl=Xtest.latin1.spl spell
[?25l[?1c: [?25h[?0c " list all valid words
[?25l[?1c: [?25h[?0c spelldump
[?25l[?1c: [?25h[?0c %yank
[?25l[?1c: [?25h[?0c quit
[?25l[?1c: [?25h[?0c $put
[?25l[?1c: [?25h[?0c $put ='-------'
[?25l[?1c: [?25h[?0c " find all bad words and suggestions for them
[?25l[?1c: [?25h[?0c exe '1;/^' . a:aff . 'good:'
[?25l[?1c: [?25h[?0c normal 0f:]s
[?25l[?1c: [?25h[?0c let prevbad = ''
[?25l[?1c: [?25h[?0c while 1
[?25l[?1c: [?25h[?0c let [bad, a] = spellbadword()
[?25l[?1c: [?25h[?0c if bad == '' || bad == prevbad || bad == 'badend'
[?25l[?1c: [?25h[?0c break
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c let prevbad = bad
[?25l[?1c: [?25h[?0c let lst = spellsuggest(bad, 3)
[?25l[?1c: [?25h[?0c normal mm
[?25l[?1c: [?25h[?0c $put =bad
[?25l[?1c: [?25h[?0c $put =string(lst)
[?25l[?1c: [?25h[?0c normal `m]s
[?25l[?1c: [?25h[?0c endwhile
[?25l[?1c: [?25h[?0cendfunc
[27m[24m[0m[H[J[?25l[?1c[1;1HTests 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!
:"
:" 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
set spl=Xtest.latin1.spl spell
" list all valid words
spelldump
%yank[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TestOne('1', '1')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H[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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c$put =soundfold('goobledygoook')
[?25l[?1c[1;1H[19L[1;1Hthe end
uk
wrong
-------
[41mbad[0m
['put', 'uk', 'OK']
[41minputs[0m
['input', 'puts', 'outputs']
[41mcomment[0m
['Comment', 'outtest', 'the end']
[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mend[0m
['put', 'uk', 'test'][20;22H[K[21;1H[41mthe[0m[21;5H[K[22;1H['put', 'uk', 'test']
[41mgebletegek[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
[1;24r[23;1H[41mkepereneven[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =soundfold('oeverloos gezwets edale')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[41meverles[0m [41mgesvets[0m [41metele[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" and now with SAL instead of SOFO items; test automatic reloading
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;1H[41mTests[0m [41mfor[0m [41mspell[0m [41mchecking[0m. [41mvim[0m: [41mset[0m [41mft[0m=[41mvim[0m :
[41mSTARTTEST[0m
:[41mso[0m [41msmall[0m.[41mvim[0m
:"
:" [41mDon't[0m [41mwant[0m [41mto[0m [41mdepend[0m [41mon[0m [41mthe[0m [41mlocale[0m [41mfrom[0m [41mthe[0m [41menvironment[0m
:[41mset[0m [41menc[0m=[41mlatin1[0m
:[41me[0m!
:"
:" [41mFunction[0m [41mto[0m test .[41maff[0m/.[41mdic[0m [41mwith[0m [41mlist[0m [41mof[0m [41mgood[0m [41mand[0m [41mbad[0m [41mwords[0m.
:[41mfunc[0m [41mTestOne[0m([41maff[0m, [41mdic[0m)
[41mset[0m [41mspellfile[0m=
$put =''
$put ='test '. [41ma[0m:[41maff[0m . '-' . [41ma[0m:[41mdic[0m
" [41mGenerate[0m [41ma[0m .[41mspl[0m [41mfile[0m [41mfrom[0m [41ma[0m .[41mdic[0m [41mand[0m .[41maff[0m [41mfile[0m.
[41mexe[0m '1;/^' . [41ma[0m:[41maff[0m . '[41maffstart[0m/+1,/^' . [41ma[0m:[41maff[0m . '[41maffend[0m/-1[41mw[0m! [41mXtest[0m.[41maff[0m'
[41mexe[0m '1;/^' . [41ma[0m:[41mdic[0m . '[41mdicstart[0m/+1,/^' . [41ma[0m:[41mdic[0m . '[41mdicend[0m/-1[41mw[0m! [41mXtest[0m.[41mdic[0m'
[41mmkspell[0m! [41mXtest[0m [41mXtest[0m
" [41muse[0m [41mthat[0m [41mspell[0m [41mfile
[0m [41mset[0m [41mspl[0m=[41mXtest[0m.[41mlatin1[0m.[41mspl[0m [41mspell[0m
" [41mlist[0m [41mall[0m [41mvalid[0m [41mwords
[0m [41mspelldump[0m
%[41myank[1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0c/^affstart_sal/+1,/^affend_sal/-1w! Xtest.aff
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H151 lines, 3412 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmkspell! Xtest Xtest
[?25l[?1cReading affix file Xtest.aff ...
Reading dictionary file Xtest.dic ...
line 2, word 0 - test
Compressing word tree...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c$put =soundfold('goobledygoook')
[?25l[?1c[1;1H[14L[1;1H-------
[41mbad[0m
['put', 'uk', 'OK']
[41minputs[0m
['input', 'puts', 'outputs']
[41mcomment[0m
['Comment', 'outtest', 'the end']
[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
kbltyk[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
[1;24r[23;1H[41mkprnfn[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =soundfold('oeverloos gezwets edale')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H*[41mfls[0m [41mkswts[0m [41mtl[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" also use an addition file
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;1H[41mTests[0m [41mfor[0m [41mspell[0m [41mchecking[0m. [41mvim[0m: [41mset[0m [41mft[0m=[41mvim[0m :
[41mSTARTTEST[0m
:[41mso[0m [41msmall[0m.[41mvim[0m
:"
:" [41mDon't[0m [41mwant[0m [41mto[0m [41mdepend[0m [41mon[0m [41mthe[0m [41mlocale[0m [41mfrom[0m [41mthe[0m [41menvironment[0m
:[41mset[0m [41menc[0m=[41mlatin1[0m
:[41me[0m!
:"
:" [41mFunction[0m [41mto[0m test .[41maff[0m/.[41mdic[0m [41mwith[0m [41mlist[0m [41mof[0m [41mgood[0m [41mand[0m [41mbad[0m [41mwords[0m.
:[41mfunc[0m [41mTestOne[0m([41maff[0m, [41mdic[0m)
[41mset[0m [41mspellfile[0m=
$put =''
$put ='test '. [41ma[0m:[41maff[0m . '-' . [41ma[0m:[41mdic[0m
" [41mGenerate[0m [41ma[0m .[41mspl[0m [41mfile[0m [41mfrom[0m [41ma[0m .[41mdic[0m [41mand[0m .[41maff[0m [41mfile[0m.
[41mexe[0m '1;/^' . [41ma[0m:[41maff[0m . '[41maffstart[0m/+1,/^' . [41ma[0m:[41maff[0m . '[41maffend[0m/-1[41mw[0m! [41mXtest[0m.[41maff[0m'
[41mexe[0m '1;/^' . [41ma[0m:[41mdic[0m . '[41mdicstart[0m/+1,/^' . [41ma[0m:[41mdic[0m . '[41mdicend[0m/-1[41mw[0m! [41mXtest[0m.[41mdic[0m'
[41mmkspell[0m! [41mXtest[0m [41mXtest[0m
" [41muse[0m [41mthat[0m [41mspell[0m [41mfile
[0m [41mset[0m [41mspl[0m=[41mXtest[0m.[41mlatin1[0m.[41mspl[0m [41mspell[0m
" [41mlist[0m [41mall[0m [41mvalid[0m [41mwords
[0m [41mspelldump[0m
%[41myank[1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0c/^addstart/+1,/^addend/-1w! Xtest.latin1.add
[?25l[?1c"Xtest.latin1.add" [24;20H[K[24;20H[New File] 3 lines, 38 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmkspell! Xtest.latin1.add.spl Xtest.latin1.add
[?25l[?1cReading word file Xtest.latin1.add ...[24;39H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset spellfile=Xtest.latin1.add
[?25l[?1c[1;1H[6L[1;1H[41mTests[0m [41mfor[0m [41mspell[0m [41mchecking[0m. [41mvim[0m: [41mset[0m [41mft[0m=[41mvim[0m :
[41mSTARTTEST[0m
:[41mso[0m [41msmall[0m.[41mvim[0m
:"
:" [41mDon't[0m [41mwant[0m [41mto[0m [41mdepend[0m [41mon[0m [41mthe[0m [41mlocale[0m [41mfrom[0m [41mthe[0m [41menvironment[0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/[?25h[?0c^test2:
[?25l[?1c[27m[24m[0m[H[J[2;1H2[41mgood[0m: puts
badend
addstart[0m
/[41mregions[0m=[41musgbnz[0m
elequint/2
elekwint/3
[41maddend
test2[0m:
elequint test elekwint test [41melekwent[0m [41masdf[0m
Test [41mrules[0m [41mfor[0m [41mcompounding[0m.
3[41maffstart
SET[0m [41mISO8859-1
COMPOUNDMIN[0m 3
[41mCOMPOUNDRULE[0m [41mm[0m*
[41mNEEDCOMPOUND[0m [41mx[0m
3[41maffend[12;1H[?25h[?0c[13;29H[?25l[?1c[24;1H[0m:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[13;29H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H[41minputs[0m
['input', 'puts', 'outputs']
[41mcomment[0m
['Comment', 'outtest', 'the end']
[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent
[?25h[?0c[?25l[?1c
[0m:[?25h[?0cset spl=Xtest_us.latin1.spl
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^test2:
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[2;1H2[41mgood[0m: puts
badend
addstart[0m
/[41mregions[0m=[41musgbnz[0m
[46melequint[0m/2
[46melekwint[0m/3
[41maddend
test2[0m:
[46melequint[0m test [46melekwint[0m test [41melekwent[0m [41masdf[0m
Test [41mrules[0m [41mfor[0m [41mcompounding[0m.
3[41maffstart
SET[0m [41mISO8859-1
COMPOUNDMIN[0m 3
[41mCOMPOUNDRULE[0m [41mm[0m*
[41mNEEDCOMPOUND[0m [41mx[0m
3[41maffend[0m
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c
[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H['input', 'puts', 'outputs']
[41mcomment[0m
['Comment', 'outtest', 'the end']
[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent[0m
[46melequint
[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;1H2[41mgood[0m: puts
badend
addstart[0m
/[41mregions[0m=[41musgbnz[0m
[46melequint[0m/2
[46melekwint[0m/3
[41maddend
test2[0m:
[46melequint[0m test [46melekwint[0m test [41melekwent[0m [41masdf[0m
Test [41mrules[0m [41mfor[0m [41mcompounding[0m.
3[41maffstart
SET[0m [41mISO8859-1
COMPOUNDMIN[0m 3
[41mCOMPOUNDRULE[0m [41mm[0m*
[41mNEEDCOMPOUND[0m [41mx[0m
3[41maffend[12;1H[?25h[?0c[14C[?25l[?1c[24;1H[0m:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[12;15H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H[41mcomment[0m
['Comment', 'outtest', 'the end']
[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent[0m
[46melequint
elekwint
[?25h[?0c[?25l[?1c
[0m:[?25h[?0cset spl=Xtest_gb.latin1.spl
[?25l[?1c[22;1Helequint
[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^test2:
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[2;1H2[41mgood[0m: puts
badend
addstart[0m
/[41mregions[0m=[41musgbnz[0m
elequint/2
[46melekwint[0m/3
[41maddend
test2[0m:
elequint test [46melekwint[0m test [41melekwent[0m [41masdf[0m
Test [41mrules[0m [41mfor[0m [41mcompounding[0m.
3[41maffstart
SET[0m [41mISO8859-1
COMPOUNDMIN[0m 3
[41mCOMPOUNDRULE[0m [41mm[0m*
[41mNEEDCOMPOUND[0m [41mx[0m
3[41maffend[0m
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c[13;15H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[13;15H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H['Comment', 'outtest', 'the end']
[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent[0m
elequint
[46melekwint
elekwint
[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;1H2[41mgood[0m: puts
badend
addstart[0m
/[41mregions[0m=[41musgbnz[0m
elequint/2
[46melekwint[0m/3
[41maddend
test2[0m:
elequint test [46melekwint[0m test [41melekwent[0m [41masdf[0m
Test [41mrules[0m [41mfor[0m [41mcompounding[0m.
3[41maffstart
SET[0m [41mISO8859-1
COMPOUNDMIN[0m 3
[41mCOMPOUNDRULE[0m [41mm[0m*
[41mNEEDCOMPOUND[0m [41mx[0m
3[41maffend[12;15H[?25h[?0c[14C[?25l[?1c[24;1H[0m:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[12;29H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent[0m
elequint
[46melekwint
elekwint[0m
[41melekwent
[?25h[?0c[?25l[?1c
[0m:[?25h[?0cset spl=Xtest_nz.latin1.spl
[?25l[?1c[20;1H[46melequint[0m
elekwint
elekwint
[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^test2:
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[2;1H2[41mgood[0m: puts
badend
addstart[0m
/[41mregions[0m=[41musgbnz[0m
[46melequint[0m/2
elekwint/3
[41maddend
test2[0m:
[46melequint[0m test elekwint test [41melekwent[0m [41masdf[0m
Test [41mrules[0m [41mfor[0m [41mcompounding[0m.
3[41maffstart
SET[0m [41mISO8859-1
COMPOUNDMIN[0m 3
[41mCOMPOUNDRULE[0m [41mm[0m*
[41mNEEDCOMPOUND[0m [41mx[0m
3[41maffend[0m
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c
[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent[0m
[46melequint[0m
elekwint
elekwint
[41melekwent[0m
[46melequint
[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;1H2[41mgood[0m: puts
badend
addstart[0m
/[41mregions[0m=[41musgbnz[0m
[46melequint[0m/2
elekwint/3
[41maddend
test2[0m:
[46melequint[0m test elekwint test [41melekwent[0m [41masdf[0m
Test [41mrules[0m [41mfor[0m [41mcompounding[0m.
3[41maffstart
SET[0m [41mISO8859-1
COMPOUNDMIN[0m 3
[41mCOMPOUNDRULE[0m [41mm[0m*
[41mNEEDCOMPOUND[0m [41mx[0m
3[41maffend[12;1H[?25h[?0c[28C[?25l[?1c[24;1H[0m:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[12;29H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent[0m
[46melequint[0m
elekwint
elekwint
[41melekwent[0m
[46melequint[0m
[41melekwent
[?25h[?0c[?25l[?1c
[0m:[?25h[?0cset spl=Xtest_ca.latin1.spl
[?25l[?1c[18;1H[41melequint
elekwint
elekwint
elequint
[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H/[?25h[?0c^test2:
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[2;1H2[41mgood[0m: puts
badend
addstart[0m
/[41mregions[0m=[41musgbnz
elequint[0m/2
[41melekwint[0m/3
[41maddend
test2[0m:
[41melequint[0m test [41melekwint[0m test [41melekwent[0m [41masdf[0m
Test [41mrules[0m [41mfor[0m [41mcompounding[0m.
3[41maffstart
SET[0m [41mISO8859-1
COMPOUNDMIN[0m 3
[41mCOMPOUNDRULE[0m [41mm[0m*
[41mNEEDCOMPOUND[0m [41mx[0m
3[41maffend[0m
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c
[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent
elequint
elekwint
elekwint
elekwent
elequint
elekwent
elequint
[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;1H2[41mgood[0m: puts
badend
addstart[0m
/[41mregions[0m=[41musgbnz
elequint[0m/2
[41melekwint[0m/3
[41maddend
test2[0m:
[41melequint[0m test [41melekwint[0m test [41melekwent[0m [41masdf[0m
Test [41mrules[0m [41mfor[0m [41mcompounding[0m.
3[41maffstart
SET[0m [41mISO8859-1
COMPOUNDMIN[0m 3
[41mCOMPOUNDRULE[0m [41mm[0m*
[41mNEEDCOMPOUND[0m [41mx[0m
3[41maffend[12;1H[?25h[?0c[14C[?25l[?1c[24;1H[0m:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[12;15H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1Htest
['Test', 'testn', 'testen']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent
elequint
elekwint
elekwint
elekwent
elequint
elekwent
elequint
elekwint
[?25h[?0c[?25l[?1c
[0m:[?25h[?0cunlet str a
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Postponed prefixes
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TestOne('2', '1')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H44 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...[24;26H[K[24;1H
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
2[41maffend[0m
2[41mgood[0m: puts
badend[0m[14;1H[K[15;1H[41maddstar[0m
/[41mregions[0m=[41musgbnz
elequ[0m[3C/2[18;9H/3
[41maddend[0m[19;7H[K[20;1H[K[21;1H[41mtest2[0m:[21;7H[K[22;10Htest [41melekwint[0m test [41melekwent[0m [41masdf[0m[23;1H[K[24;1H[K[13;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c" Compound words
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TestOne('3', '3')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H5 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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall TestOne('4', '4')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H45 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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall TestOne('5', '5')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H25 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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall TestOne('6', '6')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H23 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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall TestOne('7', '7')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H22 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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[27m[24m[0m[H[J[1;1H1234
[41mmee[0m/391,111,9999
bar/17,61003,123
lead/2
tail/123
[41mmiddle[0m/77,1
7[41mdicend[0m
[41mbad[0m: [41mmee[0m [41mmeea2[0m [41mprabar[0m [41mprobarmaat[0m [41mmiddle[0m [41mleadmiddle[0m [41mmiddletail[0m [41mtaillead[12;9Hleadprobar
badend
Test[0m [41mNOSLITSUGS[0m
8[41maffstart
SET[0m [41mISO8859[0m-1
[41mNOSPLITSUGS[0m
8[41maffend[0m
8[41mdicstart[13;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0c" NOSLITSUGS
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TestOne('8', '8')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H3 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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[11L[1;1H[41mNOSPLITSUGS[0m
8[41maffend[0m
8[41mdicstart[0m
1234
foo
bar
faabar
8[41mdicend[0m
8[41mgood[0m: foo bar faabar
[41mbad[0m: [41mfoobar[0m [41mbarfoo[0m[15;1H[K[16;1H[41mtest[0m [41moutput[0m:[17;1H[K[18;1H[41mtest[0m 1-1[18;9H[K[19;1H# [41mfile[0m: [41mXtest[0m.[41mlatin1[0m.[41mspl
input[0m[23;6H[K[24;1H[K[13;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c" clean up for valgrind
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cdelfunc TestOne
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset spl= enc=latin1
[?25l[?1c[27m[24m[0m[H[J[1;1HNOSPLITSUGS
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[13;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c"
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;1HTests 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!
:"
:" 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
set spl=Xtest.latin1.spl spell
" list all valid words
spelldump
%yank[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^test output:/,$wq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 283 lines, 3793 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test59.in" 626 lines, 10897 characters[1;1HTests 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for spell checking with 'encoding' set to "utf-8". vim: set ft=vim :[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 106 lines, 2520 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H: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[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso mbyte.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Don't want to depend on the locale from the environment. The .aff and .dic
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" text is in latin1, the test text is utf-8.
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset enc=latin1
[?25l[?1c[27m[24m[0m[H[J[1;1H: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.[9;6Henc=latin1[9;16H[K[10;2He!
:set enc=utf-8[11;15H[K[12;1H:set fenc=
:"
:" Function to test .aff/.dic with list of good and bad words.
:func TestOne(aff, dic)
set spellfile=[16;17H[K[17;3H$put =''
$put ='test '. a:aff . '-' . a:dic[18;37H[K[19;1H " 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[22;23H[K[23;1H " use that spell file[23;24H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset enc=utf-8
[?25l[?1c[27m[24m[0m[H[J[1;1HTests 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[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset fenc=
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Function to test .aff/.dic with list of good and bad words.
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunc TestOne(aff, dic)
[?25l[?1c
: [?25h[?0c set spellfile=
[?25l[?1c: [?25h[?0c $put =''
[?25l[?1c: [?25h[?0c $put ='test '. a:aff . '-' . a:dic
[?25l[?1c: [?25h[?0c " Generate a .spl file from a .dic and .aff file.
[?25l[?1c: [?25h[?0c exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'
[?25l[?1c: [?25h[?0c exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'
[?25l[?1c: [?25h[?0c mkspell! Xtest Xtest
[?25l[?1c: [?25h[?0c " use that spell file
[?25l[?1c: [?25h[?0c set spl=Xtest.utf-8.spl spell
[?25l[?1c: [?25h[?0c " list all valid words
[?25l[?1c: [?25h[?0c spelldump
[?25l[?1c: [?25h[?0c %yank
[?25l[?1c: [?25h[?0c quit
[?25l[?1c: [?25h[?0c $put
[?25l[?1c: [?25h[?0c $put ='-------'
[?25l[?1c: [?25h[?0c " find all bad words and suggestions for them
[?25l[?1c: [?25h[?0c exe '1;/^' . a:aff . 'good:'
[?25l[?1c: [?25h[?0c normal 0f:]s
[?25l[?1c: [?25h[?0c let prevbad = ''
[?25l[?1c: [?25h[?0c while 1
[?25l[?1c: [?25h[?0c let [bad, a] = spellbadword()
[?25l[?1c: [?25h[?0c if bad == '' || bad == prevbad || bad == 'badend'
[?25l[?1c: [?25h[?0c break
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c let prevbad = bad
[?25l[?1c: [?25h[?0c let lst = spellsuggest(bad, 3)
[?25l[?1c: [?25h[?0c normal mm
[?25l[?1c: [?25h[?0c $put =bad
[?25l[?1c: [?25h[?0c $put =string(lst)
[?25l[?1c: [?25h[?0c normal `m]s
[?25l[?1c: [?25h[?0c endwhile
[?25l[?1c: [?25h[?0cendfunc
[27m[24m[0m[H[J[?25l[?1c[1;1HTests 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[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TestOne('1', '1')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H[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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c$put =soundfold('goobledygoook')
[?25l[?1c[1;1H[19L[1;1Hthe end
uk
wrong
-------
[41mbad[0m
['put', 'uk', 'OK']
[41minputs[0m
['input', 'puts', 'outputs']
[41mcomment[0m
['Comment', 'outtest', 'the end']
[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mdéôl[0m
['deol', 'déôr', 'test']
[41mend[0m
['put', 'uk', 'test'][20;22H[K[21;1H[41mthe[0m[21;4H[K[22;1H['put', 'uk', 'test'][22;22H[K[23;1H[41mgebletegek[0m[23;11H[K[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =soundfold('kóopërÿnôven')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[41mkepereneven[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =soundfold('oeverloos gezwets edale')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[41meverles[0m [41mgesvets[0m [41metele[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" and now with SAL instead of SOFO items; test automatic reloading
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;1H[41mTests[0m [41mfor[0m [41mspell[0m [41mchecking[0m [41mwith[0m '[41mencoding[0m' [41mset[0m [41mto[0m "[41mutf-8[0m". [41mvim[0m: [41mset[0m [41mft[0m=[41mvim[0m :
[41mSTARTTEST[0m
:[41mso[0m [41msmall[0m.[41mvim[0m
:[41mso[0m [41mmbyte[0m.[41mvim[0m
:"
:" [41mDon't[0m [41mwant[0m [41mto[0m [41mdepend[0m [41mon[0m [41mthe[0m [41mlocale[0m [41mfrom[0m [41mthe[0m [41menvironment[0m. [41mThe[0m .[41maff[0m [41mand[0m .[41mdic[0m
:" [41mtext[0m [41mis[0m [41min[0m [41mlatin1[0m, [41mthe[0m test [41mtext[0m [41mis[0m [41mutf-8[0m.
:[41mset[0m [41menc[0m=[41mlatin1[0m
:[41me[0m!
:[41mset[0m [41menc[0m=[41mutf-8[0m
:[41mset[0m [41mfenc[0m=
:"
:" [41mFunction[0m [41mto[0m test .[41maff[0m/.[41mdic[0m [41mwith[0m [41mlist[0m [41mof[0m [41mgood[0m [41mand[0m [41mbad[0m [41mwords[0m.
:[41mfunc[0m [41mTestOne[0m([41maff[0m, [41mdic[0m)
[41mset[0m [41mspellfile[0m=
$put =''
$put ='test '. [41ma[0m:[41maff[0m . '-' . [41ma[0m:[41mdic[0m
" [41mGenerate[0m [41ma[0m .[41mspl[0m [41mfile[0m [41mfrom[0m [41ma[0m .[41mdic[0m [41mand[0m .[41maff[0m [41mfile[0m.
[41mexe[0m '1;/^' . [41ma[0m:[41maff[0m . '[41maffstart[0m/+1,/^' . [41ma[0m:[41maff[0m . '[41maffend[0m/-1[41mw[0m! [41mXtest[0m.[41maff[0m'
[41mexe[0m '1;/^' . [41ma[0m:[41mdic[0m . '[41mdicstart[0m/+1,/^' . [41ma[0m:[41mdic[0m . '[41mdicend[0m/-1[41mw[0m! [41mXtest[0m.[41mdic[0m'
[41mmkspell[0m! [41mXtest[0m [41mXtest[0m
" [41muse[0m [41mthat[0m [41mspell[0m [41mfile[1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0c/^affstart_sal/+1,/^affend_sal/-1w! Xtest.aff
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H153 lines, 3426 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmkspell! Xtest Xtest
[?25l[?1cReading affix file Xtest.aff ...
Reading dictionary file Xtest.dic ...
line 2, word 0 - test
Compressing word tree...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c$put =soundfold('goobledygoook')
[?25l[?1c[1;1H[14L[1;1H-------
[41mbad[0m
['put', 'uk', 'OK']
[41minputs[0m
['input', 'puts', 'outputs']
[41mcomment[0m
['Comment', 'outtest', 'the end']
[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mdéôl[0m
['deol', 'déôr', 'test']
[41mend[0m[16;4H[K[17;1H['put', 'uk', 'test']
[41mthe[0m[18;4H[K[19;1H['put', 'uk', 'test'][19;22H[K[20;1H[41mgebletegek[0m[20;11H[K[21;1H[41mkepereneven[0m[21;12H[K[22;1H[41meverles[0m [41mgesvets[0m [41metele[0m[22;22H[K[23;1H[41mkbltykk[0m[23;9H[K[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =soundfold('kóopërÿnôven')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[41mkprnfn[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =soundfold('oeverloos gezwets edale')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H*[41mfls[0m [41mkswts[0m [41mtl[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" also use an addition file
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;1H[41mTests[0m [41mfor[0m [41mspell[0m [41mchecking[0m [41mwith[0m '[41mencoding[0m' [41mset[0m [41mto[0m "[41mutf-8[0m". [41mvim[0m: [41mset[0m [41mft[0m=[41mvim[0m :
[41mSTARTTEST[0m
:[41mso[0m [41msmall[0m.[41mvim[0m
:[41mso[0m [41mmbyte[0m.[41mvim[0m
:"
:" [41mDon't[0m [41mwant[0m [41mto[0m [41mdepend[0m [41mon[0m [41mthe[0m [41mlocale[0m [41mfrom[0m [41mthe[0m [41menvironment[0m. [41mThe[0m .[41maff[0m [41mand[0m .[41mdic[0m
:" [41mtext[0m [41mis[0m [41min[0m [41mlatin1[0m, [41mthe[0m test [41mtext[0m [41mis[0m [41mutf-8[0m.
:[41mset[0m [41menc[0m=[41mlatin1[0m
:[41me[0m!
:[41mset[0m [41menc[0m=[41mutf-8[0m
:[41mset[0m [41mfenc[0m=
:"
:" [41mFunction[0m [41mto[0m test .[41maff[0m/.[41mdic[0m [41mwith[0m [41mlist[0m [41mof[0m [41mgood[0m [41mand[0m [41mbad[0m [41mwords[0m.
:[41mfunc[0m [41mTestOne[0m([41maff[0m, [41mdic[0m)
[41mset[0m [41mspellfile[0m=
$put =''
$put ='test '. [41ma[0m:[41maff[0m . '-' . [41ma[0m:[41mdic[0m
" [41mGenerate[0m [41ma[0m .[41mspl[0m [41mfile[0m [41mfrom[0m [41ma[0m .[41mdic[0m [41mand[0m .[41maff[0m [41mfile[0m.
[41mexe[0m '1;/^' . [41ma[0m:[41maff[0m . '[41maffstart[0m/+1,/^' . [41ma[0m:[41maff[0m . '[41maffend[0m/-1[41mw[0m! [41mXtest[0m.[41maff[0m'
[41mexe[0m '1;/^' . [41ma[0m:[41mdic[0m . '[41mdicstart[0m/+1,/^' . [41ma[0m:[41mdic[0m . '[41mdicend[0m/-1[41mw[0m! [41mXtest[0m.[41mdic[0m'
[41mmkspell[0m! [41mXtest[0m [41mXtest[0m
" [41muse[0m [41mthat[0m [41mspell[0m [41mfile[1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0c/^addstart/+1,/^addend/-1w! Xtest.utf-8.add
[?25l[?1c"Xtest.utf-8.add" [24;19H[K[24;19H[New File] 3 lines, 38 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmkspell! Xtest.utf-8.add.spl Xtest.utf-8.add
[?25l[?1cReading word file Xtest.utf-8.add ...[24;38H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset spellfile=Xtest.utf-8.add
[?25l[?1c[1;1H[6L[1;1H[41mTests[0m [41mfor[0m [41mspell[0m [41mchecking[0m [41mwith[0m '[41mencoding[0m' [41mset[0m [41mto[0m "[41mutf-8[0m". [41mvim[0m: [41mset[0m [41mft[0m=[41mvim[0m :
[41mSTARTTEST[0m
:[41mso[0m [41msmall[0m.[41mvim[0m
:[41mso[0m [41mmbyte[0m.[41mvim[0m
:"[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/[?25h[?0c^test2:
[?25l[?1c[27m[24m[0m[H[J[1;8H [41mtomato[0m [41mtomatotomato[0m [41mstartend[0m [41mstartword[0m [41mstartwordword[0m [41mstartwordend[0m[2;8H [41mstartwordwordend[0m [41mstartwordwordwordend[0m [41mprebork[0m [41mpreborkbork[0m[3;8H [41mpreborkborkbork[0m[4;8H [41mnouword
bad[0m: [41mwordutilize[0m [41mpro[0m [41mborkborkborkborkborkbork[0m [41mtomatotomatotomato[0m[6;8H [41mendstart[0m [41mendend[0m [41mstartstart[0m [41mwordend[0m [41mwordstart[0m[7;8H [41mpreborkprebork[0m [41mpreborkpreborkbork[0m[8;8H [41mstartwordwordwordwordend[0m [41mborkpreborkpreborkbork[0m[9;8H [41mutilsbork[0m [41mstartnouword
badend
test2[0m:
elequint test elekwint test [41melekwent[0m [41masdf[0m
Test [41maffix[0m [41mflags[0m [41mwith[0m [41mtwo[0m [41mcharacters[0m
5[41maffstart
SET[0m [41mISO8859-1
FLAG[0m [41mlong
NEEDAFFIX[0m !![12;1H[?25h[?0c[13;29H[?25l[?1c[24;1H:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[13;29H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H[41minputs[0m
['input', 'puts', 'outputs']
[41mcomment[0m
['Comment', 'outtest', 'the end']
[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mdéôl[0m
['deol', 'déôr', 'test']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent
[?25h[?0c[?25l[?1c
[0m:[?25h[?0cset spl=Xtest_us.utf-8.spl
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^test2:
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[1;8H [41mtomato[0m [41mtomatotomato[0m [41mstartend[0m [41mstartword[0m [41mstartwordword[0m [41mstartwordend[0m[2;8H [41mstartwordwordend[0m [41mstartwordwordwordend[0m [41mprebork[0m [41mpreborkbork[0m[3;8H [41mpreborkborkbork[0m[4;8H [41mnouword
bad[0m: [41mwordutilize[0m [41mpro[0m [41mborkborkborkborkborkbork[0m [41mtomatotomatotomato[0m[6;8H [41mendstart[0m [41mendend[0m [41mstartstart[0m [41mwordend[0m [41mwordstart[0m[7;8H [41mpreborkprebork[0m [41mpreborkpreborkbork[0m[8;8H [41mstartwordwordwordwordend[0m [41mborkpreborkpreborkbork[0m[9;8H [41mutilsbork[0m [41mstartnouword
badend
test2[0m:
[46melequint[0m test [46melekwint[0m test [41melekwent[0m [41masdf[0m
Test [41maffix[0m [41mflags[0m [41mwith[0m [41mtwo[0m [41mcharacters[0m
5[41maffstart
SET[0m [41mISO8859-1
FLAG[0m [41mlong
NEEDAFFIX[0m !!
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c
[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H['input', 'puts', 'outputs']
[41mcomment[0m
['Comment', 'outtest', 'the end']
[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mdéôl[0m
['deol', 'déôr', 'test']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent[0m
[46melequint
[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;8H [41mstartwordwordend[0m [41mstartwordwordwordend[0m [41mprebork[0m [41mpreborkbork[0m[2;8H [41mpreborkborkbork[0m[3;8H [41mnouword
bad[0m: [41mwordutilize[0m [41mpro[0m [41mborkborkborkborkborkbork[0m [41mtomatotomatotomato[0m[5;8H [41mendstart[0m [41mendend[0m [41mstartstart[0m [41mwordend[0m [41mwordstart[0m[6;8H [41mpreborkprebork[0m [41mpreborkpreborkbork[0m[7;8H [41mstartwordwordwordwordend[0m [41mborkpreborkpreborkbork[0m[8;8H [41mutilsbork[0m [41mstartnouword
badend
test2[0m:
[46melequint[0m test [46melekwint[0m test [41melekwent[0m [41masdf[0m
Test [41maffix[0m [41mflags[0m [41mwith[0m [41mtwo[0m [41mcharacters[0m
5[41maffstart
SET[0m [41mISO8859-1
FLAG[0m [41mlong
NEEDAFFIX[0m !!
[41mCOMPOUNDRULE[0m [41mssmm[0m*[41mee[12;1H[?25h[?0c[14C[?25l[?1c[24;1H[0m:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[12;15H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H[41mcomment[0m
['Comment', 'outtest', 'the end']
[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mdéôl[0m
['deol', 'déôr', 'test']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent[0m
[46melequint
elekwint
[?25h[?0c[?25l[?1c
[0m:[?25h[?0cset spl=Xtest_gb.utf-8.spl
[?25l[?1c[22;1Helequint
[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^test2:
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[1;8H [41mtomato[0m [41mtomatotomato[0m [41mstartend[0m [41mstartword[0m [41mstartwordword[0m [41mstartwordend[0m[2;8H [41mstartwordwordend[0m [41mstartwordwordwordend[0m [41mprebork[0m [41mpreborkbork[0m[3;8H [41mpreborkborkbork[0m[4;8H [41mnouword
bad[0m: [41mwordutilize[0m [41mpro[0m [41mborkborkborkborkborkbork[0m [41mtomatotomatotomato[0m[6;8H [41mendstart[0m [41mendend[0m [41mstartstart[0m [41mwordend[0m [41mwordstart[0m[7;8H [41mpreborkprebork[0m [41mpreborkpreborkbork[0m[8;8H [41mstartwordwordwordwordend[0m [41mborkpreborkpreborkbork[0m[9;8H [41mutilsbork[0m [41mstartnouword
badend
test2[0m:
elequint test [46melekwint[0m test [41melekwent[0m [41masdf[0m
Test [41maffix[0m [41mflags[0m [41mwith[0m [41mtwo[0m [41mcharacters[0m
5[41maffstart
SET[0m [41mISO8859-1
FLAG[0m [41mlong
NEEDAFFIX[0m !!
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c[13;15H[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[13;15H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H['Comment', 'outtest', 'the end']
[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mdéôl[0m
['deol', 'déôr', 'test']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent[0m
elequint
[46melekwint
elekwint
[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;8H [41mstartwordwordend[0m [41mstartwordwordwordend[0m [41mprebork[0m [41mpreborkbork[0m[2;8H [41mpreborkborkbork[0m[3;8H [41mnouword
bad[0m: [41mwordutilize[0m [41mpro[0m [41mborkborkborkborkborkbork[0m [41mtomatotomatotomato[0m[5;8H [41mendstart[0m [41mendend[0m [41mstartstart[0m [41mwordend[0m [41mwordstart[0m[6;8H [41mpreborkprebork[0m [41mpreborkpreborkbork[0m[7;8H [41mstartwordwordwordwordend[0m [41mborkpreborkpreborkbork[0m[8;8H [41mutilsbork[0m [41mstartnouword
badend
test2[0m:
elequint test [46melekwint[0m test [41melekwent[0m [41masdf[0m
Test [41maffix[0m [41mflags[0m [41mwith[0m [41mtwo[0m [41mcharacters[0m
5[41maffstart
SET[0m [41mISO8859-1
FLAG[0m [41mlong
NEEDAFFIX[0m !!
[41mCOMPOUNDRULE[0m [41mssmm[0m*[41mee[12;15H[?25h[?0c[14C[?25l[?1c[24;1H[0m:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[12;29H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H[41mok[0m
['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mdéôl[0m
['deol', 'déôr', 'test']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent[0m
elequint
[46melekwint
elekwint[0m
[41melekwent
[?25h[?0c[?25l[?1c
[0m:[?25h[?0cset spl=Xtest_nz.utf-8.spl
[?25l[?1c[20;1H[46melequint[0m
elekwint
elekwint
[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^test2:
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[1;8H [41mtomato[0m [41mtomatotomato[0m [41mstartend[0m [41mstartword[0m [41mstartwordword[0m [41mstartwordend[0m[2;8H [41mstartwordwordend[0m [41mstartwordwordwordend[0m [41mprebork[0m [41mpreborkbork[0m[3;8H [41mpreborkborkbork[0m[4;8H [41mnouword
bad[0m: [41mwordutilize[0m [41mpro[0m [41mborkborkborkborkborkbork[0m [41mtomatotomatotomato[0m[6;8H [41mendstart[0m [41mendend[0m [41mstartstart[0m [41mwordend[0m [41mwordstart[0m[7;8H [41mpreborkprebork[0m [41mpreborkpreborkbork[0m[8;8H [41mstartwordwordwordwordend[0m [41mborkpreborkpreborkbork[0m[9;8H [41mutilsbork[0m [41mstartnouword
badend
test2[0m:
[46melequint[0m test elekwint test [41melekwent[0m [41masdf[0m
Test [41maffix[0m [41mflags[0m [41mwith[0m [41mtwo[0m [41mcharacters[0m
5[41maffstart
SET[0m [41mISO8859-1
FLAG[0m [41mlong
NEEDAFFIX[0m !!
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c
[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H['OK', 'uk', 'put']
[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mdéôl[0m
['deol', 'déôr', 'test']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent[0m
[46melequint[0m
elekwint
elekwint
[41melekwent[0m
[46melequint
[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;8H [41mstartwordwordend[0m [41mstartwordwordwordend[0m [41mprebork[0m [41mpreborkbork[0m[2;8H [41mpreborkborkbork[0m[3;8H [41mnouword
bad[0m: [41mwordutilize[0m [41mpro[0m [41mborkborkborkborkborkbork[0m [41mtomatotomatotomato[0m[5;8H [41mendstart[0m [41mendend[0m [41mstartstart[0m [41mwordend[0m [41mwordstart[0m[6;8H [41mpreborkprebork[0m [41mpreborkpreborkbork[0m[7;8H [41mstartwordwordwordwordend[0m [41mborkpreborkpreborkbork[0m[8;8H [41mutilsbork[0m [41mstartnouword
badend
test2[0m:
[46melequint[0m test elekwint test [41melekwent[0m [41masdf[0m
Test [41maffix[0m [41mflags[0m [41mwith[0m [41mtwo[0m [41mcharacters[0m
5[41maffstart
SET[0m [41mISO8859-1
FLAG[0m [41mlong
NEEDAFFIX[0m !!
[41mCOMPOUNDRULE[0m [41mssmm[0m*[41mee[12;1H[?25h[?0c[28C[?25l[?1c[24;1H[0m:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[12;29H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H[41mOk[0m
['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mdéôl[0m
['deol', 'déôr', 'test']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent[0m
[46melequint[0m
elekwint
elekwint
[41melekwent[0m
[46melequint[0m
[41melekwent
[?25h[?0c[?25l[?1c
[0m:[?25h[?0cset spl=Xtest_ca.utf-8.spl
[?25l[?1c[18;1H[41melequint
elekwint
elekwint
elequint
[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H/[?25h[?0c^test2:
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[1;8H [41mtomato[0m [41mtomatotomato[0m [41mstartend[0m [41mstartword[0m [41mstartwordword[0m [41mstartwordend[0m[2;8H [41mstartwordwordend[0m [41mstartwordwordwordend[0m [41mprebork[0m [41mpreborkbork[0m[3;8H [41mpreborkborkbork[0m[4;8H [41mnouword
bad[0m: [41mwordutilize[0m [41mpro[0m [41mborkborkborkborkborkbork[0m [41mtomatotomatotomato[0m[6;8H [41mendstart[0m [41mendend[0m [41mstartstart[0m [41mwordend[0m [41mwordstart[0m[7;8H [41mpreborkprebork[0m [41mpreborkpreborkbork[0m[8;8H [41mstartwordwordwordwordend[0m [41mborkpreborkpreborkbork[0m[9;8H [41mutilsbork[0m [41mstartnouword
badend
test2[0m:
[41melequint[0m test [41melekwint[0m test [41melekwent[0m [41masdf[0m
Test [41maffix[0m [41mflags[0m [41mwith[0m [41mtwo[0m [41mcharacters[0m
5[41maffstart
SET[0m [41mISO8859-1
FLAG[0m [41mlong
NEEDAFFIX[0m !!
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c
[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1H['OK', 'Uk', 'Put']
test
['Test', 'testn', 'testen']
[41mdéôl[0m
['deol', 'déôr', 'test']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent
elequint
elekwint
elekwint
elekwent
elequint
elekwent
elequint
[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;8H [41mstartwordwordend[0m [41mstartwordwordwordend[0m [41mprebork[0m [41mpreborkbork[0m[2;8H [41mpreborkborkbork[0m[3;8H [41mnouword
bad[0m: [41mwordutilize[0m [41mpro[0m [41mborkborkborkborkborkbork[0m [41mtomatotomatotomato[0m[5;8H [41mendstart[0m [41mendend[0m [41mstartstart[0m [41mwordend[0m [41mwordstart[0m[6;8H [41mpreborkprebork[0m [41mpreborkpreborkbork[0m[7;8H [41mstartwordwordwordwordend[0m [41mborkpreborkpreborkbork[0m[8;8H [41mutilsbork[0m [41mstartnouword
badend
test2[0m:
[41melequint[0m test [41melekwint[0m test [41melekwent[0m [41masdf[0m
Test [41maffix[0m [41mflags[0m [41mwith[0m [41mtwo[0m [41mcharacters[0m
5[41maffstart
SET[0m [41mISO8859-1
FLAG[0m [41mlong
NEEDAFFIX[0m !!
[41mCOMPOUNDRULE[0m [41mssmm[0m*[41mee[12;1H[?25h[?0c[14C[?25l[?1c[24;1H[0m:[?25h[?0clet [str, a] = spellbadword()
[?25l[?1c[12;15H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =str
[?25l[?1c[27m[24m[0m[H[J[1;1Htest
['Test', 'testn', 'testen']
[41mdéôl[0m
['deol', 'déôr', 'test']
[41mend[0m
['put', 'uk', 'test']
[41mthe[0m
['put', 'uk', 'test']
[41mgebletegek
kepereneven
everles[0m [41mgesvets[0m [41metele
kbltykk
kprnfn[0m
*[41mfls[0m [41mkswts[0m [41mtl
elekwent
elequint
elekwint
elekwint
elekwent
elequint
elekwent
elequint
elekwint
[?25h[?0c[?25l[?1c
[0m:[?25h[?0cunlet str a
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Postponed prefixes
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TestOne('2', '1')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H46 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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[12L[1;1H[41maddstart[0m
/[41mregions[0m=[41musgbnz
elequint[0m/2
[41melekwint[0m/3
[41maddend[0m
1[41mgood[0m: wrong OK puts. Test the end
[41mbad[0m: [41minputs[0m [41mcomment[0m [41mok[0m [41mOk[0m. [44mtest[0m [41mdéôl[0m [41mend[0m [41mthe
badend[0m
2[41mgood[0m: puts
[41mbad[0m: [41minputs[0m [41mcomment[0m [41mok[0m [41mOk[0m [41mend[0m [41mthe[0m. [44mtest[0m [41mdéôl
badend[0m[14;1H[K[15;1HTest [41mrules[0m [41mfor[0m [41mcompounding[0m.[16;1H[K[17;1H3[41maffstart
SET[0m [41mISO8859-1[0m[19;1H[K[20;1H[41mCOMPOUNDMIN[0m 3
[41mCOMPOUNDRULE[0m [41mm[0m*
[41mNEEDCOMPOUND[0m [41mx[0m
3[41maffend[0m[23;8H[K[24;1H[K[13;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c" Compound words
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TestOne('3', '3')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H5 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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall TestOne('4', '4')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H45 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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall TestOne('5', '5')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H25 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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall TestOne('6', '6')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H23 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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall TestOne('7', '7')
[?25l[?1c"Xtest.aff" [24;13H[K[24;13H26 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...[24;26H[K[24;1H
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[27m[24m[0m[H[J[1;1H1234
[41mmee[0m/391,111,9999
bar/17,61003,123
lead/2
tail/123
[41mmiddle[0m/77,1
7[41mdicend[0m
7[41mgood[0m: meea1 meeaé bar prebar barmeat prebarmeat leadprebar[10;6H lead tail leadtail leadmiddletail
[41mbad[0m: [41mmee[0m [41mmeea2[0m [41mprabar[0m [41mprobarmaat[0m [41mmiddle[0m [41mleadmiddle[0m [41mmiddletail[0m [41mtaillead[0m[12;8H [41mleadprobar
badend
test[0m [41moutput[0m:
[41mtest[0m 1-1
# [41mfile[0m: [41mXtest[0m.[41mutf[0m-8.[41mspl
Comment
deol
déôr
input
OK[13;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0c" clean up for valgrind
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cdelfunc TestOne
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset spl= enc=latin1
[?25l[?1c[27m[24m[0m[H[J[1;1H1234
mee/391,111,9999
bar/17,61003,123
lead/2
tail/123
middle/77,1
7dicend
7good: meea1 meeaé bar prebar barmeat prebarmeat leadprebar[10;7Hlead tail leadtail leadmiddletail
bad: mee meea2 prabar probarmaat middle leadmiddle middletail taillead[12;9Hleadprobar
badend
test output:
test 1-1
# file: Xtest.utf-8.spl
Comment
deol
déôr
input
OK[13;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c"
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;1HTests 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[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c/^test output:/,$wq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 270 lines, 3685 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test60.in" 580 lines, 12483 characters[1;1HTests for the exists() function. vim: set ft=vim :
STARTTEST
:so small.vim
:function! RunTest(str, result)
if exists(a:str) == a:result[7;9Hecho "OK"
else[9;9Hecho "FAILED: Checking for " . a:str
endif
endfunction
:function! TestExists()
augroup myagroup[14;9Hautocmd! BufEnter *.my echo 'myfile edited'
augroup END[17;5Hlet test_cases = [][19;5H" valid autocmd group
let test_cases += [['#myagroup', 1]]
" valid autocmd group with garbage
let test_cases += [['#myagroup+b', 0]]
" Valid autocmd group and event[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for the exists() function. vim: set ft=vim :[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 575 lines, 12411 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[2;9Hecho 'a:2: 0'[3;9Hif !exists('a:2')[4;13Hecho "OK"[5;9Helse[6;13Hecho "FAILED"[7;9Hendif
endfunction[10;5Hcall TestFuncArg("arg1", "arg2")[12;5Hredir END
endfunction
:call TestExists()
:delfunc TestExists
:delfunc RunTest
:delfunc TestFuncArg
:edit! test.out
:set ff=unix
:w
:qa!
ENDTEST
[?25h[?0c
[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction! RunTest(str, result)
[?25l[?1c
: [?25h[?0c if exists(a:str) == a:result
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED: Checking for " . a:str
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0cendfunction
[1;1H[6L[?25l[?1c[2;9Hecho 'a:2: 0'[3;9Hif !exists('a:2')[4;13Hecho "OK"[5;9Helse[6;13Hecho "FAILED"[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cfunction! TestExists()
[?25l[?1c
: [?25h[?0c augroup myagroup
[?25l[?1c: [?25h[?0c[1m[34m^I[0mautocmd! BufEnter *.my echo 'myfile edited'
[?25l[?1c: [?25h[?0c augroup END
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c let test_cases = []
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " valid autocmd group
[?25l[?1c: [?25h[?0c let test_cases += [['#myagroup', 1]]
[?25l[?1c: [?25h[?0c " valid autocmd group with garbage
[?25l[?1c: [?25h[?0c let test_cases += [['#myagroup+b', 0]]
[?25l[?1c: [?25h[?0c " Valid autocmd group and event
[?25l[?1c: [?25h[?0c let test_cases += [['#myagroup#BufEnter', 1]]
[?25l[?1c: [?25h[?0c " Valid autocmd group, event and pattern
[?25l[?1c: [?25h[?0c let test_cases += [['#myagroup#BufEnter#*.my', 1]]
[?25l[?1c: [?25h[?0c " Valid autocmd event
[?25l[?1c: [?25h[?0c let test_cases += [['#BufEnter', 1]]
[?25l[?1c: [?25h[?0c " Valid autocmd event and pattern
[?25l[?1c: [?25h[?0c let test_cases += [['#BufEnter#*.my', 1]]
[?25l[?1c: [?25h[?0c " Non-existing autocmd group or event
[?25l[?1c: [?25h[?0c let test_cases += [['#xyzagroup', 0]]
[?25l[?1c: [?25h[?0c " Non-existing autocmd group and valid autocmd event
[?25l[?1c: [?25h[?0c let test_cases += [['#xyzagroup#BufEnter', 0]]
[?25l[?1c: [?25h[?0c " Valid autocmd group and event with no matching pattern
[?25l[?1c: [?25h[?0c let test_cases += [['#myagroup#CmdwinEnter', 0]]
[?25l[?1c: [?25h[?0c " Valid autocmd group and non-existing autocmd event
[?25l[?1c: [?25h[?0c let test_cases += [['#myagroup#xyzacmd', 0]]
[?25l[?1c: [?25h[?0c " Valid autocmd group and event and non-matching pattern
[?25l[?1c: [?25h[?0c let test_cases += [['#myagroup#BufEnter#xyzpat', 0]]
[?25l[?1c: [?25h[?0c " Valid autocmd event and non-matching pattern
[?25l[?1c: [?25h[?0c let test_cases += [['#BufEnter#xyzpat', 0]]
[?25l[?1c: [?25h[?0c " Empty autocmd group, event and pattern
[?25l[?1c: [?25h[?0c let test_cases += [['###', 0]]
[?25l[?1c: [?25h[?0c " Empty autocmd group and event or empty event and pattern
[?25l[?1c: [?25h[?0c let test_cases += [['##', 0]]
[?25l[?1c: [?25h[?0c " Valid autocmd event
[?25l[?1c: [?25h[?0c let test_cases += [['##FileReadCmd', 1]]
[?25l[?1c: [?25h[?0c " Non-existing autocmd event
[?25l[?1c: [?25h[?0c let test_cases += [['##MySpecialCmd', 0]]
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing and working option (long form)
[?25l[?1c: [?25h[?0c let test_cases += [['&textwidth', 1]]
[?25l[?1c: [?25h[?0c " Existing and working option (short form)
[?25l[?1c: [?25h[?0c let test_cases += [['&tw', 1]]
[?25l[?1c: [?25h[?0c " Existing and working option with garbage
[?25l[?1c: [?25h[?0c let test_cases += [['&tw-', 0]]
[?25l[?1c: [?25h[?0c " Global option
[?25l[?1c: [?25h[?0c let test_cases += [['&g:errorformat', 1]]
[?25l[?1c: [?25h[?0c " Local option
[?25l[?1c: [?25h[?0c let test_cases += [['&l:errorformat', 1]]
[?25l[?1c: [?25h[?0c " Negative form of existing and working option (long form)
[?25l[?1c: [?25h[?0c let test_cases += [['&nojoinspaces', 0]]
[?25l[?1c: [?25h[?0c " Negative form of existing and working option (short form)
[?25l[?1c: [?25h[?0c let test_cases += [['&nojs', 0]]
[?25l[?1c: [?25h[?0c " Non-existing option
[?25l[?1c: [?25h[?0c let test_cases += [['&myxyzoption', 0]]
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing and working option (long form)
[?25l[?1c: [?25h[?0c let test_cases += [['+incsearch', 1]]
[?25l[?1c: [?25h[?0c " Existing and working option with garbage
[?25l[?1c: [?25h[?0c let test_cases += [['+incsearch!1', 0]]
[?25l[?1c: [?25h[?0c " Existing and working option (short form)
[?25l[?1c: [?25h[?0c let test_cases += [['+is', 1]]
[?25l[?1c: [?25h[?0c " Existing option that is hidden.
[?25l[?1c: [?25h[?0c let test_cases += [['+autoprint', 0]]
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing environment variable
[?25l[?1c: [?25h[?0c let $EDITOR_NAME = 'Vim Editor'
[?25l[?1c: [?25h[?0c let test_cases += [['$EDITOR_NAME', 1]]
[?25l[?1c: [?25h[?0c " Non-existing environment variable
[?25l[?1c: [?25h[?0c let test_cases += [['$NON_ENV_VAR', 0]]
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Valid internal function
[?25l[?1c: [?25h[?0c let test_cases += [['*bufnr', 1]]
[?25l[?1c: [?25h[?0c " Valid internal function with ()
[?25l[?1c: [?25h[?0c let test_cases += [['*bufnr()', 1]]
[?25l[?1c: [?25h[?0c " Non-existing internal function
[?25l[?1c: [?25h[?0c let test_cases += [['*myxyzfunc', 0]]
[?25l[?1c: [?25h[?0c " Valid internal function with garbage
[?25l[?1c: [?25h[?0c let test_cases += [['*bufnr&6', 0]]
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Valid user defined function
[?25l[?1c: [?25h[?0c let test_cases += [['*TestExists', 1]]
[?25l[?1c: [?25h[?0c " Non-existing user defined function
[?25l[?1c: [?25h[?0c let test_cases += [['*MyxyzFunc', 0]]
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c redir! > test.out
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c for [test_case, result] in test_cases
[?25l[?1c: [?25h[?0c [1m[34m^I[0mecho test_case . ": " . result
[?25l[?1c: [?25h[?0c call RunTest(test_case, result)
[?25l[?1c: [?25h[?0c endfor
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Valid internal command (full match)
[?25l[?1c: [?25h[?0c echo ':edit: 2'
[?25l[?1c: [?25h[?0c if exists(':edit') == 2
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Valid internal command (full match) with garbage
[?25l[?1c: [?25h[?0c echo ':edit/a: 0'
[?25l[?1c: [?25h[?0c if exists(':edit/a') == 0
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Valid internal command (partial match)
[?25l[?1c: [?25h[?0c echo ':q: 1'
[?25l[?1c: [?25h[?0c if exists(':q') == 1
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing internal command
[?25l[?1c: [?25h[?0c echo ':invalidcmd: 0'
[?25l[?1c: [?25h[?0c if !exists(':invalidcmd')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " User defined command (full match)
[?25l[?1c: [?25h[?0c command! MyCmd :echo 'My command'
[?25l[?1c: [?25h[?0c echo ':MyCmd: 2'
[?25l[?1c: [?25h[?0c if exists(':MyCmd') == 2
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " User defined command (partial match)
[?25l[?1c: [?25h[?0c command! MyOtherCmd :echo 'Another command'
[?25l[?1c: [?25h[?0c echo ':My: 3'
[?25l[?1c: [?25h[?0c if exists(':My') == 3
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Command modifier
[?25l[?1c: [?25h[?0c echo ':rightbelow: 2'
[?25l[?1c: [?25h[?0c if exists(':rightbelow') == 2
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing user defined command (full match)
[?25l[?1c: [?25h[?0c delcommand MyCmd
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c echo ':MyCmd: 0'
[?25l[?1c: [?25h[?0c if !exists(':MyCmd')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing user defined command (partial match)
[?25l[?1c: [?25h[?0c delcommand MyOtherCmd
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c echo ':My: 0'
[?25l[?1c: [?25h[?0c if !exists(':My')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Valid local variable
[?25l[?1c: [?25h[?0c let local_var = 1
[?25l[?1c: [?25h[?0c echo 'local_var: 1'
[?25l[?1c: [?25h[?0c if exists('local_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Valid local variable with garbage
[?25l[?1c: [?25h[?0c let local_var = 1
[?25l[?1c: [?25h[?0c echo 'local_var%n: 0'
[?25l[?1c: [?25h[?0c if !exists('local_var%n')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing local variable
[?25l[?1c: [?25h[?0c unlet local_var
[?25l[?1c: [?25h[?0c echo 'local_var: 0'
[?25l[?1c: [?25h[?0c if !exists('local_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Valid local list
[?25l[?1c: [?25h[?0c let local_list = ["blue", "orange"]
[?25l[?1c: [?25h[?0c echo 'local_list: 1'
[?25l[?1c: [?25h[?0c if exists('local_list')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Valid local list item
[?25l[?1c: [?25h[?0c echo 'local_list[1]: 1'
[?25l[?1c: [?25h[?0c if exists('local_list[1]')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Valid local list item with garbage
[?25l[?1c: [?25h[?0c echo 'local_list[1]+5: 0'
[?25l[?1c: [?25h[?0c if !exists('local_list[1]+5')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Invalid local list item
[?25l[?1c: [?25h[?0c echo 'local_list[2]: 0'
[?25l[?1c: [?25h[?0c if !exists('local_list[2]')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing local list
[?25l[?1c: [?25h[?0c unlet local_list
[?25l[?1c: [?25h[?0c echo 'local_list: 0'
[?25l[?1c: [?25h[?0c if !exists('local_list')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Valid local dictionary
[?25l[?1c: [?25h[?0c let local_dict = {"xcord":100, "ycord":2}
[?25l[?1c: [?25h[?0c echo 'local_dict: 1'
[?25l[?1c: [?25h[?0c if exists('local_dict')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing local dictionary
[?25l[?1c: [?25h[?0c unlet local_dict
[?25l[?1c: [?25h[?0c echo 'local_dict: 0'
[?25l[?1c: [?25h[?0c if !exists('local_dict')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing local curly-brace variable
[?25l[?1c: [?25h[?0c let str = "local"
[?25l[?1c: [?25h[?0c let curly_{str}_var = 1
[?25l[?1c: [?25h[?0c echo 'curly_' . str . '_var: 1'
[?25l[?1c: [?25h[?0c if exists('curly_{str}_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing local curly-brace variable
[?25l[?1c: [?25h[?0c unlet curly_{str}_var
[?25l[?1c: [?25h[?0c echo 'curly_' . str . '_var: 0'
[?25l[?1c: [?25h[?0c if !exists('curly_{str}_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing global variable
[?25l[?1c: [?25h[?0c let g:global_var = 1
[?25l[?1c: [?25h[?0c echo 'g:global_var: 1'
[?25l[?1c: [?25h[?0c if exists('g:global_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing global variable with garbage
[?25l[?1c: [?25h[?0c echo 'g:global_var-n: 1'
[?25l[?1c: [?25h[?0c if !exists('g:global_var-n')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing global variable
[?25l[?1c: [?25h[?0c unlet g:global_var
[?25l[?1c: [?25h[?0c echo 'g:global_var: 0'
[?25l[?1c: [?25h[?0c if !exists('g:global_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing global list
[?25l[?1c: [?25h[?0c let g:global_list = ["blue", "orange"]
[?25l[?1c: [?25h[?0c echo 'g:global_list: 1'
[?25l[?1c: [?25h[?0c if exists('g:global_list')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing global list
[?25l[?1c: [?25h[?0c unlet g:global_list
[?25l[?1c: [?25h[?0c echo 'g:global_list: 0'
[?25l[?1c: [?25h[?0c if !exists('g:global_list')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing global dictionary
[?25l[?1c: [?25h[?0c let g:global_dict = {"xcord":100, "ycord":2}
[?25l[?1c: [?25h[?0c echo 'g:global_dict: 1'
[?25l[?1c: [?25h[?0c if exists('g:global_dict')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing global dictionary
[?25l[?1c: [?25h[?0c unlet g:global_dict
[?25l[?1c: [?25h[?0c echo 'g:global_dict: 0'
[?25l[?1c: [?25h[?0c if !exists('g:global_dict')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing global curly-brace variable
[?25l[?1c: [?25h[?0c let str = "global"
[?25l[?1c: [?25h[?0c let g:curly_{str}_var = 1
[?25l[?1c: [?25h[?0c echo 'g:curly_' . str . '_var: 1'
[?25l[?1c: [?25h[?0c if exists('g:curly_{str}_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing global curly-brace variable
[?25l[?1c: [?25h[?0c unlet g:curly_{str}_var
[?25l[?1c: [?25h[?0c echo 'g:curly_' . str . '_var: 0'
[?25l[?1c: [?25h[?0c if !exists('g:curly_{str}_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing window variable
[?25l[?1c: [?25h[?0c echo 'w:window_var: 1'
[?25l[?1c: [?25h[?0c let w:window_var = 1
[?25l[?1c: [?25h[?0c if exists('w:window_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing window variable
[?25l[?1c: [?25h[?0c unlet w:window_var
[?25l[?1c: [?25h[?0c echo 'w:window_var: 0'
[?25l[?1c: [?25h[?0c if !exists('w:window_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing window list
[?25l[?1c: [?25h[?0c let w:window_list = ["blue", "orange"]
[?25l[?1c: [?25h[?0c echo 'w:window_list: 1'
[?25l[?1c: [?25h[?0c if exists('w:window_list')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing window list
[?25l[?1c: [?25h[?0c unlet w:window_list
[?25l[?1c: [?25h[?0c echo 'w:window_list: 0'
[?25l[?1c: [?25h[?0c if !exists('w:window_list')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing window dictionary
[?25l[?1c: [?25h[?0c let w:window_dict = {"xcord":100, "ycord":2}
[?25l[?1c: [?25h[?0c echo 'w:window_dict: 1'
[?25l[?1c: [?25h[?0c if exists('w:window_dict')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing window dictionary
[?25l[?1c: [?25h[?0c unlet w:window_dict
[?25l[?1c: [?25h[?0c echo 'w:window_dict: 0'
[?25l[?1c: [?25h[?0c if !exists('w:window_dict')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing window curly-brace variable
[?25l[?1c: [?25h[?0c let str = "window"
[?25l[?1c: [?25h[?0c let w:curly_{str}_var = 1
[?25l[?1c: [?25h[?0c echo 'w:curly_' . str . '_var: 1'
[?25l[?1c: [?25h[?0c if exists('w:curly_{str}_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing window curly-brace variable
[?25l[?1c: [?25h[?0c unlet w:curly_{str}_var
[?25l[?1c: [?25h[?0c echo 'w:curly_' . str . '_var: 0'
[?25l[?1c: [?25h[?0c if !exists('w:curly_{str}_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing buffer variable
[?25l[?1c: [?25h[?0c echo 'b:buffer_var: 1'
[?25l[?1c: [?25h[?0c let b:buffer_var = 1
[?25l[?1c: [?25h[?0c if exists('b:buffer_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing buffer variable
[?25l[?1c: [?25h[?0c unlet b:buffer_var
[?25l[?1c: [?25h[?0c echo 'b:buffer_var: 0'
[?25l[?1c: [?25h[?0c if !exists('b:buffer_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing buffer list
[?25l[?1c: [?25h[?0c let b:buffer_list = ["blue", "orange"]
[?25l[?1c: [?25h[?0c echo 'b:buffer_list: 1'
[?25l[?1c: [?25h[?0c if exists('b:buffer_list')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing buffer list
[?25l[?1c: [?25h[?0c unlet b:buffer_list
[?25l[?1c: [?25h[?0c echo 'b:buffer_list: 0'
[?25l[?1c: [?25h[?0c if !exists('b:buffer_list')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing buffer dictionary
[?25l[?1c: [?25h[?0c let b:buffer_dict = {"xcord":100, "ycord":2}
[?25l[?1c: [?25h[?0c echo 'b:buffer_dict: 1'
[?25l[?1c: [?25h[?0c if exists('b:buffer_dict')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing buffer dictionary
[?25l[?1c: [?25h[?0c unlet b:buffer_dict
[?25l[?1c: [?25h[?0c echo 'b:buffer_dict: 0'
[?25l[?1c: [?25h[?0c if !exists('b:buffer_dict')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing buffer curly-brace variable
[?25l[?1c: [?25h[?0c let str = "buffer"
[?25l[?1c: [?25h[?0c let b:curly_{str}_var = 1
[?25l[?1c: [?25h[?0c echo 'b:curly_' . str . '_var: 1'
[?25l[?1c: [?25h[?0c if exists('b:curly_{str}_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing buffer curly-brace variable
[?25l[?1c: [?25h[?0c unlet b:curly_{str}_var
[?25l[?1c: [?25h[?0c echo 'b:curly_' . str . '_var: 0'
[?25l[?1c: [?25h[?0c if !exists('b:curly_{str}_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Script-local tests
[?25l[?1c: [?25h[?0c source test60.vim
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Existing Vim internal variable
[?25l[?1c: [?25h[?0c echo 'v:version: 1'
[?25l[?1c: [?25h[?0c if exists('v:version')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Non-existing Vim internal variable
[?25l[?1c: [?25h[?0c echo 'v:non_exists_var: 0'
[?25l[?1c: [?25h[?0c if !exists('v:non_exists_var')
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c[1m[34m^I[0mecho "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c " Function arguments
[?25l[?1c: [?25h[?0c function TestFuncArg(func_arg, ...)
[?25l[?1c: [?25h[?0c echo 'a:func_arg: 1'
[?25l[?1c: [?25h[?0c if exists('a:func_arg')
[?25l[?1c: [?25h[?0c echo "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c echo "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c echo 'a:non_exists_arg: 0'
[?25l[?1c: [?25h[?0c if !exists('a:non_exists_arg')
[?25l[?1c: [?25h[?0c echo "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c echo "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c echo 'a:1: 1'
[?25l[?1c: [?25h[?0c if exists('a:1')
[?25l[?1c: [?25h[?0c echo "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c echo "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c echo 'a:2: 0'
[?25l[?1c: [?25h[?0c if !exists('a:2')
[?25l[?1c: [?25h[?0c echo "OK"
[?25l[?1c: [?25h[?0c else
[?25l[?1c: [?25h[?0c echo "FAILED"
[?25l[?1c: [?25h[?0c endif
[?25l[?1c: [?25h[?0c endfunction
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c call TestFuncArg("arg1", "arg2")
[?25l[?1c: [?25h[?0c
[?25l[?1c: [?25h[?0c redir END
[?25l[?1c: [?25h[?0cendfunction
[27m[24m[0m[H[J[?25l[?1c[2;9Hecho 'a:2: 0'[3;9Hif !exists('a:2')[4;13Hecho "OK"[5;9Helse[6;13Hecho "FAILED"[7;9Hendif
endfunction[10;5Hcall TestFuncArg("arg1", "arg2")[12;5Hredir END
endfunction
:call TestExists()
:delfunc TestExists
:delfunc RunTest
:delfunc TestFuncArg
:edit! test.out
:set ff=unix
:w
:qa!
ENDTEST
[?25h[?0c[?25l[?1c
:[?25h[?0ccall TestExists()
[?25l[?1c#myagroup: 1[24;13H[K[24;1H
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
: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
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
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cdelfunc TestExists
[?25l[?1c[27m[24m[0m[H[J[2;9Hecho 'a:2: 0'[3;9Hif !exists('a:2')[4;13Hecho "OK"[5;9Helse[6;13Hecho "FAILED"[7;9Hendif
endfunction[10;5Hcall TestFuncArg("arg1", "arg2")[12;5Hredir END
endfunction
:call TestExists()
:delfunc TestExists
:delfunc RunTest
:delfunc TestFuncArg
:edit! test.out
:set ff=unix
:w
:qa!
ENDTEST
[?25h[?0c[?25l[?1c
:[?25h[?0cdelfunc RunTest
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cdelfunc TestFuncArg
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cedit! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[Incomplete last line] 197 lines, 1844 characters[2;1H#myagroup: 1[2;14H[K[3;1HOK[3;9H[K[4;1H#myagroup+b: 0[4;15H[K[5;1HOK[5;9H[K[6;1H#myagroup#BufEnter: 1[6;22H[K[7;1HOK[7;9H[K[8;1H#myagroup#BufEnter#*.my: 1
OK
#BufEnter: 1[10;13H[K[11;1HOK
#BufEnter#*.my: 1
OK[13;3H[K[14;1H#xyzagroup: 0[14;14H[K[15;1HOK[15;3H[K[16;1H#xyzagroup#BufEnter: 0
OK[17;3H[K[18;1H#myagroup#CmdwinEnter: 0
OK[19;3H[K[20;1H#myagroup#xyzacmd: 0
OK[21;3H[K[22;1H#myagroup#BufEnter#xyzpat: 0
OK[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ff=unix
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw
[?25l[?1c"test.out" 197 lines, 1845 characters written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test61.in" 93 lines, 1555 characters[1;1HTests 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for undo tree.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[6;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 1 line, 25 characters written[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[7;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[8;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cecho undotree().entries
[?25l[?1c[][24;3H[K[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[10;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H77 lines, 1282 characters written[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[11;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:" expect empty line
:%yank c
:later 1f
:" expect "one one one"
:%yank d
:later 1f
:" expect "one one one\ntwo\ntwo"
:%yank e
:later 1f
:" expect "one one one\ntwo\ntwo\nthree"
ggO---[1m[34m^[[0m:0put e
ggO---[1m[34m^[[0m:0put d
ggO---[1m[34m^[[0m:0put c
ggO---[1m[34m^[[0m:0put b
ggO---[1m[34m^[[0m:0put a
ggO---[1m[34m^[[0m:w >>test.out
:qa!
ENDTEST
1111 -----
2222 -----
123456789[18;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Delete three characters and undo
[?25l[?1c[19;1H[?25h[?0c[23;1H[?25l[?1c23456789[23;9H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ul=100
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c3456789[23;8H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ul=100
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c456789[23;7H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 1 line, 7 characters written[23;1H[?25h[?0c[?25l[?1c
1 change; before #3 0 seconds ago[24;35H[K[23;1H3456789
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 8 characters appended[23;1H[?25h[?0c[?25l[?1c
1 change; before #2 0 seconds ago[24;35H[K[23;1H23456789
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 9 characters appended[23;1H[?25h[?0c[?25l[?1c
1 change; before #1 0 seconds ago[24;35H[K[23;1H123456789
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 10 characters appended[23;1H[?25h[?0c[?25l[?1c
Already at oldest change[24;25H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 10 characters appended[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^111/w >>test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H1 line, 11 characters appended[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Delete three other characters and go back in time step by step
[?25l[?1c[23;1H[?25h[?0c[8C[?25l[?1c[23;9H[K[23;8H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ul=100
[?25l[?1c[23;8H[?25h[?0c[?25l[?1c[23;8H[K[23;7H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ul=100
[?25l[?1c[23;7H[?25h[?0c[?25l[?1c[23;7H[K[23;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 7 characters appended[23;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csleep 1
[?25l[?1c[23;6H[?25h[?0c[?25l[?1c
1 change; before #6 1 seconds ago[23;7H7[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 8 characters appended[23;7H[?25h[?0c[?25l[?1c
1 change; before #5 1 seconds ago[24;35H[K[23;8H8[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 9 characters appended[23;8H[?25h[?0c[?25l[?1c
4 changes; after #3 1 seconds ago[24;35H[K[23;1H456789[23;7H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 7 characters appended[23;1H[?25h[?0c[?25l[?1c
1 change; before #3 1 seconds ago[24;35H[K[23;1H3456789
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 8 characters appended[23;1H[?25h[?0c[?25l[?1c
1 change; before #2 2 seconds ago[24;35H[K[23;1H23456789
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 9 characters appended[23;1H[?25h[?0c[?25l[?1c
1 change; before #1 2 seconds ago[24;35H[K[23;1H123456789
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 10 characters appended[23;1H[?25h[?0c[?25l[?1c
Already at oldest change[24;25H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 10 characters appended[23;1H[?25h[?0c[?25l[?1c
Already at oldest change[24;25H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 10 characters appended[23;1H[?25h[?0c[?25l[?1c
3 changes; after #6 2 seconds ago[24;35H[K[23;7H[K[23;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 7 characters appended[23;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^222/w >>test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H1 line, 11 characters appended[23;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Delay for three seconds and go some seconds forward and backward
[?25l[?1c[23;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0csleep 2
[?25l[?1c[23;6H[?25h[?0c[?25l[?1c6a[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ul=100
[?25l[?1c[23;7H[?25h[?0c[?25l[?1cab[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ul=100
[?25l[?1c[23;8H[?25h[?0c[?25l[?1cbc[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ul=100
[?25l[?1c[23;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 10 characters appended[23;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cear 1s
[?25l[?1c3 changes; before #7 0 seconds ago[23;7H[K[23;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 7 characters appended[23;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cear 3s
[?25l[?1c3 changes; before #1 4 seconds ago[23;7H789[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 10 characters appended[23;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clater 1s
[?25l[?1c3 changes; after #6 4 seconds ago[23;7H[K[23;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 7 characters appended[23;6H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clater 1h
[?25l[?1c3 changes; after #9 0 seconds ago[23;7Habc[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 10 characters appended[23;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" test undojoin
[?25l[?1c[23;9H[?25h[?0c
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Haaaa[24;1H[K[23;4H[?25h[?0c[?25l[?1c
:[?25h[?0cset ul=100
[?25l[?1c[23;4H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hbbbb[24;1H[K[23;4H[?25h[?0c[?25l[?1c
1 line less; before #11 0 seconds ago[23;1H[1m[34m~ [22;4H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 5 characters appended[22;4H[?25h[?0c[?25l[?1c
bbbb[23;5H[K[23;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ul=100
[?25l[?1c[23;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cundojoin
[?25l[?1c[23;4H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hcccc[24;1H[K[23;4H[?25h[?0c[?25l[?1c
2 fewer lines; before #12 0 seconds ago[22;1H[1m[34m~ [23;1H~ [21;4H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1 line, 5 characters appended[21;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtest
[?25l[?1c"Xtest" [New File][1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [1;1H[?25h[?0c[?25l[?1c[0mone one one[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ul=100
[?25l[?1c[1;11H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw!
[?25l[?1c"Xtest" [New File] 1 line, 12 characters written[1;11H[?25h[?0c[?25l[?1c
two[2;4H[K[2;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ul=100
[?25l[?1c[2;3H[?25h[?0c[?25l[?1c
two[3;4H[K[3;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ul=100
[?25l[?1c[3;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw
[?25l[?1c"Xtest" 3 lines, 20 characters written[3;3H[?25h[?0c[?25l[?1c
three[4;6H[K[4;5H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cearlier 1f
[?25l[?1c1 line less; before #4 0 seconds ago[4;1H[1m[34m~ [3;3H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c" expect "one one one\ntwo\ntwo"
[?25l[?1c[3;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c%yank a
[?25l[?1c3 lines yanked[3;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cearlier 1f
[?25l[?1c2 fewer lines; before #2 0 seconds ago[2;1H[1m[34m~ [3;1H~ [1;11H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c" expect "one one one"
[?25l[?1c[1;11H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c%yank b
[?25l[?1c[1;11H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cearlier 1f
[?25l[?1c1 line less; before #1 0 seconds ago[1;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" expect empty line
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c%yank c
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clater 1f
[?25l[?1c1 more line; after #1 0 seconds ago[1;1Hone one one
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" expect "one one one"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c%yank d
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clater 1f
[?25l[?1c2 more lines; after #3 0 seconds ago[2;1Htwo[2;4H[K[3;1Htwo[3;4H[K[2;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" expect "one one one\ntwo\ntwo"
[?25l[?1c[2;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c%yank e
[?25l[?1c3 lines yanked[2;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clater 1f
[?25l[?1c1 more line; after #4 0 seconds ago[4;1Hthree[4;6H[K[3;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" expect "one one one\ntwo\ntwo\nthree"
[?25l[?1c[3;3H[?25h[?0c[1;1H[?25l[?1c[1;23r[1;1H[L[1;24r[1;1H---[24;1H[K[1;3H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c0put e
[?25l[?1c3 more lines[1;23r[1;1H[3L[1;24r[1;1Hone one one
two
two[24;1H[K[24;1H3 more lines[3;1H[?25h[?0c[1;1H[?25l[?1c[1;23r[1;1H[L[1;24r[1;1H---[24;1H[K[1;3H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c0put d
[?25l[?1c[1;23r[1;1H[L[1;24r[1;1Hone one one[24;1H[K[1;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[L[1;24r[1;1H---[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c0put c
[?25l[?1c[1;23r[1;1H[L[1;24r[24;1H[K[1;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[L[1;24r[1;1H---[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c0put b
[?25l[?1c[1;23r[1;1H[L[1;24r[1;1Hone one one[24;1H[K[1;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[L[1;24r[1;1H---[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c0put a
[?25l[?1c3 more lines[1;23r[1;1H[3L[1;24r[1;1Hone one one
two
two[24;1H[K[24;1H3 more lines[3;1H[?25h[?0c[1;1H[?25l[?1c[1;23r[1;1H[L[1;24r[1;1H---[24;1H[K[1;3H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H19 lines, 115 characters appended[1;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test62.in" 100 lines, 2533 characters[1;1HTests for tab pages
STARTTEST
:so small.vim
:" 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
:let line2 = getline('$')[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for tab pages[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 94 lines, 2484 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:tabnew
:new test1
:tab drop test1
:let test_status = 'tab drop 3: fail'
:if tabpagenr() == 2 && tabpagewinnr(2, '$') == 2 && tabpagewinnr(2) == 1
: let test_status = 'tab drop 3: pass'
:endif
:tabclose
:q
:call append(line('$'), test_status)
:else
:" :drop not supported
:call append(line('$'), 'tab drop 1: pass')
:call append(line('$'), 'tab drop 2: pass')
:call append(line('$'), 'tab drop 3: pass')
:endif
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST
Results:[21;1H[?25h[?0c
[?25l[?1c
:so! Xdotest
[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Simple test for opening and closing a tab page
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ctabnew
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m[4m[37m[40m test62.in [24m[0m[1m [No Name] [0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[3;1H[1m[34m~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [2;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0clet nr = tabpagenr()
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cq
[?25l[?1c[27m[24m[0m[H[J[1;1H:tabnew
:new test1
:tab drop test1
:let test_status = 'tab drop 3: fail'
:if tabpagenr() == 2 && tabpagewinnr(2, '$') == 2 && tabpagewinnr(2) == 1
: let test_status = 'tab drop 3: pass'
:endif
:tabclose
:q
:call append(line('$'), test_status)
:else
:" :drop not supported
:call append(line('$'), 'tab drop 1: pass')
:call append(line('$'), 'tab drop 2: pass')
:call append(line('$'), 'tab drop 3: pass')
:endif
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST
Results:[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall append(line('$'), 'tab page ' . nr)
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet nr
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Open three tab pages and use ":tabdo"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c0tabnew
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m [No Name] [0m[1m[4m[37m[40m + test62.in [24m[0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[3;1H[1m[34m~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [2;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0c1tabnew
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m[4m[37m[40m [No Name] [24m[0m[1m [No Name] [0m[1m[4m[37m[40m + test62.in [24m[0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[3;1H[1m[34m~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [2;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0c888tabnew
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m[4m[37m[40m [No Name] [No Name] + test62.in [24m[0m[1m [No Name] [0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[3;1H[1m[34m~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [2;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0ctabdo call append(line('$'), 'this is tab page ' . tabpagenr())
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m[4m[37m[40m + [No Name] + [No Name] + test62.in [24m[0m[1m + [No Name] [0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[3;1Hthis is tab page 4
[1m[34m~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [2;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0ctabclose! 2
[?25l[?1c[1;17H[1m[4m[37m[40mtest62.in[24m[0m[1C[1m + [No Name] [0m[7m [27C [0m[1;80H[1m[4m[37m[40mX[2;1H[?25h[?0c[?25l[?1c[24m[0m[24;1H[K[24;1H:[?25h[?0ctabrewind
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m + [No Name] [0m[1m[4m[37m[40m + test62.in + [No Name] [24m[0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[3;1Hthis is tab page 1
[1m[34m~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [2;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0clet line1 = getline('$')
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cundo
[?25l[?1c2 fewer lines; before #1 0 seconds ago[1;2H[1m[No Name] [0m[1m[4m[37m[40m + test62.in + [No Name] [24m[0m[7m [40C [0m[1;80H[1m[4m[37m[40mX[24m[0m[3;1H[1m[34m~ [2;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cq
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m + test62.in [0m[1m[4m[37m[40m + [No Name] [24m[0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[2;1H:new test1
:tab drop test1
:let test_status = 'tab drop 3: fail'
:if tabpagenr() == 2 && tabpagewinnr(2, '$') == 2 && tabpagewinnr(2) == 1
: let test_status = 'tab drop 3: pass'
:endif
:tabclose
:q
:call append(line('$'), test_status)
:else
:" :drop not supported
:call append(line('$'), 'tab drop 1: pass')
:call append(line('$'), 'tab drop 2: pass')
:call append(line('$'), 'tab drop 3: pass')
:endif
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST
Results:[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0ctablast
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m[4m[37m[40m + test62.in [24m[0m[1m + [No Name] [0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[3;1Hthis is tab page 4
[1m[34m~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [2;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0clet line2 = getline('$')
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cq!
[?25l[?1c[27m[24m[0m[H[J[1;1H:tabnew
:new test1
:tab drop test1
:let test_status = 'tab drop 3: fail'
:if tabpagenr() == 2 && tabpagewinnr(2, '$') == 2 && tabpagewinnr(2) == 1
: let test_status = 'tab drop 3: pass'
:endif
:tabclose
:q
:call append(line('$'), test_status)
:else
:" :drop not supported
:call append(line('$'), 'tab drop 1: pass')
:call append(line('$'), 'tab drop 2: pass')
:call append(line('$'), 'tab drop 3: pass')
:endif
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST
Results:[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall append(line('$'), line1)
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append(line('$'), line2)
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet line1 line2
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test for settabvar() and gettabvar() functions. Open a new tab page and
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" set 3 variables to a number, string and a list. Verify that the variables
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" are correctly set.
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ctabnew
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m[4m[37m[40m + test62.in [24m[0m[1m [No Name] [0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[3;1H[1m[34m~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [2;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0ctabfirst
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m + test62.in [0m[1m[4m[37m[40m [No Name] [24m[0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[2;1H:new test1
:tab drop test1
:let test_status = 'tab drop 3: fail'
:if tabpagenr() == 2 && tabpagewinnr(2, '$') == 2 && tabpagewinnr(2) == 1
: let test_status = 'tab drop 3: pass'
:endif
:tabclose
:q
:call append(line('$'), test_status)
:else
:" :drop not supported
:call append(line('$'), 'tab drop 1: pass')
:call append(line('$'), 'tab drop 2: pass')
:call append(line('$'), 'tab drop 3: pass')
:endif
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST
Results:[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall settabvar(2, 'val_num', 100)
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m + test62.in [0m[1m[4m[37m[40m [No Name] [24m[0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[2;1H:new test1
:tab drop test1
:let test_status = 'tab drop 3: fail'
:if tabpagenr() == 2 && tabpagewinnr(2, '$') == 2 && tabpagewinnr(2) == 1
: let test_status = 'tab drop 3: pass'
:endif
:tabclose
:q
:call append(line('$'), test_status)
:else
:" :drop not supported
:call append(line('$'), 'tab drop 1: pass')
:call append(line('$'), 'tab drop 2: pass')
:call append(line('$'), 'tab drop 3: pass')
:endif
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST
Results:[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall settabvar(2, 'val_str', 'SetTabVar test')
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m + test62.in [0m[1m[4m[37m[40m [No Name] [24m[0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[2;1H:new test1
:tab drop test1
:let test_status = 'tab drop 3: fail'
:if tabpagenr() == 2 && tabpagewinnr(2, '$') == 2 && tabpagewinnr(2) == 1
: let test_status = 'tab drop 3: pass'
:endif
:tabclose
:q
:call append(line('$'), test_status)
:else
:" :drop not supported
:call append(line('$'), 'tab drop 1: pass')
:call append(line('$'), 'tab drop 2: pass')
:call append(line('$'), 'tab drop 3: pass')
:endif
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST
Results:[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall settabvar(2, 'val_list', ['red', 'blue', 'green'])
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m + test62.in [0m[1m[4m[37m[40m [No Name] [24m[0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[2;1H:new test1
:tab drop test1
:let test_status = 'tab drop 3: fail'
:if tabpagenr() == 2 && tabpagewinnr(2, '$') == 2 && tabpagewinnr(2) == 1
: let test_status = 'tab drop 3: pass'
:endif
:tabclose
:q
:call append(line('$'), test_status)
:else
:" :drop not supported
:call append(line('$'), 'tab drop 1: pass')
:call append(line('$'), 'tab drop 2: pass')
:call append(line('$'), 'tab drop 3: pass')
:endif
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST
Results:[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet test_status = 'gettabvar: fail'
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif gettabvar(2, 'val_num') == 100 && gettabvar(2, 'val_str') == 'SetTabVar tes
[23;80Ht[24;1H') && gettabvar(2, 'val_list') == ['red', 'blue', 'green'])
[?25l[?1c[23;1H[1m[37m[41mE15: Invalid expression: gettabvar(2, 'val_num') == 100 && gettabvar(2, 'val_str[24;1H') == 'SetTabVar test') && gettabvar(2, 'val_list') == ['red', 'blue', 'green'][0m
[23;80H[1m[37m[41m)[0m[24;1H
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c let test_status = 'gettabvar: pass'
[?25l[?1c[1;1H[3L[1;1H[1m + test62.in [0m[1m[4m[37m[40m [No Name] [24m[0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[2;1H:new test1
:tab drop test1[24;1H[K[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0cendif
[?25l[?1c[1m[37m[41mE580: :endif without :if[22;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall append(line('$'), test_status)
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ctabnext 2
[?25l[?1c[27m[24m[0m[H[J[1;1H[1m[4m[37m[40m + test62.in [24m[0m[1m [No Name] [0m[7m [0m[1;80H[1m[4m[37m[40mX[24m[0m[3;1H[1m[34m~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [2;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0clet test_status = 'settabvar: fail'
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif t:val_num == 100 && t:val_str == 'SetTabVar test' && t:val_list == ['red',
'blue', 'green']
[?25l[?1c[24;1H[K[24;1H: [?25h[?0c: let test_status = 'settabvar: pass'
[?25l[?1c: [?25h[?0c:endif
[1;1H[2L[1;1H[1m[4m[37m[40m + test62.in [24m[0m[1m [No Name] [0m[7m [0m[1;80H[1m[4m[37m[40mX[?25l[?1c[24m[0m[24;1H[K[2;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ctabclose
[?25l[?1c[27m[24m[0m[H[J[1;1H:tabnew
:new test1
:tab drop test1
:let test_status = 'tab drop 3: fail'
:if tabpagenr() == 2 && tabpagewinnr(2, '$') == 2 && tabpagewinnr(2) == 1
: let test_status = 'tab drop 3: pass'
:endif
:tabclose
:q
:call append(line('$'), test_status)
:else
:" :drop not supported
:call append(line('$'), 'tab drop 1: pass')
:call append(line('$'), 'tab drop 2: pass')
:call append(line('$'), 'tab drop 3: pass')
:endif
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST
Results:[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall append(line('$'), test_status)
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif has('gui') || has('clientserver')
[?25l[?1c
: [?25h[?0c:" Test for ":tab drop exist-file" to keep current window.
[?25l[?1c: [?25h[?0c:sp test1
[?25l[?1c: [?25h[?0c:tab drop test1
[?25l[?1c: [?25h[?0c:let test_status = 'tab drop 1: fail'
[?25l[?1c: [?25h[?0c:if tabpagenr('$') == 1 && winnr('$') == 2 && winnr() == 1
[?25l[?1c: [?25h[?0c: let test_status = 'tab drop 1: pass'
[?25l[?1c: [?25h[?0c:endif
[?25l[?1c: [?25h[?0c:close
[?25l[?1c: [?25h[?0c:call append(line('$'), test_status)
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:" Test for ":tab drop new-file" to keep current window of tabpage 1.
[?25l[?1c: [?25h[?0c:split
[?25l[?1c: [?25h[?0c:tab drop newfile
[?25l[?1c: [?25h[?0c:let test_status = 'tab drop 2: fail'
[?25l[?1c: [?25h[?0c:if tabpagenr('$') == 2 && tabpagewinnr(1, '$') == 2 && tabpagewinnr(1) == 1
[?25l[?1c: [?25h[?0c: let test_status = 'tab drop 2: pass'
[?25l[?1c: [?25h[?0c:endif
[?25l[?1c: [?25h[?0c:tabclose
[?25l[?1c: [?25h[?0c:q
[?25l[?1c: [?25h[?0c:call append(line('$'), test_status)
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:"
[?25l[?1c: [?25h[?0c:" Test for ":tab drop multi-opend-file" to keep current tabpage and window.
[?25l[?1c: [?25h[?0c:new test1
[?25l[?1c: [?25h[?0c:tabnew
[?25l[?1c: [?25h[?0c:new test1
[?25l[?1c: [?25h[?0c:tab drop test1
[?25l[?1c: [?25h[?0c:let test_status = 'tab drop 3: fail'
[?25l[?1c: [?25h[?0c:if tabpagenr() == 2 && tabpagewinnr(2, '$') == 2 && tabpagewinnr(2) == 1
[?25l[?1c: [?25h[?0c: let test_status = 'tab drop 3: pass'
[?25l[?1c: [?25h[?0c:endif
[?25l[?1c: [?25h[?0c:tabclose
[?25l[?1c: [?25h[?0c:q
[?25l[?1c: [?25h[?0c:call append(line('$'), test_status)
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c:" :drop not supported
[?25l[?1c: [?25h[?0c:call append(line('$'), 'tab drop 1: pass')
[?25l[?1c: [?25h[?0c:call append(line('$'), 'tab drop 2: pass')
[?25l[?1c: [?25h[?0c:call append(line('$'), 'tab drop 3: pass')
[?25l[?1c: [?25h[?0c:endif
[27m[24m[0m[H[J[?25l[?1c[1;1H:tabnew
:new test1
:tab drop test1
:let test_status = 'tab drop 3: fail'
:if tabpagenr() == 2 && tabpagewinnr(2, '$') == 2 && tabpagewinnr(2) == 1
: let test_status = 'tab drop 3: pass'
:endif
:tabclose
:q
:call append(line('$'), test_status)
:else
:" :drop not supported
:call append(line('$'), 'tab drop 1: pass')
:call append(line('$'), 'tab drop 2: pass')
:call append(line('$'), 'tab drop 3: pass')
:endif
:"
:"
:/^Results/,$w! test.out
:qa!
ENDTEST
Results:[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^Results/,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 10 lines, 160 characters written[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test63.in" 157 lines, 4784 characters[1;1HTest for ":match", ":2match", ":3match", "clearmatches()", "getmatches()",
"matchadd()", "matcharg()", "matchdelete()", and "setmatches()".
STARTTEST
:so small.vim
:" --- Check that "matcharg()" returns the correct group and pattern if a match
:" --- is defined.
:let @r = "*** Test 1: "
:highlight MyGroup1 ctermbg=red
:highlight MyGroup2 ctermbg=green
:highlight MyGroup3 ctermbg=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).
:let @r .= "*** Test 2: "[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for ":match", ":2match", ":3match", "clearmatches()", "getmatches()",[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[4;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 150 lines, 4605 characters written[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[5;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:call clearmatches()
:let rf1 = setmatches(0)
:let rf2 = setmatches([0])
:let rf3 = setmatches([{'wrong key': 'wrong value'}])
:if rs1 == 0 && rs2 == 0 && rf1 == -1 && rf2 == -1 && rf3 == -1
: let @r .= "OK\n"
:else
: let @r .= "FAILED\n"
:endif
:unlet rs1
:unlet rs2
:unlet rf1
:unlet rf2
:unlet rf3
:highlight clear MyGroup1
:highlight clear MyGroup2
:highlight clear MyGroup3
G"rp
:/^Results/,$wq! test.out
ENDTEST
Results of test63:
[1m[34m~ [20;1H[?25h[?0c
[?25l[?1c
[0m:so! Xdotest
[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Check that "matcharg()" returns the correct group and pattern if a match
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- is defined.
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet @r = "*** Test 1: "
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0chighlight MyGroup1 ctermbg=red
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0chighlight MyGroup2 ctermbg=green
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0chighlight MyGroup3 ctermbg=blue
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmatch MyGroup1 /TODO/
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c2match MyGroup2 /FIXME/
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c3match MyGroup3 /XXX/
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif matcharg(1) == ['MyGroup1', 'TODO'] && matcharg(2) == ['MyGroup2', 'FIXME']
&& matcharg(3) == ['MyGroup3', 'XXX']
[?25l[?1c[24;1H[K[24;1H: [?25h[?0c: let @r .= "OK\n"
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: let @r .= "FAILED\n"
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1H:call clearmatches()
:let rf1 = setmatches(0)
:let rf2 = setmatches([0])
:let rf3 = setmatches([{'wrong key': 'wrong value'}])[24;1H[K[21;1H[?25h[?0c[?25l[?1c
:[?25h[?0c" --- Check that "matcharg()" returns an empty list if the argument is not 1,
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- 2 or 3 (only 0 and 4 are tested).
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet @r .= "*** Test 2: "
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif matcharg(0) == [] && matcharg(4) == []
[?25l[?1c
: [?25h[?0c: let @r .= "OK\n"
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: let @r .= "FAILED\n"
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1H:call clearmatches()
:let rf1 = setmatches(0)
:let rf2 = setmatches([0])
:let rf3 = setmatches([{'wrong key': 'wrong value'}])[24;1H[K[21;1H[?25h[?0c[?25l[?1c
:[?25h[?0c" --- Check that "matcharg()" returns ['', ''] if a match is not defined.
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet @r .= "*** Test 3: "
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmatch
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c2match
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c3match
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif matcharg(1) == ['', ''] && matcharg(2) == ['', ''] && matcharg(3) == ['', '
[23;80H'[24;1H][?25l[?1c[24;1H[K[24;1H: [?25h[?0c: let @r .= "OK\n"
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: let @r .= "FAILED\n"
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1H:call clearmatches()
:let rf1 = setmatches(0)
:let rf2 = setmatches([0])
:let rf3 = setmatches([{'wrong key': 'wrong value'}])[24;1H[K[21;1H[?25h[?0c[?25l[?1c
:[?25h[?0c" --- Check that "matchadd()" and "getmatches()" agree on added matches and
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- that default values apply.
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet @r .= "*** Test 4: "
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet m1 = matchadd("MyGroup1", "TODO")
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet m2 = matchadd("MyGroup2", "FIXME", 42)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet m3 = matchadd("MyGroup3", "XXX", 60, 17)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif getmatches() == [{'group': 'MyGroup1', 'pattern': 'TODO', 'priority': 10, '
[23;80Hi[24;1Hd': 4}, {'group': 'MyGroup2', 'pattern': 'FIXME', 'priority': 42, 'id': 5}, {'g
[23;80Hr[24;1Houp': 'MyGroup3', 'pattern': 'XXX', 'priority': 60, 'id': 17}]
[?25l[?1c[23;1H[K[24;1H[K[23;1H: [?25h[?0c: let @r .= "OK\n"
[?25l[?1c
: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: let @r .= "FAILED\n"
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1H:call clearmatches()
:let rf1 = setmatches(0)
:let rf2 = setmatches([0])
:let rf3 = setmatches([{'wrong key': 'wrong value'}])[24;1H[K[21;1H[?25h[?0c[?25l[?1c
:[?25h[?0c" --- Check that "matchdelete()" deletes the matches defined in the previous
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- test correctly.
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet @r .= "*** Test 5: "
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall matchdelete(m1)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall matchdelete(m2)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall matchdelete(m3)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet m1
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet m2
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet m3
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif getmatches() == []
[?25l[?1c
: [?25h[?0c: let @r .= "OK\n"
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: let @r .= "FAILED\n"
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1H:call clearmatches()
:let rf1 = setmatches(0)
:let rf2 = setmatches([0])
:let rf3 = setmatches([{'wrong key': 'wrong value'}])[24;1H[K[21;1H[?25h[?0c[?25l[?1c
:[?25h[?0c" --- Check that "matchdelete()" returns 0 if successful and otherwise -1.
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet @r .= "*** Test 6: "
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet m = matchadd("MyGroup1", "TODO")
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet r1 = matchdelete(m)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet r2 = matchdelete(42)
[?25l[?1c[1m[37m[41mE803: ID not found: 42[0m[24;23H[K[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif r1 == 0 && r2 == -1
[?25l[?1c
: [?25h[?0c: let @r .= "OK\n"
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: let @r .= "FAILED\n"
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1H:call clearmatches()
:let rf1 = setmatches(0)
:let rf2 = setmatches([0])
:let rf3 = setmatches([{'wrong key': 'wrong value'}])[24;1H[K[21;1H[?25h[?0c[?25l[?1c
:[?25h[?0cunlet m
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet r1
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet r2
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Check that "clearmatches()" clears all matches defined by ":match" and
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- "matchadd()".
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet @r .= "*** Test 7: "
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet m1 = matchadd("MyGroup1", "TODO")
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet m2 = matchadd("MyGroup2", "FIXME", 42)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet m3 = matchadd("MyGroup3", "XXX", 60, 17)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmatch MyGroup1 /COFFEE/
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c2match MyGroup2 /HUMPPA/
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c3match MyGroup3 /VIM/
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall clearmatches()
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif getmatches() == []
[?25l[?1c
: [?25h[?0c: let @r .= "OK\n"
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: let @r .= "FAILED\n"
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1H:call clearmatches()
:let rf1 = setmatches(0)
:let rf2 = setmatches([0])
:let rf3 = setmatches([{'wrong key': 'wrong value'}])[24;1H[K[21;1H[?25h[?0c[?25l[?1c
:[?25h[?0cunlet m1
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet m2
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet m3
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Check that "setmatches()" restores a list of matches saved by
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- "getmatches()" without changes. (Matches with equal priority must also
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- remain in the same order.)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet @r .= "*** Test 8: "
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet m1 = matchadd("MyGroup1", "TODO")
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet m2 = matchadd("MyGroup2", "FIXME", 42)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet m3 = matchadd("MyGroup3", "XXX", 60, 17)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmatch MyGroup1 /COFFEE/
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c2match MyGroup2 /HUMPPA/
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c3match MyGroup3 /VIM/
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet ml = getmatches()
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall clearmatches()
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall setmatches(ml)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif getmatches() == ml
[?25l[?1c
: [?25h[?0c: let @r .= "OK\n"
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: let @r .= "FAILED\n"
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1H:call clearmatches()
:let rf1 = setmatches(0)
:let rf2 = setmatches([0])
:let rf3 = setmatches([{'wrong key': 'wrong value'}])[24;1H[K[21;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall clearmatches()
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet m1
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet m2
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet m3
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet ml
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Check that "setmatches()" will not add two matches with the same ID. The
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- expected behaviour (for now) is to add the first match but not the
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- second and to return 0 (even though it is a matter of debate whether
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- this can be considered successful behaviour).
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet @r .= "*** Test 9: "
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet r1 = setmatches([{'group': 'MyGroup1', 'pattern': 'TODO', 'priority': 10,
[23;80H'[24;1Hid': 1}, {'group': 'MyGroup2', 'pattern': 'FIXME', 'priority': 10, 'id': 1}])
[?25l[?1c[23;1H[1m[37m[41mE801: ID already taken: 1[0m[23;26H[K[24;1H[K[24;1H[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cif getmatches() == [{'group': 'MyGroup1', 'pattern': 'TODO', 'priority': 10, '
[23;80Hi[24;1Hd': 1}] && r1 == 0
[?25l[?1c[24;1H[K[24;1H: [?25h[?0c: let @r .= "OK\n"
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: let @r .= "FAILED\n"
[?25l[?1c: [?25h[?0c:endif
[1;1H[5L[?25l[?1c[1;1H:call clearmatches()
:let rf1 = setmatches(0)
:let rf2 = setmatches([0])
:let rf3 = setmatches([{'wrong key': 'wrong value'}])
:if rs1 == 0 && rs2 == 0 && rf1 == -1 && rf2 == -1 && rf3 == -1[24;1H[K[21;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall clearmatches()
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet r1
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- Check that "setmatches()" returns 0 if successful and otherwise -1.
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- (A range of valid and invalid input values are tried out to generate the
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" --- return values.)
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet @r .= "*** Test 10: "
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet rs1 = setmatches([])
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet rs2 = setmatches([{'group': 'MyGroup1', 'pattern': 'TODO', 'priority': 10,
'id': 1}])
[?25l[?1c[1;1H[L[1;1H:call clearmatches()[24;1H[K[21;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall clearmatches()
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet rf1 = setmatches(0)
[?25l[?1c[1m[37m[41mE714: List required[0m[24;20H[K[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet rf2 = setmatches([0])
[?25l[?1c[1m[37m[41mE474: Invalid argument[0m[24;23H[K[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet rf3 = setmatches([{'wrong key': 'wrong value'}])
[?25l[?1c[1m[37m[41mE474: Invalid argument[0m[24;23H[K[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif rs1 == 0 && rs2 == 0 && rf1 == -1 && rf2 == -1 && rf3 == -1
[?25l[?1c
: [?25h[?0c: let @r .= "OK\n"
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: let @r .= "FAILED\n"
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1H:call clearmatches()
:let rf1 = setmatches(0)
:let rf2 = setmatches([0])
:let rf3 = setmatches([{'wrong key': 'wrong value'}])[24;1H[K[21;1H[?25h[?0c[?25l[?1c
:[?25h[?0cunlet rs1
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet rs2
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet rf1
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet rf2
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet rf3
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0chighlight clear MyGroup1
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0chighlight clear MyGroup2
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0chighlight clear MyGroup3
[?25l[?1c[21;1H[?25h[?0c
[?25l[?1c
10 more lines[24;14H[K[23;1H*** Test 1: OK[23;15H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H*** Test 2: OK[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^Results/,$wq! test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H[New File] 11 lines, 170 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test64.in" 167 lines, 6276 characters[1;1HTest for regexp patterns.
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 = []
:call add(tl, ['ab', 'aab', 'ab'])
:call add(tl, ['b', 'abcdef', 'b'])
:call add(tl, ['bc*', 'abccccdef', 'bcccc'])
:call add(tl, ['bc\{-}', 'abccccdef', 'b'])
:call add(tl, ['bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])
:call add(tl, ['bc*', 'abbdef', 'b'])
:call add(tl, ['c*', 'ccc', 'ccc'])[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for regexp patterns.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[6;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 158 lines, 6117 characters written[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[7;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H: $put ='OK'
: endif
: if len(l) > 0
:" check all the nine submatches
: for i in range(1, 9)
: if len(t) <= i + 2
:[8Clet e = ''
: else
:[8Clet e = t[i + 2]
: endif
: if l[i] != e
:[8C$put ='ERROR: pat: \"' . t[0] . '\", text: \"' . t[1] . '\", submatch '[13;2H. i . ': \"' . l[i] . '\", expected: \"' . e . '\"'
: endif
: endfor
: unlet i
: endif
:endfor
:unlet t tl e l
:/^Results/,$wq! test.out
ENDTEST
Results of test64:[21;1H[?25h[?0c
[?25l[?1c
:so! Xdotest
[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" tl is a List of Lists with:
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" regexp pattern
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" text to test the pattern on
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" expected match (optional)
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" expected submatch 1 (optional)
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" expected submatch 2 (optional)
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" etc.
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" When there is no match use only the first two items.
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet tl = []
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['ab', 'aab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['b', 'abcdef', 'b'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['bc*', 'abccccdef', 'bcccc'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['bc\{-}', 'abccccdef', 'b'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['bc*', 'abbdef', 'b'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['c*', 'ccc', 'ccc'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['bc*', 'abdef', 'b'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['c*', 'abdef', ''])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['bc\+', 'abccccdef', 'bcccc'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['bc\+', 'abdef']) "no match
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"operator \|
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['a\|ab', 'cabd', 'a']) "alternation is ordered
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['c\?', 'ccb', 'c'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['bc\?', 'abd', 'b'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['bc\?', 'abccd', 'bc'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va{1}', 'ab', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va{2}', 'aa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va{2}', 'caad', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va{2}', 'aba'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va{2}', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va{2}', 'abaa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va{2}', 'aaa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\vb{1}', 'abca', 'b'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\vba{2}', 'abaa', 'baa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\vba{3}', 'aabaac'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab){1}', 'ab', 'ab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab){1}', 'dabc', 'ab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab){1}', 'acb'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab){0,2}', 'acb', "", ""])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab){0,2}', 'ab', 'ab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab){1,2}', 'ab', 'ab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab){1,2}', 'ababc', 'abab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab){2,4}', 'ababcab', 'abab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab){2,4}', 'abcababa', 'abab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab){2}', 'abab', 'abab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab){2}', 'cdababe', 'abab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab){2}', 'abac'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab){2}', 'abacabab', 'abab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v((ab){2}){2}', 'abababab', 'abababab', 'abab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v((ab){2}){2}', 'abacabababab', 'abababab', 'abab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{2}){1}', 'aaac', 'aa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{2}){1}', 'daaac', 'aa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{1}){2}', 'daaac', 'aa', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{1}){2}', 'aaa', 'aa', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{2})+', 'adaac', 'aa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{2})+', 'aa', 'aa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{1}){2}', 'aa', 'aa', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{2}){2}', 'aaaa', 'aaaa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{2}){2}', 'aaabaaaa', 'aaaa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a+){2}', 'dadaac', 'aa', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{3}){2}', 'aaaaaaa', 'aaaaaa', 'aaa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{1,2}){2}', 'daaac', 'aaa', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{1,3}){2}', 'daaaac', 'aaaa', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{1,3}){2}', 'daaaaac', 'aaaaa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{1,3}){3}', 'daac'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{1,2}){2}', 'dac'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a+)+', 'daac', 'aa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a+)+', 'aaa', 'aaa', 'aaa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a+){1,2}', 'aaa', 'aaa', 'aaa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a+)(a+)', 'aaa', 'aaa', 'aa', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{3})+', 'daaaac', 'aaa', 'aaa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a|b|c)+', 'aacb', 'aacb', 'b'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a|b|c){2}', 'abcb', 'ab', 'b'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(abc){2}', 'abcabd', ])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(abc){2}', 'abdabcabc','abcabc', 'abc'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['a*', 'cc', ''])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a*)+', 'cc', ''])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v((ab)+)+', 'ab', 'ab', 'ab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(((ab)+)+)+', 'ab', 'ab', 'ab', 'ab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(((ab)+)+)+', 'dababc', 'abab', 'abab', 'abab', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{0,2})+', 'cc', ''])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a*)+', '', ''])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v((a*)+)+', '', ''])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v((ab)*)+', '', ''])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va{1,3}', 'aab', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va{2,3}', 'abaa', 'aa'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v((ab)+|c*)+', 'abcccaba', 'abcccab', '', 'ab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a{2})|(b{3})', 'bbabbbb', 'bbb', '', 'bbb'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va{2}|b{2}', 'abab'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a)+|(c)+', 'bbacbaacbbb', 'a', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\vab{2,3}c', 'aabbccccccccccccc', 'abbc'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\vab{2,3}c', 'aabbbccccccccccccc', 'abbbc'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\vab{2,3}cd{2,3}e', 'aabbbcddee', 'abbbcdde'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va(bc){2}d', 'aabcbfbc' ])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va*a{2}', 'a', ])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va*a{2}', 'aa', 'aa' ])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va*a{2}', 'aaa', 'aaa' ])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va*a{2}', 'bbbabcc', ])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va*b*|a*c*', 'a', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\va{1}b{1}|a{1}b{1}', ''])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"submatches
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a)', 'ab', 'a', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a)(b)', 'ab', 'ab', 'a', 'b'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(ab)(b)(c)', 'abbc', 'abbc', 'ab', 'b', 'c'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v((a)(b))', 'ab', 'ab', 'ab', 'a', 'b'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a)|(b)', 'ab', 'a', 'a'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['\v(a*)+', 'aaaa', 'aaaa', ''])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(tl, ['x', 'abcdef'])
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfor t in tl
[?25l[?1c
: [?25h[?0c: let l = matchlist(t[1], t[0])
[?25l[?1c: [?25h[?0c:" check the match itself
[?25l[?1c: [?25h[?0c: if len(l) == 0 && len(t) > 2
[?25l[?1c: [?25h[?0c: $put ='ERROR: pat: \"' . t[0] . '\", text: \"' . t[1] . '\", did not
[23;80Hm[24;1Hatch, expected: \"' . t[2] . '\"'
[?25l[?1c: [?25h[?0c: elseif len(l) > 0 && len(t) == 2
[?25l[?1c: [?25h[?0c: $put ='ERROR: pat: \"' . t[0] . '\", text: \"' . t[1] . '\", match: \
[23;80H"[24;1H' . l[0] . '\", expected no match'
[?25l[?1c: [?25h[?0c: elseif len(t) > 2 && l[0] != t[2]
[?25l[?1c: [?25h[?0c: $put ='ERROR: pat: \"' . t[0] . '\", text: \"' . t[1] . '\", match: \
[23;80H"[24;1H' . l[0] . '\", expected: \"' . t[2] . '\"'
[?25l[?1c: [?25h[?0c: else
[?25l[?1c: [?25h[?0c: $put ='OK'
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c: if len(l) > 0
[?25l[?1c: [?25h[?0c:" check all the nine submatches
[?25l[?1c: [?25h[?0c: for i in range(1, 9)
[?25l[?1c: [?25h[?0c: if len(t) <= i + 2
[?25l[?1c:[8C[?25h[?0c: let e = ''
[?25l[?1c:[8C[?25h[?0c: else
[?25l[?1c:[8C[?25h[?0c: let e = t[i + 2]
[?25l[?1c:[8C[?25h[?0c: endif
[?25l[?1c: [?25h[?0c: if l[i] != e
[?25l[?1c:[8C[?25h[?0c: $put ='ERROR: pat: \"' . t[0] . '\", text: \"' . t[1] . '\",
ubmatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'
[?25l[?1c:[8C[?25h[?0c: endif
[?25l[?1c: [?25h[?0c: endfor
[?25l[?1c: [?25h[?0c: unlet i
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c:endfor
[27m[24m[0m[H[J[?25l[?1c[1;1HOK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
[?25h[?0c[?25l[?1c
:[?25h[?0cunlet t tl e l
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^Results/,$wq! test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H[New File] 102 lines, 322 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test65.in" 95 lines, 2153 characters[1;1HTest 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for floating point and logical operators.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 89 lines, 2067 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:$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:[21;1H[?25h[?0c
[?25l[?1c
:so! Xdotest
[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif !has("float")
[?25l[?1c
: [?25h[?0c: e! test.ok
[?25l[?1c: [?25h[?0c: wq! test.out
[?25l[?1c: [?25h[?0c:endif
[1;1H[3L[?25l[?1c[1;1H:$put =float2nr(123.456)
:$put =float2nr(-123.456)
:$put ='AND'[24;1H[K[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =printf('%f', 123.456)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H123.456000[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%e', 123.456)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H1.234560e+02[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', 123.456)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H123.456[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c" check we don't crash on division by zero
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cecho 1.0 / 0.0
[?25l[?1cinf[24;4H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put ='+='
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H+=[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet v = 1.234
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet v += 6.543
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =printf('%g', v)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H7.777[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet v = 1.234
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet v += 5
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =printf('%g', v)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H6.234[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet a = 5
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet a += 3.333
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =string(a)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H8.333[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='=='
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H==[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet v = 1.234
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =v == 1.234
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =v == 1.2341
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='add-subtract'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hadd-subtract[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', 4 + 1.234)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H5.234[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', 1.234 - 8)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H-6.766[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='mult-div'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hmult-div[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', 4 * 1.234)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H4.936[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', 4.0 / 1234)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H0.003241[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='dict'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hdict[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =string({'x': 1.234, 'y': -2.0e20})
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H{'x': 1.234, 'y': -2.0e20}[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='list'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hlist[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =string([-123.4, 2.0e-20])
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[-123.4, 2.0e-20][24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='abs'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Habs[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%d', abs(1456))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H1456[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%d', abs(-4))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H4[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%d', abs([1, 2, 3]))
[?25l[?1c[1m[37m[41mE745: Using a List as a Number[0m[24;32H[K[1;23r[23;1H
[1;24r[23;1H-1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', abs(14.56))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H14.56[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', abs(-54.32))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H54.32[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='ceil'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hceil[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', ceil(1.456))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H2.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', ceil(-5.456))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H-5.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', ceil(-4.000))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H-4.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='floor'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hfloor[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', floor(1.856))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H1.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', floor(-5.456))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H-6.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', floor(4.0))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H4.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='log10'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hlog10[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', log10(1000))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H3.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', log10(0.01000))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H-2.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='pow'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hpow[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', pow(3, 3.0))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H27.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', pow(2, 16))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H65536.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='round'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hround[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', round(0.456))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H0.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', round(4.5))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H5.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', round(-4.50))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H-5.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='sqrt'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hsqrt[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', sqrt(100))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H10.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cecho sqrt(-4.01)
[?25l[?1cnan[24;4H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put ='str2float'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hstr2float[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', str2float('1e40'))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H1.0e40[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='trunc'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Htrunc[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', trunc(1.456))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H1.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', trunc(-5.456))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H-5.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =printf('%g', trunc(4.000))
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H4.0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='float2nr'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hfloat2nr[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =float2nr(123.456)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H123[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =float2nr(-123.456)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H-123[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='AND'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HAND[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =and(127, 127)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H127[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =and(127, 16)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H16[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =and(127, 128)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='OR'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HOR[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =or(16, 7)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H23[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =or(8, 7)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H15[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =or(0, 123)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H123[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='XOR'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HXOR[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =xor(127, 127)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =xor(127, 16)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H111[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =xor(127, 128)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H255[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put ='invert'
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hinvert[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =and(invert(127), 65535)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H65408[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =and(invert(16), 65535)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H65519[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =and(invert(128), 65535)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H65407[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =invert(1.0)
[?25l[?1c[1m[37m[41mE805: Using a Float as a Number[1;23r[0m[23;1H
[1;24r[23;1H0[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c/^Results/,$wq! test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H[New File] 73 lines, 430 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test66.in" 25 lines, 400 characters[2;1HTest for visual block shift and tab characters.
STARTTEST
:so small.vim
/^abcdefgh
[1m[34m^V[0m4jI [1m[34m^[[0mj<<11|D
7|a[13C[1m[34m^[[0m
7|a[16C[1m[34m^[[0m
7|a[13C[1m[34m^[[0m4k13|[1m[34m^V[0m4j<
:$-4,$w! test.out
:$-4,$s/\s\+//g
[1m[34m^V[0m4kI [1m[34m^[[0mj<<
7|a[13C[1m[34m^[[0m
7|a[37C[1m[34m^[[0m
7|a[21C[1m[34m^[[0m4k13|[1m[34m^V[0m4j3<
:$-4,$w >> test.out
:qa!
ENDTEST
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[4;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 14 lines, 196 characters written[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[5;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[19;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^abcdefgh
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[19;1H[7ma
a
a
a[0mbcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz[24;1H[K[23;1H[?25h[?0c[?25l[?1c[19;1Ha
a
a
a[19;1H abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz[19;1H[?25h[?0c
[?25l[?1cabcdefghijklmnopqrstuvwxyz[20;27H[K[20;1H[?25h[?0c[10C[?25l[?1c[20;11H[K[20;10H[?25h[?0c[21;10H[?25l[?1cc defghijklmnopqrstuvwxyz[21;16H[?25h[?0c[22;16H[22;7H[?25l[?1cc defghijklmnopqrstuvwxyz[22;19H[?25h[?0c[23;19H[23;7H[?25l[?1cc defghijklmnopqrstuvwxyz[23;16H[?25h[?0c[19;16H[?25l[?1c[?25h[?0c[?25l[?1c[7mi[21;13H [22;13H [23;13H[?25h[?0c[?25l[?1c[0m
5 lines <ed 1 time[19;13Hi[21;13Hdefghijklmnopqrstuvwxyz[21;36H[K[22;13Hdefghijklmnopqrstuvwxyz[22;36H[K[23;13Hdefghijklmnopqrstuvwxyz[23;36H[K[19;13H[?25h[?0c[20;10H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$-4,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 5 lines, 150 characters written[20;10H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$-4,$s/\s\+//g
[?25l[?1c7 substitutions on 4 lines[19;1Habcdefghijklmnopqrstuvwxyz[19;27H[K[21;1Habcdefghijklmnopqrstuvwxyz[21;27H[K[22;1Habcdefghijklmnopqrstuvwxyz[22;27H[K[23;1Habcdefghijklmnopqrstuvwxyz[23;27H[K[23;1H[?25h[?0c[?25l[?1c[?25h[?0c[?25l[?1c[20;1H[7ma
a
a
a[19;1H[?25h[?0c[?25l[?1c[0m
a
a
a
a[19;1H abcdefghijklmnopqrstuvwxyz
abcdefghij
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz[19;1H[?25h[?0c
[?25l[?1cabcdefghij[20;11H[K[20;1H[?25h[?0c
ab[?25l[?1cc defghijklmnopqrstuvwxyz[21;16H[?25h[?0c[22;16H[22;7H[?25l[?1cc [10Cdefghijklmnopqrstuvwxyz[22;40H[?25h[?0c[23;30H[23;7H[?25l[?1cc defghijklmnopqrstuvwxyz[23;24H[?25h[?0c[19;24H[19;13H[?25l[?1c[?25h[?0c[?25l[?1c[7mi[21;13H [22;13H [23;13H[?25h[?0c[?25l[?1c[0m
5 lines <ed 3 times[24;20H[K[19;13Hi[21;13Hdefghijklmnopqrstuvwxyz[21;36H[K[22;13H defghijklmnopqrstuvwxyz[22;41H[K[23;13Hdefghijklmnopqrstuvwxyz[23;36H[K[19;13H[?25h[?0c[20;10H[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$-4,$w >> test.out
[?25l[?1c"test.out"[24;12H[K[24;12H5 lines, 147 characters appended[20;10H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test67.in" 33 lines, 1109 characters[1;1HTest 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest that groups and patterns are tested correctly when calling exists() for[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[4;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 27 lines, 998 characters written[5;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[5;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[9M[1;24r[15;1H: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[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet results=[]
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0caugroup auexists
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0caugroup END
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(results, "##BufEnter: " . exists("##BufEnter"))
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(results, "#BufEnter: " . exists("#BufEnter"))
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufEnter * let g:entered=1
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(results, "#BufEnter: " . exists("#BufEnter"))
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(results, "#auexists#BufEnter: " . exists("#auexists#BufEnter"))
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0caugroup auexists
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufEnter * let g:entered=1
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0caugroup END
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(results, "#auexists#BufEnter: " . exists("#auexists#BufEnter"))
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(results, "#BufEnter#*.test: " . exists("#BufEnter#*.test"))
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufEnter *.test let g:entered=1
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(results, "#BufEnter#*.test: " . exists("#BufEnter#*.test"))
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cedit testfile.test
[?25l[?1c"testfile.test" [New File][1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cau BufEnter <buffer> let g:entered=1
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cedit testfile2.test
[?25l[?1c"testfile2.test" [New File][1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce test.out
[?25l[?1c"test.out" [New File][1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append(0, results)
[?25l[?1c[1;23r[1;1H[10L[1;24r[1;1H##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[24;1H[K[11;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c$d
[?25l[?1c[11;1H[1m[34m~ [10;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw
[?25l[?1c"test.out" [New File] 10 lines, 190 characters written[10;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test68.in" 67 lines, 492 characters[1;1HTest for text formatting.
Results of test68:
STARTTEST
:so small.vim
/^{/+1
:set noai tw=2 fo=t
gRa b[1m[34m^[[0m
ENDTEST
{
}
STARTTEST
/^{/+1
:set ai tw=2 fo=tw
gqgqjjllab[1m[34m^[[0m
ENDTEST
{[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for text formatting.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[5;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 4 lines, 48 characters written[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[6;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[10;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+1
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset noai tw=2 fo=t
[?25l[?1c[13;1H[?25h[?0c[?25l[?1ca
b[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[17;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3 lines, 38 characters written[18;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[18;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[21;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+1
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Ha b[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset ai tw=2 fo=tw
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;4H[K[23;1Hb[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1Ha[?25h[?0ca [?25l[?1c[1;23r[23;1H
[1;24r[23;1Hb[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H/^{/+1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H4 lines, 34 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[4M[1;24r[20;1H:set tw=3 fo=t
gqgqo
a [1m[34m^V^A^[[0m
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+1
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1H{
a [1m[34m^A[0m[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset tw=3 fo=t
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;3H[K[23;1H[1m[34m^A[0m[24;1H[K[23;1H[?25h[?0c[2C[?25l[?1c[1;23r[1;1H[3M[1;24r[22;1Ha
[1m[34m^A
[?25h[?0c[?25l[?1c[1;23r[0m[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H/^{/+1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H5 lines, 58 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[5M[1;24r[19;1H:set tw=2 fo=tcq1 comments=:#
gqgqjgqgqo
a b
#a b[1m[34m^[[0m
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+1
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1H{
a b[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset tw=2 fo=tcq1 comments=:#
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H#a b[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[3M[1;24r[22;1Ha b
#a b[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H/^{/+2
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3 lines, 26 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[3M[1;24r[21;1H:set tw& fo=a
I^^[1m[34m^[[0m
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+2
[?25l[?1c[1;23r[1;1H[3M[1;24r[21;1H{
1aa
2bb[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset tw& fo=a
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[21;3H1aa ^^2bb }[22;4H[K[23;1HSTARTTEST[21;8H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:g/^STARTTEST/.,/^ENDTEST/d[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2 lines, 56 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[23;19H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:1;/^Results/,$wq! test.out[24;1H[K[23;19H[?25h[?0c
[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cg/^STARTTEST/.,/^ENDTEST/d
[?25l[?1c33 fewer lines[24;15H[K[1;1H}[1;3H[K[2;1H[K[3;1H[K[4;1H{
a
[1m[34m^A[0m[6;3H[K[7;1H[K[8;1Ha
[1m[34m^A[0m[9;3H[K[10;1H}[10;2H[K[11;1H[K[13;1H{[13;2H[K[14;1Ha b[14;4H[K[15;1H#a b[15;6H[K[16;1H[K[17;1Ha b[17;4H[K[18;1H#a b
}[19;3H[K[21;1H[K[22;1H{ 1aa ^^2bb }[22;14H[K[23;1H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c1;/^Results/,$wq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 38 lines, 107 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test69.in" 139 lines, 1154 characters[1;1HTest for multi-byte text formatting.
STARTTEST
:so mbyte.vim
:set encoding=utf-8
ENDTEST
Results of test69:
STARTTEST
/^{/+1
:set tw=2 fo=t
gqgqjgqgqo
XYZ
abc XYZ[1m[34m^[[0m
ENDTEST
{
XYZ
abc XYZ
}
STARTTEST[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for multi-byte text formatting.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 2 lines, 34 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[6;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso mbyte.vim
[?25l[?1c[7;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset encoding=utf-8
[?25l[?1c[27m[24m[0m[H[J[1;1HTest for multi-byte text formatting.
STARTTEST
:so mbyte.vim
:set encoding=utf-8
ENDTEST
Results of test69:
STARTTEST
/^{/+1
:set tw=2 fo=t
gqgqjgqgqo
XYZ
abc XYZ[1m[34m^[[0m
ENDTEST
{
XYZ
abc XYZ
}
STARTTEST[7;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[10;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H5 lines, 58 characters written[11;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[11;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[16;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[17;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+1
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset tw=2 fo=t
[?25l[?1c[19;1H[?25h[?0c
[?25l[?1c[21;23r[21;1H[L[1;24r[20;5H[K[21;1HXYZ[24;1H[K[21;1H[?25h[?0c[?25l[?1c[22;1H[K[23;1H[?25h[?0c[?25l[?1cX[?25h[?0c[?25l[?1cY[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;5HZ
abc [?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HX[?25h[?0c[?25l[?1cY[?25h[?0c[?25l[?1cZ[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H/^{/+1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H8 lines, 80 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[8M[1;24r[16;1H:set tw=1 fo=tm
gqgqjgqgqjgqgqjgqgqjgqgqo
X
Xa
X a
XY
X Y[1m[34m^[[0m
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+1
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1H{
X[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset tw=1 fo=tm
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HXa[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;3H[K[23;1Ha[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HX a
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;4H[K[23;1Ha[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HXY
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;3H[K[23;1HY
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HX Y
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;4H[K[23;1HY
[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;1HX
[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[21;1HX
a
[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[21;1HX
a
[?25h[?0c[?25l[?1cX[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1HY
[?25h[?0c[?25l[?1cX [?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HY
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H/^{/+1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H13 lines, 140 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1Hgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo
X
Xa
X a
XY
X Y
aX
abX
abcX
abX c
abXY[1m[34m^[[0m
ENDTEST
{
X
Xa
X a
XY
X Y
aX
abX
abcX
abX c[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+1
[?25l[?1c[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset tw=2 fo=tm
[?25l[?1c[15;1H[?25h[?0c
[?25l[?1c[17;23r[17;1H[L[1;24r[16;3H[K[17;1Ha[24;1H[K[17;1H[?25h[?0c
[?25l[?1c[19;23r[19;1H[L[1;24r[18;4H[K[19;1Ha[?25h[?0c
[?25l[?1c[21;23r[21;1H[L[1;24r[20;3H[K[21;1HY
[?25h[?0c
[?25l[?1c[22;4H[K[23;1HY
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HaX
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1HX
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HabX
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;3H[K[23;1HX
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HabcX
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;4H[K[23;1HX
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HabX c
[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[21;3H[K[22;1HX
c[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HabXY
[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[21;3H[K[22;1HX
Y
[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;1HX
[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[21;1HX
a
[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[21;1HX
a
[?25h[?0c[?25l[?1cX[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1HY
[?25h[?0c[?25l[?1cX [?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1HY
a[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1HX
ab[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1HX
abc[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1HX
ab[?25h[?0c[?25l[?1c[1;23r[1;1H[3M[1;24r[21;1HX
c
ab[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HX[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HY
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H/^{/+1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H5 lines, 47 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[5M[1;24r[19;1H:set ai tw=2 fo=tm
gqgqjgqgqo
X
Xa[1m[34m^[[0m
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+1
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1H{
X[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset ai tw=2 fo=tm
[?25l[?1c[23;1H[?25h[?0c [?25l[?1c[1;23r[23;1H
[1;24r[23;2H Xa[24;1H[K[23;3H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;5H[K[23;2H a[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[23;3H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;2H X
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;2H X
a[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H/^{/+1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H5 lines, 53 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[5M[1;24r[19;1H:set noai tw=2 fo=tm
gqgqjgqgqo
X
Xa[1m[34m^[[0m
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+1
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1H{
X[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset noai tw=2 fo=tm
[?25l[?1c[23;1H[?25h[?0c [?25l[?1c[1;23r[23;1H
[1;24r[23;2H Xa[24;1H[K[23;3H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;5H[K[23;1Ha[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[23;3H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;2H X
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;2H X
a[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H/^{/+1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H13 lines, 169 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1Hgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo
X
Xa
XaY
XY
XYZ
X Y
X YZ
XX
XXa
XXY[1m[34m^[[0m
ENDTEST
{
X
Xa
XaY
XY
XYZ
X Y
X YZ
XX
XXa[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+1
[?25l[?1c[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset tw=2 fo=cqm comments=n:X
[?25l[?1c[15;1H[?25h[?0c
[?25l[?1c[18;23r[18;1H[L[1;24r[17;4H[K[18;1HXY[24;1H[K[18;1H[?25h[?0c
[?25l[?1c[21;23r[21;1H[L[1;24r[20;5H[K[21;1HXZ
[?25h[?0c
[?25l[?1c[1;23r[23;1H
[1;24r[22;6H[K[23;1HX Z
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HXX
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HXXa
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HXXY
[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;1HX
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;1HXa
[?25h[?0c[?25l[?1cXa[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1HXY
[?25h[?0c[?25l[?1cX[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;3HY
[?25h[?0c[?25l[?1cX[?25h[?0c[?25l[?1cY[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1HXZ
[?25h[?0c[?25l[?1cX [?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;3H Y
[?25h[?0c[?25l[?1cX [?25h[?0c[?25l[?1c Y[?25h[?0c[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1HX Z
[?25h[?0c[?25l[?1cX[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;3HX
[?25h[?0c[?25l[?1cX[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;3HXa
[?25h[?0c[?25l[?1cX[?25h[?0c[?25l[?1cX[?25h[?0c[?25l[?1cY[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H/^{/+1
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H3 lines, 30 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[3M[1;24r[21;1H:set tw=2 fo=tm
RXa[1m[34m^[[0m
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^{/+1
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1H{[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset tw=2 fo=tm
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[22;1HX
a[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H}[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2 lines, 56 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[23;19H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:1;/^Results/,$wq! test.out[24;1H[K[23;19H[?25h[?0c
[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cg/^STARTTEST/.,/^ENDTEST/d
[?25l[?1c74 fewer lines[24;15H[K[1;3HXY[2;1H[K[3;4H[K[4;3Ha[4;4H[K[5;3Ha [6;3HY[6;5H[K[7;3HY[7;5H[K[8;1HXY
XZ
X Y[10;6H[K[11;1HX Y[11;6H[K[12;1HX Z[12;6H[K[13;1HXX[13;5H[K[14;1HXXa[14;6H[K[15;1HXXY
}[17;1H[K[18;1H[K[19;1H{
X
a[21;2H[K[22;1H}[22;2H[K[23;1H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c1;/^Results/,$wq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 142 lines, 574 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test70.in" 53 lines, 1249 characters[1;1HSmoke 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HSmoke test for MzScheme interface and mzeval() function[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 45 lines, 1146 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:else
:let scalar_res = "FAILED"
:endif
:call append(search("^1"), "scalar test " . scalar_res)
:" dictionary containing a list
:let tmp = mzeval("h")["list"][1]
:/^2/put =tmp
:" circular list (at the same time test lists containing lists)
:mz (set-car! (cddr l) l)
:let l2 = mzeval("h")["list"]
:if l2[2] == l2
:let res = "OK"
:else
:let res = "FAILED"
:endif
:call setline(search("^3"), "circular test " . res)
:?^1?,$w! test.out
:qa!
ENDTEST
1 line 1
2 line 2
3 line 3[19;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[20;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso mzscheme.vim
[?25l[?1c"test.ok" [24;11H[K[24;11H5 lines, 82 characters
"test.out" [New File] 5 lines, 82 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test71.in" 75 lines, 1397 characters[1;1HTest for encryption.
STARTTEST
:so small.vim
:/^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('.', '.')
:bwipe
:call append(0, text_lines)
:$d
:X
foobar
foobar
:w! Xtestfile
:bwipe!
:e Xtestfile
foobar
:let cm0_read_back = getline('.', '$')
:set key=
:set cryptmethod=blowfish[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for encryption.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 57 lines, 1043 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:w! Xtestfile
:bwipe!
:set nobin
:e Xtestfile
barbar
:call append(0, cm0_read_bin)
:call append(0, cm1_read_back)
:call append(0, cm0_read_back)
:set key= fenc=latin1
:w! test.out
:qa!
ENDTEST
start of text
01234567890123456789012345678901234567
line 2 foo bar blah
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
end of text
start of cm=zip bytes
end of cm=zip bytes[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^start of text/+1
[?25l[?1c[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet text_lines = getline('.', line('.') + 2)
[?25l[?1c[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^start of cm=zip bytes/+1
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet cm0_bytes = getline('.', '.')
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^start of cm=blowfish bytes/+1
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hstart of cm=blowfish bytes
:[?25h[?0clet cm1_bytes = getline('.', '.')
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall append(0, text_lines)
[?25l[?1c[1;23r[1;1H[3L[1;24r[1;1H01234567890123456789012345678901234567
line 2 foo bar blah
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[24;1H[K[4;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c$d
[?25l[?1c[4;1H[1m[34m~ [3;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cX
[?25l[?1c[24;1H[K[24;1HEnter encryption key: [?25h[?0c******
[?25l[?1cEnter same key again: [?25h[?0c******
[1;1H[2L[?25l[?1c[1;1H01234567890123456789012345678901234567
line 2 foo bar blah[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cw! Xtestfile
[?25l[?1c"Xtestfile" [24;13H[K[24;13H[New File][crypted] 3 lines, 98 characters written[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe!
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ce Xtestfile
[?25l[?1c"Xtestfile"
Need encryption key for "Xtestfile"
Enter encryption key: [?25h[?0c******
[?25l[?1c"Xtestfile" [crypted] 3 lines, 98 characters[1;1H[2L[1;1H01234567890123456789012345678901234567
line 2 foo bar blah
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[3;38H[K[24;1H[K[24;1H"Xtestfile" [crypted] 3 lines, 98 characters[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet cm0_read_back = getline('.', '$')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset key=
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cryptmethod=blowfish
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" If the blowfish test fails 'cryptmethod' will be 'zip' now.
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c%s/^/\=&cryptmethod == 'blowfish' ? "OK " : "blowfish test failed "/
[?25l[?1c3 substitutions on 3 lines[24;27H[K[1;1HOK 01234567890123456789012345678901234567
OK line 2 foo bar blah
OK line 3 [27Cxxx
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cX
[?25l[?1c[24;1H[K[24;1HEnter encryption key: [?25h[?0c******
[?25l[?1cEnter same key again: [?25h[?0c******
[1;1H[2L[?25l[?1c[1;1HOK 01234567890123456789012345678901234567
OK line 2 foo bar blah[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cw! Xtestfile
[?25l[?1c"Xtestfile" [24;13H[K[24;13H[blowfish] 3 lines, 107 characters written[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe!
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ce Xtestfile
[?25l[?1c"Xtestfile"
Need encryption key for "Xtestfile"
Enter encryption key: [?25h[?0c******
[?25l[?1c"Xtestfile" [blowfish] 3 lines, 107 characters[1;1H[2L[1;1HOK 01234567890123456789012345678901234567
OK line 2 foo bar blah
Enter encryption key: [?25h[?0c******
[?25l[?1c"Xtestfile" [crypted] 2 lines, 24 characters[1;1H[2L[1;1H1234567890
Enter encryption key: [?25h[?0c******
[?25l[?1c"Xtestfile" [blowfish] 2 lines, 27 characters[1;1H[2L[1;1Hasdfasdfasdf
0001112223333[24;1H[K[24;1H"Xtestfile" [blowfish] 2 lines, 27 characters[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append(0, cm0_read_bin)
[?25l[?1c[1;23r[1;1H[2L[1;24r[1;1H1234567890
OK line 2 foo bar blah
OK line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[24;1H[K[6;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccall append(0, cm0_read_back)
[?25l[?1c[1;23r[1;1H[3L[1;24r[1;1H01234567890123456789012345678901234567
line 2 foo bar blah
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[24;1H[K[9;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset key= fenc=latin1
[?25l[?1c[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 10 lines, 256 characters written[9;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test72.in" 115 lines, 1707 characters[1;1HTests 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
:e! Xtestfile
ggdGithis is one line[1m[34m^[[0m: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
:s/line/Line/[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for undo file.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[5;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 104 lines, 1510 characters written[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[6;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:X
foobar
foobar
:w!
:bwipe!
:e Xtestfile
foobar
: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.
:call rename(".Xtestfile.un~", "Xtestundo")
:qa!
ENDTEST
1111 -----
2222 -----
123456789[18;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test 'undofile': first a simple one-line change.
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocompatible viminfo+=nviminfo visualbell
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ul=100 undofile nomore
[?25l[?1c[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtestfile
[?25l[?1c"Xtestfile" [New File][1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[1m-- INSERT --[0m[24;13H[K[24;1H[K[1;1Hthis is one line[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[1;16H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/one/ONE/
[?25l[?1c[1;9HONE
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ul=100
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw
[?25l[?1c"Xtestfile" [New] 1L, 17C written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe!
[?25l[?1c"test72.in" 115L, 1707C[1;1H:X[1;3H[K[2;1Hfoobar[2;7H[K[3;1Hfoobar[3;7H[K[4;1H:w![4;4H[K[5;1H:bwipe![5;8H[K[6;1H:e Xtestfile[6;13H[K[7;1Hfoobar[7;7H[K[8;1H:set key=[8;10H[K[9;1H/bar[9;5H[K[10;1H:.w >>test.out[10;15H[K[11;1Hu:.w >>test.out[11;16H[K[12;1Hu:.w >>test.out[12;16H[K[13;1Hu:.w >>test.out[13;16H[K[14;1H:"[14;3H[K[15;1H:" Rename the undo file so that it gets cleaned up.[15;52H[K[16;1H:call rename(".Xtestfile.un~", "Xtestundo")[16;44H[K[17;1H:qa![17;5H[K[18;1HENDTEST[18;8H[K[19;1H[K[20;1H1111 -----[20;11H[K[21;1H2222 -----[21;11H[K[22;1H[K[23;1H123456789[23;10H[K[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce Xtestfile
[?25l[?1c"Xtestfile" 1L, 17C[1;1Hthis is ONE line
[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H1 change; before #2 0 seconds ago[1;9Hone
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New] 1L, 17C written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test 'undofile', change in original file fails check
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset noundofile
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtestfile
[?25l[?1c"Xtestfile" [24;13H[K[24;13H1L, 17C[1;9HONE
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/line/Line/
[?25l[?1c[1;13HL
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw
[?25l[?1c"Xtestfile" 1L, 17C written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset undofile
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe!
[?25l[?1c"test72.in" 115L, 1707C[1;1H:X[1;3H[K[2;1Hfoobar[2;7H[K[3;1Hfoobar[3;7H[K[4;1H:w![4;4H[K[5;1H:bwipe![5;8H[K[6;1H:e Xtestfile[6;13H[K[7;1Hfoobar[7;7H[K[8;1H:set key=[8;10H[K[9;1H/bar[9;5H[K[10;1H:.w >>test.out[10;15H[K[11;1Hu:.w >>test.out[11;16H[K[12;1Hu:.w >>test.out[12;16H[K[13;1Hu:.w >>test.out[13;16H[K[14;1H:"[14;3H[K[15;1H:" Rename the undo file so that it gets cleaned up.[15;52H[K[16;1H:call rename(".Xtestfile.un~", "Xtestundo")[16;44H[K[17;1H:qa![17;5H[K[18;1HENDTEST[18;8H[K[19;1H[K[20;1H1111 -----[20;11H[K[21;1H2222 -----[21;11H[K[22;1H[K[23;1H123456789[23;10H[K[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce Xtestfile
[?25l[?1c"Xtestfile" 1L, 17C[1;1Hthis is ONE Line
[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c" TODO: this beeps
[?25l[?1c[1;1H[?25h[?0c[?5h[?5l[?25l[?1c[24;1HAlready at oldest change[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1L, 17C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test 'undofile', add 10 lines, delete 6 lines, undo 3
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset undofile
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[1;1H[K[24;1H--No lines in buffer--[1;1H[?25h[?0c[?25l[?1c[24;1H[1m-- INSERT --[0m[24;13H[K[24;1H[K[1;1Hone
two[2;4H[K[3;1Hthree[3;6H[K[4;1Hfour[4;5H[K[5;1Hfive[5;5H[K[6;1Hsix[6;4H[K[7;1Hseven[7;6H[K[8;1Height[8;6H[K[9;1Hnine[9;5H[K[10;1Hten[10;4H[K[10;3H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[10;3H[?25h[?0c[3;1H[?25l[?1c[3;23r[23;1H
[1;24r[23;1H[1m[34m~ [0m[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[3;23r[23;1H
[1;24r[23;1H[1m[34m~ [0m[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[3;23r[23;1H
[1;24r[23;1H[1m[34m~ [0m[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[3;23r[23;1H
[1;24r[23;1H[1m[34m~ [0m[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[3;23r[23;1H
[1;24r[23;1H[1m[34m~ [0m[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[3;23r[23;1H
[1;24r[23;1H[1m[34m~ [0m[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw
[?25l[?1c"Xtestfile" 4L, 17C written[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe!
[?25l[?1c"test72.in" 115L, 1707C[1;1H:X[1;3H[K[2;1Hfoobar
foobar
:w!
:bwipe![5;8H[K[6;1H:e Xtestfile[6;13H[K[7;1Hfoobar[7;7H[K[8;1H:set key=[8;10H[K[9;1H/bar[9;5H[K[10;1H:.w >>test.out[10;15H[K[11;1Hu:.w >>test.out[11;16H[K[12;1Hu:.w >>test.out[12;16H[K[13;1Hu:.w >>test.out[13;16H[K[14;1H:"[14;3H[K[15;1H:" Rename the undo file so that it gets cleaned up.[15;52H[K[16;1H:call rename(".Xtestfile.un~", "Xtestundo")[16;44H[K[17;1H:qa![17;5H[K[18;1HENDTEST[18;8H[K[19;1H[K[20;1H1111 -----[20;11H[K[21;1H2222 -----[21;11H[K[22;1H[K[23;1H123456789[23;10H[K[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce Xtestfile
[?25l[?1c"Xtestfile" 4L, 17C[1;1Hone
tw[2;4H[K[3;1Hnine[3;5H[K[4;1Hten
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H1 more line; before #7 1 seconds ago[3;23r[3;1H[L[1;24r[3;1Height[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H1 more line; before #6 1 seconds ago[3;23r[3;1H[L[1;24r[3;1Hseven[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H1 more line; before #5 1 seconds ago[3;23r[3;1H[L[1;24r[3;1Hsix[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H7L, 33C appended[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test that reading the undofiles when setting undofile works
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset noundofile ul=0
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[1m-- INSERT --[0m[24;13H[K[4;23r[4;1H[L[1;24r[3;1H[K[4;1Hsix
u[?25h[?0cs[24;1H[K[?25l[?1c[4;1H[?25h[?0c[?25l[?1c[24;1H1 line less; before #8 0 seconds ago[3;23r[23;1H
[1;24r[23;1H[1m[34m~ [0m[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ce! Xtestfile
[?25l[?1c"Xtestfile" [24;13H[K[24;13H4L, 17C[3;1Hnine
ten[4;4H[K[5;1H[1m[34m~ [6;1H~ [7;1H~ [3;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset undofile ul=100
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H1 more line; before #7 1 seconds ago[3;23r[3;1H[L[1;24r[3;1Height[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H1 more line; before #6 1 seconds ago[3;23r[3;1H[L[1;24r[3;1Hseven[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H1 more line; before #5 1 seconds ago[3;23r[3;1H[L[1;24r[3;1Hsix[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H1 more line; before #4 1 seconds ago[3;23r[3;1H[L[1;24r[3;1Hfive[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H1 more line; before #3 1 seconds ago[3;23r[3;1H[L[1;24r[3;1Hfour[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H1 more line; before #2 1 seconds ago[3;23r[3;1H[L[1;24r[3;1Hthree[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H10L, 49C appended[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" And now with encryption, cryptmethod=zip
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtestfile
[?25l[?1c"Xtestfile" [24;13H[K[24;13H4L, 17C[3;1Hnin[3;5H[K[4;1Hten[4;4H[K[5;1H[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [3;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset undofile cm=zip
[?25l[?1c[3;1H[?25h[?0c[1;1H[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [0m[24;1H--No lines in buffer--[1;1H[?25h[?0c[?25l[?1c[24;1H[1m-- INSERT --[0m[24;13H[K[24;1H[K[1;1Hmonday
tuesday[2;8H[K[3;1Hwednesday[3;10H[K[4;1Hthursday[4;9H[K[5;1Hfriday[5;7H[K[5;6H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[5;6H[?25h[?0c[4;6H[3;6H[2;6H[?25l[?1c[2;23r[23;1H
[1;24r[23;1H[1m[34m~ [0m[24;1H[K[2;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[2;23r[23;1H
[1;24r[23;1H[1m[34m~ [0m[24;1H[K[2;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[2;23r[23;1H
[1;24r[23;1H[1m[34m~ [0m[24;1H[K[2;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cX
[?25l[?1c[24;1H[K[24;1HEnter encryption key: [?25h[?0c******
[?25l[?1cEnter same key again: [?25h[?0c******
[1;1H[2L[?25l[?1c[1;1Hmonday
friday[24;1H[K[2;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cw!
[?25l[?1c"Xtestfile" [crypted] 2L, 14C written[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe!
[?25l[?1c"test72.in" 115L, 1707C[1;1H:X[1;3H[K[2;2Hoobar
foobar[3;7H[K[4;1H:w![4;4H[K[5;1H:bwipe![5;8H[K[6;1H:e Xtestfile[6;13H[K[7;1Hfoobar[7;7H[K[8;1H:set key=[8;10H[K[9;1H/bar[9;5H[K[10;1H:.w >>test.out[10;15H[K[11;1Hu:.w >>test.out[11;16H[K[12;1Hu:.w >>test.out[12;16H[K[13;1Hu:.w >>test.out[13;16H[K[14;1H:"[14;3H[K[15;1H:" Rename the undo file so that it gets cleaned up.[15;52H[K[16;1H:call rename(".Xtestfile.un~", "Xtestundo")[16;44H[K[17;1H:qa![17;5H[K[18;1HENDTEST[18;8H[K[19;1H[K[20;1H1111 -----[20;11H[K[21;1H2222 -----[21;11H[K[22;1H[K[23;1H123456789[23;10H[K[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce Xtestfile
[?25l[?1c"Xtestfile"
Need encryption key for "Xtestfile"
Enter encryption key: [?25h[?0c******
[?25l[?1c"Xtestfile" [crypted] 2L, 14C[1;1H[2L[1;1Hmonday
friday
[1m[34m~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H[K[24;1H"Xtestfile" [crypted] 2L, 14C[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset key=
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H1 more line; before #11 0 seconds ago[2;23r[2;1H[L[1;24r[2;1Hthursday[24;1H[K[2;1H[?25h[?0c[?25l[?1c[24;1H1 more line; before #10 0 seconds ago[2;23r[2;1H[L[1;24r[2;1Hwednesday[24;1H[K[2;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cw >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H4L, 33C appended[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" With encryption, cryptmethod=blowfish
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtestfile
[?25l[?1c"Xtestfile" [24;13H[K[24;1HNeed encryption key for "Xtestfile"
Enter encryption key: [?25h[?0c*************************
[1m[34m~ [3;1H~ [4;1H~ [0m[24;1H[K[24;1H"Xtestfile" [noeol][crypted] 1L, 14C[1;1H[?25h[?0c[?25l[?1c[1;1H[K[24;1H--No lines in buffer--[24;23H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[1m-- INSERT --[0m[24;13H[K[24;1H[K[1;1Hjan
feb[2;4H[K[3;1Hmar[3;4H[K[4;1Hapr[4;4H[K[5;1Hjun[5;4H[K[5;3H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[5;3H[?25h[?0c[4;3H[3;3H
[?25l[?1c[24;1H[1m-- INSERT --[0m[24;1H[K[3;1Hfoo mar[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[3;4H[?25h[?0c[?25l[?1c[3;23r[23;1H
[1;24r[23;1H[1m[34m~ [0m[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[1m-- INSERT --[0m[24;1H[K[3;1Hbar apr[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cset ul=100
[?25l[?1c[3;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cX
[?25l[?1c[24;1H[K[24;1HEnter encryption key: [?25h[?0c******
[?25l[?1cEnter same key again: [?25h[?0c******
[1;1H[2L[?25l[?1c[1;1Hjan
feb[24;1H[K[3;4H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cw!
[?25l[?1c"Xtestfile" [crypted] 4L, 20C written[3;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cbwipe!
[?25l[?1c"test72.in" 115L, 1707C[1;1H:X[1;3H[K[2;2Hoobar
foobar[3;7H[K[4;1H:w!
:bwipe![5;8H[K[6;1H:e Xtestfile[6;13H[K[7;1Hfoobar[7;7H[K[8;1H:set key=[8;10H[K[9;1H/bar[9;5H[K[10;1H:.w >>test.out[10;15H[K[11;1Hu:.w >>test.out[11;16H[K[12;1Hu:.w >>test.out[12;16H[K[13;1Hu:.w >>test.out[13;16H[K[14;1H:"[14;3H[K[15;1H:" Rename the undo file so that it gets cleaned up.[15;52H[K[16;1H:call rename(".Xtestfile.un~", "Xtestundo")[16;44H[K[17;1H:qa![17;5H[K[18;1HENDTEST[18;8H[K[19;1H[K[20;1H1111 -----[20;11H[K[21;1H2222 -----[21;11H[K[22;1H[K[23;1H123456789[23;10H[K[19;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce Xtestfile
[?25l[?1c"Xtestfile"
Need encryption key for "Xtestfile"
Enter encryption key: [?25h[?0c******
[?25l[?1c"Xtestfile" [crypted] 4L, 20C[1;1H[2L[1;1Hjan
feb
bar apr
jun
[1m[34m~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H[K[24;1H"Xtestfile" [crypted] 4L, 20C[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset key=
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cbar
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1L, 8C appended[3;1H[?25h[?0c[?25l[?1c[24;1H1 change; before #15 0 seconds ago[3;1Hap[3;5H[K[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1L, 4C appended[3;1H[?25h[?0c[?25l[?1c[24;1H1 more line; before #14 1 seconds ago[3;23r[3;1H[L[1;24r[3;1Hfoo mar[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1L, 8C appended[3;1H[?25h[?0c[?25l[?1c[24;1H1 change; before #13 1 seconds ago[3;1Hmar[3;5H[K[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w >>test.out
[?25l[?1c"test.out" [24;12H[K[24;12H1L, 4C appended[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Rename the undo file so that it gets cleaned up.
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall rename(".Xtestfile.un~", "Xtestundo")
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test73.in" 166 lines, 3622 characters[1;1HTests 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"[14;1H)
: 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for find completion.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 161 lines, 3575 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:cd bar
:find voyager
:exec "w >> " . test_out
:find voyager
:exec "w >> " . test_out
:" Check for correct handling of shorten_fname()'s behavior on windows
:exec "cd " . cwd . "/Xfind/in"
:find file
:exec "w >>" . test_out
:" Test for relative to current buffer 'path' item
: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
:q
:exec "cd " . cwd
:call DeleteDirectory("Xfind")
:qa!
ENDTEST
[?25h[?0c
[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Do all test in a separate window to avoid E211 when we recursively
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" delete the Xfind directory during cleanup
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" This will cause a few errors, do it silently.
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset visualbell
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocp viminfo+=nviminfo
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction! DeleteDirectory(dir)
[?25l[?1c
: [?25h[?0c: if has("win16") || has("win32") || has("win64") || has("dos16") || has("do
[23;80Hs[24;1H32")
[?25l[?1c: [?25h[?0c: exec "silent !rmdir /Q /S " . a:dir
[?25l[?1c: [?25h[?0c: else
[?25l[?1c: [?25h[?0c: exec "silent !rm -rf " . a:dir
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c:endfun
[1;1H[7L[?25l[?1c[1;1H:cd bar
:find voyager
:exec "w >> " . test_out
:find voyager
:exec "w >> " . test_out
:" Check for correct handling of shorten_fname()'s behavior on windows
:exec "cd " . cwd . "/Xfind/in"[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c" On windows a stale "Xfind" directory may exist, remove it so that
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" we start from a clean state.
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall DeleteDirectory("Xfind")
[?25l[?1c[?25h[?0c[24;1H[23;1H[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7m[No Name] [0m[13;2He in/file.txt[13;15H[K[14;2H" Find the file containing 'E.T.' in the Xfind/in/path directory
:find file [15;18H[K[16;2Hexec "w >>" . test_out
:q[17;3H[K[18;2Hexec "cd " . cwd
:call DeleteDirectory("Xfind")
:qa![20;5H[K[21;1HENDTEST[22;1H[K[23;1H[7mtest73.in [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet cwd=getcwd()
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet test_out = cwd . '/test.out'
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall mkdir('Xfind')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccd Xfind
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind[23;1H[7m/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset path=
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind ...[?25l[?1c[24;7H[K[24;7H[?5h[?5l[?25h[?0c
[?25l[?1c[1m[37m[41mE345: Can't find file "" in path[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w! " . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<ld/vim-XdRqEP/vim-7.3.547/src/vim-basic/testdir/test.out" [New] 0L, 0C written[12;1H[1m[7m/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cclose
[?25l[?1c[1;1H:cd bar
:find voyager [2;17H[K[3;1H:exec "w >> " . test_out[3;25H[K[4;1H:find voyager [4;25H[K[5;1H:exec "w >> " . test_out[5;25H[K[6;1H:" Check for correct handling of shorten_fname()'s behavior on windows[6;71H[K[7;1H:exec "cd " . cwd . "/Xfind/in"[7;32H[K[8;1H:find file [8;17H[K[9;1H:exec "w >>" . test_out[9;24H[K[10;1H:" Test for relative to current buffer 'path' item[10;51H[K[11;1H:exec "cd " . cwd . "/Xfind/"[11;30H[K[12;1H:set path=./path[12;17H[K[13;2H" Open the file where Jimmy Hoffa is found
:e in/file.txt[14;15H[K[15;2H" Find the file containing 'E.T.' in the Xfind/in/path directory
:find file [16;17H[K[17;2Hexec "w >>" . test_out
:q[18;3H[K[19;2Hexec "cd " . cwd[19;18H[K[20;2Hcall DeleteDirectory("Xfind")
:qa![21;5H[K[22;1HENDTEST[23;1H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7m[No Name] [0m[13;2He in/file.txt[13;15H[K[14;2H" Find the file containing 'E.T.' in the Xfind/in/path directory
:find file [15;18H[K[16;2Hexec "w >>" . test_out
:q[17;3H[K[18;2Hexec "cd " . cwd
:call DeleteDirectory("Xfind")
:qa![20;5H[K[21;1HENDTEST[22;1H[K[23;1H[7m/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset path=.
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind ...[?25l[?1c[24;7H[K[24;7H[?5h[?5l[?25h[?0c
[?25l[?1c[1m[37m[41mE32: No file name[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 0L, 0C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cclose
[?25l[?1c[1;1H:cd bar
:find voyager [2;17H[K[3;1H:exec "w >> " . test_out[3;25H[K[4;1H:find voyager [4;25H[K[5;1H:exec "w >> " . test_out[5;25H[K[6;1H:" Check for correct handling of shorten_fname()'s behavior on windows[6;71H[K[7;1H:exec "cd " . cwd . "/Xfind/in"[7;32H[K[8;1H:find file [8;17H[K[9;1H:exec "w >>" . test_out[9;24H[K[10;1H:" Test for relative to current buffer 'path' item[10;51H[K[11;1H:exec "cd " . cwd . "/Xfind/"[11;30H[K[12;1H:set path=./path[12;17H[K[13;2H" Open the file where Jimmy Hoffa is found
:e in/file.txt[14;15H[K[15;2H" Find the file containing 'E.T.' in the Xfind/in/path directory
:find file [16;17H[K[17;2Hexec "w >>" . test_out
:q[18;3H[K[19;2Hexec "cd " . cwd[19;18H[K[20;2Hcall DeleteDirectory("Xfind")
:qa![21;5H[K[22;1HENDTEST[23;1H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7m[No Name] [0m[13;2He in/file.txt[13;15H[K[14;2H" Find the file containing 'E.T.' in the Xfind/in/path directory
:find file [15;18H[K[16;2Hexec "w >>" . test_out
:q[17;3H[K[18;2Hexec "cd " . cwd
:call DeleteDirectory("Xfind")
:qa![20;5H[K[21;1HENDTEST[22;1H[K[23;1H[7m/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset path=.,,
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind ...[?25l[?1c[24;7H[K[24;7H[?5h[?5l[?25h[?0c
[?25l[?1c[1m[37m[41mE32: No file name[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 0L, 0C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cclose
[?25l[?1c[1;1H:cd bar
:find voyager [2;17H[K[3;1H:exec "w >> " . test_out[3;25H[K[4;1H:find voyager [4;25H[K[5;1H:exec "w >> " . test_out[5;25H[K[6;1H:" Check for correct handling of shorten_fname()'s behavior on windows[6;71H[K[7;1H:exec "cd " . cwd . "/Xfind/in"[7;32H[K[8;1H:find file [8;17H[K[9;1H:exec "w >>" . test_out[9;24H[K[10;1H:" Test for relative to current buffer 'path' item[10;51H[K[11;1H:exec "cd " . cwd . "/Xfind/"[11;30H[K[12;1H:set path=./path[12;17H[K[13;2H" Open the file where Jimmy Hoffa is found
:e in/file.txt[14;15H[K[15;2H" Find the file containing 'E.T.' in the Xfind/in/path directory
:find file [16;17H[K[17;2Hexec "w >>" . test_out
:q[18;3H[K[19;2Hexec "cd " . cwd[19;18H[K[20;2Hcall DeleteDirectory("Xfind")
:qa![21;5H[K[22;1HENDTEST[23;1H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7m[No Name] [0m[13;2He in/file.txt[13;15H[K[14;2H" Find the file containing 'E.T.' in the Xfind/in/path directory
:find file [15;18H[K[16;2Hexec "w >>" . test_out
:q[17;3H[K[18;2Hexec "cd " . cwd
:call DeleteDirectory("Xfind")
:qa![20;5H[K[21;1HENDTEST[22;1H[K[23;1H[7m/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset path=./**
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind ...[?25l[?1c[24;7H[K[24;7H[?5h[?5l[?25h[?0c
[?25l[?1c[1m[37m[41mE32: No file name[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 0L, 0C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cclose
[?25l[?1c[1;1H:cd bar
:find voyager [2;17H[K[3;1H:exec "w >> " . test_out[3;25H[K[4;1H:find voyager [4;25H[K[5;1H:exec "w >> " . test_out[5;25H[K[6;1H:" Check for correct handling of shorten_fname()'s behavior on windows[6;71H[K[7;1H:exec "cd " . cwd . "/Xfind/in"[7;32H[K[8;1H:find file [8;17H[K[9;1H:exec "w >>" . test_out[9;24H[K[10;1H:" Test for relative to current buffer 'path' item[10;51H[K[11;1H:exec "cd " . cwd . "/Xfind/"[11;30H[K[12;1H:set path=./path[12;17H[K[13;2H" Open the file where Jimmy Hoffa is found
:e in/file.txt[14;15H[K[15;2H" Find the file containing 'E.T.' in the Xfind/in/path directory
:find file [16;17H[K[17;2Hexec "w >>" . test_out
:q[18;3H[K[19;2Hexec "cd " . cwd[19;18H[K[20;2Hcall DeleteDirectory("Xfind")
:qa![21;5H[K[22;1HENDTEST[23;1H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7m[No Name] [0m[13;2He in/file.txt[13;15H[K[14;2H" Find the file containing 'E.T.' in the Xfind/in/path directory
:find file [15;18H[K[16;2Hexec "w >>" . test_out
:q[17;3H[K[18;2Hexec "cd " . cwd
:call DeleteDirectory("Xfind")
:qa![20;5H[K[21;1HENDTEST[22;1H[K[23;1H[7m/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c" We shouldn't find any file at this point, test.out must be empty.
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall mkdir('in')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccd in
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/in[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall mkdir('path')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cexec "cd " . cwd
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir[23;1H[7mtest73.in [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ce Xfind/file.txt
[?25l[?1c"Xfind/file.txt" [New File][12;1H[1m[7mXfind/file.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[1m-- INSERT --[0m[24;13H[K[24;1H[K[1;1HHoly Grail[12;16H[1m[7m[+][1;10H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0cw
[?25l[?1c"Xfind/file.txt" [New] 1L, 11C written[12;16H[1m[7m [1;10H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ce Xfind/in/file.txt
[?25l[?1c"Xfind/in/file.txt" [New File][1;1H[K[12;7H[1m[7min/file.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[1m-- INSERT --[0m[24;13H[K[24;1H[K[1;1HJimmy Hoffa[12;19H[1m[7m[+][1;11H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0cw
[?25l[?1c"Xfind/in/file.txt" [New] 1L, 12C written[12;19H[1m[7m [1;11H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ce Xfind/in/stuff.txt
[?25l[?1c"Xfind/in/stuff.txt" [New File][1;1H[K[12;10H[1m[7mstuff.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[1m-- INSERT --[0m[24;13H[K[24;1H[K[1;1HAnother Holy Grail[12;20H[1m[7m[+][1;18H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0cw
[?25l[?1c"Xfind/in/stuff.txt" [New] 1L, 19C written[12;20H[1m[7m [1;18H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ce Xfind/in/path/file.txt
[?25l[?1c"Xfind/in/path/file.txt" [New File][1;1H[K[12;10H[1m[7mpath/file.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[1m-- INSERT --[0m[24;13H[K[24;1H[K[1;1HE.T.[12;24H[1m[7m[+][1;4H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0cw
[?25l[?1c"Xfind/in/path/file.txt" [New] 1L, 5C written[12;24H[1m[7m [1;4H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset path=Xfind/**
[?25l[?1c[1;4H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind file...[?25l[?1c[24;7H./Xfind/file.txt[?5h[?5l[?25h[?0c
[?25l[?1c"Xfind/file.txt" [24;18H[K[24;18H1L, 11C[1;1HHoly Grail[12;7H[1m[7mfile.txt [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 11C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind file...[?25l[?1c[24;7H./Xfind/file.txt[?5h[?5l[?25h[?0c...[?25l[?1c[24;7Hin/file.txt[24;18H[K[24;18H[?25h[?0c
[?25l[?1c"Xfind/in/file.txt" 1L, 12C[1;1HJimmy Hoffa[12;7H[1m[7min/file.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind file...[?25l[?1c[24;7H./Xfind/file.txt[?5h[?5l[?25h[?0c...[?25l[?1c[24;7Hin/file.txt[24;18H[K[24;18H[?25h[?0c...[?25l[?1c[24;7Hpath/file.txt[24;20H[K[24;20H[?25h[?0c
[?25l[?1c"Xfind/in/path/file.txt" 1L, 5C[1;1HE.T.[1;5H[K[12;10H[1m[7mpath/file.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 5C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Rerun the previous three find completions, using fullpath in 'path'
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cexec "set path=" . cwd . "/Xfind/**"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind file...[?25l[?1c[24;7H./Xfind/file.txt[?5h[?5l[?25h[?0c
[?25l[?1c"Xfind/file.txt" [24;18H[K[24;18H1L, 11C[1;1HHoly Grail[12;7H[1m[7mfile.txt [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 11C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind file...[?25l[?1c[24;7H./Xfind/file.txt[?5h[?5l[?25h[?0c...[?25l[?1c[24;7Hin/file.txt[24;18H[K[24;18H[?25h[?0c
[?25l[?1c"Xfind/in/file.txt" 1L, 12C[1;1HJimmy Hoffa[12;7H[1m[7min/file.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind file...[?25l[?1c[24;7H./Xfind/file.txt[?5h[?5l[?25h[?0c...[?25l[?1c[24;7Hin/file.txt[24;18H[K[24;18H[?25h[?0c...[?25l[?1c[24;7Hpath/file.txt[24;20H[K[24;20H[?25h[?0c
[?25l[?1c"Xfind/in/path/file.txt" 1L, 5C[1;1HE.T.[1;5H[K[12;10H[1m[7mpath/file.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 5C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Same steps again, using relative and fullpath items that point to the same
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" recursive location.
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" This is to test that there are no duplicates in the completion list.
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cexec "set path+=Xfind/**"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind file...[?25l[?1c[24;7H./Xfind/file.txt[?5h[?5l[?25h[?0c
[?25l[?1c"Xfind/file.txt" [24;18H[K[24;18H1L, 11C[1;1HHoly Grail[12;7H[1m[7mfile.txt [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 11C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind file...[?25l[?1c[24;7H./Xfind/file.txt[?5h[?5l[?25h[?0c...[?25l[?1c[24;7Hin/file.txt[24;18H[K[24;18H[?25h[?0c
[?25l[?1c"Xfind/in/file.txt" 1L, 12C[1;1HJimmy Hoffa[12;7H[1m[7min/file.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind file...[?25l[?1c[24;7H./Xfind/file.txt[?5h[?5l[?25h[?0c...[?25l[?1c[24;7Hin/file.txt[24;18H[K[24;18H[?25h[?0c...[?25l[?1c[24;7Hpath/file.txt[24;20H[K[24;20H[?25h[?0c
[?25l[?1c"Xfind/in/path/file.txt" 1L, 5C[1;1HE.T.[1;5H[K[12;10H[1m[7mpath/file.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 5C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind file...[?25l[?1c[24;7H./Xfind/file.txt[?5h[?5l[?25h[?0c...[?25l[?1c[24;7Hin/file.txt[24;18H[K[24;18H[?25h[?0c
[?25l[?1c"Xfind/in/file.txt" 1L, 12C[1;1HJimmy Hoffa[12;10H[1m[7mfile.txt [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c" Test find completion for directory of current buffer, which at this point
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" is Xfind/in/file.txt.
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset path=.
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind st...[?25l[?1cuff.txt[?25h[?0c
[?25l[?1c"Xfind/in/stuff.txt" 1L, 19C[1;1HAnother Holy Grail[12;10H[1m[7mstuff.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 19C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test find completion for empty path item ",," which is the current directory
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccd Xfind
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind[12;1H[1m[7min/stuff.txt [0m[23;1H[7m/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset path=,,
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind f...[?25l[?1cile.txt[?25h[?0c...[?25l[?1c[24;15H[K[24;15H[?25h[?0c
[?25l[?1c"file.txt" [24;12H[K[24;12H1L, 11C[1;1HHoly Grail[1;11H[K[12;1H[1m[7mfile.txt [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 11C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test shortening of
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" foo/x/bar/voyager.txt
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" foo/y/bar/voyager.txt
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" When current directory is above foo/ they should be shortened to (in order
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" of appearance):
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" x/bar/voyager.txt
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" y/bar/voyager.txt
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall mkdir('foo')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccd foo
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo[12;1H[1m[7m/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/file.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall mkdir('x')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall mkdir('y')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccd x
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/x[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall mkdir('bar')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccd ..
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccd y
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/y[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall mkdir('bar')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccd ..
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccd ..
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind[12;1H[1m[7mfile.txt [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c" We should now be in the Xfind directory
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce foo/x/bar/voyager.txt
[?25l[?1c"foo/x/bar/voyager.txt" [New File][1;1H[K[12;2H[1m[7moo/x/bar/voyager.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[1m-- INSERT --[0m[24;13H[K[24;1H[K[1;1HVoyager 1[12;23H[1m[7m[+][1;9H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0cw
[?25l[?1c"foo/x/bar/voyager.txt" [New] 1L, 10C written[12;23H[1m[7m [1;9H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ce foo/y/bar/voyager.txt
[?25l[?1c"foo/y/bar/voyager.txt" [New File][1;1H[K[12;5H[1m[7my[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[1m-- INSERT --[0m[24;13H[K[24;1H[K[1;1HVoyager 2[12;23H[1m[7m[+][1;9H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0cw
[?25l[?1c"foo/y/bar/voyager.txt" [New] 1L, 10C written[12;23H[1m[7m [1;9H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "set path=" . cwd . "/Xfind/**"
[?25l[?1c[1;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind voyager...[?25l[?1c[24;7Hx/bar/voyager.txt[?5h[?5l[?25h[?0c
[?25l[?1c"foo/x/bar/voyager.txt" 1L, 10C[1;9H1[12;5H[1m[7mx[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind voyager...[?25l[?1c[24;7Hx/bar/voyager.txt[?5h[?5l[?25h[?0c...[?25l[?1c[24;7Hy[24;24H[K[24;24H[?25h[?0c
[?25l[?1c"foo/y/bar/voyager.txt" 1L, 10C[1;9H2[12;5H[1m[7my[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" When current directory is .../foo/y/bar they should be shortened to (in
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" order of appearance):
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" ./voyager.txt
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" x/bar/voyager.txt
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccd foo
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo[12;1H[1m[7my/bar/voyager.txt [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccd y
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/y[12;1H[1m[7mbar/voyager.txt [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccd bar
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/y/bar[12;1H[1m[7mvoyager.txt [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cfind voyager...[?25l[?1c[24;7H./voyager.txt[?5h[?5l[?25h[?0c
[?25l[?1c"voyager.txt" [24;15H[K[24;15H1L, 10C[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cexec "w >> " . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind voyager...[?25l[?1c[24;7H./voyager.txt[?5h[?5l[?25h[?0c...[?25l[?1c[24;7Hx/bar/voyager.txt[?25h[?0c
[?25l[?1c<ild/vim-XdRqEP/vim-7.3.547/src/vim-basic/testdir/Xfind/foo/x/bar/voyager.txt"
<-XdRqEP/vim-7.3.547/src/vim-basic/testdir/Xfind/foo/x/bar/voyager.txt" 1L, 10C[1;9H1[12;1H[1m[7m/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/x/bar/voyager.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >> " . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Check the opposite too:
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccd ..
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/y[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccd ..
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo[12;1H[1m[7mx/bar/voyager.txt [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccd x
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/x[12;1H[1m[7mbar/voyager.txt [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccd bar
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/x/bar[12;1H[1m[7mvoyager.txt [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cfind voyager...[?25l[?1c[24;7H./voyager.txt[?5h[?5l[?25h[?0c
[?25l[?1c"voyager.txt" [24;15H[K[24;15H1L, 10C[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cexec "w >> " . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind voyager...[?25l[?1c[24;7H./voyager.txt[?5h[?5l[?25h[?0c...[?25l[?1c[24;7Hy/bar/voyager.txt[?25h[?0c
[?25l[?1c<ild/vim-XdRqEP/vim-7.3.547/src/vim-basic/testdir/Xfind/foo/y/bar/voyager.txt"
<-XdRqEP/vim-7.3.547/src/vim-basic/testdir/Xfind/foo/y/bar/voyager.txt" 1L, 10C[1;9H2[12;1H[1m[7m/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/y/bar/voyager.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >> " . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Check for correct handling of shorten_fname()'s behavior on windows
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cexec "cd " . cwd . "/Xfind/in"
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/in[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind file...[?25l[?1c[24;7H./file.txt[?5h[?5l[?25h[?0c
[?25l[?1c"file.txt" [24;12H[K[24;12H1L, 12C[1;1HJimmy Hoffa[12;1H[1m[7mfile.txt [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test for relative to current buffer 'path' item
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cexec "cd " . cwd . "/Xfind/"
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind[12;1H[1m[7min/file.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset path=./path
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Open the file where Jimmy Hoffa is found
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce in/file.txt
[?25l[?1c"in/file.txt" 1L, 12C[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Find the file containing 'E.T.' in the Xfind/in/path directory
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfind file...[?25l[?1ctxt[?25h[?0c
[?25l[?1c"in/path/file.txt" 1L, 5C[1;1HE.T.[1;5H[K[12;4H[1m[7mpath/file.txt[1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cexec "w >>" . test_out
[?25l[?1c"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 5C appended[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cq
[?25l[?1c[1;1H:cd bar
:find voyager [2;17H[K[3;1H:exec "w >> " . test_out[3;25H[K[4;1H:find voyager [4;25H[K[5;1H:exec "w >> " . test_out[5;25H[K[6;1H:" Check for correct handling of shorten_fname()'s behavior on windows[6;71H[K[7;1H:exec "cd " . cwd . "/Xfind/in"[7;32H[K[8;1H:find file [8;17H[K[9;1H:exec "w >>" . test_out[9;24H[K[10;1H:" Test for relative to current buffer 'path' item[10;51H[K[11;1H:exec "cd " . cwd . "/Xfind/"[11;30H[K[12;1H:set path=./path[12;17H[K[13;2H" Open the file where Jimmy Hoffa is found
:e in/file.txt[14;15H[K[15;2H" Find the file containing 'E.T.' in the Xfind/in/path directory
:find file [16;17H[K[17;2Hexec "w >>" . test_out
:q[18;3H[K[19;2Hexec "cd " . cwd[19;18H[K[20;2Hcall DeleteDirectory("Xfind")
:qa![21;5H[K[22;1HENDTEST[23;1H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cexec "cd " . cwd
[?25l[?1c/<<PKGBUILDDIR>>/src/vim-basic/testdir[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall DeleteDirectory("Xfind")
[?25l[?1c[?25h[?0c[24;1H[23;1H[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test74.in" 36 lines, 822 characters[1;1H" 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1H" Tests for storing global variables in the .viminfo file vim: set ft=vim:[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 30 lines, 723 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[11M[1;24r[13;1H: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[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Do all test in a separate window to avoid E211 when we recursively
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" delete the Xfind directory during cleanup
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" This will cause a few errors, do it silently.
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset visualbell
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocp viminfo+=!,nviminfo
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet MY_GLOBAL_DICT={'foo': 1, 'bar': 0, 'longvarible': 1000}
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" store a really long list, so line wrapping will occur in viminfo file
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet MY_GLOBAL_LIST=range(1,100)
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cwv! Xviminfo
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet MY_GLOBAL_DICT
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cunlet MY_GLOBAL_LIST
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0crv! Xviminfo
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall delete('Xviminfo')
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif exists("MY_GLOBAL_DICT")
[?25l[?1c
: [?25h[?0c:redir >> test.out
[?25l[?1c: [?25h[?0c:echo MY_GLOBAL_DICT
[?25l[?1c{'foo': 1, 'longvarible': 1000, 'bar': 0}
: [?25h[?0c:redir end
[?25l[?1c: [?25h[?0c:endif
[1;1H[5L[?25l[?1c[1;1H:let MY_GLOBAL_LIST=range(1,100)
:wv! Xviminfo
:unlet MY_GLOBAL_DICT
:unlet MY_GLOBAL_LIST
:rv! Xviminfo[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cif exists("MY_GLOBAL_LIST")
[?25l[?1c
: [?25h[?0c:redir >> test.out
[?25l[?1c: [?25h[?0c:echo MY_GLOBAL_LIST
[?25l[?1c[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]
: [?25h[?0c:redir end
[?25l[?1c: [?25h[?0c:endif
[1;1H[9L[?25l[?1c[1;1H: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[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0credir >> test.out
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cecho "foobar"
[?25l[?1cfoobar[24;7H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0credir end
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cendif
[?25l[?1c[1m[37m[41mE580: :endif without :if[23;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test75.in" 22 lines, 480 characters[1;1H" Tests for functions.
STARTTEST
:so small.vim
:set cpo-=<
:" 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 abc x<char-114>x
:call append('$', maparg('abc'))
:map abc y<S-char-114>y
:call append('$', maparg('abc'))
:"
:/^eof/+1,$w! test.out
:qa!
ENDTEST
eof
[1m[34m~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1H" Tests for functions.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 16 lines, 433 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[20;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo-=<
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" Test maparg() with a string result
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap foo<C-V> is<F4>foo
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cvnoremap <script> <buffer> <expr> <silent> bar isbar
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append('$', maparg('foo<C-V>'))
[?25l[?1c[23;1His<F4>foo[23;10H[K[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append('$', string(maparg('foo<C-V>', '', 0, 1)))
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append('$', string(maparg('bar', '', 0, 1)))
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap abc x<char-114>x
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append('$', maparg('abc'))
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap abc y<S-char-114>y
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall append('$', maparg('abc'))
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^eof/+1,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 5 lines, 237 characters written[21;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test76.in" 46 lines, 899 characters[1;1HTests 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[1m[34m^X^U^N^[[0m:q!
:function! DummyCompleteTwo(findstart, base)
: if a:findstart
: wincmd n
: return 0
: else
: return ['twodef', 'twoDEF'][1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for completefunc/omnifunc. vim: set ft=vim :[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 37 lines, 810 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[18M[1;24r[6;1H: endif
:endfunction
:setlocal completefunc=DummyCompleteTwo
/^two
A[1m[34m^X^U^N^[[0m: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[1m[34m^X^U^N^[[0m:/^+++/,/^three/w! test.out
:qa!
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"Test that nothing happens if the 'completefunc' opens
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"a new window (no completion, no crash)
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction! DummyCompleteOne(findstart, base)
[?25l[?1c
: [?25h[?0c: if a:findstart
[?25l[?1c: [?25h[?0c: return 0
[?25l[?1c: [?25h[?0c: else
[?25l[?1c: [?25h[?0c: wincmd n
[?25l[?1c: [?25h[?0c: return ['onedef', 'oneDEF']
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c:endfunction
[1;1H[7L[?25l[?1c[1;1H: wincmd n
: return 0
: else
: return ['twodef', 'twoDEF']
: endif
:endfunction
:setlocal completefunc=DummyCompleteTwo[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0csetlocal completefunc=DummyCompleteOne
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^one
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1H+++
one[24;1H[K[23;1H[?25h[?0c[?25l[?1c
[1m[37m[41mE839: Completion function changed window[0m
[1m[37m[41mPattern not found[0m
[1m[32mPress ENTER or type command to continue[?25h[?0c[1;4H[?25l[?1c[0m[24;1H[K[24;1H[1m[32mPress ENTER or type command to continue[?25h[?0c[1;4H[0m[23;1H[K[24;1H[K[1;1H[2L[?25l[?1c[1;1Hone
[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7m[No Name] [+] [0m[13;4Hendif[13;9H[K[14;2Hendfunction
:setlocal completefunc=DummyCompleteThree
/^three[16;8H[K[17;1HA[1m[34m^X^U^N^[[0m:/^+++/,/^three/w! test.out
:qa![18;5H[K[19;1HENDTEST[20;1H[K[21;1H+++[22;1H[K[23;1H[7mtest76.in [+] [0m[24;1H[K[1;3H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cq!
[?25l[?1c[1;1H: else
: return ['twodef', 'twoDEF'][2;33H[K[3;1H: endif[3;9H[K[4;1H:endfunction[4;13H[K[5;1H:setlocal completefunc=DummyCompleteTwo[5;40H[K[6;1H/^two[6;6H[K[7;1HA[1m[34m^X^U^N^[[0m:q![7;13H[K[8;1H:"Test that 'completefunc' works when it's OK.[8;47H[K[9;1H:function! DummyCompleteThree(findstart, base)[9;47H[K[10;1H: if a:findstart[10;18H[K[11;1H: return 0[11;14H[K[12;1H: else[12;8H[K[13;4H return ['threedef', 'threeDEF']
: endif[14;9H[K[15;2Hendfunction[15;13H[K[16;1H:setlocal completefunc=DummyCompleteThree
/^three[17;8H[K[18;1HA[1m[34m^X^U^N^[[0m:/^+++/,/^three/w! test.out
:qa![19;5H[K[20;1HENDTEST[21;1H[K[22;1H+++[23;1H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction! DummyCompleteTwo(findstart, base)
[?25l[?1c
: [?25h[?0c: if a:findstart
[?25l[?1c: [?25h[?0c: wincmd n
[?25l[?1c: [?25h[?0c: return 0
[?25l[?1c: [?25h[?0c: else
[?25l[?1c: [?25h[?0c: return ['twodef', 'twoDEF']
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c:endfunction
[1;1H[7L[?25l[?1c[1;1H: else
: return ['twodef', 'twoDEF']
: endif
:endfunction
:setlocal completefunc=DummyCompleteTwo
/^two
A[1m[34m^X^U^N^[[0m:q![24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0csetlocal completefunc=DummyCompleteTwo
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^two
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Htwo[24;1H[K[23;1H[?25h[?0c[?25l[?1c
[1m[37m[41mE839: Completion function changed window[0m
[1m[37m[41mE764: Option 'completefunc' is not set[0m
[1m[32mPress ENTER or type command to continue[?25h[?0c[0m[23;1H[K[24;1H[K[1;1H[2L[?25l[?1c[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7m[No Name] [0m[13;2Hendfunction
:setlocal completefunc=DummyCompleteThree
/^three[15;8H[K[16;1HA[1m[34m^X^U^N^[[0m:/^+++/,/^three/w! test.out
:qa![17;5H[K[18;1HENDTEST[19;1H[K[20;1H+++[21;1H[K[22;1Htwo
[7mtest76.in [+] [0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cq!
[?25l[?1c[1;1H: return ['twodef', 'twoDEF']
: endif[2;9H[K[3;1H:endfunction[3;13H[K[4;1H:setlocal completefunc=DummyCompleteTwo[4;40H[K[5;1H/^two[5;6H[K[6;1HA[1m[34m^X^U^N^[[0m:q![6;13H[K[7;1H:"Test that 'completefunc' works when it's OK.[7;47H[K[8;1H:function! DummyCompleteThree(findstart, base)[8;47H[K[9;1H: if a:findstart[9;18H[K[10;1H: return 0[10;14H[K[11;1H: else[11;8H[K[12;1H: return ['threedef', 'threeDEF'][12;37H[K[13;2H endif[13;9H[K[14;2Hendfunction[14;13H[K[15;1H:setlocal completefunc=DummyCompleteThree
/^three[16;8H[K[17;1HA[1m[34m^X^U^N^[[0m:/^+++/,/^three/w! test.out
:qa![18;5H[K[19;1HENDTEST[20;1H[K[21;1H+++[22;1H[K[23;1Htwo[23;4H[K[23;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"Test that 'completefunc' works when it's OK.
[?25l[?1c[23;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction! DummyCompleteThree(findstart, base)
[?25l[?1c
: [?25h[?0c: if a:findstart
[?25l[?1c: [?25h[?0c: return 0
[?25l[?1c: [?25h[?0c: else
[?25l[?1c: [?25h[?0c: return ['threedef', 'threeDEF']
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c:endfunction
[1;1H[6L[?25l[?1c[1;1H: return ['twodef', 'twoDEF']
: endif
:endfunction
:setlocal completefunc=DummyCompleteTwo
/^two
A[1m[34m^X^U^N^[[0m:q![24;1H[K[23;3H[?25h[?0c[?25l[?1c
:[?25h[?0csetlocal completefunc=DummyCompleteThree
[?25l[?1c[23;3H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^three
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hthree[24;1H[K[23;1H[?25h[?0c[?25l[?1c
[1m[32mmatch 1 of 2[23;9H[0mdef[21;1H[30m[40mthreedef [0m
[30m[45mthreeDEF [23;9H[0mDEF[24;7H[1m[32m2[23;9H[0m[21;1H[30m[45mthreedef [0m
[30m[40mthreeDEF [23;9H[0m[24;1H[K[21;1H[K[22;1Htwo[22;4H[K[23;8H[?25h[?0c[?25l[?1c
:[?25h[?0c/^+++/,/^three/w! test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H[New File] 4 lines, 18 characters written[23;8H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test77.in" 29 lines, 702 characters[1;1HInserts 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 | endwhile[22;1Hggdd
:w! Xtest[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HInserts 2 million lines with consecutive integers starting from 1[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[11;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 16 lines, 271 characters written[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[12;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[5M[1;24r[19;1H:r !cksum Xtest
:s/\s/ /g
:.w! test.out
:qa!
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif !executable("cksum")
[?25l[?1c
: [?25h[?0c: e! test.ok
[?25l[?1c: [?25h[?0c: w! test.out
[?25l[?1c: [?25h[?0c: qa!
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[2;1Hcksum is part of POSIX and so should be available on most Unixes.
If it isn't available then the test will be skipped.[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset fileformat=unix undolevels=-1
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[1;1H[6L[1;24r[1;1HInserts 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.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H--No lines in buffer--[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet i = 1
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cwhile i <= 2000000 | call append(i, range(i, i + 99)) | let i += 100 | endwhil
[23;80He[24;1H[?25l[?1c[1;1H[L[2;1H1[2;2H[K[3;1H2[3;2H[K[4;1H3[4;2H[K[5;1H4[5;2H[K[6;1H5[6;2H[K[7;1H6[7;2H[K[8;1H7[8;2H[K[9;1H8[9;2H[K[10;1H9[10;2H[K[11;1H10[11;3H[K[12;1H11[12;3H[K[13;1H12[13;3H[K[14;1H13[14;3H[K[15;1H14[15;3H[K[16;1H15[16;3H[K[17;1H16[17;3H[K[18;1H17[18;3H[K[19;1H18[19;3H[K[20;1H19[20;3H[K[21;1H20[21;3H[K[22;1H21[22;3H[K[23;1H22[23;3H[K[24;1H[K[1;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H23[1;1H[?25h[?0c
[?25l[?1c[24;1H:[?25h[?0cw! Xtest
[?25l[?1c"Xtest" [24;9H[K[24;9H[New File] 2000000 lines, 14888896 characters written[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cr !cksum Xtest
[?25l[?1c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[1;1H1
2
3678979763 14888896 Xtest
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cs/\s/ /g
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c.w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 1 line, 26 characters written[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test78.in" 46 lines, 1464 characters[1;1HInserts 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 = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012[13;1H3456789abcdefghijklmnoparstuvwxyz0123456789"
: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:][:[23;1Hcntrl:]]*$', '\1', '')[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HInserts 10000 lines with text to fill the swap file with two levels of pointer[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[7;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[8;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 37 lines, 1208 characters written[8;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[8;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H: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 "[13;2H. linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let lin[14;1Hecount = linedollar | endif
:let i = 1
:while i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call append[17;1H(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile
:q!
:call append(line('$'), 'recovery end')
:w! test.out
:qa!
ENDTEST
[?25h[?0c
[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocp fileformat=unix undolevels=-1 viminfo+=nviminfo
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ce! Xtest
[?25l[?1c"Xtest" [New File][1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01
[23;80H2[24;1H3456789abcdefghijklmnoparstuvwxyz0123456789"
[?25l[?1c[1;1H[L[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0clet i = 1
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet linecount = 10000
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cwhile i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile
[?25l[?1c[1;1H9990 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[2;1Habcdefghijklmnoparstuvwxyz0123456789[2;37H[K[3;1H9991 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[4;1Habcdefghijklmnoparstuvwxyz0123456789[4;37H[K[5;1H9992 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[6;1Habcdefghijklmnoparstuvwxyz0123456789[6;37H[K[7;1H9993 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[8;1Habcdefghijklmnoparstuvwxyz0123456789[8;37H[K[9;1H9994 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[10;1Habcdefghijklmnoparstuvwxyz0123456789[10;37H[K[11;1H9995 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[12;1Habcdefghijklmnoparstuvwxyz0123456789[12;37H[K[13;1H9996 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[14;1Habcdefghijklmnoparstuvwxyz0123456789[14;37H[K[15;1H9997 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[16;1Habcdefghijklmnoparstuvwxyz0123456789[16;37H[K[17;1H9998 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[18;1Habcdefghijklmnoparstuvwxyz0123456789[18;37H[K[19;1H9999 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[20;1Habcdefghijklmnoparstuvwxyz0123456789[20;37H[K[21;1H10000 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[22;1Habcdefghijklmnoparstuvwxyz0123456789[22;37H[K[23;1H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cpreserve
[?25l[?1cFile preserved[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" get the name of the swap file
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0credir => swapname
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cswapname
[?25l[?1c.Xtest.swp[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0credir END
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][
[23;80H:[24;1Hcntrl:]]*$', '\1', '')
[?25l[?1c[1;1H[L[1;1H9990 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c" make a copy of the swap file in Xswap
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset bin
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cexe 'sp ' . swapname
[?25l[?1c".Xtest.swp"[24;14H[K[24;14H[noeol] 611L, 1224704C[1;1Hb0VIM 7.3[1m[34m^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@~_[0m9[1m[34m^@^@[0mroot[1m[34m^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[2;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[0mtestbuildd.raspbian.org[1m[34m^@^@^@^@^@^@^@^[3;1H@^@^@^@^@^@^@^@^@^@[0m/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xtest[1m[34m^@^@[4;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[5;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[6;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[7;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[8;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[9;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[10;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[11;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[0m[12;1H[1m[7m.Xtest.swp [0m[13;4H7[15;4H8[17;4H9
10000[21;1H[K[22;1H[1m[34m~ [0m[23;1H[7mXtest [+] [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cw! Xswap
[?25l[?1c"Xswap" [24;9H[K[24;9H[New][noeol] 611L, 1224704C written[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cecho swapname
[?25l[?1c.Xtest.sw[24;11H[K[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nobin
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[27m[24m[0m[H[J[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [0m[8;1H[1m[7m[No Name] [0m[9;1Hb0VIM 7.3[1m[34m^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@~_[0m9[1m[34m^@^@[0mroot[1m[34m^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[10;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[0mtestbuildd.raspbian.org[1m[34m^@^@^@^@^@^@^@^[11;1H@^@^@^@^@^@^@^@^@^@[0m/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xtest[1m[34m^@^@[12;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[13;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[14;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[15;1H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[0m[16;1H[7m.Xtest.swp [0m[17;1H9999 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[18;1Habcdefghijklmnoparstuvwxyz0123456789
10000 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[20;1Habcdefghijklmnoparstuvwxyz0123456789
[1m[34m~ [0m[23;1H[7mXtest [+] [1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0conly!
[?25l[?1c[27m[24m[0m[H[J[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0cbwipe! Xtest
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall rename('Xswap', swapname)
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0crecover Xtest
[?25l[?1cUsing swap file ".Xtest.swp"
Original file "/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xtest"
[23;1H"/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xtest" [New File][23;71H[K[24;1HRecovery 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.
[1m[32mPress ENTER or type command to continue[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall delete(swapname)
[?25l[?1c[1;1H[8L[1;1H1[7Cabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[2;1Habcdefghijklmnoparstuvwxyz0123456789
2[7Cabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[4;1Habcdefghijklmnoparstuvwxyz0123456789
3[7Cabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[6;1Habcdefghijklmnoparstuvwxyz0123456789
4[7Cabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[8;1Habcdefghijklmnoparstuvwxyz0123456789
5 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[10;1Habcdefghijklmnoparstuvwxyz0123456789[10;37H[K[11;1H6 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[12;1Habcdefghijklmnoparstuvwxyz0123456789[12;37H[K[13;1H7 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[14;1Habcdefghijklmnoparstuvwxyz0123456789[14;37H[K[15;1H8 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[16;1Habcdefghijklmnoparstuvwxyz0123456789[16;37H[K[17;1H9 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[18;1Habcdefghijklmnoparstuvwxyz0123456789[18;37H[K[19;1H10 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[20;1Habcdefghijklmnoparstuvwxyz0123456789[20;37H[K[21;1H11 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[22;1Habcdefghijklmnoparstuvwxyz0123456789[22;37H[K[23;1H12 abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789[23;1H[1m[34m@ [0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cnew
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7m[No Name] [0m[13;1H1
2
3
4
5
[7mXtest [+] [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall append(0, 'recovery start')
[?25l[?1c[1;11r[1;1H[L[1;24r[1;1Hrecovery start[12;11H[1m[7m[+][0m[24;1H[K[2;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cwincmd w
[?25l[?1c[12;1H[7m[No Name] [+] [0m[23;1H[1m[7mXtest [+] [13;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0clet linedollar = line('$')
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected
[23;80H"[24;1H . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let li
[23;80Hn[24;1Hecount = linedollar | endif
[?25l[?1c[1;1H[2L[1;1Hrecovery start[24;1H[K[13;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0clet i = 1
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cwhile i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appen
[23;80Hd[24;1H(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile
[?25l[?1c[1;1H[L[1;1Hrecovery start[24;1H[K[13;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cq!
[?25l[?1c[12;1H[1m[34m~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [2;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0ccall append(line('$'), 'recovery end')
[?25l[?1c[3;1Hrecovery end[3;13H[K[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cw! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New] 3L, 29C written[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test79.in" 213 lines, 2531 characters[1;1HTest for *sub-replace-special* and *sub-replace-expression* on :substitute.
Test for submatch() on :substitue.
Test for *:s%* on :substitute.
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/
j:s/I/\lII/[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for *sub-replace-special* and *sub-replace-expression* on :substitute.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[5;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 1 line, 14 characters written[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[6;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[7;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[8;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[8;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[11;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H23 lines, 307 characters written[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[12;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[12M[1;24r[12;1Hj:s/J/\LJ\EJ/
j:s/K/\Uk\ek/
j:s/L/[1m[34m^V^M[0m/
j:s/M/\r/
j:s/N/\[1m[34m^V^M[0m/
j:s/O/\n/
j:s/P/\b/
j:s/Q/\t/
j:s/R/\\/
j:s/S/\c/
j:s/T/[1m[34m^V^@[0m/
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset magic
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^TEST/
[?25l[?1c[24;7H[K[24;1H[1;23r[23;1H
[1;24r[23;1HTEST_1:[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HA[?25h[?0c[?25l[?1c
:[?25h[?0cs/A/&&/
[?25l[?1c[23;2HA
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HB[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/B/\&/
[?25l[?1c[23;1H&[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HC123456789[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l[?1c[23;11H987654321
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HD[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/D/d/
[?25l[?1c[23;1Hd[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HE[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/E/~/
[?25l[?1c[23;1Hd[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HF[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/F/\~/
[?25l[?1c[23;1H~[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HG[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/G/\ugg/
[?25l[?1c[23;2Hg
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HH[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/H/\Uh\Eh/
[?25l[?1c[23;2Hh
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HI[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/I/\lII/
[?25l[?1c[23;1HiI
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HJ[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/J/\LJ\EJ/
[?25l[?1c[23;1HjJ
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HK[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/K/\Uk\ek/
[?25l[?1c[23;2Hk
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HlLl[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/L/^[1m[34m^M[0m/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1Hl[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HmMm
[?25h[?0c[?25l[?1c
:[?25h[?0cs/M/\r/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1Hm[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HnNn
[?25h[?0c[?25l[?1c
:[?25h[?0cs/N/\^[1m[34m^M[0m/
[?25l[?1c[23;2H[1m[34m^M[0mn
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HoOo[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/O/\n/
[?25l[?1c[23;2H[1m[34m^@[0mo
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HpPp[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/P/\b/
[?25l[?1c[23;2H[1m[34m^H[0mp
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HqQq[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/Q/\t/
[?25l[?1c[23;2H q
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HrRr[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/R/\\/
[?25l[?1c[23;2H\
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HsSs[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/S/\c/
[?25l[?1c[23;2Hc
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HtTt[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/T/^[1m[34m^@[0m/
[?25l[?1c[23;2H[1m[34m^@[0mt
[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set nomagic
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H23 lines, 311 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1Hj:s/J/\LJ\EJ/
j:s/K/\Uk\ek/
j:s/L/[1m[34m^V^M[0m/
j:s/M/\r/
j:s/N/\[1m[34m^V^M[0m/
j:s/O/\n/
j:s/P/\b/
j:s/Q/\t/
j:s/R/\\/
j:s/S/\c/
j:s/T/[1m[34m^V^@[0m/
ENDTEST
TEST_2:
A
B
C123456789
D
E
F
G
H
I[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nomagic
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo&
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^TEST/
[?25l[?1c[24;7H[K[24;1H[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/A/&&/
[?25l[?1c[15;1H&&
[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/B/\&/
[?25l[?1c[16;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/\mC\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l[?1c[17;11H987654321
[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/D/d/
[?25l[?1c[18;1Hd[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/E/~/
[?25l[?1c[19;1H~[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/F/\~/
[?25l[?1c[20;1H~[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/G/\ugg/
[?25l[?1c[21;2Hg
[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/H/\Uh\Eh/
[?25l[?1c[22;2Hh
[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/I/\lII/
[?25l[?1c[23;1HiI
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HJ[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/J/\LJ\EJ/
[?25l[?1c[23;1HjJ
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HK[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/K/\Uk\ek/
[?25l[?1c[23;2Hk
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HlLl[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/L/^[1m[34m^M[0m/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1Hl[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HmMm
[?25h[?0c[?25l[?1c
:[?25h[?0cs/M/\r/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1Hm[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HnNn
[?25h[?0c[?25l[?1c
:[?25h[?0cs/N/\^[1m[34m^M[0m/
[?25l[?1c[23;2H[1m[34m^M[0mn
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HoOo[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/O/\n/
[?25l[?1c[23;2H[1m[34m^@[0mo
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HpPp[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/P/\b/
[?25l[?1c[23;2H[1m[34m^H[0mp
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HqQq[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/Q/\t/
[?25l[?1c[23;2H q
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HrRr[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/R/\\/
[?25l[?1c[23;2H\
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HsSs[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/S/\c/
[?25l[?1c[23;2Hc
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HtTt[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/T/^[1m[34m^@[0m/
[?25l[?1c[23;2H[1m[34m^@[0mt
[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set magic&
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H15 lines, 203 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1Hj:s/B/\='\\'/
j:s/C/\='[1m[34m^V^M[0m'/
j:s/D/\='\[1m[34m^V^M[0m'/
j:s/E/\='\\[1m[34m^V^M[0m'/
j:s/F/\='\r'/
j:s/G/\='[1m[34m^V^@[0m'/
j:s/H/\='\[1m[34m^V^@[0m'/
j:s/I/\='\\[1m[34m^V^@[0m'/
j:s/J/\='\n'/
j:s/K/\="\r"/
j:s/L/\="\n"/
ENDTEST
TEST_3:
aAa
bBb
cCc
dDd
eEe
fFf
gGg
hHh
iIi[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset magic&
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo&
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^TEST/
[?25l[?1c[24;7H[K[24;1H[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/A/\='\'/
[?25l[?1c[15;2H\
[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/B/\='\\'/
[?25l[?1c[16;2H\\b
[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/C/\='^[1m[34m^M[0m'/
[?25l[?1c[18;23r[18;1H[L[1;24r[17;2H[K[18;1Hc[24;1H[K[18;1H[?25h[?0c
[?25l[?1c[24;1H:[?25h[?0cs/D/\='\^[1m[34m^M[0m'/
[?25l[?1c[20;23r[20;1H[L[1;24r[19;2H\[19;3H[K[20;1Hd[24;1H[K[20;1H[?25h[?0c
[?25l[?1c
:[?25h[?0cs/E/\='\\^[1m[34m^M[0m'/
[?25l[?1c[21;2H\\
e[22;2H[K[23;1HfFf[22;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/F/\='\r'/
[?25l[?1c[23;2H\rf
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HgGg[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/G/\='^[1m[34m^@[0m'/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1Hg[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HhHh
[?25h[?0c[?25l[?1c
:[?25h[?0cs/H/\='\^[1m[34m^@[0m'/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H\[22;3H[K[23;1Hh[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HiIi
[?25h[?0c[?25l[?1c
:[?25h[?0cs/I/\='\\^[1m[34m^@[0m'/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H\\
i[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HjJj
[?25h[?0c[?25l[?1c
:[?25h[?0cs/J/\='\n'/
[?25l[?1c[23;2H\nj
[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HkKk[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/K/\="\r"/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1Hk[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HlLl
[?25h[?0c[?25l[?1c
:[?25h[?0cs/L/\="\n"/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1Hl[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set magic&
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H15 lines, 611 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1Hj:s/B/\=substitute(submatch(0), '.', '\\', '')/
j:s/C/\=substitute(submatch(0), '.', '[1m[34m^V^M[0m', '')/
j:s/D/\=substitute(submatch(0), '.', '\[1m[34m^V^M[0m', '')/
j:s/E/\=substitute(submatch(0), '.', '\\[1m[34m^V^M[0m', '')/
j:s/F/\=substitute(submatch(0), '.', '\r', '')/
j:s/G/\=substitute(submatch(0), '.', '[1m[34m^V^@[0m', '')/
j:s/H/\=substitute(submatch(0), '.', '\[1m[34m^V^@[0m', '')/
j:s/I/\=substitute(submatch(0), '.', '\\[1m[34m^V^@[0m', '')/
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[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset magic&
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo&
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^TEST/
[?25l[?1c[24;7H[K[24;1H[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/A/\=substitute(submatch(0), '.', '\', '')/
[?25l[?1c[15;2H\
[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/B/\=substitute(submatch(0), '.', '\\', '')/
[?25l[?1c[16;2H\
[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/C/\=substitute(submatch(0), '.', '^[1m[34m^M[0m', '')/
[?25l[?1c[18;23r[18;1H[L[1;24r[17;2H[K[18;1Hc[24;1H[K[18;1H[?25h[?0c
[?25l[?1c[24;1H:[?25h[?0cs/D/\=substitute(submatch(0), '.', '\^[1m[34m^M[0m', '')/
[?25l[?1c[20;23r[20;1H[L[1;24r[19;2H[K[20;1Hd[24;1H[K[20;1H[?25h[?0c
[?25l[?1c
:[?25h[?0cs/E/\=substitute(submatch(0), '.', '\\^[1m[34m^M[0m', '')/
[?25l[?1c[21;2H\[21;3H[K[22;1He[22;2H[K[23;1HfFf[22;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:[?25h[?0cs/F/\=substitute(submatch(0), '.', '\r', '')/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1Hf[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HgGg
[?25h[?0c[?25l[?1c
:[?25h[?0cs/G/\=substitute(submatch(0), '.', '^[1m[34m^@[0m', '')/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1Hg[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HhHh
[?25h[?0c[?25l[?1c
:[?25h[?0cs/H/\=substitute(submatch(0), '.', '\^[1m[34m^@[0m', '')/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1Hh[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HiIi
[?25h[?0c[?25l[?1c
:[?25h[?0cs/I/\=substitute(submatch(0), '.', '\\^[1m[34m^@[0m', '')/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H\[22;3H[K[23;1Hi[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HjJj
[?25h[?0c[?25l[?1c
:[?25h[?0cs/J/\=substitute(submatch(0), '.', '\n', '')/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1Hj[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HkKk
[?25h[?0c[?25l[?1c
:[?25h[?0cs/K/\=substitute(submatch(0), '.', "\r", '')/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1Hk[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HlLl
[?25h[?0c[?25l[?1c
:[?25h[?0cs/L/\=substitute(submatch(0), '.', "\n", '')/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1Hl[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set magic&
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H4 lines, 222 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[6M[1;24r[18;1H:set cpo&
/^TEST/
j:s/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .[21;2Hsubmatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch([22;1H3) . submatch(2) . submatch(1)/
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset magic&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^TEST/
[?25l[?1c[24;7H[K[24;1H[1;23r[23;1H
[1;24r[23;1HTEST_5:[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HA123456789
[?25h[?0c[?25l[?1c
:[?25h[?0cs/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .
submatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch(
[23;80H3[24;1H) . submatch(2) . submatch(1)/
[?25l[?1c[1;1H[2L[1;1Hg
h[23;11H987654321[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set magic&
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H8 lines, 80 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[8M[1;24r[16;1H/^TEST/
:set cpo+=/
j:s/A/a/
j:s/B/%/
:set cpo-=/
j:s/C/c/
j:s/D/%/
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset magic&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^TEST/
[?25l[?1c[24;7H[K[24;1H[1;23r[23;1H
[1;24r[23;1HTEST_6:[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset cpo+=/
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HA[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/A/a/
[?25l[?1c[23;1Ha[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HB[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/B/%/
[?25l[?1c[23;1Ha[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo-=/
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HC[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/C/c/
[?25l[?1c[23;1Hc[?25h[?0c[?25l[?1c[1;23r[1;1H[3M[1;24r[21;1HD
STARTTEST[24;1H[K[21;1H[?25h[?0c[?25l[?1c
:[?25h[?0cs/D/%/
[?25l[?1c[21;1H%[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:set magic&[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H5 lines, 74 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[5M[1;24r[19;1H:set cpo&
/^TEST/
j:s/A./\=submatch(0)/
j:s/B./\=submatch(0)/
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset magic&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0c^TEST/
[?25l[?1c[24;7H[K[24;1H[1;23r[23;1H
[1;24r[23;1HTEST_7:[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HA[1m[34m^M[0mA
[?25h[?0c[?25l[?1c
:[?25h[?0cs/A./\=submatch(0)/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1HA[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1HB[1m[34m^@[0mB
[?25h[?0c[?25l[?1c
:[?25h[?0cs/B./\=submatch(0)/
[?25l[?1c[1;23r[23;1H
[1;24r[22;2H[K[23;1HB[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/^STARTTEST
[1;23r[1;1H[2M[1;24r[23;1HSTARTTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?0c[?25l[?1c
:set ff=unix cpo-=A
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H2 lines, 56 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[23;1H[?25h[?0c[?25l[?1c
/ENDTEST[24;10H[K[24;1H[23;19H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H:1;/^Results/,$wq! test.out[24;1H[K[23;19H[?25h[?0c
[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cg/^STARTTEST/.,/^ENDTEST/d
[?25l[?1c114 fewer lines[24;16H[K[1;1Hk[1;2H[K[2;1Hk
l
l[5;1H[K[7;1HTEST_5:[7;8H[K[8;1HA123456789987654321[9;1H[K[10;1H[K[11;1HTEST_6:[11;8H[K[12;1Ha[12;2H[K[13;1Ha[13;2H[K[14;1Hc
%[15;2H[K[16;1H[K[17;1H[K[18;1HTEST_7:
A
A
B[21;2H[K[22;1HB[22;2H[K[23;1H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c1;/^Results/,$wq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 118 lines, 397 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test80.in" 150 lines, 4755 characters[1;1HTest 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\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)'[18;1H, '\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', '')[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for *sub-replace-special* and *sub-replace-expression* on substitue().[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[5;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 1 line, 14 characters written[6;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[6;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[7;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[8;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[8;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/^STARTTEST
[11;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H27 lines, 1046 characters written[12;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[12;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:$put =substitute('nNn', 'N', '\[1m[34m^V^M[0m', '')
:$put =substitute('oOo', 'O', '\n', '')
:$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\", '')
/^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\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)'[23;1H, '\0\9\8\7\6\5\4\3\2\1', '')[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset magic
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo&
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =\"\n\nTEST_1:\"
[?25l[?1c3 more lines[24;13H[K[27m[24m[0m[H[J[1;1HENDTEST
TEST_7:
STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_7:\"
:$put =substitute('A[1m[34m^V^M[0mA', 'A.', '\=submatch(0)', '')
:$put =substitute(\"B\nB\", 'B.', '\=submatch(0)', '')
/^TEST_8
ENDTEST
TEST_8:
STARTTEST
:/^Results/,$wq! test.out
ENDTEST
Results of test72:
TEST_1:
3 more lines[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =substitute('A', 'A', '&&', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HAA[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('B', 'B', '\&', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H&[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('C123456789', 'C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)
[23;80H'[24;1H, '\0\9\8\7\6\5\4\3\2\1', '')
[?25l[?1c[1;1H[L[2;1HSTARTTEST
:set magic&[4;6Hcpo&[4;10H[K[5;2H$put =\"\n\nTEST_7:\"[6;8Hsubstitute('A[1m[34m^V^M[0mA', 'A.', '\=submatch(0)', '')[7;19H\"B\nB\", 'B
/^TEST_8[8;9H[K[9;1HENDTEST[9;8H[K[10;1H[K[11;1HTEST_8:[12;1H[K[13;1HSTARTTEST
:/^Results/,$wq! test.out
ENDTEST[15;8H[K[16;1H[K[17;1HResults of test72:[18;1H[K[20;1HTEST_1:
AA[21;3H[K[22;1H&[22;2H[K[23;1HC123456789987654321[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('D', 'D', 'd', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hd[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('E', 'E', '~', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H~[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('F', 'F', '\~', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H~[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('G', 'G', '\ugg', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HGg[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('H', 'H', '\Uh\Eh', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HHh[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('I', 'I', '\lII', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HiI[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('J', 'J', '\LJ\EJ', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HjJ[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('K', 'K', '\Uk\ek', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HKk[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('lLl', 'L', '^[1m[34m^M[0m', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hl[1m[34m^M[0ml[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('mMm', 'M', '\r', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hm[1m[34m^M[0mm[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('nNn', 'N', '\^[1m[34m^M[0m', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hn[1m[34m^M[0mn[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('oOo', 'O', '\n', '')
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Ho
o[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('pPp', 'P', '\b', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hp[1m[34m^H[0mp[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('qQq', 'Q', '\t', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hq[7Cq[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('rRr', 'R', '\\', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hr\r[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('sSs', 'S', '\c', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hscs[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('uUu', 'U', \"\n\", '')
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hu
u[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('vVv', 'V', \"\b\", '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hv[1m[34m^H[0mv[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('wWw', 'W', \"\\\", '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hw\w[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('xXx', 'X', \"\r\", '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hx[1m[34m^M[0mx[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0c^TEST_2
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[1;1H:$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\", '')
/^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\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)'[21;1H, '\0\9\8\7\6\5\4\3\2\1', '')
:$put =substitute('D', 'D', 'd', '')
:$put =substitute('E', 'E', '~', '')
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H/^STARTTEST
[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H27 lines, 1048 characters written[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[15;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:$put =substitute('nNn', 'N', '\[1m[34m^V^M[0m', '')
:$put =substitute('oOo', 'O', '\n', '')
:$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', \"\\\", '')
/^TEST_3
ENDTEST
TEST_3:
STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_3:\"
:let y = substitute('aAa', 'A', '\="\\"', '')[11C| $put =y
:let y = substitute('bBb', 'B', '\="\\\\"', '')[9C| $put =y
:let y = substitute('cCc', 'C', '\="[1m[34m^V^M[0m"', '')[9C| $put =y
:let y = substitute('dDd', 'D', '\="\\[1m[34m^V^M[0m"', '')[7C| $put =y[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nomagic
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo&
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =\"\n\nTEST_2:\"
[?25l[?1c3 more lines[24;13H[K[27m[24m[0m[H[J[1;1H~
Gg
Hh
iI
jJ
Kk
l[1m[34m^M[0ml
m[1m[34m^M[0mm
n[1m[34m^M[0mn
o
o
p[1m[34m^H[0mp
q[7Cq
r\r
scs
u
u
v[1m[34m^H[0mv
w\w
x[1m[34m^M[0mx
TEST_2:
3 more lines[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =substitute('A', 'A', '&&', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HAA[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('B', 'B', '\&', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H&[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('C123456789', 'C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)
[23;80H'[24;1H, '\0\9\8\7\6\5\4\3\2\1', '')
[?25l[?1c[1;1H[L[1;1HiI
jJ
Kk
l[1m[34m^M[0ml
m[2Cm
n[2Cn
o[7;2H[K[9;1Hp[1m[34m^H[0mp
q q
r\r[11;9H[K[12;1Hscs
u[13;2H[K[15;1Hv[1m[34m^H[0mv
w\w[16;4H[K[17;1Hx[1m[34m^M[0mx[18;1H[K[20;1HTEST_2:
AA[21;3H[K[22;1H&[22;2H[K[23;1HC123456789987654321[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('D', 'D', 'd', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hd[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('E', 'E', '~', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H~[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('F', 'F', '\~', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H~[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('G', 'G', '\ugg', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HGg[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('H', 'H', '\Uh\Eh', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HHh[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('I', 'I', '\lII', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HiI[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('J', 'J', '\LJ\EJ', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HjJ[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('K', 'K', '\Uk\ek', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HKk[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('lLl', 'L', '^[1m[34m^M[0m', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hl[1m[34m^M[0ml[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('mMm', 'M', '\r', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hm[1m[34m^M[0mm[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('nNn', 'N', '\^[1m[34m^M[0m', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hn[1m[34m^M[0mn[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('oOo', 'O', '\n', '')
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Ho
o[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('pPp', 'P', '\b', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hp[1m[34m^H[0mp[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('qQq', 'Q', '\t', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hq[7Cq[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('rRr', 'R', '\\', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hr\r[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('sSs', 'S', '\c', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hscs[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('tTt', 'T', \"\r\", '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Ht[1m[34m^M[0mt[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('uUu', 'U', \"\n\", '')
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hu
u[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('vVv', 'V', \"\b\", '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hv[1m[34m^H[0mv[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('wWw', 'W', \"\\\", '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hw\w[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0c^TEST_3
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[1;1H:$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', \"\\\", '')
/^TEST_3
ENDTEST
TEST_3:
STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_3:\"
:let y = substitute('aAa', 'A', '\="\\"', '')[11C| $put =y
:let y = substitute('bBb', 'B', '\="\\\\"', '')[9C| $put =y
:let y = substitute('cCc', 'C', '\="[1m[34m^V^M[0m"', '')[9C| $put =y
:let y = substitute('dDd', 'D', '\="\\[1m[34m^V^M[0m"', '')[7C| $put =y
:let y = substitute('eEe', 'E', '\="\\\\[1m[34m^V^M[0m"', '') | $put =y
:let y = substitute('fFf', 'F', '\="\\r"', '')[10C| $put =y
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H/^STARTTEST
[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H13 lines, 642 characters written[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[15;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[5M[1;24r[19;1H:let y = substitute('jJj', 'J', '\="\\n"', '')[10C| $put =y
:let y = substitute('kKk', 'K', '\="\r"', '')[11C| $put =y
:let y = substitute('lLl', 'L', '\="\n"', '')[11C| $put =y
/^TEST_4
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset magic&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =\"\n\nTEST_3:\"
[?25l[?1c3 more lines[24;13H[K[27m[24m[0m[H[J[1;1H~
Gg
Hh
iI
jJ
Kk
l[1m[34m^M[0ml
m[1m[34m^M[0mm
n[1m[34m^M[0mn
o
o
p[1m[34m^H[0mp
q[7Cq
r\r
scs
t[1m[34m^M[0mt
u
u
v[1m[34m^H[0mv
w\w
TEST_3:
3 more lines[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet y = substitute('aAa', 'A', '\="\\"', '') | $put =y
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Ha\a[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('bBb', 'B', '\="\\\\"', '') | $put =y
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hb\\b[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('cCc', 'C', '\="^[1m[34m^M[0m"', '') | $put =y
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hc[1m[34m^M[0mc[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('dDd', 'D', '\="\\^[1m[34m^M[0m"', '') | $put =y
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hd\[1m[34m^M[0md[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('eEe', 'E', '\="\\\\^[1m[34m^M[0m"', '') | $put =y
[?25l[?1c[1;23r[23;1H
[1;24r[23;1He\\[1m[34m^M[0me[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('fFf', 'F', '\="\\r"', '') | $put =y
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hf\rf[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('jJj', 'J', '\="\\n"', '') | $put =y
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hj\nj[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('kKk', 'K', '\="\r"', '') | $put =y
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hk[1m[34m^M[0mk[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('lLl', 'L', '\="\n"', '') | $put =y
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hl
l[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0c^TEST_4
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[1;1H:let y = substitute('bBb', 'B', '\="\\\\"', '')[9C| $put =y
:let y = substitute('cCc', 'C', '\="[1m[34m^V^M[0m"', '')[9C| $put =y
:let y = substitute('dDd', 'D', '\="\\[1m[34m^V^M[0m"', '')[7C| $put =y
:let y = substitute('eEe', 'E', '\="\\\\[1m[34m^V^M[0m"', '') | $put =y
:let y = substitute('fFf', 'F', '\="\\r"', '')[10C| $put =y
:let y = substitute('jJj', 'J', '\="\\n"', '')[10C| $put =y
:let y = substitute('kKk', 'K', '\="\r"', '')[11C| $put =y
:let y = substitute('lLl', 'L', '\="\n"', '')[11C| $put =y
/^TEST_4
ENDTEST
TEST_4:
STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_4:\"
:let y = substitute('aAa', 'A', '\=substitute(submatch(0), ".", "\\", "")', '')[19;7H| $put =y
:let y = substitute('bBb', 'B', '\=substitute(submatch(0), ".", "\\\\", "")', ''[21;1H) | $put =y
:let y = substitute('cCc', 'C', '\=substitute(submatch(0), ".", "[1m[34m^V^M[0m", "")', ''[23;1H) | $put =y
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H/^STARTTEST
[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H13 lines, 912 characters written[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[15;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[14M[1;24r[10;1H:let y = substitute('dDd', 'D', '\=substitute(submatch(0), ".", "\\[1m[34m^V^M[0m", "")',
'') | $put =y
:let y = substitute('eEe', 'E', '\=substitute(submatch(0), ".", "\\\\[1m[34m^V^M[0m", "")'[13;1H, '') | $put =y
:let y = substitute('fFf', 'F', '\=substitute(submatch(0), ".", "\\r", "")', '')[15;7H| $put =y
:let y = substitute('jJj', 'J', '\=substitute(submatch(0), ".", "\\n", "")', '')[17;7H| $put =y
:let y = substitute('kKk', 'K', '\=substitute(submatch(0), ".", "\r", "")', '')[19;7H| $put =y
:let y = substitute('lLl', 'L', '\=substitute(submatch(0), ".", "\n", "")', '')[21;7H| $put =y
/^TEST_5
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset magic&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =\"\n\nTEST_4:\"
[?25l[?1c3 more lines[24;13H[K[27m[24m[0m[H[J[1;1Hr\r
scs
t[1m[34m^M[0mt
u
u
v[1m[34m^H[0mv
w\w
TEST_3:
a\a
b\\b
c[1m[34m^M[0mc
d\[1m[34m^M[0md
e\\[1m[34m^M[0me
f\rf
j\nj
k[1m[34m^M[0mk
l
l
TEST_4:
3 more lines[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet y = substitute('aAa', 'A', '\=substitute(submatch(0), ".", "\\", "")', '')
| $put =y
[?25l[?1c[1;1H[L[1;1Hscs
t[1m[34m^M[0mt
u[3;2H[K[5;1Hv[1m[34m^H[0mv
w\w[6;4H[K[7;1H[K[9;1HTEST_3:
a\a[10;4H[K[11;1Hb\\b
c[1m[34m^M[0mc
d\[1m[34m^M[0md
e\\[1m[34m^M[0me
f\rf[15;5H[K[16;1Hj\nj
k[1m[34m^M[0mk
l[18;2H[K[20;1H[K[22;1HTEST_4:
a\a[23;4H[K[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('bBb', 'B', '\=substitute(submatch(0), ".", "\\\\", "")', '
[23;80H'[24;1H) | $put =y
[?25l[?1c[1;1H[L[1;1Ht[1m[34m^M[0mt
u[2;2H[K[4;1Hv[1m[34m^H[0mv
w\w[5;4H[K[6;1H[K[8;1HTEST_3:
a\a[9;4H[K[10;1Hb\\b
c[1m[34m^M[0mc
d\[1m[34m^M[0md
e\\[1m[34m^M[0me
f\rf[14;5H[K[15;1Hj\nj
k[1m[34m^M[0mk
l[17;2H[K[19;1H[K[21;1HTEST_4:
a\a[22;4H[K[23;1Hb\b[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('cCc', 'C', '\=substitute(submatch(0), ".", "^[1m[34m^M[0m", "")', '')
| $put =y
[?25l[?1c[1;1H[L[1;1Hu
v[1m[34m^H[0mv
w\w[4;4H[K[5;1H[K[7;1HTEST_3:
a\a[8;4H[K[9;1Hb\\b
c[1m[34m^M[0mc
d\[1m[34m^M[0md
e\\[1m[34m^M[0me
f\rf[13;5H[K[14;1Hj\nj
k[1m[34m^M[0mk
l[16;2H[K[18;1H[K[20;1HTEST_4:
a\a[21;4H[K[22;1Hb\b
c[1m[34m^M[0mc[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('dDd', 'D', '\=substitute(submatch(0), ".", "\\^[1m[34m^M[0m", "")', '
[23;80H'[24;1H) | $put =y
[?25l[?1c[1;1H[L[1;1Hu
v[1m[34m^H[0mv
w\w[3;4H[K[4;1H[K[6;1HTEST_3:
a\a[7;4H[K[8;1Hb\\b
c[1m[34m^M[0mc
d\[1m[34m^M[0md
e\\[1m[34m^M[0me
f\rf[12;5H[K[13;1Hj\nj
k[1m[34m^M[0mk
l[15;2H[K[17;1H[K[19;1HTEST_4:
a\a[20;4H[K[21;1Hb\b
c[1m[34m^M[0mc
d[2Cd[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('eEe', 'E', '\=substitute(submatch(0), ".", "\\\\^[1m[34m^M[0m", "")',
'') | $put =y
[?25l[?1c[1;1H[L[1;1Hv[1m[34m^H[0mv
w\w[2;4H[K[3;1H[K[5;1HTEST_3:
a\a[6;4H[K[7;1Hb\\b
c[1m[34m^M[0mc
d\[1m[34m^M[0md
e\\[1m[34m^M[0me
f\rf[11;5H[K[12;1Hj\nj
k[1m[34m^M[0mk
l[14;2H[K[16;1H[K[18;1HTEST_4:
a\a[19;4H[K[20;1Hb\b
c[1m[34m^M[0mc
d[2Cd
e\[1m[34m^M[0me[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('fFf', 'F', '\=substitute(submatch(0), ".", "\\r", "")', ''
[23;80H)[24;1H | $put =y
[?25l[?1c[1;1H[L[1;1Hw\w[2;1H[K[4;1HTEST_3:
a\a[5;4H[K[6;1Hb\\b
c[1m[34m^M[0mc
d\[1m[34m^M[0md
e\\[1m[34m^M[0me
f\rf[10;5H[K[11;1Hj\nj
k[1m[34m^M[0mk
l[13;2H[K[15;1H[K[17;1HTEST_4:
a\a[18;4H[K[19;1Hb\b
c[1m[34m^M[0mc
d[2Cd
e\[1m[34m^M[0me
f[1m[34m^M[0mf[23;5H[K[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('jJj', 'J', '\=substitute(submatch(0), ".", "\\n", "")', ''
[23;80H)[24;1H | $put =y
[?25l[?1c[1;1H[L[2;1HTEST_3:
a\a
b\\b[4;5H[K[5;1Hc[1m[34m^M[0mc
d\[1m[34m^M[0md
e\\[1m[34m^M[0me
f\rf[8;5H[K[9;1Hj\nj[9;5H[K[10;1Hk[1m[34m^M[0mk
l[11;2H[K[12;1Hl[12;2H[K[13;1H[K[14;1H[K[15;1HTEST_4:
a\a
b\b[17;4H[K[18;1Hc[1m[34m^M[0mc
d[1m[34m^M[0md
e\[1m[34m^M[0me
f[2Cf
j[22;2H[K[23;1Hj[23;2H[K[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('kKk', 'K', '\=substitute(submatch(0), ".", "\r", "")', '')
| $put =y
[?25l[?1c[1;1H[L[1;1HTEST_3:
a\a[2;4H[K[3;1Hb\\b
c[1m[34m^M[0mc
d\[1m[34m^M[0md
e\\[1m[34m^M[0me
f\rf[7;5H[K[8;1Hj\nj
k[1m[34m^M[0mk
l[10;2H[K[12;1H[K[14;1HTEST_4:
a\a[15;4H[K[16;1Hb\b
c[1m[34m^M[0mc
d[2Cd
e\[1m[34m^M[0me
f[1m[34m^M[0mf[20;5H[K[21;1Hj[21;2H[K[23;1Hk[1m[34m^M[0mk[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0clet y = substitute('lLl', 'L', '\=substitute(submatch(0), ".", "\n", "")', '')
| $put =y
[?25l[?1c[1;1H[L[1;1Hb\\b
c[1m[34m^M[0mc
d\[1m[34m^M[0md
e\\[1m[34m^M[0me
f\rf[5;5H[K[6;1Hj\nj[6;5H[K[7;1Hk[1m[34m^M[0mk
l[8;2H[K[9;1Hl[9;2H[K[10;1H[K[11;1H[K[12;1HTEST_4:
a\a
b\b[14;4H[K[15;1Hc[1m[34m^M[0mc
d[1m[34m^M[0md
e\[1m[34m^M[0me
f[2Cf
j[19;2H[K[20;1Hj[20;2H[K[21;1Hk[1m[34m^M[0mk
l
l[23;2H[K[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0c^TEST_5
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[1;1H:let y = substitute('fFf', 'F', '\=substitute(submatch(0), ".", "\\r", "")', '')[2;7H| $put =y
:let y = substitute('jJj', 'J', '\=substitute(submatch(0), ".", "\\n", "")', '')[4;7H| $put =y
:let y = substitute('kKk', 'K', '\=substitute(submatch(0), ".", "\r", "")', '')[6;7H| $put =y
:let y = substitute('lLl', 'L', '\=substitute(submatch(0), ".", "\n", "")', '')[8;7H| $put =y
/^TEST_5
ENDTEST
TEST_5:
STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_5:\"
:$put =substitute('A123456789', 'A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)'[19;1H, '\=submatch(0) . submatch(9) . submatch(8) . submatch(7) . submatch(6) . subma[20;1Htch(5) . submatch(4) . submatch(3) . submatch(2) . submatch(1)', '')
/^TEST_6
ENDTEST
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H/^STARTTEST
[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H5 lines, 283 characters written[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[15;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[22;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset magic&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =\"\n\nTEST_5:\"
[?25l[?1c3 more lines[24;13H[K[27m[24m[0m[H[J[1;1He\\[1m[34m^M[0me
f\rf
j\nj
k[1m[34m^M[0mk
l
l
TEST_4:
a\a
b\b
c[1m[34m^M[0mc
d[1m[34m^M[0md
e\[1m[34m^M[0me
f[1m[34m^M[0mf
j
j
k[1m[34m^M[0mk
l
l
TEST_5:
3 more lines[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =substitute('A123456789', 'A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)
[23;80H'[24;1H, '\=submatch(0) . submatch(9) . submatch(8) . submatch(7) . submatch(6) . subm
[23;80Ha[24;1Htch(5) . submatch(4) . submatch(3) . submatch(2) . submatch(1)', '')
[?25l[?1c[1;1H[2L[1;1Hf\rf
j\nj
k[1m[34m^M[0mk
l[4;2H[K[6;1H[K[8;1HTEST_4:
a\a[9;4H[K[10;1Hb\b
c[1m[34m^M[0mc
d[2Cd
e\[1m[34m^M[0me
f[1m[34m^M[0mf[14;5H[K[15;1Hj[15;2H[K[17;1Hk[1m[34m^M[0mk
l[18;2H[K[20;1H[K[22;1HTEST_5:
A123456789987654321[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0c^TEST_6
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[2;1HSTARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_5:\"
:$put =substitute('A123456789', 'A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)'[7;1H, '\=submatch(0) . submatch(9) . submatch(8) . submatch(7) . submatch(6) . subma[8;1Htch(5) . submatch(4) . submatch(3) . submatch(2) . submatch(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
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H/^STARTTEST
[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H9 lines, 216 characters written[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[15;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[23;1H
[1;24r[23;1HENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset magic&
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =\"\n\nTEST_6:\"
[?25l[?1c3 more lines[24;13H[K[27m[24m[0m[H[J[1;1Hl
l
TEST_4:
a\a
b\b
c[1m[34m^M[0mc
d[1m[34m^M[0md
e\[1m[34m^M[0me
f[1m[34m^M[0mf
j
j
k[1m[34m^M[0mk
l
l
TEST_5:
A123456789987654321
TEST_6:
3 more lines[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo+=/
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =substitute('A', 'A', 'a', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Ha[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('B', 'B', '%', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H%[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset cpo-=/
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =substitute('C', 'C', 'c', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hc[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute('D', 'D', '%', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1H%[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0c^TEST_7
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[1;1H: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[1m[34m^V^M[0mA', 'A.', '\=submatch(0)', '')
:$put =substitute(\"B\nB\", 'B.', '\=submatch(0)', '')
/^TEST_8
ENDTEST
TEST_8:
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H/^STARTTEST
[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H6 lines, 162 characters written[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[15;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[21;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset magic&
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo&
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =\"\n\nTEST_7:\"
[?25l[?1c3 more lines[24;13H[K[27m[24m[0m[H[J[1;1Hc[1m[34m^M[0mc
d[1m[34m^M[0md
e\[1m[34m^M[0me
f[1m[34m^M[0mf
j
j
k[1m[34m^M[0mk
l
l
TEST_5:
A123456789987654321
TEST_6:
a
%
c
%
TEST_7:
3 more lines[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put =substitute('A^[1m[34m^M[0mA', 'A.', '\=submatch(0)', '')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1HA[1m[34m^M[0mA[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c$put =substitute(\"B\nB\", 'B.', '\=submatch(0)', '')
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1HB
B[24;1H[K[23;1H[?25h[?0c[?25l[?1c
/[?25h[?0c^TEST_8
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[27m[24m[0m[H[J[1;1HTEST_7:
STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_7:\"
:$put =substitute('A[1m[34m^V^M[0mA', 'A.', '\=submatch(0)', '')
:$put =substitute(\"B\nB\", 'B.', '\=submatch(0)', '')
/^TEST_8
ENDTEST
TEST_8:
STARTTEST
:/^Results/,$wq! test.out
ENDTEST
Results of test72:
TEST_1:
AA
&
[1m[31msearch hit BOTTOM, continuing at TOP[12;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H/^STARTTEST
[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H1 line, 26 characters written[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[15;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[16;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[17;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^Results/,$wq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 101 lines, 392 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test81.in" 22 lines, 308 characters[1;1HTest 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
[1m[34m~ [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for t movement command and 'cpo-;' setting[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 10 lines, 143 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[14;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:so! Xdotest
[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset nocompatible viminfo+=nviminfo
[?25l[?1c[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo-=;
[?25l[?1c[15;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H/[?25h[?0cfirstline/
[?25l[?1c[24;11H[K[24;1H[16;1H[?25h[?0c
aaa two[?25l[?1c[17;9H[K[17;7H[?25h[?0c[18;7H
z[?25l[?1c[18;6H[K[18;5H[?25h[?0c
yyy [?25l[?1c[19;2H[K[19;1H[?25h[?0c
[15C[?25l[?1c[20;6H[K[20;5H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cpo+=;
[?25l[?1c[20;5H[?25h[?0c
ccc
ccc[?25l[?1c[21;5H[K[21;3H[?25h[?0c
dd[13C[?25l[?1c[22;10H[K[22;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c?firstline?+1,$w! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New] 6L, 36C written[22;9H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test82.in" 93 lines, 3014 characters[1;1HTests for case-insensitive UTF-8 comparisons (utf_strnicmp() in mbyte.c)
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, a[16;1H:b, a:expected))
: else
: let b:passed += 1
: endif
:endfunction
:
:function! Chk(a, b, result)
: if a:result == 0[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for case-insensitive UTF-8 comparisons (utf_strnicmp() in mbyte.c)[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 88 lines, 2921 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:call EQ('Abc\x80', 'AbC\x80')
:call LT('Abc\x80', 'AbC\x81')
:call LT('Abc', 'AbC\x80')
:call LT('abc\x80DEF', 'abc\x80def') " case folding stops at the first bad char[5;1Hacter
:call LT('\xc3XYZ', '\xc3xyz')
:call EQ('\xef\xbc\xba', '\xef\xbd\x9a') " FF3A (upper), FF5A (lower)
:call GT('\xef\xbc\xba', '\xef\xbc\xff') " first string is ok and equals \xef\x[9;1Hbd\x9a after folding, second string is illegal and was left unchanged, then the
strings were bytewise compared
: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%.2[14;1HX', n)) | endfor
:for n in range(0x80, 0xBF) | call EQ(printf('xYz\xc2\x%.2XUvW', n), printf('XyZ[16;1H\xc2\x%.2XuVw', n)) | endfor
:for n in range(0xC0, 0xFF) | call LT(printf('xYz\xc2\x%.2XUvW', n), printf('XyZ[18;1H\xc2\x%.2XuVw', n)) | endfor
:call append(0, printf('%d checks passed', b:passed))
:wq! test.out
ENDTEST
[1m[34m~ [21;1H[?25h[?0c
[?25l[?1c
[0m:so! Xdotest
[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cif !has("multi_byte")
[?25l[?1c
: [?25h[?0c: e! test.ok
[?25l[?1c: [?25h[?0c: w! test.out
[?25l[?1c: [?25h[?0c: qa!
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1H:call EQ('Abc\x80', 'AbC\x80')
:call LT('Abc\x80', 'AbC\x81')
:call LT('Abc', 'AbC\x80')
:call LT('abc\x80DEF', 'abc\x80def') " case folding stops at the first bad char[24;1H[K[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset enc=utf8
[?25l[?1c[27m[24m[0m[H[J[1;1H:call EQ('Abc\x80', 'AbC\x80')
:call LT('Abc\x80', 'AbC\x81')
:call LT('Abc', 'AbC\x80')
:call LT('abc\x80DEF', 'abc\x80def') " case folding stops at the first bad char[5;1Hacter
:call LT('\xc3XYZ', '\xc3xyz')
:call EQ('\xef\xbc\xba', '\xef\xbd\x9a') " FF3A (upper), FF5A (lower)
:call GT('\xef\xbc\xba', '\xef\xbc\xff') " first string is ok and equals \xef\x[9;1Hbd\x9a after folding, second string is illegal and was left unchanged, then the
strings were bytewise compared
: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%.2[14;1HX', n)) | endfor
:for n in range(0x80, 0xBF) | call EQ(printf('xYz\xc2\x%.2XUvW', n), printf('XyZ[16;1H\xc2\x%.2XuVw', n)) | endfor
:for n in range(0xC0, 0xFF) | call LT(printf('xYz\xc2\x%.2XUvW', n), printf('XyZ[18;1H\xc2\x%.2XuVw', n)) | endfor
:call append(0, printf('%d checks passed', b:passed))
:wq! test.out
ENDTEST
[1m[34m~ [22;1H[?25h[?0c[?25l[?1c[27m[24m[0m[H[J[1;1HTests for case-insensitive UTF-8 comparisons (utf_strnicmp() in mbyte.c)
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, a[16;1H:b, a:expected))
: else
: let b:passed += 1
: endif
:endfunction
:
:function! Chk(a, b, result)
: if a:result == 0[1;1H[?25h[?0c[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H--No lines in buffer--[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction! Ch(a, op, b, expected)
[?25l[?1c
: [?25h[?0c: if eval(printf('"%s" %s "%s"', a:a, a:op, a:b)) != a:expected
[?25l[?1c: [?25h[?0c: call append(line('$'), printf('"%s" %s "%s" should return %d', a:a, a
[23;80H:[24;1Hop, a:b, a:expected))
[?25l[?1c: [?25h[?0c: else
[?25l[?1c: [?25h[?0c: let b:passed += 1
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c:endfunction
[1;1H[7L[?25l[?1c[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction! Chk(a, b, result)
[?25l[?1c
: [?25h[?0c: if a:result == 0
[?25l[?1c: [?25h[?0c: call Ch(a:a, '==?', a:b, 1)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '!=?', a:b, 0)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '<=?', a:b, 1)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '>=?', a:b, 1)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '<?', a:b, 0)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '>?', a:b, 0)
[?25l[?1c: [?25h[?0c: elseif a:result > 0
[?25l[?1c: [?25h[?0c: call Ch(a:a, '==?', a:b, 0)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '!=?', a:b, 1)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '<=?', a:b, 0)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '>=?', a:b, 1)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '<?', a:b, 0)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '>?', a:b, 1)
[?25l[?1c: [?25h[?0c: else
[?25l[?1c: [?25h[?0c: call Ch(a:a, '==?', a:b, 0)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '!=?', a:b, 1)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '<=?', a:b, 1)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '>=?', a:b, 0)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '<?', a:b, 1)
[?25l[?1c: [?25h[?0c: call Ch(a:a, '>?', a:b, 0)
[?25l[?1c: [?25h[?0c: endif
[?25l[?1c: [?25h[?0c:endfunction
[27m[24m[0m[H[J[?25l[?1c[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0c[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction! Check(a, b, result)
[?25l[?1c
: [?25h[?0c: call Chk(a:a, a:b, a:result)
[?25l[?1c: [?25h[?0c: call Chk(a:b, a:a, -a:result)
[?25l[?1c: [?25h[?0c:endfunction
[1;1H[3L[?25l[?1c[2;1H[1m[34m~ [3;1H~ [0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction! LT(a, b)
[?25l[?1c
: [?25h[?0c: call Check(a:a, a:b, -1)
[?25l[?1c: [?25h[?0c:endfunction
[1;1H[2L[?25l[?1c[2;1H[1m[34m~ [0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction! GT(a, b)
[?25l[?1c
: [?25h[?0c: call Check(a:a, a:b, 1)
[?25l[?1c: [?25h[?0c:endfunction
[1;1H[2L[?25l[?1c[2;1H[1m[34m~ [0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction! EQ(a, b)
[?25l[?1c
: [?25h[?0c: call Check(a:a, a:b, 0)
[?25l[?1c: [?25h[?0c:endfunction
[1;1H[2L[?25l[?1c[2;1H[1m[34m~ [0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet b:passed=0
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall EQ('', '')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall LT('', 'a')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall EQ('abc', 'abc')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall EQ('Abc', 'abC')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall LT('ab', 'abc')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall LT('AB', 'abc')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall LT('ab', 'aBc')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall EQ('\xd0\xb9\xd1\x86\xd1\x83\xd0\xba\xd0\xb5\xd0\xbd', '\xd0\xb9\xd0\xa6\
[23;80Hx[24;1Hd0\xa3\xd0\xba\xd0\x95\xd0\xbd')
[?25l[?1c[1;1H[L[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccall LT('\xd0\xb9\xd1\x86\xd1\x83\xd0\xba\xd0\xb5\xd0\xbd', '\xd0\xaf\xd1\x86\
[23;80Hx[24;1Hd1\x83\xd0\xba\xd0\xb5\xd0\xbd')
[?25l[?1c[1;1H[L[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccall EQ('\xe2\x84\xaa', 'k')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall LT('\xe2\x84\xaa', 'kkkkkk')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall EQ('\xe2\x84\xaa\xe2\x84\xaa\xe2\x84\xaa', 'kkk')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall LT('kk', '\xe2\x84\xaa\xe2\x84\xaa\xe2\x84\xaa')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall EQ('\xe2\x84\xaa\xe2\x84\xa6k\xe2\x84\xaak\xcf\x89', 'k\xcf\x89\xe2\x84\x
[23;80Ha[24;1Hakk\xe2\x84\xa6')
[?25l[?1c[1;1H[L[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccall EQ('Abc\x80', 'AbC\x80')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall LT('Abc\x80', 'AbC\x81')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall LT('Abc', 'AbC\x80')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall LT('abc\x80DEF', 'abc\x80def') " case folding stops at the first bad cha
[23;80Hr[24;1Hacter
[?25l[?1c[1;1H[L[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccall LT('\xc3XYZ', '\xc3xyz')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall EQ('\xef\xbc\xba', '\xef\xbd\x9a') " FF3A (upper), FF5A (lower)
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall GT('\xef\xbc\xba', '\xef\xbc\xff') " first string is ok and equals \xef\
[23;80Hx[24;1Hbd\x9a after folding, second string is illegal and was left unchanged, then the
strings were bytewise compared
[?25l[?1c[1;1H[2L[2;1H[1m[34m~ [0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccall LT('\xc3', '\xc3\x83')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall EQ('\xc3\xa3xYz', '\xc3\x83XyZ')
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfor n in range(0x60, 0xFF) | call LT(printf('xYz\x%.2X', n-1), printf('XyZ\x%.
[23;80H2[24;1HX', n)) | endfor
[?25l[?1c[1;1H[L[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cfor n in range(0x80, 0xBF) | call EQ(printf('xYz\xc2\x%.2XUvW', n), printf('Xy
[23;80HZ[24;1H\xc2\x%.2XuVw', n)) | endfor
[?25l[?1c[1;1H[L[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cfor n in range(0xC0, 0xFF) | call LT(printf('xYz\xc2\x%.2XUvW', n), printf('Xy
[23;80HZ[24;1H\xc2\x%.2XuVw', n)) | endfor
[?25l[?1c[1;1H[L[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0ccall append(0, printf('%d checks passed', b:passed))
[?25l[?1c[1;23r[1;1H[L[1;24r[1;1H3732 checks passed[24;1H[K[2;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cwq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 2 lines, 20 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test83.in" 76 lines, 1265 characters[1;1HTests 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for tag search with !_TAG_FILE_ENCODING.[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 58 lines, 1013 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H: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[12;1H[?25h[?0c
[?25l[?1c[24;1H:so! Xdotest
[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso mbyte.vim
[?25l[?1c[13;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset enc=utf8
[?25l[?1c[27m[24m[0m[H[J[1;1H: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[13;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cif !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"
[?25l[?1c
: [?25h[?0c: e! test.ok
[?25l[?1c: [?25h[?0c: w! test.out
[?25l[?1c: [?25h[?0c: qa!
[?25l[?1c: [?25h[?0c:endif
[1;1H[4L[?25l[?1c[1;1H:tag abc50
:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'
: close
: put ='case3: failed'[24;1H[K[13;1H[?25h[?0c
[?25l[?1c[24;1H:[?25h[?0c/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m[24;37H[K[24;1H"Xtags1.txt" [24;14H[K[24;14H[New File] 2 lines, 35 characters written[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt
[?25l[?1c"Xtags2.txt" [24;14H[K[24;14H[New File] 2 lines, 25 characters written[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt
[?25l[?1c"Xtags3.txt" [24;14H[K[24;14H[New File] 2 lines, 25 characters written[14;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^tags1$/+1,/^tags1-end$/-1w! Xtags1
[?25l[?1c"Xtags1" [24;10H[K[24;10H[New File] 2 lines, 81 characters written[14;1H[?25h[?0c
[?25l[?1c[27m[24m[0m[H[J[1;1HTests 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[1;1H[?25h[?0c[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [0m[24;1H--No lines in buffer--[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall setline('.', 'Results of test83')
[?25l[?1c[1;1HResults of test83
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c" case1:
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[1;1H[K[12;1H[1m[7m[No Name] [0m[13;1HResults of test83[13;18H[K[23;1H[7mtest83.in [+] [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset tags=Xtags1
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet v:errmsg = ''
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ctag abcdefghijklmnopqrs
[?25l[?1c"Xtags1.txt" [24;14H[K[24;14H2 lines, 35 characters[1;1Htext for tags1
abcdefghijklmnopqrs[2;20H[K[12;1H[1m[7mXtags1.txt[2;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cif v:errmsg =~ 'E426:' || getline('.') != 'abcdefghijklmnopqrs'
[?25l[?1c
: [?25h[?0c: close
[?25l[?1c: [?25h[?0c: put ='case1: failed'
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: close
[?25l[?1c: [?25h[?0c: put ='case1: ok'
[?25l[?1c: [?25h[?0c:endif
[1;1H[6L[?25l[?1c[1;1HResults of test83
case1: ok
[1m[34m~ [4;1H~ [5;1H~ [6;1H~ [12;1H~ [13;1H~ [23;1H~ [0m[24;1H[K[2;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c" case2:
[?25l[?1c[2;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [0m[12;1H[1m[7m[No Name] [0m[13;1Hcase1: ok[13;10H[K[23;1H[7mtest83.in [+] [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset tags=test83-tags2
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet v:errmsg = ''
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ctag /.BC
[?25l[?1c"Xtags2.txt" 2 lines, 25 characters[1;1Htext for tags2
ABC[2;7H[K[12;1H[1m[7mXtags2.txt[2;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l[?1c
: [?25h[?0c: close
[?25l[?1c: [?25h[?0c: put ='case2: failed'
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: close
[?25l[?1c: [?25h[?0c: put ='case2: ok'
[?25l[?1c: [?25h[?0c:endif
[1;1H[6L[?25l[?1c[1;1HResults of test83
case1: ok
case2: ok
[1m[34m~ [5;1H~ [6;1H~ [12;1H~ [13;1H~ [23;1H~ [0m[24;1H[K[3;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c" case3:
[?25l[?1c[3;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [0m[12;1H[1m[7m[No Name] [0m[13;1Hcase1: ok[13;10H[K[14;1Hcase2: ok[14;10H[K[23;1H[7mtest83.in [+] [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cset tags=test83-tags3
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet v:errmsg = ''
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ctag abc50
[?25l[?1c"Xtags3.txt" 2 lines, 25 characters[1;1Htext for tags3
ABC[2;7H[K[12;1H[1m[7mXtags3.txt[2;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l[?1c
: [?25h[?0c: close
[?25l[?1c: [?25h[?0c: put ='case3: failed'
[?25l[?1c: [?25h[?0c:else
[?25l[?1c: [?25h[?0c: close
[?25l[?1c: [?25h[?0c: put ='case3: ok'
[?25l[?1c: [?25h[?0c:endif
[1;1H[6L[?25l[?1c[1;1HResults of test83
case1: ok
case2: ok
case3: ok
[1m[34m~ [6;1H~ [12;1H~ [13;1H~ [14;1H~ [23;1H~ [0m[24;1H[K[4;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cclose
[?25l[?1c[1m[37m[41mE37: No write since last change (add ! to override)[4;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cwq! test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 4 lines, 48 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test84.in" 35 lines, 786 characters[1;1HTests 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[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTests for curswant not changing when setting an option[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 25 lines, 637 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[6M[1;24r[18;1H:put =map(copy(result), 'join(v:val, '' '')')
:1 delete _
:write test.out
:
:qall!
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^start target options$/+1,/^end target options$/-1 yank
[?25l[?1c3 lines yanked[24;15H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0clet target_option_names = split(@0)
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction TestCurswant(option_name)
[?25l[?1c
: [?25h[?0c: normal! ggf8j
[?25l[?1c: [?25h[?0c: let curswant_before = winsaveview().curswant
[?25l[?1c: [?25h[?0c: execute 'let' '&'.a:option_name '=' '&'.a:option_name
[?25l[?1c: [?25h[?0c: let curswant_after = winsaveview().curswant
[?25l[?1c: [?25h[?0c: return [a:option_name, curswant_before, curswant_after]
[?25l[?1c: [?25h[?0c:endfunction
[1;1H[6L[?25l[?1c[1;1H: 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[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[1;1H[K[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [0m[12;1H[1m[7m[No Name] [0m[13;2Hendfor[13;9H[K[14;2H[K[15;2Hnew
:put =map(copy(result), 'join(v:val, '' '')')
:1 delete _[17;12H[K[18;2Hwrite test.out[19;2H[K[20;2Hqall!
ENDTEST[22;1H[K[23;1H[7mtest84.in [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0cput =['1234567890', '12345']
[?25l[?1c[2;1H1234567890[2;11H[K[3;1H12345[3;6H[K[12;11H[1m[7m[+][3;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c1 delete _
[?25l[?1c[1;11r[11;1H
[1;24r[11;1H[1m[34m~ [0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0clet result = []
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfor option_name in target_option_names
[?25l[?1c
: [?25h[?0c: call add(result, TestCurswant(option_name))
[?25l[?1c: [?25h[?0c:endfor
[1;1H[2L[?25l[?1c[1;1H1234567890
12345[24;1H[K[2;5H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0c[?25l[?1c[2;5H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cnew
[?25l[?1c[27m[24m[0m[H[J[2;1H[1m[34m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [0m[8;1H[1m[7m[No Name] [0m[9;1H12345
[1m[34m~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [0m[16;1H[7m[No Name] [+] [0m[17;1H:1 delete _
:write test.out
:
:qall!
ENDTEST
[7mtest84.in [1;1H[?25h[?0c[?25l[?1c[24;1H[0m:[?25h[?0cput =map(copy(result), 'join(v:val, '' '')')
[?25l[?1c3 more lines[24;13H[K[2;1Htabstop 7 4[2;12H[K[3;1Htimeoutlen 7 7[3;15H[K[4;1Httimeoutlen 7 7[4;16H[K[8;11H[1m[7m[+][4;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c1 delete _
[?25l[?1c[1;7r[7;1H
[1;24r[7;1H[1m[34m~ [0m[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H:[?25h[?0cwrite test.out
[?25l[?1c"test.out" [24;12H[K[24;12H[New File] 3 lines, 43 characters written[8;1H[1m[7mtest.out [1;1H[?25h[?0c[?25l[?1c[0m[24;1H[K[24;1H:[?25h[?0c[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqall!
[?25l[?1c[?25h[?0c[24;1H[K[24;1Hrm -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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test85.in" 42 lines, 1003 characters[1;1HTest 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)[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for Lua interface and luaeval() function[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 34 lines, 910 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[1;23r[1;1H[15M[1;24r[9;1H:" dictionary containing a list
:let tmp = luaeval("h").list[1]
:/^2/put =tmp
:" circular list (at the same time test lists containing lists)
:lua l[2] = l
:let l2 = luaeval("h").list
:if l2[2] == l2
:let res = "OK"
:else
:let res = "FAILED"
:endif
:call setline(search("^3"), "circular test " . res)
:?^1?,$w! test.out
:qa!
ENDTEST[24;1H[K[23;1H[?25h[?0c[?25l[?1c[1;23r[23;1H
[1;24r[23;1H[?25h[?0c[?25l[?1c
:so! Xdotest
[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso lua.vim
[?25l[?1c"test.ok" [24;11H[K[24;11H5 lines, 82 characters
"test.out" [New File] 5 lines, 82 characters written
[?25h[?0c
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
../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
[1;24r[?25h[?8c[?25h[?0c[27m[24m[0m[H[J[?25l[?1c[24;1H"test_options.in" 62 lines, 1832 characters[1;1HTest for ":options".
STARTTEST
:so small.vim
: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
:$put ='ft valid_name? '.(&ft == 'valid_name')
:set ft=valid-name
:$put ='ft valid-name? '.(&ft == 'valid-name')
:"
:call TrySet('ft', 'wrong;name', 'E474:')
:call TrySet('ft', 'wrong\\name', 'E474:')
:call TrySet('ft', 'wrong\|name', 'E474:')
:call TrySet('ft', 'wrong/name', 'E474:')[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset cp
[?25l[?1c[1;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cmap dotest /^STARTTEST^[1m[34m^M[0mj:set ff=unix cpo-=A^[1m[34m^M[0m:.,/ENDTEST/-1w! Xdotest^[1m[34m^M[0m:set f
[23;80Hf[24;1H& cpo+=A^[1m[34m^M[0mnj0:so! Xdotest^[1m[34m^M[0mdotest
[?25l[?1c[1;1H[L[1;1HTest for ":options".[24;1H[K[1;1H[?25h[?0c[?25l[?1c[24;1H/^STARTTEST
[3;1H[?25h[?0c
[?25l[?1c[24;1H[K[24;1H:set ff=unix cpo-=A
[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:.,/ENDTEST/-1w! Xdotest
"Xdotest" [24;11H[K[24;11H[New File] 56 lines, 1784 characters written[4;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:set ff& cpo+=A
[4;1H[?25h[?0c[?25l[?1c[24;1H/ENDTEST[24;10H[K[24;1H[27m[24m[0m[H[J[1;1H:"
:$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[21;1H[?25h[?0c
[?25l[?1c
:so! Xdotest
[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cso small.vim
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cfunction! TrySet(opt, val, exc)
[?25l[?1c
: [?25h[?0c :let caught = 'ok'
[?25l[?1c: [?25h[?0c :try
[?25l[?1c: [?25h[?0c :exe 'set '.a:opt.'='.a:val
[?25l[?1c: [?25h[?0c :catch
[?25l[?1c: [?25h[?0c :let caught = v:exception
[?25l[?1c: [?25h[?0c :endtry
[?25l[?1c: [?25h[?0c :$put =a:val.' exception? '.(caught =~ a:exc)
[?25l[?1c: [?25h[?0c:endfunction
[1;1H[8L[?25l[?1c[1;1H:"
:$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:')[24;1H[K[22;1H[?25h[?0c[?25l[?1c
:[?25h[?0c " Test filetype valid
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset ft=valid_name
[?25l[?1c[22;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put ='ft valid_name? '.(&ft == 'valid_name')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hft valid_name? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset ft=valid-name
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put ='ft valid-name? '.(&ft == 'valid-name')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hft valid-name? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TrySet('ft', 'wrong;name', 'E474:')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hwrong;name exception? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall TrySet('ft', 'wrong\\name', 'E474:')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hwrong\\name exception? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall TrySet('ft', 'wrong\|name', 'E474:')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hwrong\|name exception? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall TrySet('ft', 'wrong/name', 'E474:')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hwrong/name exception? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall TrySet('ft', "wrong\\\nname", 'E474:')
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hwrong\
name exception? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put ='ft valid-name? '.(&ft == 'valid-name')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hft valid-name? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cexe "set ft=trunc\x00name"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put ='ft trunc? '.(&filetype == 'trunc')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hft trunc? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c " Test syntax valid
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cset syn=valid_name
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put ='syn valid_name? '.('valid_name' == &syntax)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hsyn valid_name? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cset syn=valid-name
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put ='syn valid-name? '.('valid-name' == &syntax)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hsyn valid-name? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TrySet('syn', 'wrong;name', 'E474:')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hwrong;name exception? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall TrySet('syn', "wrong\\\\name", 'E474:')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hwrong\\name exception? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall TrySet('syn', "wrong\\|name", 'E474:')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hwrong\|name exception? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall TrySet('syn', "wrong/name", 'E474:')
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hwrong/name exception? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0ccall TrySet('syn', "wrong\\\nname", 'E474:')
[?25l[?1c[1;23r[1;1H[2M[1;24r[22;1Hwrong\
name exception? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put ='syn valid-name? '.('valid-name' == &syntax)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hsyn valid-name? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0cexe "set syn=trunc\x00name"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c$put ='syn trunc? '.('trunc' == &syntax)
[?25l[?1c[1;23r[23;1H
[1;24r[23;1Hsyn trunc? 1[24;1H[K[23;1H[?25h[?0c[?25l[?1c
:[?25h[?0c " Test keymap valid
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TrySet('kmp', "valid_name", 'E544:')
[?25l[?1c[1;1H[K[2;1Hresult
ft valid_name? 1[4;9H-
wrong;name exception? 1[6;6H\\name exception? 1[7;7H|[8;6H/name exception? 1[8;24H[K[9;6H\[9;7H[K[10;1Hname exception? 1
ft valid-name? 1[11;17H[K[12;4Htrunc? 1[12;12H[K[13;1Hsyn valid_name? 1[14;10H-
wrong;name exception? 1[16;6H\\name exception? 1[17;7H|[18;6H/name exception? 1[18;24H[K[19;6H\[19;7H[K[20;1Hname exception? 1
syn valid-name
syn trunc? 1[22;13H[K[23;1Hvalid_name exception? 1
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TrySet('kmp', "valid_name", 'valid_name')
[?25l[?1c[1;1Hresult
ft valid_name? 1[3;9H-
wrong;name exception? 1[5;6H\\name exception? 1[6;7H|[7;6H/name exception? 1[7;24H[K[8;6H\[8;7H[K[9;1Hname exception? 1
ft valid-name? 1[10;17H[K[11;4Htrunc? 1[11;12H[K[12;1Hsyn valid_name? 1[13;10H-
wrong;name exception? 1[15;6H\\name exception? 1[16;7H|[17;6H/name exception? 1[17;24H[K[18;6H\[18;7H[K[19;1Hname exception? 1
syn valid-name
syn trunc? 1[21;13H[K[22;1Hvalid_name exception? 1
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TrySet('kmp', "valid-name", 'E544:')
[?25l[?1c[1;1Hft valid_name? 1[2;9H-
wrong;name exception? 1[4;6H\\name exception? 1[5;7H|[6;6H/name exception? 1[6;24H[K[7;6H\[7;7H[K[8;1Hname exception? 1
ft valid-name? 1[9;17H[K[10;4Htrunc? 1[10;12H[K[11;1Hsyn valid_name? 1[12;10H-
wrong;name exception? 1[14;6H\\name exception? 1[15;7H|[16;6H/name exception? 1[16;24H[K[17;6H\[17;7H[K[18;1Hname exception? 1
syn valid-name
syn trunc? 1[20;13H[K[21;1Hvalid_name exception? 1[23;6H-
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TrySet('kmp', "valid-name", 'valid-name')
[?25l[?1c[1;9H-
wrong;name exception? 1[3;6H\\name exception? 1[4;7H|[5;6H/name exception? 1[5;24H[K[6;6H\[6;7H[K[7;1Hname exception? 1
ft valid-name? 1[8;17H[K[9;4Htrunc? 1[9;12H[K[10;1Hsyn valid_name? 1[11;10H-
wrong;name exception? 1[13;6H\\name exception? 1[14;7H|[15;6H/name exception? 1[15;24H[K[16;6H\[16;7H[K[17;1Hname exception? 1
syn valid-name
syn trunc? 1[19;13H[K[20;1Hvalid_name exception? 1[22;6H-
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TrySet('kmp', "wrong;name", 'E474:')
[?25l[?1c[1;1Hwrong;name exception? 1[2;6H\\name exception? 1[3;7H|[4;6H/name exception? 1[4;24H[K[5;6H\[5;7H[K[6;1Hname exception? 1
ft valid-name? 1[7;17H[K[8;4Htrunc? 1[8;12H[K[9;1Hsyn valid_name? 1[10;10H-
wrong;name exception? 1[12;6H\\name exception? 1[13;7H|[14;6H/name exception? 1[14;24H[K[15;6H\[15;7H[K[16;1Hname exception? 1
syn valid-name
syn trunc? 1[18;13H[K[19;1Hvalid_name exception? 1[21;6H-
wrong;
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TrySet('kmp', "wrong\\\\name", 'E474:')
[?25l[?1c[1;6H\\name exception? 1[2;7H|[3;6H/name exception? 1[3;24H[K[4;6H\[4;7H[K[5;1Hname exception? 1
ft valid-name? 1[6;17H[K[7;4Htrunc? 1[7;12H[K[8;1Hsyn valid_name? 1[9;10H-
wrong;name exception? 1[11;6H\\name exception? 1[12;7H|[13;6H/name exception? 1[13;24H[K[14;6H\[14;7H[K[15;1Hname exception? 1
syn valid-name
syn trunc? 1[17;13H[K[18;1Hvalid_name exception? 1[20;6H-
wrong;[23;6H\\name exception? 1
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TrySet('kmp', "wrong\\|name", 'E474:')
[?25l[?1c[1;7H|[2;6H/name exception? 1[2;24H[K[3;6H\[3;7H[K[4;1Hname exception? 1
ft valid-name? 1[5;17H[K[6;4Htrunc? 1[6;12H[K[7;1Hsyn valid_name? 1[8;10H-
wrong;name exception? 1[10;6H\\name exception? 1[11;7H|[12;6H/name exception? 1[12;24H[K[13;6H\[13;7H[K[14;1Hname exception? 1
syn valid-name
syn trunc? 1[16;13H[K[17;1Hvalid_name exception? 1[19;6H-
wrong;[22;6H\\name exception? 1[23;7H|
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TrySet('kmp', "wrong/name", 'E474:')
[?25l[?1c[1;6H/name exception? 1[1;24H[K[2;6H\[2;7H[K[3;1Hname exception? 1
ft valid-name? 1[4;17H[K[5;4Htrunc? 1[5;12H[K[6;1Hsyn valid_name? 1[7;10H-
wrong;name exception? 1[9;6H\\name exception? 1[10;7H|[11;6H/name exception? 1[11;24H[K[12;6H\[12;7H[K[13;1Hname exception? 1
syn valid-name
syn trunc? 1[15;13H[K[16;1Hvalid_name exception? 1[18;6H-
wrong;[21;6H\\name exception? 1[22;7H|[23;6H/name exception? 1[23;24H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TrySet('kmp', "wrong\\\nname", 'E474:')
[?25l[?1c[1;1Hname exception? 1[1;18H[K[2;1Hft valid-name? 1
ft trunc? 1[3;12H[K[4;1Hsyn valid_name? 1
syn valid-name? 1
wrong;name exception? 1
wrong\\name exception? 1[8;6H\|name exception? 1[9;6H/name exception? 1[9;24H[K[10;7H[K[11;1Hname exception? 1[11;18H[K[12;1Hsyn valid-name? 1
syn trunc? 1[13;13H[K[14;1Hvalid_name exception? 1
valid_name exception? 1[16;6H-[17;6H-
wrong;
wrong\\name exception? 1[20;6H\|name exception? 1[21;6H/name exception? 1[21;24H[K[22;7H[K[23;1Hname exception? 1[23;18H[K[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c"
[?25l[?1c[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TrySet('kmp', "trunc\x00name", 'E544:')
[?25l[?1c[1;1Hft valid-name? 1[1;17H[K[2;4Htrunc? 1[2;12H[K[3;1Hsyn valid_name? 1[4;10H-
wrong;name exception? 1[6;6H\\name exception? 1[7;7H|[8;6H/name exception? 1[8;24H[K[9;6H\[9;7H[K[10;1Hname exception? 1
syn valid-name
syn trunc? 1[12;13H[K[13;1Hvalid_name exception? 1[15;6H-
wrong;[18;6H\\name exception? 1[19;7H|[20;6H/name exception? 1[20;24H[K[21;6H\[21;7H[K[22;1Hname exception? 1
trunc exception? 1
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0ccall TrySet('kmp', "trunc\x00name", 'trunc')
[?25l[?1c[1;4Htrunc? 1[1;12H[K[2;1Hsyn valid_name? 1[3;10H-
wrong;name exception? 1[5;6H\\name exception? 1[6;7H|[7;6H/name exception? 1[7;24H[K[8;6H\[8;7H[K[9;1Hname exception? 1
syn valid-name
syn trunc? 1[11;13H[K[12;1Hvalid_name exception? 1[14;6H-
wrong;[17;6H\\name exception? 1[18;7H|[19;6H/name exception? 1[19;24H[K[20;6H\[20;7H[K[21;1Hname exception? 1
trunc exception? 1
[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0c/^result/,$w! test.out
[?25l[?1c[1m[31msearch hit BOTTOM, continuing at TOP[0m
"test.out" [24;12H[K[24;12H[New File] 33 lines, 640 characters written[23;1H[?25h[?0c[?25l[?1c[24;1H[K[24;1H:[?25h[?0cqa!
[?25l[?1c[?25h[?0c[24;1H[K[24;1H
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 -fstack-protector --param=ssp-buffer-size=4 -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 -fstack-protector --param=ssp-buffer-size=4 -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 -Wl,-z,relro -Wl,--as-needed -o memfile_test objects/buffer.o objects/blowfish.o objects/charset.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
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
# DEBIAN INSTALLATION
# Use UTF-8 manpages for all languages and install them simply into
# man/ang
rm -rf /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.ISO8859-1 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr
rm -rf /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.ISO8859-1 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it
rm -rf /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.ISO8859-2 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl
rm -rf /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.KOI8-R
mv /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr.UTF-8 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/fr
mv /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it.UTF-8 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it
mv /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl.UTF-8 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pl
mv /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru.UTF-8 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ru
# 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.3" \
-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; 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; 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
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; 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; 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.3.547-7+deb7u3_armhf.deb'.
dpkg-deb: building package `vim-common' in `../vim-common_7.3.547-7+deb7u3_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.3.547-7+deb7u3_armhf.deb'.
dpkg-genchanges -B -mRaspbian nitrogen6x test autobuilder <root@raspbian.org> >../vim_7.3.547-7+deb7u3_armhf.changes
dpkg-genchanges: arch-specific upload - not including arch-independent packages
dpkg-genchanges: binary-only upload - not including any source code
dpkg-source --after-build vim-7.3.547
dpkg-buildpackage: binary only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2017-03-09T05:22:30Z
Finished
--------
I: Built successfully
+------------------------------------------------------------------------------+
| Post Build Chroot |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| Changes |
+------------------------------------------------------------------------------+
vim_7.3.547-7+deb7u3_armhf.changes:
-----------------------------------
Format: 1.8
Date: Tue, 07 Mar 2017 20:09:17 -0500
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.3.547-7+deb7u3
Distribution: wheezy-staging
Urgency: high
Maintainer: Raspbian nitrogen6x test autobuilder <root@raspbian.org>
Changed-By: James McCoy <jamessan@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
Closes: 856266
Changes:
vim (2:7.3.547-7+deb7u3) wheezy-security; urgency=high
.
* Backport upstream patches v8.0.0377 & v8.0.0378, to fix buffer overflows
when reading corrupted undo files. (Closes: #856266, CVE-2017-6349,
CVE-2017-6350)
Checksums-Sha1:
25d56c2a81f33250329aa8e60f67b6eb5b894653 747836 vim-nox_7.3.547-7+deb7u3_armhf.deb
f0c54d4ac7e6991dee7cb314d4501803e136e8fc 831494 vim-athena_7.3.547-7+deb7u3_armhf.deb
7c719e0e4803d3cb38d6b4fbf73b4907099d930f 841664 vim-gtk_7.3.547-7+deb7u3_armhf.deb
8c413a2ea853a5e2c6e62a060dbeae5a140d3f13 280412 vim-tiny_7.3.547-7+deb7u3_armhf.deb
1728262f9cc170d39ed411745160f35a6eccce71 843558 vim-gnome_7.3.547-7+deb7u3_armhf.deb
2834e2525dcb76218b6f021b99b567cdd74b4607 162554 vim-common_7.3.547-7+deb7u3_armhf.deb
409253554d675906af8518dfa4207544dff73096 673676 vim_7.3.547-7+deb7u3_armhf.deb
c64a888d64153be97f9155e303ec2cdcd8a1639d 4210098 vim-dbg_7.3.547-7+deb7u3_armhf.deb
Checksums-Sha256:
5e395cc338fbe616231054ec5cf0d84f463d0a34648903e71c9ea4bd39c35aeb 747836 vim-nox_7.3.547-7+deb7u3_armhf.deb
984c0e44c53344e4a81de7b6914b961ad0f9d6c85d281e5689e8adeb9733b752 831494 vim-athena_7.3.547-7+deb7u3_armhf.deb
81ab9461185e824b1837c6d63db47cdbe7bb34536ee193c347ad391d81970da0 841664 vim-gtk_7.3.547-7+deb7u3_armhf.deb
5ae9d3f4c582d4677e7c8d25f9fdb4bac0975017bcbdc0e0a602ea9823be4fb7 280412 vim-tiny_7.3.547-7+deb7u3_armhf.deb
2a8dbfa2fa8d6103a5f3ed203a4d77c57ebd0bd4fdadade109a7d1b5489e9272 843558 vim-gnome_7.3.547-7+deb7u3_armhf.deb
2c77ae2fada2afe9d705ca8688e128e6a7aa6136fa661a8235c491b19a455711 162554 vim-common_7.3.547-7+deb7u3_armhf.deb
880b7106436d0d51e5724093ba9c54bf5b20188fb5bff4c5ff1506b3beb6bde6 673676 vim_7.3.547-7+deb7u3_armhf.deb
06d2d50ad608260d6b94fab45096c6289964e9dec1444e27c6c7ece26b317ffa 4210098 vim-dbg_7.3.547-7+deb7u3_armhf.deb
Files:
193e9fef5cfe7a176b5588b174d3ed41 747836 editors extra vim-nox_7.3.547-7+deb7u3_armhf.deb
ca3b6b45213b4a6744bac3639a3a4b83 831494 editors extra vim-athena_7.3.547-7+deb7u3_armhf.deb
d26bd6d373537ee8e9297f87ed424d4b 841664 editors extra vim-gtk_7.3.547-7+deb7u3_armhf.deb
079f5ed84ded27cd2579c216160bb340 280412 editors important vim-tiny_7.3.547-7+deb7u3_armhf.deb
ed4a2c334b58751305cd94ab133909d2 843558 editors extra vim-gnome_7.3.547-7+deb7u3_armhf.deb
8b5b94cb906c06a58571b38a3301649b 162554 editors important vim-common_7.3.547-7+deb7u3_armhf.deb
7ebf43614a4d6110efeeef4022bce8ae 673676 editors optional vim_7.3.547-7+deb7u3_armhf.deb
9d0559f7de3a0f7f9d9398051107bf64 4210098 debug extra vim-dbg_7.3.547-7+deb7u3_armhf.deb
+------------------------------------------------------------------------------+
| Package contents |
+------------------------------------------------------------------------------+
vim-nox_7.3.547-7+deb7u3_armhf.deb
----------------------------------
new debian package, version 2.0.
size 747836 bytes: control archive=1940 bytes.
1103 bytes, 21 lines control
247 bytes, 4 lines md5sums
2397 bytes, 77 lines * postinst #!/bin/sh
1220 bytes, 57 lines * prerm #!/bin/sh
Package: vim-nox
Source: vim
Version: 2:7.3.547-7+deb7u3
Architecture: armhf
Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Installed-Size: 1724
Depends: vim-common (= 2:7.3.547-7+deb7u3), vim-runtime (= 2:7.3.547-7+deb7u3), libacl1 (>= 2.2.51-8), libc6 (>= 2.13-28), libgcc1 (>= 1:4.4.0), libgpm2 (>= 1.20.4), liblua5.1-0, libperl5.14 (>= 5.14.2), libpython2.7 (>= 2.7), libruby1.9.1 (>= 1.9.2.0), libselinux1 (>= 1.32), libtinfo5, tcl8.5 (>= 8.5.0)
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 2017-03-09 05:17 ./
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/bin/
-rwxr-xr-x root/root 1760156 2017-03-09 05:17 ./usr/bin/vim.nox
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/bug/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/bug/vim-nox/
-rw-r--r-- root/root 516 2013-01-18 01:23 ./usr/share/bug/vim-nox/presubj
-rwxr-xr-x root/root 204 2013-01-18 01:23 ./usr/share/bug/vim-nox/script
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/doc/
lrwxrwxrwx root/root 0 2017-03-09 05:17 ./usr/share/doc/vim-nox -> vim-common
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/lintian/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/lintian/overrides/
-rw-r--r-- root/root 140 2017-03-09 05:17 ./usr/share/lintian/overrides/vim-nox
vim-athena_7.3.547-7+deb7u3_armhf.deb
-------------------------------------
new debian package, version 2.0.
size 831494 bytes: control archive=2185 bytes.
1215 bytes, 21 lines control
319 bytes, 5 lines md5sums
2571 bytes, 82 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.3.547-7+deb7u3
Architecture: armhf
Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Installed-Size: 1928
Depends: vim-gui-common (= 2:7.3.547-7+deb7u3), vim-common (= 2:7.3.547-7+deb7u3), vim-runtime (= 2:7.3.547-7+deb7u3), libacl1 (>= 2.2.51-8), libc6 (>= 2.13-28), libgcc1 (>= 1:4.4.0), libgpm2 (>= 1.20.4), libice6 (>= 1:1.0.0), liblua5.1-0, libperl5.14 (>= 5.14.2), libpython2.7 (>= 2.7), libruby1.9.1 (>= 1.9.2.0), libselinux1 (>= 1.32), libsm6, libtinfo5, libx11-6, libxaw7, libxmu6, libxpm4, libxt6, tcl8.5 (>= 8.5.0)
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 2017-03-09 05:17 ./
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/bin/
-rwxr-xr-x root/root 1968316 2017-03-09 05:17 ./usr/bin/vim.athena
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/bug/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/bug/vim-athena/
-rw-r--r-- root/root 516 2013-01-18 01:23 ./usr/share/bug/vim-athena/presubj
-rwxr-xr-x root/root 204 2013-01-18 01:23 ./usr/share/bug/vim-athena/script
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/doc/
lrwxrwxrwx root/root 0 2017-03-09 05:17 ./usr/share/doc/vim-athena -> vim-gui-common
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/lintian/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/lintian/overrides/
-rw-r--r-- root/root 146 2017-03-09 05:17 ./usr/share/lintian/overrides/vim-athena
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/menu/
-rw-r--r-- root/root 318 2013-01-18 01:23 ./usr/share/menu/vim-athena
vim-gtk_7.3.547-7+deb7u3_armhf.deb
----------------------------------
new debian package, version 2.0.
size 841664 bytes: control archive=2228 bytes.
1321 bytes, 21 lines control
304 bytes, 5 lines md5sums
2565 bytes, 82 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.3.547-7+deb7u3
Architecture: armhf
Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Installed-Size: 1971
Depends: vim-gui-common (= 2:7.3.547-7+deb7u3), vim-common (= 2:7.3.547-7+deb7u3), vim-runtime (= 2:7.3.547-7+deb7u3), libacl1 (>= 2.2.51-8), libc6 (>= 2.13-28), libgcc1 (>= 1:4.4.0), 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.1-0, libpango1.0-0 (>= 1.14.0), libperl5.14 (>= 5.14.2), libpython2.7 (>= 2.7), libruby1.9.1 (>= 1.9.2.0), libselinux1 (>= 1.32), libsm6, libtinfo5, libx11-6, libxt6, tcl8.5 (>= 8.5.0)
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 2017-03-09 05:17 ./
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/bin/
-rwxr-xr-x root/root 2012892 2017-03-09 05:17 ./usr/bin/vim.gtk
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/bug/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/bug/vim-gtk/
-rw-r--r-- root/root 516 2013-01-18 01:23 ./usr/share/bug/vim-gtk/presubj
-rwxr-xr-x root/root 204 2013-01-18 01:23 ./usr/share/bug/vim-gtk/script
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/doc/
lrwxrwxrwx root/root 0 2017-03-09 05:17 ./usr/share/doc/vim-gtk -> vim-gui-common
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/lintian/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/lintian/overrides/
-rw-r--r-- root/root 140 2017-03-09 05:17 ./usr/share/lintian/overrides/vim-gtk
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/menu/
-rw-r--r-- root/root 309 2013-01-18 01:15 ./usr/share/menu/vim-gtk
vim-tiny_7.3.547-7+deb7u3_armhf.deb
-----------------------------------
new debian package, version 2.0.
size 280412 bytes: control archive=2119 bytes.
20 bytes, 1 lines conffiles
1030 bytes, 24 lines control
453 bytes, 7 lines md5sums
2399 bytes, 77 lines * postinst #!/bin/sh
1222 bytes, 57 lines * prerm #!/bin/sh
Package: vim-tiny
Source: vim
Version: 2:7.3.547-7+deb7u3
Architecture: armhf
Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Installed-Size: 640
Depends: vim-common (= 2:7.3.547-7+deb7u3), libacl1 (>= 2.2.51-8), libc6 (>= 2.13-28), libgcc1 (>= 1:4.4.0), 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 2017-03-09 05:17 ./
drwxr-xr-x root/root 0 2017-03-09 05:17 ./etc/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./etc/vim/
-rw-r--r-- root/root 662 2017-03-09 05:17 ./etc/vim/vimrc.tiny
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/bin/
-rwxr-xr-x root/root 647656 2017-03-09 05:17 ./usr/bin/vim.tiny
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/bug/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/bug/vim-tiny/
-rw-r--r-- root/root 516 2013-01-18 01:23 ./usr/share/bug/vim-tiny/presubj
-rwxr-xr-x root/root 204 2013-01-18 01:23 ./usr/share/bug/vim-tiny/script
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/doc/
lrwxrwxrwx root/root 0 2017-03-09 05:17 ./usr/share/doc/vim-tiny -> vim-common
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/lintian/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/lintian/overrides/
-rw-r--r-- root/root 142 2017-03-09 05:17 ./usr/share/lintian/overrides/vim-tiny
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/vim/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/vim/vim73/
drwxr-xr-x root/root 0 2013-01-18 01:23 ./usr/share/vim/vim73/doc/
-rw-r--r-- root/root 324 2013-01-18 01:15 ./usr/share/vim/vim73/doc/README.Debian
-rw-r--r-- root/root 1287 2013-01-18 01:23 ./usr/share/vim/vim73/doc/help.txt
-rw-r--r-- root/root 30 2013-01-18 01:15 ./usr/share/vim/vim73/doc/tags
lrwxrwxrwx root/root 0 2017-03-09 05:17 ./usr/share/vim/vimrc.tiny -> /etc/vim/vimrc.tiny
vim-gnome_7.3.547-7+deb7u3_armhf.deb
------------------------------------
new debian package, version 2.0.
size 843558 bytes: control archive=2258 bytes.
1406 bytes, 21 lines control
314 bytes, 5 lines md5sums
2569 bytes, 82 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.3.547-7+deb7u3
Architecture: armhf
Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Installed-Size: 1976
Depends: vim-gui-common (= 2:7.3.547-7+deb7u3), vim-common (= 2:7.3.547-7+deb7u3), vim-runtime (= 2:7.3.547-7+deb7u3), libacl1 (>= 2.2.51-8), libbonoboui2-0 (>= 2.15.1), libc6 (>= 2.13-28), libgcc1 (>= 1:4.4.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.12.0), libgnome2-0 (>= 2.17.3), libgnomeui-0 (>= 2.22.0), libgpm2 (>= 1.20.4), libgtk2.0-0 (>= 2.24.0), libice6 (>= 1:1.0.0), liblua5.1-0, libpango1.0-0 (>= 1.14.0), libperl5.14 (>= 5.14.2), libpython2.7 (>= 2.7), libruby1.9.1 (>= 1.9.2.0), libselinux1 (>= 1.32), libsm6, libtinfo5, libx11-6, libxt6, tcl8.5 (>= 8.5.0)
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 2017-03-09 05:17 ./
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/bin/
-rwxr-xr-x root/root 2017080 2017-03-09 05:17 ./usr/bin/vim.gnome
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/bug/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/bug/vim-gnome/
-rw-r--r-- root/root 516 2013-01-18 01:23 ./usr/share/bug/vim-gnome/presubj
-rwxr-xr-x root/root 204 2013-01-18 01:23 ./usr/share/bug/vim-gnome/script
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/doc/
lrwxrwxrwx root/root 0 2017-03-09 05:17 ./usr/share/doc/vim-gnome -> vim-gui-common
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/lintian/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/lintian/overrides/
-rw-r--r-- root/root 144 2017-03-09 05:17 ./usr/share/lintian/overrides/vim-gnome
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/share/menu/
-rw-r--r-- root/root 315 2013-01-18 01:15 ./usr/share/menu/vim-gnome
vim-common_7.3.547-7+deb7u3_armhf.deb
-------------------------------------
new debian package, version 2.0.
size 162554 bytes: control archive=1993 bytes.
15 bytes, 1 lines conffiles
861 bytes, 22 lines control
1579 bytes, 24 lines md5sums
183 bytes, 7 lines * postinst #!/bin/sh
150 bytes, 5 lines * postrm #!/bin/sh
795 bytes, 30 lines * preinst #!/bin/sh
Package: vim-common
Source: vim
Version: 2:7.3.547-7+deb7u3
Architecture: armhf
Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Installed-Size: 176
Depends: libc6 (>= 2.13-28)
Recommends: vim | vim-gnome | vim-gtk | vim-athena | vim-nox | vim-tiny
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 2017-03-09 05:20 ./
drwxr-xr-x root/root 0 2017-03-09 05:20 ./etc/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./etc/vim/
-rw-r--r-- root/root 2191 2013-01-18 01:15 ./etc/vim/vimrc
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/bin/
-rwxr-xr-x root/root 2480 2013-01-18 01:23 ./usr/bin/helpztags
-rwxr-xr-x root/root 13964 2017-03-09 05:20 ./usr/bin/xxd
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/lib/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/lib/mime/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/lib/mime/packages/
-rw-r--r-- root/root 346 2013-01-18 01:23 ./usr/lib/mime/packages/vim-common
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/doc/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/doc/vim-common/
-rw-r--r-- root/root 1366 2013-01-18 01:23 ./usr/share/doc/vim-common/NEWS.Debian.gz
-rw-r--r-- root/root 1737 2013-01-18 01:15 ./usr/share/doc/vim-common/README.Debian
-rw-r--r-- root/root 79964 2017-03-08 01:09 ./usr/share/doc/vim-common/changelog.Debian.gz
-rw-r--r-- root/root 10927 2013-01-18 01:15 ./usr/share/doc/vim-common/copyright
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/man/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/man/fr/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/man/fr/man1/
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/man/fr/man1/rview.1.gz -> vim.1.gz
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/man/fr/man1/rvim.1.gz -> vim.1.gz
-rw-r--r-- root/root 6536 2017-03-09 05:17 ./usr/share/man/fr/man1/vim.1.gz
-rw-r--r-- root/root 999 2017-03-09 05:17 ./usr/share/man/fr/man1/vimdiff.1.gz
-rw-r--r-- root/root 4901 2017-03-09 05:17 ./usr/share/man/fr/man1/xxd.1.gz
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/man/it/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/man/it/man1/
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/man/it/man1/rview.1.gz -> vim.1.gz
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/man/it/man1/rvim.1.gz -> vim.1.gz
-rw-r--r-- root/root 6101 2017-03-09 05:17 ./usr/share/man/it/man1/vim.1.gz
-rw-r--r-- root/root 754 2017-03-09 05:17 ./usr/share/man/it/man1/vimdiff.1.gz
-rw-r--r-- root/root 4819 2017-03-09 05:17 ./usr/share/man/it/man1/xxd.1.gz
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/man/man1/
-rw-r--r-- root/root 2124 2017-03-09 05:20 ./usr/share/man/man1/helpztags.1.gz
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/man/man1/rview.1.gz -> vim.1.gz
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/man/man1/rvim.1.gz -> vim.1.gz
-rw-r--r-- root/root 5419 2017-03-09 05:17 ./usr/share/man/man1/vim.1.gz
-rw-r--r-- root/root 701 2017-03-09 05:17 ./usr/share/man/man1/vimdiff.1.gz
-rw-r--r-- root/root 4183 2017-03-09 05:17 ./usr/share/man/man1/xxd.1.gz
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/man/pl/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/man/pl/man1/
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/man/pl/man1/rview.1.gz -> vim.1.gz
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/man/pl/man1/rvim.1.gz -> vim.1.gz
-rw-r--r-- root/root 6296 2017-03-09 05:17 ./usr/share/man/pl/man1/vim.1.gz
-rw-r--r-- root/root 790 2017-03-09 05:17 ./usr/share/man/pl/man1/vimdiff.1.gz
-rw-r--r-- root/root 4642 2017-03-09 05:17 ./usr/share/man/pl/man1/xxd.1.gz
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/man/ru/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/man/ru/man1/
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/man/ru/man1/rview.1.gz -> vim.1.gz
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/man/ru/man1/rvim.1.gz -> vim.1.gz
-rw-r--r-- root/root 7129 2017-03-09 05:17 ./usr/share/man/ru/man1/vim.1.gz
-rw-r--r-- root/root 1230 2017-03-09 05:17 ./usr/share/man/ru/man1/vimdiff.1.gz
-rw-r--r-- root/root 6117 2017-03-09 05:17 ./usr/share/man/ru/man1/xxd.1.gz
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/vim/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/vim/vim73/
-rw-r--r-- root/root 1708 2017-03-09 05:17 ./usr/share/vim/vim73/debian.vim
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/vim/vimcurrent -> vim73
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/vim/vimfiles -> /etc/vim
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/vim/vimrc -> /etc/vim/vimrc
drwxr-xr-x root/root 0 2017-03-09 05:17 ./var/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./var/lib/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./var/lib/vim/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./var/lib/vim/addons/
vim_7.3.547-7+deb7u3_armhf.deb
------------------------------
new debian package, version 2.0.
size 673676 bytes: control archive=1891 bytes.
981 bytes, 22 lines control
237 bytes, 4 lines md5sums
2395 bytes, 77 lines * postinst #!/bin/sh
1218 bytes, 57 lines * prerm #!/bin/sh
Package: vim
Version: 2:7.3.547-7+deb7u3
Architecture: armhf
Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Installed-Size: 1537
Depends: vim-common (= 2:7.3.547-7+deb7u3), vim-runtime (= 2:7.3.547-7+deb7u3), libacl1 (>= 2.2.51-8), libc6 (>= 2.13-28), libgcc1 (>= 1:4.4.0), 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 2017-03-09 05:20 ./
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/bin/
-rwxr-xr-x root/root 1569076 2017-03-09 05:20 ./usr/bin/vim.basic
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/bug/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/bug/vim/
-rw-r--r-- root/root 516 2013-01-18 01:23 ./usr/share/bug/vim/presubj
-rwxr-xr-x root/root 204 2013-01-18 01:23 ./usr/share/bug/vim/script
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/doc/
lrwxrwxrwx root/root 0 2017-03-09 05:20 ./usr/share/doc/vim -> vim-common
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/lintian/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/lintian/overrides/
-rw-r--r-- root/root 138 2017-03-09 05:20 ./usr/share/lintian/overrides/vim
vim-dbg_7.3.547-7+deb7u3_armhf.deb
----------------------------------
new debian package, version 2.0.
size 4210098 bytes: control archive=946 bytes.
866 bytes, 18 lines control
665 bytes, 10 lines md5sums
Package: vim-dbg
Source: vim
Version: 2:7.3.547-7+deb7u3
Architecture: armhf
Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Installed-Size: 21261
Depends: vim (= 2:7.3.547-7+deb7u3) | vim-gtk (= 2:7.3.547-7+deb7u3) | vim-gnome (= 2:7.3.547-7+deb7u3) | vim-nox (= 2:7.3.547-7+deb7u3) | vim-common (= 2:7.3.547-7+deb7u3) | vim-athena (= 2:7.3.547-7+deb7u3) | vim-tiny (= 2:7.3.547-7+deb7u3)
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 2017-03-09 05:21 ./
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/lib/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/lib/debug/
drwxr-xr-x root/root 0 2017-03-09 05:17 ./usr/lib/debug/usr/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/lib/debug/usr/bin/
-rw-r--r-- root/root 4226578 2017-03-09 05:17 ./usr/lib/debug/usr/bin/vim.athena
-rw-r--r-- root/root 3377921 2017-03-09 05:20 ./usr/lib/debug/usr/bin/vim.basic
-rw-r--r-- root/root 4480527 2017-03-09 05:17 ./usr/lib/debug/usr/bin/vim.gnome
-rw-r--r-- root/root 4475542 2017-03-09 05:17 ./usr/lib/debug/usr/bin/vim.gtk
-rw-r--r-- root/root 3659102 2017-03-09 05:17 ./usr/lib/debug/usr/bin/vim.nox
-rw-r--r-- root/root 1441996 2017-03-09 05:17 ./usr/lib/debug/usr/bin/vim.tiny
-rw-r--r-- root/root 17071 2017-03-09 05:20 ./usr/lib/debug/usr/bin/xxd
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/
drwxr-xr-x root/root 0 2017-03-09 05:20 ./usr/share/doc/
drwxr-xr-x root/root 0 2017-03-09 05:21 ./usr/share/doc/vim-dbg/
-rw-r--r-- root/root 1366 2013-01-18 01:23 ./usr/share/doc/vim-dbg/NEWS.Debian.gz
-rw-r--r-- root/root 79964 2017-03-08 01:09 ./usr/share/doc/vim-dbg/changelog.Debian.gz
-rw-r--r-- root/root 10927 2013-01-18 01:15 ./usr/share/doc/vim-dbg/copyright
+------------------------------------------------------------------------------+
| Post Build |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| Cleanup |
+------------------------------------------------------------------------------+
Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
+------------------------------------------------------------------------------+
| Summary |
+------------------------------------------------------------------------------+
Build Architecture: armhf
Build-Space: 240076
Build-Time: 1539
Distribution: wheezy-staging
Host Architecture: armhf
Install-Time: 2452
Job: vim_2:7.3.547-7+deb7u3
Machine Architecture: armhf
Package: vim
Package-Time: 4045
Source-Version: 2:7.3.547-7+deb7u3
Space: 240076
Status: successful
Version: 2:7.3.547-7+deb7u3
--------------------------------------------------------------------------------
Finished at 2017-03-09T05:22:30Z
Build needed 01:07:25, 240076k disc space