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. 


Jostein



_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to