aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/ncurses/tinfo
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-10-12 10:22:52 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-10-12 10:22:52 +0000
commit211e7e41087c5369c4c23c23c070700f4359079f (patch)
tree7d1b2e8837ec78ea649eb6eded974c21e3184202 /contrib/ncurses/ncurses/tinfo
parentb82face19ffe7bbde78f772e93cf2d0d9f42fbdf (diff)
downloadsrc-211e7e41087c5369c4c23c23c070700f4359079f.tar.gz
src-211e7e41087c5369c4c23c23c070700f4359079f.zip
Fix problem with missing pseudographics on stock xterm* entries -
import official fix onto the vendor branch. Submitted by: Thomas Dickey <dickey@herndon4.his.com> Approved by: no response from maintainer
Notes
Notes: svn path=/vendor/ncurses/dist/; revision=104977
Diffstat (limited to 'contrib/ncurses/ncurses/tinfo')
-rw-r--r--contrib/ncurses/ncurses/tinfo/comp_parse.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/ncurses/ncurses/tinfo/comp_parse.c b/contrib/ncurses/ncurses/tinfo/comp_parse.c
index d59e4a55348e..f11843828e09 100644
--- a/contrib/ncurses/ncurses/tinfo/comp_parse.c
+++ b/contrib/ncurses/ncurses/tinfo/comp_parse.c
@@ -465,6 +465,14 @@ sanity_check(TERMTYPE * tp)
PAIRED(enter_underline_mode, exit_underline_mode)
}
+ /* we do this check/fix in postprocess_termcap(), but some packagers
+ * prefer to bypass it...
+ */
+ if (acs_chars == 0
+ && enter_alt_charset_mode != 0
+ && exit_alt_charset_mode != 0)
+ acs_chars = strdup(VT_ACSC);
+
/* listed in structure-member order of first argument */
PAIRED(enter_alt_charset_mode, exit_alt_charset_mode);
ANDMISSING(enter_alt_charset_mode, acs_chars);