Package: input-utils
Tags: patch

Events used to be output immediately...  Now they get buffered if not
being output to a terminal.

Here's a patch:

--- input-utils-0.0.20081014/debian/patches/flush-events   1969-12-31 16:00
+++ input-utils-0.0.20081014/debian/patches/flush-events       
2010-12-07 04:07
@@ -0,0 +1,10 @@
+--- input-utils.orig/input.c   2010-12-07 04:02:18.000000000 -0800
++++ input-utils/input.c        2010-12-07 04:05:27.000000000 -0800
+@@ -179,6 +179,7 @@
+                       (unsigned int)event->code, event->value);
+       }
+       printf("\n");
++      fflush(stdout);
+ }
+
+ /* ---------------------------------------------------------------------
--- input-utils-0.0.20081014/debian/patches/series 2010-12-07 04:26:33.0000
+++ input-utils-0.0.20081014/debian/patches/series      2010-12-07
04:09:12.0000
@@ -6,3 +6,4 @@
 use-system-input.h
 stdout-not-stderr
 show-numeric-key-values
+flush-events


    - Tom



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to