From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1044c2,fb87ccfc9e8baf0a X-Google-Attributes: gid1044c2,public X-Google-Thread: f678f,fb87ccfc9e8baf0a X-Google-Attributes: gidf678f,public X-Google-Thread: 1103af,fb87ccfc9e8baf0a X-Google-Attributes: gid1103af,public X-Google-Thread: f66ab,fb87ccfc9e8baf0a X-Google-Attributes: gidf66ab,public X-Google-Thread: f71eb,fb87ccfc9e8baf0a X-Google-Attributes: gidf71eb,public X-Google-ArrivalTime: 1995-01-09 10:42:35 PST Path: nntp.gmd.de!borneo!veit From: veit@borneo.gmd.de (Holger Veit) Newsgroups: comp.os.linux.misc,comp.os.os2.misc,comp.unix.osf.misc,comp.os.msdos.misc,comp.os.mach Subject: Re: The big Question Date: 9 Jan 1995 18:42:35 GMT Organization: GMD - German National Research Center for Computer Science Distribution: world Message-ID: <3es02r$7dl@omega.gmd.de> References: <3ei41l$n8r@portal.gmu.edu> NNTP-Posting-Host: mururoa.gmd.de Xref: nntp.gmd.de comp.os.linux.misc:37774 comp.os.os2.misc:125882 comp.unix.osf.misc:2291 comp.os.msdos.misc:28578 comp.os.mach:3473 In article <3ei41l$n8r@portal.gmu.edu>, scoile@osf1.gmu.edu (Steve "Stevers!" Coile) writes: |> Lee Sau Dan ~{@nJX6X~} (h9210876@hkuxa.hku.hk) wrote: |> [...] |> > The temp. files are always created under the *current* |> >directly. This would cause problems when I do a "type |> >readme.doc|more" in a read-only directory (say on a read-only floppy |> >or CD-ROM)! |> |> If you have the TEMP environment variable set, the system should be using |> it for such temporary files, rather than your current directory. Of course, there are still some executables that want to have the environment variable TMP, and there are plenty programs that assume that TEMP points to c:\tmp, hence they reserve space for 6 characters for the tmp path in some internal buffer only, and other programs rely on ending the tmp path with a '\'. Almost every compiler claims the environment variables LIB and INCLUDE for itself, making it almost impossible to have more than one compiler properly installed. There are no naming conventions for files, libraries, directories, so there is pure anarchy in DOS (unless you spend the time and install everything properly, and write scripts that locate the real executable and sets up the environment as required). Every program that even just does a fart, claims space in the PATH variable which is an extremely limited resource. The environment buffer is another one, and with network support, you have no problem at all to exhausted in in the autoexec.bat file already (4dos is better behaved w.r.t. environment, but it is a secondary product). |> >UNIX provides security measures to prevent one user from intervening another, |> >by password protection to prevent unauthorized access to user accounts, by |> >storing attributes to limit access to user (and system) files, and by |> >memory protection to prevent user processes from intervening one another. |> |> All to deal with issues that never come up in a DOS environment. These issues simply apply if you think of exporting file systems through Windows for Workgroups, for instance. They apply even more severe, if the PC is accessible - and must be - by several persons. If you mainly think of a PC for home use, it is not so much an issue unless you have clever children who understand how they can remove your whole textprocessing software in order to acquire the necessary 10MB diskspace to install DOOM. As far as memory protection is concerned: the most used keys with DOS were CTRL, ALT, DELETE and the reset button (if everything you do the whole day is typing in accounting data into the single program running all the time, your mileage may vary, but I do programming, and eventually try to find a bug in software), with *nix (NetBSD) and OS/2 I use now these keys are now rarely used in combination (ALT-ESC and then closing the offending process is much more used). -- Dr. Holger Veit | INTERNET: Holger.Veit@gmd.de | | / GMD-SET German National Research | Phone: (+49) 2241 14 2448 |__| / Center for Information Technology | Fax: (+49) 2241 14 2342 | | / Schloss Birlinghoven | Pentium - the first real | |/ 53754 St. Augustin, Germany | processor featuring the new | *** RISK technology ***