Next Previous Contents

23. Terminal Functions

23.1 CHEAP_VIDEO

Synopsis

Control flicker on old video cards

Usage

Int_Type CHEAP_VIDEO

Description

Some old video cards for MSDOS systems, most notably the CGA card, display snow when updating the card. This variable should be set to 1 to avoid the presence of snow when used with such a card.

Notes

This variable is not available on all systems.

See Also

SCREEN_WIDTH, SCREEN_HEIGHT

23.2 IGNORE_BEEP

Synopsis

Control beeping of the terminal

Usage

Int_Type IGNORE_BEEP

Description

This variable determines how the terminal is to be beeped. It may be any one of the following values:

   0    Do not beep the terminal in any way.
   1    Produce an audible beep only.
   2    Produce an visible beep only by flashing the display.
   3    Produce both audible and visible bells.
Notes

Not all terminals support visible bells.

See Also

beep

23.3 SCREEN_HEIGHT

Synopsis

Number of display rows

Usage

Int_Type SCREEN_HEIGHT

Description

This is a read-only variable whose value represents the number of rows of the display or terminal.

See Also

SCREEN_WIDTH, window_info

23.4 SCREEN_WIDTH

Synopsis

Number of display columns

Usage

Int_Type SCREEN_WIDTH

Description

This is a read-only variable whose value represents the number of columns of the display or terminal.

See Also

SCREEN_HEIGHT, window_info

23.5 TERM_BLINK_MODE

Synopsis

Enable the use of high intensity background colors

Usage

Int_Type TERM_BLINK_MODE

Description

If the value of this variable is non-zero, JED will interpret high-intensity background colors as blinking characters. On some terminals, e.g., rxvt, the blink bit will be mapped to an actual high intensity background color.

Notes

This variable is not available on all systems.

See Also

23.6 TERM_CANNOT_INSERT

Synopsis

Control the use of terminal insertion

Usage

Int_Type TERM_CANNOT_INSERT

Description

The value of this variable indicates whether or not the terminal is able to insert. Do disable the use of the insertion capability, set the value of this variable to 0.

Notes

This variable is not available on all systems. It is a good idea not to set this variable.

See Also

TERM_CANNOT_SCROLL

23.7 TERM_CANNOT_SCROLL

Synopsis

Control the use of the terminal's scrolling capability

Usage

Int_Type TERM_CANNOT_SCROLL

Description

If this variable is set to 0, the hardware scrolling capability of the terminal will not be used. This also means that the window will be recentered if the cursor moves outside the top or bottom rows of the window.

Notes

This variable is not available on all systems.

See Also

TERM_CANNOT_INSERT

23.8 USE_ANSI_COLORS

Synopsis

Enable the use of colors

Usage

Int_Type USE_ANSI_COLORS

Description

The variable USE_ANSI_COLORS may be used to enable or disable color support. If set to a non-zero value, the terminal will be assumed to support ANSI colors. This value of this variable is initially determined by examining the terminal's terminfo file, or by looking for the existence of a COLORTERM environment variable.

Notes

This variable is not available on all platforms.

See Also

HIGHLIGHT

23.9 get_termcap_string

Synopsis

get_termcap_string

Usage

String get_termcap_string (String cap);

Description

This function may be used to extract the string associated with the termcap capability associated with cap. Note: This function is only available on Unix systems.

23.10 set_term_vtxxx

Synopsis

set_term_vtxxx

Description

Set terminal display appropriate for a vtxxx terminal. This function takes a single integer parameter. If non-zero, the terminal type is set for a vt100. This means the terminal lacks the ability to insert/delete lines and characters. If the parameter is zero, the terminal is assumed to be vt102 compatable. Unless you are using a VERY old terminal or a primitive emulator, use zero as the parameter.


Next Previous Contents