1
0
Fork 0
cl-sites/novaspec.org/cl/f_dribble.html
2025-02-05 18:52:26 +01:00

317 lines
No EOL
6.8 KiB
HTML

<!DOCTYPE HTML>
<HTML LANG="en-us"
><HEAD
><TITLE
>dribble | Common Lisp Nova Spec</TITLE
><META CHARSET="US-ASCII"
><LINK REL="canonical" HREF="f_dribble.html"
><LINK REL="next" HREF="v__minus.html" TYPE="text/html" TITLE="&#8722;"
><LINK REL="prev" HREF="f_inspect.html" TYPE="text/html" TITLE="inspect"
><LINK REL="up" HREF="25_2_Environment_Dictionary.html" TYPE="text/html" TITLE="25.2 Environment Dictionary"
><LINK REL="start" HREF="index.html" TYPE="text/html" TITLE="Common Lisp Nova Spec"
><META NAME="VIEWPORT" CONTENT="width=device-width, initial-scale=1.0"
><LINK REL="STYLESHEET" HREF="dpans.css%3F3909942064.css"
><SCRIPT SRC="dpans.js%3F3909942064"
></SCRIPT
><SCRIPT SRC="apropos.js%3F3909942064"
></SCRIPT
></HEAD
><BODY
><DIV
><DIV CLASS="topnav"
><DIV CLASS="breadcrumb"
><SPAN CLASS="breadcrumb-item"
><A HREF="index.html"
>Common Lisp Nova Spec</A
></SPAN
> <SPAN CLASS="breadcrumb-item"
>&#8594; <A HREF="25_Environment.html"
>25. Environment</A
></SPAN
> <SPAN CLASS="breadcrumb-item"
>&#8594; <A HREF="25_2_Environment_Dictionary.html"
>25.2 Environment Dictionary</A
></SPAN
> <SPAN CLASS="breadcrumb-item"
>&#8594; <A HREF="f_dribble.html"
>dribble</A
></SPAN
></DIV
><DIV CLASS="apropos"
><DIV CLASS="apropos-io"
><A HREF="f_inspect.html" CLASS="prev"
>&#8592;</A
><SPAN ID="apropos-label"
>Apropos </SPAN
><INPUT ID="apropos" AUTOFOCUS="AUTOFOCUS" PLACEHOLDER="Type here to search" ONINPUT="aproposInput(this);" ONKEYUP="aproposKeyup(event);" ONCHANGE="aproposChange(this);" ONFOCUS="aproposFocus(this);" ONFOCUSOUT="aproposFocusout(this);"
><A HREF="v__minus.html" CLASS="next"
>&#8594;</A
></DIV
><DIV ID="apropos-res"
></DIV
></DIV
></DIV
><DIV CLASS="matter"
><DIV CLASS="com"
><DIV CLASS="begincom"
><HR
><TABLE WIDTH="100%" CELLSPACING="0" CELLPADDING="0"
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" WIDTH="100%" CLASS="name"
><SPAN CLASS="idx" DATA-KIND="idxref" DATA-TERM="dribble"
></SPAN
><B
>dribble</B
></TD
><TD ALIGN="RIGHT" VALIGN="BASELINE" WIDTH="0" NOWRAP="NOWRAP" CLASS="ftype"
><I
>Function</I
></TD
></TR
></TABLE
><HR
></DIV
><UL CLASS="subtoc"
></UL
><DL
><DT
><B
>Syntax</B
></DT
><DD
><P CLASS="j"
><B
>dribble</B
> <SPAN CLASS="cmtt"
>&amp;optional</SPAN
> <SPAN CLASS="cmssi"
>pathname</SPAN
> <SPAN CLASS="arrow"
>&#8594;</SPAN
> <A HREF="26_1_Glossary.html#implementation-dependent"
><EM CLASS="term"
>implementation-dependent</EM
></A
></P
></DD
><DT
><B
>Arguments and Values</B
></DT
><DD
><P CLASS="j"
><VAR CLASS="param"
>pathname</VAR
> &#8212; a <A HREF="26_1_Glossary.html#pathname_designator"
><EM CLASS="term"
>pathname designator</EM
></A
>.</P
></DD
><DT
><B
>Description</B
></DT
><DD
><P CLASS="j"
>Either <A HREF="26_1_Glossary.html#bind"
><EM CLASS="term"
>binds</EM
></A
> <A HREF="v_debug-io.html" CLASS="varref"
><B
>*standard-input*</B
></A
> and <A HREF="v_debug-io.html" CLASS="varref"
><B
>*standard-output*</B
></A
> or takes other appropriate action, so as to send a record of the input/output interaction to a file named by <VAR CLASS="param"
>pathname</VAR
>. <A HREF="f_dribble.html" CLASS="funref"
><B
>dribble</B
></A
> is intended to create a readable record of an interactive session. </P
><P CLASS="j"
>If <VAR CLASS="param"
>pathname</VAR
> is a <A HREF="26_1_Glossary.html#logical_pathname"
><EM CLASS="term"
>logical pathname</EM
></A
>, it is translated into a physical pathname as if by calling <A HREF="f_translate-logical-pathname.html" CLASS="funref"
><B
>translate-logical-pathname</B
></A
>. </P
><P CLASS="j"
><CODE CLASS="f"
>(dribble)</CODE
> terminates the recording of input and output and closes the dribble file. </P
><P CLASS="j"
>If <A HREF="f_dribble.html" CLASS="funref"
><B
>dribble</B
></A
> is <A HREF="26_1_Glossary.html#call"
><EM CLASS="term"
>called</EM
></A
> while a <A HREF="26_1_Glossary.html#stream"
><EM CLASS="term"
>stream</EM
></A
> to a &#8220;dribble file&#8221; is still open from a previous <A HREF="26_1_Glossary.html#call"
><EM CLASS="term"
>call</EM
></A
> to <A HREF="f_dribble.html" CLASS="funref"
><B
>dribble</B
></A
>, the effect is <A HREF="26_1_Glossary.html#implementation-defined"
><EM CLASS="term"
>implementation-defined</EM
></A
>. For example, the already-<A HREF="26_1_Glossary.html#open"
><EM CLASS="term"
>open</EM
></A
> <A HREF="26_1_Glossary.html#stream"
><EM CLASS="term"
>stream</EM
></A
> might be <A HREF="26_1_Glossary.html#closed"
><EM CLASS="term"
>closed</EM
></A
>, or dribbling might occur both to the old <A HREF="26_1_Glossary.html#stream"
><EM CLASS="term"
>stream</EM
></A
> and to a new one, or the old <A HREF="26_1_Glossary.html#stream"
><EM CLASS="term"
>stream</EM
></A
> might stay open but not receive any further output, or the new request might be ignored, or some other action might be taken.</P
></DD
><DT
><B
>Affected By</B
></DT
><DD
><P CLASS="j"
>The <A HREF="26_1_Glossary.html#implementation"
><EM CLASS="term"
>implementation</EM
></A
>.</P
></DD
><DT
><B
>Exceptional Situations</B
></DT
><DD
><P CLASS="j"
>If a failure occurs when performing some operation on the <A HREF="26_1_Glossary.html#file_system"
><EM CLASS="term"
>file system</EM
></A
> while creating the dribble file, an error of <A HREF="26_1_Glossary.html#type"
><EM CLASS="term"
>type</EM
></A
> <A HREF="t_file-error.html" CLASS="typeref"
><B
>file-error</B
></A
> is signaled. </P
><P CLASS="j"
>An error of <A HREF="26_1_Glossary.html#type"
><EM CLASS="term"
>type</EM
></A
> <A HREF="t_file-error.html" CLASS="typeref"
><B
>file-error</B
></A
> might be signaled if <VAR CLASS="param"
>pathname</VAR
> is a <A HREF="26_1_Glossary.html#designator"
><EM CLASS="term"
>designator</EM
></A
> for a <A HREF="26_1_Glossary.html#wild"
><EM CLASS="term"
>wild</EM
></A
> <A HREF="26_1_Glossary.html#pathname"
><EM CLASS="term"
>pathname</EM
></A
>.</P
></DD
><DT
><B
>See Also</B
></DT
><DD
><P CLASS="j"
><A HREF="19_1_Overview_of_Filenames.html#sec_19_1_2" CLASS="secref"
><SPAN CLASS="cmr"
>Section</SPAN
> <SPAN CLASS="cmr"
>19.1.2</SPAN
> <SPAN CLASS="cmr"
>(Pathnames</SPAN
> <SPAN CLASS="cmr"
>as</SPAN
> <SPAN CLASS="cmr"
>Filenames)</SPAN
></A
></P
></DD
><DT
><B
>Notes</B
></DT
><DD
><P CLASS="j"
><A HREF="f_dribble.html" CLASS="funref"
><B
>dribble</B
></A
> can return before subsequent <A HREF="26_1_Glossary.html#form"
><EM CLASS="term"
>forms</EM
></A
> are executed. It also can enter a recursive interaction loop, returning only when <CODE CLASS="f"
>(dribble)</CODE
> is done. </P
><P CLASS="j"
><A HREF="f_dribble.html" CLASS="funref"
><B
>dribble</B
></A
> is intended primarily for interactive debugging; its effect cannot be relied upon when used in a program.</P
></DD
></DL
></DIV
></DIV
><DIV CLASS="footer"
><DIV CLASS="btmnav"
><A HREF="f_inspect.html" CLASS="prev"
>&#8592;</A
><A HREF="v__minus.html" CLASS="next"
>&#8594;</A
></DIV
><DIV CLASS="trail"
>Conversion to HTML copyright 2023 by Gilbert Baumann</DIV
></DIV
></DIV
><SCRIPT
>domReady();</SCRIPT
></BODY
></HTML
>