Re: tmux doesn't seem to respect system locale for `date`

2010-02-26 Thread Trent W. Buck
Nicholas Marriott nicholas.marri...@gmail.com writes: Yeah we need to set the environment properly for job commands, there is an XXX in job.c for it. Normally the environment is inherited from the parent process, but I see you're using execle and explicitly passing an environment. Why?

Re: OT: which of emacs/xemacs do you prefer?

2010-02-26 Thread Trent W. Buck
clemens fischer ino-n...@spotteswoode.dnsalias.org writes: which of emacs/xemacs do you prefer? I, and most of Freenode's #emacs denizens, use GNU Emacs. XEmacs seems to mostly be restricted to those who started with Xemacs 19 rather than previous or subsequent generations. I guess the

Re: remain-on-exit iff child exits with non-zero status [was: unresponsive to keyboard if one pane is rapidly scrolling]

2010-02-26 Thread Trent W. Buck
Nicholas Marriott nicholas.marri...@gmail.com writes: On Sun, Feb 14, 2010 at 01:22:02PM +1100, Trent W. Buck wrote: Having said that, I'm haven't worked out how to make setw -g remain-on-exit on only apply when the application returns a non-zero exit status (the onerror in Screen's :zombie kr

Re: window vs pane

2010-02-26 Thread Trent W. Buck
[I'm playing catch-up in the archives again...] Nicholas Marriott nicholas.marri...@gmail.com writes: On Wed, Feb 10, 2010 at 03:01:18PM -0800, Robin Lee Powell wrote: A friend of mine has per-pane status lines as a requirement before he starts using tmux; then you could title each pane

Connecting to existing ttys

2010-02-26 Thread Trent W. Buck
AIUI tmux won't implement screen's support for serial ttys. What, then, do tmux users do for these? screen /dev/pts/4 screen /dev/ttyS0 38400 screen /dev/ttyUSB0 115200 I tried minicom yesterday, and it's bloody confusing. I couldn't even work out how to make it use /dev/ttyS0

Re: Change fg/bg colours of windows?

2010-02-26 Thread Trent W. Buck
Levesque, Jean-Yves jyve...@gmail.com writes: I know this can probably not be done by default but is this possible for instance by using the terminal overrides strings? What I would like to do is to black on white for window 1 and blue on yellow for window You may wish to play with tput. For

tmux as login shell without chsh

2010-02-26 Thread Trent W. Buck
Because screen doesn't implement -c like a normal shell, I can't use it as my login shell without breaking scp(1) and suchlike. Thus for some time I've had this in my .bash_profile: ## The naive chsh -s /usr/bin/screen breaks scp (and other things). ## Have sh start screen automatically

Re: How to checkout the latest source code

2010-02-26 Thread Trent W. Buck
Nicholas Marriott nicholas.marri...@gmail.com writes: OpenBSD is the primary repository at the moment because it is easier for me, SF is sync'd up fairly often by tcunha. Do you have any plans to switch to a different VCS (e.g. git, svn) for the primary repo?

tmux layout heuristics (cf. xmonad)

2010-02-26 Thread Trent W. Buck
Being accustomed to xmonad's layout model, I find the tmux one a little confusing. In xmonad (at least as _I_ use it), one has a set of apps[0] open, and these are automatically tiled according to some layout heuristic[1], such as divide apps equally, side-by-side. However, in xmonad, an app

set -g mode-keys both

2010-02-26 Thread Trent W. Buck
While I use Emacs-style bindings in Emacs and libreadline, I also use a handful of vi-style bindings in screen, ed, less, w3m, etc. It's cognitively dissonant for me to type, say, G in tmux's copy mode and have nothing happen. I expect to be taken to the bottom of the scrollback, and the

Re: Setting the pane (window?) title

2010-02-26 Thread Drew Folta
*major caveat*: I just started building tmux from the source. Trying to answer this question was my first dive into the source. From looking at the source (grep set_title), it looks like the title is automatically updated [server_client_set_title()] if you have the set-titles option on. Alas,

Re: How to checkout the latest source code

2010-02-26 Thread Micah Cowan
Trent W. Buck wrote: Nicholas Marriott nicholas.marri...@gmail.com writes: OpenBSD is the primary repository at the moment because it is easier for me, SF is sync'd up fairly often by tcunha. Do you have any plans to switch to a different VCS (e.g. git, svn) for the primary repo? He

Re: Setting the pane (window?) title

2010-02-26 Thread Micah Cowan
Trent W. Buck wrote: It seems that tmux is more clever than I am. I open a new window (running bash). Therein, I run emacs -Q -f ielm. At this point, tmux says the title is emacs. Good! Now, I attempt to have emacs set the window title to something more meaningful than emacs, such as the

Re: Connecting to existing ttys

2010-02-26 Thread Aaron Denney
On Fri, Feb 26, 2010 at 09:24:54PM +1100, Trent W. Buck wrote: AIUI tmux won't implement screen's support for serial ttys. What, then, do tmux users do for these? screen /dev/pts/4 screen /dev/ttyS0 38400 screen /dev/ttyUSB0 115200 I've never felt the need for these, and tmux's