From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11695 invoked by alias); 8 Sep 2011 15:56:09 -0000 Received: (qmail 11685 invoked by uid 22791); 8 Sep 2011 15:56:06 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Sep 2011 15:55:49 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R1gxB-0007O0-8l for gdb@sourceware.org; Thu, 08 Sep 2011 08:55:49 -0700 Message-ID: <32424984.post@talk.nabble.com> Date: Thu, 08 Sep 2011 15:56:00 -0000 From: Jusctsch To: gdb@sourceware.org Subject: Re: gdb-mi mode- issues with command history and left and right keys In-Reply-To: <201109081640.09886.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <32424789.post@talk.nabble.com> <201109081640.09886.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-09/txt/msg00028.txt.bz2 Hence the Machine Interface moniker. That makes a lot of sense actually, thanks! Pedro Alves-10 wrote: > > On Thursday 08 September 2011 16:32:03, Jusctsch wrote: >> >> Hello all, >> When I enter gdb-mi mode on a bsd shell, I notice that I have no access >> to >> the up and down arrow keys for history, and left and right keys for >> travelling the line. >> Is there a way to configure gdb-mi mode for these codes? Is this a shell >> issue? > > No, that's expected. gdb-mi mode does not support command line editing > (it doesn't use readline), as it's meant to be driven by a machine. > > The workaround is to start in normal cli mode, and use interpreter-exec > mi. > That's not the same, but it's close enough in most cases. > > (I've wished MI used readline myself before thought). > > -- > Pedro Alves > > -- View this message in context: http://old.nabble.com/gdb-mi-mode--issues-with-command-history-and-left-and-right-keys-tp32424789p32424984.html Sent from the Sourceware - gdb list mailing list archive at Nabble.com.