emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in change in button.el?


From: Glenn Morris
Subject: Re: Bug in change in button.el?
Date: Tue, 24 Apr 2007 20:57:10 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Miles Bader wrote:

> Are you sure that you have TERM set correctly (to "linux")?

Yes (though I do sometimes set TERM, so good you made me check).

> Here's what display-supports-face-attributes-p says for the linux console:
>
>    (display-supports-face-attributes-p '(:underline t))
>      => nil
>    (display-supports-face-attributes-p '(:weight bold))
>      => t
>
> If you're using the correct TERM, what do these return for you?

Same as for you, but I don't see bold, either in or out of Emacs. Eg
in man pages, or if I run the good old bash colour script. This is on
RHEL4.4. A quick web search suggests this may be due to RH's choice of
console font (latarcyrheb-sun16 it seems).


#!/bin/bash

esc="\033["

echo -n " _ _ _ _ _40 _ _ _ 41_ _ _ _42 _ _ _ 43"
echo "_ _ _ 44_ _ _ _45 _ _ _ 46_ _ _ _47 _"

for fore in 30 31 32 33 34 35 36 37; do

    line1="$fore  "
    line2="    "

    for back in 40 41 42 43 44 45 46 47; do

        line1="${line1}${esc}${back};${fore}m Normal  ${esc}0m"
        line2="${line2}${esc}${back};${fore};1m Bold    ${esc}0m"

    done

    echo -e "$line1\n$line2"

done





reply via email to

[Prev in Thread] Current Thread [Next in Thread]