`ox_reset',`ox_intr',`register_handler'
---------------------------------------

ox_reset(NUMBER)
     :: Resets an OpenXM server

ox_intr(NUMBER)
     :: Sends `SIGINT' to an OpenXM server

register_handler(FUNC)
     :: Registers a function callable on a keyboard interrupt.

RETURN
     1

NUMBER
     integer(process identifier)

FUNC
     functor or 0

   * `ox_reset()' resets a process whose identifier is NUMBER.  After
     its execution the process is ready for receiving data.

   * After executing `ox_reset()', sending/receiving buffers and stream
     buffers are assured to be empty.

   * Even if a process is running, the execution is safely stopped.

   * `ox_reset()' may be used prior to a distirbuted computation.  It
     can be also used to interrupt a distributed computation.

   * `ox_intr()' sends `SIGINT' to a process whose identifier is
     NUMBER. The action of a server against `SIGINT' is not specified
     in OpenXM. `ox_asir' immediately enters the debug mode and pops up
     an window to input debug commands on X window system.

   * `register_handler()' registers a function FUNC().  If `u' is
     specified on a keybord interrupt, FUNC() is executed before
     returning the toplevel.  If `ox_reset()' calls are included in
     FUNC(), one can automatically reset OpenXM servers on a keyboard
     interrupt.

   * If FUNC is equal to 0, the setting is reset.

     [10] ox_launch();
     0
     [11] ox_rpc(0,"fctr",x^100-y^100);
     0
     [12] ox_reset(0); /* usr1 : return to toplevel by SIGUSR1 */
     1                 /* is displayed on the xterm.           */

     [340] Procs=[ox_launch(),ox_launch()];
     [0,1]
     [341] def reset() { extern Procs; map(ox_reset,Procs);}
     [342] map(ox_rpc,Procs,"fctr",x^100-y^100);
     [0,0]
     [343] register_handler(reset);
     1
     [344] interrupt ?(q/t/c/d/u/w/?) u
     Abort this computation? (y or n) y
     Calling the registered exception handler...done.
     return to toplevel

References
     *Note `ox_rpc ox_cmo_rpc ox_execute_string': ox_rpc ox_cmo_rpc
     ox_execute_string

