CSc 4110/6110 - Email log

For the font, you may get an error when you run the Xwindows program on the iPAQ. If so, switch the following lines in the Xwindow.h file (and Xwindow_iPAQ.h file).

#define DEFAULT_FONT "8x16"

#define DEFAULT_FONT "9x15" // or "fixed"


From Sig:
I have been unable to locate the arm-linux-g++ compiler on the Linux PC's in the lab.

It is available:
cs400_111:~$ cd /skiff/local/bin
cs400_111:/skiff/local/bin$ ls -l arm*g++
-rwxr-xr-x 2 root root 206390 Feb  1  2000 arm-linux-g++

But you may have to log in to one of the workstations to see it. I logged into machine cs400_111 above after logging into Qubit. The "skiff" directory does not show up on Qubit. This is what I get when I log into Qubit and cd to the root:
-bash-3.00$ cd /
-bash-3.00$ ls
bin   dev  home    lib         media  mnt  proc  sbin     srv  tmp  var
boot  etc  initrd  lost+found  misc   opt  root  selinux  sys  usr

Then when I ssh into a specific machine:
-bash-3.00$ ssh 192.168.1.111
cscmcw's password:
Last login: Thu Jan 31 20:31:39 2008 from qubit.cs.gsu.edu
cs400_111:~$ cd /
cs400_111:/$ ls
bin    dev   initrd          lib         media  proc  skiff  tmp  vmlinuz
boot   etc   initrd.img      local       mnt    root  srv    usr  vmlinuz.old
cdrom  home  initrd.img.old  lost+found  opt    sbin  sys    var


From Sig:
I am on my 6th version [of lab 2] trying to get Xwindow to cooperate. Things will display sometimes, sometimes they won't, execution will hang other times, and all I am doing is a simple "show() function" in a class using XFillpolygon.

The key is the "Check_Event()" method. I have this line in one of the examples:
if (mywindow3.Check_Event()) {} // Needed or text will not display

I think the update itself is an event. Try calling this method whenever you want an update to the graphics.