Minor terminfo problem (was Re: Garbage man pages)
Charles Wilson
cygwin@cwilson.fastmail.fm
Fri Jun 19 10:19:00 GMT 2009
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/
More information about the Cygwin
mailing list