Skip to content

Commit

Permalink
PWB Unix
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkitkrishna00 committed Dec 18, 2024
1 parent 2159852 commit 8bdf37a
Show file tree
Hide file tree
Showing 10 changed files with 171 additions and 0 deletions.
Binary file added docs/1970s/1977/1977.webp
Binary file not shown.
16 changes: 16 additions & 0 deletions docs/1970s/1977/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
keywords: [1970s, 1977]
image: ./1977.webp
description: "These are the operating system of our interest which were released in the year 1977:"
sidebar_position: 7
---

import DocCardList from '@theme/DocCardList';

# 1977

![! RT-11 v3 from 1977](./1977.webp)

These are the operating system of our interest which were released in the year 1977:

<DocCardList />
40 changes: 40 additions & 0 deletions docs/1970s/1977/pwb-unix/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
keywords: ["PWB Unix", "Unix", "PDP-11", "1970s", "1977"]
image: ./pwb-unix.webp
description: "! PWB Unix was an operating system for the DEC PDP-11 computer. We can run it on SIMH"
sidebar_position: 1
---

import DocCardList from '@theme/DocCardList';

# ! PWB Unix

![! PWB Unix](./pwb-unix.webp)

[! PWB Unix](https://en.wikipedia.org/wiki/PWB/UNIX) was an operating system for the DEC PDP-11 computer. It was developed at Bell Labs. It can be used on SIMH PDP-11 emulator.

<DocCardList />

## Manuals

Here are the manuals for ! PWB Unix:

- [! PWB Unix User's Manual](https://bitsavers.org/pdf/att/unix/PWB_UNIX/PWB_UNIX_Users_Manual_Edition_1.0_197705.pdf)
- [! Documents for PWB Unix](https://bitsavers.org/pdf/att/unix/PWB_UNIX/Documents_for_the_PWB_UNIX_Time-Sharing_System_Edition_1.0_197710.pdf)

You may also be interested in the PDP-11 manuals. It was the computer on which ! PWB Unix was supposed to run. You can download them from Bitsavers:

- [PDP-11 Manuals](http://bitsavers.org/pdf/dec/pdp11/)

## Related Pages

- [VirtualHub Screenshots](https://screenshots.virtualhub.eu.org/1970s/1977/pwb-unix/)
- [A third part tutorial about installing PWB Unix on SIMH](https://www.hamartun.priv.no/pwb.html)
- [Wikipedia](https://en.wikipedia.org/wiki/PWB/UNIX)
- [Wikipedia PDP-11 page](https://en.wikipedia.org/wiki/PDP-11)
- [Computer History Wiki ! PWB Unix page](https://gunkies.org/wiki/PWB/UNIX)
- [Computer History Wiki PDP-11 page](https://gunkies.org/wiki/PDP-11)

## Credits

- The manuals were taken from [Bitsavers](http://bitsavers.org).
Binary file added docs/1970s/1977/pwb-unix/pwb-unix.webp
Binary file not shown.
103 changes: 103 additions & 0 deletions docs/1970s/1977/pwb-unix/simh/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
---
keywords: ["PWB Unix", "PDP-11", SIMH, 1970s, 1977]
image: ./pwb-unix-SIMH-3.webp
description: 'We can run ! PWB Unix on the SIMH PDP-11 emulator. First, we need to download the ! PWB Unix image. You can download the image needed to run it on the SIMH PDP-11 emulator from here.'
sidebar_position: 1
sidebar_label: "! PWB Unix on SIMH"
---

# How to install ! PWB Unix on SIMH?

![SIMH PDP-11 emulator with ! PWB Unix](./pwb-unix-SIMH-3.webp)

We can run [! PWB Unix](/1970s/1977/pwb-unix) on the SIMH PDP-11 emulator. First, we need to download the ! PWB Unix image.

## Downloads

You can download the image needed to run ! PWB Unix on the SIMH PDP-11 emulator from here:

- [! PWB Unix image](https://web.archive.org/web/20241218042213/https://www.hamartun.priv.no/tih/UNIX/PWB-1.0-23.rd52.gz)

## Using ! PWB Unix

:::tip

If you have not already installed SIMH PDP-11 emulator, see [the VirtualHub Setup tutorial on how to do so](https://setup.virtualhub.eu.org/simh-pdp11/) on Linux and Windows.

:::

Extract the disk image. If you are on Windows, you may need to install additional software such as [7-Zip](https://www.7-zip.org/) to extract the kit. Create a folder somewhere to store the files for this VM, and move the disk image file into it.

Now we will create a config file for our VM. Create a text file called `pdp11.ini` with the following content in the VM folder:

```ini
set cpu 11/23+
set clk 50hz
set dlo enabled
set dli lines=4
set dlo0 7b
set dlo1 7b
set dlo2 7b
set dlo3 7b
att dli 8023
set rq0 rd52
attach rq0 PWB-1.0-23.rd52
boot rq0
```

![pdp11.ini](./pwb-unix-SIMH-1.webp)

Now open a terminal and move to the VM folder. Run the following command to start the emulator:

```bash
pdp11
```

![pdp11](./pwb-unix-SIMH-2.webp)

After the emulator starts, login using `root` as the username and `ken` as the password. You can run `date` to see the date and time, `cat` to read text files, `ls` to see list of files and folders in the current directory, and `uname` to see the configured name of the kernel.

![! PWB Unix commands](./pwb-unix-SIMH-3.webp)

To exit the emulator, type `Ctrl` + `E`, and then run `exit`.

That's it! We used ! PWB Unix. We can create a shell script to make it easy to launch the VM.

### Linux

Create a file called `pwb-unix.sh` with the following content:

```bash
#!/bin/bash
pdp11
```

Now make the file executable:

```bash
chmod +x pwb-unix.sh
```

Now you can start the VM using the shell script. For example, on KDE you can right-click the file and choose `Run in Konsole` or on GNOME, where you can right-click the file and choose `Run as executable`. The VM will start.

See the [manuals section](/1970s/1977/pwb-unix/#manuals) on the [main ! PWB Unix page](/1970s/1977/pwb-unix) to learn how to use it.

### Windows

Create a file called `pwb-unix.bat` with the following content:

```bash
pdp11
```

Now you can start the VM by double-clicking the shell script. See the [manuals section](/1970s/1977/pwb-unix/#manuals) on the [main ! PWB Unix page](/1970s/1977/pwb-unix) to learn how to use it.

## Credits

- The disk image and other files used above are taken from this tutorial: [https://www.hamartun.priv.no/pwb.html](https://www.hamartun.priv.no/pwb.html). The disk image is archived on the [Wayback Machine](https://web.archive.org).

## Video tutorial

Do you want to follow the tutorial by watching a video? We will post a video on our [YouTube channel](https://www.youtube.com/@virtua1hub) soon.

Archives of this tutorial are available on [Wayback Machine](https://web.archive.org/web/*/https://virtualhub.eu.org/1970s/1977/pwb-unix/simh/).
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions docs/1970s/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@ description: "1970s were the age in which microcomputers evolved. This decade sa
<div className="col text--center padding-horiz--md padding-vert--md">
<a href="/1970s/1976" className="button button--primary">1976</a>
</div>
<div className="col text--center padding-horiz--md padding-vert--md">
<a href="/1970s/1977" className="button button--primary">1977</a>
</div>
</div>
</div>
9 changes: 9 additions & 0 deletions docs/start-here/unix/other-unix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
keywords: ["Other Unix", "Start Here", "Unix", "VirtualHub"]
description: "Other versions of Unix"
sidebar_position: 2
---

# Other Unix

- [! PWB Unix](/1970s/1977/pwb-unix/)

0 comments on commit 8bdf37a

Please sign in to comment.