The current window is transformed into a window for textual input and output.
Remark:
During the transformation non-displayable characters can get lost and the text length can decrease.