Compose Key
Get Compose Key essential facts below. View Videos or join the Compose Key discussion. Add Compose Key to your PopFlock.com topic list for future reference or share this resource on social media.
Compose Key
Xfce keyboard layout settings window, featuring a compose-key option

A compose key (sometimes called multi key) is a key on a computer keyboard that indicates that the following (usually 2 or more) keystrokes trigger the insertion of an alternate character, typically a precomposed character or a symbol.[1]

For instance, typing followed by and then will insert ñ.

Compose keys are most popular on Linux and other systems using the X Window System, but software exists to implement them on Windows and macOS.

History

The Compose Character key[2][3] was introduced by engineers at Digital Equipment Corporation (DEC) on the LK201 keyboard, available since 1983 with the VT220 terminal.[4] The keyboard included an LED indicating that a Compose sequence is on-going.[5] While the LK201 introduced the group of command keys between the alphanumerical block and the numerical keypad, and the "inverted T" arrangement of arrow keys, which have become standard,[6] the compose key by contrast did not become a standard.

In 1987, Sun Microsystems released the Sun4, the first dedicated Unix workstation that had a compose key.[4] On the keyboards of Sun Type 5 and 6 workstations, the Compose LED is placed in the keycap (see picture below).

ISO/IEC 9995-7 designed a graphical symbol for this key, in ISO/IEC 9995-7 as symbol 15 "Compose Character", and in ISO 7000 "Graphical symbols for use on equipment" as symbol ISO-7000-2021. This symbol is encoded in Unicode as COMPOSITION SYMBOL.

Because Microsoft Windows and macOS do not support a compose key by default, the key does not exist on most keyboards designed for modern PC hardware. When software supports compose key behaviour, some other key is used. Common examples are the right-hand Windows key, the key, or one of the keys.[7] There is no LED or other indicator that a compose sequence is ongoing.

Compose sequences

If the Compose key is not also a modifier, then key rollover means the compose key does not really have to be released before the subsequent keystrokes. This makes it possible for experienced typists to enter composed characters rapidly.

Earlier versions of compose sequences followed handwriting and the overstrike technique by putting the letter first and diacritics second. For example produced the character ñ. This order is still in use,[8] however the inverse order known from accent-mark dead keys present on the last typewriters is used today: for ñ.[9] This allows multiple diacritics, for instance typing for ?.

Non-accented characters are generally constructed from letters that when overtyped or sequenced would produce something like the character. For instance will produce the copyright symbol ©, and will produce Æ.

There is no intrinsic limit on sequence length, which should respect both the rules of mnemonics and ergonomics, and feasibility within a comprehensive compose tree. For example, DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT THREE might be inserted by , where indicates circled characters,[10] indicates inverse, indicates sans-serif, and indicates the final character.

Compared to other input methods

The primary advantage of a compose key is that the entire sequence used to select the character is made up of any letters and numbers and symbols available on the keyboard. This allows the sequence to be more mnemonic, so it is easier to remember, possible to guess at if unknown, and can support far greater numbers of characters.

For instance if a dead key system where all the dead keys are marked with diacritics might require for ß, the compose key requires typing , matching the common substitution with "SS" for the character. Another example is 2/3 which is entered by , whereas a single dead key solution turns out to be something like (as would be used for 1/3 ).

Modifier keys (such as used on OS/X) are even more limited as typically only one key from the keyboard is used to select the character.

Alt codes or Unicode numerical input could almost be considered a compose key, but with unintuitive numbers, instead of mnemonics, as the selector.

Modern GUI character choosers often require a search function that is not much different than the compose sequences to locate a character quickly.

The primary disadvantage is that compose sequences always require at least one more keystroke. Inconvenient placement of the compose key can also slow typing.

Software support

X Window System

X header files call the Compose Key the "Multi_key". On Xorg the default Compose Key is +,[11] (while pressing before is the "fourth keyboard level modifier", a different key). As this is rather inconvenient (especially for keyboards without an ) it is common to select a keyboard layout where another key such as the right-hand or is mapped to the compose key, this option is normally available in the settings of the desktop environment. The X keyboard driver does not allow the key used for Compose to also function as a modifier.[] On modern systems a vast number of compose sequences are supported.[12]

Windows

On Microsoft Windows a few programs such as PuTTY provide compose-key support. To emulate the compose key for all software, keyboard shortcut utilities are often involved. There are also a number of open-source utilities (such as WinCompose,[13] AllChars,[14] Compose-Keys,[15] or Compose[16]). Installable keyboard layouts (such as KbdEdit[17]) are available that contain a compose key assigned to one of the keys like or . They work by using the dead-key chaining feature that is more commonly used to input letters with multiple diacritics. Such keyboard layouts can also be programmed directly in C (the language Windows drivers are written in), compiled using the free-of-charge Windows Driver Kit,[18] and packaged using the free-of-charge Microsoft Keyboard Layout Creator 1.4,[19] compatible up to the latest versions of the OS.

macOS

Although the Cocoa text input system allows entry of many alternate and accented characters natively in macOS,[20] a true compose-key solution isn't built in. At least one has been implemented using the Karabiner utility.[8] That works with all applications, as does the use of keyboard drivers where Compose is implemented using the dead key chaining feature.[20]

Chrome OS

Although Chrome OS is supplied with a larger repertoire of glyphs than most competitors, the chords needed to achieve them are not always as obvious as the Compose concept provides. Google has made available an add-on (ComposeKey) to compete in this market.[21][22]

DOS

Under DOS, compose key support depended on the running application. For example, Lotus 1-2-3 used + as compose key to allow easier input of many special characters of the Lotus International Character Set (LICS)[23] and Lotus Multi-Byte Character Set (LMBCS).

Common compose combinations

The table shown below shows some of the default compositions for the X.Org server. For modern systems which support Unicode, the table below is far from complete.[12]

this renders this
á
ä
à
ã
â
?
?
å
?
?
?
?
?
Uppercase and
lowercase vowels
support most
of the above
this renders this
æ
Æ
oe
OE
ð
Ð
°
¤
©
®
§
ß
?
þ
Þ
(TM)
×
this renders this
...
·
«
»
\
?
ø
Ø
¿
'
'
ç
Ç
"
"
¡
--
-
÷
this renders this
?
?
£
?
¹
²
³
ª
º
?
?
?
?
ñ
¢
¥
EUR
½
¼
¾

See also

References

  1. ^ "Linux Keyboard Text Symbols: Compose-Key Shortcuts". FSymbols. 2013-07-24. Retrieved .
  2. ^ "p1060628". WickensOnline. 2007. Archived from the original on 2015-04-13. Retrieved .
  3. ^ "LK201_large_keycodes.jpg" (JPEG). The NetBSD Project. Retrieved .
  4. ^ a b "Add a Virtual Compose Key to Your PC". Windows.Appstorm. Retrieved .
  5. ^ "p1060631". WickensOnline. 2007. Archived from the original on 2015-04-13. Retrieved .
  6. ^ Burrows, Jim (2009-09-21). "Inverse-T History". Nerd Corner. Retrieved .
  7. ^ "Compose Key on Windows". Earthwithsun.com. Archived from the original on 2016-03-03. Retrieved .
  8. ^ a b "Setting up a Real Compose Key on Mac OS X". Lol Engine. 2012-06-18. Retrieved .
  9. ^ "Enter european accented characters on an american keyboard". ZoneO Software. June 2006. Archived from the original on 2015-04-18. Retrieved .
  10. ^ is suggested for circled characters, rather than , so that can yield CIRCLED LATIN SMALL LETTER C, while yields © COPYRIGHT SIGN.
  11. ^ "Compose Key". Ubuntu. Retrieved .
  12. ^ a b Monniaux, David. "UTF-8 (Unicode) compose sequence". Retrieved .
  13. ^ Compose Key for Windows - GitHub.
  14. ^ AllChars - SourceForge.net.
  15. ^ Compose Keys - GitHub.
  16. ^ Compose - GitHub.
  17. ^ KbdEdit - Emulating Compose key using chained dead keys.
  18. ^ Windows Driver Kit Version 7.1.0 - Official Microsoft Download Center.
  19. ^ Microsoft Keyboard Layout Creator 1.4 - Official Microsoft Download Center.
  20. ^ a b Wust, J. 'Mach' (2015-06-29). "U.S. custom Keyboard Layout". SourceForge. Retrieved .
  21. ^ "extra-keyboards-for-chrome-os/composekey/". github.com. Retrieved 2020.
  22. ^ "ComposeKey". Chrome Store. Retrieved 2020.
  23. ^ "Appendix F". HP 95LX User's Guide (PDF) (2 ed.). Corvallis, OR, USA: Hewlett-Packard Company, Corvallis Division. June 1991 [March 1991]. F0001-90003. Archived (PDF) from the original on 2016-11-28. Retrieved .

External links


  This article uses material from the Wikipedia page available here. It is released under the Creative Commons Attribution-Share-Alike License 3.0.

Compose_key
 



 



 
Music Scenes