Movatterモバイル変換


[0]ホーム

URL:


[LISPWORKS][Common Lisp HyperSpec (TM)][Previous][Up][Next]


Variable*TERMINAL-IO*

Value Type:

abidirectionalstream.

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.


[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996-2005, LispWorks Ltd. All rights reserved.


[8]ページ先頭

©2009-2025 Movatter.jp