Notes on Panda KLH-10 Distribution

Conventions

Text output from the KLH10 or TOPS20

Plain output

Keyboard input

Keyboard input

Variables. Replace these with your own values

{password}

Non-echoed input and special characters

<ESC>

<CR>

<C-c>

<C-\>

Installation

Installation of the PANDA package begins by unpacking the distribution tar.gz file, editing a few files, and then starting up the KLH10 simuator.

TODO: More detailed explanation of setting up a 'panda' user under Linux

  1. Edit the file klt20.ini and change the IP address. By default, the IP is 10.0.0.51.

    devdef ni0 564 ni20 ipaddr=10.0.0.51

    Just make sure to choose an IP address that is not already on your network, and does not conflict with the host!

  2. Run klt20

    panda:~$ ./klt20
  3. You'll get a bunch of output:

    panda:~$ ./klt20
    KLH10 V2.0H (MyKL) built Jun 15 2006 11:26:09
        Copyright © 2002 Kenneth L. Harrenstien -- All Rights Reserved.
    This program comes "AS IS" with ABSOLUTELY NO WARRANTY.

    Compiled for LINUX on I386 with word model USEHWD
    Emulated config:
             CPU: KL10-extend SYS: T20 Pager: KL APRID: 3600
             Memory: 8192 pages of 512 words (SHARED)
             Time interval: INTRP Base: OSGET
             Interval default: 60Hz
             Internal clock: OSINT
             Other: MCA25 CIRC JPC DEBUG PCCACHE CTYINT EVHINT
             Devices: DTE RH20 RPXX(DP) TM03(DP) NI20(DP)
    [MEM: Allocating 8192 pages shared memory, clearing...done]

    KLH10# ; Define basic device config - one DTE, one disk, one tape
    KLH10# devdef dte0 200   dte    master
    KLH10# devdef rh0 540   rh20
    KLH10# devdef rh1 544   rh20
    KLH10# devdef dsk0 rh0.0 rp    type=rp07 format=dbd9
    KLH10# devdef mta0 rh1.0 tm03   type=tu45
    KLH10#
    KLH10# ; Set Ethernet address
    KLH10# devdef ni0 564 ni20 ipaddr=192.168.1.155
    KLH10#
    KLH10# ; Define the idle device on 700
    KLH10# devdef idler 700 host
    KLH10#
    KLH10# ; Set switch register
    KLH10# set sw=254200,,147
       sw: 0,,0  =>  254200,,147
    KLH10#
    KLH10# ; Set console lights I/O base register
    KLH10# ;Uncomment the following line if you have a Panda display.
    KLH10# ;lights 378
    KLH10#
    KLH10# ; Load disk bootstrap directly
    KLH10# load boot.sav
    Using word format "c36"...
    Loaded "boot.sav":
    Format: DEC-CSAV
    Data: 4630, Symwds: 0, Low: 040000, High: 054641, Startaddress: 040000
    Entvec: JRST (120 ST: 0, 124 RE: 0, 137 VR: 0,,0)
    KLH10#
    KLH10# ; Ready to GO
    KLH10# [EOF on klt20.ini]
    KLH10#
  4. At the KLH10# prompt, boot into single-user mode.

    KLH10# GO
    Starting KN10 at loc 040000...

    BOOT V11.0(315)

    BOOT>/e

    [BOOT: Loading] [OK]
    EDDT
    dbugsw/   T1  2
    147<ESC>$g
  5. More output...

Starting in single-user mode

KLH10# GO
Starting KN10 at loc 040000...

BOOT V11.0(315)

BOOT>/e

[BOOT: Loading] [OK]
EDDT
dbugsw/   T1  2
147<ESC>$g

Starting in multi-user mode

KLH10# GO
Starting KN10 at loc 040000...

BOOT V11.0(315)

BOOT>/e

[BOOT: Loading] [OK]
EDDT
147<ESC>$g

Giving yourself privileges

@enable
$

At this point your prompt will change from @ to $

Adding a User account

User accounts are added with the BUILD command. This creates a directory on the specified file structure and an associated account.

Here, replace {directory} with the name of your user. For example, in my install I use my initials for my login, so I would create the directory TOPS20:<SJM>

@BUILD<ESC> (DIRECTORY NAME) TOPS20:<{directory}>
[New]
@@WHEEL
@@OPERATOR
@@ARPANET-WIZARD
@@PASSWORD {password}

Logging In

<C-c>
@LOGIN {username}
Password: {password}
@

Logging Out

@KJOB

Shutting Down

$^Ecease now
 TOPS20 Will be shut down IMMEDIATELY
[Confirm]

[Timesharing is over]
$
        OPERATOR - Wait for the message "Shutdown complete" before
        entering commands to PARSER.
 5-Apr-2010 14:34:39 HSYS: Shutdown complete <C-\>
[HALTED: FE interrupt]
KLH10> shut
Continuing KN10 at loc 01142476...
**HALTED**
$11B>>SWHLT4#/ XCT CHKADR BUGCHK/ 0 <C-\>
[HALTED: FE interrupt]
KLH10> QUIT
Are you sure you want to quit? [Confirm] <CR>
Shutting down...Bye!