Re: Perl-tk cut and paste key bindings
Nick Ing-Simmons <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
Colin Tuckley <[email protected]> writes: >(cross posted from comp.lang.perl.tk where there was no response) > >We have a bug filed against the Debian package of perl-tk [1] which says >that "CAPS-LOCK + Ctrl + c does not copy into clipboard in TextUndo". I've >checked cut/paste in Windows XP applications and it does indeed work there. > >I've investigated and found that these key bindings are set in MainWindow.pm >and are thus active for the whole application. > >The bindings for cut, copy, paste, undo, and redo are set differently for >different display managers (x11, win32, aqua and classic). The idea being to mimic key bindings that platform normaly provides. Snag being that X11 isn't very regular in this regard. In particular Control-C is no use in a terminal emulator window - as it kills the shell ;-) > >My question is: should we add the <Control> + <shift> + c (and other) >bindings and if so to which display types? The patch is quite simple, it's >deciding on the policy that is difficult and I am not familiar enough with >the different display systems to know what is considered "usual" behaviour. What does Tcl/Tk do? What do other X11 GUIs do (KDE/Gnome)? > >Comments and suggestions welcome. > >[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=205895 > >regards, > >Colin -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubscribe from this mailing list, send the message body of "unsubscribe ptk" to [email protected]