lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Problem with ^Z suspending - so far...


From: Kari E. Hurtta
Subject: Re: lynx-dev Problem with ^Z suspending - so far...
Date: Thu, 28 Jan 1999 15:31:25 +0200 (EET)

Bela Lubkin:
> A stronger solution is for the job-control-aware program to establish
> itself as a separate pgrp, and make that the foreground group.  Then it
> will receive signals, but anything else in the session won't.  Then, in
> its stop-signal handler, it would need to cede control back to the
> parent (by changing the foreground pgrp, then sending it an appropriate
> sort of stop signal).  This is complex -- have to deal with situations
> where there is no parent (exec'd from a child of init), where the parent
> subsequently dies; also have to deal sensibly with children, both non-
> interactive (NSL_FORK child, gzcat, etc.) and interactive ('!' = SHELL).
> 
> Complex, but doable.  Shells do it.  You can run ash from bash from csh,
> run programs underneath that, job control them, and get sane results
> (usually).

Yes. That was it what I mentioned that I have done once [1].

/ Kari Hurtta


[1]
Oftp.funet.fi: /pub/unix/tools/kehpager-* I think.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]