[Home] [Groups] - Message: [Prev in Group] [Next in Group]
11419: RE: [MUD-Dev] Attracting players
[Full Header] [Plain Text]
From: Caliban Tiresias Darklock <caliban@darklock.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Tue, 05 Oct 1999 16:34:02 -0700
References: [1]
Organization: Kanga.Nu
On 12:57 PM 10/4/1999 -0700, I personally witnessed Matthew Mihaly jumping
up to say:
>
>Hmm, I wasn't aware it was possible for a server to determine if a
>player's client can decode colour. How is this done?
If I remember right: ESC[6n is a "cursor position report" request. If the
client groks ANSI, it responds with the current position of the cursor.
Another method I've seen used is ESC[2J followed by the AVATAR code to move
down one line and *then* the cursor position report; if your result is
"0,2" then you know that the client supports ANSI but not AVATAR, if it's
"1,0" then you know it supports AVATAR and ANSI. Note also that if the
client reverses the X and Y coordinates, the responses are still distinct.
-----
| Caliban Tiresias Darklock caliban@darklock.com
| Darklock Communications http://www.darklock.com/
| U L T I M A T E U N I V E R S E I S N O T D E A D
| 774577496C6C6E457645727355626D4974H -=CABAL::3146=-
_______________________________________________
MUD-Dev maillist - MUD-Dev@kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev