[I'm playing catch-up in the archives again...] Nicholas Marriott <nicholas.marri...@gmail.com> writes:
> On Wed, Feb 10, 2010 at 03:01:18PM -0800, Robin Lee Powell wrote: >> A friend of mine has "per-pane status lines" as a requirement before >> he starts using tmux; then you could title each pane appropriately. >> Been meaning to look at that some day. > > I don't really know what "per-pane status lines" means, although I > don't use panes so it probably wouldn't help me at all. If tmux' status line is Screen's :hardstatus (with alwayslastline) line, then this would be tmux' equivalent of the :caption. It's similar to a modeline in Emacs, or a window titlebar in a conventional X window manager (e.g. twm, metacity). The purpose is twofold: to provide a visual separator between adjacent panes, and to present pane-specific information (particularly the pane title). Since tmux already has separator lines between panes... > At one point I had code to put pane information in the pane borders > but it is fiddly to fit it all in and difficult to read when it is > vertical so I scrapped it. ...as you say, you could overstrike the "pane status" line over the border for pane-above-pane. For side-by-side panes, Emacs approach of consuming an extra line for the pane text would probably work best. That's probably what you're thinking by... > Having a label inside the pane wouldn't be too hard, although I would > put it at the top of the pane rather the bottom. FWIW, I'd prefer it at the bottom, because that's alignment Emacs, tmux and screen all use for their status/caption/mode lines :-) As to "difficult to fit it all in", one would ideally have a heuristic to truncate the least important information first. For example, my screen caption/hardstatus line centers on the current pane title, so that if I'm running in a small tty it'll discard away the date before it'll discard inactive pane titles before it'll discard the current pane title. ------------------------------------------------------------------------------ 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 tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users