<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 10 Jul 1985 10:10:12 PDT (Wednesday)
From   : DHowell.ES@XEROX.ARPA
Subject: Re: --- info request ---

Answer to question number 2:

Basically, a WordStar file is an ASCII text file with the high bit set
to signify certain formatting features.  All control characters using
ctrl-P to enter are stored as straight ASCII, thus typing a ctrl-P
ctrl-B stores a ctrl-B in the file.

The uses of the high bit are as follows, as far as I have determined.
   a high bit on an LF signifies a page break (as you have noted)
   a high bit on a space signifies a "soft" space (used by WordStar to
microjustify)
   a high bit on the last character of a word means that it is part of a
justified paragraph.

Also the hex characters 1E and 1F signify soft hyphens, one being in the
middle of a line, the other at the end (I don't recall which is which).

Using this information, I have been able to write a microjustification
program for dot-matrix printers (WordStar only provides for daisy-wheel
printers).

Answer to question number 3:
   42 :-)

Dan
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>