forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
15 lines
364 B
C
15 lines
364 B
C
--- 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;
|