INFO-VAX Fri, 16 May 2008 Volume 2008 : Issue 273 Contents: Re: Bookreader files on a PC Re: DEFINE and reboot Re: Help: VMS DECwindows Guide to Applications Programming Re: mail$message_select problem Re: RZ25-E specs? Re: VAX 6310 Free to a good home VMS equivalent of Unix su (was Account creation) Re: VMS equivalent of Unix su (was Account creation) Re: VMS equivalent of Unix su (was Account creation) Re: VMS equivalent of Unix su (was Account creation) ---------------------------------------------------------------------- Date: Fri, 16 May 2008 03:16:26 -0700 (PDT) From: IanMiller Subject: Re: Bookreader files on a PC Message-ID: <3b6465f2-32ed-42e9-88bc-dbe1ef797430@f36g2000hsa.googlegroups.com> I did find on http://www1.aclabs.com/odl/bkb/alpha_bookreader.shtml All Bookreader formatted documentation in the Online Documenation Library has been migrated to the Bookreader CD-ROM. The CD-ROM image is available for download in MS-Windows platform http://www1.aclabs.com/odl/bkb/AXPBKBJUN05_ISO.ZIP I find the HyperShelf software that comes with the WASD web server very handing for making bookreader files available to PCs. http://wasd.vsm.com.au/ ------------------------------ Date: Fri, 16 May 2008 08:30:16 -0700 (PDT) From: Bob Gezelter Subject: Re: DEFINE and reboot Message-ID: On May 15, 9:01 pm, koeh...@eisner.nospam.encompasserve.org (Bob Koehler) wrote: > In article <085a3589-1886-47ff-a852-3a954fe4a...@i76g2000hsf.googlegroups.com>, Bob Gezelter writes: > > > > > One of the most common STARTUP related problems that I encounter > > repeatedly is the silent termination of SYSTARTUP_VMS.COM because of > > editing errors. I therefore try to discourage people, particularly > > less experienced system managers, from adding more than the linkage > > (and then using a SPAWN) so that a clumsy edit in the secondary file > > will not terminate the execution of SYSTARTUP_VMS.COM. > > I always SET NOON at the start of all boot scripts unless I have > specific error handling, just for this reason. > > If you SPAWN, don't you have to wait for all those subprocesses to > complete before the STARTUP process logs out? Having the subprocess > wind down unexpectedly could leave you in an unpredictable state. > > I did once work with some systems that used SUBMIT a lot during > boot, but then when you logged in some things might not yet be ready. Bob, Yes, using SPAWN will pause the parent process. Which would happen anyway if a simple "@" were done. When I have my choice of solutions, I invariably use the STARTUP database, and add files to the list of files to be run at various points. It allows for synchronization, and some degree of safety and parallelism. - Bob Gezelter, http://www.rlgsc.com ------------------------------ Date: Fri, 16 May 2008 11:34:49 -0400 From: "FredK" Subject: Re: Help: VMS DECwindows Guide to Applications Programming Message-ID: It was called XUI. "Bob Koehler" wrote in message news:qRMHiOlp4nh5@eisner.encompasserve.org... > In article <4828ea0a$0$31177$c3e8da3@news.astraweb.com>, JF Mezei > writes: >> >> Did VMS go directly from VWS to DECWINDOWS-MOTIF, or was there an >> intermediate step that had decwindows without Motif ? > > VWS was pre-X11 and Motif was not the first style of X11 implemented > as DECWindows. Yes, there was something in between. I used it and > developed code to it (but I no longer have documentation for it). > ------------------------------ Date: Fri, 16 May 2008 17:35:44 +0200 From: "Klaus-D. Bohn" Subject: Re: mail$message_select problem Message-ID: <482da9f4$0$19174$9b622d9e@news.freenet.de> Thank you for all people for the help ;-))). I could solve my problem self. Please, don't ask ;-). Thanks Klaus "Klaus-D. Bohn" schrieb im Newsbeitrag news:482c6259$0$1521$9b622d9e@news.freenet.de... > Hello, > > could anybody help me. I will select specific emails from the folder > "NEWMAIL". > > This is only a short form: > > > > > struct > { > short length; /* Length of buffer in bytes */ > short code; /* Item code value */ > void *address; /* Buffer address */ > int *retlen; /* Address of longword for returned length */ > } null_items[] = {0,0,0,0}; > > > struct > { > short length; /* Length of buffer in bytes */ > short code; /* Item code value */ > void *address; /* Buffer address */ > int *retlen; /* Address of longword for returned length */ > } > message_select_in_items[4], message_select_in_null_items = {0,0,0,0}; > > struct > { > short length; /* Length of buffer in bytes */ > short code; /* Item code value */ > void *address; /* Buffer address */ > int *retlen; /* Address of longword for returned length */ > } > message_select_out_items[4], message_select_out_null_items = {0,0,0,0}; > > > char DefaultMailfoder[32] = "NEWMAIL"; > char MessageFrom[32] = "SECUR::SYSTEM"; > > int messages_selected = 0; > > > > status = mail$mailfile_begin ( &file_context, null_items, null_items ); > > status = mail$mailfile_open ( &file_context, null_items, null_items ); > > status = mail$mailfile_info_file ( &file_context, mailfile_info_items, > null_items ); > > status = mail$message_begin ( &message_context, message_in_items, > null_items ); > > > message_select_in_items[0].length = sizeof ( DefaultMailfoder ); > message_select_in_items[0].code = MAIL$_MESSAGE_FOLDER; > message_select_in_items[0].address = &DefaultMailfoder; > message_select_in_items[0].retlen = 0; > > message_select_in_items[1] = message_select_in_null_items; > > message_select_out_items[0].length = sizeof ( messages_selected ); > message_select_out_items[0].code = MAIL$_MESSAGE_SELECTED; > message_select_out_items[0].address = &messages_selected; > message_select_out_items[0].retlen = 0; > > message_select_out_items[1] = message_select_out_null_items; > > status = mail$message_select ( &message_context, > &message_select_in_items, &message_select_out_items ); > > printf ( "Total of %d messages\n", messages_selected ); > > status = mail$message_end ( &message_context, null_items, > null_items ); > status = mail$mailfile_close ( &file_context, null_items, null_items ); > status = mail$mailfile_end ( &file_context, null_items, null_items ); > > _AXP/SYSTEM> run CHECK_MAIL > Total of 2 messages > _AXP/SYSTEM> > > _AXP/SYSTEM> mail > > You have 2 new messages. > > MAIL> dir > > > NEWMAIL > # From Date Subject > > 1 SECUR::SYSTEM 9-MAY-2008 Solch ein Mist! > 2 SECUR::SYSTEM 9-MAY-2008 > > MAIL> > > That's ok. > > But when i use the following item list to select the mail folder and the > message from field together: > > > message_select_in_items[0].length = sizeof ( DefaultMailfoder ); > message_select_in_items[0].code = MAIL$_MESSAGE_FOLDER; > message_select_in_items[0].address = &DefaultMailfoder; > message_select_in_items[0].retlen = 0; > > message_select_in_items[1].length = sizeof ( MessageFrom ); > message_select_in_items[1].code = MAIL$_MESSAGE_FROM_SUBSTRING; > message_select_in_items[1].address = &MessageFrom; > message_select_in_items[1].retlen = 0; > > message_select_in_items[2] = message_select_in_null_items; > > status = mail$message_select ( &message_context, > &message_select_in_items, &message_select_out_items ); > > > _AXP/SYSTEM> run CHECK_MAIL > Total of 0 messages > _AXP/SYSTEM> > > > What i do wrong ? > > Thank you very much for a hint. > > Klaus > ------------------------------ Date: Fri, 16 May 2008 09:01:42 +0200 From: Michael Kraemer Subject: Re: RZ25-E specs? Message-ID: Slor schrieb: > Can anyone here point me to specifications (most importantly, heads and > cylinders) for the Digital RZ25-E SCSI drive? I've been able to find > jumper settings, but I can't seem to locate anything on the internal > characteristics. > > thanks! > http://deathrow.vistech.net/~cvisors/DEC94MDS/rzxxdpsg.pdf ? ------------------------------ Date: Fri, 16 May 2008 08:20:01 -0700 From: Marty Kuhrt Subject: Re: VAX 6310 Free to a good home Message-ID: Michael Austin wrote: > kiwi wrote: >> San Jose. Pick it up and its yours. VMS 5.5-2. Working order. >> > > > Boy, talking about a heater... and just try and move it into your > basement... :) Try as I might, I couldn't get the wife to allow me to bring home a 6640 my former employer was retiring. I had garage space for it, just no way to get three phase power to it. ------------------------------ Date: Fri, 16 May 2008 08:54:37 +0200 From: Joseph Huber Subject: VMS equivalent of Unix su (was Account creation) Message-ID: JKB wrote: > Other question... Is there a equivalent of 'su' unix command ? > As others told already, there is no direct equivalent. But VMS has the $persona services, which lets Your process assume the personality of another user. And there is already a program PERSONA on the freeware CD (and in Hunters archive I think), which works almost identical to su root: PERSONA SYSTEM (Also the older HGLOGIN still should work on actual system versions.) -- Joseph Huber - http://www.huber-joseph.de ------------------------------ Date: Fri, 16 May 2008 05:14:20 -0400 From: JF Mezei Subject: Re: VMS equivalent of Unix su (was Account creation) Message-ID: <482d5180$0$20522$c3e8da3@news.astraweb.com> Joseph Huber wrote: > As others told already, there is no direct equivalent. > But VMS has the $persona services, which lets Your process assume the > personality of another user. To me, the equivalent is SET PROC/PRIV=ALL (which include sysprv, sysnam, oper, world but not much more). If I need CMKRNL etc, I CREATE/TERM/DETACHED/NOLOGGED and login as SYSTEM and do the dirty deeds there. On VMS, once you have SYSPRV, you can create user files/directories and have then set to the right owner. You can go and edit system files (startup files etc) ------------------------------ Date: Fri, 16 May 2008 12:59:32 +0200 From: Joseph Huber Subject: Re: VMS equivalent of Unix su (was Account creation) Message-ID: JF Mezei wrote: > Joseph Huber wrote: > >> As others told already, there is no direct equivalent. >> But VMS has the $persona services, which lets Your process assume the >> personality of another user. > > To me, the equivalent is SET PROC/PRIV=ALL > > (which include sysprv, sysnam, oper, world but not much more). If I need > CMKRNL etc, I > > CREATE/TERM/DETACHED/NOLOGGED and login as SYSTEM and do the dirty deeds > there. > > On VMS, once you have SYSPRV, you can create user files/directories and > have then set to the right owner. You can go and edit system files > (startup files etc) The question was not which privileges are needed to do certain system management tasks, but "Is there a equivalent of 'su' unix command ?". And the anwer is PERSONA. Assuming a persona is much different from having privileges, both on VMS and Unix. Sorry for not quoting the original question in my first post. -- Joseph Huber - http://www.huber-joseph.de ------------------------------ Date: Fri, 16 May 2008 04:48:58 -0700 From: "Tom Linden" Subject: Re: VMS equivalent of Unix su (was Account creation) Message-ID: On Fri, 16 May 2008 03:59:32 -0700, Joseph Huber = wrote: > JF Mezei wrote: >> Joseph Huber wrote: >> >>> As others told already, there is no direct equivalent. >>> But VMS has the $persona services, which lets Your process assume th= e = >>> personality of another user. >> To me, the equivalent is SET PROC/PRIV=3DALL >> (which include sysprv, sysnam, oper, world but not much more). If I = = >> need >> CMKRNL etc, I >> CREATE/TERM/DETACHED/NOLOGGED and login as SYSTEM and do the dirty = >> deeds >> there. >> On VMS, once you have SYSPRV, you can create user files/directories = and >> have then set to the right owner. You can go and edit system files >> (startup files etc) > > The question was not which privileges are needed to do certain system = = > management tasks, but "Is there a equivalent of 'su' unix command ?". > > And the anwer is PERSONA. Assuming a persona is much different from = > having privileges, both on VMS and Unix. > > Sorry for not quoting the original question in my first post. > IIRC, su was an acronym for 'substitute user' and if the name was omitt= ed it defaulted to 'root' -- = PL/I for OpenVMS www.kednos.com ------------------------------ End of INFO-VAX 2008.273 ************************