STDIN functionality.