>> $ screen -L -d -m echo 123 >> $ cat screenlog.0 >> 23 > I tried it and got your same results ? Weird.
And this is what you would expect too? What happened to the "1" in "123"? --Nico On Sat, Feb 12, 2011 at 1:42 PM, Andrew McGlashan <andrew.mcglas...@affinityvision.com.au> wrote: > Hi Nico, > > Nico Schlömer wrote: >> >> Thnaks for hints! >> One odd thing I noticed about the -L option, that is that first >> character doesn't seem to logged. >> Try >> >> $ screen -L -d -m echo 123 >> $ cat screelog.0 >> 23 >> >> Bug? > > I tried it and got your same results ? Weird. > > btw .... a slight mod to "name the screen" as per the current working > directory at the time of screen invocation. > > # alias ns9='if [ -f screenlog.0 ];then rm screenlog.0;fi && > (/usr/bin/screen -S $(basename $(pwd)) -L -d -m time > /usr/local/bin/program.sh; tail -99f > screenlog.0) && mv screenlog.0 my-test-screenlog.out' > > I also have a nice alias to check running screen jobs, you might like that > too: > > > alias sl='/usr/bin/screen -list;for x in ```cd > /var/run/screen/S-root/;/bin/ls```;do echo;echo sr $x;```echo > $x|/usr/bin/awk -F . '\''{print "/usr/bin/pstree > -aG",$1}'\''```;done;echo;/usr/bin/w' > > > -- it's a bit messier, but it works for me. > > Cheers > A. > _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users