----boundary-LibPST-iamunique-2006692252_-_-
Content-type: text/plain
CpcRegul may help you, too.
http://www.zinnamturm.de/#CpcRegul
Cheers.
Gérard
----- Original Message -----
From: Campbell, Robert D (UK) <robert.d.campbell{([at]})nowhere.xy
To: Douglas G. Danforth <danforth{([at]})nowhere.xy
Sent: Wednesday, July 30, 2003 10:30 AM
Subject: RE: Repetitive editing
Look in Helmut's CPC page. Cpc/Search goes quite a
long way (if not all the way) towards this with an
'easy' graphical interface.
I am not an expert, but I think that Babel supports regular
expressions, and thus vertually unlimited power.
Cheers
Robert
>> -----Original Message-----
>> From: Douglas G. Danforth [mailto:danforth{([at]})nowhere.xy>> Sent: 30 July 2003 03:57
>> To: blackbox{([at]})nowhere.xy>> Subject: Repetitive editing
>>
>>
>> *** WARNING ***
>>
>> This mail has originated outside your organization,
>> either from an external partner or the Global Internet.
>> Keep this in mind if you answer this message.
>>
>> Folks,
>>
>> I frequently (more often than one might suppose) come across
>> situations
>> where I must convert text from one form to another. For example
>>
>> DCOSH (dbl) DOUBLE PRECISION
>>
>> becomes
>>
>> Dcosh = "DCOSH" "(" dbl ")" .
>>
>> I can not do this in any kind of repetitive way using the BlackBox
>> editor, that is, at least not to my knowledge.
>>
>> If I were using TvEdit (an old 1970's editor) I could
>> define a macro
>> "/z" (Ctrl-z) that would start at the current location and
>>
>> DCOSH (dbl) DOUBLE PRECISION
>> "cw" (copy word)
>> DCOSH DCOSH (dbl) DOUBLE PRECISION
>> "lw" (lower the case of the word)
>> dcosh DCOSH (dbl) DOUBLE PRECISION
>> "uc" (upper case character)
>> Dcosh DCOSH (dbl) DOUBLE PRECISION
>> ")" (go to start of next word)
>> 'i= "[ESC]' (insert an equals sign and space, revert back to command
>> mode by typing the escape key)
>> Dcosh = "DCOSH (dbl) DOUBLE PRECISION
>> ".)" (go end of current word)
>> 'i"[ESC]' (insert quote, revert to command mode)
>> "s(" (search for a left parenthesis on this line)
>> 'i"[ESC]>i" [ESC]' (put double quotes around parenthesis)
>> Dcosh = DCOSH "(" dbl) DOUBLE PRECISION
>> "s)" (search for right parens)
>> 'i "[ESC]>i"[ESC]' (quote right parens)
>> Dcosh = DCOSH "(" dbl ")" DOUBLE PRECISION
>> "$dc" (infinite delete characters to end of line )
>> Dcosh = DCOSH "(" dbl ")"
>> "i .[ESC]" (end expression with a period)
>>
>> Then any other line of the form
>> FUNCTION (arg) type
>> could be converted by a single keystroke (Ctrl-z, say) to
>> Function = "FUNCTION" "(" arg ")" .
>>
>> My fingers still remember the ease with which one could edit large
>> passages of repetitive text without having them leave the
>> keyboard to
>> touch a mouse.
>>
>> Has anyone implemented a macro capability as an add on to
>> the Blackbox
>> editor?
>>
>> -Doug
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word
"unsubscribe" to:
blackbox-request{([at]})nowhere.xy
To get a list of valid e-mail commands and instructions on their usage, send
a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list
owner at
owner-blackbox{([at]})nowhere.xy
Current posting policy:
a) To post you should use the same address by which you are subscribed to
the mailing list. That way, the list server will recognize you as subscriber
and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are
subscribed, your message will be moderated to avoid spam. Please understand
that moderation will often cause some delay, in particular over weekends or
holydays.
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
blackbox-request{([at]})nowhere.xy
To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
owner-blackbox{([at]})nowhere.xy
Current posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-2006692252_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCBDcGNSZWd1bCBtYXkgaGVscCB5
b3UsIHRvby5ccGFyDQpccGFyDQogICAgaHR0cDovL3d3dy56aW5uYW10dXJtLmRlLyNDcGNSZWd1
bFxwYXINClxwYXINCkNoZWVycy5ccGFyDQpccGFyDQpHXCdlOXJhcmRccGFyDQpccGFyDQotLS0t
LSBPcmlnaW5hbCBNZXNzYWdlIC0tLS0tXHBhcg0KRnJvbTogQ2FtcGJlbGwsIFJvYmVydCBEIChV
SykgPHJvYmVydC5kLmNhbXBiZWxsQGJhZXN5c3RlbXMuY29tPlxwYXINClRvOiBEb3VnbGFzIEcu
IERhbmZvcnRoIDxkYW5mb3J0aEBncmVlbndvb2RmYXJtLmNvbT47IDxibGFja2JveEBvYmVyb24u
Y2g+XHBhcg0KU2VudDogV2VkbmVzZGF5LCBKdWx5IDMwLCAyMDAzIDEwOjMwIEFNXHBhcg0KU3Vi
amVjdDogUkU6IFJlcGV0aXRpdmUgZWRpdGluZ1xwYXINClxwYXINClxwYXINClxwYXINClxwYXIN
Ckxvb2sgaW4gSGVsbXV0J3MgQ1BDIHBhZ2UuIENwYy9TZWFyY2ggZ29lcyBxdWl0ZSBhXHBhcg0K
bG9uZyB3YX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