From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29232 invoked by alias); 20 Aug 2005 12:18:42 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29218 invoked by uid 22791); 20 Aug 2005 12:18:38 -0000 Received: from mtagate1.de.ibm.com (HELO mtagate1.de.ibm.com) (195.212.29.150) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sat, 20 Aug 2005 12:18:38 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate1.de.ibm.com (8.12.10/8.12.10) with ESMTP id j7KCIZOI120114 for ; Sat, 20 Aug 2005 12:18:35 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j7KCIZeL151334 for ; Sat, 20 Aug 2005 14:18:35 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11/8.13.3) with ESMTP id j7KCIZvS016783 for ; Sat, 20 Aug 2005 14:18:35 +0200 Received: from d12ml102.megacenter.de.ibm.com (d12ml102.megacenter.de.ibm.com [9.149.166.138]) by d12av02.megacenter.de.ibm.com (8.12.11/8.12.11) with ESMTP id j7KCIZxn016778; Sat, 20 Aug 2005 14:18:35 +0200 In-Reply-To: <4305DACB.7010604@greglaw.net> Subject: Re: Using C-s to forward search command history To: Greg Law Cc: gdb@sources.redhat.com, Julian Smith Message-ID: From: Michael Veksler Date: Sat, 20 Aug 2005 12:18:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-SW-Source: 2005-08/txt/msg00070.txt.bz2 Greg Law wrote on 19/08/2005 16:12:43: > If I've read the info pages correctly, I can use C-s in order to search > the command history forwards. However, this sequence also seems to be > the control sequence to suspend the terminal :-( > > Have I misunderstood, or is there a way round this? (It would be very > useful for me to be able to search forwards). This is a terminal feature that interferes with your C-s use, it is not a readline issue. The following line works for me. I put it in my .kshrc, .cshrc, .zshrc startup files after making sure this is an interactive shell: stty -ixon