sxpc(1)

NAME
The Simple X Protocol Compressor

SYNOPSIS
This program provides compression of the X protocol stream. It is intended to be used to improve the performance of X applications over a slow internet connection. (e.g. slip, cslip, or term) It assumes a Unix operating system at both ends of the link. Transferring large bitmaps or images through sxpc may be slower than not using it. The algorithms used are geared primarily for the data exchanged during interactive use where the same data may be sent several times with only small changes. (e.g. editing) WARNING WARNING DANGER DANGER If you use this program, use xauth to provide SECURITY, since host-based security will be BYPASSED. See README.xauth. (If somebody knows you are running sxpc they will be able to connect to your server and watch what you type, what shows up on your screen, or type for you... A BAD THING :-()

DESCRIPTION
For notes on using sxpc with term see README.term.

On the X clients' host:

For csh based shells:

setenv DISPLAY `sxpc remote $DISPLAY ` For sh based shells:

DISPLAY=`sxpc remote $DISPLAY`

export DISPLAY

(where $DISPLAY is the display setting you would normally use to connect to the X server from the clients' host.)

On the X server host:
 sxpc local $DISPLAY Killing SXPC To kill sxpc in your .logout. (or any other time.) kill `cat /tmp/sxpc.THEDISPLAYARG` (where THEDISPLAYARG is the value of $DISPLAY used in the sxpc line, NOT the value DISPLAY setting sxpc outputs. ie if you run sxpc remote foo:0.0 it would be /tmp/sxpc.foo:0.0.)

ENVIRONMENT VARIABLES

XCLIENTGATEPORT

Sets the base port on which clients will connect to the X server. This will be added to the display number to get the final port number. The default is 6008 so that by default the DISPLAY setting to connect to sxpc will be localhost:DisplayNumber+8:0.0 XCOMPGATEPORT

Sets the base port on which the sxpc running on the X server host will listen for connections. This will be added to the display number to get the final port number. The default is 4000 so that the sxpc on the X server host will listen on port 4000 (if it is directed to display on display 0.)

AUTHOR
Rob Ryan (robr@cmu.edu)