This is the mail archive of the
mailing list for the Cygwin project.
Re: isatty gives wrong result via ssh
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 4 Dec 2012 09:33:53 +0100
- Subject: Re: isatty gives wrong result via ssh
- References: <50B385F9.firstname.lastname@example.org> <20121126160446.GB3800@calimero.vinschen.de> <50B79229.email@example.com> <20121203084357.GC2556@calimero.vinschen.de> <50BD0280.firstname.lastname@example.org>
- Reply-to: 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 Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple