head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.10 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.8 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.6 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.4 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.2 pkgsrc-2025Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2025.02.07.03.15.06; author ryoon; state Exp; branches; next ; commitid AmF1up5wywoP9uIF; desc @@ 1.1 log @misc/screen4: import screen-4.9.1 Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). Each virtual terminal provides the functions of a DEC VT100 terminal and, in addition, several control functions from the ANSI X3.64 (ISO 6429) and ISO 2022 standards (e.g. insert/delete line and support for multiple character sets). There is a scrollback history buffer for each virtual terminal and a copy-and-paste mechanism that allows moving text regions between windows. misc/screen-5.0.0 does not work under xterm. Reversed strings are not displayed properly at least. Import working GNU screen 4 as misc/screen4. And screen-5.0.0 does not have codes for older platforms. @ text @$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) @