From 43d4ec4076b989858d6834f8c6c0137099ceb522 Mon Sep 17 00:00:00 2001 From: Greg Lehey Date: Sun, 3 Sep 2000 08:06:08 +0000 Subject: Initial import of x2x. Obtained from: David Chaiken x2x allows the keyboard and mouse on one ("from") X display to be used to control another ("to") X display. Since x2x uses the XTEST extension, the "to" X display must support XTEST. In the default interface, x2x puts a window on the "from" display. This window is labeled with the name of the "to" display. Keystrokes typed into this window go to the window on the "to" display that has the input focus. Clicking on the x2x window causes the mouse on the "from" display to control the cursor on the "to" display. Perform- ing a subsequent multiple button click on the "to" display returns control to the "from" display. If the -east or -west options are specified on the command line, x2x starts up with a different interface. When the mouse moves to the (east or west) side of the default screen on the "from" display, the cursor slides over to the "to" display. When the mouse returns to to side of the "to" display that it entered, it slides back onto the "from" display. --- x11-servers/x2x/Makefile | 25 +++++++++++++++++++++++++ x11-servers/x2x/distinfo | 1 + x11-servers/x2x/files/patch-aa | 10 ++++++++++ x11-servers/x2x/pkg-comment | 1 + x11-servers/x2x/pkg-descr | 24 ++++++++++++++++++++++++ x11-servers/x2x/pkg-plist | 3 +++ 6 files changed, 64 insertions(+) create mode 100644 x11-servers/x2x/Makefile create mode 100644 x11-servers/x2x/distinfo create mode 100644 x11-servers/x2x/files/patch-aa create mode 100644 x11-servers/x2x/pkg-comment create mode 100644 x11-servers/x2x/pkg-descr create mode 100644 x11-servers/x2x/pkg-plist (limited to 'x11-servers') diff --git a/x11-servers/x2x/Makefile b/x11-servers/x2x/Makefile new file mode 100644 index 000000000000..1b6350a68cfb --- /dev/null +++ b/x11-servers/x2x/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: x2x +# Date created: 3 September 2000 +# Whom: grog +# +# $FreeBSD$ +# + +PORTNAME= x2x +PORTVERSION= 1.27 +CATEGORIES= x11 +MASTER_SITES= http://gatekeeper.dec.com/pub/DEC/SRC/x2x/ +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= grog@FreeBSD.org + +USE_IMAKE= yes +USE_GMAKE= yes +MAKE_ENV+= MAKE=${GMAKE} +MANCOMPRESSED= yes +MAN1= x2x.1 + +do-install: + cd ${WRKSRC}; make install; make install.man + +.include diff --git a/x11-servers/x2x/distinfo b/x11-servers/x2x/distinfo new file mode 100644 index 000000000000..feb4a72c0621 --- /dev/null +++ b/x11-servers/x2x/distinfo @@ -0,0 +1 @@ +MD5 (x2x-1.27.tar.gz) = 3d1bc863f3209ec37caf7f57bde7e8f0 diff --git a/x11-servers/x2x/files/patch-aa b/x11-servers/x2x/files/patch-aa new file mode 100644 index 000000000000..ceab5355f6f8 --- /dev/null +++ b/x11-servers/x2x/files/patch-aa @@ -0,0 +1,10 @@ +--- Imakefile~ Thu Aug 21 01:44:52 1997 ++++ Imakefile Sun Sep 3 16:44:47 2000 +@@ -10,3 +10,7 @@ + CDEBUGFLAGS = -O + + ComplexProgramTarget(x2x) ++# Added by Greg Lehey for FreeBSD port ++x2x.man: x2x.1 ++ rm -f x2x.man ++ ln x2x.1 x2x.man diff --git a/x11-servers/x2x/pkg-comment b/x11-servers/x2x/pkg-comment new file mode 100644 index 000000000000..92fc8960478c --- /dev/null +++ b/x11-servers/x2x/pkg-comment @@ -0,0 +1 @@ +A program to link multiple X servers together \ No newline at end of file diff --git a/x11-servers/x2x/pkg-descr b/x11-servers/x2x/pkg-descr new file mode 100644 index 000000000000..b421aa4832b4 --- /dev/null +++ b/x11-servers/x2x/pkg-descr @@ -0,0 +1,24 @@ +x2x allows the keyboard and mouse on one ("from") X display to be used +to control another ("to") X display. Since x2x uses the XTEST +extension, the "to" X display must support XTEST. + +In the default interface, x2x puts a window on the "from" display. +This window is labeled with the name of the "to" display. Keystrokes +typed into this window go to the window on the "to" display that has +the input focus. Clicking on the x2x window causes the mouse on the +"from" display to control the cursor on the "to" display. Perform- +ing a subsequent multiple button click on the "to" display returns +control to the "from" display. + +If the -east or -west options are specified on the command line, x2x +starts up with a different interface. When the mouse moves to the +(east or west) side of the default screen on the "from" display, the +cursor slides over to the "to" display. When the mouse returns to to +side of the "to" display that it entered, it slides back onto the +"from" display. + +Unless the -nosel option is specified, x2x relays X selections from +one display to the other. + +Greg Lehey +grog@FreeBSD.org diff --git a/x11-servers/x2x/pkg-plist b/x11-servers/x2x/pkg-plist new file mode 100644 index 000000000000..8e785c9168fe --- /dev/null +++ b/x11-servers/x2x/pkg-plist @@ -0,0 +1,3 @@ +@cwd /usr/X11R6 +bin/x2x +lib/X11/doc/html/x2x.1.html -- cgit v1.2.3