aboutsummaryrefslogtreecommitdiffstats
path: root/misc/screen
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-10-11 09:46:51 +0800
committerache <ache@FreeBSD.org>2000-10-11 09:46:51 +0800
commita56d09e97ff2890f2971f516f76329a4d60af733 (patch)
tree5457983499132b9be999dac91de60bfdebcb202f /misc/screen
parentae78df44b6072dafd6e05f027b9fca6589a14d86 (diff)
downloadfreebsd-ports-gnome-a56d09e97ff2890f2971f516f76329a4d60af733.tar.gz
freebsd-ports-gnome-a56d09e97ff2890f2971f516f76329a4d60af733.tar.zst
freebsd-ports-gnome-a56d09e97ff2890f2971f516f76329a4d60af733.zip
Use more terminfo-compatible fix
Diffstat (limited to 'misc/screen')
-rw-r--r--misc/screen/files/patch-af20
1 files changed, 12 insertions, 8 deletions
diff --git a/misc/screen/files/patch-af b/misc/screen/files/patch-af
index 9b9c6789c97d..426bb1516fd6 100644
--- a/misc/screen/files/patch-af
+++ b/misc/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;