Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!seismo!mcnc!philabs!micomvax!musocs!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP Newsgroups: comp.unix.questions Subject: Re: VMS shell under Unix (was: Re: why learn UNIX) Message-ID: <635@mcgill-vision.UUCP> Date: Wed, 4-Feb-87 20:51:12 EST Article-I.D.: mcgill-v.635 Posted: Wed Feb 4 20:51:12 1987 Date-Received: Mon, 9-Feb-87 03:35:26 EST References: <3353@bu-cs.BU.EDU> <3700003@hpfcph.HP.COM> Organization: McGill University, Montreal Lines: 51 In article <3700003@hpfcph.HP.COM>, dalem@hpfcph.HP.COM ( Dale McCluskey) writes: > [discussion of emulators on various systems, etc.] > If one looks at the microfiche source for DCL, they are using an > undocumented call to run programs. If you call DEC and ask about it, > they will deny its existence. I didn't know *that*. Yech. > This leaves Joe Hacker with the choice of LIB$SPAWN or SYS$CREPRC for > doing his fork()/exec(). Both are horribly slow. $IMGACT (or was it $IMGSTA?) does not do a fork/exec, it just does the exec. The image being run runs in the *same process* as the CLI ("shell"). This is a major difference of philosophy; under VMS your process has a CLI in P1 space which runs programs in P0 space, one at a time. Under UNIX the shell is running just as if it were a normal user program is (which it in fact is, or at least was before the recent getusershell() nonsense came along [mutter, grumble]). > VMS has some nice features (a good backup/restore facility, Needed. > the ability to rename a directory as a Joe User, UNIX has this, at least modern UNIX. rename() works on directories (without needing privilege). I don't know whether USG UNIX has anything like rename(), but if they don't, well, that's just another thing wrong with USG UNIX, no? > the ability to refer to the current directory and everything below > it, Or any directory and everything below it, for that matter. However, this would be easy to put into the shell's globbing routines. Most applications of it can be better addressed with find and xargs, which may explain why it isn't there already. > etc. You missed just about the only VMS thing I miss: the debugger. VMS had a *good* debugger, certainly better than anything I've seen on UNIX. der Mouse USA: {ihnp4,decvax,akgua,utzoo,etc}!utcsri!mcgill-vision!mouse think!mosart!mcgill-vision!mouse Europe: mcvax!decvax!utcsri!mcgill-vision!mouse ARPAnet: think!mosart!mcgill-vision!mouse@harvard.harvard.edu