This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [doc/commit] Re: fix use of @kbd and @key in gdb.texinfo


Eli Zaretskii wrote:
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.

Sounds good enough. I just wanted to make sure that it was intentional.


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.

OK. I wasn't aware of that distinction, but it makes sense and it looks to me like the doc is now consistently following that rule.


--Bob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]