Re: ksh(1): UTF-8 column count bug

2017-05-11 Thread Theo Buehler
On Thu, May 11, 2017 at 03:36:17PM +0200, Ingo Schwarze wrote: > Hi, > > i checked Anton's analysis and believe it is completely correct. > Any OKs to commit? ok

Re: ksh(1): UTF-8 column count bug

2017-05-11 Thread Ingo Schwarze
Hi, i checked Anton's analysis and believe it is completely correct. Any OKs to commit? See below for details. Yours, Ingo Anton Lindqvist wrote on Thu, May 11, 2017 at 08:02:59AM +0200: > I recently encountered a bug in ksh(1)'s emacs mode while running from > xterm(1). How-to reproduce:

ksh(1): UTF-8 column count bug

2017-05-11 Thread Anton Lindqvist
Hi, I recently encountered a bug in ksh(1)'s emacs mode while running from xterm(1). How-to reproduce: 1. Insert a sequence containing at least one UTF-8 character until the line exceeds the last column, triggering horizontal scroll. 2. Moving backwards using any motion (^A, ^B, ^[b) fails