Outline stdin-stdout interaction