<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sat, 02 May 1992 01:18:23 GMT
From   : ogicse!news.u.washington.edu!glia!jfoy@decwrl.dec.com (Jeff Foy)
Subject: Re: Word Star Problem, Help Please...

In <47278@dime.cs.umass.edu> steve@cs.umass.edu (Steve Cook) writes:


>Does anyone still use word star on CP/M?  If so, does anyone know how to
>remove the formatting char at the end of each word.  I would like to convert
>an existing document into a straight ascii file.  Word Star puts an escape
>code in for the last letter of every word.  When you type the file via CP/M
>the problem becomes obvious.

>I do know that you can work with non-documented files to eliminate future
>problems, but is there a way to convert the file back to ascii?  I believe
>all I need to do is unformat (^B reformats), but how????

<Looking up from working on CP/M ZIP & UNZIP>

If you're using WordStar 4.0 under CP/M, ^QU (Quick Unformat is my 
favorite description for this one). [NOTE: That is control Q U] You might
want to hit a ^B (control B) as I don't recall if it reformats 
paragraphs correctly.

If, however, you are using an earlier version of WordStar, stripping
the eigth bit of each byte in the file works just fine. Here's an
easy method using PIP:
 
   PIP NEWFILE.NAM=OLDFILE.NAM[Z]

NOTE: You'd NEVER want to do this to a binary file (like .COM) for
obvious reasons! :)

>It's been 8 years since I touched CP/M, can you tell?!!!

For SHAME! :)

Jeff

-- 
signature file is on strike. 

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