Newsgroups: alt.folklore.computers From: jolomo@netcom.com (Joey Morris) Subject: PDP-11 emulation and Unix v7 Message-ID: Organization: Bozo Central in Atlanta X-Newsreader: TIN [version 1.2 PL2] Date: Fri, 23 Apr 1999 18:06:51 GMT Lines: 21 Sender: jolomo@netcom8.netcom.com Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!isdnet!howland.erols.net!ix.netcom.com!jolomo Hey, I've been playing with Bob Supnik's pdp11 simulator and the v7 disk images (really cool stuff) and I was wondering if there was a clean way to shutdown unix in those days. init doesn't take arguments, there's no halt/shutdown what did people do back then? Has anybody else been using this setup? The only way I've found to transfer files in and out the emulator is the following: sim> set rl1 RL02 sim> att rl1 rawdisk then after booting do tar cf /dev/rl1 whatever I couldn't get the tm tape devices to play nice (blocksize problems) fun -- Joe Morris, SysAdmin and Not Insane 253 days, 5 hours, 53 minutes, 30 seconds (GMT) until Y2K. ###### Newsgroups: alt.folklore.computers Subject: Re: PDP-11 emulation and Unix v7 References: Reply-To: sarr@umich.edu Organization: University of Michigan From: sarr@qix.rs.itd.umich.edu (Sarr J. Blumson) Lines: 16 Message-ID: Date: Fri, 23 Apr 1999 21:25:36 GMT NNTP-Posting-Host: 141.211.63.87 X-Trace: news.itd.umich.edu 924902736 141.211.63.87 (Fri, 23 Apr 1999 17:25:36 EDT) NNTP-Posting-Date: Fri, 23 Apr 1999 17:25:36 EDT Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!news.belnet.be!newspump.monmouth.com!newspeer.monmouth.com!cloudbreak.rs.itd.umich.edu!news.itd.umich.edu!sarr In article , Joey Morris wrote: >Hey, I've been playing with Bob Supnik's pdp11 simulator >and the v7 disk images (really cool stuff) and I was wondering >if there was a clean way to shutdown unix in those days. >init doesn't take arguments, there's no halt/shutdown >what did people do back then? Just run "sync" twice and shut if off IIRC. fsck would run when you rebooted, but it wouldn't find any problems and the disks were small... -- -------- Sarr Blumson sarr@umich.edu voice: +1 734 764 0253 home: +1 734 665 9591 ITD, University of Michigan http://www-personal.umich.edu/~sarr/ ###### Newsgroups: alt.folklore.computers From: eric@fudge.uchicago.edu (Eric Fischer) Subject: Re: PDP-11 emulation and Unix v7 X-Nntp-Posting-Host: fudge.uchicago.edu Message-ID: Sender: news@midway.uchicago.edu (News Administrator) X-Newsposter: Pnews 4.0-test51 (15 Jan 97) Organization: The University of Chicago References: Date: Fri, 23 Apr 1999 22:57:05 GMT Lines: 17 Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!news.maxwell.syr.edu!newsswitch.lcs.mit.edu!uchinews2!uchinews!not-for-mail Joey Morris wrote: > Hey, I've been playing with Bob Supnik's pdp11 simulator > and the v7 disk images (really cool stuff) and I was wondering > if there was a clean way to shutdown unix in those days. > init doesn't take arguments, there's no halt/shutdown > what did people do back then? I don't know the suggested procedure, but the v7 manpage for init(8) notes that you can drop from multiuser to single user mode by doing "kill -1 1" to send a signal to init. Once you're in single user mode, it should presumably be safe to quit the simulator after you've done a couple of syncs. eric ###### Newsgroups: alt.folklore.computers Subject: Re: PDP-11 emulation and Unix v7 References: Organization: Plethora . Net - More net, less spam! X-Newsreader: trn 4.0-test70 (17 January 1999) From: seebs@plethora.net (Peter Seebach) Lines: 18 Message-ID: Date: Sat, 24 Apr 1999 03:11:42 GMT NNTP-Posting-Host: 205.166.146.8 X-Complaints-To: abuse@visi.com X-Trace: ptah.visi.com 924923502 205.166.146.8 (Fri, 23 Apr 1999 22:11:42 CDT) NNTP-Posting-Date: Fri, 23 Apr 1999 22:11:42 CDT Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!feed2.news.luth.se!luth.se!feed1.news.rcn.net!rcn!chippy.visi.com!news-out.visi.com!ptah.visi.com!not-for-mail In article , Eric Fischer wrote: >I don't know the suggested procedure, but the v7 manpage >for init(8) notes that you can drop from multiuser to >single user mode by doing "kill -1 1" to send a signal >to init. Once you're in single user mode, it should >presumably be safe to quit the simulator after you've >done a couple of syncs. Weird. In BSD Unix, it's "kill 1", because "kill -1 1" re-reads /etc/ttys and otherwise tells init to stay running but reset. -s -- Copyright 1999, All rights reserved. Peter Seebach / seebs@plethora.net C/Unix wizard, Pro-commerce radical, Spam fighter. Boycott Spamazon! Will work for interesting hardware. http://www.plethora.net/~seebs/ Visit my new ISP --- More Net, Less Spam! ###### From: "John A. Limpert" Newsgroups: alt.folklore.computers Subject: Re: PDP-11 emulation and Unix v7 Date: Sat, 24 Apr 1999 11:22:09 -0400 Organization: RadixNet Internet Services Lines: 22 Message-ID: <7fsngj$62u$1@news1.Radix.Net> References: NNTP-Posting-Host: p36.a3.du.radix.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!news.belnet.be!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newspeer1.nac.net!news1.radix.net!not-for-mail Joey Morris wrote in message news:jolomoFAnMBF.3Jq@netcom.com... > Hey, I've been playing with Bob Supnik's pdp11 simulator > and the v7 disk images (really cool stuff) and I was wondering > if there was a clean way to shutdown unix in those days. > init doesn't take arguments, there's no halt/shutdown > what did people do back then? I used to do the following. $ telinit s [wait for init to switch system to single-user mode] $ sync $ sync [halt system] This was on a Tektronix 8560 (LSI-11/23 UNIX). ###### From: mwandel@nortel.ca (Markus Wandel) Newsgroups: alt.folklore.computers Subject: Re: PDP-11 emulation and Unix v7 Date: 28 Apr 1999 11:41:50 GMT Organization: Nortel North America, Ottawa, Ontario Lines: 39 Message-ID: <7g6s5u$soj$1@bcarh8ab.ca.nortel.com> References: NNTP-Posting-Host: bcarse13.ca.nortel.com Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!newscore.univie.ac.at!howland.erols.net!torn!qcarh002.nortelnetworks.com!bcarh189.ca.nortel.com!bmerhc5e.ca.nortel.com!bcarh8ab.ca.nortel.com!not-for-mail In article , Joey Morris wrote:i >Hey, I've been playing with Bob Supnik's pdp11 simulator >and the v7 disk images (really cool stuff) ... Is it just me or is this stuff a bit hard to use for non-PDP11-veterans like this clueless spring chicken here (me, I mean.) But I've often wondered what the real thing, of those famous 1978 manuals, would be like. It runs great on my 450MHz overclocked Celeron Linux box, not blazingly fast but probably fine by 1978 standards. It only takes a couple of seconds to compile the "hello world" program for example. Anyway to make it easier for other clueless newbies, I've figured it out and posted a walkthrough on my web page, at http://www.playground.net/~mwandel/unix7.html One thing this finally let me do is try out the "learn" command. The stuff is all there but needs a little bit of munging, for example to unpack the "editor" lessons you need to do something like # cd /usr/lib/learn # mkdir play # chmod 777 play # mkdir editor # cd editor # ar x ../editor.a (this is from memory but should be right.) Then logged in as any user you can type "learn" and choose the subject "editor". Proceed similarly for the other subjects. Now could someone figure out how to make the "ps" command work? I've figured out that the kernel must be accessable as /unix, but now it wants /dev/swap and there is none in the disk image. Markus ###### From: David L Newsgroups: alt.folklore.computers Subject: Re: PDP-11 emulation and Unix v7 Date: 28 Apr 1999 20:25:48 GMT Organization: I need to put my ORGANIZATION here. Lines: 21 Message-ID: <7g7qsc$ie2$1@nw001t.infi.net> References: <7g6s5u$soj$1@bcarh8ab.ca.nortel.com> NNTP-Posting-Host: elektra.sysun.com X-Newsreader: TIN [UNIX 1.3 unoff BETA release 961012] Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!news.belnet.be!newspump.monmouth.com!newspeer.monmouth.com!newsswitch.lcs.mit.edu!newsxfer.visi.net!news.infi.net!elektra.sysun.com!not-for-mail In alt.folklore.computers Markus Wandel wrote: > Now could someone figure out how to make the "ps" command work? I've figured > out that the kernel must be accessable as /unix, but now it wants /dev/swap > and there is none in the disk image. This baffled me for a while too. The solution is to go to the /dev directory and make a link from swap to rl0. cd /dev ln rl0 swap Then, the ps caommand will work. To logon to a working version of this over the web, visit my online software museum at http://www.sysun.com/museum. Not only 7th edition unix but also Altair Basic, CP/M, and RDOS are there. More to follow when I have the time. All using the Supnik emulators or variations I've written. Dutch ###### From: norris@mech.eng.usyd.edu.au Newsgroups: alt.folklore.computers Subject: Re: PDP-11 emulation and Unix v7 Date: 29 Apr 1999 00:16:30 GMT Organization: The University of Sydney, Australia Lines: 23 Message-ID: <7g88cu$8bg$1@metro.ucc.usyd.edu.au> References: NNTP-Posting-Host: ebb.mech.eng.usyd.edu.au X-Trace: metro.ucc.usyd.edu.au 925344990 8560 129.78.14.203 (29 Apr 1999 00:16:30 GMT) X-Complaints-To: usenet@news.usyd.edu.au NNTP-Posting-Date: 29 Apr 1999 00:16:30 GMT User-Agent: tin/pre-1.4-981114 ("The Watchman") (UNIX) (Linux/2.0.30 (i586)) Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!News.Amsterdam.UnisourceCS!uunet!ams.uu.net!newsfeed.amsterdam.nl.net!sun4nl!newsfeed.berkeley.edu!intgwpad.nntp.telstra.net!news1.optus.net.au!optus!news.usyd.edu.au!not-for-mail Joey Morris expounded: : Has anybody else been using this setup? The only way I've found : to transfer files in and out the emulator is the following: You can always mount the filesystem under Linux. Jonathan Naylor has patched the Linux sysv filesystem module to mount pdp11 7th Edition filesystems. I am not sure if he has put the patch into the mainstream kernal yet. I have written a module for accessing the 5th and 6th Edition filesystems, but it is read only. Ciao, -- Stuart Norris norris@mech.eng.usyd.edu.au Mechanical Engineering,University of Sydney,NSW 2006 wk:+(61 2) 9351-2272 http://www.maths.unsw.edu.au/~norris hm:+(61 2) 9326-5276