Re: Querying Telnet for ANSI Color and other attributes.

From: [m]ike (
Date: 09/02/00

Actually, I think there are only a few clients that may support this, if
any. There are also alot of MUD clients out there such as zMUD, G-MUD, and
many others which will not deal with this kind of information. If you do
find any telnet clients that do it, maybe you could direct players to use it
since the MUD, theoretically, would function with it. I think that the best
bet though would be to still let players configure this on their own. Then
if by some chance a universal protocol does appear that all telnet clients
share, or you find one for your players, it would not be hard to convert the
existing system to this function. Atleast, that is what I would do :)

----- Original Message -----
From: "Peter Ajamian" <peter@PAJAMIAN.DHS.ORG>
To: <>
Sent: Saturday, September 02, 2000 6:31 PM
Subject: [CIRCLE] Querying Telnet for ANSI Color and other attributes.

> This is somethign I've been throwing around in the back of my mind for a
> while now and I want to see if anyone has tried this or has any thoughts
> or ideas on implementation.
> If my understanding is correct it should be possible to query the telnet
> client as to weather or not it will understand color when it first
> connects.  This could be used to set the color state of the player
> automatically without having to manually query the player.
> Also I know it is possible to get window size attrbutes from the telnet
> client if the client supports it.  I am considering implementing a
> system into my MUD which uses this information to set page length (for
> page_string) and line length (for word wrapping room descriptions,
> etc.).
> Has anyone attempted this, or know of a game which does this?  I think
> that the standard Unix shell uses this to determine if the telnet login
> client will support color and to determine window size for paging
> programs such as more and less.
> Also, can anyone think of any other attributes which it might become
> usefull to query the client for?
> Regards, Peter
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      |  |
>      +------------------------------------------------------------+

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 04/11/01 PDT