SHELL

Default shell

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX

 

The SHELL environment variable specifies the shell that the SHELL subroutine will use.

Value

The shell you want the SHELL subroutine to use.

Discussion

On Windows, if this environment variable is set, the SHELL subroutine and the debugger use the shell that you specify in this environment variable, rather than the default shell specified by COMSPEC. (For more information about COMSPEC settings, see your Windows documentation.)

On UNIX, common shells are sh, csh, and ksh.

Note

Other UNIX tools, such as vi, also use this environment variable.

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).

Used by

Runtime.

Examples

On Windows, if set in the synergy.ini file,

[synergy]
SHELL=c:\windows\system32\cmd.exe /c