e85e0e7c8f
patch provided via PR 46502 by Yasushi Oshima. Bump PKGREVISION.
33 lines
964 B
Text
33 lines
964 B
Text
$NetBSD: patch-ad,v 1.5 2012/05/31 13:05:27 obache Exp $
|
|
|
|
* Add missing initialization of VMIN and VTIME member of termio's c_cc array
|
|
as xterm(1) do.
|
|
* Fix copy & paste segfault with ext06 patches.
|
|
|
|
--- main.c.orig 2012-05-31 12:41:16.000000000 +0000
|
|
+++ main.c
|
|
@@ -1310,6 +1310,8 @@ char **argv;
|
|
d_tio.c_cc[VQUIT] = CQUIT; /* '^\' */
|
|
d_tio.c_cc[VEOF] = CEOF; /* '^D' */
|
|
d_tio.c_cc[VEOL] = CEOL; /* '^@' */
|
|
+ d_tio.c_cc[VMIN] = 1;
|
|
+ d_tio.c_cc[VTIME] = 0;
|
|
#ifdef VSWTCH
|
|
d_tio.c_cc[VSWTCH] = CSWTCH; /* usually '^Z' */
|
|
#endif
|
|
@@ -1612,6 +1614,7 @@ char **argv;
|
|
update_reversevideo();
|
|
}
|
|
#ifdef KTERM_KANJIMODE
|
|
+ make_unicode_map();
|
|
if (term->misc.k_m) {
|
|
switch (term->misc.k_m[0]) {
|
|
case 'e': case 'E': case 'x': case 'X':
|
|
@@ -1625,7 +1628,6 @@ char **argv;
|
|
case 'u': case 'U':
|
|
term->flags |= UTF8_KANJI;
|
|
update_utf8mode();
|
|
- make_unicode_map();
|
|
break;
|
|
default:
|
|
break;
|