Xterm [xvt] wrapper system
==========================

Allows you to better run (folding) editors and other utilities that
use lots of keys inside X windows.

Yes this is a mess.  But there is a manual page!

To configure:
------------
Edit site.h and comment out UKC_XDISPLAY unless compiling at UKC, where
xdisplay exists.  Keep UKC_FUDGE_KEYMAPS in.  That allows a script
fix-<terminaltype> to run to do xmodmaps or whatever to fix broken X
keyboards.  See some of the examples fix-* scripts given here.

Edit the Makefile and paths.h to point to your area, probably under
/usr/local rather than /usr/research like we use here.

To build and install
--------------------
Requires an ANSI c compiler (or gcc) unless you edit paths.h and manually
concatenate all the path strings.

	make

Create the directories to install into.  Run:
	make -n install
and see where it puts things.

	make install

Now make symlinks from x<prog> to /usr/.../xterm-wrapper to run <prog>
in the environment e.g. for a program called 'origami'

	ln -s /usr/local/bin/xorigami /usr/local/lib/xterm-wrapper/xterm-wrapper

To use
------
Just run the new program, in this case 'xorigami'

If you just want a shell with the 'right' keymap, do an 'xwrap <shell>' e.g.
	xwrap csh

To see how it all works, check the NOTE

Good luck because this is a *HACK* and I'm not proud of / supporting it.

Dave Beckett, 8th June 1995
