[comp.sys.mac.programmer] How read by line from file

pcrable@pbs.uucp ( VAX WIZZ) (02/08/90)

In article <17625@megaron.cs.arizona.edu>, gerhard@cs.arizona.edu (Gerhard Mehldau) writes:

>>    In article <AZnWC8e00WB5IMBW8u@andrew.cmu.edu>, rf1m+@andrew.cmu.edu (Richard Vernon Ford) writes...
>>    -How do you use FSRead in newline mode?  .....


Along the same lines (hopefully), can you read from the serial port in 
newline mode ?

if ioPosMode is set to specify a termination character in the ParamBlockRec,
will this work with the serial driver ?

================================================================================
Phil Crable                              PPPPPPP   BBBBBBB    SSSSSS           
Public Broadcasting Service (PBS)        P      P  B      B  S      S          
Computer Services Dept.                  P      P  B      B  S                 
1320 Braddock Place                      PPPPPPP   BBBBBBB    SSSSSS           
Alexandria, VA  22314                    P         B      B         S          
(703) 739-5052                           P         B      B  S      S           
...!uunet!vrdxhq!pbs!pcrable             P         BBBBBBB    SSSSSS            
================================================================================

-- Don't beleive anything you hear and only half of what you see...

oster@dewey.soe.berkeley.edu (David Phillip Oster) (02/12/90)

In article <6142.25d0059a@pbs.uucp> pcrable@pbs.uucp ( VAX WIZZ) writes:
_>>>    In article <AZnWC8e00WB5IMBW8u@andrew.cmu.edu>, rf1m+@andrew.cmu.edu (Richard Vernon Ford) writes...
_>>>    -How do you use FSRead in newline mode?  .....
_>Along the same lines (hopefully), can you read from the serial port in 
_>newline mode ?

No, this will not work in the Serial Driver. (I know, I've tried.) It
should. That it does not is a bug in the operating system.

--- David Phillip Oster            --  No, I come from Boston. I just work
Arpa: oster@dewey.soe.berkeley.edu --  in cyberspace.
Uucp: {uwvax,decvax}!ucbvax!oster%dewey.soe.berkeley.edu