|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T l
Length: 1678 (0x68e)
Types: TextFile
Names: »localize.xenix«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
└─⟦373604645⟧ »EurOpenD3/news/bnews.2.11/src.tar.Z«
└─⟦3beb569ac⟧
└─⟦this⟧ »src/localize.xenix«
# This is correct for the
# SCO XENIX 286 release 2.2.3
# version. There are so many versions of xenix out there
# that it is probabably wrong for yours. At least this should give
# you a starting point.
#
rm -f Makefile
cp Makefile.dst Makefile
chmod u+w Makefile
ed - Makefile <<'EOF'
/^HOME/s/^HOME/#HOME/
/^UUXFLAGS/s/ -r -z/ -r/
/^SPOOL_DISK/s/\/usr\/spool//
/^DEFS/;a
-DMAILPROGRAM=\"/usr/bin/mail\" \
.
/^fullinstall:/+3;a
-test -d $(DESTDIR)$(BATCHDIR) || mkdir $(DESTDIR)$(BATCHDIR)
chmod 777 $(DESTDIR)$(BATCHDIR)
chown $(NEWSUSR) $(DESTDIR)$(BATCHDIR)
chgrp $(NEWSGRP) $(DESTDIR)$(BATCHDIR)
.
g/^#USG /s///
g/^#V7 /d
g/^#VMS /d
g/^#BSD4_[123] /d
g/#NOTVMS/s/#NOTVMS.*//
g/^MISC *=/s/$/ uname.o/
g/^IBMFLAGS/s/$/ -M2l -LARGE -DM_XENIX/
g/^LIBS/s/$/ -lx -ldbm/
g/termlib/s//curses -ltermcap/
g/^LFLAGS =/s/$/ -F 8000 -m ${@}.map/
g/rm -f $(COMMANDS) $(OTHERS) \*.o a.out/s/a.out/\*.map a.out/
g/-o inews/s/-o/-m inews.map -F 5000 -o/
g/-o readnews/s/-o/-m readnews.map -F 3000 -o/
/^vnews:/+1;s/-o $@ /-F 5000 -m vnews.map -o vnews/
/^checknews:/+1;s/$(LFLAGS)/$(LFLAGS) -F E000/
g/-o expire/s/-o/-F A000 -o/
g/-Dvfork=fork/s///
g/-Dindex=strchr/s///
g/-Drindex=strrchr/s///
g/^SCCSID/s/^/#/
w
q
EOF
rm -f defs.h
cp defs.dist defs.h
chmod u+w defs.h
ed - defs.h <<'EOF'
/ROOTID/s/10/100/
/N_UMASK/s/000/022/
/DFLTSUB/s/general,all.announce/all/
g/#define TMAIL/s//\/\* #define TMAIL/
/PAGE/s/\/usr\/ucb\/more/\/usr\/bin\/more/
/DFTXMIT/s/uux - -r -z/uux - -r/
/UXMIT/s/uux -r -z -c/uux -r/
g/uucpname/s//systemid/
g/\/\* #define LOCKF/s//#define LOCKF/
g/\/\* #define UUNAME/s/...//
/MYORG/s/Frobozz Inc., St. Louis/My Organization, Inc., Hometown, ST/
w
q
EOF