Commit Graph

9 Commits

Author SHA1 Message Date
Nicholas Marriott
505b071a12 More tweakery. 2009-02-08 12:31:02 +00:00
Nicholas Marriott
1583b87ae6 And again. 2009-02-07 19:33:07 +00:00
Nicholas Marriott
523b2e863f Tweak FreeBSD too. 2009-02-07 19:27:11 +00:00
Nicholas Marriott
f53bcc8798 Even better. 2009-02-07 19:24:50 +00:00
Nicholas Marriott
1d3fba86a3 Make process name guessing pick up SSTOP. 2009-02-07 19:16:25 +00:00
Nicholas Marriott
167178aba4 Tweak selection slightly. 2009-01-27 23:10:18 +00:00
Nicholas Marriott
9cde0c2477 Be more clever about picking window name. 2009-01-26 22:57:20 +00:00
Nicholas Marriott
8c259f562b Darwin support for automatic-rename, from joshe. 2009-01-20 22:17:53 +00:00
Nicholas Marriott
2d15f59859 Try to change the window title to match the command running it in. This is done
by reading argv[0] from the process group leader of the group that owns the tty
(tcgetpgrp()). This can't be done portably so some OS-dependent code is
introduced (ugh); OpenBSD, FreeBSD and Linux are supported at the moment.

A new window flag, automatic-rename, is available: if this is set to off, the
window name is not changed. Specifying a name with the new-window, new-session
or rename-window commands will automatically set this flag to off for the
window in question. To disable it entirely set the option to off globally (setw
-g automatic-rename off).
2009-01-20 19:35:03 +00:00