# 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. TF maintains a separate virtual window for each open socket; only the foreground world's window is displayed. 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 line.

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 everything above it scrolls, 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, the output window is redrawn whenever necessary: when its size changes, when the mode changes, or when TF resumes after /suspend or /sh.

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, when text is wrapped, all wrapped lines after the first will be indented 4 spaces to help distinguish them from the beginning of an original line (configurable by setting %wrapspace). See: columns(), %wrap, %wrapsize, %wrappunct, %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, 1996, 1997, 1998, 1999, 2002, 2003 Ken Keys