ENSOFT OBJENSOFT DOCA*͚ !9!}2!}2! ͊ !lt ! ͊ !t ! ͊ ! ͊ !|ʼ!t !9" !9!"*!|ʐü!t !9t !t ! ͊ ! ͊ S! ͊ !t !9" !9!"*!|! ͊ !t !9t !t !9* Ͳ!D|T!9ͪ8*t *͟ *͟ !"9ENSOFT version 1.0:Converts text files to Wordstar document format.Input file's name? rCan't open '' for input.Output file's name? wCan't open '' for output. The disk directory is probably full.!9ͪ! | :ͥ|b!9ͪ!9* Ͳ!9ͪ! |ʗ! *t !9ͪ! !9ͪ!D͸|! *t ! !͸*t ! *t !}2!9ͪ8Ó!9ͪ! |_:ͥ|9!}2!9ͪ:ͥ|L!9ͪ!9ͪ!͸Ó!9ͪ!D|}!Ó!}2!}2!9ͪ!<2~og~#fo}}|}o|g}o|g}o|g++++++{_z!ɳ7++++z${!||g}o))7{ozgI#|/g}/oDM!y[xGyOȯ{_zWUDMzzx>)ʝ}o{_zW=ʦÆͱͱz/W{/_x/Gy/O{_zW{z+++:_å!G>!6!6!||g}o))7{ozgI/g}/oDM!y[xGyOȯ{_zWUDMzzx>)ʝ}o{_zW=ʦÆͱͱz/W{/_x/Gy/O{_zW{z+++:_å!G>!6!6!||g}o))7{ozgI/g}/oDM!y[xGyOȯ{_zWUDMzzx>)ʝ}ozW=ʦÆͱͱz/W{/_x/Gy/O{_zW{z+++:_å!G>!6!6!||g}o))7{gI/g}/oDM!y[xGyOȯ{_zWUDMzzx>)ʝ}ozW=ʦÆͱͱz/W{/_x/Gy/O{_z"""|$"** s#r**? *n& *~r RD *4 *!*s#rÛ *~wR W **t *!*s#r*!>wÛ *!*"!"*!~ !*t *$"*^#V"*"**z  { *6#" !*ͬ | !"*3 !"**:\ @ _ _ :& .{ .{ &.ͳ ! 6}ʞ .ʞ ʞ aڗ {җ -{ .ʭ ʭ Þ .³ }ʿ |-ó } "!~ !*$"^#V"*~#; !*ͬ |$ !*s#r*"*^#Vr+s*#* s#r*~p *!~w!o&͡ | } š ! ͡ | !""$"^#V"*~# !*ͬ | !*s#r*"*^#Vr+s*#* s#r:*w&o"+V6+^6O *+^#6s#r# *o&e ! s  ~ʉ ^#x ": ¦  *&""*n& *$*M*ͥ"*| ! !}  ENSOFT A program to convert text files to Wordstar 'document' format by Gordon Brandly R.R. 2 Fort Saskatchewan, Alberta, CANADA T8L 2N8 Introduction: Wordstar owners, have you ever wanted to improve on someone's dismal .DOC file? Have you ever printed a Wordstar file to disk, stripped off the high bits, then lost the original document file? Both these things happen to me occasionally, so I wrote this program to convert a regular CP/M text file to Wordstar's 'document' mode. This allows me to reform the text to a different column width without a lot of pain. Not especially important, you might say, but try it some time with a file that has 'hard' carriage returns at the end of each line! Operation: The program is very simple to use. Run the program by typing "ENSOFT". Answer the "Input file's name?" question by typing the name of the original text file you want to convert. Then answer the "Output file's name?" question by typing the name you want to use for the new document file. By the way, if you want to go the other way (document file to text file), an easy way is to "PIP TEXT.FIL=DOCUMENT.FIL[Z]" (the 'Z' option turns off the high bit in each byte in the document file). How it works: Wordstar represents 'soft' carriage returns and spaces (i.e. those that can appear or disappear when you reform a paragraph) by turning on the highest bit of the appropriate return or space code. ENSOFT makes some educated guesses about which returns and spaces it should make 'soft'. For instance, if there are multiple spaces between words, it leaves the first one after the word 'hard', and 'softens' the others up to the beginning of the next word. The program is written in Ron Cain's Small-C, so if you have a C compiler you should be able to modify the program to your heart's content. A good test is to run this documentation file through the program, and then reform it to 80 columns. If everything works, you should get good-looking text without any garbage characters or strange looking paragraphs. Possible bugs: I've only used this program on my own Wordstar-produced files and some public domain documentation files. I don't know how well it will stand up if you run weird files through it (e.g. 100 carriage returns in a row, strange embedded control characters, etc.). If by mistake you process a file that's already in document format the program won't mess it up too badly. The original file is left alone, so you can always recover if things don't work out right.