History log of /netbsd-current/external/bsd/nvi/usr.bin/nvi/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.25 26-Feb-2021 rin

Misc cleanups:

- built-in regex is required only when ${USE_WIDECHAR} == "yes"

- -DUSE_WIDECHAR cpp flag should be determined by ${USE_WIDECHAR},
not ${USE_BUILTIN_REGEX}

- reduce .if -- .endif block for clarity


# 1.24 26-Feb-2021 christos

Put back local regex (thanks Rin)


# 1.23 25-Feb-2021 christos

we don't need the extra copy wide-regex anymore.


Revision tags: phil-wifi-20200421
# 1.22 20-Apr-2020 joerg

Don't let clang warn about comparing pointers with string literals.


# 1.21 12-Apr-2020 martin

Remove no longer needed workaround for PR/54656.


Revision tags: phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 phil-wifi-20191119
# 1.20 29-Oct-2019 christos

PR/54656: Martin Husemann: gcc-8 miscompiles ex_filter.c even with -O1, make
it -O0. The tm argument gets passed in as non-null and it is non-null after
the command execution, but then becomes null and causes a null dereference.


Revision tags: netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base
# 1.19 24-Jul-2019 rin

Add missing break.


Revision tags: phil-wifi-20190609
# 1.18 04-Feb-2019 mrg

- use -Wno-error=implicit-fallthrough with GCC7.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.17 07-Aug-2018 rin

Add imctrl and imkey options, inspired by cannactrl and fepkey options in
nvi-m17n by itojun.

If imctrl option is set, input method is controlled by using escape
sequences compatible to Tera Term and RLogin. The state of input method in
commands specified by imkey option is saved and restored automatically.
Input method is then deactivated on returning to command mode.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.16 21-Nov-2017 rin

branches: 1.16.2; 1.16.4;
Bump WARNS to 5. Add -Wno-old-style-definition to regex.c for gcc.


# 1.15 21-Nov-2017 rin

Enable -Wuninitialized -Wformat-security for clang.


# 1.14 21-Nov-2017 rin

We always need -Wno-format-nonliteral for v_increment.c whether compiler is
gcc or clang.


# 1.13 21-Nov-2017 rin

Cosmetic changes. No functional changes.


# 1.12 13-Nov-2017 rin

Sorry, remove illegal indents. Real fix for build with USE_WIDECHAR != "yes".


# 1.11 13-Nov-2017 rin

- Add -Wno-unused and -Wno-unsequenced for gcc and clang, respectively.
This is because encoding conversion macros yield such like:

#define FILE2INT5(sp,buf,n,nlen,w,wlen) (w = n, wlen = nlen, 0)

- Silence gcc warnings on nonliteral arguments for snprintf(3) in v_increment.c,
that are overlooked for swprintf(3) in the case of USE_WIDECHAR == "yes".


# 1.10 13-Nov-2017 rin

Use mvwchgat(3), which is not a macro in general (and in our case).


# 1.9 06-Nov-2017 rin

No need to compile in ip_*.c and ipc_*.c to nvi, although they are
necessary for generation of header files.

Reduce 5% of binary size on amd64.


# 1.8 06-Nov-2017 rin

Introduce HAVE_XXX macros to where they should be.
No binary changes, but possibly improve portability for, e.g.,
sync with pkgsrc version in the near future.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.7 28-Nov-2015 christos

PR/50484: Rin Okuyama: fix the script command of vi(1)


# 1.6 23-Jan-2015 christos

add QUEUEDEBUG commented out


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 tls-maxphys-base netbsd-7-base tls-earlyentropy-base
# 1.5 23-May-2014 dholland

branches: 1.5.2; 1.5.4; 1.5.8;
PR toolchain/48833: Ilia Zykov: nvi build fails if under /common

When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.4 30-Nov-2013 christos

branches: 1.4.2; 1.4.4;
Don't rebuild the header files all the time if they did not change


# 1.3 29-Nov-2013 christos

Bring back the compatibility db3->db1 code from the old vi.
This is selected with -DUSE_DB1 in the Makefile. By default
use use the db1 specific code from the current nvi which is
enabled using -DUSE_BUNDLED_DB. Unfortunately recovery seems
to be broken for both.


# 1.2 29-Nov-2013 christos

fix tracing.


# 1.1 22-Nov-2013 christos

Add build glue and docs


# 1.22 20-Apr-2020 joerg

