Xref: utzoo comp.misc:5370 comp.sources.wanted:6599 comp.sys.ibm.pc:25654 comp.unix.questions:12014 Path: utzoo!mnetor!tmsoft!dptcdc!jarvis.csri.toronto.edu!mailrus!sharkey!edsews!bgalli!bga From: bga@bgalli.eds.com (Billy G. Allie) Newsgroups: comp.misc,comp.sources.wanted,comp.sys.ibm.pc,comp.unix.questions Subject: Re: vi-like editor for the IBM PC Summary: MKS toolkit info Message-ID: <339@bgalli.eds.com> Date: 4 Mar 89 05:13:13 GMT References: <688@nvuxl.UUCP> <20937@agate.BERKELEY.EDU> <776@microsoft.UUCP> <7374@killer.DALLAS.TX.US> Organization: BGA's home system, Dearborn MI Lines: 47 In article <7374@killer.DALLAS.TX.US>, wnp@killer.DALLAS.TX.US (Wolf Paul) writes: < [refering to the MKS cpio command] < Very good! It has a (non-standard) option to compress each file before < adding it to the archive; unfortunately limited by the fact that MKS' < compress does not support 16-bit compression. Another limitation is < that of course, such compressed cpio archives are not directly < unpackable under UNIX -- you have to unpack them, and then manually < run each extracted file through uncompress. Archives created with the -z (non-standard) option of the MKS cpio command can be unpacked with the following command (filename is the name of the compressed archive file): zcat filename | cpio -ic assuming that the '-c' option was used in creating the archive. In fact the '-z' option is meant equivalent with the following pipelines: MKS command UNIX pipeline ---------------------- --------------------------------------- cpio -oz <--> cpio -o | compress -b 14 cpio -iz <--> uncompress | cpio -i BTW, the -z option was added because MS-DOS does not have multi-tasking or true pipes. To compress the archive on MS-DOS using pipes would require a temporary file big enough to hold the content of the entire archive. By building the compression into cpio, this temporary file is not needed. < [refering to the MKS compress, uncompress and zcat commands] < Unfortunately these handle only 12-bit compression and can't handle < UNIX-compressed files (usually 16-bit) These commands can handle up to 14-bit compression modes. This is not a great concern to me since I have a version of compress that will handle 16-bit compression on MS-DOS. One fact that wasn't mentioned is the capability of the MKS Korn shell has of passing up to 5Kbytes of arguments to the MS-DOS programs. Of course, the programs must know how to access these arguments (all MKS toolkit programs do this). I have no connection to MKS except as a satisfied customer. -- ____ | Billy G. Allie | Internet..: bga@bgalli.eds.com | /| | 7436 Hartwell | UUCP......: uunet!{mcf|edsews}!bgalli!bga |-/-|----- | Dearborn, MI 48126 | Compuserve: 76337,2061 |/ |LLIE | (313) 582-1540 | Genie.....: BGALLIE