Path: utzoo!attcan!uunet!ssbell!kent From: kent@ssbell.IMD.Sterling.COM (Kent B. Landfield) Newsgroups: comp.windows.x Subject: X11R4 - A/UX fixes and comments Message-ID: <613@ssbell.IMD.Sterling.COM> Date: 12 Jan 90 01:09:24 GMT Sender: kent@ssbell.IMD.Sterling.COM Organization: Sterling Software, FSG-IMD, Bellevue, NE. Lines: 51 # 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!)