summaryrefslogtreecommitdiff
path: root/sysutils/screen/files/patch-af
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-10-11 01:46:51 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-10-11 01:46:51 +0000
commit04fd394249860c577445d042e42ed988ba60460b (patch)
treeca5b2408439a1e66b74fd6e7bfd290b47f9a8a13 /sysutils/screen/files/patch-af
parentRemove share/sgml/catalog if it's empty. (diff)
Use more terminfo-compatible fix
Notes
Notes: svn path=/head/; revision=33696
Diffstat (limited to 'sysutils/screen/files/patch-af')
-rw-r--r--sysutils/screen/files/patch-af20
1 files changed, 12 insertions, 8 deletions
diff --git a/sysutils/screen/files/patch-af b/sysutils/screen/files/patch-af
index 9b9c6789c97d..426bb1516fd6 100644
--- a/sysutils/screen/files/patch-af
+++ b/sysutils/screen/files/patch-af
@@ -1,11 +1,15 @@
---- termcap.c.bak Wed Jul 5 16:33:30 2000
-+++ termcap.c Sat Sep 16 03:13:26 2000
-@@ -358,7 +358,7 @@
- #ifdef TERMINFO
- D_CS0 = "\033(%p1%c";
- #else
+--- termcap.c.orig Wed Jul 5 16:33:30 2000
++++ termcap.c Wed Oct 11 05:40:12 2000
+@@ -355,11 +355,7 @@
+ if (D_CG0)
+ {
+ if (D_CS0 == 0)
+-#ifdef TERMINFO
+- D_CS0 = "\033(%p1%c";
+-#else
- D_CS0 = "\033(%.";
-+ D_CS0 = "\033(%c"; /* THIS IS NCURSES BUG, MUST BE %. */
- #endif
+-#endif
++ D_CS0 = "\033(%p1%c"; /* Old ncurses can't handle %. */
if (D_CE0 == 0)
D_CE0 = "\033(B";
+ D_AC = 0;