Don't let clang warn about comparing pointers with string literals.


# 1.21 12-Apr-2020 martin

Remove no longer needed workaround for PR/54656.


Revision tags: phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 phil-wifi-20191119
# 1.20 29-Oct-2019 christos

PR/54656: Martin Husemann: gcc-8 miscompiles ex_filter.c even with -O1, make
it -O0. The tm argument gets passed in as non-null and it is non-null after
the command execution, but then becomes null and causes a null dereference.


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base
# 1.19 24-Jul-2019 rin

Add missing break.


Revision tags: phil-wifi-20190609
# 1.18 04-Feb-2019 mrg

- use -Wno-error=implicit-fallthrough with GCC7.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.17 07-Aug-2018 rin

Add imctrl and imkey options, inspired by cannactrl and fepkey options in
nvi-m17n by itojun.

If imctrl option is set, input method is controlled by using escape
sequences compatible to Tera Term and RLogin. The state of input method in
commands specified by imkey option is saved and restored automatically.
Input method is then deactivated on returning to command mode.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.16 21-Nov-2017 rin

branches: 1.16.2; 1.16.4;
Bump WARNS to 5. Add -Wno-old-style-definition to regex.c for gcc.


# 1.15 21-Nov-2017 rin

Enable -Wuninitialized -Wformat-security for clang.


# 1.14 21-Nov-2017 rin

We always need -Wno-format-nonliteral for v_increment.c whether compiler is
gcc or clang.


# 1.13 21-Nov-2017 rin

Cosmetic changes. No functional changes.


# 1.12 13-Nov-2017 rin

Sorry, remove illegal indents. Real fix for build with USE_WIDECHAR != "yes".


# 1.11 13-Nov-2017 rin

- Add -Wno-unused and -Wno-unsequenced for gcc and clang, respectively.
This is because encoding conversion macros yield such like:

#define FILE2INT5(sp,buf,n,nlen,w,wlen) (w = n, wlen = nlen, 0)

- Silence gcc warnings on nonliteral arguments for snprintf(3) in v_increment.c,
that are overlooked for swprintf(3) in the case of USE_WIDECHAR == "yes".


# 1.10 13-Nov-2017 rin

Use mvwchgat(3), which is not a macro in general (and in our case).


# 1.9 06-Nov-2017 rin

No need to compile in ip_*.c and ipc_*.c to nvi, although they are
necessary for generation of header files.

Reduce 5% of binary size on amd64.


# 1.8 06-Nov-2017 rin

Introduce HAVE_XXX macros to where they should be.
No binary changes, but possibly improve portability for, e.g.,
sync with pkgsrc version in the near future.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.7 28-Nov-2015 christos

PR/50484: Rin Okuyama: fix the script command of vi(1)


# 1.6 23-Jan-2015 christos

add QUEUEDEBUG commented out


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 tls-maxphys-base netbsd-7-base tls-earlyentropy-base
# 1.5 23-May-2014 dholland

branches: 1.5.2; 1.5.4; 1.5.8;
PR toolchain/48833: Ilia Zykov: nvi build fails if under /common

When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.4 30-Nov-2013 christos

branches: 1.4.2; 1.4.4;
Don't rebuild the header files all the time if they did not change


# 1.3 29-Nov-2013 christos

Bring back the compatibility db3->db1 code from the old vi.
This is selected with -DUSE_DB1 in the Makefile. By default
use use the db1 specific code from the current nvi which is
enabled using -DUSE_BUNDLED_DB. Unfortunately recovery seems
to be broken for both.


# 1.2 29-Nov-2013 christos

fix tracing.


# 1.1 22-Nov-2013 christos

Add build glue and docs


# 1.21 12-Apr-2020 martin

Remove no longer needed workaround for PR/54656.


Revision tags: phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 phil-wifi-20191119
# 1.20 29-Oct-2019 christos

PR/54656: Martin Husemann: gcc-8 miscompiles ex_filter.c even with -O1, make
it -O0. The tm argument gets passed in as non-null and it is non-null after
the command execution, but then becomes null and causes a null dereference.


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base
# 1.19 24-Jul-2019 rin

Add missing break.


Revision tags: phil-wifi-20190609
# 1.18 04-Feb-2019 mrg

- use -Wno-error=implicit-fallthrough with GCC7.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.17 07-Aug-2018 rin

Add imctrl and imkey options, inspired by cannactrl and fepkey options in
nvi-m17n by itojun.

