gpm: Xterm

 
 4.4 Running under 'xterm'
 =========================
 
 As of release 0.18, gpm-based applications can run under xterm without
 any need for recompilation.  The library is designed to convert xterm
 mouse events to gpm-style structures, so that the client will get the
 same events it got under the Linux console.  Moreover, a source file
 'sample/gpm-xterm.c' is available to mimic libgpm under a different OS
 than Linux.  Porting to other text-based consoles is an open issue, but
 I myself have Linux alone.
 
    The goal is to provide a uniform mouse interface with both xterm and
 the Linux console.  Some features of libgpm would not be available, but
 if you run under xterm you know what you get, so you couldn't use them
 on the console anyway.
 
    The 'sample' directory in the distribution tree is meant to show how
 a simple mouse-sensitive application can be easily autoconfigured and
 compiled.  The 'rmev' program has proved to compile and run smoothly
 under Linux (both with and without 'libgpm.a'), SunOS-4, Solaris-5,
 hpux-8.x and Ultrix-3.0.