1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Initial import of x2x.

Obtained from:	 David Chaiken <chaiken@pa.dec.com>

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.
This commit is contained in:
Greg Lehey 2000-09-03 08:06:08 +00:00
parent 21680b5ba9
commit 43d4ec4076
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32224
6 changed files with 64 additions and 0 deletions

25
x11-servers/x2x/Makefile Normal file
View File

@ -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 <bsd.port.mk>

1
x11-servers/x2x/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (x2x-1.27.tar.gz) = 3d1bc863f3209ec37caf7f57bde7e8f0

View File

@ -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 <grog@FreeBSD.org> for FreeBSD port
+x2x.man: x2x.1
+ rm -f x2x.man
+ ln x2x.1 x2x.man

View File

@ -0,0 +1 @@
A program to link multiple X servers together

24
x11-servers/x2x/pkg-descr Normal file
View File

@ -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

View File

@ -0,0 +1,3 @@
@cwd /usr/X11R6
bin/x2x
lib/X11/doc/html/x2x.1.html