Preliminary work to add input event on a named pipe.