delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/19/03:17:08

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 19 Jun 2009 09:16:27 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Minor terminfo problem (was Re: Garbage man pages)
Message-ID: <20090619071627.GA18476@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
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> <4A3AD6E2 DOT 2020109 AT cwilson DOT fastmail DOT fm>
MIME-Version: 1.0
In-Reply-To: <4A3AD6E2.2020109@cwilson.fastmail.fm>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jun 18 20:08, Charles Wilson wrote:
> Corinna Vinschen wrote:
> > 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.

It fails because the script doesn't only iterate through the
terminifo dirs, but also through the terminfo0 dirs:

  for d in ${terminfodir}/* ; do
    [...]

Of course it doesn't *really* fail, it just generates  that error message.
Maybe the script should really only operate on the terminfo subdirs, not
on the terminfo0 subdirs.

Or even better, don't chmod the files at all.  The permissions are
already correct since setup-1.7 creates the file with the right
permissions from the tar archive anyway.

> > 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.

Ok.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

- Raw text -


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