delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <38CD7EDF.815FEE72@sigma6.com> |
Date: | Mon, 13 Mar 2000 18:50:55 -0500 |
From: | Jeff Sturm <jsturm AT sigma6 DOT com> |
Organization: | sigma6 |
X-Mailer: | Mozilla 4.04 [en] (WinNT; I) |
MIME-Version: | 1.0 |
To: | Andrey Danilevich <adanilev AT rdstasks DOT com> |
CC: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: Porting Escape Sequences |
References: | <38CD6300 DOT 857413C0 AT rdstasks DOT com> |
Andrey Danilevich wrote: > Can somebody please help? I am porting unix application on NT4. My code > uses > escape sequences to manipulate cursor movements, to set and use > scrolling area, > to clean lines etc. printf("\033[ .... doesn't work on NT properly. > How can I make it working? You should really use the termcap/terminfo libraries for portability... you are assuming ANSI escape sequences. Not all tty devices obey ANSI sequences. (Termcap is provided with Cygwin. Terminfo is part of the ncurses package.) How exactly is it not working? (I can only guess without compiling/running your code myself.) -- Jeff Sturm jsturm AT sigma6 DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |