Caps lock

From Wikipedia, the free encyclopedia - View original article

 
Jump to: navigation, search
The caps lock key on a modern PC keyboard with US keyboard layout (near upper-left corner, below the Tab key)

Caps lock is a lock key found on many computer keyboards, depending on the local keyboard layout they implement. It is located in the position of a similar Shift lock key (and sometimes a Ctrl key) found in some other keyboard layouts.

The actual Caps Lock behaviour depends on the operating system and driver as well as the chosen local keyboard layout. On non-IBM compatible computers it may also depend on the keyboard hardware itself.

User interface[edit]

Caps lock on an Apple Wireless keyboard. The green LED on the key is lit, indicating that caps lock is on.

Typical Caps lock behaviour is that pressing the key sets an input mode in which all typed letters are uppercase by default (i.e. in All caps). The keyboard remains in caps lock mode until the key is pressed again.

Several variants of this behaviour exist:

In some keyboard layouts, the status of the Caps lock key only changes the meaning of the alphabet keys (verbatim as per capital shift lock), not that of the number row, which then still requires the Shift key to be pressed to reach the alternative key definitions.

Depending on the keyboard layout used, holding down the shift key while caps lock is already on is either ignored (because all keys are already shifted), will also shift keys which are not being shifted by Caps lock alone (see above) or effectively invert the shifting status of each key, so that where Caps lock shifts all keys, pressing Shift will temporarily switch to lowercase again, whereas on a keyboard where Caps lock only shifts alphabet keys, pressing Shift will temporarily switch the alpha keys to lowercase while shifting the number row as normal. Some keyboard layouts implement a fourth variant, where Shift will temporarily invoke two different sets of alternative key definitions depending on if Caps Lock is currently active or not. The inverting behaviour of the Shift key is the most common variant on English keyboards.

While the typical locking behaviour on keyboards with Caps lock key is that of a toggle, where permanent mode changes can only be made by pressing the Caps lock key, some keyboard layouts implement a combi mode, where pressing a Shift key in Caps lock mode will also release the Caps lock mode, just as it typically happens in Shift lock mode.

Keyboards often include a small LED to indicate that Caps lock is active, either on the key itself or in a row with Scroll lock and Num lock indicators. While on the original IBM PC keyboard this LED was controlled by the keyboard itself, it is under software control of the computer since the introduction of the IBM AT. Some new laptop and wireless desktop keyboards lack the LED, instead providing software that gives an on-screen indicator.

Typing case-sensitive passwords that are not displayed verbatim on the screen may cause mistakes when Caps lock is on. Help guides, tech support materials, and sometimes the interface itself may include advice on checking Caps lock before typing a password. In Windows login screens, a warning that Caps lock is on is shown in a balloon near the field. In Mac OS X, when Caps lock is on, a Caps lock symbol (⇪) is displayed inside a password field. Operating systems may also provide audible notifications when Caps lock, Num lock, or Scroll lock buttons are toggled.

Some keyboard drivers include a configuration option to deactivate the Caps Lock key. This behaviour allows users to decide themselves whether they want to use the key, or to disable it to prevent accidental activation.

Similarly, some keyboard drivers allow to control the shifting and toggling behaviour either by selecting alternative national keyboard layouts, if defined, by providing specific configuration options to switch the behaviour, or even special hotkeys to change the behaviour on the fly.

History[edit]

The Caps lock key is a modified version of the Shift lock key that occupies the same position on the keyboards of mechanical typewriters. An early innovation in mechanical typewriters was the introduction of a second character on each typebar, thereby doubling the number of characters that could be typed, using the same number of keys. The second character was positioned above the first on the face of each typebar, and the shift key caused the entire type apparatus to move, physically shifting the positioning of the typebars relative to the ink ribbon. Just as in modern computer keyboards, the shifted position was used to produce capitals and secondary characters.

Because the shift key mechanism on a mechanical typewriter requires more force to operate and is usually operated by the little finger on the left hand, it was difficult to hold the shift down for more than two or three consecutive strokes, therefore the introduction of the Shift lock key also helped out people with disabilities who could not hold down more than one key at a time. The Shift lock key was introduced so the shift operation could be maintained indefinitely without continuous effort. It mechanically locked the typebars in the shifted position, causing the upper character to be typed upon pressing any key.

As described above, the Caps lock behaviour in most QWERTY keyboard layouts differs from the Shift lock behaviour in that it capitalizes letters but does not affect other keys, such as numbers or punctuation. Some early computer keyboards, such as the Commodore 64, had a Shift lock but no Caps lock; others, such as the BBC Micro, had both, only one of which could be enabled at a time.

A version of Caps lock that behaves like a traditional Shift lock does exist on certain layouts such as the French AZERTY. Some operating systems and window managers allow Caps lock to be used for a similar function. This behavior of the Caps lock survives, however, in German and Austrian QWERTZ keyboards.

Caps lock versus Control key[edit]

The keyboards of many early computer terminals, including the Teletype Model 33 ASR and Lear-Siegler ADM-3A, the Apple II, and early models of the IBM PC, positioned the Control key on the left of the keyboard, where Caps lock resides on most modern keyboards. This layout was preserved for later workstation systems and is often associated with Unix workstations. Keyboards from Sun Microsystems came in two layouts; "Unix" and "PC-style", with the Unix layout having the traditional placing of the Control key and other keys.[1] The keyboards produced for One Laptop Per Child computers also have the Control key in this location.[2] Other vendors produce keyboards for different computer systems with this placement of the Control key, such as the Happy Hacking Keyboard. In a similar vein, the Google Cr-48 netbook replaces Caps lock with a dedicated "Search" key.[3]

Some users of keyboards with Caps lock on the left remap the keys to exchange Control and Caps lock, finding the traditional location more ergonomic for using programs benefiting from use of the Control key. Keyboard layout preferences specifically to address this need are available in some operating systems. Some keyboards even provide a switch on the bottom to logically swap the two keys in hardware.

International Caps Lock Day[edit]

June 28th and October 22nd are annually marked as International CAPS LOCK DAYS as a parody holiday first created in 2000 by Derek Arnold, a user on Metafilter.[4][5] Rivaling Caps Lock Days have been since set up, such as August 22nd.[6]

See also[edit]

References[edit]

  1. ^ Sun hardware reference manual
  2. ^ Don Marti (2006-10-27). "Doing it for the kids, man: Children's laptop inspires open source projects". Linux World. Retrieved 2010-06-11. 
  3. ^ Diaz, Jesus (December 7, 2010). "Google wants to take your Caps Lock key away". Gizmodo. Retrieved December 9, 2010. 
  4. ^ Brian, Matt (October 22, 2010). "Today is INTERNATIONAL CAPS LOCK DAY, but what is it?". Retrieved October 22, 2010. 
  5. ^ Blass, Evan (October 22, 2006). "HAPPY INTERNATIONAL CAPS LOCK DAY". The Next Web. Retrieved October 22, 2010. 
  6. ^ "August Caps Lock Day". August 22, 2011. Retrieved August 22, 2011. 

External links[edit]