calls $0,_iosync #insure that something is in the window
bisw2 $SYNC,FUNIT(r7) #throw it away
bbs $fWRITE,FUNIT(r0),l3002 #ignore sync of output files
calls $0,_unit #do not discard arguement to unit on return
calls $0,_unsync #prepare input stream
pushl $0 #space for answer
pushl sp #ptr to answer space
pushal rd4 #ptr to input format
calls $0,_unsync #prepare input stream
clrd -(sp) #space for answer
pushl sp #ptr to answer space
pushal rd8 #ptr to input format
bbs $fEOLN,FUNIT(r7),l3005 #check for already at end of line
rdln: .byte '%,'*,'[,'^,linefeed,'],'%,'*,'c, 0