From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10166 invoked by alias); 5 Dec 2011 17:06:05 -0000 Received: (qmail 10153 invoked by uid 22791); 5 Dec 2011 17:06:04 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from imr4.ericy.com (HELO imr4.ericy.com) (198.24.6.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Dec 2011 17:05:44 +0000 Received: from eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) by imr4.ericy.com (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id pB5H5fKu017541; Mon, 5 Dec 2011 11:05:42 -0600 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.43]) by eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) with mapi; Mon, 5 Dec 2011 12:05:36 -0500 From: Marc Khouzam To: "'Tom Tromey'" CC: "'Stan Shebs'" , "'gdb-patches@sourceware.org'" Date: Mon, 05 Dec 2011 18:32:00 -0000 Subject: RE: RFC: Introduce remote console for CLI interpreter via telnet Message-ID: References: <4EC4ECB5.8090107@mentor.com> <20111201230711.GB2777@adacore.com> <4ED81749.8000305@earthlink.net> In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-12/txt/msg00148.txt.bz2 > -----Original Message----- > From: Tom Tromey [mailto:tromey@redhat.com]=20 > Sent: Friday, December 02, 2011 4:06 PM > To: Marc Khouzam > Cc: 'Stan Shebs'; 'gdb-patches@sourceware.org' > Subject: Re: RFC: Introduce remote console for CLI=20 > interpreter via telnet >=20 > >>>>> "Marc" =3D=3D Marc Khouzam writes: >=20 > Tom> I don't think it will do completion or history. It doesn't=20 > Tom> use readline. >=20 > Marc> That is too bad. I will have to try it out and figure > Marc> out what is missing. >=20 > I think it isn't easily possible. Readline really wants a=20 > tty, but this > is just a plain socket connection. Eclipse does provide a pseudo-tty. In fact, there is also a full-featured terminal that allows me to access all the goodies of tcsh for example.=20 I guess you are saying that the problem is that this new=20 remote console won't allow for the readline features at all. > I really think you are better off just implementing a console in your > GUI, and doing the various editing things there. >=20 > Tom> History you can implement in your UI. >=20 > Marc> Guess so :-( >=20 > Actually, I guess interoperating with gdb's history would be nice. It > would mean that users could "set history save on" and then have their > commands show up in Eclipse as well. >=20 > I think this would need some new MI commands. Specifically,=20 > you'd need > an MI request to fetch previous history items. >=20 > If you want this, would you mind filing a bug report? I'll try out the patch for the remote console and write bug reports for suggested improvements. > Tom> I agree about the prompt. >=20 > Marc> That is good news :-) >=20 > Another bug report :) >=20 > Marc> - synchronization with the Eclipse UI >=20 > Tom> What does this mean? >=20 > Marc> Have Eclipse update properly after commands given > Marc> from this new telnet console. But doing that will > Marc> require some GDB events that are not there yet. > Marc> But that is the final goal of the Eclispe=20 > Marc> gdb-console. >=20 > Ok, I see. We've added some events in this last release cycle. > Please file bugs for what you need. These are usually not too hard to > add. Will do. Thanks a lot! Marc