GNU Info

Info Node: (gpm.info)Gpm Internals

(gpm.info)Gpm Internals


Next: The ClientLib Prev: Server Invocation Up: Top
Enter node , (file) or (file)node

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).

Events
Margins
Event Types
Connection Details
Default Handlers

automatically generated by info2www version 1.2.2.9