From 72ffddc92807fede9220237752b124bf4b2dfd93 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sat, 26 Jul 2003 07:38:54 +0000 Subject: [PATCH] * gdb.texinfo (TUI Keys): Document C-x o key to switch active window. --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdb.texinfo | 15 ++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index c9a903bd2c..81652d4e4c 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2003-07-26 Stephane Carrez + + * gdb.texinfo (TUI Keys): Document C-x o key to switch active window. + 2003-07-24 Daniel Jacobowitz * gdbint.texinfo (libgdb components): Correct a GDB to GDBN. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 5db0bce050..022b34dcd0 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -13857,6 +13857,14 @@ previous layout and the new one. Think of it as the Emacs @kbd{C-x 2} binding. +@kindex C-x o +@item C-x o +Change the active window. The TUI associates several key bindings +(like scrolling and arrow keys) to the active window. This command +gives the focus to the next TUI window. + +Think of it as the Emacs @kbd{C-x o} binding. + @kindex C-x s @item C-x s Use the TUI @emph{SingleKey} keymap that binds single key to gdb commands @@ -13898,9 +13906,10 @@ Refresh the screen. @end table In the TUI mode, the arrow keys are used by the active window -for scrolling. This means they are not available for readline. It is -necessary to use other readline key bindings such as @key{C-p}, @key{C-n}, -@key{C-b} and @key{C-f}. +for scrolling. This means they are available for readline when the +active window is the command window. When the command window +does not have the focus, it is necessary to use other readline +key bindings such as @key{C-p}, @key{C-n}, @key{C-b} and @key{C-f}. @node TUI Single Key Mode @section TUI Single Key Mode -- 2.34.1