www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/28/18:14:23

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199603282249.AA246313398@relay1.geis.com>
Date: Thu, 28 Mar 96 22:35:00 UTC 0000
To: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Some questions...

Reply to message 3198473    from DJ AT DELORIE DOT CO on 03/28/96  8:28AM


>> The other question I would like to ask is not strictly DJGPP related,
>> but what the heck.  I would like to incorporate some color in the mud
>> I am working on, but I don't want it to have to ask the users if they have
>> ANSI capability each time they log on.  I know that there is a way to
>> autodetect an ANSI or VT-100 terminal, but I don't know how to do it.
>> Can anybody shed some light on the situation?

>print an escape sequence and see if the cursor moves.

But how would I test cursor movement on a remote terminal?  I don't think
the conio functions would work through telnet!  Besides, if the end user
didn't have ANSI, he would see the garbage from the escape sequence;
I would much rather the test be transparent.

I have seen and used programs that do this!  I just don't know how it is done
myself.  Ultimately, the program will be run on a Unix or Linux platform, so
anything DOS-specific is out.  I might end up simply relying on a test message
to the users, but from my experience such things are extremely annoying.

John.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019