From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,f7eeaf3f508239ec X-Google-Attributes: gid1164f8,public X-Google-Thread: 113412,f7eeaf3f508239ec X-Google-Attributes: gid113412,public X-Google-ArrivalTime: 1993-08-08 20:42:46 PST Newsgroups: comp.os.dec,comp.sys.dec Path: gmd.de!newsserver.jvnc.net!yale.edu!think.com!spool.mu.edu!uwm.edu!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!john From: john@iastate.edu (John Hascall) Subject: Re: RMS limitations Message-ID: Sender: news@news.iastate.edu (USENET News System) Organization: Iowa State University, Ames, IA References: <1993Aug8.152431.4822@cs.rit.edu> Date: Mon, 9 Aug 1993 03:21:17 GMT 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) ; ; 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=,- ; File ACcess=GET (read) FNA=L$_IFILE(R11),- ; File Name Address FNS=L$_IDESCR(R11),- ; File Name Size FOP=,- ; 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=,- ; 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