1 INFO-VAX	Mon, 25 Jul 2005	Volume 2005 : Issue 411       Contents: another CXX question Re: another CXX question Re: another CXX question) Re: Platform Support vs. Business Support ) Re: Platform Support vs. Business Support ( Re: Response issues on GS1280, VMS 7.3-2" Re: simple image processing on VMS Storage shelf questions  Re: Storage shelf questions  Re: Storage shelf questions  Re: Storage shelf questions P Re: Two New Itanium 2s Feature Faster Front-Side Bus - Is this new Montecito inf$ Re: VT420 Console - a quick question$ Re: VT420 Console - a quick question  F ----------------------------------------------------------------------  % Date: Sun, 24 Jul 2005 19:12:50 -0400 + From: Chip Coldwell <coldwell@gmail.nospam>  Subject: another CXX question A Message-ID: <Pine.LNX.4.61.0507241901080.13407@frank.harvard.edu>   7 The following code is excerpted from the lexer in Xpdf:    #include <ctype.h> #include <stdio.h>    int main(int argc, char *argv[]) {     const char *str = "3.14159"; 
    int c, xi;     double xf, scale;    bool neg;      while(c = *str++) {      switch (c) {   6      case '0': case '1': case '2': case '3': case '4':6      case '5': case '6': case '7': case '8': case '9':      case '-': case '.':        neg = false;         xi = 0;        if (c == '-') {          neg = true;        } else if (c == '.') {           goto doReal;         } else {           xi = c - '0';        }        while (1) {          c = str[1];          if (isdigit(c)) {            str++; $            xi = xi * 10 + (c - '0');          } else if (c == '.') {             str++;             goto doReal;           } else {             break; 
          }        }        if (neg)           xi = -xi;*        printf("integer value = %d\n", xi);
        break;       doReal:        xf = xi;         scale = 0.1;         while (1) {          c = str[1];          if (!isdigit(c)) {             break; 
          }          str++; %          xf = xf + scale * (c - '0');           scale *= 0.1;        }        if (neg)           xf = -xf;1        printf("floating-point value = %d\n", xf); 
        break;   
      default: %        puts("non-numeric character"); 
        break;       }    }    puts("done lexing");  }   7 When compiled with no options, it generates this error:   
 $ cxx/version , Compaq C++ V6.5-046 for OpenVMS Alpha V7.3-1 $ cxx foo.cc          if (neg)  ......^ 0 %CXX-W-CODEUNREACHABLE, statement is unreachable6 at line number 54 in file DISK$USER:[COLDWELL]FOO.CC;8  J And the compiler really means it -- it optimizes out the unreachable code.  H The line the compiler is complaining about is the one at the end of the F "while(1)" loop under the "doReal:" label where the lexer is lexing a I floating-point number.  There's all kinds of fishy things going on there  H (jumping to a goto-label in the middle of a bunch of switch-labels?!?), J but nonetheless I think the C++ standard requires that the "break" in the G "while(1)" loop should break out of the loop, not the enclosing switch.    I fixed the problem thus:         doReal:        xf = xi;         scale = 0.1;         while (1) {          c = str[1];          if (!isdigit(c)) {             goto doneReal; 
          }          str++; %          xf = xf + scale * (c - '0');           scale *= 0.1;        }      doneReal:        if (neg)           xf = -xf;1        printf("floating-point value = %d\n", xf); 
        break;   J and now I have a working Xpdf v3.00pl3 (compiled with Freetype 2.1.10 and / T1Lib 5.0.2 -- stay tuned for an announcement).    Chip   --   Charles M. "Chip" Coldwell Turn on, log in, tune out    ------------------------------  % Date: Sun, 24 Jul 2005 21:15:11 -0400 - From: "John E. Malmberg" <wb8tyw@qsl.network> ! Subject: Re: another CXX question 1 Message-ID: <d5mdnU71MuO8oHnfRVn-iw@adelphia.com>    Chip Coldwell wrote: >    $ cxx/version . > Compaq C++ V6.5-046 for OpenVMS Alpha V7.3-1 > $ cxx foo.cc >  >       if (neg)	 > ......^ 2 > %CXX-W-CODEUNREACHABLE, statement is unreachable8 > at line number 54 in file DISK$USER:[COLDWELL]FOO.CC;8  H There should be a #pragma that you can put in an architecture or system . specific header file to suppress this warning.  L The other thing would to use conditionals to prevent that code from comping.  9 On the HP C compiler it is only an informational message.   E IIRC: someone recently posted an HP FTP location where VMS C and C++  I compilers could be downloaded from if you have licenses and license keys  2 for them.  I wonder how many hobbyists noticed it.   -John  wb8tyw@qsl.network Personal Opinion Only    ------------------------------  % Date: Sun, 24 Jul 2005 19:47:46 -0700  From: Z <Z@no.spam> ! Subject: Re: another CXX question * Message-ID: <lpYEe.5354$U%6.2102@fe05.lga>   John E. Malmberg wrote:  > Chip Coldwell wrote: >  >> >  $ cxx/version > / >> Compaq C++ V6.5-046 for OpenVMS Alpha V7.3-1  >> $ cxx foo.cc  >> >>       if (neg) 
 >> ......^3 >> %CXX-W-CODEUNREACHABLE, statement is unreachable 9 >> at line number 54 in file DISK$USER:[COLDWELL]FOO.CC;8  >  > J > There should be a #pragma that you can put in an architecture or system 0 > specific header file to suppress this warning.  
 There's no  ' #pragma message disable CODEUNREACHABLE    in CXX?    ------------------------------   Date: 24 Jul 2005 19:40:36 GMT$ From: "Doc." <doc@openvms-rocks.com>2 Subject: Re: Platform Support vs. Business Support7 Message-ID: <Xns969DDC9052031dcovmsrox@212.100.160.126>   $ %NEWS-I-NEWMSG, Dave Froble wrote in( news:11e6060t1dhem0b@corp.supernews.com    > Are we off topic yet?   E Yes, and I can't top Keith's suggestion for how to get back on-topic.   K Still interesting, I just can't picture a microlight with jet engines.  At  0 least not without thinking of Wile-E-Coyote. :-)     Doc. --  G OpenVMS:     Eight out of ten hackers prefer *other* operating systems. G http://www.openvms-rocks.com    Deathrow Public-Access OpenVMS Cluster.    ------------------------------  % Date: Sun, 24 Jul 2005 20:40:10 -0400 - From: JF Mezei <jfmezei.spamnot@teksavvy.com> 2 Subject: Re: Platform Support vs. Business SupportB Message-ID: <1122252050.7cdc34cc0a4e137fd389393427699f27@teranews>  
 "Doc." wrote:  > & > %NEWS-I-NEWMSG, Dave Froble wrote in) > news:11e6060t1dhem0b@corp.supernews.com  >  > > Are we off topic yet?  > G > Yes, and I can't top Keith's suggestion for how to get back on-topic.   	 I can....   N When VMS is available on the 64 bit 8086s, Dave Frobble will be able to have aJ VMS node on a laptop on his ultralight to control the jet engines, provideK autopilot, and if there is enough software available, play movies/music for 7 entertainment while the plane drives itself :-) :-) :-)   L And with wi-fi support, Mr Frobble might be able to do some VMS support work from his plane...    ------------------------------  % Date: Mon, 25 Jul 2005 00:10:55 +0800  From: prep@prep.synonet.com 1 Subject: Re: Response issues on GS1280, VMS 7.3-2 - Message-ID: <87sly42nhs.fsf@prep.synonet.com>   $ Lee <lytmah@telusplanet.net> writes:  C > The strange thing is, most of the programs have not changed since E > the migration to GS1280 in May/2005.  Same application programs and @ > the FIO routines were compiled from a few years ago.  Programs$ > running on the ES45's, no problem.  E > After the first node was migrated to a GS1280 hard partition, users % > experience degraded response on it.   ? > When we had four ES45's, we could roll out one node for SW/HW E > maintenance with no response problem.  Now, when we take one GS1280 % > node out, response is embarrassing.   B Are you using  shared memory SCS channel and for the lock manager?   --  < Paul Repacholi                               1 Crescent Rd.,7 +61 (08) 9257-1001                           Kalamunda. @                                              West Australia 6076* comp.os.vms,- The Older, Grumpier Slashdot. Raw, Cooked or Well-done, it's all half baked.F EPIC, The Architecture of the future, always has been, always will be.   ------------------------------  % Date: Sun, 24 Jul 2005 16:29:25 -0400 4 From: "Peter Weaver" <newsgroup@weaverconsulting.ca>+ Subject: Re: simple image processing on VMS 8 Message-ID: <pTSEe.461$q23.101382@news20.bellglobal.com>  K This worked for me with Compaq C V6.5-001 on OpenVMS Alpha V8.2. Assuming I . did not miss any steps it should work for you;   $ create/dir dka200:[alphaman] $ set default dka200:[alphaman] ( $! download imageMagick-5.5.1-z.zip from< ftp://ftp.fifi.org/pub/ImageMagick/vms/ to dka200:[alphaman]
 $ unzip *.zip  $ create/dir [.libjpeg]  $ set def [.libjpeg]B $ copy dka400:[mosaic.libjpeg]*.* [] ! have Freeware 7.0 in DKA100 $ repeatL cc/nodebug/optimize/prefix=all/warning=(disable=rightshiftovr)/name=(as_is,sL hort) *.c ! if you don't have a repeat command just compile each program and Ignore any errors 5 $ libra/create/inser [-.imagemagick]libjpeg.olb *.obj ' $ copy jpeglib.h [-.imagemagick.coders] ' $ copy jconfig.h [-.imagemagick.coders] ( $ copy jmorecfg.h [-.imagemagick.coders]& $ copy jerror.h [-.imagemagick.coders] $ sd [-.imagemagick] $ edit [.magick]config.h_vms: ! change line 215 from #undef HasJPEG to #define HasJPEG 1 $ edit make.com F ! add ,[-]libjpeg.olb/lib to the end of the two link_libraries symbols $ @make ! Time for coffee 5 $ identify -format "%[EXIF:*]" SYS$LOGIN:DSC03830.JPG  ImageDescription= 	 Make=SONY  Model=CD MAVICA 
 Orientation=1  XResolution=72/1 YResolution=72/1 ResolutionUnit=2 DateTime=2005:04:17 08:02:04 ... F $ convert -resize 50% SYS$LOGIN:DSC03830.JPG SYS$LOGIN:DSC03830_50.JPG     Peter Weaver   ------------------------------  % Date: Sun, 24 Jul 2005 20:33:36 +0200 & From: "H Vlems" <nospam@what.ever.com>  Subject: Storage shelf questions< Message-ID: <af074$42e3df69$513b9a2c$15520@news.versatel.nl>  6 The storgae shelf in question is labeled : DS-BA356-JDB I got it together with two separately shipped personality modules:L  70-31490-01 (no other part no on the label) with two 68 pin SCSI connectors>  70-33067-02 or DS-BA35X-FA with one very small SCSI connector  
 Questions:K 1) does the shelf accept disks like the DS-RZ1DF-VW and/or the DS-RZ1CB-VW? @ 2) the 70-31490-01 has one bank of dip switches. I'm looking for
 documentation L 3) the DS-BA35X-FA has two sets of dip switches, need documentation for this unit as wellK 4) the $64000 question (:-): is this combination going to work with a KZPSA  or KZPCM-Dx adapter?  
 Hans Vlems   ------------------------------  % Date: Sun, 24 Jul 2005 21:13:24 +0100 6 From: "Alex Daniels" <AlexNoSpamDaniels@themail.co.uk>$ Subject: Re: Storage shelf questions5 Message-ID: <42e3f664$0$2715$da0feed9@news.zen.co.uk>   2 "H Vlems" <nospam@what.ever.com> wrote in message 6 news:af074$42e3df69$513b9a2c$15520@news.versatel.nl...8 > The storgae shelf in question is labeled : DS-BA356-JDD > I got it together with two separately shipped personality modules:C > 70-31490-01 (no other part no on the label) with two 68 pin SCSI   > connectors? > 70-33067-02 or DS-BA35X-FA with one very small SCSI connector  >  > Questions:A > 1) does the shelf accept disks like the DS-RZ1DF-VW and/or the   > DS-RZ1CB-VW?B > 2) the 70-31490-01 has one bank of dip switches. I'm looking for > documentation J > 3) the DS-BA35X-FA has two sets of dip switches, need documentation for  > this > unit as wellH > 4) the $64000 question (:-): is this combination going to work with a  > KZPSA  > or KZPCM-Dx adapter? >  > Hans Vlems  L The DS-BA35X-FA is a Single port, single-ended UltraSCSI personality module A for BA356. Although these settings cover the single or dual port   (DS-BA35X-FB) variants.   = It has two sets of switches as you have observed (S3 and S4).   L S3 (SCSI Address switch) - When shelf bus address switches on shelf one are  all set to OFF, then the SCSI + bus IDs are 0 through 6 on the first shelf.   L When shelf bus address switches 1, 2, and 3 on shelf 2 are set to ON, and 4,? 5, 6, and 7 are set to OFF, then SCSI bus IDs are 8 through 14.   J S4 (Bus termination switch) - 1,2 are for Channel A. 3,4 are for Channel B  0 1 OFF or 3 OFF - 16 Bit External Bus TerminationK Terminates all SCSI bus bits (full termination). This configuration is used I when the shelf is the end point in a SCSI bus and terminates all signals.   ; 1 ON, 2 OFF or 3 ON, 4 OFF - 8 Bit External Bus Termination L Terminates only the upper 8 data. This configuration is used when the input  bus L is a wide (16-bit) bus and it continues as a narrow (8-bit) bus. This could  be( used with a tri-link to a narrow device.  ) 1,2 ON or 3,4 ON - External Bus Expansion H No termination on the shelf. The shelf is not an end point of a SCSI bus% segment and no termination is needed.    Alex     ------------------------------  + Date: Sun, 24 Jul 2005 21:47:49 +0000 (UTC) P From: helbig@astro.multiCLOTHESvax.de (Phillip Helbig---remove CLOTHES to reply)$ Subject: Re: Storage shelf questions$ Message-ID: <dc12a4$1ne$1@online.de>  F In article <af074$42e3df69$513b9a2c$15520@news.versatel.nl>, "H Vlems" <nospam@what.ever.com> writes:    8 > The storgae shelf in question is labeled : DS-BA356-JD  M > 1) does the shelf accept disks like the DS-RZ1DF-VW and/or the DS-RZ1CB-VW?   7 I'm pretty sure a "VW" disk will work in a "356" shelf.    ------------------------------  % Date: Sun, 24 Jul 2005 19:00:15 -0700 # From: "Tom Linden" <tom@kednos.com> $ Subject: Re: Storage shelf questions( Message-ID: <opsuf46pcvzgicya@hyrrokkin>  K On Sun, 24 Jul 2005 21:47:49 +0000 (UTC), Phillip Helbig---remove CLOTHES   1 to reply <helbig@astro.multiCLOTHESvax.de> wrote:   H > In article <af074$42e3df69$513b9a2c$15520@news.versatel.nl>, "H Vlems"  > <nospam@what.ever.com> writes: > 9 >> The storgae shelf in question is labeled : DS-BA356-JD  > C >> 1) does the shelf accept disks like the DS-RZ1DF-VW and/or the    >> DS-RZ1CB-VW?  > 9 > I'm pretty sure a "VW" disk will work in a "356" shelf.  > B So does SEAGATE ST373405LC, and I am sure almost any 80 pin drive.   ------------------------------  % Date: Mon, 25 Jul 2005 00:29:23 +0800  From: prep@prep.synonet.com Y Subject: Re: Two New Itanium 2s Feature Faster Front-Side Bus - Is this new Montecito inf - Message-ID: <87oe8s2mn0.fsf@prep.synonet.com>   7 rdeininger@mindspringdot.com (Robert Deininger) writes:   ? > (Note: there's a terminology problem here.  The "400 MHz" FSB F > actually runs at 200 MHz and transfers data on both clock edges.  ItC > is more properly refered to as 400 M transfers/second.  Similarly B > for the "533 MHz" and "667 MHz" FSB speeds.  Obviously this is a8 > case where Intel's marketers outranked the engineers.)   The correct term is MegaBaud...    --  < Paul Repacholi                               1 Crescent Rd.,7 +61 (08) 9257-1001                           Kalamunda. @                                              West Australia 6076* comp.os.vms,- The Older, Grumpier Slashdot. Raw, Cooked or Well-done, it's all half baked.F EPIC, The Architecture of the future, always has been, always will be.   ------------------------------  # Date: Sun, 24 Jul 2005 23:10:56 GMT / From: Mark Schuster <mschuste@rochester.rr.com> - Subject: Re: VT420 Console - a quick question 8 Message-ID: <4eVEe.67825$0i3.56828@twister.nyroc.rr.com>  , This is a multi-part message in MIME format.& --------------090004090900040808010006; Content-Type: text/plain; charset=ISO-8859-2; format=flowed  Content-Transfer-Encoding: 7bit    Tomasz Dryjanski wrote: 	 > Hi All,  > B > I'm trying to deploy an Alpha Server 1000, 4/266. I've connected@ > a VT420 terminal via the DEC-423 port, and I've set the config? > as recommended, i.e. Transmit=Receive=9600, 8 Bits No Parity, B > 1 Stop Bit, etc. Instead of the startup messages, I can see some > garbage like& > p~~~~~~~~p~x~~|~~~~~~~~~~'~~|~~ etc. > F > I've tried several different settings, with various types of garbageB > as the result (some of it contained reversed '?', some contained1 > mainly umlauts), but this is not what I'd like.  > 9 > Can you please advise? Alas, I need a quick solution...  > 
 > Regards, > Tomasz  3 Did you also set the "console" parameter to serial?   >>> Set Console Serial 	  >>> Init   E If the console parameter is set "graphics" then it expects to have a   DECwindows terminal.  & --------------090004090900040808010006* Content-Type: text/x-vcard; charset=utf-8;  name="mschuste.vcf" Content-Transfer-Encoding: 7bit   Content-Disposition: attachment;  filename="mschuste.vcf"   begin:vcard  fn:Mark Schuster n:Schuster;Mark 3 email;internet:mschuste<at>rochester<dot>rr<dot>com  x-mozilla-html:FALSE version:2.1 	 end:vcard     ( --------------090004090900040808010006--   ------------------------------  % Date: Sun, 24 Jul 2005 20:01:15 -0500 2 From: David J Dachtera <djesys.nospam@comcast.net>- Subject: Re: VT420 Console - a quick question + Message-ID: <42E439DB.F70F60CC@comcast.net>    Mark Schuster wrote: >  > Tomasz Dryjanski wrote:  > > Hi All,  > > D > > I'm trying to deploy an Alpha Server 1000, 4/266. I've connectedB > > a VT420 terminal via the DEC-423 port, and I've set the configA > > as recommended, i.e. Transmit=Receive=9600, 8 Bits No Parity, D > > 1 Stop Bit, etc. Instead of the startup messages, I can see some > > garbage like( > > p~~~~~~~~p~x~~|~~~~~~~~~~'~~|~~ etc. > > H > > I've tried several different settings, with various types of garbageD > > as the result (some of it contained reversed '?', some contained3 > > mainly umlauts), but this is not what I'd like.  > > ; > > Can you please advise? Alas, I need a quick solution...  > >  > > Regards,
 > > Tomasz > 5 > Did you also set the "console" parameter to serial?  >  >>> Set Console Serial  >  >>> Init  > F > If the console parameter is set "graphics" then it expects to have a > DECwindows terminal.  G Oopsie! DECwindows doesn't run on the console, and is optional once VMS  boots.  E You meant to say that "it" (the Alpha) expects to communicate via the E keyboard port (for input) and the video display card (if present)(for  output).   --   David J Dachtera dba DJE Systems  http://www.djesys.com/  ) Unofficial OpenVMS Hobbyist Support Page: " http://www.djesys.com/vms/support/  ( Unofficial Affordable OpenVMS Home Page: http://www.djesys.com/vms/soho/   " Unofficial OpenVMS-IA32 Home Page: http://www.djesys.com/vms/ia32/    Coming soon:& Unofficial OpenVMS Marketing Home Page   ------------------------------   End of INFO-VAX 2005.411 ************************