{"id":350,"date":"2011-11-12T23:31:01","date_gmt":"2011-11-12T22:31:01","guid":{"rendered":"http:\/\/pdp2011.sytse.net\/wordpress\/?page_id=350"},"modified":"2011-11-12T23:31:01","modified_gmt":"2011-11-12T22:31:01","slug":"unix-v5","status":"publish","type":"page","link":"https:\/\/pdp2011.sytse.net\/wordpress\/pdp-11\/sessions\/unix-v5\/","title":{"rendered":"Unix V5"},"content":{"rendered":"<p>Session captured from a DE1 board running a 11\/45 configured with a RK11 controller and a single console. The RK05 image is the Unix V5 image that can be found on the SIMH website.<\/p>\n<pre>\nHello, world [t44]: cpu 11\/45\nboot from rk:\n@<strong>unix<\/strong>\nlogin: <strong>root<\/strong>\n# <strong>cd \/etc<\/strong>\ncd: not found\n# <strong>chdir \/etc<\/strong>\n# <strong>ls -als<\/strong>\ntotal 40\ndrwxr-xr-x  2 bin       240 Mar 21 12:07 .\ndrwxr-xr-x  9 bin       224 Mar 21 12:51 ..\n-rwxr--r--  1 bin       474 Nov 26 18:13 getty\n-rwxr-xr-x  1 bin      1446 Nov 26 18:13 glob\n-rwxr--r--  1 bin      1972 Nov 26 18:13 init\n-rwxr-xr-x  1 bin       814 Nov 26 18:13 lpd\n-rwxr--r--  1 bin      4136 Nov 26 18:13 mkfs\n-rwxr--r--  1 bin      1800 Nov 26 18:13 mknod\n-rwsr-xr-x  1 root     2078 Nov 26 18:13 mount\n-rw-r--r--  1 bin        49 Nov 26 18:13 passwd\n-rw-r--r--  1 bin        70 Nov 26 18:13 rc\n-rw-r--r--  1 bin        56 Nov 26 18:13 ttys\n-rwsr-xr-x  1 root     1990 Nov 26 18:13 umount\n-rwxr-xr-x  1 bin        32 Nov 26 18:13 update\n-rw-r--r--  1 root      144 Mar 21 12:52 utmp\n# <strong>cat passwd<\/strong>\nroot::0:1::\/:\ndaemon::1:1::\/bin:\nbin::3:1::\/bin:\n# <strong>pwd<\/strong>\n..\/etc\n# <strong>chdir<\/strong>\nchdir: arg count\n# <strong>chdir \/<\/strong>\n# <strong>pwd<\/strong>\n..\n# <strong>date<\/strong>\nFri Mar 21 12:53:06 EST 1975\n# <strong>cal 2 2014<\/strong>\n      Feb 2014\n S  M Tu  W Th  F  S\n                   1\n 2  3  4  5  6  7  8\n 9 10 11 12 13 14 15\n16 17 18 19 20 21 22\n23 24 25 26 27 28\n# <strong>ed hello.c<\/strong>\n?\n<strong>a\nmain()\n{\n  printf(\"Hello, worldn\");\n}<\/strong>\n?\n<strong>w<\/strong>\n39\n<strong>q<\/strong>\n# <strong>cc hello.c<\/strong>\n# <strong>.\/a.out<\/strong>\nHello, world\n# <strong>chdir \/usr\/sys\/conf<\/strong>\n# <strong>cat conf.c<\/strong>\n\/*\n *      Copyright 1974 Bell Telephone Laboratories Inc\n *\/\nint     (*bdevsw[])()\n{\n        &amp;nulldev,       &amp;nulldev,       &amp;rkstrategy,    &amp;rktab,\n        0\n};\nint     (*cdevsw[])()\n{\n        &amp;klopen,   &amp;klclose,   &amp;klread,   &amp;klwrite,   &amp;klsgtty,\n        &amp;nulldev,  &amp;nulldev,   &amp;mmread,   &amp;mmwrite,   &amp;nodev,\n        &amp;nulldev,  &amp;nulldev,   &amp;rkread,   &amp;rkwrite,   &amp;nodev,\n        &amp;pcopen,   &amp;pcclose,   &amp;pcread,   &amp;pcwrite,   &amp;nodev,\n        &amp;dcopen,   &amp;dcclose,   &amp;dcread,   &amp;dcwrite,   &amp;dcsgtty,\n        0\n};\nint     rootdev {(0&lt;&lt;8)|0};\nint     swapdev {(0&lt;&lt;8)|0};\nint     swplo   4000;\nint     nswap   872;\n# <strong>mv . x<\/strong>\nvalues of B will give rise to dom!\n#\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Session captured from a DE1 board running a 11\/45 configured with a RK11 controller and a single console. The RK05 image is the Unix V5 image that can be found on the SIMH website. Hello, world [t44]: cpu 11\/45 boot from rk: @unix login: root # cd \/etc cd: not found # chdir \/etc # [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":362,"menu_order":50,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-350","page","type-page","status-publish","hentry","missing-thumbnail"],"_links":{"self":[{"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/pages\/350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/comments?post=350"}],"version-history":[{"count":0,"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/pages\/350\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/pages\/362"}],"wp:attachment":[{"href":"https:\/\/pdp2011.sytse.net\/wordpress\/wp-json\/wp\/v2\/media?parent=350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}