screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Send command to split window


From: Thor Andreassen
Subject: Re: Send command to split window
Date: Fri, 28 May 2010 09:59:13 +0200

On Thu, May 27, 2010 at 08:46:02PM +0200, Jostein Berntsen wrote:
> Is it possible to make send output of a command to a split window, like 
> "screen -X <something>"?

I guess general redirection should be enough? It depends on what you
want. For example if you want to send output to a file and another
terminal, you could do this:

make | tee FILE > /dev/pts/7

use the following to also include standard error:

make 2>&1 | tee FILE > /dev/pts/7

This assumes the receiving terminal name is /dev/pts/7. You can find
the terminal name by running tty.

-- 
hth
Thor



reply via email to

[Prev in Thread] Current Thread [Next in Thread]