]> git.pld-linux.org Git - packages/compat-ncurses5.git/blame - ncurses-fix-nonunicode-breakage.patch
- rediffed
[packages/compat-ncurses5.git] / ncurses-fix-nonunicode-breakage.patch
CommitLineData
8dc283a7
JB
1ncurses-5.9-20110716.patch changes linux term to use SI/SO (use G1 charset)
2for selecting alternate character set; however, it kept acsc to use CP437
3codes - it had a chance to work on non-unicode terminal only if G1 was mapped
4to CP437 map, which is not the default; the default for G1 is VT100 map, which
5works with VT100-specific acsc string - and that's what this patch changes.
6
e7cbaa4d
MK
7diff -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
8dc283a7
JB
13 linux2.6|linux 2.6.x console,
14+ acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
15 rmacs=^O,
e7cbaa4d 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%;,
8dc283a7 17 sgr0=\E[m\017, smacs=^N, use=linux2.2,
This page took 0.043415 seconds and 4 git commands to generate.