.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\" %sccs.include.redist.roff%
.\" @(#)ex.1 8.1 (Berkeley) %G%
is the root of a family of editors:
with the most notable extension being a display editing facility.
Display based editing is the focus of
For users unfamiliar with
is probably easier to learn.
It avoids some of the complexities of
used mostly by systems programmers and persons comfortable with the
The following documentation is found in the
.Dq "UNIX User's Manual Supplementary Documents" :
provides a comprehensive introduction to
assuming no previous knowledge of computers or the
.%T "Ex Reference Manual \- Version 3.7"
is a comprehensive and complete manual for the command mode features
but you cannot learn to use the editor by reading it.
more advanced forms of editing using the command mode of
see the editing documents written by Brian Kernighan for the editor
the material in the introductory and advanced documents works also with
.%T "An Introduction to Display Editing with Vi"
introduces the display editor
and provides reference material on
card summarizes the commands
in a useful, functional way, and is useful with the
command uses the following environment variables.
User specified startup values for
Default directory to search for
.Bl -tag -width /usr/libexec/ex?.?preserve -compact
.It Pa /usr/libexec/ex?.?strings
.It Pa /usr/libexec/ex?.?recover
.It Pa /usr/libexec/ex?.?preserve
.It Pa /usr/share/misc/termcap
describes capabilities of terminals
.It Pa /tmp/Ex Ns Ar nnnnn
.It Pa /tmp/Rx Ns Ar nnnnn
command causes all marks to be lost on lines changed and then restored
if the marked lines were changed.
never clears the buffer modified condition.
command prints a number of logical rather than physical lines.
More than a screen full of output may result if long lines are present.
File input/output errors don't print a name if the command line
There is no easy way to do a single scan ignoring case.
The editor does not warn if text is placed in named buffers and not used
before exiting the editor.
Null characters are discarded in input files, and cannot appear in resultant