From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6823 invoked by alias); 26 Feb 2013 00:51:07 -0000 Received: (qmail 6815 invoked by uid 22791); 26 Feb 2013 00:51:06 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_05,KHOP_THREADED,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx3.valvesoftware.com (HELO mx3.valvesoftware.com) (208.64.203.145) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Feb 2013 00:50:32 +0000 Received: from mx3.valvesoftware.com (127.0.0.1) id h5efuk0171s4 for ; Mon, 25 Feb 2013 09:31:20 -0800 (envelope-from ) Received: from mx3.valvesoftware.com ([172.16.1.53]) by mx3.valvesoftware.com (SonicWALL 7.3.6.7163) with ESMTP; Mon, 25 Feb 2013 09:31:20 -0800 Received: from FEDEX1.valvesoftware.com (172.16.1.101) by exchange10.valvesoftware.com (172.16.1.53) with Microsoft SMTP Server (TLS) id 14.2.318.4; Mon, 25 Feb 2013 16:50:30 -0800 Received: from EXCHANGE10.valvesoftware.com ([fe80::995a:b010:5730:9af]) by fedex1.valvesoftware.com ([::1]) with mapi id 14.02.0318.004; Mon, 25 Feb 2013 16:50:30 -0800 From: Bruce Dawson To: 'Keith Seitz' CC: "insight@sourceware.org" Subject: RE: Changing keyboard bindings Date: Tue, 26 Feb 2013 00:51:00 -0000 Message-ID: <2AC155A009400B4C8B05D518E4819AEF0719DB37@exchange10.valvesoftware.com> References: <2AC155A009400B4C8B05D518E4819AEF0719C063@exchange10.valvesoftware.com> <512812B1.3040509@redhat.com> <2AC155A009400B4C8B05D518E4819AEF0719C19B@exchange10.valvesoftware.com> <512826C4.7040500@redhat.com> In-Reply-To: <512826C4.7040500@redhat.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: 86b76815-e903-4403-b95d-5abb05264373 X-Mlf-Version: 7.3.6.7163 X-Mlf-UniqueId: o201302251731190016642 X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2013-q1/txt/msg00032.txt.bz2 I actually like the balloon help -- it's a great way to learn the keyboard = shortcuts. It took me a while to find where the balloon help for the button= s was being created. It's in method create_control_buttons() in srcbar.itcl= -- obvious once you get there. I had some time to experiment with the bind_plain_key calls in srctextwin.i= tb. I bound F10 and F11 to 'next' and 'step', which works great, however tw= o problems then cropped up: 1) The first time I press F10 it opens up the menus. After that it works as= a shortcut, but... weird. 2) I can't map Shift+F11 to Finish. Well, I can't map it at the same time t= hat I have F11 mapped to step. I tried doing the mapping of F11 before the = mapping of Shift-F11 but it still doesn't seem to work. Pity. Getting close however. -----Original Message----- From: Keith Seitz [mailto:keiths@redhat.com]=20 Sent: Friday, February 22, 2013 6:18 PM To: Bruce Dawson Cc: insight@sourceware.org Subject: Re: Changing keyboard bindings On 02/22/2013 06:00 PM, Bruce Dawson wrote: > I found three places in srcbar.itcl where "accelerator N" is specified=20 > -- twice for the Control menu and once for the "trace" menu which I=20 > assume is the toolbar with the step and next buttons. However when I=20 > change all three occurrences of N to Q and do make/make install it=20 > affects the Control menu but not the toolbar. Gah! Yes, I forgot that those get displayed on the balloon help. Those are = in srcbar.itcl, scattered in various places. TBH, I wouldn't care if we del= eted the key bindings from being displayed in the balloons. It's a very unu= sual thing to do. Maybe it made sense to someone a fifteen years ago. > I also noticed that srctextwin.itb does some binding with=20 > bind_plain_key -- it looks like that is what affects what is actually=20 > processed, as opposed to what is actually shown. Doh! Yes, that is where those bindings would be useful, no? I completely sp= aced on that, sorry. Keith