tmux always starts login shell

2014-04-10 Thread Lauri Tirkkonen
Hi, tmux seems to start user shells always as login shells in new windows. Why? I would expect it not to because no other terminal program I know of does this -- it can make the behavior quite unexpected on some systems (eg. new windows always print motd, reinitialize environment variables, etc. a

Re: tmux always starts login shell

2014-04-10 Thread Nicholas Marriott
Shells in tmux are started out of nothing, not from another shell, so using login shells is the right thing to do. You can change it by setting default-command. On Thu, Apr 10, 2014 at 04:21:30PM +0300, Lauri Tirkkonen wrote: > Hi, > > tmux seems to start user shells always as login shells in n

Re: Cannot does not send multiple control sequences after upgrading 1.7 to 1.8

2014-04-10 Thread Nicholas Marriott
Please do this: tmux - -Ltest new Then reproduce, exit tmux and send me the tmux-*.log files from the current directory. On Wed, Apr 09, 2014 at 11:24:13PM -0400, James Pickard wrote: >Using tmux 1.7 and iTerm2, I create a new pane to the left of the current >pane by issuing: >s

Re: background color woes

2014-04-10 Thread Nicholas Marriott
What is TERM outside tmux? For the aixterm colours we explicitly check for colors >= 16, the -2 flag only affects the 256 colour escape sequences. Make sure TERM outside tmux is set to something with colors=256. Try xterm-256color. On Tue, Apr 08, 2014 at 02:12:24PM -0400, Jean-Rene David wrote:

[SOLVED] Re: background color woes

2014-04-10 Thread Jean-Rene David
* Nicholas Marriott [2014.04.10 10:50]: > Make sure TERM outside tmux is set to something with colors=256. Try > xterm-256color. Aaah setting TERM outside tmux fixes it. $ TERM=xterm-256color tmux -f /dev/null And voilÀ. Thank you! -- JR --