[Overview][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'process' (#fcl)

# TProcess.XTermProgram

XTerm program to use (unix only)

## Declaration

Source position: process.pp line 160

`published property TProcess.XTermProgram : string read FXTermProgram write FXTermProgram;`

## Description

XTermProgram can be used to specify the console program to use when poConsole is specified in TProcess.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

TProcess.Options |  | Options to be used when starting the process.
DetectXTerm |  | Detect the terminal program.

Documentation generated on: Feb 26 2014