On Sat, Mar 26, 2011 at 12:51 AM,
<address@hidden> wrote:
I tried these commands but they didn't print anything.
screen -x lftp -X hardcopy /dev/fd/1
screen -x lftp -X hardcopy /dev/stdout
Isn't this supposed to print to stdout? It works with other applications
so why not with screen?
--
I don't think the 'hardcopy' command takes any arguments:
C-a h (hardcopy) Write a hardcopy of the current window to the file
"hardcopy.n".
This should do what your trying to do.
screen -x lftp -X hardcopy; cat hardcopy.$(screen -x lftp -Q number | sed 's/\([0-9]\).*/\1/')
address@hidden
--
http://www.fastmail.fm - mmm... Fastmail...
_______________________________________________
screen-users mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/screen-users