From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14964 invoked by alias); 20 Aug 2005 16:05:49 -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 14955 invoked by uid 22791); 20 Aug 2005 16:05:44 -0000 Received: from mtagate2.de.ibm.com (HELO mtagate2.de.ibm.com) (195.212.29.151) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sat, 20 Aug 2005 16:05:44 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate2.de.ibm.com (8.12.10/8.12.10) with ESMTP id j7KG5gd7155214 for ; Sat, 20 Aug 2005 16:05:42 GMT Received: from d12av04.megacenter.de.ibm.com (d12av04.megacenter.de.ibm.com [9.149.165.229]) by d12nrmr1607.megacenter.de.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j7KG5geL082126 for ; Sat, 20 Aug 2005 18:05:42 +0200 Received: from d12av04.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av04.megacenter.de.ibm.com (8.12.11/8.13.3) with ESMTP id j7KG5fF5001024 for ; Sat, 20 Aug 2005 18:05:42 +0200 Received: from d12ml102.megacenter.de.ibm.com (d12ml102.megacenter.de.ibm.com [9.149.166.138]) by d12av04.megacenter.de.ibm.com (8.12.11/8.12.11) with ESMTP id j7KG5ftT001018; Sat, 20 Aug 2005 18:05:41 +0200 In-Reply-To: <20050820132023.GA20235@white> Subject: Re: Using C-s to forward search command history To: Bob Rossi Cc: gdb@sources.redhat.com, Greg Law , Julian Smith Message-ID: From: Michael Veksler Date: Sat, 20 Aug 2005 16:05:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-SW-Source: 2005-08/txt/msg00072.txt.bz2 Bob Rossi wrote on 20/08/2005 16:20:23: > On Sat, Aug 20, 2005 at 03:19:33PM +0300, Michael Veksler wrote: > > > > 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 :-( [...] > > > > 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 > > That's interesting. Is the (stop/start) ^s/^q feature of the terminal > even useful these days? Why is it defaulted on? I see people use the ^s/^q all the time, especially with a long running application that emits a line of trace about every second. I like the search feature more, so I disable the suspend sequence. Michael