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-20 02:22:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews2 From: Alan Greig Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: VMS missing features (was how to do deamons on VMS) Date: Thu, 20 Dec 2001 09:44:41 +0000 Organization: http://extra.newsguy.com Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <1011219202821.418B-100000@Ives.egh.com> NNTP-Posting-Host: p-776.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.os.vms:56199 alt.sys.pdp10:8380 comp.sys.dec:9823 On Wed, 19 Dec 2001 21:33:59 -0800, Mark Crispin wrote: WIth the proviso that I haven't written anything non trivial under TOPS-20 for 15 years or so and that I don't do much programming work on anything these days, I'll take a stab at this. > >Describe the VMS implementation of: COMND, recognition/completion, Well C-Kermit manages to implement a large chunk of COMND (including filename recognition and completion) under VMS. There is no architectural problem in supporting COMND under VMS. I fully agree there should have been a DEC supported version. An unsupported DCLCOMP:LETE.MAR has circulated for years. VMS's CLD (command language definition) files can be used by a COMND implementation to provide lists of options on input of "?" and command completion. >GTJFN/GNJFN/JFNS, TTLNK, ? (or /? if you want to be Microsoftish), and >PMAP (be sure to detail all forms). Check out lib$file* and lib$find_file, lib$file_fid_to_name.etc. and associated underlying services for approx equivalents to gtjfn,gnjfn and jfns. No direct TTLNK call but apps which hook into the tty drivers and provide that functionality are available. As to PMAP with "detail all forms" I think I'd want to spend some time with both the TOPS-20 Monitor calls manual and VMS docs before taking a stab at that one. Too many options. You can certainly map a file section to disk in VMS though. > >Explain DCL; a command language so ridiculous that it makes UNIX look like >a marvel of good design by comparison. Why, for example, is an >infrequently used function such as the one to attach to another process >honored with a top-level verb command, whereas the commonly used function >to change the working directory a subverb of SET (and why such an obscure >one as that -- doesn't VMS have any other defaults)? $ CD :== SET DEFAULT is not particularly hard to do. But yes there are/were multiple more complete CD implementation in DCL kicking around for VMS. > >Describe the VMS commands to analyze why a program which just crashed did >so, and how the crashed process can be restarted with the problem >remedied. Oh, and no running it under a debugger beforehand; it's got to >be completely post-mortem. DEBUG/RESUME (the default) Notice in the example below the program was specifically run /NODEBUG and then later the debugger started as you specified. You do not have to link/debug either unless you want high level language (source code) stepping. >From HELP DEBUG 2.$ FORTRAN/DEBUG/NOOPTIMIZE WIDGET $ LINK/DEBUG WIDGET $ RUN/NODEBUG WIDGET NAME: NAME: NAME: ^Y $ DEBUG/RESUME [ Debugger Banner and Version ] %DEBUG-I-INITIAL, language is FORTRAN, module set to WIDGET DBG> The FORTRAN and LINK commands both specify the /DEBUG qualifier to compile the program WIDGET.FOR with debugger symbol table Press RETURN to continue ... information. The RUN command begins execution of the image WIDGET.EXE, which loops uncontrollably. Ctrl/Y interrupts the program, and the DEBUG/RESUME command gives control to the debugger. >-- Mark -- > >http://staff.washington.edu/mrc >Science does not emerge from voting, party politics, or public debate. -- Alan