Re: [chrony-users] libedit 20180525-3.1 escapes spaces in chronyc tab-completion

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Fri, Jun 08, 2018 at 06:16:57PM -0500, Lonnie Abelbeck wrote:
> Hi,
> 
> Our project did a version bump of libedit to 20180525-3.1 and noticed spaces are now being escaped with a backslash with chronyc's tab-completion.

Interesting.

> The change occurred with libedit revision 1.47 2017/10/15
> http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libedit/filecomplete.c.diff?r1=1.46&r2=1.47
> 
> I took a stab at a fix by patching CPS_NormalizeLine() ...

I think the fix should be closer to the readline/editline-specific
code. Maybe there is an option to disable the new behavior?

-- 
Miroslav Lichvar

-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/