[comp.unix.aux] X11R3 and A/UX

pane@cat.cmu.edu (John Pane) (11/10/88)

I have X11R3 up and running on my A/UX machine, and it's working pretty
well, although a bit slow.  For the first time, I wish my mouse had more
than one button :-).  (Actually, I wish X only used one button, but I don't
think there's much hope there).

I did encounter two problems in getting things working:

I'm using xdmshell and xdm to manage things.  Xdm uses execve() to start the
Xsession file.  Problem is, execve() on A/UX doesn't recognize shell scripts
and automatically fire up /bin/sh to interpret the script.  I had to make a
short C program (call it shXsession), which I listed as the
DisplayManager*session program in xdm-config.  This program just does
another execve(), but explicitly fire's up /bin/sh, with the real Xsession
file as an argument.

The second problem was with xterm.  Any time an xterm exited, it killed all
of my other client processes and logged me out of the session.  This is
because xterm was doing a killpg() and all of the other clients were in the
same process group.  The first set of patches posted by the X Consortium
contain fixes to xterm "for Ultrix 2.3".  These patches also fix this
problem for A/UX.
--
John Pane						pane@cs.cmu.edu
Department of Computer Science 
Carnegie Mellon University				(412) 268-5884
-- 
John Pane						pane@cs.cmu.edu
Department of Computer Science 
Carnegie Mellon University				(412) 268-5884
--