On Sun, 4 May 2014 22:33:23 +1000 Scott Leggett <sc...@sl.id.au> wrote: > I just spent half an hour figuring out how to get window titles to > reflect my session in byobu.. and I find the exact patch required is > already here (thanks Josh). > > I guess this is just a +1 for patching skel.bashrc so that ssh-ing into > machines via byobu does The Right Thing to your terminal emulator's > window title automatically. > > -- > Regards, > Scott Leggett
The screen manpage explains this, and recommends a slightly different formulation for escaping --- might want to use that for consistency: PROMPT_COMMAND='printf "\033k\033\134"'