Reputation: 815
I have been using VMS EDT for a while. I would be editing/ replacing large number of lines in the text files and saving it as a different version.
As for as I am aware, the only way to delete the characters in the text file is pressing delete key. This process is quite slow, as on one press, only one character is deleted.
Hence I wanted to know, Is there a way to quickly select multiple lines in vms edit?
Upvotes: 2
Views: 2391
Reputation: 43
IMO - you'd be much better off using the TPU version of the VMS editor. It is the 'modern' ;) version of EDT so it has much the same keystrokes/keypad.
Command: 'edit/tpu' Look at 'help edit' then select '/tpu'.
It has many more features and in your case selecting multiple lines is easy. Press 'select' key, move cursor, then either delete or copy. Not too special.
Ransom Fitch
Upvotes: 0
Reputation: 6122
Do you mean EDT? If so, it's been a long time since I worked on VMS much, and I don't have a system running it on which to confirm the following. However, I found an old manual and Google turned up what look like a number of useful web sites, including this one. If you are using EDT, here's one method that should work:
You can also delete text from EDT's line mode using the D command. The syntax is
Dn1:n2
where n1 is the first line to delete and n2 is the last line to delete. I don't remember what happens if you do
D1:
and couldn't find that documented, but it may be worth a try if you want to delete the entire file's contents and don't know the last line number.
Good luck!
Upvotes: 2