sometimes it does not make sense to complete on TAB but it does make
sense to print some help.
I tried returning ("" "long help message") from my custom completer
routine so that readline will know that there is no clear completion and
will print (on the second TAB) the "long help message".
Unfortunately, when the "long help message" contains newlines,
they are printed as ^J.
How can I prevent that?
Thanks!
--
Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
Winners never quit; quitters never win; idiots neither win nor quit.
[Prev in Thread]
Current Thread
[Next in Thread]
readline: completions with newlines?,
Sam Steingold<=