RES: vt newcons mouse paste issue FIXED

2022-06-23 Thread Ivan Quitschal
>Hi, >

Re: RES: RES: RES: RES: vt newcons mouse paste issue FIXED

2022-06-23 Thread Hans Petter Selasky
On 6/23/22 21:32, Ivan Quitschal wrote: Hi, Please test this latest version:

RES: RES: RES: RES: vt newcons mouse paste issue FIXED

2022-06-23 Thread Ivan Quitschal
>Hi, > >Please test this latest version:

Re: RES: RES: RES: vt newcons mouse paste issue FIXED

2022-06-23 Thread Hans Petter Selasky
Hi, Please test this latest version: https://reviews.freebsd.org/D35552 --HPS

RES: RES: RES: vt newcons mouse paste issue FIXED

2022-06-22 Thread Ivan Quitschal
- De: Hans Petter Selasky Enviada em: quarta-feira, 22 de junho de 2022 14:08 Para: Tomoaki AOKI ; Ivan Quitschal Cc: freebsd-current@freebsd.org; Kurt Jaeger Assunto: Re: RES: RES: vt newcons mouse paste issue FIXED On 6/22/22 18:48, Tomoaki AOKI wrote: > Hi. > > Not actual

Re: RES: RES: vt newcons mouse paste issue FIXED

2022-06-22 Thread Hans Petter Selasky
On 6/22/22 18:48, Tomoaki AOKI wrote: Hi. Not actually tested, but this can cause breakage on non-ascii cases. Maybe also (or instead) iswspace() test would be needed. Possibly additional mbrtowc() in the argument of iswspace(). Please see `man 3 multibyte` and `man 3 iswspace`. (Possibly more

Re: RES: RES: vt newcons mouse paste issue FIXED

2022-06-22 Thread Hans Petter Selasky
On 6/22/22 18:41, Hans Petter Selasky wrote: Hi, I needed to update the patch a bit. Can you test this: https://reviews.freebsd.org/D35552 Use the download raw patch link in there to get the patch. Thank you! --HPS One more update. --HPS

Re: RES: RES: vt newcons mouse paste issue FIXED

2022-06-22 Thread Tomoaki AOKI
ginal----- > De: Hans Petter Selasky > Enviada em: quarta-feira, 22 de junho de 2022 11:02 > Para: Ivan Quitschal ; freebsd-current@freebsd.org > Assunto: Re: RES: vt newcons mouse paste issue FIXED > > On 6/22/22 15:36, Ivan Quitschal wrote: > > Hi

Re: RES: RES: vt newcons mouse paste issue FIXED

2022-06-22 Thread Hans Petter Selasky
Hi, I needed to update the patch a bit. Can you test this: https://reviews.freebsd.org/D35552 Use the download raw patch link in there to get the patch. Thank you! --HPS

RES: RES: vt newcons mouse paste issue FIXED

2022-06-22 Thread Ivan Quitschal
buf[i++] = '\0'; } } } Works fine here Thanks --tzk -Mensagem original- De: Hans Petter Selasky Enviada em: quarta-feira, 22 de junho de 2022 11:02 Para: Ivan Quitschal ; freebsd-current@freebsd.org Assunto: Re: RES: vt newcons mouse paste issue FIXED On 6/22

Re: RES: vt newcons mouse paste issue FIXED

2022-06-22 Thread Hans Petter Selasky
On 6/22/22 15:36, Ivan Quitschal wrote: Hi Hans Hi Ivan, I think you should upload the diff at: https://reviews.freebsd.org/differential/ Make the diff like this: diff -u -C 99 sys/dev/vt/vt_buf.c.orig sys/dev/vt/vt_buf.c > a.diff I see two issues: 1) Pointer arithmetics is not so

RES: vt newcons mouse paste issue FIXED

2022-06-22 Thread Ivan Quitschal
Hi Hans Please find below. It can't paste the entire screen (mine is 1920x1080) tho, due to "sz" size I believe. 43a44 > #include 754a756 > term_char_t *end; 774a777,783 > end = buf + i -1; > while (end > buf && isspace((unsigned char)*end)) > {