On Thu, Mar 12, 2009 at 21:25, Micah Cowan <mi...@cowan.name> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > ssiza...@gmail.com wrote: >> On Thu, Mar 12, 2009 at 17:42, Micah Cowan <mi...@cowan.name> wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> ssiza...@gmail.com wrote: >>>> I've been playing around with screen for the last two days and like it so >>>> far. >>>> >>>> But there is one thing that bothers me: When I start mutt from my >>>> shell (bash, with gnome-terminal), the terminal title changes to mutt: >>>> = INBOX. >>>> >>>> That's actually very good. What's not so good is the fact that this >>>> title remains the terminal-title even after I've quit mutt. >>> This doesn't sound like a screen issue to me. Sounds like your mutt >>> config would be doing the same to the xterm title if you were running >>> under xterm. >>> >>> Mutt, or some configuration in mutt, is setting the title. If anything >>> had the responsibility to set it back to the way it was, it would >>> probably be mutt on exit, but that involves a bit of work. Maybe this >>> hack was intended to work with common shell prompt setups that change >>> the terminal title to the current directory, etc. You could go with one >>> of those, or you could invoke mutt in a wrapper that resets the title to >>> whatever you want it to be. >>> >>> printf '\033]0;%s\a' 'Whatever you want' >> >> I don't know if that's related to mutt, the same thing happens when I >> ssh to a machine. After I exit, the title still says $u...@$remotessh. > > (Please keep discussions on the list, so everyone can chime in) > > To be clear: screen does _not_ know that you're running ssh, or mutt, or > anything like that. If the title changes, it's because those changes > were made by mutt and ssh (or possibly your shell). The termcapinfo line > in your .screenrc does play a role in that, but only in telling those > apps how to make those changes. screen has no idea when mutt or ssh > starts or stops, and so can't possibly unset the title after they exit.
Oh ok. Thanks a lot. I've never worked with an application like screen nor do I know anything like it. I guess it'll take a while to grok its mechanics. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users