delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Subject: | RE: Using curses with -mno-cygwin |
Date: | Tue, 25 Mar 2008 10:33:14 -0700 |
Message-ID: | <BD6B3BD6A3C3EC4FBC45FF024CE1043706A33936@WAPRDVSEBE10.gsm1900.org> |
In-Reply-To: | <20080324125738.GA6109@ednor.casa.cgf.cx> |
References: | <20080324125738 DOT GA6109 AT ednor DOT casa DOT cgf DOT cx> |
From: | "Stepp, Charles" <Charles DOT Stepp AT T-Mobile DOT com> |
To: | <cygwin AT cygwin DOT com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Note-from-DJ: | This may be spam |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id m2PHXqgW016743 |
I'd bet a shiny new quarter that cygwin supports linking to the ncurses library. Both aalib (aafire) and mc (Midnight Commander) work just fine, which indicates that curses is a go. ======================================================================== ==== ncurses(3X) ncurses(3X) NAME ncurses - CRT screen handling and optimization package SYNOPSIS #include <curses.h> DESCRIPTION The ncurses library routines give the user a terminal-independent method of updating character screens with reasonable optimization. This implementation is ``new curses'' (ncurses) and is the approved replacement for 4.4BSD classic curses, which has been discontinued. This describes ncurses version 5.5 (patch 20061104). Charles Stepp Meskimen's Law: There's never time to do it rite, but there's always time to do it over. -----Original Message----- From: Christopher Faylor [mailto:cgf-use-the-mailinglist-please AT cygwin DOT com] Sent: Monday, March 24, 2008 8:58 AM To: cygwin AT cygwin DOT com Subject: Re: Using curses with -mno-cygwin On Mon, Mar 24, 2008 at 10:41:41AM +0100, Public Mailing Lists wrote: >I'd like to compile an old unix program that uses curses as a windows >standalone application. Is it possible to do this with Cygwin? > >MinGW supports curses, and Cygwin supports MinGW. It looks like curses >is gone once I pass -mno-cygwin to gcc. Is this intentional? To generalize your question, you're asking if the cygwin version of something is unavailable when you use an option called "-mno-cygwin". I'd think that the option would be self-documenting in this case but, the answer is "Yes, it's intentional". If MinGW supports curses then you probably should be using MinGW if you don't want to have your application rely on the Cygwin DLL. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |