On Tue, Mar 12, 2002 at 09:11:22PM -0800, Sean 'Shaleh' Perry wrote: > > > > Think about what bblaunch does. (/me says this knowing shaleh hates > > bblaunch...) > > > > yeah, and bblaunch barely works. > > To implement this would mean adding a run queue. When blackbox starts an app > it would add the command line to the queue with information about the state at > that time. When a new is mapped it would be checked against the queue. > > If someone writes a patch I will at least look at it (-:
Can blackbox perhaps setpgrp after forking, and use an api like BSD fstat or lsof to map a connecting socket back to a process group it knows about and if it does, put it in the desktop that was open when it was launched (or perhaps a "launch in") option? If you make this pgrp -> workspace list accessible through hints, bbkeys and bblauncher can use it. You'd probably want to just make a black box (ha ha) API that takes a socket of any address family and returns a process group of the opening process. This could then be written in on a platform by platform basis. -- David Terrell | "Anyone want to start a fund for students Nebcorp Prime Minister | that vow not to work at MS?" [EMAIL PROTECTED] | - Libor Michalek http://wwn.nebcorp.com/
