Discussion:
new-session not accepted
(too old to reply)
Elimar Riesebieter
2015-05-17 09:45:57 UTC
Permalink
Running tmux 2.0

In tmux.conf:

set-option -t 8 default-terminal screen

Starting tmux:
$ tmux new-session -s 8 \; attach

gives:

tmux.conf:16: session not found: 8
tmux.conf:16: couldn't set 'default-terminal'


Confirmed gives a session with tmux list-session:
8: 1 windows (created Sun May 17 11:32:47 2015) [210x64] (attached)

Where is the knot?
Is it possible to give the default-terminal on commandline?

Thanks
Elimar
--
Learned men are the cisterns of knowledge,
not the fountainheads ;-)
Thomas Adam
2015-05-17 10:08:01 UTC
Permalink
Post by Elimar Riesebieter
Running tmux 2.0
set-option -t 8 default-terminal screen
$ tmux new-session -s 8 \; attach
tmux.conf:16: session not found: 8
tmux.conf:16: couldn't set 'default-terminal'
You can't set options for sessions which don't yet exist.

-- Thomas Adam
--
"Deep in my heart I wish I was wrong. But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)
Elimar Riesebieter
2015-05-17 10:30:49 UTC
Permalink
Post by Thomas Adam
Post by Elimar Riesebieter
Running tmux 2.0
set-option -t 8 default-terminal screen
$ tmux new-session -s 8 \; attach
tmux.conf:16: session not found: 8
tmux.conf:16: couldn't set 'default-terminal'
You can't set options for sessions which don't yet exist.
Settings in tmux.conf

new-session -ds 8¬
set-option -t 8 default-terminal "screen"¬

doesn't work either?

Elimar
--
Excellent day for drinking heavily.
Spike the office water cooler;-)
Loading...