Gold key (DEC)

DEC VT78 pre-DECmate workstation with gold-colored Gold key, and alternate functions written in gold on the fronts of other keys

The Gold key is a computer keyboard key used as a prefix to invoke a variety of single-key editing and formatting functions. Usually located in the top-left position of the numeric keypad on platforms such as the VT100, it is the signature element of a consistent user interface implemented by Digital Equipment Corporation across multiple product lines.

It is used within WPS, EDT, and many other common VAX programs.[1] The key, typically located as the upper leftmost key on the numeric keypad on different terminals,[2] was not necessarily colored gold. Some Digital Equipment Corporation (DEC) terminals would include keyboards where the gold key was labeled PF1, as on the VT100 and VT200, or was colored blue, as on the VT52.[3] On some keyboards, the normal function of a key would be labeled on the lower portion of the key, while its alternate function activated with the GOLD key would be labeled above it.[2]

Usage

The Gold Key is used to invoke single-key functions which may be located on either the main keyboard or the numeric keypad. For example, on the WPS-8 word processing system, the main keyboard key C is marked CENTR, in gold lettering, on its front surface; the keystrokes GOLDC invoke that word processing function to center the current line of text.[4]:p1.8

The Gold key is a prefix key, not a modifier key. A modifier key would be pressed and held while a second key is pressed; the Gold key is pressed and released before a second key is pressed and released. In that sense, DEC and compatible software uses the Gold key in the same way that Emacs uses the escape key.

Origins

The base model VT50 terminal was equipped with a main keyboard only, and so had no Gold key. The model VT50H added a numeric keypad, including three unlabeled keys whose functions would be determined by whatever program was running.[5]:p14 Located at the top left of the keypad,[6]:p3.1 these were later named PF keys, and by convention, the first of them, PF1, became the Gold key.

The VT50H numeric keypad was of limited usefulness in editing because, from the perspective of the computer receiving its input, most of the keypad's keys were indistinguishable from their equivalents on the main keyboard. The VT52 terminal added an alternate keypad mode in which all keypad keys would send distinct character codes.[5]:pp14-15[6]:pp3.5-3.6

In his introduction to a 1990 DEC oral history presentation, Robert Everett, Fellow of the Computer History Museum,[7] credited John T. (Jack) Gilmore with designing Digital's gold keyboard interface.[8]:p1

Classic software

Software using Gold key keyboard functions was developed across multiple generations of DEC computers.

"ALL-IN-1 WPS-Plus keyboard"
ALL-IN-1 WPS-Plus keyboard layout; functions using the Gold key are shown on black background

PDP-8 processors ran the WPS-8 word processing software package on several models of one- and two-user dedicated word station systems.[4]

PDP-11 processors running RT-11 used the KED/KEX editors.[9]:ch 1

VAXen running VMS used the EDT editor,[10]:ch 2 initially with either the VT52 or the VT100 (which have slightly different keypads).[10]:p2.3

Alpha AXP RISC processors running OpenVMS also used EDT, often with later-model terminals such as the VT220VT420.[11][12]:pp150-155

EDT recognizes an additional usage for the Gold key, to enter a repeat count.[12]:p152 For example, the keystrokes GOLD20= enter a line of twenty equals signs. Repeat counts also apply to keypad editing commands, but if such a command itself requires the Gold key, the Gold key must be pressed again before the command key. For example, assuming a VT100 keypad, GOLDkeypad 6 perform the PASTE editing command (once), while GOLD4GOLDkeypad 6 performs PASTE four times.[11]:p.EDT-78 For editing commands which are directional, such as moving the cursor, negative repeat counts may be used to indicate reverse direction.

VAX and Alpha VMS systems supported the ALL-IN-1 office application suite, including the WPS-Plus word processor.

Compatibility and continuity

Various hardware and software products have been produced to maintain compatibility with both the variety of legacy Gold key host systems and with the expertise and preferences of the many Gold key users.

