sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
* smileys
@ 1994-02-03 17:52 Arnold Robbins
  0 siblings, 0 replies; only message in thread
From: Arnold Robbins @ 1994-02-03 17:52 UTC (permalink / raw)
  To: sam-fans

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

Unicode has two smileys and a saddy, but they're up at some absolutely
awful hex addresses I can never remeber. So I broke down and added alt codes
to libXg to handle them. ☺

Apply this diff to latin1.c in libXg and recompile 9term.  I haven't tested
samterm yet but it oughta work.  Bobf, can we get these into "the next
release" whenever that will be?

Enjoy,

(☻)

Arnold
----------------
*** latin1.c.orig	Tue Sep 28 11:31:50 1993
--- latin1.c	Thu Feb  3 12:45:03 1994
***************
*** 208,213 ****
--- 208,216 ----
  	0x22a8,	'T','u',	/* valid */
  	0x22c4,	'l','z',	/* lozenge */
  	0x22ef,	'e','l',	/* ellipses */
+ 	0x2639, ':','(',	/* saddy */
+ 	0x263a, ':',')',	/* white-face smiley */
+ 	0x263b, ';',')',	/* dark-face smiley */
  	0,	0,
  };
  


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-02-03 17:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-02-03 17:52 smileys Arnold Robbins

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).