Sign in Join
FPDoc Onlineexperiment

TProcess.XTermProgram property

Member of TProcesspublishedIn unit Process

XTerm program to use (UNIX only).

Declaration

pascal
property XTermProgram: string read FXTermProgram write FXTermProgram;

Description

XTermProgram can be used to specify the console program to use when poConsole is specified in Options.

If none is specified, DetectXTerm is used to detect the terminal program to use. the list specified in TryTerminals is tried. If none is found, then the DESKTOP_SESSION environment variable is examined:

kde
konsole is used if it is found.
gnome
gnome-terminal is used if it is found
windowmaker
aterm or xterm are used if found.

If after all this, no terminal is found, then a list of default programs is tested: 'x-terminal-emulator','xterm','aterm','wterm','rxvt'.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.