<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 14 Dec 1990 16:30:01 GMT
From   : rex!samsung!noose.ecn.purdue.edu!ea.ecn.purdue.edu!wieland@ames.arc.nasa.gov (Jeffrey J Wieland)
Subject: Need WordStar utility

In article <699@organpipe.UUCP> tom@afthree.as.arizona.edu (Thomas J. Trebisky)
writes:
>In article <16529@s.ms.uky.edu> tindle@ms.uky.edu (Ken Tindle) writes:
>>Files created with WordStar must contain some binary characters, which is
>>ruining the "raw" upload of program code to the uC board.
>>I need a real, flat ASCII file on disk- so is there easily available a
>>utility to massage WordStar output?
>
>Just talked to my CPM guru nextdoor and he says to write a simple
>filter that does this - 
>Read the file byte by byte.
>Force the high bit in every byte to zero on every byte read.
>
>ttrebisky@as.arizona.edu   (internet)

With WordStar 4.0 for CP/M, you have a couple of options.  You can force
it to open a file in non-document mode from the command line:

       ws filename.ext n

If you do accidently create a file in document mode, you can always use
good ol' pip to strip the high bits off:

       pip ascii.txt:=highbits.doc[z]

WordStar 4.0 can also strip the high bits.  Re-open the file in non-document
mode, then use ^B (I believe -- it might be ^^) to convert the file to an 
ascii file.  Use ^QQ^B, and then WordStar do its stuff.
--
                       Jeff Wieland
                   wieland@acn.purdue.edu

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