If imctrl option is set, input method is controlled by using escape
sequences compatible to Tera Term and RLogin. The state of input method in
commands specified by imkey option is saved and restored automatically.
Input method is then deactivated on returning to command mode.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.16 21-Nov-2017 rin

branches: 1.16.2; 1.16.4;
Bump WARNS to 5. Add -Wno-old-style-definition to regex.c for gcc.


# 1.15 21-Nov-2017 rin

Enable -Wuninitialized -Wformat-security for clang.


# 1.14 21-Nov-2017 rin

We always need -Wno-format-nonliteral for v_increment.c whether compiler is
gcc or clang.


# 1.13 21-Nov-2017 rin

Cosmetic changes. No functional changes.


# 1.12 13-Nov-2017 rin

Sorry, remove illegal indents. Real fix for build with USE_WIDECHAR != "yes".


# 1.11 13-Nov-2017 rin

- Add -Wno-unused and -Wno-unsequenced for gcc and clang, respectively.
This is because encoding conversion macros yield such like:

#define FILE2INT5(sp,buf,n,nlen,w,wlen) (w = n, wlen = nlen, 0)

- Silence gcc warnings on nonliteral arguments for snprintf(3) in v_increment.c,
that are overlooked for swprintf(3) in the case of USE_WIDECHAR == "yes".


# 1.10 13-Nov-2017 rin

Use mvwchgat(3), which is not a macro in general (and in our case).


# 1.9 06-Nov-2017 rin

No need to compile in ip_*.c and ipc_*.c to nvi, although they are
necessary for generation of header files.

Reduce 5% of binary size on amd64.


# 1.8 06-Nov-2017 rin

Introduce HAVE_XXX macros to where they should be.
No binary changes, but possibly improve portability for, e.g.,
sync with pkgsrc version in the near future.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.7 28-Nov-2015 christos

PR/50484: Rin Okuyama: fix the script command of vi(1)


# 1.6 23-Jan-2015 christos

add QUEUEDEBUG commented out


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 tls-maxphys-base netbsd-7-base tls-earlyentropy-base
# 1.5 23-May-2014 dholland

branches: 1.5.2; 1.5.4; 1.5.8;
PR toolchain/48833: Ilia Zykov: nvi build fails if under /common

When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.4 30-Nov-2013 christos

branches: 1.4.2; 1.4.4;
Don't rebuild the header files all the time if they did not change


# 1.3 29-Nov-2013 christos

Bring back the compatibility db3->db1 code from the old vi.
This is selected with -DUSE_DB1 in the Makefile. By default
use use the db1 specific code from the current nvi which is
enabled using -DUSE_BUNDLED_DB. Unfortunately recovery seems
to be broken for both.


# 1.2 29-Nov-2013 christos

fix tracing.


# 1.1 22-Nov-2013 christos

Add build glue and docs


# 1.20 29-Oct-2019 christos

PR/54656: Martin Husemann: gcc-8 miscompiles ex_filter.c even with -O1, make
it -O0. The tm argument gets passed in as non-null and it is non-null after
the command execution, but then becomes null and causes a null dereference.


Revision tags: netbsd-9-base
# 1.19 24-Jul-2019 rin

Add missing break.


Revision tags: phil-wifi-20190609
# 1.18 04-Feb-2019 mrg

- use -Wno-error=implicit-fallthrough with GCC7.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.17 07-Aug-2018 rin

Add imctrl and imkey options, inspired by cannactrl and fepkey options in
nvi-m17n by itojun.

If imctrl option is set, input method is controlled by using escape
sequences compatible to Tera Term and RLogin. The state of input method in
commands specified by imkey option is saved and restored automatically.
Input method is then deactivated on returning to command mode.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.16 21-Nov-2017 rin

branches: 1.16.2; 1.16.4;
Bump WARNS to 5. Add -Wno-old-style-definition to regex.c for gcc.


# 1.15 21-Nov-2017 rin

Enable -Wuninitialized -Wformat-security for clang.


# 1.14 21-Nov-2017 rin

We always need -Wno-format-nonliteral for v_increment.c whether compiler is
gcc or clang.


# 1.13 21-Nov-2017 rin

Cosmetic changes. No functional changes.


# 1.12 13-Nov-2017 rin

Sorry, remove illegal indents. Real fix for build with USE_WIDECHAR != "yes".


# 1.11 13-Nov-2017 rin

