mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
19 lines
627 B
Plaintext
19 lines
627 B
Plaintext
$NetBSD: patch-ag,v 1.5 2013/11/12 20:38:37 minskim Exp $
|
|
|
|
When running terminfo but compiled for termcap, we cannot assume
|
|
that we actually have anything useable in termcap_term_buffer so just
|
|
use the terminfo fixed size defined ealier.
|
|
|
|
--- src/term.c.orig 2013-09-26 00:46:29.000000000 +0000
|
|
+++ src/term.c
|
|
@@ -3042,7 +3042,9 @@ use the Bourne shell command `TERM=... e
|
|
terminal_type);
|
|
}
|
|
|
|
+#ifndef TERMINFO
|
|
area = tty->termcap_strings_buffer;
|
|
+#endif
|
|
tty->TS_ins_line = tgetstr ("al", address);
|
|
tty->TS_ins_multi_lines = tgetstr ("AL", address);
|
|
tty->TS_bell = tgetstr ("bl", address);
|