A Display Oriented Programmer's Assistant

Warren TeitelmanIJCAI 1977

Abstract

In 1977, Warren Teitelman introduced a revolutionary "Display Oriented Programmer's Assistant" built for the Interlisp environment at Xerox PARC. By transitioning from text-only terminals to bitmapped displays, overlapping windows, and the mouse, the system transformed programming from a linear, high-friction task into a fluid, multi-contextual dialogue between human and machine. This paper details the technical innovations—including the window system, pop-up menus, and the "DWIM" error-correction facility—that laid the groundwork for modern Integrated Development Environments (IDEs).

Introduction

In the mid-1970s, the standard interface for programmers was the teletype-style terminal. This interaction model suffered from several critical bottlenecks. First, communication bandwidth was low; users had to manually type every command, even if the text was already visible on the screen. Second, the workflow was strictly linear; encountering a bug often required aborting current work to fix it, with no easy way to "pause" a task. Finally, information loss was constant as important context scrolled off the top of the terminal screen.

Teitelman sought to overcome these limitations by creating a "Programmer’s Assistant"—a system that didn't just execute code but actively cooperated with the user to manage the inherent complexity of software development.

System Architecture and Innovations

The system was implemented in Interlisp on the MAXC computer (a PDP-10 emulator) at Xerox PARC, utilizing a separate minicomputer to drive a raster-scan bitmapped display. Key technical innovations included:

  • The Window System: Borrowing concepts from the Smalltalk group, the system used overlapping "windows" to represent different tasks (e.g., editing, debugging, history). This allowed for a "desktop" metaphor where users could manage multiple contexts simultaneously.
  • The Mouse: Used as a pointing device to select text or menu items. Teitelman describes this as providing "pronoun reference"—the ability for a user to say "use this expression" simply by pointing at it.
  • Pop-up Menus: These provided a "repertoire of commands," reducing the need for memorization and typing.
  • The "Spaghetti Stack": A sophisticated control structure that allowed the system to treat user tasks as co-routines. A user could be in the middle of an "Insert" operation, decide to go edit a different function, and then return to the exact point they left off.
  • DWIM (Do What I Mean): An automated error-correction facility that suggested fixes for spelling mistakes or syntax errors based on the system's internal knowledge of Lisp.
The Interlisp interface showing overlapping windows and a pop-up 'EDIT' menu for context-sensitive commands.

The Assistant Philosophy

The core of Teitelman's approach was the belief that windows are cognitive tools, not just display elements. By "freezing" a piece of information in a window (like a WORK AREA), the programmer can refer to it even as other interactions continue to scroll by in a separate TYPESCRIPT window.

This enabled a non-linear workflow, moving away from "modal" editing. The system allowed for "suspended" states where a user could start a command, get interrupted by an error, fix the error in a different window, and then resume the original command without losing their place. Through the history list and DWIM, the system maintained a model of what the user had done and what they likely intended to do, significantly reducing the cognitive load of programming.

The system prompts the user to use the mouse to position a menu, illustrating the interactive, non-linear nature of the interface.

Results and Legacy

The paper provides a qualitative walkthrough of a programming session, demonstrating that ideas from disparate sources—Smalltalk’s windows, NLS’s mouse, and Interlisp’s DWIM—could be integrated into a single, cohesive, and valuable working system. Key findings included:

  • Increased Communication Bandwidth: The combination of pointing and menus drastically reduced the amount of typing required.
  • Smooth Context Switching: The windowing system made switching between editing, testing, and messaging "easy and painless."
  • User Satisfaction: Users found the feedback via the prompt window and changing cursors to be highly effective and aesthetically pleasing.

While hardware constraints made such systems expensive and rare in 1977, Teitelman correctly predicted that as the cost of bitmapped displays dropped, these "programmer's assistants" would become standard. This work remains a foundational text in the history of human-computer interaction and the evolution of the modern IDE.

Summary updated

BibTeX
@inproceedings{teitelman1977display,
  author = {Warren Teitelman},
  title = {{A Display Oriented Programmer's Assistant}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1977},
}
Figure