delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 26 Jan 2010 14:49:07 -0500 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Readline problem on stand alone application |
Message-ID: | <20100126194907.GC7856@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <4B5F4240 DOT 8090408 AT mtnmath DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <4B5F4240.8090408@mtnmath.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
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 Tue, Jan 26, 2010 at 11:28:00AM -0800, Paul Budnik wrote: >In the latest port of the ordinal calculator (www.mtnmath.com/ord) >readline does not work. Backspace does not delete characters and the >arrow keys do not move the cursor. The problem is reproducible with >bash. Copy bash.exe and the dlls it uses to another directory and >execute bash in that directory from the Microsoft command window. Doing >so results in the same behavior in bash as I observe in my application. > >If I execute the ordinal calculator either from a bash window or copy it >to the CYGWIN bin directory it works properly but when I package it as a >standalone application it fails. I even tried copying the entire CYGWIN >bin directory to another location and executing from there. The problem >still exists. I have updated CYGWIN in the last week. I did not have >this problem on the first release of the ordinal calculator made last fall. This isn't too surprising. Cygwin 1.7.* determines its root directory from the location of cygwin1.dll. If you move cygwin1.dll to directory c:\foo\bin it will look for other required files in, e.g., c:\foo\usr\share and won't be able to find them. ncurses/terminfo need files in /usr/share so they won't work correctly. If you are packaging the Cygwin DLL with with other stuff you will need to investigate the Cygwin mount table and possibly provide an /etc/fstab file or copy more files into the other directory. Btw, looking at the above web site, it seems like you may not be complying with the GPL since you don't seem to be providing the sources for the binaries you are distributing. Pointing to the Cygwin web site is not enough. You have to provide source code for every binary that you provide. cgf -- 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 |