gpm: Gpm Internals

 
 3 Gpm Internals
 ***************
 
 The server is organized as a main loop built around a 'select()' system
 call.  It responds both to mouse events and to input from the clients,
 which are connected to the server through a unix domain socket.  The
 connection is used to tell the server what a client is interested in,
 and to get mouse events.
 
    When no clients are connected to the active console, the server runs
 the selection mechanism (cut and paste of text).  The selection
 mechanism is a simple and well-designed application, whose behaviour can
 be cloned by clients, by telling the server to inherit the default
 response for certain mouse events (motion being the most interesting).
 

Menu