summaryrefslogtreecommitdiff
path: root/sysutils/screen/files/patch-termcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/screen/files/patch-termcap.c')
-rw-r--r--sysutils/screen/files/patch-termcap.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/screen/files/patch-termcap.c b/sysutils/screen/files/patch-termcap.c
new file mode 100644
index 000000000000..426bb1516fd6
--- /dev/null
+++ b/sysutils/screen/files/patch-termcap.c
@@ -0,0 +1,15 @@
+--- 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(%.";
+-#endif
++ D_CS0 = "\033(%p1%c"; /* Old ncurses can't handle %. */
+ if (D_CE0 == 0)
+ D_CE0 = "\033(B";
+ D_AC = 0;