public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: insight@sources.redhat.com
Subject: [PATCH] Add copy/paste bindings in Console
Date: Wed, 18 Sep 2002 19:35:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.44.0209181935420.1396-100000@valrhona.uglyboxes.com> (raw)

Hmmm. Somehow these disappeared. (Or maybe they never worked? I dunno.)

Keith

ChangeLog
2002-09-18  Keith Seitz  <keiths@redhat.com>

        * 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 <<Paste>> "[code $this _paste 0]; break"
    bind $_twin <<PasteSelection>> "[code $this _paste 0]; break"
!   
    _setprompt
    pack $itk_interior.stext -expand yes -fill both
      
--- 192,200 ----
    } [code $this _paste 1]]
    bind $_twin <<Paste>> "[code $this _paste 0]; break"
    bind $_twin <<PasteSelection>> "[code $this _paste 0]; break"
!   bind_plain_key $_twin Control-c "event generate $_twin <<Copy>>"
!   bind_plain_key $_twin Control-v "[code $this _paste 1]; break"
! 
    _setprompt
    pack $itk_interior.stext -expand yes -fill both
      

             reply	other threads:[~2002-09-19  2:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-18 19:35 Keith Seitz [this message]
2002-09-18 22:23 ` Fernando Nasser
2002-09-18 22:49   ` Keith Seitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0209181935420.1396-100000@valrhona.uglyboxes.com \
    --to=keiths@redhat.com \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).