VMS EDT - 如何选择文件的完整内容?
我使用 VMS EDT 一段时间了。 我将编辑/替换文本文件中的大量行并将其保存为不同的版本。
据我所知,删除文本文件中的字符的唯一方法是按删除键。 这个过程非常慢,因为按一次,只删除一个字符。
因此我想知道,有没有办法在 vms edit 中快速选择多行?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你是说EDT吗? 如果是这样,那么我已经很长时间没有在 VMS 上进行太多工作了,并且我没有运行它的系统来确认以下内容。 然而,我找到了一本旧手册,谷歌找到了一些看起来有用的网站,包括 这个。 如果您正在使用 EDT,这里有一种可行的方法:
您还可以使用 D 命令从 EDT 行模式中删除文本。 语法
如下:n1 是要删除的第一行,n2 是要删除的最后一行。 我不记得如果您这样做
并且找不到该记录会发生什么,但如果您想删除整个文件的内容并且不知道最后一行号,那么可能值得一试。
祝你好运!
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
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
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!
IMO - 使用 TPU 版本的 VMS 编辑器会更好。 它是 EDT 的“现代”版本;),因此它具有大致相同的击键/键盘。
命令:'编辑/tpu'
查看“帮助编辑”,然后选择“/tpu”。
它具有更多功能,在您的情况下选择多行很容易。 按“选择”键,移动光标,然后删除或复制。 不太特别。
兰塞姆·费奇
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