ifdef::basebackend-manpage[]
:doctitle: domterm-new(1)

== Name
domterm new - create new terminal session
endif::[]
ifndef::basebackend-manpage[]
== domterm new - create new terminal session
endif::[]

== Synopsis

`domterm` [_options_]  [_shell_ _arguments_ ...]

`domterm` [_goptions_] `new` [_noptions_] [_shell_ _arguments_ ...]

== Description

The `domterm new` command creates a new terminal.
If _shell_ is specified, it is the name of a command that
is is executed with the specified _arguments_.
Otherwise, the default command is executed.

You can specify the default command by setting `shell.default`
in your preferences (by default in `settings.ini`);
if that is not set the value of the `SHELL` environment
is used; otherwise `/bin/bash` is used for the default.

The `new` command is the default for `domterm`, so you can leave it out.
If you leave out `new` but specify a _shell_, then the _shell_ argument
must contain a slash `/`.  For example:

    domterm /bin/csh -v

== Options

See the `window-specifier` help topic for a list of options
that specify if and how to create a new terminal window.
