[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with mutt and xterm-title (new user)

From: ssizarit
Subject: Re: problems with mutt and xterm-title (new user)
Date: Thu, 12 Mar 2009 21:28:52 +0100

On Thu, Mar 12, 2009 at 21:25, Micah Cowan <address@hidden> wrote:
> Hash: SHA1
> address@hidden wrote:
>> On Thu, Mar 12, 2009 at 17:42, Micah Cowan <address@hidden> wrote:
>>> Hash: SHA1
>>> address@hidden 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 address@hidden
> (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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]