At the same time that DEC was selling VAX-based WPS-Plus in the late 1980s, Exceptional Business Solutions of Culver City, California, sold a PC-based word processor named WPS-PC, designed for users who have experience with the DEC family of Gold-key word processors and would rather fight than switch.[13]:p330

As personal computers began to replace serial terminals even in their core role of talking to central host computers, DEC itself supplied its new Rainbow PC with a Gold Key Country Kit for use with VAX ALL-IN-1.[14]

Emacs offers an EDT emulator package [15] which supports both physical and virtual VT100-style terminals. There is a slight complication for virtual (xterm-style) terminals which run on top of a host PC operating system, in that the Num lock key cannot be remapped to the Gold key at the level of Emacs; instead, it is remapped at the level of the X server (instructions provided). As of the latest stable release of Emacs (2013), EDT and Gold key support is a current feature.

Note that software can never quite achieve full functional fidelity across desktop platforms simply because keypad hardware differs: the PC numeric keypad has only 17 keys, the VT100 terminal and LK201 keyboard each have 18 (not including arrow keys),[11]:p.EDT-4 and the VT52 numeric keypad has 19 keys.[6]:p3.1[11]:p.EDT-5

References

  1. Sandler, Corey; Badgett, Tom (1990). VAX to VAX: a practical guide to connecting VAXs and their peripherals. Wiley. p. 243. ISBN 978-0-471-51506-7. Gold key: A special key on a VAX terminal keyboard enabling alternate key functions. Used within WPS, EDT, and many other programs.
  2. 2.0 2.1 Hume, J. N. P.; Holt, Richard C. (1984). VAX Pascal. Reston Publishing Co. p. 54. Gold key — the key at the top left corner of the keypad which serves to act like a shift key to change each of the other keys from its normal function to its alternate function. The normal function appears above the alternate on a key label.
  3. Kapps, Charles A.; Stafford, Robert L. (1987). Assembly Language for the PDP-11: RT-RSX-UNIX. PWS Computer Science. p. 424. ISBN 978-0-87150-072-4. To get the secondary function of the 2 key, you must first type a special key called the gold key. On the VT100/VT200, the gold key is the key marked PF1, and on the VT52 it is the key that is colored blue. In either case, it is the key in the upper left-hand corner of the numeric keypad. Figures E.4 and E.5 show the keypad layouts on the VT52 and VT100/VT200. It is even possible to purchase replacement keytops that have the KED or EDT functions embossed on them.
  4. 4.0 4.1 WPS-8 Word Processing System Reference Manual (Digital Equipment Corporation, 1978)
  5. 5.0 5.1 DECscope User's Manual (Digital Equipment Corporation, 1975)
  6. 6.0 6.1 6.2 VT52 DECscope Maintenance Manual (Digital Equipment Corporation, revised, 1978)
  7. Robert Everett, 2009 Fellow, Computer History Museum (retrieved April 2014)
  8. Gilmore J, DEC history talk, 1990 June 5 (transcript) (Bob Everett, MC) retrieved April 2014
  9. RT-11 Quick Reference Manual (Digital Equipment Corporation, 1991)
  10. 10.0 10.1 VAX/VMS Primer (Digital Equipment Corporation, 1982)
  11. 11.0 11.1 11.2 11.3 OpenVMS EDT Reference Manual (Digital Equipment Corporation, 1993)
  12. 12.0 12.1 Davis R. L., Knox L. A., Mertz T. E., DEC VAX / The EDT Editor / How to Use EDT Keypad Mode, The Handbook of Software for Engineers and Scientists (Paul W. Ross, ed., ISBN 0-8493-2530-7, CRC Press / IEEE Press, 1996) chapter 9.9
  13. WPS-PC (product review), PC Magazine (Ziff Davis, ISSN 0888-8507) special issue on word processors (vol 7, no 4, 1988 February 29) pages 330-334
  14. DEC's Model 100B heads string of Rainbow announcements, Computerworld (IDG Enterprise, ISSN 0010-4841) vol 18, no 16, 1984 April 16, page 6
  15. Emacs EDT emulation (Free Software Foundation, retrieved April 2014)

External links