Re: utf8 input in el_gets(3)

2016-01-15 Thread Christian Heckendorf
Ping? Also, any thoughts on the editline.3 diff[1] sent later in this thread? [1] http://marc.info/?l=openbsd-tech=145150775627284=2 Ingo Schwarze wrote: > Hi Christian & Michael, > > Michael McConville wrote on Thu, Dec 24, 2015 at 04:19:03PM -0500: > > Christian Heckendorf wrote: > > >> A

Re: utf8 input in el_gets(3)

2015-12-30 Thread Christian Heckendorf
Ingo Schwarze wrote: > Hi Christian & Michael, > > Michael McConville wrote on Thu, Dec 24, 2015 at 04:19:03PM -0500: > > Christian Heckendorf wrote: > > >> A couple of somewhat recent changes in NetBSD's libedit permit > >> el_gets(3) to accept multibyte characters if the locale supports > >>

Re: utf8 input in el_gets(3)

2015-12-26 Thread Dmitrij D. Czarkoff
Christian Heckendorf said: > > I remember someone recently mentioning that libedit is due for an > > update. Maybe we should try to include this in a full sync. > > Assuming someone isn't already working on it, I volunteer. I work on it, and I sit on a huge diff for some time. I'll send it out

Re: utf8 input in el_gets(3)

2015-12-25 Thread Nicholas Marriott
Go for it, IIRC there are a few new strcpy that will need care to change to strlcpy but otherwise it should be easy enough. On Thu, Dec 24, 2015 at 04:30:37PM -0500, Christian Heckendorf wrote: > * Michael McConville [24.12.2015. @16:19:03 -0500]: > > > Christian

Re: utf8 input in el_gets(3)

2015-12-24 Thread Christian Heckendorf
* Michael McConville [24.12.2015. @16:19:03 -0500]: > Christian Heckendorf wrote: > > A couple of somewhat recent changes in NetBSD's libedit permit > > el_gets(3) to accept multibyte characters if the locale supports > > it. > > > > A notable user of this function is sftp(1)

Re: utf8 input in el_gets(3)

2015-12-24 Thread Ingo Schwarze
Hi Christian & Michael, Michael McConville wrote on Thu, Dec 24, 2015 at 04:19:03PM -0500: > Christian Heckendorf wrote: >> A couple of somewhat recent changes in NetBSD's libedit permit >> el_gets(3) to accept multibyte characters if the locale supports >> it. Ugh. The amount of indirection

utf8 input in el_gets(3)

2015-12-24 Thread Christian Heckendorf
A couple of somewhat recent changes in NetBSD's libedit permit el_gets(3) to accept multibyte characters if the locale supports it. A notable user of this function is sftp(1) which will allow users to input multibyte characters, in filenames for example, once the diff is applied. -- Christian

Re: utf8 input in el_gets(3)

2015-12-24 Thread Michael McConville
Christian Heckendorf wrote: > * Michael McConville [24.12.2015. @16:19:03 -0500]: > > > Christian Heckendorf wrote: > > > A couple of somewhat recent changes in NetBSD's libedit permit > > > el_gets(3) to accept multibyte characters if the locale supports > > > it. > > > > >

Re: utf8 input in el_gets(3)

2015-12-24 Thread Michael McConville
Christian Heckendorf wrote: > A couple of somewhat recent changes in NetBSD's libedit permit > el_gets(3) to accept multibyte characters if the locale supports > it. > > A notable user of this function is sftp(1) which will allow users to > input multibyte characters, in filenames for example,