Commit afd359c4 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(term_init): If no `se', use `me';

if no `me' either, don't use standout mode at all.
parent d9a71a8f
...@@ -1506,6 +1506,17 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n", ...@@ -1506,6 +1506,17 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n",
TS_standout_mode = tgetstr ("us", address); 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) if (TF_teleray)
{ {
Wcm.cm_tab = 0; Wcm.cm_tab = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment