delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 4 Dec 2012 09:33:53 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: isatty gives wrong result via ssh |
Message-ID: | <20121204083353.GC12222@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <50B385F9 DOT 80103 AT kouptsov DOT com> <20121126160446 DOT GB3800 AT calimero DOT vinschen DOT de> <50B79229 DOT 9020304 AT kouptsov DOT com> <20121203084357 DOT GC2556 AT calimero DOT vinschen DOT de> <50BD0280 DOT 4070707 AT kouptsov DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <50BD0280.4070707@kouptsov.com> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
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 |
On Dec 3 14:50, Konstantin Kouptsov wrote: > >> Presumably, here, I should be using a Unix-like console control > >> interface, and link against ncurses port, provided with Cygwin. > > > > You can't link Cygwin libs against native Windows applications. > > They require the Cygwin DLL to run. > > Is there a way to compile a dynamic library from within Cygwin (using gcc etc.), which itself would use the Cygwin DLL, ncurses port ans whatever else it needs, but which would have an interface so that a native Windows app would be able to load it? As cgf mentioned, no. And in a way it doesn't make sense. If you link against Cygwin libs, why don't you just create a Cygwin application (apart from the obvious licensing issues)? What you *can* do is to find a native ncurses implementation on the net, or, which is much less work and just a little bit more effort code-wise, use some libtermcap with a termcap file. Building libtermcap natively should be pretty simple anyway. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |