[comp.windows.x] X11R4 - A/UX fixes and comments

kent@ssbell.IMD.Sterling.COM (Kent B. Landfield) (01/12/90)

    # Please note that this message is being posted for another.     #
    # Address any replies to: uunet!anise.acc.com!pst (Paul Traina). #
    # Thanks!                  -Kent+                                #

Here are some comments and fixes for the X11R4 A/UX release (patch level 0):
[sorry these aren't patches, I don't have the original files handy]

This was done on an A/UX 1.1 machine and compiled with gcc 1.35 as available
on anise.acc.com and mthvax.cs.uflorida.edu.

Problems:

#1:	Allows UTMP entries to be done right.  In the same blow, this
	also bypasses the problem that caused xterm to core-dump when using
	-ut (or setting the utmpInhibit resource).  This does not *fix*
	that problem, it just doesn't occur when using SYSV utmp routines.

#2:	SystemV *cannot* execve shell scripts directly,  the code to emulate
	the Berkeley kernel #!/bin/whatever convention was added to session.c,
	but it was never called.

#3:	bsdinst.sh doesn't work, I haven't checked why, just use bsdinstall
	which is supplied in the distribution under ddx/macII/bsdinst.sh

#4:	xinit doesn't pass arguments to the X server properly
	i.e. xinit -- XmacII -logo -v -screen 1 -depth 8 causes the server
	to come back with a help message.

Fixes:

#1
mit/clients/xterm/xterm.c:  line 82
add "#define HAS_UTMP_SYSV" after the #ifdef macII

#2
mit/clients/xdm/session.c: lines 332, 340, and 422
change every occurance of execve(argument1, argument2, argument3)
to read execute (argument2, argument3)

#3
use /etc/bsdinstall instead of bsdinst.sh as the install program
If it's too late to fix your config script, just rename bsdinst.sh
to something else and ln -s /etc/bsdinstall bsdinst.sh.

#4
I haven't fixed this one, I just switched to using xdm instead.
-- 
Don't demand respect from others if you have none for yourself.
				-- Clay Bond
(Another Clay-quote I wish *I* had said first!)

steveg@umd5.umd.edu (Steve Green) (01/13/90)

In article <613@ssbell.IMD.Sterling.COM> kent@ssbell.IMD.Sterling.COM (Kent B. Landfield) writes:
]
]    # Please note that this message is being posted for another.     #
]    # Address any replies to: uunet!anise.acc.com!pst (Paul Traina). #
]    # Thanks!                  -Kent+                                #
]
]Here are some comments and fixes for the X11R4 A/UX release (patch level 0):
][sorry these aren't patches, I don't have the original files handy]
]
]This was done on an A/UX 1.1 machine and compiled with gcc 1.35 as available
]on anise.acc.com and mthvax.cs.uflorida.edu.
]
]Problems:
...
]#4:	xinit doesn't pass arguments to the X server properly
]	i.e. xinit -- XmacII -logo -v -screen 1 -depth 8 causes the server
]	to come back with a help message.
...
]#4
]I haven't fixed this one, I just switched to using xdm instead.

xinit is expecting full path names for the X11 binaries.  xinit uses the / or
./ to determain if the argument is a file.
	xinit -- /usr/bin/X11/XmacII -logo -v -screen 1 -depth 8
or
	xinit -- ./XmacII -logo -v -screen 1 -depth 8
work fine.
--
	-steveg@umd5.umd.edu		..!uunet!mimsy!umd5!steveg
"Ignore the message: 'ld warning: file /tmp/kernAAAa06386 has no relocation
information' if it appears."