f



Re: malfunctioning keys in sun 10-key under Perl/Tk #10

"Troy.A Johnson" <troy.johnson@health.state.mn.us> wrote:
> >>> konovalo <konovalo@mail.wplus.net> 03/15/05 12:34 AM >>>
> >>>>The problem we have is that using the 10 key 
> >>>>pad on our Sun model Type 5c keyboards almost 
> >>>>works. Everything is normal except:
> >>>>pressing '4' translates to 'left arrow'
> >>>>pressing '6' translates to 'right arrow'
> >>Also, running following code on Tcl/Tk interpreter:
> >>pack [text .t]
> >>will bring a Tcl/Tk GUI and widget on it for you to check behaviour
> >Using 'wish' to check out:
> >  pack [ text .t ]
> >and:
> >  pack [ entry .e ]
> >and the keyboard behaves in the same 
> >manner as it does in Perl/Tk. 
> Then this should be discussed with Tcl/Tk people first, as long as 
> problem starts from there.
> Can you provide version information? Can you try latest?
> 
> Thanks Vadim,
> 
> OK. The version I used was an 8.0 from years ago, but 8.4.9 
> behaved the same way too. What forum is best used to 
> communicate with the Tcl/Tk folks? Is it Activestate?
> 

It's sourceforge:

	http://tcl.sourceforge.net/

Regards,
	Slaven


