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

2010-02-26 Thread Trent W. Buck
Nicholas Marriott 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? Wouldn't it be simpler to tell

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

2010-02-22 Thread Šime Ramov
* Nicholas Marriott [2010-02-22 23:14+]: > Yeah we need to set the environment properly for job commands, there > is an XXX in job.c for it. Ah, cool. > Your best bet is to use #(LANG=blah date...) for now. I went with three custom scripts in ~/bin named tavg, tdate and tup which makes thin

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

2010-02-22 Thread Nicholas Marriott
Yeah we need to set the environment properly for job commands, there is an XXX in job.c for it. Your best bet is to use #(LANG=blah date...) for now. On Tue, Feb 23, 2010 at 12:03:37AM +0100, ??ime Ramov wrote: > Hi, > > $ date '+ %a %b %e %R' > Pon Vel 22 23:56 > > `%a %b %e %R` in tmux prod

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

2010-02-22 Thread Šime Ramov
Hi, $ date '+ %a %b %e %R' Pon Vel 22 23:56 `%a %b %e %R` in tmux produces this instead: Mon Feb 22 23:56 I also tried setting LC_CTYPE and LANG environment variables *within* tmux, but that didn't help. Other thing I tried was #(date '+ %a %b %e %R') hoping it would somehow insert the result