stdin and friends