More on AutoQuotes

TBaehr@aol.com
Sat, 23 Sep 1995 23:21:02 -0400

Sometimes you can't get everything you want. In a previous post, I shared
some programs that allow you to get "curly" quotes, em-dashes, and ligatured
letters with 'f' as you type. The only drawback, I discovered later, is that
the double quote, hyphen, and lowercase 'f' can't be typed into dialog boxes
-- even when the feature wasn't activated. The problem is in how dialog
boxes interact with the keyboard file. I had to modify the keyboard file to
get the programs to run, and dialog boxes won't respond to programs in their
text-entry boxes.

Sigh. The fix is to have the keyboard file produce the character first and
then run a program. I have fixed the quotes program, but the dash program
and the ligatured-f program proved to be beyond me. Because a sequence of
hyphens and a sequence of f's are likely, I couldn't keep the programs from
running themselves.

The upshot of all this is that I have, in addition to fixing the quotes
program, limited the ligatured-f program to sequences of fi and fl and
eliminated the dash program altogether. If you want to be able to produce an
em-dash from a single key, you can put ASCII 260 on the hyphen key (12) in
the CTRL+SHIFT table (which should be available). You can also put ASCII 259
(the en-dash) on the equal key (13) in the CTRL+SHIFT table.

As before, the programs are designed to run if you are in autocheck or
autoreplace.

So, here's an xx-encoded file that you can download to XyWrite, delete the
stuff before and after the lines with CUT HERE, save the result to
TYPING2.SCR, and reconstitute by typing, at the DOS command line, DEBUG <
TYPING2.SCR.

You'll create TYPING2.ZIP, which will unzip to QUOTE2.PGM, EFF2.PGM, and a
README with a couple lines to put into your startup file and instructions on
how to modify the keyboard file.

----------------------------->CUT HERE<-----------------------------
NTYPING2.ZIP
E100 FC BB 03 00 BF D4 01 BE CC 01 33 C9 AD 86 CC AA FE C0 E2 FB 4B
E115 75 F5 B9 FF FD BA 20 02 52 B4 3F CD 21 5F 72 60 8B F7 50 8B C8
E12A B0 2A F2 AE 75 55 B0 0D F2 AE 87 F7 BB 00 01 B2 04 AC 3C 2A 72
E13F 62 74 46 57 BF D2 01 B9 40 00 8A E1 F2 AE 5F 75 35 FE C1 2A E1
E154 88 27 43 FE CA 75 E0 56 BE 00 01 AD 86 C4 8B D0 AD 86 C4 5E B1
E169 02 D2 E0 D3 E0 D2 E2 D3 EA D0 E1 D1 EA D1 D8 E2 FA 86 C2 AA 8A
E17E C4 AA 8A C2 AA EB B1 BF 20 02 58 33 D2 F7 D8 13 D2 F7 DA 33 DB
E193 8B CA 8B D0 B8 01 42 CD 21 8B 0E CA 01 CC AC 3C 0A 75 FB AC 57
E1A8 BF D2 01 B9 40 00 8A E1 F2 AE 5F 75 D0 FE C1 2A E1 86 E0 32 E4
E1BD 8B 1E CA 01 03 D8 89 1E CA 01 E9 6C FF 00 00 30 0A 41 1A 61 1A
E1D2 2B 2D
G=100
W220
Q GXDPlus 1.0
*XXBUG20--0000031D--23091995--10DFC967------------------TYPING2.ZIP
nI2g1--E++U+6+9miBlwBb49yL++++6c++++6++++FIN4AWtEFopPtyaagGvAIQIlO9qh
nfN8-YeMOVCgAtOtTtlelbdRfbOjbyjyBpii06mkhRRM3COxTPupZ1FHqR3jb4Kld0J8Q
neEFIcTpj6WB0-v7o1YFu2f7oE-VE1aEgI2U8+3-9+kEI++6+0+-xM1QTzRPUTOM+++1T
n++++0U+++33JHpF3AWtEFopP3llaM8WXdu0XOAz9hFv2Ax7lR57qQLJnxz1owjPlxTAD
n0+k81UYB0sy6X16oAXMlBHCrg1F6yBzoAK5xzoPfRNti4ij053IQUxPPqWcN84aeEPXC
nICvuROsFuratpfZu+YqDg9HIKFTYj5sxIBQunq-9mzLjU7G-sLdPCkCUMRfzC-bK-ME-
nVN2oSPctZ-MIOI0IOs9J4w5JQq0e-zB-1UA8GE2+I2g1--E++U+6+20kBlzKLEu9uE++
n+5g-+++8++++IYJ-F2p39ZFNI5qCnIf1E-G3-Jo3wU8i9Zp6pJdesweGFGa8VJ7WAnv+
nZ9aH12taojZNR0LoRLn5hdCoIYJoRkzbiyQQIe73c+P-ZEVG89HUBBHSUJ1VK4hj60TX
n-Lb9yhAt+GsYDgNF5Coqbt9J3OmwRXXgpoLJipfhBVyXax57FAuD3jymsiVbtniiUJcf
n0ZKVQVOsBcTKM0kpBSlIyRdIKSUmtBF9-ssiNEVG10PX91z6utNw48F8xndVIOBace1C
n4klFTnrTtWzHNz6x6YaO0-uKByediaDIZh0RYALgBrkzH9QLNmqczUSHR5jSUdRvI2g-
n+VE+3++0++U+j8sr5kqQMjtQ++++WU++++U++++++++++E+U+++++++++2J4FX6iI2RB
nI2g-+VE+3++0++U+TK+r5zrKs5qa++++rk++++c++++++++++E+U++++UU+++33JHpF3
nAWtEFopEGk203++I++6+0+-+g1QTpZoCWyY+++-v+E++0U+++++++++-+0++++-E+E++
UIYJ-F2p39ZFNI3-9-EM++++++k+1+8M+++-V+U++++++
*XXBUG Version 2.21 by Chad Wagner
----------------------------->CUT HERE<-----------------------------
If you have downloaded this script file, remove any captured
communications header and then enter

DEBUG < filename

where filename is the name of this script file.