new-session [-AdDP][-c start-directory][-F format][-n window-name][-s session-name][-t target-session][-x width][-y height][shell-command](alias: new)
Create a new session with name session-name.
The new session is attached to the current terminal unless -d is given. window-name and shell-command are the name of and shell command to execute in the initial window. If -d is used, -x and -y specify the size of
the initial window (80 by 24if not given).
If run from a terminal, any termios(4) special characters are saved and used for new windows in the new session.
The -A flag makes new-session behave like attach-session if session-name already exists; in the case, -D behaves like -d to attach-session.
If -t is given, the new session is grouped with target-session.
This means they share the same set of windows - all windows from target-session are linked to the new session and any subsequent new windows or windows being closed are applied to both sessions.
The current and previous window and any session options remain independent and either session may be killed without affecting the other. Giving -n or shell-command are invalid if -t is used.
The -P option prints information about the new session after it has been created. By default, it uses the format ‘#{session_name}:’ but a different format may be specified with -F.
il faut peut-etre switcher de client avant d'ouvrir ta session
switch-client [-lnpr][-c target-client][-t target-session](alias: switchc)
Switch the current session for client target-client to target-session. If -l, -n or -p is used, the client is moved to the last, next or previous session respectively. -r toggles whether a client is read-only (see
the attach-session command).
[^] # Re: L’option -s ?
Posté par NeoX . En réponse au message [TMUX] Choisir dans quelle session ouvrir une fenêtre.. Évalué à 2.
dans ma page de
man tmuxle -t et -s vont avec le new-session
il faut peut-etre switcher de client avant d'ouvrir ta session