X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2235B3856277
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=cs.umass.edu
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cs.umass.edu
Subject: Re: Readline not working correctly with cygwin1.dll in same directory
To: Takashi Yano <takashi.yano@nifty.ne.jp>, cygwin@cygwin.com
References: <ec232cef41cc494082e6229063534d57@ads.uni-passau.de>
 <20220606000459.ff0ea9ccbe025d8a4022de25@nifty.ne.jp>
From: Eliot Moss <moss@cs.umass.edu>
Message-ID: <b61a9a6d-bc80-4dba-8ac0-5cd0254e681b@cs.umass.edu>
Date: Sun, 5 Jun 2022 12:38:22 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
 Thunderbird/68.12.1
MIME-Version: 1.0
In-Reply-To: <20220606000459.ff0ea9ccbe025d8a4022de25@nifty.ne.jp>
Content-Language: en-US
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL,
 KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: moss@cs.umass.edu
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On 6/5/2022 11:04 AM, Takashi Yano wrote:
> On Sun, 5 Jun 2022 14:17:27 +0000
> "Mexis, Nico" wrote:
>> However, I still have one follow-up question about this:
>>
>> Is there a way to get rid of the need for the terminfo folder or change its location?
>>
>> It would be ideal to not need to include it in the distribution at all or such that it will be in the same folder as cygwin1.dll.
> 
> If environment variable TERMINFO is set, cygncurses*.dll searches
> terminfo from TERMINFO. So it is possible if you have chance to
> set environment variable TERMINFO.
> 
> Please refer to 'man terminfo' for more detail.

I would add that the escape sequences needed to cause the
proper editing on the screen depend on the terminal type,
and the information for each kind of terminal is in the
terminfo folder.  So unless you assume a specific terminal
and can properly inform readline, it would seem to me to
be necessary to include terminfo.  Takashi may know more
on this point, of course ...

Best - Eliot Moss

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
