Re: ksh: add support for bracketed paste mode

2021-09-07 Thread Theo de Raadt
bracketed paste mode is complete garbage which should never have been invented. It creates as many problems as it solves. It is way too easy for a tty to get into the mode, and get stuck. Yes, getting stuck happens, especially when programs crash while in the mode. At that point, the user exper

Re: ksh: add support for bracketed paste mode

2021-09-04 Thread Sören Tempel
Ping. I've been using the patched the last ~6 months and didn't encounter any problems with it. If there is no interested in bracketed paste mode or if the design needs to be revised in general, please let me know. Below is a slightly updated version of this patch which should fix the build withou

ksh: add support for bracketed paste mode

2021-04-02 Thread Sören Tempel
Hello, The diff below adds support for bracketed paste mode to ksh. Bracketed paste mode is a set of special escape sequences, which are employed by many terminal emulators to allow programs run inside of them to distinguish pasted text from typed-in text [0]. This is useful for preventing pasted