Mail Archives: djgpp/2010/04/26/04:45:20
"Rugxulo" <rugxulo AT gmail DOT com> wrote in message
news:5045aa1f-6a1d-4d1a-a1a3-1ae82d412d15 AT z3g2000yqz DOT googlegroups DOT com...
> On Apr 24, 6:32 pm, "Rod Pemberton" <do_not_h DOT DOT DOT AT havenone DOT cmm> wrote:
> > "Eli Zaretskii" <e DOT DOT DOT AT gnu DOT org> wrote in message
> > > VI and EDIT are unrelated to Sed.
> >
> > So?
>
> VI typically is the same binary as EX, which is an improved ED.
> [snip history]
...
> P.S. Rod, why not use VIM or VILE if your 16-bit version
> runs out of RAM?
I don't need to handle larger text files that frequently. I find that
simple text editors and specialized C programs usually work the best. If I
can't do it with simple text editor commands, then dedicated program.
The VI clone for DOS that I'm using is called ELVIS. (I believe you're
aware of it. I've mentioned it a few times here.) It appears to be version
1.8. Version 2.1 is available for DOS and Win32:
http://web.cecs.pdx.edu/~kirkenda/
I tried a bunch of DOS VI clones some years ago. AIR, most seemed to
support the VI commands correctly. But, EX/ED support was what I wanted.
AIR, except for ELVIS, many had problems with EX/ED commands.
I also tried _many_ VI clones for Windows. I only found one that could
handle large files: WinVI. Fortunately, it's very quick too. But, WinVI's
EX/ED support, as of a few years ago, was completely broken and unuseable.
AIR, none of the basic EX/ED commands worked correctly. IIRC, you also had
to select EX/ED support via a checkbox. Since it's EX/ED commands I use,
not VI commands, an otherwise excellent VI implementation was of no use to
me.
http://www.winvi.de/en/
> Oh, and AWK doesn't look too "convoluted", see
> the GAWK manual (quite large and nice!). Or see Eric
> Pement's AWK cheatsheet / one- liners:
Been there. Done that. In fact, it seems you mentioned that to me on
comp.unix.shell or alt.lang.awk in 08... Don't worry, I didn't recall that
either. :)
AIR, I had some difficulty determining the proper AWK implementations for
various VI commands. There are quite a number of things simple EX/ED
commands can do for which equivalent methods are not documented in the AWK
cheatsheets. The manuals weren't that helpful either. With trial and
error, I came up with conversions that work or should work, at least with
DOS and DJGPP's AWK port...
Rod Pemberton
- Raw text -