On 02/21/13 11:22, Nicholas Marriott wrote: > On Thu, Feb 21, 2013 at 10:55:48AM +0100, Kresimir Kukulj wrote: >> Thanks, >> >> I have looked up to xterm's support and its not too complicated. >> >> Also, ESCk sequence to set tmux window title is tmux specific ? >> [window-status-format "#W"] >> If so, are they documented anywhere ? > It came from screen, I don't know where they got it from. It's > documented in the man page.
ah! Thanks >> echo -ne "\033kTITLE\033\\" >> >> My goal is to replace multi-tabed terminal with plain terminal+tmux. >> >> Above escape seq is the only one that sets tmux window name (on tmux >> side, not xterm side). >> >> Is that correct? > Yes but the window name has nothing to do with the title stack. Yes. I know. My question was incomplete. On xterm side stack control would look like: echo -ne '\e]0;BEFORE\007' # set title echo -ne '\e[22t' # push to stack echo -ne '\e]0;AFTER\007' # set new title echo -ne '\e[23t' # retrieve from stack On tmux side: echo -ne "\033kTITLE\033\\" here I guess we need new escape codes for 'tmux side' stack ? Does screen(1) already has some implemented we can use ? Or should we use xterm escape codes to control stack on both sides (tmux and xterm) ath the same time ? > >> On 02/21/13 10:34, Nicholas Marriott wrote: >>> Not terribly difficult. Internally tmux just needs to record the old >>> titles on a list and provide the push/pop sequences. Externally is even >>> easier - we just need to send the push sequence when tmux starts and pop >>> when it exits. >>> >>> No particular plans to do it soon though. >>> >>> >>> On Thu, Feb 21, 2013 at 02:06:38AM +0100, Kresimir Kukulj wrote: >>>> Hi, I see this item in TODO file: - support title stack, both internally >>>> and externally >>>> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1149299+0+archive/2010/freebsd-questions/20100207.freebsd-questions >>>> How difficult is to implement that ? Are there any plans to implement >>>> that in near future? >>>> >>>> -- >>>> Kresimir Kukulj >>>> +--------------------------------------------------------+ >>>> Remember, if you break Debian, you get to keep both parts. >>>> >>>> ------------------------------------------------------------------------------ >>>> Everyone hates slow websites. So do we. >>>> Make your web apps faster with AppDynamics >>>> Download AppDynamics Lite for free today: >>>> http://p.sf.net/sfu/appdyn_d2d_feb >>>> _______________________________________________ >>>> tmux-users mailing list >>>> tmux-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/tmux-users >> >> -- >> Kresimir Kukulj</br> >> Remember, if you break Debian, you get to keep both parts.</br> -- Kresimir Kukulj</br> Remember, if you break Debian, you get to keep both parts.</br> ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users