From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailsrv.cs.umass.edu (mailsrv.cs.umass.edu [128.119.240.136]) by sourceware.org (Postfix) with ESMTPS id 2235B3856277 for ; Sun, 5 Jun 2022 16:38:22 +0000 (GMT) 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 Received: from [192.168.50.148] (c-24-62-201-179.hsd1.ma.comcast.net [24.62.201.179]) by mailsrv.cs.umass.edu (Postfix) with ESMTPSA id A29C0401D75D; Sun, 5 Jun 2022 12:38:21 -0400 (EDT) Reply-To: moss@cs.umass.edu Subject: Re: Readline not working correctly with cygwin1.dll in same directory To: Takashi Yano , cygwin@cygwin.com References: <20220606000459.ff0ea9ccbe025d8a4022de25@nifty.ne.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-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2022 16:38:23 -0000 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