Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!genrad!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.micro.att,net.unix-wizards Subject: Re: Re: instability in Berkeley versus AT&T releases Message-ID: <2543@sun.uucp> Date: Fri, 2-Aug-85 01:24:00 EDT Article-I.D.: sun.2543 Posted: Fri Aug 2 01:24:00 1985 Date-Received: Sun, 4-Aug-85 06:11:30 EDT References: <2067@ucf-cs.UUCP> <363@cuae2.UUCP> <2423@sun.uucp> <406@petrus.UUCP> <307@baylor.UUCP> <2503@sun.uucp> <1346@cbosgd.UUCP> Organization: Sun Microsystems, Inc. Lines: 29 Xref: linus net.micro.att:408 net.unix-wizards:11361 > Surprise, Guy, but 4.2BSD really CAN run many V6 binaries. ...However, this > is misleading. Certainly is. 4.2BSD can run PDP-11 V6 binaries (there are other V6 binaries), but V7 can't. ("stat" changed radically, and unlike the V7/4.2BSD change to "stat" it isn't source-compatible or binary-compatible. "seek" got replaced by "lseek".) 4.2 can do it because the compatibility-mode emulator simulates the system calls, and can simulate V6 calls as well as V7 ones. > not on a Sun or other 4.2BSD machine (where you won't find zork or chess.) For what it's worth, my Sun UNIX 2.0 manual has a section CHESS(6) - somebody here rewrote the assembler-language part of "chess" in 68000 assembler language. > Nonetheless, most V7 programs will compile and run happily on 4BSD, which > is not true of System V. Depends on how you define "most". V7 programs which assume "read"s and "write"s on slow devices return EINTR when a signal breaks through them don't run happily on 4.2BSD. S5 programs that don't use any library routines not in V7 (other than "strchr"/"strrchr") and don't do terminal "ioctl"s will (modulo a couple of exceptions, I suspect) compile and run happily on V7, 4.1BSD, 4.2BSD, ... (S5 programs that *do* use library routines not in V7 won't work, but then 4.2BSD programs which use library routines not in V7 won't work on V7 or S5 either.) Guy Harris