A function key is a key on a
computer
A computer is a machine that can be Computer programming, programmed to automatically Execution (computing), carry out sequences of arithmetic or logical operations (''computation''). Modern digital electronic computers can perform generic set ...
or
terminal keyboard that can be programmed to cause the operating system or an application program to perform certain actions, a form of
soft key. On some keyboards/computers, function keys may have default actions, accessible on power-on.
Function keys on a terminal may either generate short fixed sequences of characters, often beginning with the escape character (
ASCII
ASCII ( ), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English language focused) printable character, printable and 33 control character, control c ...
27), or the characters they generate may be configured by sending special character sequences to the terminal. On a standard computer keyboard, the function keys may generate a fixed, single byte code, outside the normal ASCII range, which is translated into some other configurable sequence by the keyboard device driver or interpreted directly by the application program. Function keys may have abbreviations or pictographic representations of default actions printed on/besides them, or they may have the more common "F-number" designations.
History

The Singer/Friden 2201
Flexowriter Programmatic, introduced in 1965, had a cluster of 13 function keys, labeled F1 to F13 to the right of the main keyboard. Although the Flexowriter could be used as a
computer terminal
A computer terminal is an electronic or electromechanical hardware device that can be used for entering data into, and transcribing data from, a computer or a computing system. Most early computers only had a front panel to input or display ...
, this
electromechanical typewriter was primarily intended as a stand-alone
word processing A word processor (WP) is a device or computer program that provides for input, editing, formatting, and output of text, often with some additional features.
Word processor (electronic device), Early word processors were stand-alone devices dedicate ...
system. The interpretation of the function keys was determined by the programming of a
plugboard inside the back of the machine.
Soft keys date to avionics
multi-function displays of military planes of the late 1960s/early 1970s, such as the Mark II avionics of the
F-111D (first ordered 1967, delivered 1970–1973). In computing use, they were found on the
HP 9810A calculator (1971) and later models of the
HP 9800 series
The HP 9800 is a family of what were initially called programmable calculators and later desktop computers that were made by Hewlett-Packard, replacing their first HP 9100 calculator. It is also named "98 line". The 9830 and its successors were ...
, which featured 10 programmable keys in 5×2 block (2 rows of 5 keys) at the top left of the keyboard, with paper labels. The
HP 9830A (1972) was an early desktop computer, and one of the earliest specifically computing uses. HP continued its use of function keys in the
HP 2640 (1975), which used
screen-labeled function keys, placing the keys close to the screen, where labels could be displayed for their function.
NEC's
PC-8001, introduced in 1979, featured five function keys at the top of the keyboard, along with a numeric keypad on the right-hand side of the keyboard.
[
Their modern use may have been popularized by IBM keyboards: first the IBM 3270 terminals, then the ]IBM PC
The IBM Personal Computer (model 5150, commonly known as the IBM PC) is the first microcomputer released in the List of IBM Personal Computer models, IBM PC model line and the basis for the IBM PC compatible ''de facto'' standard. Released on ...
. IBM use of function keys dates to the IBM 3270
The IBM 3270 is a family of Block-oriented terminal, block oriented display and printer computer terminals introduced by IBM in 1971
and normally used to communicate with IBM mainframes. The 3270 was the successor to the IBM 2260 display ter ...
line of terminals, specifically the IBM 3277 (1972) with 78-key typewriter keyboard or operator console keyboard version, which both featured 12 ''programmed function'' (PF) keys in a 3×4 matrix at the right of the keyboard. Later models replaced this with a numeric keypad
A numeric keypad, number pad, numpad, or ten key,
is the calculator-style group of ten numeric keys accompanied by other keys, usually on the far right side of computer keyboard. This grouping allows quick number entry with right hand, ...
, and moved the function keys to 24 keys at the top of the keyboard. The original IBM PC keyboard ( PC/XT, 1981) had 10 ''function keys'' (F1–F10) in a 2×5 matrix at the left of the keyboard; this was replaced by 12 keys in 3 blocks of 4 at the top of the keyboard in the Model M ("Enhanced", 1984).
Schemes on various keyboards
* Mac: The classic Mac OS
Mac OS (originally System Software; retronym: Classic Mac OS) is the series of operating systems developed for the Mac (computer), Macintosh family of personal computers by Apple Computer, Inc. from 1984 to 2001, starting with System 1 and end ...
supported system extensions known generally as FKEYS which could be installed in the System file and could be accessed with a Command
Command may refer to:
Computing
* Command (computing), a statement in a computer language
* command (Unix), a Unix command
* COMMAND.COM, the default operating system shell and command-line interpreter for DOS
* Command key, a modifier key on A ...
-Shift-(number) keystroke combination (Command-Shift-3 was the screen capture function included with the system, and was installed as an FKEY); however, early Macintosh keyboards did not support numbered function keys in the normal sense. Since the introduction of the Apple Extended Keyboard with the Macintosh II, however, keyboards with function keys have been available, though they did not become standard until the mid-1990s. They have not traditionally been a major part of the Mac user interface, however, and are generally only used on cross-platform programs. According to the Macintosh Human Interface Guidelines, they are reserved for customization by the user. Current Mac keyboards include specialized function keys for controlling sound volume. The most recent Mac keyboards include 19 function keys, but keys F1–F4 and F7–F12 by default control features such as volume, media control, and Exposé. Former keyboards and Apple Keyboard with numeric keypad has the F1–F19 keys.
* Mac laptops: Function keys were not standard on Apple notebook hardware until the introduction of the PowerBook 5300 and the PowerBook 190. For the most part, Mac laptops have keys F1 through F12, with pre-defined actions for some, including controlling sound volume and screen brightness.
* Apricot PC/Xi: six unlabelled keys, each with an LED beside it which illuminates when the key can be used; above the keys is a liquid crystal display
A liquid-crystal display (LCD) is a flat-panel display or other Electro-optic modulator, electronically modulated optical device that uses the light-modulating properties of liquid crystals combined with polarizers to display information. Liq ...
—the 'microscreen'—that is used by programs to display the action performed by the key.
* Atari 8-bit computers: four dedicated keys (Reset, Option, Select, Start) at the right hand side or on the top of the keyboard; the XL models also had a Help key. Atari 1200XL has four additional keys labeled F1 through F4 with pre-defined actions, mainly related to cursor movement.
* Atari ST
Atari ST is a line of personal computers from Atari Corporation and the successor to the company's Atari 8-bit computers, 8-bit computers. The initial model, the Atari 520ST, had limited release in April–June 1985, and was widely available i ...
: ten parallelogram
In Euclidean geometry, a parallelogram is a simple polygon, simple (non-list of self-intersecting polygons, self-intersecting) quadrilateral with two pairs of Parallel (geometry), parallel sides. The opposite or facing sides of a parallelogram a ...
-shaped keys in a horizontal row across the top of the keyboard, inset into the keyboard frame instead of popping up like normal keys.
* BBC Micro
The BBC Microcomputer System, or BBC Micro, is a family of microcomputers developed and manufactured by Acorn Computers in the early 1980s as part of the BBC's Computer Literacy Project. Launched in December 1981, it was showcased across severa ...
: red/orange keys ''F0'' to ''F9'' in a horizontal row above the number keys on top of the computer/keyboard. The break, arrow, and copy keys could function as F10–F15. The case included a transparent plastic strip above them to hold a function key reference card.
* Coleco Adam: six dark brown keys in a horizontal row above the number keys, labeled with Roman numerals I–VI.
* VIC-20 and Commodore 64
The Commodore 64, also known as the C64, is an 8-bit computing, 8-bit home computer introduced in January 1982 by Commodore International (first shown at the Consumer Electronics Show, January 7–10, 1982, in Las Vegas). It has been listed in ...
: F1/F2 to F7/F8 in a vertical row of four keys descending on the computer/keyboard's right hand side, odd-numbered functions accessed unshifted, even-numbered shifted; orange, beige/brown, or grey key color, depending on VIC/64 model/revision.
* Commodore 128: essentially same as VIC-20/C64, but with (grey) function keys placed in a horizontal row above the numeric keypad right of the main QWERTY-keyboard; also had Help key.
* Commodore Amiga: ten keys arranged in a row of two five-key groups across the top of the keyboard (flush with the ordinary keyboard top row); function keys are 1½ times the width of ordinary keys. Like the Commodore 128, this also had a Help key.
* Graphing calculator Graphing Calculator may refer to:
* Graphing calculators, calculators that are able to display and/or analyze mathematical function graphs
* NuCalc, a computer software program able to perform many graphing calculator functions
* Grapher, th ...
s, particularly those from Texas Instruments
Texas Instruments Incorporated (TI) is an American multinational semiconductor company headquartered in Dallas, Texas. It is one of the top 10 semiconductor companies worldwide based on sales volume. The company's focus is on developing analog ...
, Hewlett-Packard
The Hewlett-Packard Company, commonly shortened to Hewlett-Packard ( ) or HP, was an American multinational information technology company. It was founded by Bill Hewlett and David Packard in 1939 in a one-car garage in Palo Alto, California ...
and Casio
is a Japanese multinational electronics manufacturing corporation headquartered in Shibuya, Tokyo, Japan. Its products include calculators, mobile phones, digital cameras, electronic musical instruments, and analogue and digital watches. It ...
, usually include a row of function keys with various preassigned functions (on a standard hand-held calculator, these would be the top row of buttons under the screen). On low-end models such as the TI-83-series, these function mainly as an extension of the main keyboard, but on high-end calculators the functions change with the mode, sometimes acting as menu navigation keys as well.
* HP 2640 series terminals (1975): first known instance—late 1970s—of screen-labeled function keys (where keys are placed in proximity or mapped to labels on CRT or LCD screen).
* HP 9830: F1–F8 on two rows of four in upper left with paper template label. An early use of function keys (1972).
* IBM 3270
The IBM 3270 is a family of Block-oriented terminal, block oriented display and printer computer terminals introduced by IBM in 1971
and normally used to communicate with IBM mainframes. The 3270 was the successor to the IBM 2260 display ter ...
: probably the origin of function keys on keyboards, circa 1972. On this mainframe keyboard early models had 12 function keys in a 3×4 matrix at the right of the keyboard; later that changed to a numeric keypad, and the function keys moved to the top of the keyboard, and increased to 24 keys in two rows.
* IBM 5250: early models frequently had a "cmd" modifier key, by which the numeric row keys emulate function keys; later models have either 12 function keys in groups of 4 (with shifted keys acting as F13–F24), or 24 in two rows. These keys, along with "Enter", "Help", and several others, generate "AID codes", informing the host computer that user-entered data is ready to be read.
* IBM PC AT and PS/2 keyboard: F1 to F12 usually in three 4-key groups across the top of the keyboard. The original IBM PC and PC XT keyboards had function keys F1 through F10, in two adjacent vertical columns on the left hand side; F1, F2, F3, F4, ..., F9, F10, descending. Some IBM compatible keyboards, e.g., the Northgate OmniKey/102, also featured function keys on the left, which on examples with swapped left Alt and Caps Lock keys, facilitate fingers of a single hand simultaneously striking modifier key(s) and function keys swiftly and comfortably by touch even by those with small hands. Many modern PC keyboards also include specialized keys for multimedia and operating system functions.
* MCK-142 Pro: two sets of function keys: F1–F12 at the left side of the keyboard and additionally 24 user programmable PF keys located above QWERTY keys.
* NEC PC-8000 Series (1979): five function keys at the top of the keyboard, along with a numeric keypad on the right-hand side of the keyboard.
* Sharp MZ-700: blue keys F1 to F5 in a horizontal row across the top left side of the keyboard, the keys are vertically half the size of ordinary keys and twice the width; there is also a dedicated "slot" for changeable key legend overlays (paper/plastic) above the function key row.
* VT100 terminals: four function keys (PF1 - PF4) above the numeric keypad
A numeric keypad, number pad, numpad, or ten key,
is the calculator-style group of ten numeric keys accompanied by other keys, usually on the far right side of computer keyboard. This grouping allows quick number entry with right hand, ...
.
Action on various programs and operating systems
Mac OS
In the classic Mac OS
Mac OS (originally System Software; retronym: Classic Mac OS) is the series of operating systems developed for the Mac (computer), Macintosh family of personal computers by Apple Computer, Inc. from 1984 to 2001, starting with System 1 and end ...
, the function keys could be configured by the user, with the Function Keys control panel, to start a program or run an AppleScript.
macOS
macOS, previously OS X and originally Mac OS X, is a Unix, Unix-based operating system developed and marketed by Apple Inc., Apple since 2001. It is the current operating system for Apple's Mac (computer), Mac computers. With ...
assigns default functionality to (almost) all the function keys from to , but the actions assigned by default to these function keys have changed a couple of times over the history of Mac products and corresponding Mac OS X
macOS, previously OS X and originally Mac OS X, is a Unix, Unix-based operating system developed and marketed by Apple Inc., Apple since 2001. It is the current operating system for Apple's Mac (computer), Mac computers. With ...
versions[ Apple Keyboard]. As a consequence, the labels on Macintosh keyboards have changed over time to reflect the newer mappings of later Mac OS X versions: for instance, on a 2006 MacBook Pro, functions keys , and are labelled for volume down/volume up, whereas on later MacBook Pros (starting with the 2007 model), the volume controls are located on function keys to where they are mapped to various functions.
Any recent version of Mac OS X or macOS is able to detect which generation of Apple keyboard is being used, and to assign proper default actions corresponding to the labels shown on this Apple keyboard (provided that this keyboard was manufactured ''before'' the release of the version of Mac OS X being used). As a result, default mappings are sometimes wrong (i.e., not matching the labels shown on the keyboard) when using a recent USB Apple keyboard on an older version of Mac OS X, which doesn't know about the new function key mapping of this keyboard (e.g., because Mission control and Launchpad didn't exist at that time, the corresponding labels shown on the keyboard can't match the default actions assigned by older versions of Mac OS X, which were Exposé and Dashboard).
It can be noted that:
* all function keys have been changed over time, to the exception of and who have always been mapped to brightness control.
* all Apple laptops after 2007 are missing any Num Lock key, even if they lack a keypad (the Num Lock was previously located on the key on older Apple laptops).
* the special key for ejection of disks (which was located at the right of the key on older Apple keyboards) has been removed from Apple computers since they don't have an internal optical disk drive any more, to the exception of the MacBook Air 2010, which had disk ejection labelled on its key (for use in combination with an external USB SuperDrive).
* function keys to have no labels; they were only available on full keyboards of fixed Apple computers (iMac, Mac Pro, or Mac Mini). All laptop computers have always lacked these extra keys, as well as any recent fixed Apple computer equipped with wireless Apple keyboard.
* function key is mapped to show desktop (Mission Control shortcut) and function keys and are mapped by default to decrease/increase contrast (although nothing is labelled on these keys on Macintosh keyboards).
* on Boot Camp, function keys to are mapped to the corresponding IBM PC keys (which are located on the same place of the keyboard): Print Screen, Scroll Lock and Pause key
* on all versions of Mac OS X or macOS, software functions can be used by holding down the Fn key while pressing the appropriate function key, and this scheme can be reversed by changing the macOS system preferences.
* as of 2016, Apple has replaced the individual function keys with the touchbar on certain models of MacBook Pro.
Windows/MS-DOS
Under MS-DOS
MS-DOS ( ; acronym for Microsoft Disk Operating System, also known as Microsoft DOS) is an operating system for x86-based personal computers mostly developed by Microsoft. Collectively, MS-DOS, its rebranding as IBM PC DOS, and a few op ...
, individual programs could decide what each function key meant to them, and the command line had its own actions. For example, copied words from the previous command to the current command prompt.
Following the IBM Common User Access guidelines, the key gradually became universally associated with Help in most early Windows programs. To this day, Microsoft Office programs running in Windows list as the key for Help in the Help menu. Internet Explorer in Windows does not list this keystroke in the help menu, but still responds with a help window. In Microsoft Word, + reveals formatting.
in Excel edits the current selected cell. In Windows Explorer, Visual Studio and other programs to access file or field edit functions, such as renaming a file.
is commonly used to activate a search function in applications, often cycling through results on successive presses of the key. + is often used to search backwards. Some applications such as Visual Studio support + as a means of searching for the currently highlighted text elsewhere in a document.
is used in some applications to make the window "fullscreen", like in ''3D Pinball: Space Cadet''. In Microsoft IE, it is used to view the URL list of previously viewed websites. + is commonly used to quit an application; + will often close a portion of the application, such as a document or tab.
is also commonly used as a reload key in many web browser
A web browser, often shortened to browser, is an application for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's scr ...
s and other applications. In Microsoft PowerPoint, starts the slide show.
In many modern webbrowser highlights the URL in the address bar. In the Visual Basic Editor moves to the next pane. + switches between documents or tab within an application.
checks spelling.
+ calls the macros dialog.
exits the MS-DOS Shell if it is running.
generally activates the menu bar, while + activates a context menu.
While activates the full screen/ kiosk mode on most browsers. + to call the Visual Basic Editor and ++ to call the Script Editor. ,
In many modern webbrowsers, opens development tools.
WordPerfect for DOS is an example of a program that made heavy use of function keys.
BIOS/booting
Function Keys are also heavily used in the BIOS
In computing, BIOS (, ; Basic Input/Output System, also known as the System BIOS, ROM BIOS, BIOS ROM or PC BIOS) is a type of firmware used to provide runtime services for operating systems and programs and to perform hardware initialization d ...
interface. Generally during the power-on self-test, BIOS access can be gained by hitting either a function key or the key. In the BIOS keys can have different purposes depending on the BIOS. However, is the de facto standard for save and exit which saves all changes and restarts the system.
During Windows 10
Windows 10 is a major release of Microsoft's Windows NT operating system. The successor to Windows 8.1, it was Software release cycle#Release to manufacturing (RTM), released to manufacturing on July 15, 2015, and later to retail on July 2 ...
startup, + is used to enter safe mode
Safe mode is a diagnosis, diagnostic mode of a computer operating system (OS). It can also refer to a mode of operation by application software. ''Safe mode'' is intended to help fix most, if not all, problems within an operating system. It is a ...
; in legacy versions of Microsoft Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
, the key was used alone.
See also
*Keyboard shortcut
In computing, a keyboard shortcut (also hotkey/hot key or key binding) is a software-based assignment of an action to one or more keys on a computer keyboard. Most Operating system, operating systems and Application software, applications come ...
*Macro (computer science)
In computer programming, a macro (short for "macro instruction"; ) is a rule or pattern that specifies how a certain input should be mapped to a replacement output. Applying a macro to an input is known as macro expansion.
The input and output ...
References
{{keyboard keys
Computer keys