see the window(1) man page regarding the -m option passed to the
command and what it does in this case. not to repeat everything here,
but it suffices to say that

window -m -hide  rc -c 'label a_name; tail -f /sys/log/telnet'

works as expected.

note that -m must appear first in the argument list. you can consider
this a bug if you'd like.

On Wed, Oct 8, 2008 at 12:26 PM, Rudolf Sykora <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'd expect
>
> window -hide  rc -c 'label a_name; tail -f some_file'
>
> would create a new hidden window (and so it does), run the tail command (and
> so it does) and set the name for the hidden window to a_name.
> The last thing seems to not happen (at least from the viewpoint of using the
> button-3 menu in rio --- I only see an empty field, i. e. without any name).
> Can anyone tell me what's wrong?
>
> Thanks
> Ruda
>

Reply via email to