                                                      LINE XFLEX

Line xflex puts paper tape on magnetic tape in 1401 line
images.  It is usful in getting listings of long programs
and detecting errors in typing.

Characters are translated exactly as they are on the tape.
Illegal characters are translated into apostrophes.  
Upshifts are incidated by stars.  Downshifts are indicated by
dollar signs.  The maximum length of a line is 131 characters.
If this amount is exceeded the next line will be automatically
indented 6 characters.  Stop codes take one to the top of the
next page.  The program is used as follows.

Using the program

1) Put Tsar in the computer if it is not already there.
2) Load the program on the console level, it is only 2000
   octal locations long and therefore, needs a mask covering
   only a quarter of a bank.  As presently compiled
   the program runs in the first quarter of any bank.
3) Put the paper tape in the reader and turn it on.
4) Mount the output tape on unit two. 
5) Set the sense switches to the desired option and type "?a".
6) Wait until the program has responded as explained below.
7) Repeat (5) and (6) until all tapes are on the output tape.

Sense Switches

1   Write and end-of-file on the tape.  This is a single word
    "171717".  Response is a count on the typewriter.
2   Rewind the tape.   Wait until the motion of the tape stops.
4   Go to a new page.  As in end-of-file wait until the short
    motion occurs.  Typewriter will output a count.
5   Double space the listing, leave this switch up whenever
    double spacing is desired.


In general


To list a tape put all switches down (except 5 for double space).
If more than one switch is up the one with the lowest number 
has control.
THE PROGRAM INDICATES IT IS FINISHED BY TYPING THE NUMBER OF 
RECORDS WRITTEN ON TAPE= IN OCTAL= IN RED= ON THE TYPEWRITER.
DO NOT TURN OFF THE PAPER TAPE READER UNTIL THE COUNT IS TYPED
MAKE SURE THE CLOCK IS ON.

The case used is the case presently set by the input tape.
All lines, even blank ones, are written out.
Tabs are set every fifteen spaces.       
       
       
              
              
              
              
              
              
              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                HOW TO MAKE CHANGES

After these changes recompilation will be necessary, unless
ddt or dd1 is used.


tabs    tabs are set by including them in the table located
        at location "tb" , this table should be at least two 
        tabs long, at present it is set for every fifteen
        spaces

        one sets the end of the tab table in location "etb"
        which is presently set to "a6" which one can see
        in the listing is the location after the last entry
        
        if one wishes to reset just etb, he may and the
        program will go up to the tab before it


length of record on tape
        to change the number of words being written on tape
        insert the number into location "lob" , length
        of output buffer, in octal

length of input buffer
        to change number of characters read in, since
        reading unpacked one character per word, change
        location "nbw" , number buffer words, to
        desired number in octal

end-of-file
        to change word (just one) written out for an
        end-of-file change location "eof" to the desired
        word (presently "171717")       
                                                                                                                                                                                                                                             777

