[TUHS] A few comments on porting the Bourne shell

Rob Pike robpike at gmail.com
Sun Jan 1 08:19:44 AEST 2023


Sam to some extent, but the better expression is the Plan 9 window systems 8½
and rio and their embedded interactive terminal. (Plan 9 has no terminal
support in the kernel beyond bootstrappability.) You just edit as you work
and hit newline to commit. There is a feature called "hold mode" that
disabled commit on newline. It was the way you wrote a mail message: Hold,
type a multiline message, edit all you like, release.

-rob


On Sun, Jan 1, 2023 at 12:28 AM Douglas McIlroy <
douglas.mcilroy at dartmouth.edu> wrote:

> > "Originally the idea of adding command line editing to ksh was
> >  rejected in the hope that line editing would move into the terminal
> >  driver." [2]
>
> > I have always wondered, what such a central terminal driver driven
> > history/line-editing would have felt like.
>
> You can get a feel for it in Rob's "sam" editor, which works that way.
>
> Doug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20230101/b2c49337/attachment.htm>


More information about the TUHS mailing list