]> git.pld-linux.org Git - packages/compat-ncurses5.git/blob - ncurses-fix-nonunicode-breakage.patch
- rediffed
[packages/compat-ncurses5.git] / ncurses-fix-nonunicode-breakage.patch
1 ncurses-5.9-20110716.patch changes linux term to use SI/SO (use G1 charset)
2 for selecting alternate character set; however, it kept acsc to use CP437
3 codes - it had a chance to work on non-unicode terminal only if G1 was mapped
4 to CP437 map, which is not the default; the default for G1 is VT100 map, which
5 works with VT100-specific acsc string - and that's what this patch changes.
6
7 diff -urNp -x '*.orig' compat-ncurses5-5.9.20150117.org/misc/terminfo.src compat-ncurses5-5.9.20150117/misc/terminfo.src
8 --- compat-ncurses5-5.9.20150117.org/misc/terminfo.src  2023-07-21 00:00:49.116051986 +0200
9 +++ compat-ncurses5-5.9.20150117/misc/terminfo.src      2023-07-21 00:00:50.115066314 +0200
10 @@ -1633,6 +1633,7 @@ linux2.2|linux 2.2.x console,
11  # Further, this breaks longstanding workarounds for Linux console's line
12  # drawing (see Debian 665959) -TD
13  linux2.6|linux 2.6.x console,
14 +       acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
15         rmacs=^O,
16         sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;m%?%p9%t\016%e\017%;,
17         sgr0=\E[m\017, smacs=^N, use=linux2.2,
This page took 0.130857 seconds and 3 git commands to generate.