Variable | Package: top-level | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## *exit-on-eof*

When the top-level read-eval-print loop reads an EOF (end of file, simulated by Control-D on some systems), the action of Allegro CL depends on the value of this variable. If `*exit-on-eof*` is `t`, Lisp will exit. If it is `nil` (which is the default), the user will be asked if he really wants to exit Lisp. If it is a positive integer, Lisp will exit after exactly that number of consecutive EOFs. Any value other than `nil` or a positive integer is equivalent to the value `t`. EOF calls exit with no arguments.

This variable is not available in Lisp images built with a minimal top level, that is built with the include-tpl argument to build-lisp-image specified `nil`. See Minimal top levels in building-images.htm for information on minimal top levels.

See top-level.htm for more information on the top level and top-level commands.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version