Idle Users

Bob Rasmussen ras at anzio.com
Thu Jun 17 17:11:42 PDT 2004


On Thu, 17 Jun 2004, Fairlight wrote:

> Ahhhhhh.  Okay, that wasn't clear from your first post.  Sorry, Bob.  I
> assumed you were doing one or the other, not that there was this particular
> chain of events--which your solution actually makes sense for.  Out of
> curiosity, how does it handle Alt-F4?  Is that the same as 'X', another
> event, or worse--an untrappable event?  Although, I seem to recall that you
> can take over the binding for that, can't you?

Because lots of function keys are needed by many users, we never even
consider Alt-F4 as synonymous with Quit. We capture it, and allow the user
to attach a keymap to it.

>
> > I have brainstormed on how I might improve on this situation. Both telnet
> > and ssh allow the sending of several arbitrary signals to the server.
> > Maybe I could offer an option where, on WM_QUIT, Anzio would send a hangup
> > signal to the server. If the server trapped out the hangup, everything
> > would stay running. If the hangup was handled normally, the server would
> > close its end of the connection, and Anzio would exit gracefully.
> >
> > Reactions?
>
> At the risk of sounding ignorant, I'll bite.  Why would telnetd or sshd
> themselves ever trap a HUP and not pass it along to the child process
> group?

You misunderstand. It's not that telnetd or sshd would trap the HUP. They
pass it along or even generate it in the case where the connection goes
down. The problem is when some shell script in the process tree has
trapped the HUP, or when the runtime ignores it (not the case with fP).

Thanks for your comments on 'screen', too.

Regards,
....Bob Rasmussen,   President,   Rasmussen Software, Inc.

personal e-mail: ras at anzio.com
 company e-mail: rsi at anzio.com
          voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
            fax: (US) 503-624-0760
            web: http://www.anzio.com


More information about the Filepro-list mailing list