home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
editor
/
e2
/
readme.4
< prev
next >
Wrap
Text File
|
1994-01-30
|
3KB
|
80 lines
March 1991
==========
This revision now handles variable screen lengths. Thus, if you have an
ANSI.SYS or equivalent which allows 43 or 60 lines, e2 can be set to
use it. This is standard for OS/2; I don't know if someone has done
it for Dos. In my version, all you can do is reduce the no. of lines.
To use, either specify
-lines=N
on the command line, or set your TERM environment as follows:
set TERM=ibmpc2.N
On an OS/2 VIO window, N will go up to 102, but it's not very useful since
you have to scroll the PM window to see all of the e2 window!
Missing from the previous documents was a mention of the EFLAGS environment
variable. Here are some useful bits:
set EFLAGS=<string>
where <string> is made up from any of:
b turn off the *!%$"!!! bell
i default to Insert mode
l default to LF separators rather than CR-LF
r default to Regular expression mode
w default to auto-Wrap mode
February 1991
=============
Here is the Rand editor for the PC. It is heavily based on the original
Unix version, as are the documents, but the operation on OS/2 or Dos
should be clear in most cases.
Recently, I managed to get external program operation, including the fill
and justify filters, to cough into life. The internal jiggery pokery
to get this to go for both OS/2 and Dos is best glossed over :-) however,
the user should be aware of restrictions:
a) it's heavy on file descriptors (handles). External filters
which open lots of files may fail.
b) programs which interact with the keyboard can cause problems.
The fill, justify and center filters should be OK. Things like grep, if
you have it, are also quite useful - e.g.
<Mark a block>
<Esc> run grep -v zork
will remove all lines in the block containing the string "zork".
Generally, I recommend practice on unimportant data to gain confidence.
The "call" command to execute external commands and return does not yet
function correctly. Maybe one day ... Meanwhile, the sequence
^Z
command
e2
achieves the same effect in not many more keystrokes.
This version will not drive the serial port under Dos (ctty com1:), though
I have a version that does. I may try to combine the functions in future.
Owing to formatting limitations, some of the documents contain things like
@east@ @west@
and so forth. These, of course, represent the cursor arrows.
Helpful comments may be addressed to
<lmoc@ee.leeds.ac.uk>
but I cannot promise any fixes.