This documentation is not built from source -- still working on that.
But since people are trying to use Macsyma and might benefit from
documentation. This commit adds the latest macsym doc we have avaialble.
After typing (todo) or (todoi), wait for the string ") \r" to appear.
This signals the end of of a list printed right before reading new
input from the console.
This restores the text from the GPL release. Our existing file had 2048
bytes duplicated around the description of PGWRIT, and 2048 bytes
missing around the definition of VIDSW.
(The other files we have from the GPL release are all intact.)
These were all files included in MIT's 1999 release of SYSDOC and
SYSTEM, so they need the license header.
CHAORD is an XGP text file; XGP processors should ignore unknown
directives so ;comment should work.
Two bugs in my JCL-parsing code:
- B was getting clobbered at some point in the loop, so rfn"rfn only
stored the first filename in the right place.
- The device's finish routine wasn't being called. For the hargld
backend, this meant that the last few lines of each file weren't always
being written to disk.
This is used by TJ6 for superscripts and subscripts. It worked fine for
positive offsets, but "addi a,(x)" didn't do the right thing when the
offset x was negative (because it double-indirects).
The XGP documentation says that the baseline adjustment sticks until the
font is changed. Looking at SYSEN2; XGP 31 (and SAIL's XGPSER), it is
also reset at the start of each line. TJ6 relies on this behaviour.
Since VERSA scans each line twice (once to compute the line height, once
to draw the characters), and baseline adjustment directives will be
interpreted on both passes, we need to reset the adjustment at the start
of both passes.
The underline offset in XGP files is positive downwards (as opposed to
the baseline offset, which is positive upwards!), and the ending Y
position of the rectangle should be computed from the line width, not
just the current position.
The default line height was 0, so empty lines came out as zero height.
Use the height of the current font instead.
If the last line of a page ended with the ^L, linfin was never called,
so its height was computed as 0 and it overlapped the previous line.
Ensure linfin always gets run in this case.