[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: xy as html (Cross post)



There is a simple answer to Scot's problem of the EOF mark:
>
>XyWrite is an amazing editor (with a long learning curve), but I found
>it unacceptable for HTML authoring for one reason: it puts EOF (end of
>file) marks at the end of all documents. Most other word processors,
>and XyWrite itself, don't display this hidden character, but if you
>view an HTML document made with XyWrite through a browser such as
>Netscape, you'll see a little square at the end of the document. There
>is NO WAY to remove this or leave it out -- I've talked to XyWrite
>gurus about this. In frustration, I crossed XyWrite off my list as far
>as HTML is concerned.
>
>- Scot
>
Here's a simple XPL program (you'll have to adapt it to your directory
structure):

>BX dos/nv /c copy /a  killhtm /bQ2 BX delete
Q2 BX rename killhtm Q2 

It uses the dos "copy" command with the /a switch to kill the 1A. Only takes
one second to run on my Pentium 133 system.
It probably should have a "BX SAQ2" put in there to make sure the file
is saved first.
I have this loaded onto an alt-key. You could add it to the "SA" key in your
..kbd file.

Note: sometimes (who knows why?) you have to run the program a couple of
times before the pesky 1A characters are all eliminated.

Regards,

     Harry Binswanger
      hb@xxxxxxxx