[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with Screen
From: |
Jostein Berntsen |
Subject: |
Re: problem with Screen |
Date: |
Fri, 15 Jul 2011 17:52:30 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On 15.07.11,16:23, Jostein Berntsen wrote:
> On 15.07.11,14:18, Xavier wrote:
> > Hi,
> >
> >
> > I am on:
> >
> >
> > > uname-v
> >
> > FreeBSD 8.2-RELEASE
> >
> >
> > I have the following .screenrc:
> >
> >
> > screen pkg_info | less 0 pkg_info | less
> >
> > screen pkg_info 1 pkg_info -f
> >
> >
> > When I start the Screen, execute the command 'pkg_info | less' and
> > 'pkg_info-f' but in the end closes the screens.
> >
> >
> > Someone can tell me how should I put these commands for running the
> > screens and remain open?
> >
>
> Put the commands in a script and run this instead like:
>
> screen pkg_info | less 0 pgk1.sh
> screen pkg_info 1 pkg2.sh
>
> where each script contains the commands you want executed. The screen
> window will close if you exit less.
>
This should be:
screen -t pkg_info | less 0 pgk1.sh
screen -t pkg_info 1 pkg2.sh
Jostein