Re: random keypress bounce in a terminal

2007-10-03 Thread Bjoern Schliessmann
István wrote: > Moreover, I would also state for others: the behavior of this code > is independent of the keyboard repeating rate. Sure, it's not multiple keypresses but a sequence generated by the VT code in the kernel. > But what if it _seems_ to work differently...? > That's the reason of tr

Re: random keypress bounce in a terminal

2007-10-03 Thread István
Bjoern Schliessmann írta: > István wrote: > > >> It works fine as long as I hit keys normally, but gives extra >> characterts if I keep pressing some key, e.g. up or down arrow >> keys. It runs on a Linux system. What's the wrong with it? >> > > Nothing. Linux VTs will generate multiple cha

Re: random keypress bounce in a terminal

2007-10-02 Thread Bjoern Schliessmann
István wrote: > It works fine as long as I hit keys normally, but gives extra > characterts if I keep pressing some key, e.g. up or down arrow > keys. It runs on a Linux system. What's the wrong with it? Nothing. Linux VTs will generate multiple characters for special keys. Regards, Björn --

random keypress bounce in a terminal

2007-10-02 Thread István
Hi all, I'm a novice in the world of Python and to begin with something useful I want to create a small tool for my microcontroller work. So I wrote a binary file compare (called bfc). It is just a few lines and put here with two sample files: http://www.evoran.hu/tmp I have found a keypress han