Gnus development mailing list
 help / color / mirror / Atom feed
From: Greg Stark <gsstark@MIT.EDU>
Subject: Smiley.el
Date: 07 Nov 1997 02:02:34 -0500	[thread overview]
Message-ID: <ycq3el9kwz9.fsf@portD27.Generation.NET> (raw)
In-Reply-To: Wes Hardaker's message of "05 Nov 1997 15:29:11 -0800"


Ever wish you smiley.el worked on a terminal? Well it can't, but it there are
two smiley faces in the standard pc console font that it could use. I don't
know what console escape sequence to use to access them except on linux. On
linux the escape sequence to switch fonts is: ^[[11m and the characters are 1
and 2.

So:
(aset standard-display-table 25 (vector (create-glyph "\^[[11m\^A\^[[10m")))
(aset standard-display-table 26 (vector (create-glyph "\^[[11m\^B\^[[10m")))

make ^X and ^Z display as smiley faces on a terminal on linux i386 
(and probably on an alpha with a vga card).

One caveat, W3 already plays with the display-table for for ^A-^O in the
standard-display-table. I want to make it use a private display-table but as
it stands it would be nice if Gnus used either higher control characters,
control characters with the high bit set, or a private display-table.

greg


             reply	other threads:[~1997-11-07  7:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-07  7:02 Greg Stark [this message]
1997-11-13 21:16 ` Smiley.el Lars Magne Ingebrigtsen
1997-11-14  5:39   ` Smiley.el Hrvoje Niksic
  -- strict thread matches above, loose matches on Subject: below --
1996-06-17 14:07 smiley.el Dr. Pete Gieser

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

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

  git send-email \
    --in-reply-to=ycq3el9kwz9.fsf@portD27.Generation.NET \
    --to=gsstark@mit.edu \
    /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 NNTP newsgroup(s).