[dev] [st] patch to send terminal to another program

2011-08-25 Thread Nick
I think it would be really neat to be able to send all the text in a terminal to an external program, to act on it as it likes. I wrote a patch to do that, sending the contents of the screen to the stdin of the chosen program. One good use for this is writing a script to find any links, and

Re: [dev] [st] patch to send terminal to another program

2011-08-25 Thread Suraj N. Kurapati
On Thu 25 Aug 2011 03:40:56 PM PDT, Nick wrote: I confess to not being overly familiar with the finer points of forking, so hope someone better than me can suggest a fix. I recommend Beej's Guide to Unix IPC for such knowledge: http://beej.us/guide/bgipc/output/html/multipage/fork.html --

[dev] [lsw] List only visible windows

2011-08-25 Thread Bastien Dejean
Hi, Maybe it would be convenient to add an option similar to the --onlyvisible's xdotool option. Cheers, -- Bastien

Re: [dev] [st] patch to send terminal to another program

2011-08-25 Thread Jean-Paul DEUX
On 08/25/2011 03:40 PM, Nick wrote: I think it would be really neat to be able to send all the text in a terminal to an external program, to act on it as it likes. I wrote a patch to do that, sending the contents of the screen to the stdin of the chosen program. One good use for this is

Re: [dev] [st] patch to send terminal to another program

2011-08-25 Thread pancake
Isn't this what script does? I ported the netbsd implementation to all unixes for youterm.com it's called yt-script and records one file with output and another file for the timestamps and offsets. I wanted to do a player with seeking support but .. Well i shutted down the site.. Because i had