From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: turning off underlining, bold, all faces Date: Sat, 26 Mar 2005 02:04:42 +0100 Organization: sometimes Message-ID: <7er7i3fc9h.fsf@ada2.unipv.it> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111799690 31900 80.91.229.2 (26 Mar 2005 01:14:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 Mar 2005 01:14:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 26 02:14:50 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DEzsS-0002BM-7L for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Mar 2005 02:14:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DF082-0007oY-Pc for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Mar 2005 20:30:18 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 81 Original-NNTP-Posting-Host: ada2.unipv.it Original-X-Trace: quimby.gnus.org 1111799080 4147 193.204.44.145 (26 Mar 2005 01:04:40 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sat, 26 Mar 2005 01:04:40 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:GourGVjSxi/IB5+LjJzefVcla1E= Original-Xref: shelby.stanford.edu gnu.emacs.help:129620 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:25171 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25171 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