help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: A nice gnus thread tree in console


From: Johan Bockgård
Subject: Re: A nice gnus thread tree in console
Date: Fri, 08 Dec 2006 20:13:08 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (gnu/linux)

Leo <address@hidden> writes:

> I don't quite understand how people find the glyphs.
>
> (dolist (c '((?\207 . ?q) (?\216 . ?x) (?\212 . ?t) (?\203 . ?m)))
>   (aset standard-display-table (car c)
>       (vector (create-glyph (concat "\e(0" "\e[35m" ; magenta
>                                     (char-to-string (cdr c))
>                                     "\e[0m" "\e(B")))))

"ESC ( C" switches character sets.
"ESC [ N m" selects color.

    http://www.xfree86.org/current/ctlseqs.html

"m" is a lower-left corner character etc.

    http://vt100.net/docs/tp83/appendixa.html (bottom)

The \nnn numbers are somewhat arbitrary in this context.

-- 
Johan Bockgård


reply via email to

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