R. Clayton (rclayton@monmouth.edu)
(no date)
I've made 5 puzzles available in the class directory pa6 along with a viewer
for looking at the puzzles or their solutions.
The viewer reads from std-in either a puzzle or its solution and displays it;
type 'q' in the view window to quit.
You must be sitting in front of a system that's running the X window system to
to use tgview; if you are sitting in front of a system that's not running the X
window system, you can't use tgview.
If you are sitting in front of a cs lab machine, a pc running linux, or an sgi
and you're running a window manager, then you're sitting in front of a system
running the X window system and you can use tgview.
If you're sitting in front of a pc running ms software, then you are sitting in
front of a system that is not running the X window system and you can't use
tgview.
However, you may still have problems if you're sitting in from of a system
running the X window system. If you have remotely logged into another system
(using telnet, rlogin, or rsh) and you're trying to run tgview on the remote
system, you have to also do the following:
1 Find the name of your local system using the "hostname" command.
2 Set and export the DISPLAY environment variable on the remote system to
localsystemname:0.0, where localsystemname is the name of your local system.
For example if the name of your local system is cslab18, then you would set
DISPLAY to cslab18:0.0 on the remote system.
3 On the local host, type "xhost +"; you should get an message like "access
control disabled, clients can connect from any host". If you're paranoid,
you type (on the local host) "xhost remotesystemname", where
remotesystemname is the name of the remote system.
4 You should now be able to run tgview on the remote system.
This archive was generated by hypermail 2.0b3 on Thu Dec 19 2002 - 20:30:05 EST