bugGNU Typist - Bugs: bug #38839, Pressing Alt + another key during...

 
 

bug #38839: Pressing Alt + another key during a drill resets the drill

Submitter:  Tim Marston <edam>
Submitted:  Sat 27 Apr 2013 06:48:30 PM UTC
   
 
Severity:  3 - Normal Priority:  5 - Normal
Status:  Fixed Privacy:  Public
Assigned to:  fnatter Open/Closed:  * Closed
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 20 Jul 2014 10:15:59 AM UTC, comment #5: 

I'm closing this -- we can re-open if it's still an issue.

Tim Marston <edam>
Group administrator
Sun 18 Aug 2013 03:10:53 PM UTC, comment #4: 

The problem that used to be left was the halfdelay() in getch_fl()
(gtypist.c) led to an increased delay, but this was fixed with these two lines:

+        /* undo the halfdelay() from getch_fl() */
+        cbreak();

=> so the patch worked OK for me. The original poster did not confirm this unfortunately.

Felix Natter <fnatter>
Group administrator
Sun 18 Aug 2013 01:36:51 PM UTC, comment #3: 

Is this fixed?

I found this:

  http://git.savannah.gnu.org/cgit/gtypist.git/commit/?id=ce02f4169eb4b378f0391855498a29dc1948da04

Or was there still a problem with it?

Tim Marston <edam>
Group administrator
Sat 25 May 2013 12:50:38 PM UTC, comment #2: 

hello,

now I have a patch that does not have the 1s delay
when pressing ESC that the previous patch caused.

Best Regards,
Felix

(file #28170)

Felix Natter <fnatter>
Group administrator
Sat 11 May 2013 04:28:29 PM UTC, comment #1: 

hi,

using the idea from here:
http://stackoverflow.com/questions/5977395/ncurses-and-esc-alt-keys
I attached a patch which works for me.

Could you please verify it?

Thanks and Best Regards,
Felix

(file #28066)

Felix Natter <fnatter>
Group administrator
Sat 27 Apr 2013 06:48:30 PM UTC, original submission:  

During a drill, accidentally pressing Alt and another key has the same effect as pressing Escape and then an incorrect key.  That is to say, it clears all keys pressed thus far (resetting the drill) and then makes an incorrect key press.

This key sequence should be handled better, and registered as a single key error (and not reset the drill!).

Tim Marston <edam>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fnatter (Updated the item)
  • -email is unavailable- added by fnatter
  • -email is unavailable- added by edam (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-07-20 edam Open/ClosedOpen Closed
    2013-08-18 fnatter StatusConfirmed Fixed
    2013-08-18 edam Assigned toNone fnatter
    2013-05-25 fnatter Attached File- Added fix-for-alt-key-aborts-lesson2.diff, #28170
    2013-05-11 fnatter Attached File- Added fix-for-alt-key-aborts-lesson.diff, #28066
        Carbon-Copy- Added felix natter <fnatter@gmx.net>

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code