On Wed, 20 Jul 2022 at 01:52, Robert Elz <k...@munnari.oz.au> wrote: > > I will take a look, but I suspect you're seeing the interaction > between what editline (libedit) wants, and its settings, and how > the shell interacts with it to preserve sane settings for other > commands that also use the terminao.
Thanks! It turned up in a test framework so I was able to push a workaround. Do you want a bug report? > bash and readline are much more tightly coupled than sh and libedit. > > kre > > ps: when I look at this I am much more likely to use vi mode > than emacs ... should make no difference to the interaction > just to how libedit edits (key bindings). I'm impressed by the options even working.