home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
E2.ZIP
/
E_DOC
next >
Wrap
Text File
|
1991-02-04
|
5KB
|
127 lines
E(C) UNIX System V (LOCAL) E(C)
NAME
e - screen editor
SYNOPSIS
e [ -bullets ] [ -inplace ] [ -replay=repfile ] [
-term=terminal ] [ file ]
DESCRIPTION
E is a more recent version of ned(C). Apart from having
many more commands and being slightly faster, the version of
e as installed avoids use of control-P, control-Q and
control-S. This means that it is likely to work over non-
transparent networks such as the Cambridge ring.
Some of the options are:
-bullets
Display marks on the window edge to show the current
cursor position.
-inplace
If the file being edited is a link, don't break this
on exit.
-replay=repfile
Commands are taken from the saved keystroke file,
repfile. The keystrokes will be left in .ek1 in the
event of a crash or abort; this file must be renamed
to use this option. If the file is present, but the
option is not given, e will ask whether a replay is
required.
-term=terminal
this overrides the terminal type. By default e looks
for the TERM environment variable; if even this is
missing, e assumes an adm5.
If e is invoked with no file argument, it uses the saved
state file, .es1, and rebuilds the screen exactly as it was
on exit the last time.
If file is given, and it does not exist, you will be asked
to confirm the creation by typing y.
The secret of successful editing is never to do too much at
once. If you crash after 2 hours solid typing and lose
everything, please don't come crying to the system
administrator! Exit from e (or any editor for that matter)
at regular intervals so that your data is saved to disk.
Certain terminals, notably the ibmpc, require keyboard
initialisation. On entry and exit, e looks in directories
Page 1 (printed 1/15/91)
E(C) UNIX System V (LOCAL) E(C)
$HOME/e, $HOME and /usr/lib/e for the appropriate files. The
filename is .e<terminal>.<x> where <terminal> is the
specified terminal type and <x> is i for entry (initialise)
and r for exit (reset).
The order of directory searching means that the user can set
up his/her own initialisation to override the system
defaults if required. The files are simply transmitted raw
to the terminal.
TERMINALS
Recognised terminal types are currently: adm5, ibmpc and
vt100. The adm5 driver should handle look-alikes such as
the dt22, ibmpc assumes the use of the uc terminal emulator,
and vt100 should handle standard ANSI terminals.
BUGS
Replays are dangerous - make sure you have a copy of the
relevant file(s) before attempting one.
FILES
/usr/lib/e library files directory
/tmp/etmp emergency temporary directory
.ec1 changes file
.ek1 keystroke file
.ek1b backup keystroke file
.es1 saved state file
LOCAL
A local version is available for the PC. To date, all
functions are implemented except those requiring to fork()
and exec() other programs. Backups are prepended with "%",
while temporary files start with "&", since DOS rejects the
respective "," and "." used on this system.
The ELIB environment variable must be set to the location of
the library files, though the default above will work if it
is on the current drive. To enable editing while in the
root of any DOS drive, the variable TMP must define a
suitable temporary directory; otherwise the default
directory \tmp\etmp must exist on that drive (DOS roots have
no '.' or '..' entries).
SEE ALSO
ned(C), e_ref(D), e_pc(D), vi(C)
AUTHOR
Many at RAND, starting with Walt Bilofsky. Installed on
this system by Mike O'Carroll.
Page 2 (printed 1/15/91)