![[LISPWORKS]](/image.pl?url=http%3a%2f%2fwww.lispworks.com%2fdocumentation%2fHyperSpec%2fBody%2f..%2fGraphics%2fLWSmall.gif&f=jpg&w=240)
![[Common Lisp HyperSpec (TM)]](/image.pl?url=http%3a%2f%2fwww.lispworks.com%2fdocumentation%2fHyperSpec%2fBody%2f..%2fGraphics%2fCLHS_Sm.gif&f=jpg&w=240)
Value Type:
Initial Value:
implementation-dependent, but it must be anopenstream that is not ageneralized synonym stream to anI/O customization variables but that might be ageneralized synonym stream to thevalue of someI/O customization variable.
Description:
Thevalue of*terminal-io*, calledterminal I/O, is ordinarily abidirectionalstream that connects to the user's console. Typically, writing to thisstream would cause the output to appear on a display screen, for example, and reading from thestream would accept input from a keyboard. It is intended that standard input functions such asread andread-char, when used with thisstream, cause echoing of the input into the output side of thestream. The means by which this is accomplished areimplementation-dependent.
The effect of changing thevalue of*terminal-io*, either bybinding orassignment, isimplementation-defined.
Examples:
(progn (prin1 'foo) (prin1 'bar *terminal-io*))>> FOOBAR=> BAR (with-output-to-string (*standard-output*) (prin1 'foo) (prin1 'bar *terminal-io*))>> BAR=> "FOO"
Affected By: None.
See Also:
*debug-io*,*error-output*,*query-io*,*standard-input*,*standard-output*,*trace-output*
Notes: None.