- Add -Wno-unused and -Wno-unsequenced for gcc and clang, respectively.
This is because encoding conversion macros yield such like:

#define FILE2INT5(sp,buf,n,nlen,w,wlen) (w = n, wlen = nlen, 0)

- Silence gcc warnings on nonliteral arguments for snprintf(3) in v_increment.c,
that are overlooked for swprintf(3) in the case of USE_WIDECHAR == "yes".


# 1.10 13-Nov-2017 rin

Use mvwchgat(3), which is not a macro in general (and in our case).


# 1.9 06-Nov-2017 rin

No need to compile in ip_*.c and ipc_*.c to nvi, although they are
necessary for generation of header files.

Reduce 5% of binary size on amd64.


# 1.8 06-Nov-2017 rin

Introduce HAVE_XXX macros to where they should be.
No binary changes, but possibly improve portability for, e.g.,
sync with pkgsrc version in the near future.


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.7 28-Nov-2015 christos

PR/50484: Rin Okuyama: fix the script command of vi(1)


# 1.6 23-Jan-2015 christos

add QUEUEDEBUG commented out


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 tls-maxphys-base netbsd-7-base tls-earlyentropy-base
# 1.5 23-May-2014 dholland

branches: 1.5.2; 1.5.4; 1.5.8;
PR toolchain/48833: Ilia Zykov: nvi build fails if under /common

When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.4 30-Nov-2013 christos

branches: 1.4.2; 1.4.4;
Don't rebuild the header files all the time if they did not change


# 1.3 29-Nov-2013 christos

Bring back the compatibility db3->db1 code from the old vi.
This is selected with -DUSE_DB1 in the Makefile. By default
use use the db1 specific code from the current nvi which is
enabled using -DUSE_BUNDLED_DB. Unfortunately recovery seems
to be broken for both.


# 1.2 29-Nov-2013 christos

fix tracing.


# 1.1 22-Nov-2013 christos

Add build glue and docs


# 1.19 24-Jul-2019 rin

Add missing break.


Revision tags: phil-wifi-20190609
# 1.18 04-Feb-2019 mrg

- use -Wno-error=implicit-fallthrough with GCC7.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.17 07-Aug-2018 rin

Add imctrl and imkey options, inspired by cannactrl and fepkey options in
nvi-m17n by itojun.

If imctrl option is set, input method is controlled by using escape
sequences compatible to Tera Term and RLogin. The state of input method in
commands specified by imkey option is saved and restored automatically.
Input method is then deactivated on returning to command mode.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.16 21-Nov-2017 rin

branches: 1.16.2; 1.16.4;
Bump WARNS to 5. Add -Wno-old-style-definition to regex.c for gcc.


# 1.15 21-Nov-2017 rin

Enable -Wuninitialized -Wformat-security for clang.


# 1.14 21-Nov-2017 rin

We always need -Wno-format-nonliteral for v_increment.c whether compiler is
gcc or clang.


# 1.13 21-Nov-2017 rin

Cosmetic changes. No functional changes.


# 1.12 13-Nov-2017 rin

Sorry, remove illegal indents. Real fix for build with USE_WIDECHAR != "yes".


# 1.11 13-Nov-2017 rin

- Add -Wno-unused and -Wno-unsequenced for gcc and clang, respectively.
This is because encoding conversion macros yield such like:

#define FILE2INT5(sp,buf,n,nlen,w,wlen) (w = n, wlen = nlen, 0)

- Silence gcc warnings on nonliteral arguments for snprintf(3) in v_increment.c,
that are overlooked for swprintf(3) in the case of USE_WIDECHAR == "yes".


# 1.10 13-Nov-2017 rin

Use mvwchgat(3), which is not a macro in general (and in our case).


# 1.9 06-Nov-2017 rin

No need to compile in ip_*.c and ipc_*.c to nvi, although they are
necessary for generation of header files.

Reduce 5% of binary size on amd64.


# 1.8 06-Nov-2017 rin

Introduce HAVE_XXX macros to where they should be.
No binary changes, but possibly improve portability for, e.g.,
sync with pkgsrc version in the near future.


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.7 28-Nov-2015 christos

PR/50484: Rin Okuyama: fix the script command of vi(1)


# 1.6 23-Jan-2015 christos

add QUEUEDEBUG commented out


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 tls-maxphys-base netbsd-7-base tls-earlyentropy-base
# 1.5 23-May-2014 dholland

