[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ed with Readline

From: Brian Zwahr
Subject: Re: Ed with Readline
Date: Fri, 25 Sep 2020 11:31:27 -0500

For the record, this can be achieved simply by running `ed` with `rlwrap`.

$ rlwrap ed

That's what I do, thanks to one of the @ed1conf tweets. I think other people use this method, too. It gives the functionality without having to change ed, following the "do one thing and do it well" philosophy.

On Fri, Sep 25, 2020 at 17:16, Faissal Isslam Bensefia <faissaloo@firemail.cc> wrote:
Hi Antonio,
I'm not sure if you prefer a specific patch format, but I've attached a git formatted patch for my changes. These are by no means finalised but I'd like to get your feedback on it, I'm curious to know whether my ideas are compatible with your vision for the project.

The gist of it is that not having the ability to edit commands before executing them or have a command history is something that isn't really expected of programs nowadays, so I've hooked GNU Readline into get_stdin_line(). It's currently still missing some of the previous error handling that was there.


On 25/09/2020 16:04, Antonio Diaz Diaz wrote:
Hi Faissal,

Faissal Isslam Bensefia wrote:
Hi, I'm looking into making some modifications to The Standard Editor and was just curious if there was a plan to move to Git at some point?

There are no plans to move to git, but if you plan to share your modifications, a patch against the latest version is enough.

Best regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]