/histsize

Usage:

/HISTSIZE [-lig] [-w[world]] [size]


Options:

-l
local history
-i
input history
-g
global history (default)
-wworld
world history

If size is not given, /histsize reports the maximum number of lines that can be stored in the specified history.

If size is given, /histsize changes the maximum size of the specified history to size. If the new size is less than the old size, the oldest lines will be lost immediately. If the new size is greater than the old size, no more old lines will be lost until enough new lines are added to reach the new size.

/histsize returns 0 for failure, and the size of the history otherwise.

The %{histsize} variable can be used to set the default size of world histories before they are created.

See: history, %histsize


Back to index
Back to tf home page
Copyright © 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2004, 2005, 2006-2007 Ken Keys