From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21956 invoked by alias); 16 Nov 2005 20:26:14 -0000 Received: (qmail 21919 invoked by uid 22791); 16 Nov 2005 20:26:10 -0000 Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 16 Nov 2005 20:26:10 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-33-244.inter.net.il [80.230.33.244]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CZN14118 (AUTH halo1); Wed, 16 Nov 2005 22:25:47 +0200 (IST) Date: Thu, 17 Nov 2005 00:10:00 -0000 Message-Id: From: Eli Zaretskii To: Andrew STUBBS CC: gdb-patches@sources.redhat.com In-reply-to: <20051116201300.GA23472@nevyn.them.org> (message from Daniel Jacobowitz on Wed, 16 Nov 2005 15:13:00 -0500) Subject: Re: [PATCH] Fix 'Undefined command' error message Reply-to: Eli Zaretskii References: <4379EC0A.3060601@st.com> <20051116201300.GA23472@nevyn.them.org> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00254.txt.bz2 > Date: Wed, 16 Nov 2005 15:13:00 -0500 > From: Daniel Jacobowitz > Cc: Andrew STUBBS , 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.