cheater

Results 172 comments of cheater

I'm using mate-terminal which is basically Gnome 2's gnome-terminal, and bash.

Note: i have to hold the buttons down for 3 seconds before the f's start appearing, but the CPU here is under load (from the browser), so on a "faster"...

It bears mentioning that it never happens with Ctrl-f, only with Alt-f. (is it the same for you, @lspitzner?)

So maybe what happens is that at some point the input buffer ends with esc and the character it's escaping (here f, or o) isn't there yet, so code reads...

OK, my solution would be: if the last element of a buffer was an esc-as-escape-char, then wait for (timeout) miliseconds, and at that point check the buffer. if the buffer...

If you take a thing that "practically never occurs" and you put it in a loop that iterates thousands of times a second, the thing will happen every 3 seconds.

Yes, in fact if i do esc-f instead of alt-f it never even makes the movement, it always just skips to typing f.

I just tried and it only worked after typing esc-f 244 times. (I know because there are 244 f's in the command line now)

no, that's incorrect. it failed 244 times before it worked. it should have worked all 245 times, instead of printing f 244 times.