In target port, this presents a dialog: /usr/bin/make config Instead via keyboard, I want to send key sequence to dialog(piped to STDIN of above cmd): Down Space Down Space Enter -- #!/bin/sh echo 'CODE_HERE' | /usr/bin/make config -- Domagoj Smolčić