CONTENTS | INDEX | PREV | NEXT
TV uses only one window. This window displays:
WINDOW TITLE
The title-bar gives information on the currently active mode, an
"OVERSTRIKE" or "INSERT" string replacing the title " TV" when not
in command mode, and on the file currently being edited.
TEXT AREA (the contents of the buffer).
This usually but not necessarily represents a file. This is the area
below the window title. When TV is interactively waiting for a command,
the screen will show the section of the buffer around the cursor
position ( . ), with a cursor precisely showing the current position.
COMMAND INPUT (command-line)
Command-input is echoed in the area below the text area. When a command
is being entered, overstrike or insert mode mode may be selected. This
has nothing to do with overstrike and insert mode for the text area,
although it is quite similar in use!
STATUS DISPLAY
TV issues its error/information messages in the area below command-
input.
The rest of this section is platform-specific:
- On the Amiga:
Sizing, depth, close- and alternate-size gadgets complete the window.
Sizing is restricted, so that the width is always at least the size of one
character in the active font, and the height at least the size of a one
line text area, three-line command-input and three-line status display.
The alternate window size (selected by the alternate-size gadget) toggles
the window between the current size and the minimum.
TV will only use non-proportional fonts. Selecting a font that is too large
for the window results in a Can't open window-error.
- On Unix:
There is no integration with the window in which TV runs. This is hardly
ever a problem, but it must be remembered that the program immediately
and unconditionally quits when its window is closed. The program does not
get to know about it, and may even dump core.
The window is expected to be an Xterm window, launched by the start-up
scripting supplied. Due to the many different terminal types on various
systems, the choices made during development may not be ideal. For that
purpose, TV has an option to change the terminal type from the default.
- On Windows:
There is minimal integration with the window in which TV runs. This is
hardly ever a problem, but it must be remembered that the program immediately
and unconditionally exits when its window is closed. The program will perform
clean exit processing, but all unsaved changes will be lost.