From: Daniel Jacobowitz <drow@false.org>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb@sources.redhat.com
Subject: Re: Pending breakpoints and scripts
Date: Tue, 17 Feb 2004 20:15:00 -0000 [thread overview]
Message-ID: <20040217201506.GA5155@nevyn.them.org> (raw)
In-Reply-To: <403275DF.6070209@gnu.org>
On Tue, Feb 17, 2004 at 03:13:19PM -0500, Andrew Cagney wrote:
>
> >>>>Lets see if we can pin down the interface (adding JeffJ to the CC list):
> >>>>
> >>>>nquery("A question?")
> >>>>
> >>>> A question? [n]:
> >>>>
> >>>> - press return => implied "n"
> >>>> - batch mode => implied "n"
> >
> >>>
> >>>
> >>>How would you feel about "[n/y]"? Otherwise, I like this.
> >
> >>
> >>As in?
> >
> >
> >nquery("A question?");
> > A question? (n or y) <CURSOR>
> >
> >or
> >
> > A question? [n/y]: <CURSOR>
> >
> >Simply to clarify that it is a yes-no question.
>
> Er, ...
>
> > How about this, we introduce:
> > nquery()
> > yquery()
> > where the default (batch mode, and when return is pressed is n/y
> > respectively).
>
> with what you suggest, how is the user to differientiate the
> consequences of entering return when presented with either of:
> nquery("A question?")
> A question? [y/n]:
> and
> yquery("A question?")
> A question? [y/n]:
> something like:
> A question? (y or n) [n]:
> would be needed (which would be getting into redundant verbage).
Easy, it would be:
> nquery("A question?")
> A question? [n/y]:
> yquery("A question?")
> A question? [y/n]:
If you want to use (y or n) [y], then that's fine by me too.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2004-02-17 20:15 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-09 20:02 Andrew Cagney
2004-02-09 22:32 ` Daniel Jacobowitz
2004-02-10 21:22 ` Andrew Cagney
2004-02-10 22:26 ` Daniel Jacobowitz
2004-02-11 3:48 ` System calls debugging MuthuKumar-Hotpop
2004-02-12 9:58 ` how to include subdirectories too, for the source directory murugesan
2004-02-12 13:07 ` Bob Rossi
2004-02-13 4:23 ` murugesan
2004-02-11 14:31 ` Pending breakpoints and scripts Andrew Cagney
2004-02-11 14:47 ` Daniel Jacobowitz
2004-02-17 19:24 ` Andrew Cagney
2004-02-17 19:31 ` Daniel Jacobowitz
2004-02-17 19:39 ` Andrew Cagney
2004-02-17 19:41 ` Daniel Jacobowitz
2004-02-17 20:07 ` Jeff Johnston
2004-02-17 20:14 ` Andrew Cagney
2004-02-17 20:15 ` Daniel Jacobowitz
2004-02-17 20:13 ` Andrew Cagney
2004-02-17 20:15 ` Daniel Jacobowitz [this message]
2004-02-17 20:30 ` Andrew Cagney
2004-02-17 20:35 ` Daniel Jacobowitz
2004-02-19 22:42 ` [RFA]: Patch for pending " Jeff Johnston
2004-02-23 15:56 ` Andrew Cagney
2004-02-09 22:27 Pending " Michael Elizabeth Chastain
2004-02-09 22:38 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040217201506.GA5155@nevyn.them.org \
--to=drow@false.org \
--cc=cagney@gnu.org \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox