Re: [patch] have autoaka mode use the full cmd, not just the first word

Micah Cowan <[email protected]> Thu, 02 Oct 2008 08:29:11 -0700
Newsgroups gmane.comp.gnu.screen
Message-ID <48E4E8C7.8020102__13849.5996747681$1238089071$gmane$org@cowan.name>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Erik Osheim wrote:
> Here's a patch that I've been using locally for a couple of years. It
> sets window titles to the full command run, not just the first word.

<snip>

> In general, I think users who like autoaka tend to prefer getting more
> information rather than less.

That has not been my general experience, though I don't believe you're
the first to want the full command, either. The chief problem is that a
single command can very quickly fill an entire hardstatus/caption line.

> Anyway, this patch just changes the
> behavior, but I could imagine having a setting in .screenrc control
> whether or not to limit the effect to a word (or maybe truncate at a
> fixed number of characters).

I wouldn't be applying this patch as-is, as I think preserving current
behavior is important. However, I'd be willing to apply a patch that
makes this behavior configurable (or, perhaps better, allows a
configurable number of words).

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
GNU Maintainer: wget, screen, teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI5OjG7M8hyUobTrERAgvPAJ40uu+2wvYoImjaHXssXEAA59aJyACffEiT
zxHTlxKWB1A9KsMckZir9UM=
=9VyF
-----END PGP SIGNATURE-----