Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!zaphod.mps.ohio-state.edu!mips!daver!ditka!teda!netcomsv!resnicks From: resnicks@netcom.COM (Steve Resnick) Newsgroups: comp.os.os2.misc Subject: Re: Does anyone have unix utilities for OS/2 Message-ID: <1991Apr30.234748.10836@netcom.COM> Date: 30 Apr 91 23:47:48 GMT References: <2589@umriscc.isc.umr.edu> <72009@microsoft.UUCP> <1991Apr30.133157.6453@dialogic.com> Sender: netnews@netcom.COM (USENET Administration) Organization: Netcom - Online Communication Services UNIX System {408 241-9760 guest} Lines: 38 In article <1991Apr30.133157.6453@dialogic.com> gerry@dialogic.com (Gerry Lachac) writes: >In article <72009@microsoft.UUCP> steveha@microsoft.UUCP (Steve Hastings) writes: >> >>MKS utilities treats "c:foo" as exactly identical to "c:/foo", which makes >>it, IMHO, unusable. The MKS vi is a very good product, and available >>separately from the rest of the MKS Toolkit. > >Just out of curiousity, what's wrong with that? C: is device C, just >as SYS: is device SYS on Novell. In a Unix-type shell, if I did a "cp >C:" I would want it to go to the root of the C device, not some >arbitrary directory that C: had been cd'ed to. (ie if I had done a >"cd C:/foo/devs" and then did a "cp C:" and everything went to >"C:/foo/devs" I would scream.) MKS does a pretty good job of imitating >a UNIX ksh. I never have known UNIX to refer to drives at all. The problem with C: refering to C:/ is that it's inconsitant with the DOS/OS2 file system. If, in a program (not a shell) I open "C:FOO.BAR" and the CWD on drive C is \FILES\FOAD then the file handle returned will refer to the explicit path C:\FILES\FOAD\FOO.BAR. What UNIX are you using that uses drive identifiers as pathname components? Not SysV, Xenix, or Sun OS ... Cheers! Steve -- ------------------------------------------------------------------------------- resnicks@netcom.com, steve@camphq, IFNA: 1:143/105.0, resnicks@192.100.81.100 Real life: Steve Resnick. Chief Software Architect, Process Scientific, Inc Flames, grammar and spelling errors >/dev/null 0x2b |~ 0x2b, THAT is the question. The Asylum OS/2 BBS - (408)263-8017 12/2400,8,1 - Running Maximus CBCS 1.2 -------------------------------------------------------------------------------