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]

man: cygwin 1.7.0 and special filename chars


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Currently man(1) and perl work around Cygwin's inability to handle
illegal DOS filename characters by substituting '.' for '::', IOW:

$ man ExtUtils::Depends

will display ExtUtils.Depends.3pm, which is created by perl on Cygwin
instead of ExtUtils::Depends.3pm as on Linux.

With 1.7, however, ':' is legal, but man still indiscriminately replaces
'::' with '.'.  The major difference is with the gtk2-perl bindings,
which have their own process for manpage generation, and create manpages
with '::' without exception.  Of course, this didn't work on 1.5, so
there was a workaround in cygport, but with 1.7 the manpages build OOTB.
 But man won't display them because it's looking for, e.g.
Glib.index.3pm instead of the real Glib::index.3pm:

$ ls /usr/share/man/man3/Glib::index.3pm.gz
/usr/share/man/man3/Glib::index.3pm.gz

$ man Glib::index
No manual entry for Glib::index

So AFAICS there are two options:

1) Completely remove the /::/./ substitution in both man and perl for 1.7;
2) Have man look for both '.' and '::'.


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkivJH8ACgkQpiWmPGlmQSMMPwCgnIjTcPLomNSGVqKdfwZ+SZla
SXkAn048w6IEWv8fYA9OqH/l3HIKmebv
=tiyw
-----END PGP SIGNATURE-----

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


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