Unix xmas tree

Mark A. Heilpern heilpern at ibd.BRL.MIL
Wed Jan 4 00:39:34 AEST 1989


In article <4321 at freja.diku.dk> seindal at sleipner.diku.dk (Rene' Seindal) writes:
>gupta at uxe.cso.uiuc.edu writes:
>
>> I received this "cute" file last week and when you do a 'cat' or 'more' on
>> it then it'll draw a christmas tree and a train circling it. It only works
>> on vt100s and I've been trying to figure out how it works. 
>
>I peeked at it, and found out that it replies heavily on an alternate
>character set, which makes it impossible to convert it to other terminals
>without a similar alternate character set.  It would have looked great in
>motd, though :-)

NOT TRUE! Although if the alt char set is available it is used, it is not
required. I use both a dedicated vt100 terminal (with char set) and a PC
running under kermit, in vt100 emulation, OR under CROSSTALK in vt100 mode.
The xmas tree works in all these, though ONE of the PC terminal emulators
(I'm not sure which) does not display fancy graphics, just characters.
The result is not as pleasing, but just as comprehensible. The escape
and control codes used ONLY work for a vt100 terminal, there is no such
thing as mix-and-match codes for other terminals.

-- 
 |\/|         |
 |  |   _     |<
/    \_(_(_)\_/ \______



More information about the Comp.unix.questions mailing list