[Top][All Lists]

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

Re: Send command to split window

From: Jostein Berntsen
Subject: Re: Send command to split window
Date: Sun, 30 May 2010 17:50:40 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On 28.05.10,11:09, Sadrul Habib Chowdhury wrote:
> On Thu, May 27, 2010 at 2:46 PM, Jostein Berntsen <address@hidden>wrote:
> > Hi,
> >
> > Is it possible to make send output of a command to a split window, like
> > "screen -X <something>"?
> >
> You can send the output to the window in a split region, yes. You would have
> to use the '-p' option to pre-select the window. For example, if window 0 is
> in the split region, and you want to send output to this window, you would
> do something like:
>     screen -p 0 -X stuff "`command`"

This worked great, thanks! Did not need the backticks though.


reply via email to

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