Andrew L. Moore wrote:
Antonio wrote: ] So I guess the proposed "\x1B[A\r\x1B[J" may work for ed.NO.
FWIW, I don't like the idea of adding ANSI escape sequences to ed and I would prefer not to add them unless there is a compelling reason to do so. (And even then, enabled with an option, not by default).