Mail Archives: djgpp/1996/01/17/09:12:19
> Can't the distribution archives be built with the long filenames already
> in it? That way, unzipping them on DOS will truncate the names, while
> Win95 users get long filenames.
>
> Does the ZIP format even support long filenames?
ZIP format supports long filenames, but you would need to make sure that
you unzipped with a LFN aware UNZIP, or it would break. Also, if the
user did not have the NumericTail attribute in the registry set to 0,
the resulting short names would be garbled, and the system would be
unusable on a dual boot to DOS, etc.
DJ and I decided the right answer was to disable LFNs by default, putting
LFN=n in the djgpp.env file, and then let the user enable them on a
temporary basis with a command line SET LFN=Y or more permanently by
removing the line in the djgpp.env file. This change is in the current
testing/working version. Look at this as a proactive move to decrease
the FAQ volume ;-)
I will write a LFN howto document which contains the registry editor
input file and guidelines, but DJ will have to migrate his distribution
generation/test system to a long name environment before the long names
can be fully used (to build GCC, for example).
- Raw text -