From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12794 Path: main.gmane.org!not-for-mail From: Greg Stark Newsgroups: gmane.emacs.gnus.general Subject: Smiley.el Date: 07 Nov 1997 02:02:34 -0500 Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152268 5724 80.91.224.250 (20 Oct 2002 22:17:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:17:48 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id XAA01192 for ; Thu, 6 Nov 1997 23:55:03 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id BAA12331 for ; Fri, 7 Nov 1997 01:55:45 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id IAA01308 for ; Fri, 7 Nov 1997 08:02:47 +0100 (MET) Original-Received: (qmail 17767 invoked by uid 504); 7 Nov 1997 07:02:46 -0000 Original-Received: (qmail 17764 invoked from network); 7 Nov 1997 07:02:44 -0000 Original-Received: from portD27.Generation.NET (brnstnd@kramden.acf.nyu.edu@205.205.119.192) by claymore.vcinet.com with SMTP; 7 Nov 1997 07:02:43 -0000 Original-Received: by portD27.Generation.NET id m0xTiR9-000AtSC (Debian Smail-3.2 1996-Jul-4 #2); Fri, 7 Nov 1997 02:02:35 -0500 (EST) Original-To: ding@gnus.org In-Reply-To: Wes Hardaker's message of "05 Nov 1997 15:29:11 -0800" Original-Lines: 20 X-Mailer: Gnus v5.4.64/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:12794 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12794 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