13 Oct
2009
13 Oct
'09
9:52 p.m.
Johannes wrote:
On Tue, Oct 13, 2009 at 06:48:51PM +0200, Stefan Strobl wrote:
2) externally trigger reload I'd like to trigger a page reload externally by another application. I searched a bit about IPC mechanisms of fltk but didn't find any. So I'm thinking about using a UNIX fifo or the system signal SIGUSR2. Do you think this is a good approach?
If you just need to trigger a reload, SIGUSR2 might be ok. For a more general remote control fifo's or maybe stdin might be an option. You can check what other browsers do.
I remember Enrico Weigelt talking some on the list last year about using 9P for things like this. I don't think he implemented anything, though. I have no idea whether it would be trivial or a whole lot of work...