branches: 1.5.2; 1.5.4; 1.5.8;
PR toolchain/48833: Ilia Zykov: nvi build fails if under /common

When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.4 30-Nov-2013 christos

branches: 1.4.2; 1.4.4;
Don't rebuild the header files all the time if they did not change


# 1.3 29-Nov-2013 christos

Bring back the compatibility db3->db1 code from the old vi.
This is selected with -DUSE_DB1 in the Makefile. By default
use use the db1 specific code from the current nvi which is
enabled using -DUSE_BUNDLED_DB. Unfortunately recovery seems
to be broken for both.


# 1.2 29-Nov-2013 christos

fix tracing.


# 1.1 22-Nov-2013 christos

Add build glue and docs


# 1.18 04-Feb-2019 mrg

- use -Wno-error=implicit-fallthrough with GCC7.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.17 07-Aug-2018 rin

Add imctrl and imkey options, inspired by cannactrl and fepkey options in
nvi-m17n by itojun.

If imctrl option is set, input method is controlled by using escape
sequences compatible to Tera Term and RLogin. The state of input method in
commands specified by imkey option is saved and restored automatically.
Input method is then deactivated on returning to command mode.


Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.16 21-Nov-2017 rin

branches: 1.16.2;
Bump WARNS to 5. Add -Wno-old-style-definition to regex.c for gcc.


# 1.15 21-Nov-2017 rin

Enable -Wuninitialized -Wformat-security for clang.


# 1.14 21-Nov-2017 rin

We always need -Wno-format-nonliteral for v_increment.c whether compiler is
gcc or clang.


# 1.13 21-Nov-2017 rin

Cosmetic changes. No functional changes.


# 1.12 13-Nov-2017 rin

Sorry, remove illegal indents. Real fix for build with USE_WIDECHAR != "yes".


# 1.11 13-Nov-2017 rin

- Add -Wno-unused and -Wno-unsequenced for gcc and clang, respectively.
This is because encoding conversion macros yield such like:

#define FILE2INT5(sp,buf,n,nlen,w,wlen) (w = n, wlen = nlen, 0)

- Silence gcc warnings on nonliteral arguments for snprintf(3) in v_increment.c,
that are overlooked for swprintf(3) in the case of USE_WIDECHAR == "yes".


# 1.10 13-Nov-2017 rin

Use mvwchgat(3), which is not a macro in general (and in our case).


# 1.9 06-Nov-2017 rin

No need to compile in ip_*.c and ipc_*.c to nvi, although they are
necessary for generation of header files.

Reduce 5% of binary size on amd64.


# 1.8 06-Nov-2017 rin

Introduce HAVE_XXX macros to where they should be.
No binary changes, but possibly improve portability for, e.g.,
sync with pkgsrc version in the near future.


Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.7 28-Nov-2015 christos

PR/50484: Rin Okuyama: fix the script command of vi(1)


# 1.6 23-Jan-2015 christos

add QUEUEDEBUG commented out


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 tls-maxphys-base netbsd-7-base tls-earlyentropy-base
# 1.5 23-May-2014 dholland

branches: 1.5.2; 1.5.4; 1.5.8;
PR toolchain/48833: Ilia Zykov: nvi build fails if under /common

When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.4 30-Nov-2013 christos

branches: 1.4.2; 1.4.4;
Don't rebuild the header files all the time if they did not change


# 1.3 29-Nov-2013 christos

Bring back the compatibility db3->db1 code from the old vi.
This is selected with -DUSE_DB1 in the Makefile. By default
use use the db1 specific code from the current nvi which is
enabled using -DUSE_BUNDLED_DB. Unfortunately recovery seems
to be broken for both.


# 1.2 29-Nov-2013 christos

fix tracing.


# 1.1 22-Nov-2013 christos

Add build glue and docs


# 1.16 21-Nov-2017 rin

Bump WARNS to 5. Add -Wno-old-style-definition to regex.c for gcc.


# 1.15 21-Nov-2017 rin

Enable -Wuninitialized -Wformat-security for clang.


# 1.14 21-Nov-2017 rin

We always need -Wno-format-nonliteral for v_increment.c whether compiler is
gcc or clang.


# 1.13 21-Nov-2017 rin

Cosmetic changes. No functional changes.


# 1.12 13-Nov-2017 rin

Sorry, remove illegal indents. Real fix for build with USE_WIDECHAR != "yes".


# 1.11 13-Nov-2017 rin

