Nice, committed to OpenBSD, thanks. Should be in SF after a bit. Cheers
On Mon, Apr 19, 2010 at 09:42:37PM +0200, Romain Francoise wrote: > Hi, > > I have remain-on-exit set to on and create sessions in my init files > with lots of ssh windows to various hosts. The windows are named > after the hostnames, so they don't have automatic-rename enabled. > > This works fine, but I don't always notice when ssh dies because the > windows don't renamed and there's no flag to show dead windows (like > screen has). So I've been using the following patch, which adds a > status indicator to the window list in 'choose-window' output: > > Index: cmd-choose-window.c > =================================================================== > RCS file: /cvsroot/tmux/tmux/cmd-choose-window.c,v > retrieving revision 1.20 > diff -u -r1.20 cmd-choose-window.c > --- cmd-choose-window.c 4 Dec 2009 22:14:47 -0000 1.20 > +++ cmd-choose-window.c 19 Apr 2010 19:32:00 -0000 > @@ -101,8 +101,9 @@ > left = right = ""; > > window_choose_add(wl->window->active, > - wm->idx, "%3d: %s%c [%ux%u] (%u panes)%s%s%s", > + wm->idx, "%3d: %s%c [%ux%u] (%u panes%s)%s%s%s", > wm->idx, w->name, flag, w->sx, w->sy, window_count_panes(w), > + w->active->fd == -1 ? ", dead" : "", > left, title, right); > } > > Would that be suitable for inclusion? > > Thanks, > -- > Romain Francoise <[email protected]> > http://people.debian.org/~rfrancoise/ > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > tmux-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ _______________________________________________ tmux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tmux-users
