On Tue, May 19, 2009 at 10:02:54AM -0500, Boyd Stephen Smith Jr. wrote:

> AIUI, screen is quite scriptable and should be capable of sending output to 
> the process(es) attached to it.  This would allow you to write "screen 
> scripts" that used the shell for what it is good at and used screen for what 
> it is good at.

And as you mentioned scripts, I'll mention script(1) again.

tzaf...@sweetmorn:~$ script /tmp/log
Script started, file is /tmp/log
tzaf...@sweetmorn:~$ which mozilla
/usr/bin/mozilla
tzaf...@sweetmorn:~$ exit
Script done, file is /tmp/log
tzaf...@sweetmorn:~$ cat /tmp/log
Script started on IDT 16:35:21 2009 מאי 20 ד'
tzaf...@sweetmorn:~$ which mozilla
/usr/bin/mozilla
tzaf...@sweetmorn:~$ exit

Script done on IDT 16:35:32 2009 מאי 20 ד'

-- 
Tzafrir Cohen         | tzaf...@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzaf...@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to