- Add -Wno-unused and -Wno-unsequenced for gcc and clang, respectively.
This is because encoding conversion macros yield such like:

#define FILE2INT5(sp,buf,n,nlen,w,wlen) (w = n, wlen = nlen, 0)

- Silence gcc warnings on nonliteral arguments for snprintf(3) in v_increment.c,
that are overlooked for swprintf(3) in the case of USE_WIDECHAR == "yes".


# 1.10 13-Nov-2017 rin

Use mvwchgat(3), which is not a macro in general (and in our case).


# 1.9 06-Nov-2017 rin

No need to compile in ip_*.c and ipc_*.c to nvi, although they are
necessary for generation of header files.

Reduce 5% of binary size on amd64.


# 1.8 06-Nov-2017 rin

Introduce HAVE_XXX macros to where they should be.
No binary changes, but possibly improve portability for, e.g.,
sync with pkgsrc version in the near future.


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.7 28-Nov-2015 christos

PR/50484: Rin Okuyama: fix the script command of vi(1)


# 1.6 23-Jan-2015 christos

add QUEUEDEBUG commented out


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 tls-maxphys-base netbsd-7-base tls-earlyentropy-base
# 1.5 23-May-2014 dholland

branches: 1.5.2; 1.5.4; 1.5.8;
PR toolchain/48833: Ilia Zykov: nvi build fails if under /common

When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.4 30-Nov-2013 christos

branches: 1.4.2; 1.4.4;
Don't rebuild the header files all the time if they did not change


# 1.3 29-Nov-2013 christos

Bring back the compatibility db3->db1 code from the old vi.
This is selected with -DUSE_DB1 in the Makefile. By default
use use the db1 specific code from the current nvi which is
enabled using -DUSE_BUNDLED_DB. Unfortunately recovery seems
to be broken for both.


# 1.2 29-Nov-2013 christos

fix tracing.


# 1.1 22-Nov-2013 christos

Add build glue and docs


# 1.9 06-Nov-2017 rin

No need to compile in ip_*.c and ipc_*.c to nvi, although they are
necessary for generation of header files.

Reduce 5% of binary size on amd64.


# 1.8 06-Nov-2017 rin

Introduce HAVE_XXX macros to where they should be.
No binary changes, but possibly improve portability for, e.g.,
sync with pkgsrc version in the near future.


Revision tags: perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.7 28-Nov-2015 christos

PR/50484: Rin Okuyama: fix the script command of vi(1)


# 1.6 23-Jan-2015 christos

add QUEUEDEBUG commented out


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 tls-maxphys-base netbsd-7-base tls-earlyentropy-base
# 1.5 23-May-2014 dholland

branches: 1.5.2; 1.5.4; 1.5.8;
PR toolchain/48833: Ilia Zykov: nvi build fails if under /common

When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.4 30-Nov-2013 christos

branches: 1.4.2; 1.4.4;
Don't rebuild the header files all the time if they did not change


# 1.3 29-Nov-2013 christos

Bring back the compatibility db3->db1 code from the old vi.
This is selected with -DUSE_DB1 in the Makefile. By default
use use the db1 specific code from the current nvi which is
enabled using -DUSE_BUNDLED_DB. Unfortunately recovery seems
to be broken for both.


# 1.2 29-Nov-2013 christos

fix tracing.


# 1.1 22-Nov-2013 christos

Add build glue and docs


Revision tags: pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.7 28-Nov-2015 christos

PR/50484: Rin Okuyama: fix the script command of vi(1)


# 1.6 23-Jan-2015 christos

add QUEUEDEBUG commented out


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 tls-maxphys-base netbsd-7-base tls-earlyentropy-base
# 1.5 23-May-2014 dholland

branches: 1.5.2; 1.5.4;
PR toolchain/48833: Ilia Zykov: nvi build fails if under /common

When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.4 30-Nov-2013 christos

branches: 1.4.2; 1.4.4;
Don't rebuild the header files all the time if they did not change


# 1.3 29-Nov-2013 christos

Bring back the compatibility db3->db1 code from the old vi.
This is selected with -DUSE_DB1 in the Makefile. By default
use use the db1 specific code from the current nvi which is
enabled using -DUSE_BUNDLED_DB. Unfortunately recovery seems
to be broken for both.


# 1.2 29-Nov-2013 christos

fix tracing.


# 1.1 22-Nov-2013 christos

Add build glue and docs