On Tue, 21 Dec 2010 15:28:01 GMT, Peter Maydell said: > Also, given that we basically have all the information about > accepted switches in the ansp parameter, it would be cool if we > could pass that along to readline so tab completion completed > commands rather than just filenames. This in particular would > mean you'd just want to always have getans() tab complete, > because it wouldn't tab-complete filenames unless it was > appropriate. That's more work than just calling readline(), > though.
Agreed that if we are going to do it, we should do it right. > I would prefer the default to be "use readline if it is > present at compile time", rather than "do not use". Otherwise > most users (and probably most distro package builders!) will > never realise the option is there. +1 > plain old getans(). [Question: when do we want the fancy > vs non fancy getans? Maybe there should just be one, and > we make getans() do tab completion if we have readline?] That would be the best approach, I think.
pgpGjdyIwHKAP.pgp
Description: PGP signature
_______________________________________________ Nmh-workers mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/nmh-workers
