mode

TinyFugue has two main interface modes: Visual and non-visual. Visual mode will be enabled by default, unless your %{TERM} does not support it, or %{visual} is explicitly turned off in .tfrc, or tf is started with the -v option. Visual mode can be turned off or on with the "/visual" command.

Visual mode

The Visual interface has two windows: the bottom window is for input, the top for output. If your terminal can scroll in a region, output will scroll; otherwise if your terminal can delete and insert lines, TF will simulate scrolling; otherwise it will wrap from bottom to top, clearing two lines ahead. The %{scroll} variable can be set to explicitly choose scrolling or wrapping. The %{isize}, %{cleardone}, and %{clearfull} variables can be used to customize the visual display. See: %isize, %cleardone, %clearfull.

The two windows are separated by a status line, which can be formatted by the user as described under status_fields.

If you are using a terminal emulator that emulates different terminal types, the recommended type to use is vt220, vt100, or ansi (in that order), with %{TERM} set to the same value. Scrolling may appear jumpy under ansi, but will be smooth under vt220 and vt100. vt220 also provides some additional features that may make command line editing smoother (especially over a slow modem).

Non-visual mode

In the non-visual interface, input and output are both displayed on the bottom line. If you are typing and output appears, your input is cleared, the output is displayed, and your input is redisplayed on the last line. If your input has wrapped around to a second or third line, only the last line will be cleared and redisplayed.


In both modes, output text is wrapped around at a right margin of one less than the number of columns on your screen (typically 79) unless wrapping has been turned off. In addition, if you set the variable %{wrapspace}, all lines after the first in a wrapped piece of text will be indented by that many spaces. See: columns(), %wrap, %wrapsize, %wrapspace.

If the %{more} flag is on, output is suspended when the screen is full, and you can use the TAB key to continue. See: /more, /dokey.


Back to index
Back to tf home page
Copyright © 1995 - 1999 Ken Keys