Backtick

1

The backtick ` is a typographical mark used mainly in computing. It is also known as backquote, grave, or grave accent. The character was designed for typewriters to add a grave accent to a (lower-case) base letter, by overtyping it atop that letter. On early computer systems, however, this physical dead key+overtype function was rarely supported, being functionally replaced by precomposed characters. Consequently, this ASCII symbol was rarely (if ever) used in computer systems for its original aim and became repurposed for many unrelated uses in computer programming. The sign is located on the left-top of a US or UK layout keyboard, next to the key. On older keyboards, the Escape key was at this location, and the backtick key was somewhere on the right side of the layout. Provision (if any) of the backtick on other keyboards varies by national keyboard layout and keyboard mapping.

History

Typewriters

On typewriters designed for languages that routinely use diacritics (accent marks), there are two possible solutions. Keys can be dedicated to pre-composed characters or alternatively a dead key mechanism can be provided. With the latter, a mark is made when a dead key is typed but, unlike normal keys, the paper carriage does not move on and thus, the next letter to be typed is printed under the accent.

Incorporation into ISO 646 and ASCII

The incorporation of the grave symbol into ASCII is a consequence of this prior existence on typewriters. This symbol did not exist independently as a type or hot-lead printing character. "It appears to have been at their May 13–15, 1963 meeting that the CCITT decided that the proposed ISO 7-bit code standard would be suitable for their needs if a lower case alphabet and five diacritical marks, including the grave accent, were added to it. At the October 29–31 meeting, then, the ISO subcommittee altered the ISO draft to meet the CCITT requirements, replacing the up-arrow and left-arrow with diacriticals, adding diacritical meanings to the apostrophe and quotation mark, and making the number sign a dual for the tilde." Thus, ISO646 was born and the ASCII standard updated to include the backtick and other symbols.

As surrogate of apostrophe or (opening) single quote

Some early typewriters and ASCII peripherals designed the backtick and apostrophe to be mirror images of each other. This allowed them to be used as matching pairs of open and close quotes, and also as grave and acute accents, and allowed the apostrophe to be used as a prime. None of these were considered typographically correct. The use of apostrophe for opening quotes, the need on some typewriters to overprint apostrophe and period to get an exclamation mark, and the lack of a mirrored double-quote character, tended to change the apostrophe to the modern "typewriter" design that is vertical, so this no longer works. Unicode now provides separate characters for opening and closing quotes. Such style is sometimes used even nowadays; examples are: output generated by some UNIX console programs, rendering of man pages within some environments, technical documentation written long ago or written in old-school manner. However, as time goes on, such style is used less and less, and even institutions that traditionally were using that style are now abandoning it.

Computing

Command-line interface languages

Many command-line interface languages and the scripting (programming) languages like Perl, PHP, Ruby and Julia (though see below) use pairs of backticks to indicate command substitution. A command substitution is the standard output from one command, into an embedded line of text within another command. For example, using $ as the symbol representing a terminal prompt, the code line: In all POSIX shells (including Bash and Zsh), the use of backticks for command substitution is now largely deprecated in favor of the notation, so that the example above would be re-written: The new syntax allows nesting, for example:

Markup languages

It is sometimes used in source code comments to indicate code, e.g., This is also the format the Markdown formatter uses to indicate code. Some variations of Markdown support "fenced code blocks" that span multiple lines of code, starting (and ending) with three backticks in a row.

Programming languages

Games

In many PC-based computer games in the US and UK, the key is used to open the [console](https://bliptext.com/articles/console-video-game-cli) so the user can execute script commands via its [CLI](https://bliptext.com/articles/command-line-interface). This is true for games such as [Factorio](https://bliptext.com/articles/factorio), [Battlefield 3](https://bliptext.com/articles/battlefield-3), [Half-Life](https://bliptext.com/articles/half-life-video-game), [Halo CE](https://bliptext.com/articles/halo-combat-evolved), [Quake](https://bliptext.com/articles/quake-video-game), [Half-Life](https://bliptext.com/articles/half-life-video-game) 2, [Blockland](https://bliptext.com/articles/blockland-video-game), [Soldier of Fortune II: Double Helix](https://bliptext.com/articles/soldier-of-fortune-ii-double-helix), [Unreal](https://bliptext.com/articles/unreal-1998-video-game), [Counter-Strike](https://bliptext.com/articles/counter-strike), [Crysis](https://bliptext.com/articles/crysis), [Morrowind](https://bliptext.com/articles/the-elder-scrolls-iii-morrowind), [Oblivion](https://bliptext.com/articles/the-elder-scrolls-iv-oblivion), [Skyrim](https://bliptext.com/articles/the-elder-scrolls-v-skyrim), [Fallout: New Vegas](https://bliptext.com/articles/fallout-new-vegas), [Fallout 3](https://bliptext.com/articles/fallout-3), [Fallout 4](https://bliptext.com/articles/fallout-4), [RuneScape](https://bliptext.com/articles/runescape), and games based on the [Quake](https://bliptext.com/articles/quake-video-game) engine or [Source engine](https://bliptext.com/articles/source-game-engine). While not necessarily the original progenitor of the console key concept, Quake is still widely associated with any usage of the key as a toggle for a drop-down console, often being referred to as the "Quake Key". In 2021, Windows Terminal introduced a "Quake Mode" which enables a global shortcut of Win+` that opens a terminal window pinned to the top half of the screen.

This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.

Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.
Bliptext is not affiliated with or endorsed by Wikipedia or the Wikimedia Foundation.

Edit article