From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Wed, 08 Apr 2009 15:18:14 -0700 Subject: [sup-talk] Read only mode for sup In-Reply-To: <20090408170108.GW11701@pimlott.net> References: <1239128578-sup-6684@ausone.local> <1239146860-sup-6624@baad> <1239179745-sup-912@ausone.inria.fr> <1239193758-sup-8985@baad> <20090408170108.GW11701@pimlott.net> Message-ID: <1239227396-sup-782@entry> Reformatted excerpts from Andrew Pimlott's message of 2009-04-08: > I've always wondered, could a mailer use job control, like a shell, to > allow it to have multiple sub-processes and switch among them? Then, > you could suspend your editor and get back to sup, and later resume > your editor. The problem is that when the editor is in the foreground, it has control. So I don't think Sup would be able to suspend it. But it might be possible to do something like catch SIGTSTP signals when the editor is running, and file those process ids away for later resumption. You'd have to suspend from within the editor, but the rest of the behavior might be close to what you want. Interesting idea. -- William