JP Vossen via plug on 21 Sep 2020 10:31:08 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] DESQview (was ... Byobu)


Yeah there is at least one (very verbose!) Perl script floating around out there:

http://justsolve.archiveteam.org/wiki/WordStar
https://ataridogdaze.com/tech/wordstar-convert.html

```
open OUTFILE, ">out.txt";
open INFILE, "<in.ws";
while (<INFILE>)
{
  tr [\200-\377] [\000-\177];
  print OUTFILE $_;
}
close INFILE;
close OUTFILE;
```

I didn't bother because my `LESSOPEN=|/opt/bin/settings/lesspipe.sh %s` handled it well enough.


On 9/20/20 8:19 PM, Walt Mankowski via plug wrote:
Thanks, that brought back memories. Even if it would be about a 3 line
Perl script these days... :)

Walt

On Sun, Sep 20, 2020 at 06:13:46PM -0400, Steve Litt via plug wrote:
On Sun, 20 Sep 2020 15:19:57 -0400
JP Vossen via plug <plug@lists.phillylinux.org> wrote:

Sigh, OK, I went down the rabbit hole looking for the batch files
that ran that stuff.  I didn't find them, but I did find an "about
me" from that time (1991-1992) in a _PC Buyers Guide_ I wrote (pretty
sure in Wordstar, and I can't find a good converter for that,

I discovered the following Turbo Pascal program that I created in the
mid 1980s and last modified September 1990, to turn a wordstar doc into
plain text. I'm not sure whether it respects hard paragraphs or not.
Try it with today's Freepascal.

===============================================================
program unws;

var
    inname: string[40];
    c: char;
    i: integer;
    inf, ouf: file of char;


begin
...

Later,
JP
--  -------------------------------------------------------------------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.com/
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug