Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art.animation, 17 Mar 1994.
Re: Help
In article <CMp...@dcs.ed.ac.uk> Chi Tsang, ck...@dcs.ed.ac.uk writes:
> Also, is there any way to decompile these files to see what they look 
> like. Are they written in C? 

A C program that does neat stuff when typed, that would be interesting.  
Actually, vt animations are just text files.  The effects are created 
using ASCII character 027d (1Bh, 33o), the escape character.  Following 
my sig is a list of vt100 control codes that I pulled off of a.a-a a 
while ago (my additions are marked with `]').  To see the codes, rather 
than the effects of the codes, just look at the file in a text editor 
(Emacs in Unix is good, DOS EDIT in DOS is good).  Or, in Unix, use the 
command `cat -v filename.vt'.  

There's allegedly a program called The Draw (I'm not sure what platform 
it's for) that will help you animate, but it's as elusive to a.a-a[.a] 
readers as rec.humor's GGBJ.

(Vt animation is one kind of ASCII animation--the other would be a  
program that animates when run (not typed).)

I hope this helps all curious parties--now all you have to do is create 
an animation (hey, no problem :-) and post it.
--
Matt Messina
mes...@umich.edu

--

Newsgroups: alt.ascii-art
From: sst...@nyx10.cs.du.edu (Susan Loggiodice)
Subject: Re: How To Animate .plan [Novices Level]

>Question: How do I change the text on the screen to be reversed,
>          flashing, etc?

    This is done with escape sequences!  An escape sequence is a
sequence of characters, beginning with chr(27), the escape character,
which is interpreted by the terminal to manipulate the output in
various ways.

    How does one create an escape sequence?
] In Gnu Emacs: C-Q <esc>, where <esc> is the escape key
] In vi:        ^V ^[
] In DOS EDIT:  ^P <esc>
] On the Macintosh?  Any Mac users know how?

    Some of the basic escape sequences on the vt's and the ibm vt
emulator (kermit) are:

 DESCRIPTION                   ESCAPE SEQUENCE

 normal text (resets text)      <esc>[0m
 Highlighted text               <esc>[1m
 Underlined text                <esc>[4m
 Flashing text                  <esc>[5m
 Reversed text                  <esc>[7m
 double size text               <esc>#3  both must be written
                                <esc>#4  both must be written
 double width text              <esc>#6

 Fill screen with E's           <esc>#8
 Screen Blank                   <esc>[2J
 erases from cursor to
   end of line                  <esc>[K
 sets for 80 column mode        <esc>[?3h
 sets for 132 column mode       <esc>[?3L
 turns smooth scroll on         <esc>[?4h
 turns smooth scroll off        <esc>[?4l
 turns reverse video on         <esc>[?5h
 turns reverse video off        <esc>[?5l
 cursor home                    <esc>[?6h

 move cursor up x lines         <esc>[xA         x defaults to 1
 move cursor down x lines       <esc>[xB         x defaults to 1
 move cursor right y spaces     <esc>[yC         y defaults to 1
 move cursor left y spaces      <esc>[yD         y defaults to 1
 cursor position                <esc>[y;xf       1<=y<=24   1<=x<=80
 cursor position                <esc>[y;xH       1<=y<=24   1<=x<=80

 sets scrolling between
   A and B                      <esc>[A;Br
 toggle to graphics mode        <esc>(0
 toggle from graphics mode      <esc>(B

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd588,dd18b96d6a8b0583
X-Google-Attributes: gidfd588,public
X-Google-ArrivalTime: 1994-03-16 23:20:19 PST
Path: gmd.de!newsserver.jvnc.net!netnews.upenn.edu!msuinfo!uwm.edu!math.ohio-state.edu!caen!lsa.umich.edu!burs9.ccs.itd.umich.edu!messina
From: Matt Messina <mes...@umich.edu>
Newsgroups: alt.ascii-art.animation
Subject: Re: Help
Date: 17 Mar 1994 07:20:19 GMT
Organization: University of Michigan
Lines: 83
Distribution: world
Message-ID: <2m90bj$ne...@controversy.math.lsa.umich.edu>
References: <CMp...@dcs.ed.ac.uk>
NNTP-Posting-Host: burs9.ccs.itd.umich.edu
X-UserAgent: Nuntius v1.1.1d24
About this message. This message was posted publicly to the newsgroup alt.ascii-art.animation in 1994 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post