Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: john@iastate.edu (John Hascall)
Subject: Re: RMS limitations
Date: Mon, 9 Aug 1993 03:21:17 GMT	[thread overview]
Message-ID: <CBH2nI.J6G@news.iastate.edu> (raw)
In-Reply-To: 1993Aug8.152431.4822@cs.rit.edu

whd0675@cs.rit.edu (Walter H Dick, III) writes:
}Come on people...  Enough is enough.  RMS does have a few limitations, ...
}                  ...   UNIX seems to attract all of the sub-standard 
}programmers.  If you can't program, you'll do UNIX!  For you UNIX guys, RMS
}does have STREAM, STREAM_LF, and STREAM_CR files.  You can use VAX C, GCC, or
}whatever and use those files just as you would on a UNIX box.  So, what's the
}problem? 

   Boy, thanks for clearing that up.  When I left VMS for Unix I was
   wondering what that funny feeling was -- it must have been all
   my brain cells leaking out.  By God, I hope never to go back to
   VMS and that pain in the ass, get in the way, RMS monstrosity.

   And it looks like I'll get my wish, our glorious VAXcluster
   is down to one node which spends most of its day playing a
   very expensive terminal server.

John
Boy, I really miss this kind of stuff.  NOT!
(and this only deals with sequential files)
\f
;
;	set up file and record access blocks
;
4$:     MOVB    #FAB$C_BID,-                    ; set up File Access Block (FAB)
                L$_IFAB+FAB$B_BID(R11)          ; for Input file
        MOVB    #FAB$C_BLN,-
                L$_IFAB+FAB$B_BLN(R11)
        $FAB_STORE-
                FAB=L$_IFAB(R11),-
                FAC=<GET>,-                     ; File ACcess=GET (read)
                FNA=L$_IFILE(R11),-             ; File Name Address
                FNS=L$_IDESCR(R11),-            ; File Name Size
                FOP=<SQO>,-                     ; File OPtions=SeQuential Only
                RTV=#255,-                      ; ReTrieVal window size=MAX
                XAB=L$_IXAB(R11)                ; eXtend Attribute Block
        MOVB    #XAB$C_FHCLEN,-                 ; set up XAB for
                L$_IXAB+XAB$B_BLN(R11)          ; File Header Characteristics
        MOVB    #XAB$C_FHC,-
                L$_IXAB+XAB$B_COD(R11)
        $XABFHC_STORE,-
                XAB=L$_IXAB(R11)
        PUSHAL  L$_IFAB(R11)
        CALLS   #1,g^SYS$OPEN                   ; open Input File
        BLBS    R0,5$
        BRW     99$                             ; exit on error
5$:
        BBC     #FAB$V_PRN,-                    ; Print file format?
                L$_IFAB+FAB$B_RAT(R11),55$
        CMPB    L$_IFAB+FAB$B_FSZ(R11),#2
        BNEQ    55$
        $RAB_STORE,-                            ; point to record header buffer
                RAB=L$_IRAB(R11),-
                RHB=L$_IRHB(R11)
55$:
        MOVB    #RAB$C_BID,-                    ; set up Record Access Block
                L$_IRAB+RAB$B_BID(R11)
        MOVB    #RAB$C_BLN,-
                L$_IRAB+RAB$B_BLN(R11)
        $RAB_STORE,-
                RAB=L$_IRAB(R11),-
                FAB=L$_IFAB(R11),-
                MBC=#IO_MBC,-                   ; Multi-Block Count
                MBF=#IO_MBF,-                   ; Multi-BuFfer count
                ROP=<RAH>,-                     ; Record OPtions=Read AHead
                RAC=SEQ                         ; Record ACcess=SEQuential
        PUSHAL  L$_IRAB(R11)
        CALLS   #1,g^SYS$CONNECT                ; prepare for record access
        BLBS    R0,6$
        BRW     99$                             ; exit on error

(*sheesh* are you still reading this gunk?!?)
-- 
John Hascall                   ``An ill-chosen word is the fool's messenger.''
Systems Software Engineer
Project Vincent
Iowa State University Computation Center  +  Ames, IA  50011  +  515/294-9551


  parent reply	other threads:[~1993-08-09  3:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-08-08 15:24 RMS limitations Walter H Dick, III
1993-08-08 16:29 ` Mike O'Connor
1993-08-09  1:46   ` Walter H Dick, III
1993-08-09  3:21 ` John Hascall [this message]
1993-08-10 14:17   ` Paul Repacholi
1993-08-11 20:39     ` Walter H Dick, III
1993-08-13 23:18       ` John Hascall
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox