The editor limits that the user is likely to encounter are as follows:
256 characters per global command list,
64 characters per file name,
128 characters in the previous inserted and deleted text in
100 characters in a shell escape command,
30 characters in a string valued option,
256K characters in the temporary file.\u\s-2\(dg\s0\d
\(dg Repeated blanks and tabs are compressed in the temporary file,
as are blanks between ``words''.
This makes the buffer effectively larger than 256K characters;
if the file being edited contains many repeated blanks,
it may be editable even if it is larger than 256K.
The limit on the number of lines depends on the amount of core:
each line takes at least 1 word, and to effect
This editor is much larger than
which do not have separate instruction and data space
it is limited to about 2000 lines if
If a full core load of user space is not available
the size of the editor is not a problem as it can run
with separate instruction and data.
Notes on temporary file overflow
This editor uses a temporary file as a workspace.
The management of this file is done in the same way as in
Each line in the file is represented by an in-core pointer to the
image of that line on the disk.
The important point to note here is that the editor does
reclaim space in this temporary file used by lines which are
This means that files which are larger than 128K characters
may be difficult to edit.
Similarly systematic changes on large numbers of lines may
run the editor out of temporary file space.
If the editor runs out of temporary space you can write the file
command to read it back in.
This will reclaim the lost space.
A better solution is to split the file into smaller pieces or to use a stream
is described in section I of the