[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
xyW3.56+ autoreplace idiosyncrasies
- Subject: xyW3.56+ autoreplace idiosyncrasies
- From: "..." yesss@xxxxxxxx
- Date: Mon, 2 Aug 1999 19:17:59 -0400 (EDT)
≪ [Re autoexpand,] don't forget:
iv I've
and
im I'm
[...]
xxxp is used for possessive
[...] ≫ ... TR
Hmmm. Good advice no doubt for users of several
other xyWrite releases, Tom, but xyWrite 3.56+ make
contractions and possessives unnecessary in *.SP3. These
releases enable func AR only in kbd files, and with
*.KB3:
40=AR,'
+
*.SP3:
i I
wedd Wednesday
..... i' = I'[any contraction] and wedd's = Wednesday's.
Punctuation is transparent: Typing a space or newline
autoexpands the preceding abbreviation if it's in *.SP3
and only punctuation separates it from the space or
newline. But alphanumerics often follow ', /, and -,
so xyWrite 3.56+ *.KB3 needs to AR these chars (of course
if the preceding word isn't in *.SP3, AR does nothing):
57=AR,[*space*]
28=AR,[*ascii 13*] hard "return"
28=AR,[*ascii 17*] soft "return"
12=AR,-
40=AR,'
53=AR,/
Although the kbd autoexpand strategy was a compromise
prompted by a lawsuit, given the lamentable hit *.SP
files make on memory, I'd argue that by allowing smaller
*.SP3 files the strategy--even if less tidy--improves
on the xyWrite 3.55 AR integration that is like that
of xyWrite 4, where memory isn't the pressing issue
it is in xyW3.
I add nothing to MY.SP3 casually, and was able to cut its
size considerably when I deleted all cap-this-entire-word
entries except i after I wrote a pgm that links kbd
sequences to xpl to perform any of six operations
involving caps/lower case:
* insert a space and CAP the preceding word
* insert a newline and CAP the preceding paragraph
* make a text block lc except cap initial chars
of most words longer than two chars
* cap a block
* lc a block
* reverse the case of all chars in a block.
The pgm is available as a !xyWiz module or freestanding
xyW3 utility at the URL in my sig (XyWrite | PostScript).
The freestanding pgm #CLC seems to run ok in xyWin under
win95 (I no longer have xyDos4 installed). With #CLC,
tapping --
57=GTAR, ,GHELSI,r,u,n, ,#,c,l,c, ,^, , ,XC
--after typing ttg, e.g., transforms it to TTG, in most
cases preserving the CMline string. ... Ciao. --a
======================================= adpFisher nyc
xyWrite 3 supplements !xyWise and !xyWiz +
Wolfgang Bechstein's seafaring adventures:
http://www.escape.com/~yesss/ ========================================