/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, lines will be lost. If the new size is greater than the old size, then each subsequent new line will be added to the history until the new size is reached, instead of replacing existing lines.

/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 Ken Keys