Skip to content

Instantly share code, notes, and snippets.

@grav
Last active December 4, 2020 04:20
Show Gist options
  • Save grav/7fe0f054f5ad04da2bb0eef2414a663b to your computer and use it in GitHub Desktop.
Save grav/7fe0f054f5ad04da2bb0eef2414a663b to your computer and use it in GitHub Desktop.
Getting Interlisp-D running with Medley on Debian 3.1

Install VirtualBox (eg on Mac: brew cask install virtualbox)

Download Debian 3.1 from here: https://virtualboxes.org/images/debian/

Create a new VM in VirtualBox and select the vdi file from the above archive as a disk. Check the VM settings:

  • Make sure the disk is mounted as an IDE device, SATA errors out on boot (in the Storage tab)
  • Also, make sure the pointing device is set to PS/2 Mouse (in the General tab)

Start the VM. Log in as root/toor.

X11 needs to be installed. Edit the sources-list (/etc/apt/sources.list) with eg nano by commenting out everything and adding: deb http://archive.debian.org/debian/ sarge contrib main non-free

To install X11, execute:

apt-get update

apt-get install x-window-system

Configure X11:

dpkg-reconfigure xserver-xfree86

Most important step here is to set the mouse as a PS/2 device, else X won't boot. I also chose a relatively low video resolution, eg 800x600, 60 Hz/16 bit, don't know if it's necessary.

To download the LFG software:

wget ftp://ftp.parc.xerox.com/pub/lfg/lfg.sysout

wget ftp://ftp.parc.xerox.com/pub/lfg/linux/intel/lde (not sure if necessary)

wget ftp://ftp.parc.xerox.com/pub/lfg/linux/intel/ldex

chmod +x lde

chmod +x ldex

Run X:

startx

Now click anywhere and select Debian -> XShells -> XTerm

Now run ./ldex lfg.sysout.

This should start up Medley. After a while, a kind of REPL will show up.

@blakemcbride
Copy link

Thanks! I had a problem with the mouse and discovered that the device is /dev/psaux

@mtbikes
Copy link

mtbikes commented Dec 16, 2019

You can find the source files on the way back machine
https://web.archive.org/web/20170706013703/ftp://ftp.parc.xerox.com/pub/lfg/lfg.sysout for example

@ahribellah
Copy link

@mtbikes Not all of the files are available in that manner.

Instead, you can get all of the files from here: https://archive.org/details/2014.01.ftp.parc.xerox.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment