[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Perl and VT100 animation



John Bremer <john.f.bremer@boeing.com> writes:
>I'm teaching an after school programming class at my local 
>middle school and we'd like to use Perl to create some VT100
>animations.  We have found lots of these files on the Web,
>but have yet to find a good description of how to create
>them.

With Unix Perl, your best bet might be to just use curses.

>The files consist of VT100 escape character sequences
>that specify the column and row for where to display the 
>characters on the screen, etc.  I suppose we could create such
>a file by printing out the octal values of the the escape
>characters to a file and then using backticks to "cat" the 
>file?

Direct "print" would do just as well.

>Has anyone played with this at all?  Is there a way 
>to print the VT100 lines directly from Perl instead of using 
>the system "cat" and can we do this in MacPerl you think?

I'm afraid MacPerl doesn't support terminal control in this way (yet :-).

>Also, I hear that Perl/TK robot animation exists somewhere

Possibly.

> and that MacPerl Perl/TK is coming? 

That's a vicious rumor, but one that is not entirely without a factual basis
:-)

I have stated on a few occasions that I would not consider a Perl/Tk port
before Perl/Tk worked with Tk 8. Now, it seems tht Perl/Tk 8 is on its way,
from which people have concluded that Mac Perl/Tk is imminent.

In fact, I have *not* done any work on MacPerl/Tk, but it is indeed somewhere
on my list (Decidedly *behind* thread support, though).

Matthias

-- 
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
   "I'm set free to find a new illusion" -- Velvet Underground

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch