95 lines
4.8 KiB
HTML
95 lines
4.8 KiB
HTML
<!-- Common Lisp HyperSpec (TM), version 7.0 generated by Kent M. Pitman on Mon, 11-Apr-2005 2:31am EDT -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>CLHS: Issue UNSOLICITED-MESSAGES Writeup</TITLE>
|
|
<LINK HREF="../Data/clhs.css" REL="stylesheet" TYPE="text/css" />
|
|
<META HTTP-EQUIV="Author" CONTENT="Kent M. Pitman">
|
|
<META HTTP-EQUIV="Organization" CONTENT="LispWorks Ltd.">
|
|
<LINK REL=TOP HREF="../Front/index.htm">
|
|
<LINK REL=COPYRIGHT HREF="../Front/Help.htm#Legal">
|
|
<LINK REL=DISCLAIMER HREF="../Front/Help.htm#Disclaimer">
|
|
<LINK REL=PREV HREF="../Issues/iss356_w.htm">
|
|
<LINK REL=UP HREF="../Issues/iss357.htm">
|
|
<LINK REL=NEXT HREF="../Issues/iss358_w.htm">
|
|
</HEAD>
|
|
<BODY>
|
|
<H1><A REV=MADE HREF="http://www.lispworks.com/"><IMG WIDTH=80 HEIGHT=65 ALT="[LISPWORKS]" SRC="../Graphics/LWSmall.gif" ALIGN=Bottom></A><A REL=TOP HREF="../Front/index.htm"><IMG WIDTH=237 HEIGHT=65 ALT="[Common Lisp HyperSpec (TM)]" SRC="../Graphics/CLHS_Sm.gif" ALIGN=Bottom></A> <A REL=PREV HREF="../Issues/iss356_w.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Previous]" SRC="../Graphics/Prev.gif" ALIGN=Bottom></A><A REL=UP HREF="../Issues/iss357.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Up]" SRC="../Graphics/Up.gif" ALIGN=Bottom></A><A REL=NEXT HREF="../Issues/iss358_w.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Next]" SRC="../Graphics/Next.gif" ALIGN=Bottom></A></H1>
|
|
|
|
<HR>
|
|
|
|
|
|
|
|
<H2>Issue UNSOLICITED-MESSAGES Writeup</H2>
|
|
|
|
<PRE><B>Issue:</B> <A HREF="iss357.htm">UNSOLICITED-MESSAGES</A><P>
|
|
<B>References:</B> Chapter 1, Section 1.5, Working draft of <A REL=DEFINITION HREF="../Body/07_ffb.htm#standard"><B>standard</B></A><P>
|
|
<B>Category:</B> Clarification<P>
|
|
<B>Edit history:</B> 8-JAN-89, Version 1 by Masinter<P>
|
|
6-FEB-89, Version 2 by Chapman<P>
|
|
10-MAR-89, Version 3 by Chapman (added discussion)<P>
|
|
21-MAR-89, Version 4 by Chapman <P>
|
|
24-MAR-89, Version 5 by Chapman <P>
|
|
6-APR-89, Version 6 by Chapman (added amendment from 3/89 mtg)<P>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
Problem: Is it legal for an implementation to produce unsolicited output,<P>
|
|
e.g., GC notifications, autoload heralds, and progress messages from<P>
|
|
<A REL=DEFINITION HREF="../Body/f_cmp_fi.htm#compile-file"><B>COMPILE-FILE</B></A> or LOAD?<P>
|
|
<P>
|
|
Proposal: <A HREF="iss357.htm">UNSOLICITED-MESSAGES:NOT-TO-SYSTEM-USER-STREAMS</A><P>
|
|
<P>
|
|
No output may be produced<P>
|
|
by functions other than that specified in the <A REL=DEFINITION HREF="../Body/07_ffb.htm#standard"><B>standard</B></A> or due to the<P>
|
|
signalling of conditions detected by the function.<P>
|
|
<P>
|
|
<P>
|
|
Unsolicited output, such as GC notifications and autoload heralds,<P>
|
|
should not go directly to the stream held by any<P>
|
|
Common Lisp stream variable but can go indirectly to<P>
|
|
<A REL=DEFINITION HREF="../Body/v_termin.htm#STterminal-ioST"><B>*TERMINAL-IO*</B></A> by using a synonym stream to that variable.<P>
|
|
<P>
|
|
Output such as progress reports from <A REL=DEFINITION HREF="../Body/f_load.htm#load"><B>LOAD</B></A> and <A REL=DEFINITION HREF="../Body/f_cmp.htm#compile"><B>COMPILE</B></A> are "solicited",<P>
|
|
and are not covered by this issue. See issue COMPILE-AND-LOAD-VERBOSE.<P>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<B>Rationale:<P>
|
|
</B> <P>
|
|
The intent of the proposal is stated informally as follows:<P>
|
|
if a file is written to, no implementation-generated output should<P>
|
|
end up in the file except as stated above.<P>
|
|
<P>
|
|
The intent of paragraph 2 of the proposal is that <P>
|
|
implementations are forced to make such streams possible to<P>
|
|
redirect without redirecting the Common Lisp stream itself.<P>
|
|
<P>
|
|
<B>Current Practice:<P>
|
|
</B> <P>
|
|
<B>Adoption Cost:<P>
|
|
</B> <P>
|
|
Small. Implementations and their documentation may have to change slightly.<P>
|
|
<P>
|
|
<B>Benefits:<P>
|
|
</B> <P>
|
|
Portability.<P>
|
|
This proposal has very little impact on implementations, but helps the<P>
|
|
user by explicitly stating the disposition of unsolicited output.<P>
|
|
<P>
|
|
<B>Conversion Cost:<P>
|
|
</B> <P>
|
|
See Adoption Cost.<P>
|
|
<P>
|
|
<B>Aesthetics:<P>
|
|
</B> <P>
|
|
None.<P>
|
|
<P>
|
|
<B>Discussion:<P>
|
|
</B></PRE>
|
|
<HR>
|
|
|
|
<A REL=NAVIGATOR HREF="../Front/StartPts.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Starting Points]" SRC="../Graphics/StartPts.gif" ALIGN=Bottom></A><A REL=TOC HREF="../Front/Contents.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Contents]" SRC="../Graphics/Contents.gif" ALIGN=Bottom></A><A REL=INDEX HREF="../Front/X_Master.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Index]" SRC="../Graphics/Index.gif" ALIGN=Bottom></A><A REL=INDEX HREF="../Front/X_Symbol.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Symbols]" SRC="../Graphics/Symbols.gif" ALIGN=Bottom></A><A REL=GLOSSARY HREF="../Body/26_a.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Glossary]" SRC="../Graphics/Glossary.gif" ALIGN=Bottom></A><A HREF="../Front/X3J13Iss.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Issues]" SRC="../Graphics/Issues.gif" ALIGN=Bottom></A><BR>
|
|
|
|
<A REL=COPYRIGHT HREF="../Front/Help.htm#Legal"><I>Copyright 1996-2005, LispWorks Ltd. All rights reserved.</I></A><P>
|
|
</BODY>
|
|
</HTML>
|