Gold key (DEC)
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. The key, typically located as the upper leftmost key on the numeric keypad on different terminals, 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. 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.
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.: 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.
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.: p14 Located at the top left of the keypad,: 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.: pp14-15 : pp3.5-3.6
In his introduction to a 1990 DEC oral history presentation, Robert Everett, Fellow of the Computer History Museum, credited John T. (Jack) Gilmore with "designing Digital's gold keyboard interface".: p1
Software using Gold key keyboard functions was developed across multiple generations of DEC computers.
PDP-8 processors ran the WPS-8 word processing software package on several models of one- and two-user dedicated "word station" systems.
PDP-11 processors running RT-11 used the KED/KEX editors.: ch 1
VAXen running VMS used the EDT editor,: ch 2 initially with either the VT52 or the VT100 (which have slightly different keypads).: p2.3
Alpha AXP RISC processors running OpenVMS also used EDT, often with later-model terminals such as the VT220–VT420.: pp150-155
EDT recognizes an additional usage for the Gold key, to enter a repeat count.: 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.: 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.": 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.
Emacs offers an EDT emulator package  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),: p.EDT-4 and the VT52 numeric keypad has 19 keys.: p3.1 : p.EDT-5
- ^ 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.
- ^ a b 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.
- ^ 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.
- ^ a b WPS-8 Word Processing System Reference Manual (Digital Equipment Corporation, 1978)
- ^ a b DECscope User's Manual Archived 2011-08-14 at the Wayback Machine (Digital Equipment Corporation, 1975)
- ^ a b c VT52 DECscope Maintenance Manual (Digital Equipment Corporation, revised, 1978)
- ^ "Robert Everett, 2009 Fellow", Computer History Museum (retrieved April 2014)
- ^ Gilmore J, DEC history talk, 1990 June 5 (transcript) (Bob Everett, MC) retrieved April 2014
- ^ RT-11 Quick Reference Manual (Digital Equipment Corporation, 1991)
- ^ a b VAX/VMS Primer (Digital Equipment Corporation, 1982)
- ^ a b c d OpenVMS EDT Reference Manual (Digital Equipment Corporation, 1993)
- ^ a b 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
- ^ "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
- ^ "DEC's Model 100B heads string of Rainbow announcements", Computerworld (IDG Enterprise, ISSN 0010-4841) vol 18, no 16, 1984 April 16, page 6
- ^ "Emacs EDT emulation" (Free Software Foundation, retrieved April 2014)
- VT100 keypad with text editor functions overlay, Gold key labeled "GOLD"
- LK201 keypad with word processor functions keycaps, Gold key colored gold