Re: [Patch] mg(1) set column-number-mode on by default

2018-05-26 Thread Leonid Bobrov
On Sat, May 26, 2018 at 09:49:22PM +0200, Florian Obser wrote: > Not OK. > > With column-number-mode on mg has to redraw the modeline (maybe even > the whole window?) on every cursor move. Try it on a 9600 serial > console. > Oh, I forgot we use slow hardware. I didn't know it is necessary to

Re: [Patch] mg(1) set column-number-mode on by default

2018-05-26 Thread Leonid Bobrov
> I already suggested exactly this: > https://marc.info/?l=openbsd-tech=152727379111353=2 > This tutorial doesn't mention using different modes, so it is unclear to new user how to switch to that mode. I'm extending your diff to make less confusions (plus date needs update, I'm using my local

Re: [Patch] mg(1) set column-number-mode on by default

2018-05-26 Thread Brian Callahan
Hi Florian -- On 5/26/2018 3:49 PM, Florian Obser wrote: > Not OK. > > With column-number-mode on mg has to redraw the modeline (maybe even > the whole window?) on every cursor move. Try it on a 9600 serial > console. > > With line-number-mode on the redraw is only necessary when a cursor > move

Re: [Patch] mg(1) set column-number-mode on by default

2018-05-26 Thread Florian Obser
Not OK. With column-number-mode on mg has to redraw the modeline (maybe even the whole window?) on every cursor move. Try it on a 9600 serial console. With line-number-mode on the redraw is only necessary when a cursor move changes the line number. Happens considerably less often. Also note how

[Patch] mg(1) set column-number-mode on by default

2018-05-26 Thread Leonid Bobrov
>From https://marc.info/?t=15272488061=1=2 If line-number-mode is on by default, I don't get what is the problem with these "slow serial lines", plus without this patch below we have confusing tutorial for new users: Index: display.c