⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 压缩解压,是unzip540的升级,这个外国网站摘来的源码,是evb编写.
💻
📖 第 1 页 / 共 3 页
字号:
__________________________________________________________________________  This is the Info-ZIP file INSTALL (for UnZip), last updated 27 Feb 2005.__________________________________________________________________________  Yes, this is a rather long file, but don't be intimidated:  much of its  length is due to coverage of multiple operating systems and of optional  customization features, large portions of which may be skipped.__________________________________________________________________________To compile UnZip, UnZipSFX and/or fUnZip (quick-start instructions):========================================(1) Unpack everything into a work directory somewhere, and make sure you're    in the main UnZip directory (the one with this file in it).    * (See note below concerning line termination format used in the source       distribution)(2) Copy the appropriate makefile into the current directory, except under    OS/2.(3) Run your "make" utility on the makefile (e.g., "nmake -f makefile.msc").(4) Try out your new UnZip the way you would any new utility:  read the    docs first.    Ah ha ha ha!!  Oh, that kills me.  But seriously...for VMS, UnZip must    be installed as a "foreign symbol"; see the Install section below or    [.vms]readme.vms for details.  (It basically involves adding a line    sort of like this to login.com:    $ unzip == "$disk:[dir]unzip.exe")    For DOS and other OSes without explicit timezone support (i.e., everybody    but Unix, Windows 95 and NT), make sure the "TZ" environment variable is    set to a valid and reasonable value; see your compiler docs for details.(*) The unzip sources as well as other Info-ZIP source archives are packaged    in Unix format. All text files use single LF (Ascii 0x0a) characters as    line terminators.  On systems that use different conventions for plain text    files (e.g.:DOS,Win9x,WinNT,OS/2 -> combined CR+LF; MacOS -> single CR),    some utilities (editors, compilers, etc.) may not accept source files    with LF line terminators.    For these systems, we recommend to use Info-ZIP's UnZip utility for    extraction of our distribution archives, applying the command option    "-a" (= translate text files to native format) in the extraction command.    In case this procedure is not applicable, an appropiate third-party    conversion utility may be used to achieve the desired line termination    style (examples: "flip", available for Unix, DOS, OS/2; or "tr" on Unix).To compile UnZip, UnZipSFX and/or fUnZip (detailed instructions):========================================(1) Unpack *.c and *.h (the actual source files), preserving the directory    structure (e.g., ./unix/unix.c).  The sole exception is TOPS-20, where    tops20/* should be unpacked into the current directory, but TOPS-20    is no longer fully supported anyway.    As of UnZip 5.41, full decryption support has been integrated in the    UnZip source distribution.  If you wish to compile binaries without    decryption support, you must define the preprocessor flag NO_CRYPT.    For many environments, you may add this flag to the custom compilation    flags supplied by the environment variable LOCAL_UNZIP.  For more    details, see the make procedures and accompanied documentation for your    particular target OS.(2) Choose the appropriate makefile based on the description in the Con-    tents file for your OS (that is, there's only one for Unix or OS/2, but    MS-DOS and several other OSes have several, depending on the compiler).    Copy it into the current directory and rename if necessary or desired.    (Some makefiles can be invoked in place; see (5) below.)    Don't be afraid to read the makefile!  Many options will be explained only    in the comments contained therein.  The defaults may not quite suit your    system.  When making changes, remember that some "make" utilities expect    tabs as part of the makefile syntax.  Failure with cryptic error messages    will result if your editor quietly replaces those tabs with spaces.    Special point of confusion:  some non-MSDOS makefiles contain MS-DOS    targets (useful for cross-compilations). An example is the OS/2 makefile    os2/makefile.os2 that contains the gccdos target for DOS emx+gcc and    some more DOS related targets for Watcom C and MSC. But since version 5.3,    the msdos subdirectory contains makefiles for all supported DOS compilers.    [The old djgpp, djgpp1 and gcc_dos targets in unix/Makefile have been    removed in 5.3; use msdos/makefile.dj* instead.]    Extra-special point of confusion:  makefile.os2 expects to remain in    the os2 subdirectory.  Invoke it via "nmake -f os2/makefile.os2 gcc",    for example.(3) If you want a non-standard version of UnZip, define one or more of the    following optional macros, either by adding them to the LOCAL_UNZIP    environment variable or by editing your makefile as appropriate.  The    syntax differs from compiler to compiler, but macros are often defined    via "-DMACRO_NAME" or similar (for one called MACRO_NAME).  Note that    some of these may not be fully supported in future releases (or even    in the current release).  Note also that very short command lines in    MS-DOS (128 characters) may place severe limits on how many of these    can be used; if need be, the definitions can be placed at the top of    unzip.h instead (it is included in all source files)--for example,    "#define MACRO_NAME", one macro per line.      DOSWILD   (MS-DOS only)        Treat trailing "*.*" like Unix "*" (i.e., matches anything); treat        trailing "*." as match for files without a dot (i.e., matches any-        thing, as long as no dots in name).  Special treatment only occurs        if patterns are at end of arguments; i.e., "a*.*" matches all files        starting with "a", but "*.*c" matches all files ending in "c" *only*        if they have a dot somewhere before the "c".  [The default method of        specifying files without a dot would be "* -x *.*", making use of        UnZip's exclude-files option.]  The matching is actually the same as        Unix, if you assume that undotted filenames really have an invisible        dot at the end, which is how DOS and related systems treat filenames        in general.  All other regular expressions (including "?" and        "[range_of_chars]") retain their Unix-like behavior.      WILD_STOP_AT_DIR   (incompatible with WINDLL!)        Enables an additional option "-W".  When this qualifier is specified,        the pattern matching routine is modified so that both '?' (single-char        wildcard) and '*' (multi-char wildcard) do not match the directory        separator character '/'. Examples:          "*.c" matches "foo.c" but not "mydir/foo.c"          "*/*.c" matches "bar/foo.c" but not "baz/bar/foo.c"          "??*/*" matches "ab/foo" and "abc/foo" but not "a/foo" or "a/b/foo"        To enable matching across directory separator chars, two consecutive        multi-char wildcards "**" should be specified.        This modified behaviour is equivalent to the pattern matching style        used by the shells of some of UnZip's supported target OSs (one        example is Acorn RISC OS).      VMSWILD   (VMS only)        Use parentheses rather than brackets to delimit sets (ranges), and        use '%' instead of '?' as the single-character wildcard for internal        filename matching.  (External matching of zipfile names always uses        the standard VMS wildcard facilities; character sets are disallowed.)      VMSCLI   (VMS only)        Use VMS-style "slash options" (/FOOBAR) instead of the default Unix-        style hyphenated options (-f).  This capability does not affect options        stored in environment variables (UNZIP_OPTS or ZIPINFO_OPTS); those use        the Unix style regardless.  Beginning with UnZip 5.32, the supplied        VMS build methods generate both VMS-style and default "UNIX-style"        executables; you should NOT add VMSCLI to the custom options.      CHECK_VERSIONS   (VMS only)        UnZip "extra fields" are used to store VMS (RMS) filesystem info,        and the format of this information may differ in various versions        of VMS.  Defining this option will enable UnZip warnings when the        stored extra-field VMS version(s) do(es) not match the version of        VMS currently being used.  This is a common occurrence in zipfiles        received from other sites, but since the format of the filesystem        does not seem to have changed in years (including on Alpha and        IA64 systems), the warnings are not enabled by default.      RETURN_CODES   (VMS only)        VMS interprets return codes according to a rigid set of guidelines,        which means it misinterprets normal UnZip return codes as all sorts        of really nasty errors.  Therefore VMS UnZip returns an alternate set        of return codes; since these may be difficult to interpret, define        RETURN_CODES for human-readable explanations.      VMS_TEXT_CONV   (everybody except VMS)        VMS Stream_LF-format text files archived with the "-V" option        (/VMS) should be readable when extracted on other systems.  They may        get some junk appended, depending on Zip version and precise options        used for archiving them, but appart from that problem they should        be fine.  Text files with other formats (like the default VFC, with        its embedded byte counts) may be only semi-readable at best when        extracted on other systems.  Defining this option enables UnZip's        -aa option to detect and convert VMS VFC-record text files into        native text format.  Non-VMS UnZips now use a rudimentary VMS extra        field analyser to relyably determine such text files. (Earlier        versions of UnZip applied some heuristics instead.)        Therefore this option is now enabled by default for the main program        (but not the SFX stub), because it can be extremely useful on those        rare occasions when a VMS text file must be extracted as normal text.      USE_DJGPP_ENV   (MS-DOS DJGPP 2.0x only)        Regular DJGPP v2.0x compiled programs which use ENVIRONMENT are        able to read from the file "djgpp.env" as well as those set in the        environment.  This adds about 1KB to the size of the executable.        This option is disabled by default in Info-ZIP source. If you are        able to use "djgpp.env" and don't like to clutter the environment        with many special purpose variables, you may want to compile with        this option set.      USE_DJGPP_GLOB  (MS-DOS DJGPP 2.0x only)        If you like to get UnZip binaries that handle command line arguments        similar to Unix tools which are run in an Unix shell, you might want        to set this compilation option.  This option enables the support for        globbing command line arguments containing wild card that is built        into the DJGPP startup code.  When using a binary compiled with this        option, you may have to enclose wildcard arguments in double quotes        to get them passed to the program unmodified.  Enabling this option        is not recommended, because it results in Info-Zip binaries that do        not behave as expected for MS-DOS programs.      USE_VFAT  (MS-DOS only, for using same executable under DOS and Win95/NT)        djgpp 2.x and emx/gcc+RSX 5.1 can detect when they are running under a        Win32 DOS box and will accordingly enable long-filename support.  For        now only djgpp 2.x and emx/gcc with RSX 5.1 or later have this feature        (and it is defined by default in msdos/makefile.dj2 and makefile.emx),        but if/when other compilers build in similar support, define this        macro to enable its use.  See also msdos/doscfg.h.  [Note that djgpp        2.0's LFN support is flaky; users should upgrade to 2.01 or later.]      NO_W32TIMES_IZFIX (Win32 including WinDLL, and WinCE)        By specifying this option, you can disable Info-ZIP's special timestamp        adjustment to get stable time stamps on NTFS disks that do not change        depending on the current time being normal vs. daylight saving time.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -