[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] GNU readline whatnowproc (was tab completion)
From: |
Peter Maydell |
Subject: |
Re: [Nmh-workers] GNU readline whatnowproc (was tab completion) |
Date: |
Tue, 21 Dec 2010 15:49:34 +0000 |
address@hidden wrote:
>
> > Thanks. This doesn't actually apply to current head of git,
> > [...]
> > Anyway, some nitpicking on points of detail:
>
>That's not nitpicking--just good code reviewing. My C skills really
>suck. Sorry.
>
>I like everything you've said. I'll send along a better patch for
>consideration soon.
Cool. One I missed is that I think we do need to have something
for signal handling: with current whatnow if you hit ^C at the
prompt then whatnow exits with status 1 (we catch the SIGINT and
return NULL from getans() so whatnow exits cleanly). In the
readline version, if you hit ^C at the prompt then whatnow exits
with status 130, ie command terminated with a signal, and the
caller of getans() didn't get control back.
-- PMM
Re: [Nmh-workers] whatnowproc tab completion, Ralph Corderoy, 2010/12/19