From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2001-12-29 10:13:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC Date: 29 Dec 2001 12:13:03 -0600 Organization: LJK Software Distribution: world Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C2D48CE.FA4FF25A@fsi.net> <2lok0a.sh9.ln@dadsys1.fuller.local> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1009649585 9188 192.135.80.34 (29 Dec 2001 18:13:05 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Sat, 29 Dec 2001 18:13:05 +0000 (UTC) Xref: archiver1.google.com comp.os.vms:57310 alt.sys.pdp10:8849 comp.sys.dec:10445 In article <2lok0a.sh9.ln@dadsys1.fuller.local>, "Stuart R. Fuller" writes: > In comp.sys.dec David J. Dachtera wrote: > : How do I get the shell to "export" variables to "outer" levels (ala DCL > : global symbols)? > > Good point. How do you do it in DCL? > > $ show sym test > %DCL-W-UNDSYM, undefined symbol - check validity and spelling > $ test:==this is a test > $ show sym test > TEST == "THIS IS A TEST" > $ spawn > %DCL-S-SPAWNED, process FULLER_1 spawned > %DCL-S-ATTACHED, terminal now attached to process FULLER_1 > $ show sym test > TEST == "THIS IS A TEST" > $ test:==this is a new test > $ show sym test > TEST == "THIS IS A NEW TEST" > $ log > Process FULLER_1 logged out at 29-DEC-2001 10:42:07.79 > %DCL-S-RETURNED, control returned to process FULLER_0 > $ show sym test > TEST == "THIS IS A TEST" > Stu > (not anti-VMS or anti-DCL - just tired of the "my OS or CLI is better > than yours" crap. It's just a different way of doing things.) Fine, but the counter-example you gave did not use outer DCL levels, it used subprocesses. The example David had in mind was nested DCL, using "@" or similar techniques, not subprocess invocation.