Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!agate!pasteur!ames!nrl-cmf!ukma!psuvm.bitnet!cunyvm!unknown From: rrk@byuvax.bitnet Newsgroups: comp.os.vms Subject: Re: OPINION. TPU, EDT Message-ID: <79rrk@byuvax.bitnet> Date: 19 Feb 88 17:42:26 GMT Lines: 44 I believe I was unclear on both of my requests. I meant I would like TPU better if: You could prevent TPU from reading in the entire document unless it becomes necessary (EDT does this by default. It only reads in the parts of a file that it has to. Once it has read it, it holds it i memory as does TPU, but if I want to look at the first few pages of a huge listing with editor functionality, I don't have to wait for EDT to read the entire listing before I can look at the first page. What I meant was that it ONLY reads in the entire document if you do something like going to bottom of document forcing the entire document to be accessed. The second item was as follows: In EDT, I can search for an end of line. This means, I can replace double empty lines with single empty lines. I would simply replace "^M^M" with a paste buffer containing a single empty line. I can specify a high repeat count and make this into a global search and replace. Or I can globally replace "^M^I" with a paste buffer containing an empty line, which removes the first leading (or if I do it differently all leading) tabs from lines, but leaves those internal to the line. Or I can replace "^M" with a paste buffer containing a line "$EQU " to place $EQU at the beginning of each line. There are many more applications requiring the ability to replace the end of line character. The following quirks apply when replacing end of line in EDT: If you are replacing a single "^M" with a large repeat count in order to do a global replace, go to the end of document and do this in a reverse direction, because there is always a single "^M" at the end of document, and search and replace in forward direction on a "^M" by itself will cause a limitless number of replacements to occur at end of document. Also, you do not type "^" and "M" in your replace strings. You hit the return key which echos as a "^M" or the tab key which echos as a "^I", etc. If anyone knows how to do this in EVE or LSE (simply, without writing TPU routines, I would greatly appreciate it. I cannot use an editor which cannot replace the end of line as an entity. Thanks Ray