DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T l

⟦2f294a039⟧ TextFile

    Length: 1512 (0x5e8)
    Types: TextFile
    Names: »localize.7300«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/news/src/localize.7300« 

TextFile

#localize.7300 - for AT&T UNIX PC 7300 and 3b1 system, to use the shared
# library.
#From philabs!hhb!kosman!kevin Sun Nov 9 12:00:17 1986
rm -f Makefile
cp Makefile.dst Makefile
chmod u+w Makefile

ed - Makefile  <<'EOF'
g/^#USG /s///
g/^#V7 /d
g/^#VMS /d
g/^#BSD4_[123] /d
g/#NOTVMS/s/#NOTVMS.*//
/CFLAGS[	 ]*=/t.
.s/CFLAGS/MFLAGS/p
.s/-Dindex.*strrchr//p
/-o compress compress.c/s//compress.c -o compress/p
g/Makefile.dst/s//Makefile/p
/-o postnews/s/$(CFLAGS) //
g/$(CFLAGS) $(LFLAGS)/t.\
.-1s/$(LFLAGS)/-c/\
s/ -o .*//p\
.+1s/ $(CFLAGS)//\
s/\.c/.o/p
/-c compress.c/s/CFLAGS/MFLAGS/p
g/$(LFLAGS)/s;$(LFLAGS);& /lib/crt0s.o shlib.ifile;\
s/$(CC)/$(LD)/
g/-ltermlib/s/-ltermlib//
g/chmod 755.*inews/s/755/6755/p
/UUXFLAGS =/s/ -z//p
w
q
EOF

rm -f defs.h
cp defs.dist defs.h
chmod u+w defs.h

ed - defs.h <<'EOF'
/DFLTSUB/s/".*"/"all"/p
/ROOTID/s/10/101/p
/TMAIL/s;^;/*;p
/PAGE/s;/usr/ucb/more;/usr/bin/more;p
/DFTXMIT/s/ -z//p
/UXMIT/s/ -z//p
/UNAME/s;/\* ;;p
/DOXREF/s;/\* ;;p
/MYORG/s;".*";"/etc/MYORG";p
w
q
EOF

#  specific stuff to tailor the shared-libarary ifile.  The news software
#  duplicates some code in the shared library and its easiest just to avoid
#  the error messages.  Also, the ifile for some reason does not define
#  daylight (from ctime(3c)) -- as near as I can tell, this is where it goes.

rm -f shlib.ifile
cat /lib/shlib.ifile >shlib.ifile
chmod u+w shlib.ifile

ed - shlib.ifile <<'EOF'
/^PC /d
/^BC /d
/^UP /d
/^ospeed /d
/^COLS /d
/^_sibuf /i

daylight = 0x303658;

.
w
q
EOF