<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Tue, 03 Jul 1990 10:50:31 GMT
From   : eru!luth!sunic!dkuug!iddth!ns@bloom-beacon.mit.edu (ns)
Subject: Wordstar to Ascii.

In <8190002@hp-lsd.COS.HP.COM> was@hp-lsd.COS.HP.COM (Bill Stubblebine) writes:

>cczdvh@clan.nott.ac.uk (David Valentine-Hagart):

>> I am new to Wordstar 3.3 and just wondered if there was anything in
>> Wordstar itself to save files as plain ascii text without the control
>> codes.

>        Use the print (P) option from the main menu.  One of the
>        choices is "Print to file?".  Answer yes to this option and
>        Wordstar will send a formatted version of the text to the
>        indicated file.  Keep in mind that any printer codes
>        associated with text enhancements (bold, underline, etc.)
>        will be included in the text written to the disk file.

I have used this method and I stumbled on a little problem: many
characters have bit 7 set to 1. It causes some troubles when converting
files to other formats or when printing them out on some types of
printers. I currently copy files to MS-DOS and Commodore 128 formats.
The solution: copy the file resulting from WordStar's "P" command with
the PIP utility, using the "z" option - it zeroes bit 7. The command
line should look like:

       PIP newfile=oldfile[Z]

PIP can be run from WordStar by using the "R" command.

Happy hacking,

-- 
| Nicky Sandru (alias Long Haired Nicky) | Backpacker's First Law:
| Hoje Topholm 37    | e-mail:           | "The thing you need lies either
| DK-3390 Hundested  |  ns@iddth.id.dk   |  in the bottom of your backpack,
| Denmark            |  ns@iddth2.id.dk  |  or in a closet at your home..."
-- 
| Nicky Sandru (alias Long Haired Nicky) | Backpacker's First Law:
| Hoje Topholm 37    | e-mail:           | "The thing you need lies either
| DK-3390 Hundested  |  ns@iddth.id.dk   |  in the bottom of your backpack,
| Denmark            |  ns@iddth2.id.dk  |  or in a closet at your home..."

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