1 INFO-VAX	Fri, 29 Jul 2005	Volume 2005 : Issue 420       Contents:N Re: Building SIMH V3.4 on OpenVMS Alpha V7.3-2 / CC V6.5 - errors - any ideas?N Re: Building SIMH V3.4 on OpenVMS Alpha V7.3-2 / CC V6.5 - errors - any ideas?P Re: Building SIMH V3.4 on OpenVMS Alpha V7.3-2 / CC V6.5 - errors - any ideas? -! Re: Collapsing a bound volume set ! Re: Collapsing a bound volume set   Re: event occurred in BASEstar ?  Re: event occurred in BASEstar ?- Re: How does sys$pal_swasten work on Itanium. - Re: How does sys$pal_swasten work on Itanium. L Re: It's that time again for my quarterly "Where is the CONDIST???" posting. Re: LaTeX ---> PDF Re: LaTeX ---> PDF new zlib kit Re: nsswitch equivalent 8 Re: Rounding v Truncation, was: Re: Platform Support vs.8 Re: Rounding v Truncation, was: Re: Platform Support vs.8 Re: Rounding v Truncation, was: Re: Platform Support vs.8 Re: Rounding v Truncation, was: Re: Platform Support vs.8 Re: Rounding v Truncation, was: Re: Platform Support vs." Re: simple image processing on VMS  Re: Using LAT on a DecServer 700> What is DKA100:XQPCACHE, Extent cache, etc., from SH DEV D/FU?B Re: What is DKA100:XQPCACHE, Extent cache, etc., from SH DEV D/FU?B Re: What is DKA100:XQPCACHE, Extent cache, etc., from SH DEV D/FU?  F ----------------------------------------------------------------------  % Date: Fri, 29 Jul 2005 11:00:57 +0200 - From: "Martin Vorlaender" <mv@pdv-systeme.de> W Subject: Re: Building SIMH V3.4 on OpenVMS Alpha V7.3-2 / CC V6.5 - errors - any ideas? , Message-ID: <3ku9i9F104drrU1@individual.net>  : One thing I've been changing in all versions for some time' (sorry for not reporting back earlier):   ; SIMH has a mechanism to auto-load a configuration file that < has the same name as the executable, and the extension .ini.8 Unfortunately, when run under OpenVMS Alpha, the version numbers get in the way.   < The code to change is in scp.c, around line 594 (simh v3.4):  <  char nbuf[PATH_MAX + 7], *np;              /* "path.ini" */<  nbuf[0] = '"';                             /* starting " */?  strncpy (nbuf + 1, argv[0], PATH_MAX + 1); /* copy sim name */  #ifdef __VMS@  if (np = strrchr (nbuf, ';')) *np = 0;     /* remove version */ #endif=  if (np = match_ext (nbuf, "EXE")) *np = 0; /* remove .exe */ ;  strcat (nbuf, ".ini\"");                   /* add .ini" */ ?  stat = do_cmd (0, nbuf);  }                /* proc cmd file */   ; This is from memory, as I'm not near my hobbyist machine at # the moment; but you get the intent.    cu,    Martin   ------------------------------  % Date: Fri, 29 Jul 2005 10:19:19 -0400 2 From: "Stanley F. Quayle" <squayle@insight.rr.com>W Subject: Re: Building SIMH V3.4 on OpenVMS Alpha V7.3-2 / CC V6.5 - errors - any ideas? / Message-ID: <42EA02A7.27620.1294B7F9@localhost>   1 On 29 Jul 2005 at 11:00, Martin Vorlaender wrote:  > #ifdef __VMSB >  if (np = strrchr (nbuf, ';')) *np = 0;     /* remove version */ > #endif? >  if (np = match_ext (nbuf, "EXE")) *np = 0; /* remove .exe */   C You need to make another tweak -- if the file is on an ODS-5 disk,  F the extension you get won't necessarily be "EXE".  Could be "exe", or D some other combination of case.  I suggest you upcase it inside the % #ifdef, unless you do it elsewhere...   
 --Stan Quayle  Quayle Consulting Inc.  
 ----------- Stanley F. Quayle, P.E. N8SQ  +1 614-868-1363 3 8572 North Spring Ct., Pickerington, OH  43147  USA 0 stan-at-stanq-dot-com       http://www.stanq.com) "OpenVMS, when downtime is not an option"    ------------------------------  % Date: Fri, 29 Jul 2005 11:49:59 -0400 - From: "John E. Malmberg" <wb8tyw@qsl.network> Y Subject: Re: Building SIMH V3.4 on OpenVMS Alpha V7.3-2 / CC V6.5 - errors - any ideas? - 1 Message-ID: <mJqdnTGvMPe0zXffRVn-uQ@adelphia.com>    Stanley F. Quayle wrote:3 > On 29 Jul 2005 at 11:00, Martin Vorlaender wrote:  >  >>#ifdef __VMSB >> if (np = strrchr (nbuf, ';')) *np = 0;     /* remove version */ >>#endif? >> if (np = match_ext (nbuf, "EXE")) *np = 0; /* remove .exe */  >  > E > You need to make another tweak -- if the file is on an ODS-5 disk,  H > the extension you get won't necessarily be "EXE".  Could be "exe", or F > some other combination of case.  I suggest you upcase it inside the ' > #ifdef, unless you do it elsewhere...   D If you use the DECC$ feature logicals, you can suppress the version D number from showing up.  By using a LIB$INITIALIZE section, you can F either set the features or logicals before you enter the main routine.  E Then you may not need a VMS specific conditional in the code, as the  J LIB$INITIALIZE module can be in a separate module than the main() routine.  B If you are going to use VMS specific conditionals, you can use an D extension to the open() or fopen() routines to specify a given file F specification of ".INI;0", and a default specification of the program  name in VMS format.   H Or to be more VMS like, you would use "SIMH" as the open filename, with F ".INI;0" as the default filename, and the program name as the related  file specification.   E Either way eliminates you trying to parse the filename.  Remember on  E ODS-5, SIMH^;3.EXE is a legal filename, and the period can also be a   version delimiter.  D You can use the f$parse() in DCL to verify that you are getting the  result that you intend.   C I would definitely recommend not trying to manually parse VMS file  G specifications.  I have several tasks ahead of me to fix programs that  C can parse ODS-2 specifications, but can not handle ODS-5 filenames.    -John  wb8tyw@qsl.network Personal Opinion Only    ------------------------------  % Date: Fri, 29 Jul 2005 10:45:57 +0200 - From: "Martin Vorlaender" <mv@pdv-systeme.de> * Subject: Re: Collapsing a bound volume set, Message-ID: <3ku8m5F108nk3U1@individual.net>   I wrote:; > I have been trying to BACKUP/IMAGE an old volume set to a I > shiny new MSA-1000 partition just recently, and BACKUP refused to work: G > you can only make an image copy to the same number of disks as are in  > the volume set.  > ' > I ended up doing a non-/IMAGE backup.   , To complete the report: the error message isH %BACKUP-F-BADSETCNT, incorrect number of devices in output specification  + Makes sense, as the RVN is part of the FID.   ) Thanks for the hint to copy to a saveset.    cu,    Martin   ------------------------------  # Date: Fri, 29 Jul 2005 15:02:20 GMT , From: Hoff Hoffman <hoff-remove-this@hp.com>* Subject: Re: Collapsing a bound volume set1 Message-ID: <0yrGe.9546$9a.9212@news.cpqcorp.net>    Ed Wilts wrote: F > I'm far from being an expert in bound volume sets so I hope what I'mI > trying to do is possible...  I've got a 4-member bound volume set on an G > HSJ-50 that I'd like to migrate to a new single volume on an EVA.  Is E > it possible to migrate all of the files to a single member and then B > eliminate the volume set by mirroring the remaining volume to anG > EVA-based disk?  I'm trying to avoid using VMSbackup for this because I > the directory hierarchy consists of lots and lots of little files and I I > don't want to take the volume offline for that long unless I don't have  > a choice.   H    The requirement for low downtime or no downtime is arguably the most I difficult portion of this environment.  (And most any other environment,   obviously.)   I    BACKUP/IMAGE won't work here, you have to use a file-based BACKUP (or  F COPY, etc) to reduce the number of disk volumes in a bound volume set G (BVS).  BACKUP/IMAGE will strive to recreate the same number of output  E volumes as the input BVS.  This maintains the FID values, as that is  G part of the definition of BACKUP/IMAGE -- a FID contains and maintains  3 the relative volume number within a BVS, of course.   F    It's easy to add volumes to a BVS, but not so easy to remove them. F (I don't know if this case happens often enough to warrant creating a E tool to pack down a BVS into fewer volumes and to then use something  D like Dynamic Volume Expansion (DVE) to expand the remaining volume. H I've not heard of such a tool, nor have I particularly seen BVS and DVE ( mixed, but it is the direction I'd try.)  G    The no-downtime approach here would be four equivalently small disk  F partitions in the storage controller, and host-based volume shadowing.  H    This leaves you with the original BVS configuration on newer storage G hardware, quite obviously, but it does provide you with the ability to  ' schedule when you take the BVS offline.   E    A more involved approach would be to shadow over to the new disks  F (with DVE enabled) and then write a tool which processes the files by E FID, moving each over to the root BVS and expanding it to make room.  G The "fun" here is that I don't immediately know how to remove a volume  G from a BVS -- that would involve patching the disk structure directly.  = But you could easily configure a big volume and (here) three  I (deliberately-filled) "runt" volumes in a BVS, and not need to patch the   disk structure.   C    Before trying any of this, I'd obviously want to test it in the  F target environment.  BVS configurations are comparatively rare, in my @ experience, and local storage environments and applications can , obviously have some surprising complexities.   ------------------------------  % Date: Fri, 29 Jul 2005 10:50:19 -0500 & From: Thomas Wirt <twnews@kittles.com>) Subject: Re: event occurred in BASEstar ? E Message-ID: <2b231$42ea503d$4367aba2$19742@msgid.meganewsservers.com>    BG Jeong wrote: 9 > I'd pleased if anyone could tell me what this means ...  > = > our BASEstar on VMS system occurred some Events repeatedly.   H I hate to disagree with the experts, but if you have a Basestar on your > VMS system you are in grave danger!  You should flee the area C immediately.  You are in imminent danger of being cyber-sexed by a  H beautiful blond!  Be warned, she may look human, but she is not.  After F she cyber-sexes you she will either ask you to raise her children, or I kill you, depending on your level of evil brilliance.  Again I warn you,  @ LEAVE THE AREA IMMEDIATELY!!!  Do not wait for the cyber-sexing.  G If this warning means nothing to you, then I say, "You call yourself a  H computer professional?" and I point you to the Sci Fi channel on Friday 
 evenings.  :)    > P > ============================================================================== > @ > Does it mean that there is something wrong with the DECserver?F > It's not a very big problem as it works, but I'd love to understand.Q > is there any way I could change any setting so it would not occure error event?      --     Thomas Wirt  Systems Manager  Kittle's Home Furnishings  Indianapolis, IN   ------------------------------    Date: 29 Jul 2005 09:52:19 -0700; From: "johnhreinhardt@yahoo.com" <johnhreinhardt@yahoo.com> ) Subject: Re: event occurred in BASEstar ? B Message-ID: <1122655939.912650.38130@g47g2000cwa.googlegroups.com>   Thomas Wirt wrote: > BG Jeong wrote: ; > > I'd pleased if anyone could tell me what this means ...  > > ? > > our BASEstar on VMS system occurred some Events repeatedly.  > I > I hate to disagree with the experts, but if you have a Basestar on your ? > VMS system you are in grave danger!  You should flee the area D > immediately.  You are in imminent danger of being cyber-sexed by aI > beautiful blond!  Be warned, she may look human, but she is not.  After G > she cyber-sexes you she will either ask you to raise her children, or J > kill you, depending on your level of evil brilliance.  Again I warn you,B > LEAVE THE AREA IMMEDIATELY!!!  Do not wait for the cyber-sexing. > H > If this warning means nothing to you, then I say, "You call yourself aI > computer professional?" and I point you to the Sci Fi channel on Friday  > evenings.  :)  >   F Personally, I like the "Sharon" model better than the "Six" model, butC then Dr. Baltar obviously has a few problems anyway.  For a genius, ' he's a fracking idiot most times...  ;)    ------------------------------  # Date: Fri, 29 Jul 2005 14:52:59 GMT & From: John Reagan <john.reagan@hp.com>6 Subject: Re: How does sys$pal_swasten work on Itanium./ Message-ID: <fprGe.9545$ej.31@news.cpqcorp.net>    roger wrote:F > On alpha, sys$setast() calls the pal code routine PAL_SWASTEN.  ThisI > PAL code routine swaps the ast enable bit in the ASTEN register for the I > current mode (and current process since it's currently in the CPU).  If F > enabled and ast's are pending, then SWASTEN caused an IPL 2 deliveryI > interrupt request.  Since PAL code runs with interrupts turned off, and H > I assume, ASTs are enabled/disabled for each kernel thread and since aE > single CPU can be running only one thread, this is atomic.  I would I > also assume, the ASTEN bits are saved back to the thread data structure > > if the currently running thread is context switched.  So theI > PHD$Q_ASTSR_ASTEN might not match the register for a while, but it will  > be updated later.  > F > OK.  I think I understand this, but correct me if I'm wrong, or feelE > free to add any other comments about this.  But my main question is > > trying to understand Itanium and this little example routineH > sys$setast().  Since there is no PAL code routines on Itanium how doesG > the sys$pal_swasten() routine work.  Does it turn off all interrupts? I > or take out the sched spin lock to prevent scheduling (i guess it would G > just have to raise IPL to sched), or some other method?  I just don't F > see it yet, so I'm sure I'm missing something, so any information in, > this area might help me understand this... >   G Just curious.  Why do you want to know?  Is there something wrong with  
 SYS$SETAST()?   G Many of the SYS$PAL_xxx services do indeed have to turn off interrupts  . and/or raise IPL to 31, etc. to do their work.   --   John Reagan / HP Pascal/{A|I}MACRO for OpenVMS Project Leader  Hewlett-Packard Company    ------------------------------    Date: 29 Jul 2005 09:47:31 -0700$ From: "roger" <roger.tucker@mci.com>6 Subject: Re: How does sys$pal_swasten work on Itanium.C Message-ID: <1122655651.667674.191900@g49g2000cwa.googlegroups.com>   ; Like most engineers, I like to learn and understand things. D Would love an Internals and Data structures book on openvms itanium., or any other articles you might be aware of.; But I'm still curious exactly how this works as an example.    ------------------------------  # Date: Fri, 29 Jul 2005 15:17:49 GMT " From:   VAXman-  @SendSpamHere.ORGU Subject: Re: It's that time again for my quarterly "Where is the CONDIST???" posting. 0 Message-ID: <00A477B7.9DF37DDA@SendSpamHere.ORG>  S In article <00A47738.5BA2B362@SendSpamHere.ORG>, VAXman-  @SendSpamHere.ORG writes:  >In article <zZ9Ge.78813$G8.52822@text.news.blueyonder.co.uk>, "Colin Butcher" <colin_DOT.butcher_AT@xdelta_DOT.co_DOT.uk> writes:K >>Nothing yet, not even a notification from DSPP EMEA that it's "come out".  > N >Jeez Colin, how do you rate?  I get nothing, nunca, nada, ziltch, zero, etc. M >from DSPP.  I wouldn't know they existed had it not been for some posting in L >comp.os.vms.  The fact that there is a $524.70 debit in my business accountM >on 31-March-2005 for the VMS SDK would have me believe that DSPP is still in M >existance.  Actually, the latter still reports as Compaq Computer Corp. and  , >not DSPP (assuming we were being pedantic).    M I just received the following information in a private email.  It's from HP's 	 web site:   G | HP continues to support software developers on HP AlphaServer Systems D | running the HP OpenVMS operating system. While we no longer have aC | subscription software service, you can have access to HP systems, J | porting and migration assistance, licensing keys, technical information, | and software updates.  |  | SOFTWARE MEDIA KIT | G | Partners who need media kits can purchase them from HP using the part B | numbers listed below. Contact the DSPP discount purchase programD | (toll free from the US - 800-249-3294, option 3) and we will quote, | the software for you and place your order.  I WHAT THE FUCK!  WHY DID I GIVE HP $500+ CIRCA APRIL FOOL'S DAY IF THE SDK H WAS TO BE DISCONTINUED?  AN APPROPRIATE DATE FOR THE COLLECTION OF THESE FUNDS.  I EXCUSES ME!  SOMEBODY PLEASE PROVIDE ME WITH THE NOT-FOR-PROFIT CORP. ID  J FOR HP SO THAT I CAN CLAIM THIS "MONETARY DONATION" ON MY 1040 NEXT YEAR.      --  K VAXman- A Bored Certified VMS Kernel Mode Hacker   VAXman(at)TMESIS(dot)COM              5   "Well my son, life is like a beanstalk, isn't it?"     ------------------------------  + Date: Fri, 29 Jul 2005 16:43:29 +0000 (UTC) P From: helbig@astro.multiCLOTHESvax.de (Phillip Helbig---remove CLOTHES to reply) Subject: Re: LaTeX ---> PDF $ Message-ID: <dcdmbh$4us$1@online.de>  D In article <dcbcm3$ckk$3@online.de>, helbig@astro.multiCLOTHESvax.de3 (Phillip Helbig---remove CLOTHES to reply) writes:    G > > if you're running an old enough version of ghostscript, there's not . > > one.  report which version you're running. >  > GS4_03 >  > > ps2pdf does  > > U > >  ghostscript -q -dNOPAUSE -sDEVICE=pdfwrite -SOutputFile=<output> <input> -c quit  >  > I tried this:  > E > $  gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile='P2' 'P1' -c quit 	 > $  EXIT  > K > I see the picture in the window, then it disappears and (as far as I can   > tell), no file is created.  5 After some experimenting, the following works for me:   
 $! PS2PDF.COM ? $  GS "-dNOPAUSE" "-sDEVICE=pdfwrite" "-sOutputFile=''P2'" 'P1'  $  EXIT    where   )   GS == "$DISK$SOFT:[GHOST.GS4_03]GS.EXE"   ' This produces a file which starts with        %PDF-1.1   > and is readable by a relatively new version of Acrobat Reader.  G (With PostScript files produced from LaTeX via DVIPS, I found that the  I top of the page was cut off in the PDF version, but that is probably due  H to different assumptions about page size.  I can live with that for the I time being by manually adding some space at the top of the page.  Yes, I  @ know that more modern LaTeX installations can produce PDF files H "directly", probably with many more features, but this is enough for my  purposes now.)   ------------------------------  + Date: Fri, 29 Jul 2005 16:56:07 +0000 (UTC) ( From: m.kraemer@gsi.de (Michael Kraemer) Subject: Re: LaTeX ---> PDF 5 Message-ID: <dcdn37$f2q$1@lnx107.hrz.tu-darmstadt.de>   M In article <dcdmbh$4us$1@online.de>, helbig@astro.multiCLOTHESvax.de (Phillip ) Helbig---remove CLOTHES to reply) writes: I > (With PostScript files produced from LaTeX via DVIPS, I found that the  K > top of the page was cut off in the PDF version, but that is probably due  , > to different assumptions about page size.   : I think I've observed that whenever one "cheats" by using B stuff like \topmargin{-1cm} to increase the usable size of a page.* In PostScript it looks OK, but not in PDF.   ------------------------------  % Date: Fri, 29 Jul 2005 11:30:09 +0200 1 From: =?ISO-8859-1?Q?Jean-Fran=E7ois_Pi=E9ronne?=  Subject: new zlib kit 5 Message-ID: <42e9f721$0$909$8fcfb975@news.wanadoo.fr>    Hi all,   < zlib 1.2.3 is just out -- the zlib compression/decompression         http://www.zlib.net/     From the page:I       Version 1.2.3 eliminates potential security vulnerabilities in zlib D       1.2.1 and 1.2.2, so all users of those versions should upgrade@       immediately. The following important fixes are provided in&       zlib 1.2.3 over 1.2.1 and 1.2.2:  B       * Eliminate a potential security vulnerability when decoding         invalid compressed data B       * Eliminate a potential security vulnerability when decoding)         specially crafted compressed data J       * Fix a bug when decompressing dynamic blocks with no distance codes6       * Fix crc check bug in gzread() after gzungetc()C       * Do not return an error when using gzread() on an empty file       G I have build new kits for AXP and IA64, which can be download as usual  1 from http://www.pi-net.dyndns.org/anonymous/kits/       
 Jean-Franois  ps.   F These zlib kits are used by MySQL, Python, WASD and some others tools.   ------------------------------  % Date: Fri, 29 Jul 2005 10:03:35 +0200  From: S <soterroatyahoodotcom>  Subject: Re: nsswitch equivalent& Message-ID: <42e9e2d3$1@news1.ethz.ch>   bhushann@gmail.com wrote: 7 >    I would like to know what is the equivalent of the / > nsswitch.conf(unix) in UCX stack for OpenVMS.  >   ? UCX is called nowadays TCPIP, are you really interested in UCX?   
 On this page: * http://h71000.www7.hp.com/DOC/tcpip55.html? you'll find some useful docs, among them the 'Installation and  E configuration' and 'Command reference' (and also others, even a Unix  E command equivalence table). You'll find documentation also for older   TCPIP versions.   H Good places for you to look at: the TCPIP commands SET NAME_SERVICE and G SET CONFIGURATION NAME_SERVICE (in 'TCP/IP Services Management Command  H Reference') and chapter '6.9: Configuring the BIND resolver' in 'TCP/IP  Services Management'.    Cheers,  S    ------------------------------  % Date: Fri, 29 Jul 2005 20:47:09 +1200 $ From: "Lurker" <nowhere@nothing.com>A Subject: Re: Rounding v Truncation, was: Re: Platform Support vs. 3 Message-ID: <Q0mGe.4444$PL5.400224@news.xtra.co.nz>   / "AEF" <spamsink2001@yahoo.com> wrote in message = news:1122590764.379165.167990@g47g2000cwa.googlegroups.com...  >  > Dave Froble wrote:L > >   Consistancy is to be desired, and rounding .5 in both directions basedI > > upon it's whole value is not consistant.  At least for any real world  > > situations I'm aware of. >  > See  >  >  http://groups-beta.google.com/group/comp.lang.forth/browse_frm/thread/83e9b6468b8274ce/d6da79b3000313b7?lnk=st&q=ROUNDING+NEAREST+EVEN&rnum=10#d6da79b3000313b7  > E > and start from post number 11. It has to do with "double rounding".  > (Sorry about any url wrap.)   ) Interesting reading. Thanks for the link.    ------------------------------  % Date: Fri, 29 Jul 2005 05:30:01 -0700 ( From: Jeff Cameron <roktsci@comcast.net>A Subject: Re: Rounding v Truncation, was: Re: Platform Support vs. 0 Message-ID: <BF0F6F59.1188B%roktsci@comcast.net>   On 7/28/05 7:57 PM, in article< 1122605870.091470.310180@g43g2000cwa.googlegroups.com, "AEF" <spamsink2001@yahoo.com> wrote:   5 >> "rounding" is a subjective operation.  If you have " >> 10.4444444444444444444444444446 >>  L >> Is that machine going to see the 6, and then round each digit as it moves >> left P >> to come up with integer 11, or will it stop after n decimals and see only "4" >> and keep the integer at 10 ?   @ Rounding is not a subjective operation. Where did you learn yourL mathematics? Whenever you are rounding, you must indicate to what precision.L In your example, if you are rounding to a precision of 27 decimal places youG get 10.444444444444444444444444445. The one place being rounded to this I precision does not cause the rounding of all the remaining 4's up to a 5, I ultimately resulting in an 11. If you are rounding to the nearest integer J then your value of 10.4444444444444444444444444446 is quite obviously well2 below 10.5 so it will always yield a value of 10.    ------------------------------  % Date: Fri, 29 Jul 2005 05:43:22 -0700 ( From: Jeff Cameron <roktsci@comcast.net>A Subject: Re: Rounding v Truncation, was: Re: Platform Support vs. 0 Message-ID: <BF0F727A.11891%roktsci@comcast.net>  B On 7/28/05 9:41 PM, in article osiGe.34790$Iv5.31505@fe02.lga, "Z" <Z@no.spam> wrote:  J >> Now, considering how real numbers rarely exactly represent the intended	 >> value, P >> are are you so sure that you can compare exacly against .5000000000000 ??????  F Again I question your schooling. The value .5 can easily be accuratelyD represented in every floating point format I know. If it can't, thenH shuttles, airlines, automobiles and anything with a computer would crashI with a an error of Plus or minus 0.01. Your error of exact representation J comes into play at finer precisions, and the precision at which a floatingL point number in a computer begins to have errors is a function of the number! of bits assigned to the mantissa.    ------------------------------  % Date: Fri, 29 Jul 2005 05:36:57 -0700 ( From: Jeff Cameron <roktsci@comcast.net>A Subject: Re: Rounding v Truncation, was: Re: Platform Support vs. 0 Message-ID: <BF0F70F9.1188D%roktsci@comcast.net>  I On 7/28/05 8:31 PM, in article 42E9A307.A3BF6949@teksavvy.com, "JF Mezei" % <jfmezei.spamnot@teksavvy.com> wrote:    > AEF wrote:H >> There is no way it will round each digit in the fractional part. What >> are you smoking?  >  > I don't smoke. >  > P > At school, I was told that 7.399999999999999999999 would be rounded to 7.4 and > then 7 > < > 3.499999999999999999999 would be rounded to 7.5 and then 8 > P > Now, considering how real numbers rarely exactly represent the intended value,O > are are you so sure that you can compare exacly against .5000000000000 ??????  Where did you go to school?   I Rounding to the nearest 0.1, you would get 7.4 because your test value is H 7.35. If greater the your result is 7.4 if less than then your result is 7.3.    E If you are rounding to the nearest integer your test value is 7.5, if J greater, the result is 8, if less the result is 7. Therefore 7.39999999... Is still less than 7.5.   K I hate to think what company has you in their computing/IT department. This  is 2nd grade stuff here.   ------------------------------    Date: 29 Jul 2005 08:25:17 -0500 From: briggs@encompasserve.orgA Subject: Re: Rounding v Truncation, was: Re: Platform Support vs. 3 Message-ID: <1BVLIKtsSSCo@eisner.encompasserve.org>   \ In article <42E9A307.A3BF6949@teksavvy.com>, JF Mezei <jfmezei.spamnot@teksavvy.com> writes:P > Now, considering how real numbers rarely exactly represent the intended value,O > are are you so sure that you can compare exacly against .5000000000000 ??????   A Since floating point numbers are generally represented in binary, 9 it is almost certain that you can indeed do exactly that.   I Newbie programmers treat floats as if they were infinite precision reals.   ? More accomplished programmers treat floats with utter paranoia.   @ Real programmers understand the implmentation and know where the+ real pitfalls lie -- and where they do not.    	John Briggs   ------------------------------  % Date: Fri, 29 Jul 2005 11:33:32 +0200 1 From: =?ISO-8859-1?Q?Jean-Fran=E7ois_Pi=E9ronne?= + Subject: Re: simple image processing on VMS 7 Message-ID: <42e9f7ec$0$22281$8fcfb975@news.wanadoo.fr>    Alphaman wrote:  > Peter Weaver wrote:  > K >> I had trouble trying to figure out how to get JPEG to work since I'm not I >> a C programmer but in the end I think it was rather easy. I downloaded ' >> the ImageMagick-5.5.1-1.zip kit from J >> ftp://ftp.fifi.org/pub/ImageMagick/vms/  and grabbed the JPEG code fromH >> the Mosaic directory on the V7 Freeware. IIRC the only thing I had toI >> change was one .H file and the MAKE.COM to include the Mosaic library. H >> If you want to send me a sample image I from your camera and if I canF >> read it I will send you the exact steps I went through to build it. >  > I > I'd be happy to send you a link to a photo -- I think you can decipher  H > my email address from this post easily enough.  But also, if you look K > below, you can decipher my photo gallery address and actually get to one  K > of the photos as it came from my camera (just go to any image page, then  F > click on the image itself to download the full-size original photo.) > J > My goal with any kind of image processing (I still wonder why GD wasn't I > included in the PHP extensions) is thumbnails plus intermediate sizing  H > of photos and extraction of EXIF info for display in my photo gallery  > software.  >   A Python for OpenVMS include the PIL (Python Imaging Library), from ) http://www.pythonware.com/products/pil/ :   G The Python Imaging Library (PIL) adds image processing capabilities to  F your Python interpreter. This library supports many file formats, and = provides powerful image processing and graphics capabilities.   , Python for OpenVMS include also a GD module.    H >> Keep in mind that all I wanted was to be able to create thumbnails ofI >> .JPG files from the command line, so maybe what you want to do is more I >> complicated than what I got going; What did you want ImageMagick to do  >> with your MPEG files? >  > J > I'd like to extract the first key frame from an MPEG stream to use as a   > thumbnail in my photo gallery. > J > My current gallery (all DCL code!) can be viewed at "aaron dot isa-geek H > dot org /cgi-bin/gallery" for those humans truly interested.   It has G > been developed and tested with Mozilla (and Firefox), but looks like  F > crap with IE due to its poor handling of the CSS.  My sympathies to ( > those who are stuck using that...  :^) >   > Cheers & thanks for the offer! > Aaron     
 Jean-Franois    ------------------------------  % Date: Fri, 29 Jul 2005 06:23:24 -0700 # From: Joe Bloggs <JBloggs@acme.com> ) Subject: Re: Using LAT on a DecServer 700 8 Message-ID: <4e9ke150sn93p9rmh7kus12nli2b7nabm0@4ax.com>  5 On Fri, 29 Jul 2005 10:25:04 +0100, "Chris Blackburn" + <chris.blackburn@uk.thalesgroup.com> wrote:   C >Does anyone know how to clear a terminal server buffer using LAT ?  > M >The problem arrises when characters are sent to the terminal server port and J >the port is configured to use CTS flow control. If CTS is not present the >characters M >will be buffered in the terminal server eventually filling up the buffer and 
 >returningH >an error to the calling software. At this point I need to clear out any >characters that6 >are left in the terminal server buffer for that port. >  >Chris.   + Might have a look at the I/O users manual,  & mostly at the TT/LT driver portions.    0 w/ the QIO api you can get the typeahead count, E purge the typehead buffer, and enabled/disable the typehead buffer(s)   7 Google on IO$M_TYPEAHDCNT, IO$READVBLK and IO$M_PURGE,  # TT$M_NOTYPEAHD, and maybe ALTYPAHD.   = I recall using one technique, we $set term/notype_ahead/perm  6 on the terminal device, and had the application enable" typeahd temporarily (io$_set_mode)  A iirc, terminal server ports in reality have small hardware (uart) < fifo buffers (255?), and most of the buffering could/should ; be done on the VMS host via typeahd. (and/or make sure the  3 application issues reads often enough/long enough).   9 if the terminal server is correctly raising/dropping CTS, B the device on the other end, if properly configured, ought to pace: itself. You might also verify the terminal server does in < fact support cts/rts handshake  (iirc, the 700 series does).  A I recall debate inre some DECserver models that, in theory, fully B supported cts/rts handshake, would actually do so properly in both directions.  	  sys$qiow(            EFN$C_ENF             ,chan                -  ,(IO$_READVBLK | IO$M_PURGE)                 ;  ,&iosb          // isob                                    <  ,0              // ast                                     ;  ,0              // ast param.                              +  ,0,0,0,0,0,0    // p1-p6 unused            
  );              ------------------------------    Date: 29 Jul 2005 08:18:33 -0700$ From: "AEF" <spamsink2001@yahoo.com>G Subject: What is DKA100:XQPCACHE, Extent cache, etc., from SH DEV D/FU? C Message-ID: <1122650313.492972.273970@g43g2000cwa.googlegroups.com>    Hello cov readers!  G There is something below with cache name _xxxxx$DKA100:XQPCACHE. Why is F the system disk name there? All disks on a given system are named thisA way. I guess there is only one "XQP cache" for each system. (What 2 happens to this with disks shared in VMSclusters?)  F What is this cache? Where is it? Why is it so large? (There appears toD be no room at all for this in memory.) Why is the "maximum number ofE blocks in cache (96734) larger than its own size (64)? Where is it in . the docs (I did look and I could not find it).  B And any other words that would clear up what all these caches are.  E Note: I'm not trying to address any problem. I just want to know what  this is.   Hardware: MicroVAX 3100 : Software: VMS v6.1 VAX (I see the same on my v6.2 systems)   Thanks!     G Disk xxxxx$DKA200:, device type RZ28, is online, mounted, file-oriented  device, (     shareable, error logging is enabled.  <     Error count                    0    Operations completed 5204186 1     Owner process                 ""    Owner UIC  [SYSTEM]0     Owner process ID        00000000    Dev Prot S:RWPL,O:RWPL,G:R,W ;     Reference count                3    Default buffer size      512 9     Total blocks             4110480    Sectors per track       86 ;     Total cylinders             2988    Tracks per cylinder       16   >     Volume label             "DATA1"    Relative volume number       0 9     Cluster size                   4    Transaction count        3 =     Free blocks               967340    Maximum files allowed   411048 3     Extend quantity                5    Mount count        1 2     Mount status              System    Cache name "_xxxxx$DKA100:XQPCACHE"F     Extent cache size             64    Maximum blocks in extent cache   96734 B     File ID cache size            64    Blocks currently in extent cache  53024D     Quota cache size               0    Maximum buffers in FCP cache     980 0     Volume owner UIC        [SYSTEM]    Vol Prot S:RWCD,O:RWCD,G:RWCD,W:RWCD   C   Volume status:  subject to mount verification, write-back caching  enabled.   ------------------------------    Date: 29 Jul 2005 09:09:08 -0700$ From: "AEF" <spamsink2001@yahoo.com>K Subject: Re: What is DKA100:XQPCACHE, Extent cache, etc., from SH DEV D/FU? B Message-ID: <1122653348.542623.77020@z14g2000cwz.googlegroups.com>  
 AEF wrote: > Hello cov readers! > I > There is something below with cache name _xxxxx$DKA100:XQPCACHE. Why is H > the system disk name there? All disks on a given system are named thisC > way. I guess there is only one "XQP cache" for each system. (What 4 > happens to this with disks shared in VMSclusters?) > H > What is this cache? Where is it? Why is it so large? (There appears toF > be no room at all for this in memory.) Why is the "maximum number ofG > blocks in cache (96734) larger than its own size (64)? Where is it in 0 > the docs (I did look and I could not find it). > D > And any other words that would clear up what all these caches are. > G > Note: I'm not trying to address any problem. I just want to know what 
 > this is. >  > Hardware: MicroVAX 3100 < > Software: VMS v6.1 VAX (I see the same on my v6.2 systems) > 	 > Thanks!  >  [...]    Better version of SH DEV/FU   G Disk xxxxx$DKA200:, device type RZ28, is online, mounted, file-oriented  device, $ shareable, error logging is enabled.  D Error count               0  Operations completed            5206866D Owner process            ""  Owner UIC                      [SYSTEM]D Owner process ID   00000000  Dev Prot            S:RWPL,O:RWPL,G:R,WD Reference count           2  Default buffer size                 512D Total blocks        4110480  Sectors per track                    86D Total cylinders        2988  Tracks per cylinder                  16  D Volume label        "DATA1"  Relative volume number                0D Cluster size              4  Transaction count                     2D Free blocks          966088  Maximum files allowed            411048D Extend quantity           5  Mount count                           1D Mount status         System  Cache name     "_xxxxx$DKA100:XQPCACHE"D Extent cache size        64  Maximum blocks in extent cache    96608D File ID cache size       64  Blocks currently in extent cache  51772D Quota cache size          0  Maximum buffers in FCP cache        980D Volume owner UIC   [SYSTEM]  Vol Prot    S:RWCD,O:RWCD,G:RWCD,W:RWCD  A Volume status:  subject to mount verification, write-back caching  enabled.  E Sorry to respond to my own post in this manner, but I just discovered C that this has to do with the ACP system params. Apparently, extents  refer here to free space.   0 Anyway, I still have a question (saving grace!):  A If ACP_DIRCACHE caches directory blocks, does it not then contain C mappings of filenames to FID's? In which case, what is ACP_FIDCACHE  for?  ; Again, my apologies for jumping the gun in posting to soon.    ------------------------------    Date: 29 Jul 2005 12:30:00 -0500; From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) K Subject: Re: What is DKA100:XQPCACHE, Extent cache, etc., from SH DEV D/FU? 3 Message-ID: <nuOqMS15aILK@eisner.encompasserve.org>   j In article <1122650313.492972.273970@g43g2000cwa.googlegroups.com>, "AEF" <spamsink2001@yahoo.com> writes: > Hello cov readers! > I > There is something below with cache name _xxxxx$DKA100:XQPCACHE. Why is  > the system disk name there?   G    You can have more than one disk cache.  (See help mount /processor). D    By default one is created at the first mount and named after thatC    disk.  The system disk is automatically mounted before any other D    disk could be.  You can create other caches and you can specificy/    which cache you want other disks mounted to.   H > What is this cache? Where is it? Why is it so large? (There appears to( > be no room at all for this in memory.)  >    This is the disk I/O write-through cache.  It is in memory.   ------------------------------   End of INFO-VAX 2005.420 ************************