Unit 'process' Package
[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TProcess.XTermProgram

XTerm program to use (UNIX only).

Declaration

Source position: processbody.inc line 241

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: Dec 22 2024