Wish your family and friends a Merry Christmas via their keyboards and mice!
stdbuffor resolving buffer issue
By default, it uses keyboard and mouse devices:
AT Translated Set 2 keyboard SynPS/2 Synaptics TouchPad
You should run with:
% stdbuf -oL merryxmas.sh &
To get the right device names and change them, use:
% xinput list % INPUT_K='KB_DEV_NAME' INPUT_M='M_DEV_NAME' stdbuf -oL merryxmas.sh &
You should kill it with if necessary:
% pkill merryxmas.sh % pkill xinput
The script creates two files:
This project has been placed in public domain, or via UNLICENSE if not applicable.