wait4button (based on evremote2) to control bash scripts via RC (like read)