On Tue, Nov 12, 2019 at 11:40 AM Dale E Sterner <sunbeam...@juno.com> wrote:

> The edit command has limits  on size; had to use Wordperfect on one file.
> In 2015 Dennis talked about using vedit but can't find a dos version.
> In the new world large files are common.

Large files are common.  Large *text* files are not.

DOS editors from back when typically had a 64K size limit on the size
of a text file you could edit.  (IIRC, Win3X versions of Windows
Notepad shared that limit.)  This was related to Intel segmented
architecture.  On the 8088 CPU used in the early PCs, a segment was
64K.  Text editors held the file you were editing in a segment,
assuming it was 64K or less in size.  Handling larger files required
more complicated code to cross segment boundaries.  Most folks editing
plain text files were unlikely to deal with one larger than 64K, and
most text editors saw no need to handle larger text files.

Just how big a file are you likely to need to edit?  What sort of file
is it, and why is it bigger than 64K?  And for that matter, do you
need to *edit* it, or just *view* the contents?  If you just need to
view a large file, you can look at something like the late Vern
Buerg's LIST, or Mark Nudelman's LESS command, which originated in
Unix and has a DOS port in the FreeDOS repository.  Both should handle
large files.

Vedit was noted for being able to edit enormous files.  The was at one
point a DOS version, but I have no idea where it might be found now,
and you are extremely unlikely to need it.  (If you *do*, you are
arguably doing it wrong.)

As Eric Auer commented, Setedit should edit large files.  So should
TDE.  Both implemented cross segment addressing.

> cheers
> DS
______
Dennis


_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to