-- 
     __o		Slaven Rezic
   _`\<,_		slaven <at> rezic <dot> de
__(_)/ (_)____
______________________________________________________________________________
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
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 majordomo@lists.stanford.edu

0
slaven
3/15/2005 7:09:14 PM
comp.lang.perl.tk 4721 articles. 0 followers. pharrendorf (19) is leader. Post Follow

0 Replies
701 Views

Similar Articles

[PageSpeed] 45

Reply:

Similar Artilces:

Re: malfunctioning keys in sun 10-key under Perl/Tk
>The problem we have is that using the 10 key >pad on our Sun model Type 5c keyboards almost >works. Everything is normal except: > > pressing '4' translates to 'left arrow' > pressing '6' translates to 'right arrow' > > > is it true for any widget (e.g. Entry or Text) or you mean %K bind variable, and misbehaving only that? so "widget" demo also suffers this problem? In case this is true for all widgets, they try pure Tcl/Tk demo to check whether it also suffers same problem -++**==--++**==--++*...

Re: malfunctioning keys in sun 10-key under Perl/Tk #12
Note that I just tried, this morning, the patch found https://sourceforge.net/tracker/?func=detail&aid=481308&group_id=12997&atid=312997 and after hand editing the files to get the code in the right place, then doing a make clean and make, the resulting Tk library appears to handle the sun numeric keypad 'correctly'; that is to say: In num lock on mode, the 0-9 characters and the ., +, -, *, and / keys generate the corresponding characters. I'm uncertain what the Enter key is generating. In num lock off mode, the 2, 4, 6, 8 keys result in cursor motion. Th...

RE: malfunctioning keys in sun 10-key under Perl/Tk #2
Troy.A Johnson wrote: > The problem we have is that using the 10 key > pad on our Sun model Type 5c keyboards almost > works. Everything is normal except: > > pressing '4' translates to 'left arrow' > pressing '6' translates to 'right arrow' We worked around this same issue from the application side (see discussion below). It would be nice to get a real fix in place. Dave Gordon Micron Technology, Inc. -----Original Message----- Sent: Wednesday, September 29, 2004 2:42 PM Subject: RE: Tk Entry Widget issue Accor...

Re: malfunctioning keys in sun 10-key under Perl/Tk #8
>>>>The problem we have is that using the 10 key >>>>pad on our Sun model Type 5c keyboards almost >>>>works. Everything is normal except: >>>>pressing '4' translates to 'left arrow' >>>>pressing '6' translates to 'right arrow' >>>> >>>> >>Also, running following code on Tcl/Tk interpreter: >>pack [text .t] >>will bring a Tcl/Tk GUI and widget on it for you to check behaviour >> >> > >Using 'wish' to check o...

Re: malfunctioning keys in sun 10-key under Perl/Tk #6
At 02:28 PM 2/11/2005, Troy.A Johnson wrote: >The problem is that it doesn't seem to print anything at all. I made another >program to dump the bindings and nothing seems to get bound either. > >I think I must be doing something wrong, I just don't know what. Will someone >please give me a clue? Thanks in advance, sorry to bother you all. You should bind '<KeyPress>', not 'KeyPress'. -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubs...

Re: malfunctioning keys in sun 10-key under Perl/Tk #4
>>>The problem we have is that using the 10 key >>>pad on our Sun model Type 5c keyboards almost >>>works. Everything is normal except: >>> pressing '4' translates to 'left arrow' >>> pressing '6' translates to 'right arrow' >>> >>> >>is it true for any widget (e.g. Entry or Text) or you mean %K bind >>variable, and misbehaving only that? >>so "widget" demo also suffers this problem? >>In case this is true for all widgets, they try pure Tcl/Tk de...

Re: malfunctioning keys in sun 10-key under Perl/Tk #3
>>> konovalo <konovalo@mail.wplus.net> 02/02/05 11:32 AM >>> >>The problem we have is that using the 10 key >>pad on our Sun model Type 5c keyboards almost >>works. Everything is normal except: >> pressing '4' translates to 'left arrow' >> pressing '6' translates to 'right arrow' >is it true for any widget (e.g. Entry or Text) or you mean %K bind >variable, and misbehaving only that? >so "widget" demo also suffers this problem? >In case this is true for all widgets, they tr...

Re: malfunctioning keys in sun 10-key under Perl/Tk #7
>>> konovalo <konovalo@mail.wplus.net> 02/02/05 2:55 PM >>> >>>The problem we have is that using the 10 key >>>pad on our Sun model Type 5c keyboards almost >>>works. Everything is normal except: >>> pressing '4' translates to 'left arrow' >>> pressing '6' translates to 'right arrow' >Also, running following code on Tcl/Tk interpreter: >pack [text .t] >will bring a Tcl/Tk GUI and widget on it for you to check behaviour Using 'wish' to check out: pack [ text .t...

Re: malfunctioning keys in sun 10-key under Perl/Tk #9
>>> konovalo <konovalo@mail.wplus.net> 03/15/05 12:34 AM >>> >>>>The problem we have is that using the 10 key >>>>pad on our Sun model Type 5c keyboards almost >>>>works. Everything is normal except: >>>>pressing '4' translates to 'left arrow' >>>>pressing '6' translates to 'right arrow' >>Also, running following code on Tcl/Tk interpreter: >>pack [text .t] >>will bring a Tcl/Tk GUI and widget on it for you to check behaviour >Using 'wish' ...

Re: malfunctioning keys in sun 10-key under Perl/Tk #5
Hi! I have a question about a code snippet I found in the Mastering Perl/Tk book (chapter 15). I just wrapped it with a couple lines of code: ========== #!/usr/local/perl585/bin/perl -w use Tk; my $title = $ARGV[0] || $0; my $mw = new MainWindow; $mw->title($title); $mw->bind('KeyPress' => \&print_keysym); my $label = $mw->Label(-text => $title); $label->pack; my $entry = $mw->Entry(-width => 20); $entry->pack; my $button = $mw->Button(-text => "Exit", -command => sub { exit; }); $button->pack; ...

Re: malfunctioning keys in sun 10-key under Perl/Tk #11
Re: bug report regarding numeric keypad You might try searching the bug database for strings like "pad". I did and noticed numerous similar reports which seem to keep being closed. -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lvirden@cas.org > <URL: http://www.purl.org/NET/lvirden/ > Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted...

Re: (fwd) Re: Perl/Tk on Solaris 10
On Feb 7, 2005, at 9:35 PM, Steve Lidie wrote: > -- forwarded message -- > Path: > Lehigh.EDU!newsprint.newsread.com!newsread.com!news-xfer.newsread.com! > news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com! > local1.nntp.dca.giganews.com!nntp.bway.net!news.bway.net.POSTED!not- > for-mail > NNTP-Posting-Date: Sun, 06 Feb 2005 15:17:16 -0600 > Date: Sun, 06 Feb 2005 16:17:16 -0500 > From: "Mark E. Perkins" <nospam@example.com> > User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; > rv:1.7.5) Gecko/...

Re: Perl-tk cut and paste key bindings
Colin Tuckley <colin@tuckley.org> 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 different...

Re: Perl-tk cut and paste key bindings #2
Nick Ing-Simmons wrote: > 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 ;-) > What does Tcl/Tk do? > What do other X11 GUIs do (KDE/Gnome)? With the help of a few people with various different systems we have discovered that <Caps-Lock><Ctrl>c does the same as <Ctrl>c on every system and application where it does anything sensible. Also we have found that <Shift><C...