home *** CD-ROM | disk | FTP | other *** search
- *** Imakefile Fri Jun 8 15:51:50 1990
- --- Imakefile Fri Jun 1 12:02:59 1990
- ***************
- *** 27,43 ****
- SRCS1 = auth.c daemon.c server.c dpylist.c dm.c error.c \
- file.c greet.c reset.c resource.c protodpy.c policy.c \
- session.c socket.c util.c verify.c Login.c mitauth.c \
- ! cryptokey.c $(DESSRCS)
- OBJS1 = auth.o daemon.o server.o dpylist.o dm.o error.o \
- file.o greet.o reset.o resource.o protodpy.o policy.o \
- session.o socket.o util.o verify.o Login.o mitauth.o \
- ! cryptokey.o $(DESOBJS)
- SRCS2 = xdmshell.c
- OBJS2 = xdmshell.o
- SRCS4 = sessreg.c
- OBJS4 = sessreg.o
- ! PROGRAMS = xdm xdmshell sessreg
-
- #if !HasVoidSignalReturn
- SIGDEFS = -DSIGNALRETURNSINT
- #endif
- --- 27,46 ----
- SRCS1 = auth.c daemon.c server.c dpylist.c dm.c error.c \
- file.c greet.c reset.c resource.c protodpy.c policy.c \
- session.c socket.c util.c verify.c Login.c mitauth.c \
- ! cryptokey.c get_pty.c makeconsole.c $(DESSRCS)
- OBJS1 = auth.o daemon.o server.o dpylist.o dm.o error.o \
- file.o greet.o reset.o resource.o protodpy.o policy.o \
- session.o socket.o util.o verify.o Login.o mitauth.o \
- ! cryptokey.o get_pty.o makeconsole.o $(DESOBJS)
- SRCS2 = xdmshell.c
- OBJS2 = xdmshell.o
- SRCS4 = sessreg.c
- OBJS4 = sessreg.o
- ! SRCS3 = xdmconsole.c xroutines.c
- ! OBJS3 = xdmconsole.o xroutines.o
-
- + PROGRAMS = xdm xdmshell sessreg xdmconsole
- +
- #if !HasVoidSignalReturn
- SIGDEFS = -DSIGNALRETURNSINT
- #endif
- ***************
- *** 68,73 ****
- --- 71,77 ----
- '-DCPP_PROGRAM="$(CPP_PROGRAM)"'
-
- ComplexProgramTarget_1(xdm,$(LOCAL_LIBRARIES), /**/)
- + ComplexProgramTarget_3(xdmconsole,$(XLIB), /**/)
- SingleProgramTarget(xdmshell,$(OBJS2), /**/, /**/)
- SingleProgramTarget(sessreg,$(OBJS4), /**/, /**/)
-
- *** Makefile Fri Jun 8 15:51:51 1990
- --- Makefile Fri Jun 8 15:14:15 1990
- ***************
- *** 82,88 ****
-
- DESTDIR =
-
- ! TOP_INCLUDES = -I$(TOP)
-
- CDEBUGFLAGS = -O
- CCOPTIONS =
- --- 82,88 ----
-
- DESTDIR =
-
- ! TOP_INCLUDES = -I$(INCROOT)
-
- CDEBUGFLAGS = -O
- CCOPTIONS =
- ***************
- *** 101,108 ****
-
- IMAKE_DEFINES =
-
- ! IRULESRC = $(CONFIGSRC)
- ! IMAKE_CMD = $(NEWTOP)$(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES)
-
- ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
- $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
- --- 101,108 ----
-
- IMAKE_DEFINES =
-
- ! IRULESRC = $(CONFIGDIR)
- ! IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
-
- ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
- $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
- ***************
- *** 152,163 ****
-
- INSTAPPFLAGS = $(INSTDATFLAGS)
-
- ! IMAKE = $(IMAKESRC)/imake
- ! DEPEND = $(DEPENDSRC)/makedepend
- ! RGB = $(RGBSRC)/rgb
- ! FONTC = $(BDFTOSNFSRC)/bdftosnf
- ! MKFONTDIR = $(MKFONTDIRSRC)/mkfontdir
- ! MKDIRHIER = /bin/sh $(SCRIPTSRC)/mkdirhier.sh
-
- CONFIGSRC = $(TOP)/config
- CLIENTSRC = $(TOP)/clients
- --- 152,163 ----
-
- INSTAPPFLAGS = $(INSTDATFLAGS)
-
- ! IMAKE = imake
- ! DEPEND = makedepend
- ! RGB = rgb
- ! FONTC = bdftosnf
- ! MKFONTDIR = mkfontdir
- ! MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier.sh
-
- CONFIGSRC = $(TOP)/config
- CLIENTSRC = $(TOP)/clients
- ***************
- *** 185,220 ****
- MKFONTDIRSRC = $(FONTSRC)/mkfontdir
- EXTENSIONSRC = $(TOP)/extensions
-
- ! DEPEXTENSIONLIB = $(USRLIBDIR)/libXext.a
- EXTENSIONLIB = -lXext
-
- ! DEPXLIB = $(DEPEXTENSIONLIB)
- XLIB = $(EXTENSIONLIB) -lX11
-
- ! DEPXAUTHLIB = $(XAUTHSRC)/libXau.a
- ! XAUTHLIB = $(DEPXAUTHLIB)
-
- DEPXMULIB =
- ! XMULIB = -L$(XMUSRC) -lXmu
-
- DEPOLDXLIB =
- ! OLDXLIB = -L$(OLDXLIBSRC) -loldX
-
- DEPXTOOLLIB =
- ! XTOOLLIB = -L$(TOOLKITSRC) -lXt
-
- DEPXAWLIB =
- ! XAWLIB = -L$(AWIDGETSRC) -lXaw
-
- ! LINTEXTENSIONLIB = $(EXTENSIONSRC)/lib/llib-lXext.ln
- ! LINTXLIB = $(XLIBSRC)/llib-lX11.ln
- ! LINTXMU = $(XMUSRC)/llib-lXmu.ln
- ! LINTXTOOL = $(TOOLKITSRC)/llib-lXt.ln
- ! LINTXAW = $(AWIDGETSRC)/llib-lXaw.ln
-
- XWLIBSRC = $(CONTRIBSRC)/toolkits/Xw
- ! DEPXWLIB = $(XWLIBSRC)/libXw.a
- ! XWLIB = $(DEPXWLIB)
-
- DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
-
- --- 185,220 ----
- MKFONTDIRSRC = $(FONTSRC)/mkfontdir
- EXTENSIONSRC = $(TOP)/extensions
-
- ! DEPEXTENSIONLIB =
- EXTENSIONLIB = -lXext
-
- ! DEPXLIB =
- XLIB = $(EXTENSIONLIB) -lX11
-
- ! DEPXAUTHLIB =
- ! XAUTHLIB = -lXau
-
- DEPXMULIB =
- ! XMULIB = -lXmu
-
- DEPOLDXLIB =
- ! OLDXLIB = -loldX
-
- DEPXTOOLLIB =
- ! XTOOLLIB = -lXt
-
- DEPXAWLIB =
- ! XAWLIB = -lXaw
-
- ! LINTEXTENSIONLIB = $(USRLIBDIR)/llib-lXext.ln
- ! LINTXLIB = $(USRLIBDIR)/llib-lX11.ln
- ! LINTXMU = $(USRLIBDIR)/llib-lXmu.ln
- ! LINTXTOOL = $(USRLIBDIR)/llib-lXt.ln
- ! LINTXAW = $(USRLIBDIR)/llib-lXaw.ln
-
- XWLIBSRC = $(CONTRIBSRC)/toolkits/Xw
- ! DEPXWLIB = $(USRLIBDIR)/libXw.a
- ! XWLIB = -lXw
-
- DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
-
- ***************
- *** 236,243 ****
- XDMCONFIGDIR = config/default
- SUBDIRS = $(XDMCONFIGDIR)
-
- LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) \
- ! $(TOP)/lib/Xau/libXau.a $(TOP)/lib/Xdmcp/libXdmcp.a $(XLIB)
- SRCS1 = auth.c daemon.c server.c dpylist.c dm.c error.c \
- file.c greet.c reset.c resource.c protodpy.c policy.c \
- session.c socket.c util.c verify.c Login.c mitauth.c \
- --- 236,245 ----
- XDMCONFIGDIR = config/default
- SUBDIRS = $(XDMCONFIGDIR)
-
- + DEPLIBS =
- +
- LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) \
- ! -lXau -lXdmcp $(XLIB)
- SRCS1 = auth.c daemon.c server.c dpylist.c dm.c error.c \
- file.c greet.c reset.c resource.c protodpy.c policy.c \
- session.c socket.c util.c verify.c Login.c mitauth.c \
- ***************
- *** 296,308 ****
- install.man:: xdm.man
- $(INSTALL) -c $(INSTMANFLAGS) xdm.man $(MANDIR)/xdm.n
-
- - depend:: $(DEPEND)
- -
- - $(DEPEND):
- - @echo "checking $@ over in $(DEPENDSRC) first..."; \
- - cd $(DEPENDSRC); $(MAKE); \
- - echo "okay, continuing in $(CURRENT_DIR)"
- -
- depend::
- $(DEPEND) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
-
- --- 298,303 ----
- ***************
- *** 349,363 ****
-
- clean::
- $(RM_CMD) \#*
- -
- - Makefile:: $(IMAKE)
- -
- - $(IMAKE):
- - @(cd $(IMAKESRC); if [ -f Makefile ]; then \
- - echo "checking $@ in $(IMAKESRC) first..."; $(MAKE) all; else \
- - echo "bootstrapping $@ from Makefile.ini in $(IMAKESRC) first..."; \
- - $(MAKE) -f Makefile.ini BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS); fi; \
- - echo "okay, continuing in $(CURRENT_DIR)")
-
- Makefile::
- -@if [ -f Makefile ]; then \
- --- 344,349 ----
- *** dm.c Fri Jun 8 15:51:52 1990
- --- dm.c Fri Jun 1 11:17:13 1990
- ***************
- *** 45,50 ****
- --- 45,51 ----
- static SIGVAL StopAll (), RescanNotify ();
- void StopDisplay ();
- static void RestartDisplay ();
- + int tty, pty;
-
- #ifndef NOXDMTITLE
- static char *Title;
- ***************
- *** 81,86 ****
- --- 82,91 ----
- }
- if (debugLevel == 0 && daemonMode)
- BecomeDaemon ();
- + /*
- + * grab the console so no messages go there
- + */
- + getttys();
- if (oldpid = StorePid ())
- {
- if (oldpid == -1)
- *** session.c Fri Jun 8 15:51:54 1990
- --- session.c Fri Jun 1 11:17:15 1990
- ***************
- *** 96,106 ****
- --- 96,112 ----
- exit(UNMANAGE_DISPLAY);
- }
-
- +
- + /* import the tty/pty pair from where they were initialised...Chris */
- + extern int tty, pty;
- +
- +
- ManageSession (d)
- struct display *d;
- {
- int pid;
- Display *dpy, *InitGreet ();
- + int childpid;
-
- Debug ("ManageSession %s\n", d->name);
- (void)XSetIOErrorHandler(IOErrorHandler);
- ***************
- *** 112,117 ****
- --- 118,127 ----
- LoadXloginResources (d);
- Debug ("name now %s\n", d->name);
- dpy = InitGreet (d);
- + /*
- + * Step 5a: put up a console window...Chris.
- + */
- + childpid=make_console();
- if (d->authorization && d->authFile)
- {
- Debug ("Done with authorization file %s, removing\n", d->authFile);
- ***************
- *** 194,199 ****
- --- 204,213 ----
- */
- Debug ("Source reset program %s\n", d->reset);
- source (&verify, d->reset);
- + /*
- + * make sure that the console got nuked along with everything else...Chris.
- + */
- + kill_console(childpid);
- SessionExit (d, OBEYSESS_DISPLAY);
- }
-
-