Definition at line 219 of file ReadlineColor.cc.
References Readline::DumpFunctions(), Readline::DumpFunmap(), Readline::DumpHistory(), Readline::DumpVariables(), ExecuteShellCommand(), kBold, PrintAttributes(), and Readline::RedirectionWrapper().
Referenced by Shell::Process(), Console::Process(), ChatClient< Shell >::Process(), LocalControl< ConsoleStream >::Process(), and RemoteControl< Shell >::Process().
223 if (
str.substr(0, 2)==
".!")
226 if (
str==
"lh" ||
str==
"history")
228 out << endl <<
kBold <<
"History:" << endl;
232 if (
str==
"v" ||
str==
"variable")
234 out << endl <<
kBold <<
"Variables:" << endl;
238 if (
str==
"f" ||
str==
"function")
240 out << endl <<
kBold <<
"Functions:" << endl;
244 if (
str==
"m" ||
str==
"funmap")
246 out << endl <<
kBold <<
"Funmap:" << endl;
252 if (
str==
"a" ||
str==
"attrs")
bool PrintAttributes(std::ostream &out)
static bool DumpHistory()
static bool RedirectionWrapper(std::ostream &out, bool(*function)())
static bool DumpFunctions()
bool ExecuteShellCommand(std::ostream &out, const std::string &cmd)
static bool DumpVariables()