* Help with EDT problem/question
@ 1994-07-30 1:43 bschor
0 siblings, 0 replies; only message in thread
From: bschor @ 1994-07-30 1:43 UTC (permalink / raw)
I have a problem. I'm a PDP-11 user/abuser, fairly expert in RT-11,
but something of a novice in VMS (which is my gateway to the Internet).
I need help with a problem in EDT. I use EDT as my default editor in
MAIL. I recently got a fairly complex DCL macro that purported to
"improve" MAIL by allowing you to mark extracted text with ">" symbols on
the left margin, and also append a signature file to the end of your
message. It was ugly, unwieldy, and had some unfortunate side effects.
However, it got me thinking about solving the problem via an EDT
macro. "Simple", I say, "EDT is just like KED, only better, and I'm a whiz
at writing KED macros ...". Famous last words.
The signature file part is easy. I plan to define key Gold S as
"INCLUDE SIGNATURE.TXT END".
What is stumping me is the inserting the ">" at the start of every
line. If I define key Gold I as something like 20(I>^Z NL), I get 20
insertions, even if my text is only 5 lines long.
On the other hand, I can't figure out how to do this in an EDT macro
either, which seem to act only on single lines. I can certainly add just
a > before the first line, but it's not clear how I put it at the beginning
of an existing line (sounds like Substitute, but how to recognize BOL?).
Here's where KED knowledge has led me astray. I know that KED macros
bomb out when they hit the bottom of the buffer. Also, KED doesn't have
a line mode; macros essentially consist of remembered keypad (and text)
characters. I reasoned that one could do the same thing in EDT, but I
can't figure out how (I've got a copy of the VAX/VMS User's Manual on my
lap, as I type this ...).
Help! Have I bitten off more than I can chew? Is EDT not up to the
task? Whaddya mean, now I have to learn EVE (or TPU)??!!?? [Not sure if I
have those manuals ...].
I would greatly appreciate a reply via e-mail. If one person requests
it in a message to me, I promise to post the resulting "solution" here for
others to look at.
And if I can ever be of help with a KED problem ...
Bob Schor
bschor@vms.cis.pitt.edu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1994-07-30 1:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-30 1:43 Help with EDT problem/question bschor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox