# Ansi Escape codes

David Matovich (david@castle.net)
Fri, 8 Mar 1996 14:16:36 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    I dont know if this will exactley solve your problem, but I programmed
    CastleMOOs ansi system(I just use a BF that returns the escape
    character).  The correct escape sequence to clear a players screen is:
    ESC[2J
    So, if you can FUP that in, and get it to the players terminal it will
    clear the screen.

    On Thu, 7 Mar 1996, John Moser wrote:

    > I've been playing around with DarkOwl's Ansi_Utils stuff, trying to
    > figure out if it's possible to send a screen clearing code, and I have
    > yet to find one.  Anyone out there know of a code to read using FUP that
    > will clear a player's screen when the code is sent to them using
    > player:notify('code') with the Ansi_utils?
    >
    > Thanks in advance,
    > John Moser
    > Archwizard of OlympusMOO
    > Olympus@fly.net
    >
    >