# CygTerm+ Command Line Options

    cygterm.exe [-t 'terminal-emulator'] [-p port-number] [-dumb]
                [-s 'shell'] [-ls | -nols] [-cd | -nocd] [-A | -a]
                [-v 'env-var' ...] [-d 'directory'] [-o 'option']

-t 'terminal-emulator'
  Specify the command line of a terminal emulator to execute. This format is the same as TERM in the configuration file. The command line should be enclosed in quotes to include spaces.
-p port-number
  Instead of executing a terminal emulator, try connection to this port number of localhost. It is considered another program uses `-p' option to use Cygwin via cygterm.exe
-dumb
  Suppress the TELNET options negotiation. And ignore any TELNET commands sent from terminal side. The environment variable TERM is set to `dumb' on the shell side.
-s 'shell'
  Specify the command line of a shell on Cygwin to execute. This format is the same as SHELL in the configuration file. The command line should be enclosed in quotes to include spaces. Any command can be spedicied even if a non-shell command.
-ls
  Execute a shell as a login shell.
-nols
  Execute a shell as a normal (not login) shell.
-cd
  The current directory is moved to the user home directory and the shell is invoked.
-nocd
  The shell is invoked without changing the current directory.
-A
  Enable ssh-agent proxy support.
-a
  Disable ssh-agent proxy support.
-v 'env-var'
  Specify the environment variable to be set when starting the shell. This format is the same as ENV_X in the configuration file. The expression should be enclosed in quotes to include spaces. One or more `-v' options are available.
-d 'directory'
  The current directory is moved to the specified directory and the shell is invoked.
-o 'option'
  Additional parameter for terminal-emulator.

The terminal emulator or connection port number, and the shell on Cygwin, these need to be specified at least. If these are given on the command line, cygterm.exe can be run without configuration file cygterm.cfg.

cygterm.exe is an Win32 application which uses cygwin1.dll. It can be run from Cygwin command line or a shortcut on Windows.

* It is necessary the Windows environment variable PATH includes a directory path of cygwin1.dll (normally Cygwin-root\bin) to be run from Windows.