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

Re: Saving Keystrokes



≪	Saving what's on the CMline to a s/g is just
a matter of code that looks like this ...
	{suNN,}{gtNN}
What's on the CMline will then be {is00}. NN can be any number.
If you already have something significant in {is00}, park it
in another s/g before this instruction. ≫

≪	Huh? Can you explain that, Annie. I tried it and it didn't work.
And do you mean "{su" or "{sv"? An example of usage would be nice. ≫
--Harry Binswanger 

Hi, Harry. That's a core xpl procedure and does work, but--speaking
of clarity--my explanation was ambiguous, and I'm sorry if you
misread it. {suNN,}{gtNN} saves to {is00} what's on the CMline
when you {gt. Doesn't put {is00} on the CMline, as you reasonably
may have inferred: {pv00} does if the cursor is on the v3 CMline;
v4 does the same with a get (adding to the joy of porting). Jim
didn't mention which v he uses. Beyond that, what's to explain?
{su, {sv, and {sx are documented. I hope it goes without saying
that you must edit a keystroke-recorded macro to get the effect.
(You have The Book: For background on using an empty {su to refresh
a v3 {is00}, cf p142ff, especially p144.)

E.g.? You asked recently about a CMline cp va$: In its absence,
v3 procedure 102, encoded below, uses {su12} (as well as {sv and {sx)
to establish it. This example differs from {suNN,} in that {is12}
does something beyond simply redefining {is00}--saves va$CMcp,
the length of {is00}, to {is20} and overwrites {is00} with {is10},
where {is102} parked {is00} before compromising CMline content
and redefining {is00}. (Proc 102 is part of the !CONFIG.LIB
my startup.int loads. &C--effectively a v3 BX, eliminating the need
for almost any other ldpm--calls proc 102 after proc 101 establishes
a v3 va$tx and before proc 22 detects TI state. Then &C calls some
other procedures that clean up {is00} and echo it to @C, retrievable
by a program or from .kbd.) 	--a

PROC102.UUE ===================================================

section 1 of 1 of file proc102 < uuencode 95 (v40) by R.E.M. >

begin 644 proc102
MKG-V,3`R+*YS=3$R+*YS>#(P+$!S:7HHKFES,#"O*:^N#$P+*YI nyc