X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
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.GA6109@ednor.casa.cgf.cx>
From: "Stepp, Charles" <Charles.Stepp@T-Mobile.com>
To: <cygwin@cygwin.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Note-from-DJ: This may be spam
Content-Transfer-Encoding: 8bit
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@cygwin.com] 
Sent: Monday, March 24, 2008 8:58 AM
To: cygwin@cygwin.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/


