Xref: utzoo comp.os.vms:9156 comp.unix.wizards:11525 comp.lang.c:13077 Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!teknowledge-vaxc!mkhaw From: mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) Newsgroups: comp.os.vms,comp.unix.wizards,comp.lang.c Subject: Re: File specification regularity (Was: Re: VMS vs. UNIX file system) Message-ID: <25312@teknowledge-vaxc.ARPA> Date: 5 Oct 88 00:25:50 GMT References: <206@arnold.UUCP> Organization: Teknowledge, Inc., Palo Alto CA Lines: 31 In article <206@arnold.UUCP>, dave@arnold.UUCP (Dave Arnold) writes: > To all you future filesystem designers, please avoid the following: > SYS$SYSROOT[UTILS.ANUNEWS.SRC.NEWS_SRC]NEWSADD.OBJ;1 > NOTE: SYS$SYSROOT is also a logical name which has 2 translations. > Oh yeah, then there is the DECNET node specs: > VAXB"LOGIN PASSWORD":: plus the above. > I prefer: > /sysroot/utils/anunews/src/news_src/news_add.obj It's even more fun when you decnet copy between Ultrix and VMS because VMS thinks "/" means a command line option switch (so you have to quote Unix pathnames), and csh thinks all sorts of horrible things about "$", ":", "[", "]", and ";" (so you have to '-quote the whole mess). On top of that DEC had to invent totally different ways of specifying username and password for Ultrix, and Ultrix's dcp (decnet cp) is strictly 1 file per invocation (blecch). At least Ultrix decnet lets you omit your password on the command line, and let you supply it UNECHOED in response to a prompt. I don't know if it's fixed in VMS 5.0, but VMS 4.x decnet was pretty brain-damaged to require that you type your password in a nodespec for the whole world to see. One good feature of Ultrix decnet is tcp/decnet gatewaying. It lets a Unix host telnet and ftp to a VMS host that doesn't run tcp/ip services. It even works for non-VAX Unix machines (e.g., Suns). Mike Khaw -- internet: mkhaw@teknowledge.arpa uucp: {uunet|sun|ucbvax|decwrl|uw-beaver}!mkhaw%teknowledge.arpa hardcopy: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303