From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,9d5e1d36489fe2af X-Google-Attributes: gidf7344,public X-Google-Thread: fd705,8dea03f3432f9a82 X-Google-Attributes: gidfd705,public X-Google-Thread: 1164f8,8dea03f3432f9a82 X-Google-Attributes: gid1164f8,public From: glass@glass.cv.lexington.ibm.com Subject: Re: Are computers for everybody? (was Re: A Microsoft Future?) Date: 1997/02/04 Message-ID: <5d80m2$2p9g@ausnews.austin.ibm.com>#1/1 X-Deja-AN: 214433012 distribution: inet references: <5c3tae$93t@reader.seed.net.tw> organization: IBM Austin reply-to: wa4qal@vnet.ibm.com newsgroups: comp.os.vms,comp.sys.dec,alt.folklore.computers In , rjm@europa.ox.ac.uk (Bob Manners) writes: > >| What always struck me as amazing, was the fact that in plain old DOS, >| you had pipes and globbing, and all them snazzy features of real >| shells. Except globbing was brokenly implemented (each command had to >| do its own globbing, some did, some didn't), and the only command (to my >| knowledge) that understood pipes were the ``more'' command, and it >| _only_ understood pipes (i.e. no ``more foo.bar''). > >In a non-multitasking environment such as MSDOS, pipes are pretty >broken too. > >f1 | f2 > >runs f1, writing the output to a temporary file, then, once f1 has >finished starts f2, redirecting its standard input from that file. Do >a: > >DIR | MORE > >and spot the two extra files in the listing! > >Of course, if f1 never terminates, there will never be any output from >the pipe. This is pretty silly really. > >Globbing is very broken in DOS. For that there is _no_ good excuse. > >Bob >-- >------------------------------------------------------------------------------ >Bob Manners 24 Temple Street, Oxford, OX4 1JS, Tel/FAX: 01865 245819 >My REAL address is: rjm@swift.eng.ox.ac.uk >------------------------------------------------------------------------------ Don't forget, though, that when DOS was first designed, 64K was a lot of memory! And, given the limited amounts of memory available, and the program loading structure of DOS, it was not possible to load multiple programs at the same time. Thus, one program has to finish before the second program can start. Therefore, the only way for the pipe to work is to take the output from the first command, save it on disk (remember, not much memory to work with), and then run the second command. Sure, it could have been designed differently. But, we're talking about 1980/1981 here, a tiny machine, a short design cycle time, and no concept of anyone needing multitasking on such a machine (Hey, it's not a multi-user mainframe. Why would anyone need multitasking. It's a "Personal" computer.) Dave P.S. Standard Disclaimer: These views are strictly my own opinions, and do not reflect those of my employer.