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

📄 ziprules

📁 汇编代码大全
💻
字号:
Subject: Info-ZIP Rules (No Feelthy ...)In discussions with Mark Adler (and others), I realized we in the Info-ZIPcommunity have been evolving a set of rules that maybe oughtta bedocumented, archived, and available to potential contributors.The following appear to meet our requirements.  Please observe theserules when submitting source, context diff, or other files to Info-ZIP.1 - "NO FEELTHY TABS"    Many editors and EMail systems either have no capability to use and/ordisplay the Ascii 9 TAB character correctly, or there are variable tabcolumns, or other horrors.  (My MaxEMail offline email editor for one.)    Bottom line:  use spaces, not tabs.    Related utility programs:  Unix and MS-DOS :  expand, unexpand.MS-DOS: Buerg's TABS; Toad Hall's TOADSOFT.  And some editors have theconversion built-in.    Exceptions:  The Unix Makefile.  Some makes seem to require "real"tabs.  If they need it there, fine.  So don't fiddle the Makefile.2 - "NO FEELTHY CRS"    All source, documentation and other text files shall have Unix styleline endings (LF, Ctrl-J), NOT the MS-DOS CR/LF or Mac CR line endings.    Reason:  "Real programmers" in any environment can convert back andforth between Unix and DOS/Mac style.  MS-DOS Turbo C can use Unix orMS-DOS line endings (donno about Mac Turbo C).  Buerg's LIST file displayutility for MS-DOS can use Unix or MS-DOS line endings.  Unix utilitieslike diff and patch die a horrible death (or produce horrible output) iftarget files have CRs.    Related utilities:  flip for Unix and MS-DOS.    Exceptions:  The zip archive README and zip.doc files, which MarkAdler wants to leave in MSDOS for "unsophisticated" (read brain-dead) DOSusers.  Also the batch files to compile under MS-DOS (where it requiresthe CRs.)3 - "NO FEELTHY HEX"    We'll use uuencode/uudecode compatible converters to move binary filesthrough our 7-bit EMail systems (xxencode on special request).  Uuencodedfiles, if larger than +/- 32Kb, will be broken into smaller (< 32Kb)files (via David M. Read's UUXFER utility).    Reason:  to prevent sounds of gagging mailers from resoundingthroughout the land.  To be standard with the Uunet side of the world.To be relatively efficient in the binary->Ascii conversion.  (Yeah, yeah,I know, there's better conversions out there.  But not as widely known.)    Related utilities:  uuencode, uudecode, uuxfer20, quux, others.Just make sure they don't leave imbedded or trailing spaces.  (E.g., theyshould use the "`" character in place of Ascii 32.)  Else mailers areprone to truncate or whatever.  Message me if you need one.4 - "NO FEELTHY TARS"    unzip will be available in .tar.Z (16-bit compressed tar), .arc (asavailable on Unix, SIMTEL20, PKPAK, etc., *NOT* the latest proprietarySEA version), or .zip format.  (If requesting we EMail you source,specify desired format.)  zip source will only be distributed in .ziparchives.    Reason:  For unzip development or use, anyone should have one of thespecified dearchivers.  For zip development or use, you shouldn't bemessing with zip unless you can already unzip.  (This protects theinnocent.)    Related utilities:  Unix:  arc, tar, compress, zip, unzip.  MS-DOS:PKUNPAK, PKUNZIP, PAK, TAR, COMPRESS, and others.    Exceptions:  EMail me directly for any special circumstances orrequirements (zoo, BinHex, 12-bit compress, etc.)5 - "NO FEELTHY FANCY_NAMES"    Assume the worst:  that someone on a brain-damaged DOS system has towork with everything your magic fingers produced.  Keep the file namesunimaginative and within MS-DOS limits (e.g., ordinary A..Z, 1..9, "-$_!"type characters, in the "filename.typ" 8-dot-3 format).  MacUsers, giggleall you want, but no spaces.    Reason:  Compatibility with different file systems.  MS-DOS is themost limited.6 - "NO FEELTHY GRAPHICS"    Do all your editing in a plain-text ASCII editor.  No WordPerfect,Word, WordStar document mode, or other word processor files, thenkyew.No desktop publishing.  No TIFFs, no GIFs, no imbedded pictures or dancingladies (too bad, Cave Newt).    Reason:  Compatibility with different consoles.  My old XT clone isthe most limited!    Related utilities:  vi, ed, EDLIN, Turbo C editor, UED, EASYEDIT, cator "COPY CON UNZIP.C"; various word processor -> text conversion utilities.7 - "NO FEELTHY DASHES"    Don't have repeated dashes (starting at the left margin) in anysource code or patches you try to EMail to me or Info-ZIP.  Instead, besure to always prefix them with a space, asterisk, comment, whatever, likethis:#---------------   or/*--------------   or even ---------------   (just indented)    Reason:  Most "undigestify" utilities (that break down newslettersinto their separate messages) use that "--------" (starting at the leftmargin) as the symbol that it's hit the end of a message.  I'd rather nothave your C source file broken up into a dozen separate untitled messagesin my mail system, thank you.  I'll be going through the unzip source AnyDay Now and changing anything like that by indenting, prefixing, whatever.*-------------------*David KirschbaumInfo-ZIP Coordinator

⌨️ 快捷键说明

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