delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/06/05/12:39:01

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT 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 DOT yano AT nifty DOT ne DOT jp>, cygwin AT cygwin DOT com
References: <ec232cef41cc494082e6229063534d57 AT ads DOT uni-passau DOT de>
<20220606000459 DOT ff0ea9ccbe025d8a4022de25 AT nifty DOT ne DOT jp>
From: Eliot Moss <moss AT cs DOT umass DOT 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>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: moss AT cs DOT umass DOT edu
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019