added defthing as a doc feature; Closes PR13414
added stdin and stdout as alternatives