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

Re: XyWrite anomaly - Ubuntu issue?



Reply to note from Raphael Tennenbaum  Sun,
01 Nov 2009 20:13:16 -0500

> I have multiple copies of editor.exe (just laziness, really)
> but moving in the 1999 one solved the problem.

So do I -- but only one is named EDITOR.EXE. I renamed v4.017 to
EDIT4017.EXE when I installed v4.018, but have not found a need to
revert to it in 9+ years. It's a museum piece. There's really no
reason to run version earlier than 4.018 (and good reasons not to).

> now my extremely kludgey solution is working again, so for the
> moment I won't be using Carl's elegant solution which is
> speedier not to mention far less ridiculous than my own.

Here's a slightly more elaborate, even less ridiculous solution that
switches to the file (command GOFILE) if it's already open in a
window:

Pseudo-code:

BX es 1Q2 +".txt">;*;
BX gofile Q2 ;*;
>BX exist Q2 ;*;
>BX ne Q2 ;*;
BX ca Q2 

DECODE-able XPL:

XPLeNCODE v2.0
b-gin [UNTITLED]
[BX_]es 1[Q2_]{<}SX01,{<}VA$DAyy-mm-dd{>}+".txt"{>};*;[cr|lf]
[BX_]gofile {<}PV01{>}[Q2_];*;[cr|lf]{<}IF{<}ER{>}{>}[BX_]exi
st {<}PV01{>}[Q2_];*;[cr|lf]{<}IF{<}ER{>}{>}[BX_]ne {<}PV01{>
}[Q2_]{<}EX{>}{<}EI{>};*;[cr|lf][BX_]ca {<}PV01{>}[Q2_]{<}EX{
{062}}{<}EI{>}{<}EX{>}[cr|lf]
-nd
XPLeNCODE

XYENCode:

'%--_XYENCode_start--
'BXes_1'Q2
~+".txt"~>',*','^
'BXgofile_~'Q2',*','^
~~>
 'BXexist_~'Q2',*','^
 ~~>
  'BXne_~'Q2
  ~
 ~',*','^
 'BXca_~'Q2~
~~'^
'%--_XYENCode___end--

--
Carl Distefano
cld@xxxxxxxx