Top-level CommandToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

:history

Arguments: &key count reverse

Print the items on the history list. If the keyword argument count is specified as a positive integer, that number of items will be printed. If the count argument is not specified, 15 items will be printed. (Of course, if the list contains fewer items than are called for, the whole list will be printed.) The list is printed most recent item last, but will print most recent item first if the reverse argument is specified and true.

Repeated commands (entering the same command several times in a row) are collapsed into a single entry, and so appear only once in the history.

For example,

:history :count 5 :reverse t 

will print out the 5 most recent items on the history list, most recent first; while

:history :count 5 

will print out the five most recent items, oldest first.

The minimal abbreviation of :history is :his.

See top-level.htm for more information on top-level commands. In particular, see Command and expression history in that document for pattern matching commands not documented on their own pages.


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version