Path: utzoo!attcan!uunet!clyde.concordia.ca!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!goanna!ok From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) Newsgroups: comp.lang.fortran Subject: Re: WRITE conclusion. Keywords: WRITE CR LF suppress Message-ID: <3761@goanna.cs.rmit.oz.au> Date: 14 Sep 90 11:22:13 GMT References: Distribution: comp Organization: Comp Sci, RMIT, Melbourne, Australia Lines: 25 In article , quan@sol.surv.utas.oz (Stephen Quan) writes: > Basically, for other readers, my problem was I wanted to suppress CR,LF in > a WRITE operation so I could get the correct control codes to our TEKTRONIX > graphic terminals. ... > Either doesn't compile with our F77 PRIMOS compiler. The last time I used PR1MOS was PR1MOS IV, Rev 19. Back then it still had some special purpose "write character to terminal" routines. My memory is mercifully hazy, but I think CALL TTOU(char) wrote a character to the terminal. Something like that anyway. This is precisely the kind of thing that you can hide in a system-dependent subroutine... > 2. OPEN (U,FILE='filename',ACCESS='DIRECT',RECL=1). > Or at least, that's what I think you guys meant?! > I found that PRIMOS inserted an additional character for every write > operation. This was that uncontrollable record character? Probably not. PR1MOS used to like records that were a whole number of 16-bit words. This may just be padding. -- Heuer's Law: Any feature is a bug unless it can be turned off.