This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

terminfo0-5.5_20061104-2 needed a reinstall for me. Also, maybe it could be a link farm?


 I ran into a problem with terminfo0-5.5_20061104-2  I had to
re-install it, because /usr/share/terminfo/x didn't exist after a
recent upgrade, even though the package manager listed it as
installed.  terminfo-5.7_20090228-1 is also installed.

 I don't know what went wrong, and honestly, I don't have time to
debug it by trying again.  I only installed cygwin on this machine a
couple months ago, and haven't done anything weird that I know of...
sorry.  I attached a cygcheck.out from after I reinstall terminfo0,
since I only just read http://www.cygwin.com/problems.html

 My main point is that instead of installing copies of the term files,
terminfo0 could just depend on terminfo and contain symlinks. e.g.
/usr/share/terminfo/x -> 78

 Oh, I guess this won't _quite_ work, because previously the
upper/lower case dirs were merged.  You'd need symlink (or hardlink)
farms, not just symlinks to directories. 
There are at least a few uppercase terminal names in practice:
ll /usr/share/terminfo/*/[aA]*

 I guess there's no easy way to avoid lots of duplicate files without
introducing hacks or tighter dependency coupling (a symlink farm would
need updating whenever a name changed in terminfo).  Maybe some clever
application of fdupes in the postinst could harlink duplicate files
together...  (although fdupes only knows how to delete, not link,
unfortunately.)

-- 
#define X(x,y) x##y
Peter Cordes ;  e-mail: X(peter@cor , des.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BC

Attachment: cygcheck.out
Description: Text document

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]