← HomeSeries
Software Through the Ages
EPISODE 33 · 1982 → today

DOS utilities and compression: Norton, PKZIP and the 640K battle

MS-DOS (Episode 01) did the minimum: it ran programs and kept files. Everything else — recovering a deleted file, seeing your directories as a tree, squeezing files onto a floppy, doubling your hard disk, finding memory for one more driver — came from a lively industry of utility programs. Many of their ideas, and one file format, are still with us.

1982
Norton Utilities with UnErase
1986
Norton Commander's two-panel file manager
1989
PKZIP and the .ZIP format
1993
RAR; DoubleSpace in MS-DOS 6
1994
Stac wins its lawsuit against Microsoft
Today
ZIP and Deflate inside .docx, .xlsx, .jar, PNG and the web

01The requirement: fill the gaps in DOS

RequirementWhyWhat utilities offered
Undo mistakesDEL was permanent; FORMAT could wipe a diskUnErase, UnFormat, disk repair
Manage files visuallyTyping COPY and CD paths all day is slowTwo-panel and tree file managers
Fit more on a diskFloppies held 360 KB–1.44 MB; hard disks 10–40 MBArchivers and disk compressors
Send files by modem2400 baud: about 4 minutes per 100 KBCompressed archives on bulletin boards (BBS)
Free memoryDOS programs ran in 640 KB, shared with driversMemory managers that used upper and extended memory
Keep disks fast and safeFragmentation and bad sectorsDefragmenters, surface scanners, backup programs

02The classic utilities

UtilityYearAuthor / companyRemembered for
Norton Utilities1982Peter NortonUnErase — restoring deleted files by repairing the directory entry; later Disk Doctor, Speed Disk, System Information. Peter Norton Computing was bought by Symantec in 1990
Norton Commander1986John Socha, Peter Norton ComputingTwo blue panels, F-key menu (F5 copy, F6 move, F8 delete). Hugely popular in India and Eastern Europe
PC Tools1985Central Point SoftwareAn all-in-one rival: file manager, backup, undelete, antivirus; bought by Symantec in 1994
XTree1985Executive SystemsDirectory tree view of the whole disk
SpinRite1988Steve GibsonHard-disk surface testing and data recovery
Fastback, Central Point Backup1980sFifth Generation Systems; Central PointBacking up hard disks to stacks of floppies
DESQview, QEMM1985, 1987QuarterdeckMultitasking DOS programs; the leading memory manager

Norton Commander's design lives on: Midnight Commander (Linux, 1994), FAR Manager (1996, by Eugene Roshal, author of RAR), Total Commander (1993, Christian Ghisler, first called Windows Commander) and Double Commander (open source).

03Archivers and the ZIP war

1985 — ARC. System Enhancement Associates' ARC combined many files into one compressed archive; it became the standard on bulletin boards.
1986 — PKARC. Phil Katz of Milwaukee wrote a much faster ARC-compatible program. SEA sued in 1988; the case was settled.
1989 — PKZIP. Katz created a new format, .ZIP, and published its specification. BBS operators switched almost overnight.
1988–1993 — Rivals. LHA (Haruyasu Yoshizaki, Japan, 1988), ARJ (Robert Jung, 1990) with multi-volume archives on floppies, and RAR (Eugene Roshal, Russia, 1993) with better compression and recovery records. WinRAR followed in 1995.
1993 — Deflate. PKZIP 2.04g introduced Deflate (LZ77 + Huffman coding). It became gzip (1992–93), zlib, PNG images, HTTP compression and the inside of .docx, .xlsx and .jar files.
1995 → — Windows. WinZip (1991) gave ZIP a Windows interface; Windows Me and XP opened ZIP files natively (2000–2001); 7-Zip (1999, Episode 17) brought free, stronger 7z compression.

04Try it: how compression works

Type or paste text. LZ77 replaces repeated strings with (distance, length) pointers to earlier text; Huffman gives frequent characters shorter codes. Deflate — the heart of ZIP — does both.

05Disk doubling: Stacker versus Microsoft

In 1990 Stac Electronics released Stacker, which compressed everything written to the disk on the fly, making a 40 MB disk hold roughly 80 MB. When hard disks cost hundreds of dollars, it sold widely. Microsoft negotiated with Stac, then put its own DoubleSpace into MS-DOS 6.0 (1993). Stac sued for patent infringement; in February 1994 a jury awarded Stac about $120 million. Microsoft withdrew DoubleSpace (MS-DOS 6.21) and replaced it with DriveSpace in 6.22, and the companies settled. Cheap, large disks soon made disk compression unnecessary; NTFS later offered per-file compression.

06Try it: the 640 KB battle

DOS programs ran in the first 640 KB of memory — the "conventional memory" — which device drivers and memory-resident programs (TSRs) also used. A CAD program or game might need 590 KB free. Memory managers (HIMEM.SYS, EMM386, QEMM, MemMaker in DOS 6) moved DOS itself into high memory and drivers into the "upper memory blocks" between 640 KB and 1 MB. Load what you need and try to free enough memory.

07Version explorer

Blue chips: utilities. Amber chips: archivers and compressors.

08What survives today

  • ZIP and Deflate are everywhere: Office files, Java, Android apps, PNG, PDF streams and web traffic.
  • Undelete became the Recycle Bin (Windows 95) and file-recovery tools such as PhotoRec and Recuva.
  • Two-panel file managers remain popular with power users: Total Commander, FAR, Double Commander.
  • Memory managers vanished with 32-bit Windows, which gave every program its own large address space.
  • Old DOS utilities still run in DOSBox or FreeDOS — handy for reading old archives and data.
See also: Episode 17: Utilities — 7-Zip, KeePass and today's open-source utilities. A–Z application index.

09Lessons

  1. An open specification wins. Katz published the ZIP format; it outlived every closed rival.
  2. Platform owners absorb popular utilities. Undelete, compression and file managers all became part of Windows.
  3. Constraints breed ingenuity. The 640 KB limit produced a decade of clever engineering.
  4. Compression needs redundancy. Text and logs compress well; already-compressed data (JPEG, MP4, ZIP) does not.

Sources & further reading

  1. Wikipedia — Norton Utilities · Norton Commander · PC Tools
  2. Wikipedia — PKZIP · ZIP file format · Deflate
  3. Wikipedia — Stac Electronics · DriveSpace
  4. Wikipedia — Conventional memory · QEMM
  5. J. Ziv and A. Lempel, "A universal algorithm for sequential data compression", IEEE Trans. Information Theory 23 (1977) 337–343; D. A. Huffman, "A method for the construction of minimum-redundancy codes", Proc. IRE 40 (1952) 1098–1101.