-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Erik Osheim wrote: > For the last several years I've been using a patched version of screen. > Currently, the default screen's autoaka feature renames a window to the > first word whenever a command is run. For instance, "vim FOO" renames > the window to "vim". > > My coworkers and I don't find this particularly useful, since often one > is running the same command in different windows with different > arguments. My patch makes the entire command the title. > > I would be open to a config toggle, if some people prefer the old > behavior (so far I haven't met anyone of this persuasion). Also, I > could imagine a "max length" setting, although I haven't needed one. I > don't actually know how to write code to use the config file, but if > someone gave me a small sample I could definitely add that to the patch > if necessary. > > Anyway, here's the patch. Does it seem like something that could make > it into git?
Could be; though the ideal for me would be to take something like Sadrul's lua extensibility stuff, and make it much more tweakable. I would definitely want a toggle or something to put this in, though: some folks prefer current behavior. For my part, the ideal would be to default to the current behavior, but for some commands switch to the first non-option argument (only). That's why programmable support would be nice. Though, really, I tend to name my windows based on high-level purpose, like "screen-build" or "wget-test", so I never use autoaka. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkk62s4ACgkQ7M8hyUobTrFKXACdH97Cjgpd7xu1Re5j02+q4Ki8 Zf4An2WH8ftmrbghul/QKhAcYv/fOjnn =EYvM -----END PGP SIGNATURE-----