./tetris > /dev/tty1
There are now lots of system calls implemented, but they don't currently all have the wrappers that they need. For example, there is pselect6 and ppoll, but not select and poll wrappers.
@lawrie the wrapper for select() seems to be fairly straightforward:
It is a matter of normalising the timeout & adding a zero at the end of the parameter list.