Signal handling in current CVS

2010-04-27 Thread Romain Francoise
The last change in tmux.c to ignore SIGCHLD in main() introduces a bug: the signal handler is never reset back to SIG_DFL and this signal configuration in inherited by the server when it's created, and in turn by the commands that are spawned because signal_del() resets it to the previous value in

Crash in window_copy_find_length()

2010-04-27 Thread Romain Francoise
While doing some testing I found the following crash. It looks related to the copy/output mode rewrite: Core was generated by `./tmux -L test -f /home/romain/.tmux-test.conf'. Program terminated with signal 11, Segmentation fault. #0 0x0043da48 in window_copy_find_length (wp=0x2316440,

Re: tmux as login shell without chsh

2010-04-27 Thread clemens fischer
On Sun-2010/02/28-21:28 Nicholas Marriott wrote: You probably want to exec tmux new-session, or use tmux new-session -d instead. I always use exec /usr/local/bin/tmux ${TMUX_OPTIONS} attach-session without checking for existing sessions on the local machine. If there is one, it attaches

Re: tmux as login shell without chsh

2010-04-27 Thread Micah Cowan
clemens fischer wrote: On Sun-2010/02/28-21:28 Nicholas Marriott wrote: You probably want to exec tmux new-session, or use tmux new-session -d instead. I always use exec /usr/local/bin/tmux ${TMUX_OPTIONS} attach-session without checking for existing sessions on the local