Re: [PATCH] Fix 'Undefined command' error message

Eli Zaretskii
2005-11-16T20:26:14Z

> Date: Wed, 16 Nov 2005 15:13:00 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Andrew STUBBS <andrew.stubbs@st.com>, gdb-patches@sources.redhat.com
>
> > > +#if defined(TUI)
> > > + (tui_active &&
> > > + (*p == '+' || *p == '<' || *p == '>' || *p == '$')) ||
> > > +#endif
> >
> > What is the reason for additional tests under TUI?
>
> The TUI has commands which include these. E.g. + is scroll forward;
> search for add_com in tui/.

I'd prefer to have the same characters allowed in all CLI commands.
Any other way would be very confusing to users.

Thanks for the other clarifications. I think we should at least add
comments that explain the respective characters.