From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 49760 invoked by alias); 4 Aug 2017 19:11:05 -0000 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 Received: (qmail 47542 invoked by uid 89); 4 Aug 2017 19:11:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=keyboard X-HELO: mail-lf0-f54.google.com Received: from mail-lf0-f54.google.com (HELO mail-lf0-f54.google.com) (209.85.215.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 04 Aug 2017 19:11:03 +0000 Received: by mail-lf0-f54.google.com with SMTP id t128so10657633lff.2 for ; Fri, 04 Aug 2017 12:11:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bMzNR4nuccWlcJ9tBZOoRBbrY9HrLtambommgIdnnCc=; b=iENLC7wRphMCWtQB3KnSqhJnsu1ahFHAfNPyAxyyyFnwBznj05I+MIQXYMNW0TsB7n AveM/EeJNNSyEZD38coeEkDBX8tP4N/bLY9BTS8jA18GnrMQkrOvx+bHQQsb+WycXYaE ZYJwJtMiS7XGu8aDyfPOtUqQACcpWTeCWnaVhrMyOKWYZdaGL3QUvedUEjnAk/9RFQkI 2DvRutLliiMMjXxy4aPxLptlUbSUwpzfNrukdI6bD5acSncutXTgQD0FFONBGIplnTTl sspntR5cMYpRyt8KXtUHO3/zy1ZTHZUnqa6x81f+cprM8ywrElY5jTykVX49UQnk5D5e 9KvA== X-Gm-Message-State: AHYfb5hXh9BL7ju2LV1yxHRH401Q4Sngsg/v4yDZtD1b+MBbR4FPh4Sc IZtDGW6EQwFwCzBwsdNtkWkeXr5PPA== X-Received: by 10.25.43.72 with SMTP id r69mr1194780lfr.225.1501873860993; Fri, 04 Aug 2017 12:11:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.201.140 with HTTP; Fri, 4 Aug 2017 12:11:00 -0700 (PDT) In-Reply-To: <2085ccb4878f1acccefb8aa2312f7c34@polymtl.ca> References: <1499926070-13827-1-git-send-email-b7.10110111@gmail.com> <1be450ee-ea96-76a4-dbf9-81f15b2d4234@gmail.com> <7ee96675bc6f2307642fb638a9b65839@polymtl.ca> <2085ccb4878f1acccefb8aa2312f7c34@polymtl.ca> From: Ruslan Kabatsayev Date: Fri, 04 Aug 2017 19:11:00 -0000 Message-ID: Subject: Re: [PING][PATCH] Add shortcuts for "nexti" and "stepi" commands in Single-Key mode To: Simon Marchi Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-08/txt/msg00083.txt.bz2 On 4 August 2017 at 16:29, Simon Marchi wrote: > On 2017-08-04 07:48, Ruslan Kabatsayev wrote: >> >> Hello, >> >> After using these shortcuts for some time I found that they are still >> not best: one has to hold Shift in order to continuously step in >> instruction mode. Would it be better to e.g. replace N->m, S->z? I >> think we can basically use any non-occupied shortcuts here, they just >> should be convenient, not necessarily be associated with "long" >> version of the commands. >> >> Regards, >> Ruslan > > > Ok, I understand how having to hold shift may not be so practical. > > It would be nice if there was a pattern that made it easy to remember/deduce > the keys for stepi/nexti from the keys for step/next, which are more > obvious. For example, if we used 'a' for stepi and 'b' for nexti, the > "instruction" versions of the keys would both be at the left of their > "non-instruction" counterpart. That's with a QWERTY-centric view though, > maybe it doesn't make sense with other layouts. My choice of 'z' and 'm' was something like: 'z' is almost as 's', but voiced, and 'm' is just next to 'n' both in the alphabet as well as on QWERTY keyboard. I guess it's not too consistent nor memorizable. I'll send another version, with a better choice, which I hope does make sense. > > Simon