X-Recipient: archive-cygwin AT delorie DOT 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: In-Reply-To: <20080324125738.GA6109@ednor.casa.cgf.cx> References: <20080324125738 DOT GA6109 AT ednor DOT casa DOT cgf DOT cx> From: "Stepp, Charles" To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 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/