On 2014-06-27 17:34 -0600, Jeff wrote: > If it is possible, I want xterm's title to display tmux's current and > previous pane titles. Ideally it would work for as many panes as there > are, but displaying the current and previous panes would be fine.
I think displaying all of them is actually simpler: > Solution two: have shell set it > TITLE_PANE_1=`tmux show_TITLE_PANE_1` > TITLE_PANE_1=`tmux show_TITLE_PANE_2` > echo -n "033]0;tmux> ${TITLE_PANE_1} / ${TITLE_PANE_2}007" This is a good start. You can list all the panes in the current window via "tmux list-panes -F '#{pane_active} #{pane_title}'". You can use the pane_active to determine which pane is active -- you can put that to the beginning of the list via "sort -r" and then do some additional text munging to translate it to your preferred escape sequence. On the other hand I'm not convinced this will be helpful. I think the title will be too long to be useful, no? -- Balazs ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users