X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A3AD6E2.2020109@cwilson.fastmail.fm> Date: Thu, 18 Jun 2009 20:08:02 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Minor terminfo problem (was Re: Garbage man pages) References: <4A326B74 DOT 7000005 AT gmail DOT com> <4A326F19 DOT 8000303 AT gmail DOT com> <4A33100F DOT 5070401 AT gmail DOT com> <83zlccsk2h DOT fsf AT gmail DOT com> <4A33864E DOT 9010506 AT gmail DOT com> <4A36531A DOT 3010508 AT gmail DOT com> <4A38574F DOT 3090202 AT gmail DOT com> <83skhy6zek DOT fsf AT gmail DOT com> <20090618094650 DOT GN5039 AT calimero DOT vinschen DOT de> In-Reply-To: <20090618094650.GN5039@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Corinna Vinschen wrote: > Works fine for me. I just made a new 1.7 installation from scratch two > days ago, and all the bash calls work as expected, except for a minor > problem in the terminfo postinstall: > > 2009/06/16 11:13:37 running: C:\cygwin-1.7\bin\bash.exe --norc --noprofile -c /etc/postinstall/terminfo0.sh > chmod: cannot operate on dangling symlink `Eterm-color' The whole reason for the two different terminfo databases was to (eventually) make the "old" one obsolete, precisely because it has problems with case sensitivity. The fix here is to (eventually) recompile client applications to use ncurses-5.7 (e.g. cygncurses-9.dll). Older ncurses/terminfo is just broken. Always has been (on cygwin). > 2009/06/16 11:13:45 running: C:\cygwin-1.7\bin\bash.exe --norc --noprofile -c /etc/postinstall/terminfo.sh > chmod: cannot operate on dangling symlink `Eterm-color' > > ETerm-color points to ../E/ETerm, but the directory is called 'e', Eterm-color ../E/Eterm (lowercase 't') > not 'E'. That's a problem when using case-sensitivity like on a couple > of my test machines. Errr...that should only be true for terminfo0, in that: $ ls -l e/Eterm* -rw-r--r-- e/Eterm lrwxrwxrwx e/Eterm-color -> ../E/Eterm However, for modern terminfo, $ ls -l 45/Eterm* -rw-r--r-- 45/Eterm -rw-r--r-- 45/Eterm-256color -rw-r--r-- 45/Eterm-88color lrwxrwxrwx 45/Eterm-color -> ../45/Eterm So, this puzzles me: > 2009/06/16 11:13:45 running: C:\cygwin-1.7\bin\bash.exe --norc --noprofile -c /etc/postinstall/terminfo.sh > chmod: cannot operate on dangling symlink `Eterm-color' as I don't quite understand why that is failing, even on a case-sensitive system. > Chuck? Can you fix this in a manner which also works on case-sensitive > filesyatems, please? No, and maybe. terminfo0 and terminfo0-extra are WONTFIX, because the actual *fix* is to use newer ncurses, and terminfo/terminfo-extra. That was the whole point. As far as fixing terminfo/terminfo-extra, I need a bit more information about WHY it's failing. AFAICT there should be no case-related issues in those packages. -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/