This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [doc/commit] Re: fix use of @kbd and @key in gdb.texinfo
> Date: Mon, 16 Oct 2006 10:55:23 -0700
> From: Bob Wilson <bwilson@tensilica.com>
> CC: gdb-patches@sources.redhat.com
>
> Somehow the message that Eli sent directly to me did not get through, probably
> lost in a torrent of spam, and I don't read gdb-patches regularly. That's not a
> very good excuse, though -- I should have made a point of checking the list in
> case anyone had issues with my change. I'm sorry.
No sweat.
> What about the TUI chapter? There are lots of "C-" prefixes in there and it's
> not tied to Emacs users. Should they all use "Ctrl-"?
I left "C-" there because the text mentions the corresponding Emacs
keybindings. But I'm open to other opinions.
> Also, I noticed that there is a mix of upper- and lowercase for Ctrl key
> combinations, e.g, "Ctrl-C" vs. "Ctrl-c". Can we make them all the same?
The latter should be used in @kbd, the former in @samp. If this is
so, it's deliberate: @kbd shows what one types, @samp shows what's
displayed on the screen as the result. AFAIK, you always get Ctrl-C
(uppercase C) when you interrupt a process.
> Here is a patch to fix one more place to use "Ctrl-". It was using "C-d" before
> my change, but it seems like it ought to use "Ctrl-" to be consistent, since it
> has nothing to do with Emacs.
Right, please commit this. Thanks.