Unix V5

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
# ls -als
total 40
drwxr-xr-x  2 bin       240 Mar 21 12:07 .
drwxr-xr-x  9 bin       224 Mar 21 12:51 ..
-rwxr--r--  1 bin       474 Nov 26 18:13 getty
-rwxr-xr-x  1 bin      1446 Nov 26 18:13 glob
-rwxr--r--  1 bin      1972 Nov 26 18:13 init
-rwxr-xr-x  1 bin       814 Nov 26 18:13 lpd
-rwxr--r--  1 bin      4136 Nov 26 18:13 mkfs
-rwxr--r--  1 bin      1800 Nov 26 18:13 mknod
-rwsr-xr-x  1 root     2078 Nov 26 18:13 mount
-rw-r--r--  1 bin        49 Nov 26 18:13 passwd
-rw-r--r--  1 bin        70 Nov 26 18:13 rc
-rw-r--r--  1 bin        56 Nov 26 18:13 ttys
-rwsr-xr-x  1 root     1990 Nov 26 18:13 umount
-rwxr-xr-x  1 bin        32 Nov 26 18:13 update
-rw-r--r--  1 root      144 Mar 21 12:52 utmp
# cat passwd
root::0:1::/:
daemon::1:1::/bin:
bin::3:1::/bin:
# pwd
../etc
# chdir
chdir: arg count
# chdir /
# pwd
..
# date
Fri Mar 21 12:53:06 EST 1975
# cal 2 2014
      Feb 2014
 S  M Tu  W Th  F  S
                   1
 2  3  4  5  6  7  8
 9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
# ed hello.c
?
a
main()
{
  printf("Hello, worldn");
}
?
w
39
q
# cc hello.c
# ./a.out
Hello, world
# chdir /usr/sys/conf
# cat conf.c
/*
 *      Copyright 1974 Bell Telephone Laboratories Inc
 */
int     (*bdevsw[])()
{
        &nulldev,       &nulldev,       &rkstrategy,    &rktab,
        0
};
int     (*cdevsw[])()
{
        &klopen,   &klclose,   &klread,   &klwrite,   &klsgtty,
        &nulldev,  &nulldev,   &mmread,   &mmwrite,   &nodev,
        &nulldev,  &nulldev,   &rkread,   &rkwrite,   &nodev,
        &pcopen,   &pcclose,   &pcread,   &pcwrite,   &nodev,
        &dcopen,   &dcclose,   &dcread,   &dcwrite,   &dcsgtty,
        0
};
int     rootdev {(0<<8)|0};
int     swapdev {(0<<8)|0};
int     swplo   4000;
int     nswap   872;
# mv . x
values of B will give rise to dom!
#