summaryrefslogtreecommitdiff
path: root/x11/dxpc
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-01-29 13:36:19 +0000
committerfrueauf <frueauf>1998-01-29 13:36:19 +0000
commitc9a5955a56bf1ff5fda7dd7e3839786c1a5da4d7 (patch)
tree87ac31dd415d8c011517212aa381a111775fcbf2 /x11/dxpc
parent268bfad88fbff97a5ce52922a924da96f3b35dc9 (diff)
downloadpkgsrc-c9a5955a56bf1ff5fda7dd7e3839786c1a5da4d7.tar.gz
initial pkg/* files for package "dxpc".
Diffstat (limited to 'x11/dxpc')
-rw-r--r--x11/dxpc/pkg/COMMENT1
-rw-r--r--x11/dxpc/pkg/DESCR50
-rw-r--r--x11/dxpc/pkg/PLIST3
3 files changed, 54 insertions, 0 deletions
diff --git a/x11/dxpc/pkg/COMMENT b/x11/dxpc/pkg/COMMENT
new file mode 100644
index 00000000000..1ffe7933779
--- /dev/null
+++ b/x11/dxpc/pkg/COMMENT
@@ -0,0 +1 @@
+A Differential X Protocol Compressor.
diff --git a/x11/dxpc/pkg/DESCR b/x11/dxpc/pkg/DESCR
new file mode 100644
index 00000000000..deb4b412d47
--- /dev/null
+++ b/x11/dxpc/pkg/DESCR
@@ -0,0 +1,50 @@
+dxpc is an X protocol compressor designed to improve the
+speed of X11 applications run over low-bandwidth links
+(such as dialup PPP connections).
+
+dxpc consists of two processes:
+1. a Client Proxy that runs on the "remote" machine (the machine where
+ the X clients are running)
+2. a Server Proxy that runs on the "local" machine (the machine where
+ the X server is running)
+
+(Starting in the dxpc-3.0, release, the Client Proxy and Server Proxy
+are instances of the same program, called "dxpc"; command-line arguments
+tell the program whether it is acting as a Client Proxy or a Server Proxy.)
+
+The Client Proxy mimics an X server. X client applications connect
+to the Client Proxy using display "unix:8" (or "<hostname>:8"; dxpc
+supports both UNIX domain and TCP sockets). The Client Proxy receives
+X requests from the application, compresses them, and sends them to
+the Server Proxy. The Server Proxy uncompresses the requests and
+sends them to the real X server. Similarly, the Server Proxy receives
+X events, replies, and errors from the real X server. It compresses
+these messages and sends them to the Client Proxy, which uncompresses
+them and sends them to the client application.
+
+dxpc attempts to exploit patterns in X protocol messages to limit
+the amount of data sent between the Client Proxy and Server Proxy.
+For many X message types, each field has a high probability of having
+the same value as it had in some previous message of the the same type.
+For such fields, dxpc maintains caches of the last 'n' values, with a
+least-recently-used replacement policy. If a field value in a new
+message is already present in the corresponding cache, dxpc transmits
+the value's index within the cache rather than the value itself.
+Because the number of bits needed to represent this index is typically
+much smaller than the number of bits needed to represent the value
+itself, transmission of cache indices typically results in a
+significant reduction in the number of bytes transmitted over
+the low-bandwidth link.
+
+In other cases, the value of a field in an X message may differ from
+that field's value in the last message of the same type by a small
+value. Some X messages contain sequence numbers or timestamps that
+have this property. X requests that create new objects also tend
+to have this property; in a "Create Window" request, for example,
+the value of the "Window ID" being created is typically equal to
+"(Window ID of the last window created) + (some small positive integer)."
+For fields like these, dxpc transmits the difference between the field
+value in the new message and the value of the corresponding field in
+the previous message of the same type. This value usually is a
+small number that can be encoded in far fewer bits than the actual
+field value.
diff --git a/x11/dxpc/pkg/PLIST b/x11/dxpc/pkg/PLIST
new file mode 100644
index 00000000000..e579dd79a6c
--- /dev/null
+++ b/x11/dxpc/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 1998/01/29 13:36:22 frueauf Exp $
+bin/dxpc
+man/man1/dxpc.1