📄 readme.txt
字号:
The application is responsible for interpreting the bytes in the data forkin whatever manner is appropriate. The bytes in the resource fork usuallyhave a defined internal structure and contain data object like menus,dialog-boxes, icons and pictures.Although all Macintosh files contain both a data fork and a resource fork,one or both of these forks may be empty.MacZip stores data-forks and resource-forks separatly. The Zipfile-Formatdoes not allow to store two archive entries using exactly the same name.My solution is to modify the Pathname of the resource-fork. All resource-forknames are prepended with a leading special directory named "XtraStuf.mac".So, when extracting on a Mac, you should never see this directory"XtraStuf.mac" on your *disk*.On all foreign systems that support directories in filenames (e.g: OS/2, Unix,DOS/Windows, VMS) you will get a directory "XtraStuf.mac" when extractingMacZip archives.You can delete the complete directory "XtraStuf.mac" since Mac-resourcesdo not make much sense outside the MacOS world.Textencoding; Charsets of the Filenames:----------------------------------------The following information is only important if you plan to transferarchives across different platforms/language systems:A typical Zip-archive does not support different charsets. All filenamesstored in the public area (= accessible by foreign systems otherthan MacOS) must be coded in the charset ISO-8859-1 (CP1252 in the MicrosoftWindows world) or CP850 (DOSLatin1). The latter should only be used byZip programs that mark the archive entries as "created under DOS".Apart from Macs, the commonly used platforms either support ISO-8859-1directly, or are compatible with it.To achieve maximum compatibility, MacZip convert filenames from theMac OS Roman character set to ISO-8859-1 and vice versa.But not every char of the charset MacRoman has their equivalentin ISO-8859-1. To make the mapping in most cases possible, I chosemost similar chars or at least the MIDDLE DOT.Mac OS Roman character set is used for at least the following Mac OSlocalizations:U.S., British, Canadian French, French, Swiss French,German, Swiss German, Italian, Swiss Italian, Dutch,Swedish, Norwegian, Danish, Finnish, Spanish, Catalan,Portuguese, Brazilian, and the default International system.In all Mac OS encodings, character codes 0x00-0x7F are identical toASCII, except that - in Mac OS Japanese, yen sign replaces reverse solidus - in Mac OS Arabic, Farsi, and Hebrew, some of the punctuation in this range is treated as having strong left-right directionality, although the corresponding Unicode characters have neutral directionalitySo, for best compatibility, confine filenames to the standard7-bit ASCII character set.If you generate a filename list of your archive (unzip -l), you willsee the converted filenames. Your can also extract the archive withthe switch '-i' (= ignore mac filenames), and test your result.This MacZip-port uses its own filename stored in the archive.At the moment, the filename will be not converted. However,I'm planning to add support for unicode.Currently, the following Mac OS encodings are NOT supported:Japanese, ChineseTrad, Korean, Arabic, Hebrew, Greek, Cyrillic,Devanagari, Gurmukhi, Gujarati, Oriya, Bengali, Tamil, TeluguKannada, Malayalam, Sinhalese, Burmese, Khmer, Thai, Laotian,Georgian, Armenian, ChineseSimp, Tibetan, Mongolian, Ethiopic,Vietnamese, ExtArabic and finally:Symbol - this is the encoding for the font named "Symbol".Dingbats - this is the encoding for the font named "Zapf Dingbats".If you extract an archive coded with one of these charsetsyou will propably get filenames with funny characters.These problems apply only to filenames and NOT to the filecontent.Of cause: The content of the files will NEVER be converted !!File-/Creator Type:-------------This port uses the creator type 'IZip' and it is registered at Apple(since 08. March 1998). File types can not be registered any more.This port uses '.zip' for normal Zip archive files and '.zp2' forZip archives that contain encrypted entries.The creator 'IZip' type should be used for all future versions.Hints for proper restoration of filetime stamps:------------------------------------------------UnZip requires the host computer to have proper timezone information inorder to handle certain tasks correctly (see unzip.doc). To set thetimezone on the Macintosh, go to the Map Control Panel and enter thecorrect number of hours (and, in a few locales, minutes) offset fromUniversal Time/Greenwich Mean Time. For example, the US Pacific timezoneis -8 hours from UTC/GMT during standard (winter) time and -7 hours fromUTC/GMT during Daylight Savings Time. The US Eastern timezone is -5 hoursduring the winter and -4 hours during the summer.Discussion of Daylight Savings Time-----------------------------------The setting in the Date & Time control panel for Daylight Savings timeis a universal setting. That is, it assumes everybody in the world isobserving Daylight Savings time when its checkbox is selected.If other areas of the world are not observing Daylight Savings time whenthe checkbox is selected in the Date & Time control panel, then the Mapcontrol panel will be off by an hour for all areas that are not recognizingDaylight Savings time.Conversely, if you set the Map control panel to an area that does not observeDaylight Savings time and deselect/uncheck the checkbox for Daylight Savingstime in the Date & Time control panel, then time in all areas celebratingDaylight Savings time will be off by an hour in the Map control panel.Example: In the case of Hawaiians, sometimes they are three hours behind Pacific Standard Time (PST) and sometimes two hours behind Pacific Daylight Time (PDT). The Map control panel can only calculate differences between time zones relative to Greenwich Mean Time (GMT). Hawaii will always show up as three hours past the Pacific time zone and five hours past the Central time zone. When Hawaiians are not observing Daylight Savings time, but the rest of the country is, there is no combination of settings in Map and Date & Time control panels which will enable you to display Hawaiian local time correctly AND concurrently display the correct time in other places that do observe Daylight Savings time. The knowledge about which countries observe Daylight Savings time and which do not is not built into the Map control panel, so it does not allow for such a complex calculation. This same situation also occurs in other parts of the world besides Hawaii. Phoenix, Arizona is an example of an area of the U.S. which also does not observe Daylight Savings time.Conclusion:MacZip only know the GMT and DST offsets for the current time, notfor the time in question.Do not use the setting in the Date and Time control panel for DaylightSavings time. Instead: Change your current timezone accordingly.Projects & Packages:--------------------A Note to version numbers: Version of MacZip is currently 1.00 andis based on the zip-code version 2.3 and unzip-code version 5.4.See About-Box for current version and compiler build-date.Because of the amount of sources I splitted this port intoserveral projects. See http://www.sitec.net/maczip for updates.- core source parts: unzipxxx.zip zipxxx.zip These archives contains the main-parts of the port. You can build libraries and a standalone-App with Metrowerks standard console SIOUX. They contain only sources, no executables. These archives are exact copies of the standard Info-ZIP source distributions; they were only repacked under MacOS using MacZip, with one minor addition: For those files that are stored in BinHex'ed format in the Info-ZIP reference source archives, unpacked version that are ready for use have been added.- additional source part: MacZipxxxxsrc.zip: contains all the GUI-staff and the project-files to build the main-app. Only sources of the GUI, no zip- or unzip-code. To build MacZip successfully you will need to also download the zip- and unzip-packages.- executables: MacZipxxxxnc.hqx: contains only executables and some docs, version without en-/decryption support MacZipxxxxc.hqx: contains only executables and some docs, Crypt version- encryption sources: zcryptxx.zip: To build crypt-versions of MacZip. download from ftp://ftp.icce.rug.nl/infozip/ (and subdirectories)Credits:--------Macstuff.c and recurse.c: All the functions are from More Files.More Files fixes many of the broken or underfunctionalparts of the file system. Thanks to Jim Luther.(see morefiles.doc)MatWild.c: Originally C++ code written by JJS (jstrout@ucsd.edu).Dirk Haase==========
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -