MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Attracting players
Caliban Tiresias Darklock wrote:
>
> 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.
That's how you detect AVT/0... for higher levels of AVATAR, there are
codes that request a full line of human-readable info, including the
exact level of AVATAR support.
--
http://www.classic-games.com/
Conspiracy theorists mistakenly assume others think before acting.
*** Please limit .sigs to four lines and avoid HTML mail or posts. ***
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev
- Thread context:
- Re: [MUD-Dev] Attracting players, (continued)
- Re: [MUD-Dev] Attracting players,
Andrew Wilson andrew#aaaaaaaa,demon.co.uk, Mon 04 Oct 1999, 21:56 GMT
- Re: [MUD-Dev] Attracting players,
Laurel Fan lf25+@andrew.cmu.edu, Mon 04 Oct 1999, 21:56 GMT
- RE: [MUD-Dev] Attracting players,
Caliban Tiresias Darklock caliban#darklock,com, Tue 05 Oct 1999, 23:36 GMT
- Re: [MUD-Dev] Attracting players,
Greg Miller gmiller#classic-games,com, Thu 14 Oct 1999, 18:07 GMT
- Re: [MUD-Dev] Attracting players,
Scatter scatter#thevortex,com, Tue 05 Oct 1999, 23:17 GMT
[ Other Periods
| Other mailing lists
| Search
]