Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

$ED

72 views
Skip to first unread message

Vish Maharaj

unread,
Nov 4, 2023, 7:35:14 AM11/4/23
to OpenQM
$ED Created automatically by the ED editor when first required, this file
holds pre-stored edit command sequences.

Alternatively, a user can create a $ED pre-stored item by using the editor:
ED $ED item.name
The first field of the item must contain E as its first character. Subsequent fields each contain one
editor instruction in the sequence that the user requires the operations to be performed.
A saved command sequence is executed by a command of the form
.X item
where item is either a record id in $ED or a file name and record id separated by a space. Unlike
other command stack operations, .X item command is added to the command stack so that .X n can
be used to repeat the pre-stored sequence.
THESE ARE THE INSTRUCTIONS FROM THE OPENQM MANUAL BUT I CANNOT GET IT TO WORK.

Brian Speirs

unread,
Nov 4, 2023, 3:36:24 PM11/4/23
to OpenQM
Well, everything is there in the manual. As usual, it is just a matter of understanding what is written.
Start by editing a program file:  ED BP TEST <enter>
Run a command:  P <enter>
Now, save that command to the $ED file:  .S TEST
The response I get is:
Creating $ED file...
Created DATA part as $ED
Saved edit sequence TEST to $ED
Exit the editor and do a LISTF command. You should see the $ED file listed.
CT $ED TEST
$ED TEST
1: Edit commands saved by brian 08:28:48  5 NOV 2023
2: P

HTH

Brian
Reply all
Reply to author
Forward
0 new messages