From afd359c4bb738e74a9f821f74d4e4aebddf70957 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 12 Feb 1994 22:32:39 +0000 Subject: [PATCH] (term_init): If no `se', use `me'; if no `me' either, don't use standout mode at all. --- src/term.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/term.c b/src/term.c index 50651a64c78..fc3d0c7d913 100644 --- a/src/term.c +++ b/src/term.c @@ -1506,6 +1506,17 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n", TS_standout_mode = tgetstr ("us", address); } + /* If no `se' string, try using a `me' string instead. + If that fails, we can't use standout mode at all. */ + if (TS_end_standout_mode == 0) + { + char *s = tgetstr ("me"); + if (s != 0) + TS_end_standout_mode = s; + else + TS_standout_mode = 0; + } + if (TF_teleray) { Wcm.cm_tab = 0; -- 2.39.5