Mercurial > emacs
comparison src/term.c @ 5933:560cee2048ed
(term_init): If no `se', use `me';
if no `me' either, don't use standout mode at all.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 12 Feb 1994 22:32:39 +0000 |
parents | bd8a172bf8a0 |
children | 0e4319197d29 |
comparison
equal
deleted
inserted
replaced
5932:86efd91bb72c | 5933:560cee2048ed |
---|---|
1504 TN_standout_width = tgetnum ("ug"); | 1504 TN_standout_width = tgetnum ("ug"); |
1505 TS_end_standout_mode = tgetstr ("ue", address); | 1505 TS_end_standout_mode = tgetstr ("ue", address); |
1506 TS_standout_mode = tgetstr ("us", address); | 1506 TS_standout_mode = tgetstr ("us", address); |
1507 } | 1507 } |
1508 | 1508 |
1509 /* If no `se' string, try using a `me' string instead. | |
1510 If that fails, we can't use standout mode at all. */ | |
1511 if (TS_end_standout_mode == 0) | |
1512 { | |
1513 char *s = tgetstr ("me"); | |
1514 if (s != 0) | |
1515 TS_end_standout_mode = s; | |
1516 else | |
1517 TS_standout_mode = 0; | |
1518 } | |
1519 | |
1509 if (TF_teleray) | 1520 if (TF_teleray) |
1510 { | 1521 { |
1511 Wcm.cm_tab = 0; | 1522 Wcm.cm_tab = 0; |
1512 /* Teleray: most programs want a space in front of TS_standout_mode, | 1523 /* Teleray: most programs want a space in front of TS_standout_mode, |
1513 but Emacs can do without it (and give one extra column). */ | 1524 but Emacs can do without it (and give one extra column). */ |