Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!tgr!DHowell.ES@XEROX.ARPA From: DHowell.ES@XEROX.ARPA Newsgroups: net.lang.c Subject: Re: --- info request --- Message-ID: <11455@brl-tgr.ARPA> Date: Wed, 10-Jul-85 16:25:56 EDT Article-I.D.: brl-tgr.11455 Posted: Wed Jul 10 16:25:56 1985 Date-Received: Fri, 12-Jul-85 04:45:42 EDT Sender: news@brl-tgr.ARPA Lines: 25 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