summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-02-12 22:32:39 +0000
committerRichard M. Stallman <rms@gnu.org>1994-02-12 22:32:39 +0000
commit667a2fd28c5ccf71f5c23ebbdcfebc2b3d59cc4d (patch)
treec2d483765465c7a994e87f9c44881818e20f78f9 /src/term.c
parent08f49478550baf7329bc71b5ad6e02845b8c5a0d (diff)
downloademacs-667a2fd28c5ccf71f5c23ebbdcfebc2b3d59cc4d.tar.gz
(term_init): If no `se', use `me';
if no `me' either, don't use standout mode at all.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c11
1 files changed, 11 insertions, 0 deletions
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;