That may be true. But how to run ed as a Windows user?
I've got it! Install "wsl" on your computer. That is the windows
subsystem for Linux. It is great and includes the editor "ed". For me it >makes the installation of a parallel linux unnecessary! You can
learn to work with ed by typing "info ed". I am so happy to have
such a powerful editor on my comuter"
You don't need a whole Linux system to run ed, you only need a POSIX compatibility layer, which is what MSYS2 provides.
On Tue, 28 Jul 2026 00:49:35 +0300, Lumin Etherlight wrote:
You don't need a whole Linux system to run ed, you only need a POSIX
compatibility layer, which is what MSYS2 provides.
WasnrCOt Windows supposed to have that already?
<https://www.youtube.com/watch?v=BOeku3hDzrM>
In article <11479a6$331r5$1@dont-email.me>,
Bernhard Kraft <bernhardkraft@gmx.de> wrote:
...
That may be true. But how to run ed as a Windows user?
I've got it! Install "wsl" on your computer. That is the windows
subsystem for Linux. It is great and includes the editor "ed". For me it
makes the installation of a parallel linux unnecessary! You can
learn to work with ed by typing "info ed". I am so happy to have
such a powerful editor on my comuter"
Yeah. Who needs MS Word when you can now run 'ed' ?
Am 28.07.2026 um 08:48 schrieb Lawrence DrCOOliveiro:
On Tue, 28 Jul 2026 00:49:35 +0300, Lumin Etherlight wrote:
You don't need a whole Linux system to run ed, you only need a POSIX
compatibility layer, which is what MSYS2 provides.
WasnrCOt Windows supposed to have that already?
I don't know MSYS2, but have a cygwin installed. Cygwin doesn't has an
ed. But may be it could be installed.
Am 28.07.2026 um 08:48 schrieb Lawrence DrCOOliveiro:
On Tue, 28 Jul 2026 00:49:35 +0300, Lumin Etherlight wrote:
You don't need a whole Linux system to run ed, you only need a
POSIX compatibility layer, which is what MSYS2 provides.
WasnrCOt Windows supposed to have that already?
<https://www.youtube.com/watch?v=BOeku3hDzrM>
Yes with Windows NT. But I am always ran the cheap consumer Windows.
Started with 3.11, then 95 an 98. Then 2000 an so on up to Windows
10.
ed/ex can read commands from stdin. This handles recurring tasks by
running simple scripts.
On Sat, 8 Aug 2026 19:12:54 +0200, Bernhard Kraft wrote:
ed/ex can read commands from stdin. This handles recurring tasks by
running simple scripts.
Which begs the question: if yourCOre going to write text-editing
scripts, why not use a more powerful and capable scripting language?
Like Emacs Lisp, for example.
Am 09.08.2026 um 01:47 schrieb Lawrence DrCOOliveiro:
On Sat, 8 Aug 2026 19:12:54 +0200, Bernhard Kraft wrote:
ed/ex can read commands from stdin. This handles recurring tasks by
running simple scripts.
Some people also don't seem to mind installing a hundred megabytes[...]
Like Emacs Lisp, for example.
Oh, that is to much. A lot of years ago, I tried to
understand Emacs Lisp. I failed :-( .
On Sat, 8 Aug 2026 19:12:54 +0200, Bernhard Kraft wrote:
ed/ex can read commands from stdin. This handles
recurring tasks by running simple scripts.
Which begs the question: if yourCOre going to write
text-editing scripts, why not use a more powerful
and capable scripting language?
Like Emacs Lisp, for example.
Lawrence DrCOOliveiro <ldo@nz.invalid> writes:
Which begs the question: if yourCOre going to write text-editing
scripts, why not use a more powerful and capable scripting
language?
Like Emacs Lisp, for example.
Calling a whole Emacs sub-process to run one Emacs Lisp script from
inside ed is inefficient ...
Am 09.08.2026 um 01:47 schrieb Lawrence DrCOOliveiro:
Like Emacs Lisp, for example.
Oh, that is to much. A lot of years ago, I tried to understand Emacs
Lisp. I failed :-( .
On Tue, 11 Aug 2026 09:10:05 +0300, Lumin Etherlight wrote:
Lawrence DrCOOliveiro <ldo@nz.invalid> writes:
Which begs the question: if yourCOre going to write text-editing
scripts, why not use a more powerful and capable scripting
language?
Like Emacs Lisp, for example.
Calling a whole Emacs sub-process to run one Emacs Lisp script from
inside ed is inefficient ...
How much RAM do you think Emacs uses?
Lawrence DrCOOliveiro <ldo@nz.invalid> writes:
On Tue, 11 Aug 2026 09:10:05 +0300, Lumin Etherlight wrote:
Calling a whole Emacs sub-process to run one Emacs Lisp script from
inside ed is inefficient ...
How much RAM do you think Emacs uses?
Emacs without any loaded packages or scripts takes 70MiBs on my
machine, and 40MiBs if started without GUI. But my Emacs instance
I'm actually using for the past 3 days with less than 5 package
addons, and around 1000 lines of custom settings and functions, is
the second largest program on my machine, after the web browser, and
it's using 700MiBs of RSS RAM, or 600MiB PSS (i.e. excluding shared
libs that other programs are also using). For comparison, ed with
rlwrap for line-editing support takes 3MiBs RSS, or 1MiBs PSS.
On Wed, 12 Aug 2026 23:19:19 +0300, Lumin Etherlight wrote:
Emacs without any loaded packages or scripts
takes 70MiBs on my machine, and 40MiBs if started
without GUI. But my Emacs instance I'm actually
using for the past 3 days with less than 5
package addons, and around 1000 lines of custom
settings and functions, is the second largest
program on my machine, after the web browser, and
it's using 700MiBs of RSS RAM, or 600MiB PSS
(i.e. excluding shared libs that other programs
are also using). For comparison, ed with rlwrap
for line-editing support takes 3MiBs RSS, or
1MiBs PSS.
So Emacs only has to be about 600|u better than ed
to be worth it.
ItrCOs say itrCOs more than that. If you need 600|u
more effort and pain to do what you do in ed
compared to Emacs, then itrCOs definitely worth
running Emacs instead.
A nice thing with Emacs is, you can have it
running all the time with server mode enabled,
and tell it to open files from various terminal
sessions.
As a user of Emacs for more than a decade, who wrote thousands of
lines of custom Emacs plugins and workflows, I can tell you with
confidence that Emacs is no where near 600x less effort, or more
utility than ed.
On Sat, 15 Aug 2026 00:41:32 +0300, Lumin Etherlight wrote:
As a user of Emacs for more than a decade, who wrote thousands of
lines of custom Emacs plugins and workflows, I can tell you with
confidence that Emacs is no where near 600x less effort, or more
utility than ed.
Can your ed do this?
[ about 60 lines of lisp-like code snipped ]
On Sat, 15 Aug 2026 00:41:32 +0300, Lumin Etherlight wrote:
As a user of Emacs for more than a decade, who wrote thousands of
lines of custom Emacs plugins and workflows, I can tell you with
confidence that Emacs is no where near 600x less effort, or more
utility than ed.
Can your ed do this?
(defun unhtml-wc (beg end)
[2611 characters of needless lisp code omitted]
On 2026-08-14 23:41, Lumin Etherlight wrote:
[...] There is an Emacs way,
there is a vi way, and there is an ed way, but the
latter is sadly a lost art, with barely a handful
of people in the world well-versed in its methods.
Curious; is there something possible in 'ed' that
you'd say isn't possible in 'ex' - i.e. done in a
similar way? Or is it just ed's minimalism that
you find appealing?
A handful (at most) of occasions I used 'ed'; to
simply feed command scripts. (But I can do that as
well with my standard editor.) And for complex
tasks I resorted to text processors (like 'awk')
instead of using ed/ex/vi or 'sed'.
(While not directly related to what you wrote your
mention of LLMs reminds me the "doctor"(?), some
"Eliza" module in Emacs; not an "AI" but obviously
misconceived as such.)
Lawrence DrCOOliveiro <ldo@nz.invalid> writes:
On Sat, 15 Aug 2026 00:41:32 +0300, Lumin Etherlight wrote:!links -dump % | wc -w
As a user of Emacs for more than a decade, who wrote thousands of
lines of custom Emacs plugins and workflows, I can tell you with
confidence that Emacs is no where near 600x less effort, or more
utility than ed.
Can your ed do this?
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 74 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 45:26:45 |
| Calls: | 1,100 |
| Files: | 1,339 |
| Messages: | 275,372 |