From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30924 invoked by alias); 19 Sep 2002 05:23:29 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 30915 invoked from network); 19 Sep 2002 05:23:28 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 19 Sep 2002 05:23:28 -0000 Received: from redhat.com (tooth.toronto.redhat.com [172.16.14.29]) by touchme.toronto.redhat.com (Postfix) with ESMTP id CEAF6B8831; Thu, 19 Sep 2002 01:23:26 -0400 (EDT) Message-ID: <3D895EFE.706@redhat.com> Date: Wed, 18 Sep 2002 22:23:00 -0000 From: Fernando Nasser Organization: Red Hat Canada User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020607 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Keith Seitz Cc: insight@sources.redhat.com Subject: Re: [PATCH] Add copy/paste bindings in Console References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-q3/txt/msg00171.txt.bz2 Wasn't it because people wanted to use Control-C to cancel? I don't know if that ever worked either... Fernando Keith Seitz wrote: > Hmmm. Somehow these disappeared. (Or maybe they never worked? I dunno.) > > Keith > > ChangeLog > 2002-09-18 Keith Seitz > > * library/console.itb (_build_win): Bind control-c and control-v > to copy and paste. > > Patch > Index: library/console.itb > =================================================================== > RCS file: /cvs/src/src/gdb/gdbtk/library/console.itb,v > retrieving revision 1.21 > diff -p -r1.21 console.itb > *** library/console.itb 7 Jun 2002 09:22:44 -0000 1.21 > --- library/console.itb 19 Sep 2002 02:32:14 -0000 > *************** body Console::_build_win {} { > *** 192,198 **** > } [code $this _paste 1]] > bind $_twin <> "[code $this _paste 0]; break" > bind $_twin <> "[code $this _paste 0]; break" > ! > _setprompt > pack $itk_interior.stext -expand yes -fill both > > --- 192,200 ---- > } [code $this _paste 1]] > bind $_twin <> "[code $this _paste 0]; break" > bind $_twin <> "[code $this _paste 0]; break" > ! bind_plain_key $_twin Control-c "event generate $_twin <>" > ! bind_plain_key $_twin Control-v "[code $this _paste 1]; break" > ! > _setprompt > pack $itk_interior.stext -expand yes -fill both > > -- Fernando Nasser Red Hat Canada Ltd. E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9