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 , cygwin AT cygwin DOT com References: <20220606000459 DOT ff0ea9ccbe025d8a4022de25 AT nifty DOT ne DOT jp> From: Eliot Moss Message-ID: 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: moss AT cs DOT umass DOT edu Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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