1 INFO-VAX	Mon, 04 Nov 2002	Volume 2002 : Issue 609       Contents:
 Re: <None>+ Re: can vms C access the keyboard directly? + Re: can vms C access the keyboard directly? + Re: can vms C access the keyboard directly? + Re: can vms C access the keyboard directly? ! Re: Configuring VMS as DNS server  Configuring VMS as DNS server ! Re: Configuring VMS as DNS server ; Re: Figuring out the Date of the 3rd Saturday of each Month ; Re: Figuring out the Date of the 3rd Saturday of each Month ; Re: Figuring out the Date of the 3rd Saturday of each Month 7 Figuring out the Date of the 3rd Saturday of each Month 7 Re: Intel Conceding 64-Bit Desktops to IBM, AMD - eWeek   Re: Migrating Linux files to VMS7 Re: VMS to support KDE over CDE in which future version 7 Re: VMS to support KDE over CDE in which future version   F ----------------------------------------------------------------------  # Date: Sun, 03 Nov 2002 22:17:35 GMT 4 From: Tim Llewellyn <tim.llewellyn@blueyonder.co.uk> Subject: Re: <None> 0 Message-ID: <3DC5A058.C2E0C7AE@blueyonder.co.uk>   Paul Sture wrote:  > ` > In article <OFF8CE8C7A.5FE268DA-ON85256C62.006C3047@metso.com>, norm.raphael@metso.com writes: > >  > > Good catch! I > > That might be a useful line to add at the end of the procedure  ;-) .  > @ > Given that VUPOMETER has a date prior to Alphas, I don't think > it's valid any more. > K > Here is another I picked up a couple of years ago. It was pretty accurate F > when applied to my Vaxstation 3100, and seems reasonably good on theF > Alphas I have tried. I modified it then to do an Alpha/VAX test, but3 > I'll warn you now it is not Itanium compliant :-)  >   @ It says my VMS7.2 running on ts10 on a PII 300 MHz is 1 VUP :-).  F I've been thinking to myself "this is about as fast as a MicroVAX II",1 good to have some semi-quantitative confirmation.    regards,   --   tim.llewellyn@blueyonder.co.uk    H * PLEASE NOTE tim.llewellyn@cableinet.co.uk address is NO LONGER VALID *   ------------------------------  % Date: Sun, 03 Nov 2002 14:45:49 -0500 ' From: Howard S Shubs <howard@shubs.net> 4 Subject: Re: can vms C access the keyboard directly?< Message-ID: <howard-CE66B3.14454903112002@enews.newsguy.com>  , In article <3DC4B527.B08C7F82@videotron.ca>,/  JF Mezei <jfmezei.spamnot@videotron.ca> wrote:    > Question about $QIO  > K > How do I setup a $QIO to return a single character OR return a multi-byte  > terminator ? > O > If I specify a buffer of 1, it will return every character received, but what & > about a multi character terminator ?  H That's a little more complex.  There's an option you can feed it on the I function value which will allow for this.  For more information, see the  - appropriate chapter of the I/O User's Manual.    --  4 Today, on Paper-view: The World Origami Championship   ------------------------------  % Date: Sun, 03 Nov 2002 14:44:49 -0500 ' From: Howard S Shubs <howard@shubs.net> 4 Subject: Re: can vms C access the keyboard directly?< Message-ID: <howard-37CB1F.14444903112002@enews.newsguy.com>  , In article <3DC5470E.5090406@tsoft-inc.com>,*  David Froble <davef@tsoft-inc.com> wrote:  L > My only issue is that it's my understanding that there is a status on the K > queueing of either a QIOW or a QIO, and for either there is a completion  	 > status  1 > of the operation in the first word of the IOSB.  > N > I don't think that the testing of the completion status is optional, at any M > time.  There was just a thread on a piece of freeware, and the problem was  & > sloppy testing of completion status.  H Yup, you've got it.  Now, with a $QIO, the R0 completion status denotes F successful queuing of the I/O request, but says nothing about the I/O E results.  At that point, you need the IOSB to tell you what happened  I after the call was made.  With a $QIOW, you don't get control back until  E both the request and the result have occurred, so you can do both at  I once.  That was a very simple example, where I only tested the R0 status  F code.  In Real Code, I'd have followed that with a test of IOSB(1) as G well, yes.  You might notice that I tested or used the R0 status value   in every case, though.  F The other issue is that, after I wrote that, I remembered that the OP E wanted it in C.  <sigh>  Still, the FORTRAN example should be easily  H translated, excepting the bit about the one character descriptor in the  example for the $ASSIGN call.    --  4 Today, on Paper-view: The World Origami Championship   ------------------------------  % Date: Sun, 03 Nov 2002 16:48:49 -0500 - From: JF Mezei <jfmezei.spamnot@videotron.ca> 4 Subject: Re: can vms C access the keyboard directly?, Message-ID: <3DC599B7.D6FD2671@videotron.ca>   Howard S Shubs wrote: J > after the call was made.  With a $QIOW, you don't get control back untilF > both the request and the result have occurred, so you can do both atJ > once.  That was a very simple example, where I only tested the R0 status > code.   M In a case of a QIOW that fails to queue the IO and returns immediatly, is the I contents of the IOSB predictable ? Just curious as to whether testing the ( iosb.status is sufficient in such cases.   ------------------------------  % Date: Sun, 03 Nov 2002 19:35:26 -0500 ' From: Howard S Shubs <howard@shubs.net> 4 Subject: Re: can vms C access the keyboard directly?< Message-ID: <howard-E589C4.19352603112002@enews.newsguy.com>  , In article <3DC599B7.D6FD2671@videotron.ca>,/  JF Mezei <jfmezei.spamnot@videotron.ca> wrote:   O > In a case of a QIOW that fails to queue the IO and returns immediatly, is the K > contents of the IOSB predictable ? Just curious as to whether testing the * > iosb.status is sufficient in such cases.  H If the R0 status is bad, there's no point in looking at the IOSB.  That 4 generally means the parameters to the call were bad.  B IIRC, the IOSB is zeroed very early in the I/O request sequence.  D However, if the sequence didn't begin (call was rejected due to bad I arguments), it will remain untouched.  You've got to check the R0 status  F to make sure the call went okay, then check the IOSB to check how the E requested I/O went.  No shortcuts, as there is potentially different   data in the two status values.   --  4 Today, on Paper-view: The World Origami Championship   ------------------------------  % Date: Sun, 03 Nov 2002 16:44:59 -0500 - From: JF Mezei <jfmezei.spamnot@videotron.ca> * Subject: Re: Configuring VMS as DNS server, Message-ID: <3DC598D2.9026868E@videotron.ca>  A 1- get the manual in PDF form  (TPCIP_management.pdf from the vms  documentation web site).  V 2- @SYS$MANAGER:TCPIP$CONFIG , go to the server components and enable the BIND server.  Y 3- if you have your DNS config from your LINUX, bring them over to disk:[sys0.tcpip$bind]   L you'll need the n.n.n_IN-ADDR_ARPA.DB as well as your mydomain.com.db files.  J The format on VMS seems to be pretty standard for BIND servers. But you'llO need to edit them in any event to change the IP address of the bind server etc.   N http://www.goldencode.com/atlos2/notes/dns/dns.html  provides a starting pointL for  more details on the contents, since the VMS documentation is very vague on the contents of the files.   J Then, edit the tcpip$bind.conf file and also fix it up. This one is fairly/ well documented in the TCPIP management manual.   H Now, that you've changed the config files, the trick to restart the bind
 server is:  M $TCPIP SET NAME/INIT   will cause the bind server to reload its config files.   J You then look at TCPIP$BIND_RUN.LOG after a few minutes to see if the bind1 server complains about any entry in your configs.   F Careful: the TCPIP utility also allows you to enter some configurationJ commands, but those aren't "real". The real ones are in the config files I spoke of above.    ------------------------------  % Date: Sun, 03 Nov 2002 14:42:47 -0500 . From: Lyndon Bartels <lbartels@pressenter.com>& Subject: Configuring VMS as DNS server. Message-ID: <3DC535E7.15BC22DC@pressenter.com>  
 Hello all,   VMS v7.3-1, ' TCPIP 5.3-xx? (Whatever was on the CD.)       D I'm in the process of becoming Linux free. I need to replace the DNS server on my home LAN.  2 How do I configure my VMS machine to do this task?        D I'm still looking through documentation, haven't found anything yet.     Thanks in advance,   Lyndon --  G My opinions are mine and mine alone. They seldom align with those of my 	 employer.     H The only good thing about putting the cart before the horse is you don't have to look at the horse's butt.   ------------------------------  % Date: Sun, 03 Nov 2002 14:02:59 -0600 1 From: "David J. Dachtera" <djesys.nospam@fsi.net> * Subject: Re: Configuring VMS as DNS server' Message-ID: <3DC580F3.BACA6383@fsi.net>    Lyndon Bartels wrote:  >  > Hello all, > 
 > VMS v7.3-1, ) > TCPIP 5.3-xx? (Whatever was on the CD.)  > F > I'm in the process of becoming Linux free. I need to replace the DNS > server on my home LAN. > 4 > How do I configure my VMS machine to do this task? > F > I'm still looking through documentation, haven't found anything yet.  H Rather depends which TCP/IP stack you're using, but it looks like you're  using TCP/IP Services (fka UCX).  > I'd going into TCPIP (there may be an alias verb UCX) (invokesD TCPIP$UCP, I think) and look at the HELP for SET HOST and SET CONFIGA HOST or SET HOST/PERM (you can never tell which form is used when G without checking the HELP or the doc.). It may be more helpful than the  doc.'s. Dunno...   --   David J. Dachtera  dba DJE Systems  http://www.djesys.com/  ( Unofficial Affordable OpenVMS Home Page: http://www.djesys.com/vms/soho/    ------------------------------  # Date: Mon, 04 Nov 2002 03:00:27 GMT  From: Jim Duff <jim@127.0.0.1>D Subject: Re: Figuring out the Date of the 3rd Saturday of each Month( Message-ID: <3DC5E2CB.7030601@127.0.0.1>   Terry Whitford wrote:  > Hi,  > G > Is there a way in DCL to work out the date of the 3rd Saturday of the E > month ?  What I want to do is run a particular batch job on the 3rd < > Saturday of each month.  This has to work on OpenVMS V6.2. >  > Thanks for any help. > 
 > Regards, > Terry    $       delta = 0  $       delta_str = ""! $       start_date = "1-Mar-2002"  $first: D $       if f$cvtime ("''start_date'''delta_str'",,"weekday") .eqs. - 	"Saturday"  $       then $           goto find_it
 $       endif  $       delta = delta + 1 0 $       delta_str = "+" + f$string (delta) + "-" $       goto first	 $find_it:  $       delta = delta + 140 $       delta_str = "+" + f$string (delta) + "-"1 $       write sys$output "Third Saturday is " + - A          f$cvtime ("''start_date'''delta_str'","absolute","date")  $       exit   --   jim AT eight DASH cubed DOT com 1 Flying iceburgs?  Sure.  Think "Rings of Saturn".    ------------------------------   Date: 3 Nov 2002 20:33:53 -0600 + From: young_r@encompasserve.org (Rob Young) D Subject: Re: Figuring out the Date of the 3rd Saturday of each Month3 Message-ID: <ZQAeXdywA+jh@eisner.encompasserve.org>   o In article <8kmbsukj1a8ok6760dbamr16bgn0d9fevk@4ax.com>, Terry Whitford <terry.whitford@Bartter.com.au> writes:  > Hi,  > G > Is there a way in DCL to work out the date of the 3rd Saturday of the E > month ?  What I want to do is run a particular batch job on the 3rd < > Saturday of each month.  This has to work on OpenVMS V6.2. >  > Thanks for any help. >   ; 	You can hack up some hairball DCL (as we all have done) or * 	run a scheduler.  Here is a CRON for VMS:  Z http://groups.google.com/groups?selm=t8CxB4TcKkNk%40eisner.encompasserve.org&output=gplain  . 	The crontab entry would look similar to this:   # , #  At 6:30 p.m. perform our 3rd Saturday run # L 30 18 15-21 * 6  submit/queue=sys$batch/noprint/log disk1:[dir]third_sat.com  = 	Note that the 3rd occurrence of any day of the week falls in 	 	15-21.     3 	The tricky part for the DCL is to figure out which A 	day of the week for the upcoming month that you want to RESUBMIT 7 	for is the 3rd Saturday.  The obvious easy thing to do 9 	is to have it submit for every saturday and then test to  	see if third saturday.   * 	Resubmit to run at 9 a.m. one week later:  1 	$ submit/after="today+7-09:00"  ! Google example    	Paranoid check:  " 	$ fullday = f$cvtime(,,"weekday") 	$ if fullday .nes. "Saturday" 	$ then B 	$   write sys$output "Hey, something is screwy, it is ''fullday'" 	$   stop    	$ endif     	Test for 3rd saturday:   ( 	$ intday = f$integer(f$cvtime(,,"day"))= 	$ third_saturday = ((intday .gt. 14) .and. (intday .lt. 22)) $ 	$ if .not. third_saturday then exit   	else, do your thing.    				Rob    ------------------------------  % Date: Mon, 04 Nov 2002 14:49:04 +1100 4 From: Terry Whitford <terry.whitford@Bartter.com.au>D Subject: Re: Figuring out the Date of the 3rd Saturday of each Month8 Message-ID: <acrbsuc58kpd4j1av48p3gquq55ocht0hn@4ax.com>  A On Mon, 04 Nov 2002 03:00:27 GMT, Jim Duff <jim@127.0.0.1> wrote:   2 Thanks Jim and Rob that was exactly what I needed.     >Terry Whitford wrote: >> Hi, >>  H >> Is there a way in DCL to work out the date of the 3rd Saturday of theF >> month ?  What I want to do is run a particular batch job on the 3rd >  >$       delta = 0 >$       delta_str = "" " >$       start_date = "1-Mar-2002" >$first:E >$       if f$cvtime ("''start_date'''delta_str'",,"weekday") .eqs. -  >	"Saturday"
 >$       then  >$           goto find_it  >$       endif >$       delta = delta + 11 >$       delta_str = "+" + f$string (delta) + "-"  >$       goto first 
 >$find_it: >$       delta = delta + 14 1 >$       delta_str = "+" + f$string (delta) + "-" 2 >$       write sys$output "Third Saturday is " + -B >         f$cvtime ("''start_date'''delta_str'","absolute","date")
 >$       exit      Regards, Terry    ------------------------------  % Date: Mon, 04 Nov 2002 13:33:53 +1100 4 From: Terry Whitford <terry.whitford@Bartter.com.au>@ Subject: Figuring out the Date of the 3rd Saturday of each Month8 Message-ID: <8kmbsukj1a8ok6760dbamr16bgn0d9fevk@4ax.com>   Hi,   E Is there a way in DCL to work out the date of the 3rd Saturday of the C month ?  What I want to do is run a particular batch job on the 3rd : Saturday of each month.  This has to work on OpenVMS V6.2.   Thanks for any help.   Regards, Terry    ------------------------------  % Date: Sun, 03 Nov 2002 14:39:58 -0500 ' From: Howard S Shubs <howard@shubs.net> @ Subject: Re: Intel Conceding 64-Bit Desktops to IBM, AMD - eWeek< Message-ID: <howard-DC4197.14395803112002@enews.newsguy.com>  , In article <3DC4B354.A7B08C44@videotron.ca>,/  JF Mezei <jfmezei.spamnot@videotron.ca> wrote:   J > Or get Apple to buy VMS and  Alpha. Port the APPLE GUI to VMS, and build! > Alpha-based Imacs that run VMS.    Dang guy, you ARE a dreamer!   --  4 Today, on Paper-view: The World Origami Championship   ------------------------------  % Date: Sun, 03 Nov 2002 14:30:31 -0500 . From: Lyndon Bartels <lbartels@pressenter.com>) Subject: Re: Migrating Linux files to VMS . Message-ID: <3DC53307.7CAD5B4F@pressenter.com>   Bob Koehler wrote: > H >    Will tar do this?  There's lots of tar utilities available for VMS.    E I looked at the V5 freeware CD, and there is a VMS tar utility there. B What testing I've done has been silky smooth. Should do the trick.     Thanks for the responses.    Lyndon   --  G My opinions are mine and mine alone. They seldom align with those of my 	 employer.     H The only good thing about putting the cart before the horse is you don't have to look at the horse's butt.   ------------------------------  % Date: Sun, 03 Nov 2002 13:45:53 -0600 1 From: "David J. Dachtera" <djesys.nospam@fsi.net> @ Subject: Re: VMS to support KDE over CDE in which future version' Message-ID: <3DC57CF1.22128165@fsi.net>    Simon Clubley wrote: > t > In article <77555df7.0211022058.535989ff@posting.google.com>, cwhii_google_spam@yahoo.com (C.W.Holeman II) writes:G > > Anyone have any info on the rumor that a future release of VMS will G > > support KDE? I was told by a VMS Ambassador the CDE was going to be  > > replaced by KDE. > >  > < > I sincerely hope that it will be GTK/Gnome instead of KDE. > F > Amongst other things, GTK has been designed to support many language@ > bindings from day one, and has a wider range of them than KDE.  H Then you better hope that KOffice gets ported to Gnome (GOffice?). ThereH may be a similar package for Gnome, but it's never come to my attention.   FWIW...    --   David J. Dachtera  dba DJE Systems  http://www.djesys.com/  ( Unofficial Affordable OpenVMS Home Page: http://www.djesys.com/vms/soho/    ------------------------------  % Date: Sun, 03 Nov 2002 20:03:15 -0800 & From: Greg Cagle <gregc@gregcagle.com>@ Subject: Re: VMS to support KDE over CDE in which future version/ Message-ID: <usbsbvi70qqfed@corp.supernews.com>    David J. Dachtera wrote: > Simon Clubley wrote: > t >>In article <77555df7.0211022058.535989ff@posting.google.com>, cwhii_google_spam@yahoo.com (C.W.Holeman II) writes: >>F >>>Anyone have any info on the rumor that a future release of VMS willF >>>support KDE? I was told by a VMS Ambassador the CDE was going to be >>>replaced by KDE.  >>>  >>< >>I sincerely hope that it will be GTK/Gnome instead of KDE. >>F >>Amongst other things, GTK has been designed to support many language@ >>bindings from day one, and has a wider range of them than KDE. >  > J > Then you better hope that KOffice gets ported to Gnome (GOffice?). ThereJ > may be a similar package for Gnome, but it's never come to my attention. > 	 > FWIW...   A Note that HP is in the process of replacing CDE with Gnome on its " HP-UX workstations. And so is Sun.   --  
 Greg Cagle gregc at gregcagle dot com   ------------------------------   End of INFO-VAX 2002.609 ************************