nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Attach and disposition

2014-07-22 11:04:01
Ken wrote:

What about this for $200? attach '/tmp/foo bar.pdf'

That works!  But I realize I now remember my real problem; tab-completion
via readline() fills in /tmp/foo bar.pdf without any shell quoting; I
think we need to be smarter there.

If you insert a single quote before hitting tab, readline will
quote the entire string.

I think there's a limit on how much we want to do here.  Our
quoting support is already messy enough.

And I noticed that readline has its limits, too:  it won't list
possible completions after passing the space.  It does from a bash
shell prompt, though (maybe bash helps it out?).

David


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>