Everhart,Glenn From: schenkenberg@eisner.decus.org Sent: Friday, April 17, 1998 10:05 AM To: Info-VAX@Mvb.Saic.Com Subject: Re: Finding/setting DCL prompt In article <6h7e3n$9ue$1@pump1.york.ac.uk>, dla1@tardis.york.ac.uk (D L Atkin) writes: > We have an old bit of MACRO-32 code which gets and sets the current DCL > prompt string. it looks something like > > moval g^ctl$ag_clidata,r6 ; Ptr to cli space > moval @ppd$l_prc(r6),r6 > movzbl prc_b_promptlen(r6),r0 ; length > subl #3,r0 > movab prc_g_prompt(r6),r1 ; Address of prompt > ...etc > > It's worked for years on a VAX but it doesn't work on an Alpha running > VMS 7.1-1H1. The symbols don't seem to exist - probably something to do > with new fangled things like kernel threads! > > Does anyone know if it's possible to do this on an Alpha? Well, I don't have 7.1-1H1 but I do have G7.2-EFT1 and these symbols are still there. Have you tried to link it properly????? Try /SYSEXE and link is against/with SYS$LOADABLE_IMAGES:DCLDEF.STB -- VAXman- VAXman@TMESIS.COM OpenVMS APE certification number: AAA-0001 ... and in the end, the money you take is equal to the money you make.