unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@glug.org>
Subject: Re: turning off underlining, bold, all faces
Date: Sat, 26 Mar 2005 02:04:42 +0100	[thread overview]
Message-ID: <7er7i3fc9h.fsf@ada2.unipv.it> (raw)
In-Reply-To: mailman.228.1111778664.28103.help-gnu-emacs@gnu.org

karl@freefriends.org (Karl Berry) writes:

> devising a new terminal type
> without the attributes would have the same effect.

here is a command you can use in emacs' src/ subdir:

sed -e '/T[SN]_.*= tget/!d' \
    -e 's/= tget......//' \
    -e 's/\".*//' \
    -e 's/.*\(T[SN]_.*\) \([^ ][^ ]*\)$/\2 \1/' \
    term.c

it shows which terminal capabilities are used by emacs
on console to effect bold, underline, etc.  you can copy
the vt100 entry from /etc/termcap (or wherever) and remove
those capabilities you wish to disable.  for example, to
zonk bold, change ":md=BLAH:" to ":".  save the entry to
~/.termcap and set the TERMCAP env var to that file.  you
have to exit/restart emacs at this point, (un)fortunately,
to use the new settings.

i've appended the output for those (poor souls) w/o access
to source code, or are otherwise uninclined to experiment,
or are otherwise bound by idiotic legal systems that mar
their free thought potential.

thi

____________________________
al TS_ins_line
AL TS_ins_multi_lines
bl TS_bell
cd TS_clr_to_bottom
ce TS_clr_line
cl TS_clr_frame
cs TS_set_scroll_region
cS TS_set_scroll_region_1
dc TS_del_char
DC TS_del_multi_chars
dl TS_del_line
DL TS_del_multi_lines
dm TS_delete_mode
ed TS_end_delete_mode
ei TS_end_insert_mode
ic TS_ins_char
IC TS_ins_multi_chars
im TS_insert_mode
ip TS_pad_inserted_char
ke TS_end_keypad_mode
ks TS_keypad_mode
pc TS_pad_char
rp TS_repeat
se TS_end_standout_mode
sf TS_fwd_scroll
so TS_standout_mode
sr TS_rev_scroll
te TS_end_termcap_modes
ti TS_termcap_modes
vb TS_visible_bell
ve TS_cursor_normal
vs TS_cursor_visible
vi TS_cursor_invisible
wi TS_set_window
us TS_enter_underline_mode
ue TS_exit_underline_mode
md TS_enter_bold_mode
mh TS_enter_dim_mode
mb TS_enter_blink_mode
mr TS_enter_reverse_mode
as TS_enter_alt_charset_mode
ae TS_exit_alt_charset_mode
me TS_exit_attribute_mode
op TS_orig_pair
AF TS_set_foreground
AB TS_set_background
Sf TS_set_foreground
Sb TS_set_background
Co TN_max_colors
pa TN_max_pairs
NC TN_no_color_video

       reply	other threads:[~2005-03-26  1:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.228.1111778664.28103.help-gnu-emacs@gnu.org>
2005-03-26  1:04 ` Thien-Thi Nguyen [this message]
2005-03-26  1:20   ` turning off underlining, bold, all faces Thien-Thi Nguyen
2005-03-26  2:07 ` Sean Richards
2005-03-25 19:08 Karl Berry
2005-03-25 19:34 ` Joe Corneli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7er7i3fc9h.fsf@ada2.unipv.it \
    --to=ttn@glug.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).