support text from stdio