$NetBSD: patch-ae,v 1.8 2020/02/07 12:19:00 ryoon Exp $ Don't pollute G1 to allow 8-bit encondings. The original code made the TERMCAP env var longer than 1023 bytes, which causes problems. This is a quick hack but works with our termcap. --- termcap.c.orig 2020-02-05 20:09:38.000000000 +0000 +++ termcap.c @@ -78,7 +78,7 @@ char *extra_incap, *extra_outcap; static const char TermcapConst[] = "DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:\ UP=\\E[%dA:bs:bt=\\E[Z:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:\ ct=\\E[3g:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\ -le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:"; +le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E(B:"; char * gettermcapstring(s)