POSIX input still not working