Will Yardley wrote:
> 
> i can put the xtitles patch version relative to 1.3.2x up somewhere for
> you, or send you the patch via email if you'd like.

[disclaimer... i did NOT write this patch]

ok here's the patch (it documents itself).  i took the one on the mutt
site and patched by hand for 1.3.x... seems to work ok for me tho.

http://infinitejazz.net/will/geek/mutt.xterm.patch
the version that's in the debian package for unstable is:
http://infinitejazz.net/will/geek/patch.xterm.alt
(should be pretty much the same).

there's a little bit of fuzz, but should apply fine to 1.3.26/.27, and
should work down to early 1.3.x stuff.

the 1.2.5 patch is linked from the mutt site.

someone was saying that this bit should be changed, but i'm not a
programmer, so maybe someone else can give some feedback.

i have $TERM set to xterm so it works, but if you have $TERM set to
xterm-xfree86 (or xterm-color) it might not work

since the first bit presumably is doing some sanity checking as well, it
MIGHT work to take out the 'else if' line entirely, but i don't really
know.

        /* Make sure that the terminal can take the control codes */
        if (ep == NULL) unset_option (MuttVars[idx].data);
        else if (mutt_strcasecmp (ep, "xterm") != 0) unset_option (MuttVars[idx].data);

i have this:
set xterm_set_titles
set xterm_title="--[$USER@%h ]-%v--[%f ]--[%b inc %n/%m here]---(Sorting by %s/%S)%>-"

in my .muttrc

w

Reply via email to