TERM

Terminal type

WTSupported in traditional Synergy on Windows

 

USupported on UNIX
VSupported on OpenVMS

The TERM environment variable specifies the terminal type to use.

Value

The type of terminal you are using.

Discussion

On Windows, if you are using UI Toolkit, TERM should be set to MSWINDOWS. However, if neither DTKTERM nor TERM are set, Toolkit defaults to MSWINDOWS.

On UNIX, you must set TERM if you are using UI Toolkit or the windowing API. Other UNIX tools, such as vi, also use TERM. The operating system looks in the directory /usr/subdir/terminfo (where subdir is either share, lib, or share/lib) or in the file /etc/termcap for your terminal type. The terminal type for your process may already be set. If it is, make sure it’s valid. If TERM is not set or ise set to a nonexistent terminal type, Synergy DBL returns an error at startup (unless system option #30 is set).

Setting location

The environment. On Windows, this environment variable can also be set in the [synergy], [dbr], or [myprog] section of synergy.ini (where myprog is any .dbr file).

TERM can be reset by the SETLOG subroutine, and the runtime interprets the new setting.

Used by

Runtime.

See also

Customizing key mapping for menu shortcuts for more information about terminal types.

Examples

On UNIX,

TERM=vt100       ;export TERM