FACT++  1.0
bool Readline::PrintKeyBindings ( )
virtual

Print a help text about key bindings. This is intended for being overwritten by deriving classes.

rl_outstream can be redirected using SetStreamOut()

Returns
always true

Reimplemented in Console, and Shell.

Definition at line 1025 of file Readline.cc.

Referenced by Console::GetStreamIn(), Process(), and SetSection().

1026 {
1027  fprintf(rl_outstream, "\n");
1028  fprintf(rl_outstream, " Key bindings:\n");
1029  fprintf(rl_outstream, " Page-up Search backward in history\n");
1030  fprintf(rl_outstream, " Page-dn Search forward in history\n");
1031  fprintf(rl_outstream, " Ctrl-left One word backward\n");
1032  fprintf(rl_outstream, " Ctrl-right One word forward\n");
1033  fprintf(rl_outstream, " Home Beginning of line\n");
1034  fprintf(rl_outstream, " End End of line\n");
1035  fprintf(rl_outstream, " Ctrl-d Quit\n");
1036  fprintf(rl_outstream, " Ctrl-y Delete line\n");
1037  fprintf(rl_outstream, " Alt-end/Ctrl-k Delete until the end of the line\n");
1038  fprintf(rl_outstream, " F1 Toggle visibility of upper panel\n");
1039  fprintf(rl_outstream, "\n");
1040  fprintf(rl_outstream, " Default key-bindings are identical with your bash.\n");
1041  fprintf(rl_outstream, "\n");
1042  return true;
1043 }

+ Here is the caller graph for this function: