Work for BSD compatibility with wall command.