Hi
You are missing -c, su passes its arguments directly to sh so you are in
effect
running "sh /usr/bin/tmux" rather than "sh -c /usr/bin/tmux".
On Sun, Feb 28, 2010 at 11:00:16PM +0200, Lars Nooden wrote:
quoted text > On Thu, 25 Feb 2010, Otto Moerbeek wrote:
> >The smfb(4) framebufer just does not support more than one screen.
>
> On Thu, 25 Feb 2010, Peter Hessler wrote:
> >We don't provide multiple terminals for the loongson platform. You
> >can use tmux, or start X instead.
>
> Thanks Otto and Peter. It has been a good excuse to try tmux.
>
> I notice that there might be some strangeness invoking it with su on
> the current snapshot:
>
> $ su -l foo /usr/bin/tmux
> /usr/bin/tmux[4]: ELF??@??: not found
> /usr/bin/tmux[6]: ?uCJ: not found
> /usr/bin/tmux: no closing quote
> /usr/bin/tmux[7]: syntax error: `)' unexpected
> /usr/bin/tmux[6]: pYp?pp?V: not found
>
> Invoking it in two steps gives normal reaction:
> $ su -l foo
> $ /usr/bin/tmux
>
> Regards
> /Lars