On Fri, Feb 16, 2007 at 01:31:13AM +0100, Alexander Kriegisch wrote: > # create detached screen session with auto-logging > screen -dm -L -S fritzterm > # maybe decreasing the flush interval helps? > screen -S fritzterm -X logfile flush 0 > # issue remote command inside the session > screen -S fritzterm -X exec ls -l / > > # wait a moment, then check log file's content > sleep 2 > cat /var/tmp/fritzterm/screenlog.0 > > Unfortunately the effect is as described above. No logging whatsoever, > no matter hown many commands are issued to the screen session.
This is because screen doesn't know which window to use for the 'exec' command. Add '-p 0' and it should work. Cheers, Michael. -- Michael Schroeder [EMAIL PROTECTED] main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users