CINXE.COM
ANSI escape code - Wikipedia
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>ANSI escape code - Wikipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )enwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy", "wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"1f3a4f68-1483-44df-8968-e3355a1c08f9","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"ANSI_escape_code","wgTitle":"ANSI escape code","wgCurRevisionId":1258142553,"wgRevisionId":1258142553,"wgArticleId":65930,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["All articles with dead external links","Articles with dead external links from June 2020","Articles with permanently dead external links","Articles with short description","Short description is different from Wikidata","Use dmy dates from May 2021","All articles with unsourced statements","Articles with unsourced statements from November 2023","Articles with unsourced statements from July 2015","All articles lacking reliable references", "Articles lacking reliable references from June 2020","All accuracy disputes","Articles with disputed statements from April 2023","Articles with unsourced statements from September 2013","Articles with unsourced statements from February 2022","Articles with unsourced statements from January 2017","Articles needing additional references from October 2023","All articles needing additional references","Articles with unsourced statements from December 2010","Wikipedia articles needing clarification from November 2010","Computer standards","Ecma standards","American National Standards Institute standards","ISO standards","Text user interface"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"ANSI_escape_code","wgRelevantArticleId":65930,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":false, "wgFlaggedRevsParams":{"tags":{"status":{"levels":1}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":100000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q760000","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={ "ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.pygments":"ready","ext.cite.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.pygments.view","ext.cite.ux-enhancements","mediawiki.page.media","site","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader", "ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.cite.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/b/b1/Htop.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="667"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/b/b1/Htop.png"> <meta property="og:image:width" content="800"> <meta property="og:image:height" content="444"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b1/Htop.png/640px-Htop.png"> <meta property="og:image:width" content="640"> <meta property="og:image:height" content="356"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="ANSI escape code - Wikipedia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//en.m.wikipedia.org/wiki/ANSI_escape_code"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=ANSI_escape_code&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (en)"> <link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://en.wikipedia.org/wiki/ANSI_escape_code"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-ANSI_escape_code rootpage-ANSI_escape_code skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedia:Contents" title="Guides to browsing Wikipedia"><span>Contents</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Current_events" title="Articles related to current events"><span>Current events</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Visit a randomly selected article [x]" accesskey="x"><span>Random article</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About" title="Learn about Wikipedia and how it works"><span>About Wikipedia</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> Contribute </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia"><span>Help</span></a></li><li id="n-introduction" class="mw-list-item"><a href="/wiki/Help:Introduction" title="Learn how to edit Wikipedia"><span>Learn to edit</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Community_portal" title="The hub for editors"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes to Wikipedia [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_upload_wizard" title="Add images or other media for use on Wikipedia"><span>Upload file</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" width="117" height="13" style="width: 7.3125em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page's font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&returnto=ANSI+escape+code" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&returnto=ANSI+escape+code" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Log in and more options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=ANSI+escape+code" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=ANSI+escape+code" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">(Top)</div> </a> </li> <li id="toc-History" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#History"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>History</span> </div> </a> <ul id="toc-History-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Platform_support" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Platform_support"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Platform support</span> </div> </a> <button aria-controls="toc-Platform_support-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Platform support subsection</span> </button> <ul id="toc-Platform_support-sublist" class="vector-toc-list"> <li id="toc-DOS_and_Windows" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#DOS_and_Windows"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>DOS and Windows</span> </div> </a> <ul id="toc-DOS_and_Windows-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-C0_control_codes" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#C0_control_codes"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>C0 control codes</span> </div> </a> <ul id="toc-C0_control_codes-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Fe_Escape_sequences" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Fe_Escape_sequences"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Fe Escape sequences</span> </div> </a> <ul id="toc-Fe_Escape_sequences-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Control_Sequence_Introducer_commands" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Control_Sequence_Introducer_commands"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Control Sequence Introducer commands</span> </div> </a> <ul id="toc-Control_Sequence_Introducer_commands-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Select_Graphic_Rendition_parameters" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Select_Graphic_Rendition_parameters"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Select Graphic Rendition parameters</span> </div> </a> <button aria-controls="toc-Select_Graphic_Rendition_parameters-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Select Graphic Rendition parameters subsection</span> </button> <ul id="toc-Select_Graphic_Rendition_parameters-sublist" class="vector-toc-list"> <li id="toc-Colors" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Colors"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.1</span> <span>Colors</span> </div> </a> <ul id="toc-Colors-sublist" class="vector-toc-list"> <li id="toc-3-bit_and_4-bit" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#3-bit_and_4-bit"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.1.1</span> <span>3-bit and 4-bit</span> </div> </a> <ul id="toc-3-bit_and_4-bit-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-8-bit" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#8-bit"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.1.2</span> <span>8-bit</span> </div> </a> <ul id="toc-8-bit-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-24-bit" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#24-bit"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.1.3</span> <span>24-bit</span> </div> </a> <ul id="toc-24-bit-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Unix_environment_variables_relating_to_color_support" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Unix_environment_variables_relating_to_color_support"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.1.4</span> <span>Unix environment variables relating to color support</span> </div> </a> <ul id="toc-Unix_environment_variables_relating_to_color_support-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> </ul> </li> <li id="toc-Operating_System_Command_sequences" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Operating_System_Command_sequences"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>Operating System Command sequences</span> </div> </a> <ul id="toc-Operating_System_Command_sequences-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Fs_Escape_sequences" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Fs_Escape_sequences"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>Fs Escape sequences</span> </div> </a> <ul id="toc-Fs_Escape_sequences-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Fp_Escape_sequences" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Fp_Escape_sequences"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>Fp Escape sequences</span> </div> </a> <ul id="toc-Fp_Escape_sequences-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-nF_Escape_sequences" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#nF_Escape_sequences"> <div class="vector-toc-text"> <span class="vector-toc-numb">10</span> <span>nF Escape sequences</span> </div> </a> <ul id="toc-nF_Escape_sequences-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Examples" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Examples"> <div class="vector-toc-text"> <span class="vector-toc-numb">11</span> <span>Examples</span> </div> </a> <button aria-controls="toc-Examples-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Examples subsection</span> </button> <ul id="toc-Examples-sublist" class="vector-toc-list"> <li id="toc-In_shell_scripting" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#In_shell_scripting"> <div class="vector-toc-text"> <span class="vector-toc-numb">11.1</span> <span>In shell scripting</span> </div> </a> <ul id="toc-In_shell_scripting-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-In_C" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#In_C"> <div class="vector-toc-text"> <span class="vector-toc-numb">11.2</span> <span>In C</span> </div> </a> <ul id="toc-In_C-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Terminal_input_sequences" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Terminal_input_sequences"> <div class="vector-toc-text"> <span class="vector-toc-numb">12</span> <span>Terminal input sequences</span> </div> </a> <ul id="toc-Terminal_input_sequences-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">13</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Notes" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Notes"> <div class="vector-toc-text"> <span class="vector-toc-numb">14</span> <span>Notes</span> </div> </a> <ul id="toc-Notes-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-References" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#References"> <div class="vector-toc-text"> <span class="vector-toc-numb">15</span> <span>References</span> </div> </a> <ul id="toc-References-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-External_links" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#External_links"> <div class="vector-toc-text"> <span class="vector-toc-numb">16</span> <span>External links</span> </div> </a> <ul id="toc-External_links-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">ANSI escape code</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Go to an article in another language. Available in 14 languages" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-14" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">14 languages</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Codi_ESC_ANSI" title="Codi ESC ANSI – Catalan" lang="ca" hreflang="ca" data-title="Codi ESC ANSI" data-language-autonym="Català" data-language-local-name="Catalan" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/ANSI_escape_k%C3%B3d" title="ANSI escape kód – Czech" lang="cs" hreflang="cs" data-title="ANSI escape kód" data-language-autonym="Čeština" data-language-local-name="Czech" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/ANSI-Escapesequenz" title="ANSI-Escapesequenz – German" lang="de" hreflang="de" data-title="ANSI-Escapesequenz" data-language-autonym="Deutsch" data-language-local-name="German" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/C%C3%B3digo_escape_ANSI" title="Código escape ANSI – Spanish" lang="es" hreflang="es" data-title="Código escape ANSI" data-language-autonym="Español" data-language-local-name="Spanish" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%DA%A9%D8%AF%D9%87%D8%A7%DB%8C_%D9%81%D8%B1%D8%A7%D8%B1_%D8%A7%D9%86%D8%B3%DB%8C" title="کدهای فرار انسی – Persian" lang="fa" hreflang="fa" data-title="کدهای فرار انسی" data-language-autonym="فارسی" data-language-local-name="Persian" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/S%C3%A9quence_d%27%C3%A9chappement_ANSI" title="Séquence d'échappement ANSI – French" lang="fr" hreflang="fr" data-title="Séquence d'échappement ANSI" data-language-autonym="Français" data-language-local-name="French" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/ANSI_%EC%9D%B4%EC%8A%A4%EC%BC%80%EC%9D%B4%ED%94%84_%EC%BD%94%EB%93%9C" title="ANSI 이스케이프 코드 – Korean" lang="ko" hreflang="ko" data-title="ANSI 이스케이프 코드" data-language-autonym="한국어" data-language-local-name="Korean" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Codici_di_escape_ANSI" title="Codici di escape ANSI – Italian" lang="it" hreflang="it" data-title="Codici di escape ANSI" data-language-autonym="Italiano" data-language-local-name="Italian" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/C%C3%B3digo_escape_ANSI" title="Código escape ANSI – Portuguese" lang="pt" hreflang="pt" data-title="Código escape ANSI" data-language-autonym="Português" data-language-local-name="Portuguese" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%A3%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D1%8F%D1%8E%D1%89%D0%B8%D0%B5_%D0%BF%D0%BE%D1%81%D0%BB%D0%B5%D0%B4%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D1%81%D1%82%D0%B8_ANSI" title="Управляющие последовательности ANSI – Russian" lang="ru" hreflang="ru" data-title="Управляющие последовательности ANSI" data-language-autonym="Русский" data-language-local-name="Russian" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/ANSI_X3.64" title="ANSI X3.64 – Finnish" lang="fi" hreflang="fi" data-title="ANSI X3.64" data-language-autonym="Suomi" data-language-local-name="Finnish" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/%D0%9A%D0%B5%D1%80%D1%83%D0%B2%D0%B0%D0%BB%D1%8C%D0%BD%D1%96_%D1%81%D0%B8%D0%BC%D0%B2%D0%BE%D0%BB%D0%B8_ANSI" title="Керувальні символи ANSI – Ukrainian" lang="uk" hreflang="uk" data-title="Керувальні символи ANSI" data-language-autonym="Українська" data-language-local-name="Ukrainian" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-yo mw-list-item"><a href="https://yo.wikipedia.org/wiki/%C3%80m%C3%AC%E1%BB%8D%CC%80r%E1%BB%8D%CC%80_ANSI_escape" title="Àmìọ̀rọ̀ ANSI escape – Yoruba" lang="yo" hreflang="yo" data-title="Àmìọ̀rọ̀ ANSI escape" data-language-autonym="Yorùbá" data-language-local-name="Yoruba" class="interlanguage-link-target"><span>Yorùbá</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/ANSI%E8%BD%AC%E4%B9%89%E5%BA%8F%E5%88%97" title="ANSI转义序列 – Chinese" lang="zh" hreflang="zh" data-title="ANSI转义序列" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q760000#sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Edit links</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/ANSI_escape_code" title="View the content page [c]" accesskey="c"><span>Article</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Talk:ANSI_escape_code" rel="discussion" title="Discuss improvements to the content page [t]" accesskey="t"><span>Talk</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/ANSI_escape_code"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=ANSI_escape_code&action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=ANSI_escape_code&action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/ANSI_escape_code"><span>Read</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=ANSI_escape_code&action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=ANSI_escape_code&action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/ANSI_escape_code" title="List of all English Wikipedia pages containing links to this page [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/ANSI_escape_code" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_Upload_Wizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=ANSI_escape_code&oldid=1258142553" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=ANSI_escape_code&action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:CiteThisPage&page=ANSI_escape_code&id=1258142553&wpFormIdentifier=titleform" title="Information on how to cite this page"><span>Cite this page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FANSI_escape_code"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FANSI_escape_code"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=ANSI_escape_code&action=show-download-screen" title="Download this page as a PDF file"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=ANSI_escape_code&printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q760000" title="Structured data on this page hosted by Wikidata [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">From Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">Method used for display options on video text terminals</div> <style data-mw-deduplicate="TemplateStyles:r1236090951">.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}</style><div role="note" class="hatnote navigation-not-searchable">"ANSI code" redirects here. For other uses, see <a href="/wiki/ANSI_(disambiguation)" class="mw-disambig" title="ANSI (disambiguation)">ANSI (disambiguation)</a>.</div> <p class="mw-empty-elt"> </p> <style data-mw-deduplicate="TemplateStyles:r886049734">.mw-parser-output .monospaced{font-family:monospace,monospace}</style><style data-mw-deduplicate="TemplateStyles:r1257001546">.mw-parser-output .infobox-subbox{padding:0;border:none;margin:-3px;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent}.mw-parser-output .infobox-3cols-child{margin:auto}.mw-parser-output .infobox .navbar{font-size:100%}@media screen{html.skin-theme-clientpref-night .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .infobox-full-data:not(.notheme) div:not(.notheme){background:#1f1f23!important;color:#f8f9fa}}@media(min-width:640px){body.skin--responsive .mw-parser-output .infobox-table{display:table!important}body.skin--responsive .mw-parser-output .infobox-table>caption{display:table-caption!important}body.skin--responsive .mw-parser-output .infobox-table>tbody{display:table-row-group}body.skin--responsive .mw-parser-output .infobox-table tr{display:table-row!important}body.skin--responsive .mw-parser-output .infobox-table th,body.skin--responsive .mw-parser-output .infobox-table td{padding-left:inherit;padding-right:inherit}}</style><table class="infobox"><caption class="infobox-title">ANSI X3.64 (ISO/IEC 6429)</caption><tbody><tr><td colspan="2" class="infobox-image"><span typeof="mw:File"><a href="/wiki/File:Htop.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/b1/Htop.png/250px-Htop.png" decoding="async" width="250" height="139" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/b1/Htop.png/375px-Htop.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/b1/Htop.png/500px-Htop.png 2x" data-file-width="720" data-file-height="400" /></a></span><div class="infobox-caption">Output of the system-monitor <a href="/wiki/Htop" title="Htop">htop</a>, an ncurses-application (which uses <style data-mw-deduplicate="TemplateStyles:r936282034">.mw-parser-output .control-code-link-internal{border-bottom:1px dashed #86a1ff}.mw-parser-output .control-code-link-internal a{color:inherit}</style><span class="control-code-link-internal"><a href="#SGR">SGR</a></span> and other ANSI/ISO control sequences).</div></td></tr><tr><th scope="row" class="infobox-label">Standard</th><td class="infobox-data"><style data-mw-deduplicate="TemplateStyles:r1126788409">.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}</style><div class="plainlist"> <ul><li><a href="/wiki/Ecma_International" title="Ecma International">ECMA</a>-48</li> <li><a href="/wiki/ISO/IEC_JTC_1" title="ISO/IEC JTC 1">ISO/IEC</a> 6429</li> <li><a href="/wiki/Federal_Information_Processing_Standards" title="Federal Information Processing Standards">FIPS</a> 86</li> <li><a href="/wiki/ANSI" class="mw-redirect" title="ANSI">ANSI</a> X3.64</li> <li><a href="/wiki/JIS_X_0211" title="JIS X 0211">JIS X 0211</a></li></ul> </div></td></tr><tr><th scope="row" class="infobox-label">Classification</th><td class="infobox-data"><a href="/wiki/ISO/IEC_2022" title="ISO/IEC 2022">ISO/IEC 2022</a> based <a href="/wiki/C0_and_C1_control_codes" title="C0 and C1 control codes">control code</a> and control sequence set</td></tr><tr><th scope="row" class="infobox-label">Other related encoding(s)</th><td class="infobox-data"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1126788409"><div class="plainlist"> <ul><li><a href="/wiki/ITU_T.61" title="ITU T.61">ITU T.61</a></li> <li><a href="/wiki/ISO/IEC_8613" class="mw-redirect" title="ISO/IEC 8613">ISO/IEC 8613</a>-6 / ITU T.416</li></ul> </div> <hr /> Other control function standards: <style data-mw-deduplicate="TemplateStyles:r1129693374">.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:": "}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist dd dd:first-child::before,.mw-parser-output .hlist dd dt:first-child::before,.mw-parser-output .hlist dd li:first-child::before,.mw-parser-output .hlist dt dd:first-child::before,.mw-parser-output .hlist dt dt:first-child::before,.mw-parser-output .hlist dt li:first-child::before,.mw-parser-output .hlist li dd:first-child::before,.mw-parser-output .hlist li dt:first-child::before,.mw-parser-output .hlist li li:first-child::before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child::after,.mw-parser-output .hlist dd dt:last-child::after,.mw-parser-output .hlist dd li:last-child::after,.mw-parser-output .hlist dt dd:last-child::after,.mw-parser-output .hlist dt dt:last-child::after,.mw-parser-output .hlist dt li:last-child::after,.mw-parser-output .hlist li dd:last-child::after,.mw-parser-output .hlist li dt:last-child::after,.mw-parser-output .hlist li li:last-child::after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:" ("counter(listitem)"\a0 "}</style><div class="hlist"><ul><li><a href="/wiki/Videotex_character_set" title="Videotex character set">ITU T.101</a></li><li><a href="/wiki/JIS_X_0207" class="mw-redirect" title="JIS X 0207">JIS X 0207</a></li><li><a href="/wiki/ISO_6630" class="mw-redirect" title="ISO 6630">ISO 6630</a></li><li><a href="/wiki/DIN_31626" class="mw-redirect" title="DIN 31626">DIN 31626</a></li><li><a href="/wiki/Teletext_character_set" title="Teletext character set">ETS 300 706</a></li></ul></div></td></tr><tr><td colspan="2" class="infobox-navbar"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><style data-mw-deduplicate="TemplateStyles:r1239400231">.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}</style><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Infobox_character_encoding" title="Template:Infobox character encoding"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Infobox_character_encoding" title="Template talk:Infobox character encoding"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:Infobox_character_encoding" title="Special:EditPage/Template:Infobox character encoding"><abbr title="Edit this template">e</abbr></a></li></ul></div></td></tr></tbody></table> <p><b>ANSI escape sequences</b> are a standard for <a href="/wiki/In-band_signaling" title="In-band signaling">in-band signaling</a> to control cursor location, color, font styling, and other options on video <a href="/wiki/Text_terminal" class="mw-redirect" title="Text terminal">text terminals</a> and <a href="/wiki/Terminal_emulator" title="Terminal emulator">terminal emulators</a>. Certain sequences of <a href="/wiki/Byte" title="Byte">bytes</a>, most starting with an <a href="/wiki/Escape_character#ASCII_escape_character" title="Escape character">ASCII escape</a> character and a <a href="/wiki/Bracket" title="Bracket">bracket</a> character, are embedded into text. The terminal interprets these sequences as commands, rather than text to display verbatim. </p><p>ANSI sequences were introduced in the 1970s to replace vendor-specific sequences and became widespread in the computer equipment market by the early 1980s. Although hardware text terminals have become increasingly rare in the 21st century, the relevance of the ANSI standard persists because a great majority of terminal emulators and command consoles interpret at least a portion of the ANSI standard. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="History">History</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=1" title="Edit section: History"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Almost all manufacturers of video terminals added vendor-specific escape sequences to perform operations such as placing the cursor at arbitrary positions on the screen. One example is the <a href="/wiki/VT52" title="VT52">VT52</a> terminal, which allowed the cursor to be placed at an x,y location on the screen by sending the <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC</code> character, a <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">Y</code> character, and then two characters representing numerical values equal to the x,y location plus 32 (thus starting at the ASCII space character and avoiding the control characters). The <a href="/wiki/Hazeltine_1500" title="Hazeltine 1500">Hazeltine 1500</a> had a similar feature, invoked using <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">~</code>, <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">DC1</code> and then the X and Y positions separated with a comma. While the two terminals had identical functionality in this regard, different control sequences had to be used to invoke them. </p><p>As these sequences were different for different terminals, elaborate libraries such as <a href="/wiki/Termcap" title="Termcap">termcap</a> ("terminal capabilities") and utilities such as <a href="/wiki/Tput" title="Tput">tput</a> had to be created so programs could use the same <a href="/wiki/Application_programming_interface" class="mw-redirect" title="Application programming interface">API</a> to work with any terminal. In addition, many of these terminals required sending numbers (such as row and column) as the binary values of the characters; for some programming languages, and for systems that did not use ASCII internally, it was often difficult to turn a number into the correct character. </p><p>The ANSI standard attempted to address these problems by making a command set that all terminals would use and requiring all numeric information to be transmitted as ASCII numbers. The first standard in the series was ECMA-48, adopted in 1976.<sup id="cite_ref-ECMA-48_(1979)_1-0" class="reference"><a href="#cite_note-ECMA-48_(1979)-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> It was a continuation of a series of character coding standards, the first one being <a href="/wiki/ECMA-6" class="mw-redirect" title="ECMA-6">ECMA-6</a> from 1965, a 7-bit standard from which <a href="/wiki/ISO_646" class="mw-redirect" title="ISO 646">ISO 646</a> originates. The name "ANSI escape sequence" dates from 1979 when <a href="/wiki/American_National_Standards_Institute" title="American National Standards Institute">ANSI</a> adopted ANSI X3.64. The ANSI X3L2 committee collaborated with the <a href="/wiki/Ecma_International" title="Ecma International">ECMA</a> committee TC 1 to produce nearly identical standards. These two standards were merged into an international standard, ISO 6429.<sup id="cite_ref-ECMA-48_(1979)_1-1" class="reference"><a href="#cite_note-ECMA-48_(1979)-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> In 1994, ANSI withdrew its standard in favor of the international standard. </p> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:DEC_VT100_terminal.jpg" class="mw-file-description"><img alt="DEC VT100 terminal" src="//upload.wikimedia.org/wikipedia/commons/thumb/9/99/DEC_VT100_terminal.jpg/220px-DEC_VT100_terminal.jpg" decoding="async" width="220" height="195" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/99/DEC_VT100_terminal.jpg/330px-DEC_VT100_terminal.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/99/DEC_VT100_terminal.jpg/440px-DEC_VT100_terminal.jpg 2x" data-file-width="2776" data-file-height="2464" /></a><figcaption>The DEC VT100 video display terminal.</figcaption></figure> <p>The first popular video terminal to support these sequences was the <a href="/wiki/Digital_Equipment_Corporation" title="Digital Equipment Corporation">Digital</a> <a href="/wiki/VT100" title="VT100">VT100</a>, introduced in 1978.<sup id="cite_ref-Williams_2006_VT_2-0" class="reference"><a href="#cite_note-Williams_2006_VT-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> This model was very successful in the market, which sparked a variety of VT100 clones, among the earliest and most popular of which was the much more affordable <a href="/wiki/Zenith_Z-89" title="Zenith Z-89">Zenith Z-19</a> in 1979.<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> Others included the <a href="/wiki/Qume" title="Qume">Qume</a> QVT-108, <a href="/wiki/Televideo" class="mw-redirect" title="Televideo">Televideo</a> TVI-970, <a href="/wiki/Wyse" title="Wyse">Wyse</a> WY-99GT as well as optional "VT100" or "VT103" or "ANSI" modes with varying degrees of compatibility on many other brands. The popularity of these gradually led to more and more software (especially <a href="/wiki/Bulletin_board_system" title="Bulletin board system">bulletin board systems</a> and other <a href="/wiki/Online_service" class="mw-redirect" title="Online service">online services</a>) assuming the escape sequences worked, leading to almost all new terminals and emulator programs supporting them. </p><p>In 1981, ANSI X3.64 was adopted for use in the US government by <a href="/wiki/Federal_Information_Processing_Standards" title="Federal Information Processing Standards">FIPS</a> publication 86. Later, the US government stopped duplicating industry standards, so FIPS pub. 86 was withdrawn.<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> </p><p>ECMA-48 has been updated several times and is currently at its 5th edition, from 1991. It is also adopted by <a href="/wiki/International_Organization_for_Standardization" title="International Organization for Standardization">ISO</a> and <a href="/wiki/International_Electrotechnical_Commission" title="International Electrotechnical Commission">IEC</a> as standard <b>ISO/IEC 6429</b>.<sup id="cite_ref-ECMA-48_5-0" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> A version is adopted as a <a href="/wiki/Japanese_Industrial_Standard" class="mw-redirect" title="Japanese Industrial Standard">Japanese Industrial Standard</a>, as <a href="/wiki/JIS_X_0211" title="JIS X 0211">JIS X 0211</a>. </p><p>Related standards include <a href="/wiki/ITU_T.61" title="ITU T.61">ITU T.61</a>, the <a href="/wiki/Teletex" title="Teletex">Teletex</a> standard, and the <b>ISO/IEC 8613</b>, the <a href="/wiki/Open_Document_Architecture" title="Open Document Architecture">Open Document Architecture</a> standard (mainly ISO/IEC 8613-6 or ITU T.416). The two systems share many escape codes with the ANSI system, with extensions that are not necessarily meaningful to computer terminals. Both systems quickly fell into disuse, but ECMA-48 does mark the extensions used in them as reserved. </p> <div class="mw-heading mw-heading2"><h2 id="Platform_support">Platform support</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=2" title="Edit section: Platform support"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:XtermMenus.png" class="mw-file-description"><img alt="Xterm terminal emulator" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d2/XtermMenus.png/220px-XtermMenus.png" decoding="async" width="220" height="146" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d2/XtermMenus.png/330px-XtermMenus.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d2/XtermMenus.png/440px-XtermMenus.png 2x" data-file-width="820" data-file-height="544" /></a><figcaption>The Xterm terminal emulator.</figcaption></figure><p>In the early 1980s, large amounts of software directly used these sequences to update screen displays. This included everything on <a href="/wiki/OpenVMS" title="OpenVMS">VMS</a> (which assumed DEC terminals), most software designed to be portable on <a href="/wiki/CP/M" title="CP/M">CP/M</a> home computers, and even lots of Unix software as it was easier to use than the termcap libraries, such as the shell script examples below in this article. </p><p><a href="/wiki/Terminal_emulator" title="Terminal emulator">Terminal emulators</a> for communicating with remote machines almost always implement ANSI escape codes. This includes anything written to communicate with bulletin-board systems on home and personal computers. On Unix terminal emulators such as <a href="/wiki/Xterm" title="Xterm">xterm</a> also can communicate with software running on the same machine, and thus software running in X11 under a terminal emulator could assume the ability to write these sequences. </p><p>As computers got more powerful even built-in displays started supporting them, allowing software to be portable between CP/M systems. There were attempts to extend the escape sequences to support printers<sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup> and as an early PDF-like document storage format, the <a href="/wiki/Open_Document_Architecture" title="Open Document Architecture">Open Document Architecture</a>.<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">[<i><a href="/wiki/Wikipedia:Citation_needed" title="Wikipedia:Citation needed"><span title="This claim needs references to reliable sources. (November 2023)">citation needed</span></a></i>]</sup> </p> <div class="mw-heading mw-heading3"><h3 id="DOS_and_Windows">DOS and Windows</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=3" title="Edit section: DOS and Windows"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The IBM PC, introduced in 1983, did not support these or any other escape sequences for updating the screen. Only a few <a href="/wiki/Control_character" title="Control character">control characters</a> (<a href="/wiki/BEL_(ASCII)" class="mw-redirect" title="BEL (ASCII)">BEL</a>, <a href="/wiki/CR_(ASCII)" class="mw-redirect" title="CR (ASCII)">CR</a>, <a href="/wiki/LF_(ASCII)" class="mw-redirect" title="LF (ASCII)">LF</a>, <a href="/wiki/BS_(ASCII)" class="mw-redirect" title="BS (ASCII)">BS</a>) were interpreted by the underlying BIOS. Any display effects had to be done with BIOS calls, which were notoriously slow, or by directly manipulating the IBM PC hardware. This made any interesting software non-portable and led to the need to duplicate details of the display hardware in <a href="/wiki/IBM_PC_compatible" class="mw-redirect" title="IBM PC compatible">PC Clones</a>. </p><p>DOS version 2.0 included an optional <a href="/wiki/Device_driver" title="Device driver">device driver</a> named <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced"><a href="/wiki/ANSI.SYS" title="ANSI.SYS">ANSI.SYS</a></span>. Poor performance, and the fact that it was not installed by default, meant software rarely (if ever) took advantage of it. </p><p>The <a href="/wiki/Windows_Console" title="Windows Console">Windows Console</a> did not support ANSI escape sequences, nor did Microsoft provide any method to enable them. Some replacements such as JP Software's <a href="/wiki/Take_Command_Console" title="Take Command Console">TCC</a> (formerly 4NT), Michael J. Mefford's ANSI.COM, Jason Hood's <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ANSICON</span><sup id="cite_ref-Ansicon_7-0" class="reference"><a href="#cite_note-Ansicon-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup> and Maximus5's <a href="/wiki/ConEmu" title="ConEmu">ConEmu</a> enabled ANSI escape sequences. Software such as the Python colorama package<sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup> or <a href="/wiki/Cygwin" title="Cygwin">Cygwin</a> modified text in-process as it was sent to the console, extracting the ANSI Escape sequences and emulating them with Windows calls. </p><p>In 2016, Microsoft released the <a href="/wiki/Windows_10" title="Windows 10">Windows 10</a> <a href="/wiki/Windows_10_version_history#Version_1511_(November_Update)" title="Windows 10 version history">version 1511</a> update which unexpectedly implemented support for ANSI escape sequences, over three decades after the debut of Windows.<sup id="cite_ref-9" class="reference"><a href="#cite_note-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup> This was done alongside <a href="/wiki/Windows_Subsystem_for_Linux" title="Windows Subsystem for Linux">Windows Subsystem for Linux</a>, apparently to allow <a href="/wiki/Unix-like" title="Unix-like">Unix-like</a> terminal-based software to use the Windows Console. Windows PowerShell 5.1 enabled this by default, and PowerShell 6 made it possible to embed the necessary ESC character into a string with <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">`e</code>.<sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">[</span>10<span class="cite-bracket">]</span></a></sup> </p><p><a href="/wiki/Windows_Terminal" title="Windows Terminal">Windows Terminal</a>, introduced in 2019, supports the sequences by default, and Microsoft intends to replace the Windows Console with Windows Terminal.<sup id="cite_ref-ms-console-roadmap_11-0" class="reference"><a href="#cite_note-ms-console-roadmap-11"><span class="cite-bracket">[</span>11<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="C0_control_codes">C0 control codes</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=4" title="Edit section: C0 control codes"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Almost all users assume some functions of some single-byte characters. Initially defined as part of ASCII, the default C0 control code set is now defined in ISO 6429 (ECMA-48), making it part of the same standard as the C1 set invoked by the ANSI escape sequences (although <a href="/wiki/ISO_2022" class="mw-redirect" title="ISO 2022">ISO 2022</a> allows the ISO 6429 C0 set to be used without the ISO 6429 C1 set, and <i>vice versa</i>, provided that 0x1B is always ESC). This is used to shorten the amount of data transmitted, or to perform some functions that are unavailable from escape sequences: </p> <table class="wikitable"> <caption>Popular C0 control codes (not an exhaustive list) </caption> <tbody><tr> <th><a href="/wiki/Caret_notation" title="Caret notation">^</a></th> <th>C0</th> <th>Abbr</th> <th>Name</th> <th>Effect </th></tr> <tr id="BEL"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">^G</span></td> <td>0x07</td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">BEL</span></td> <td>Bell</td> <td>Makes an audible noise. </td></tr> <tr id="BS"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">^H</span></td> <td>0x08</td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">BS</span></td> <td>Backspace</td> <td>Moves the cursor left (but may "backwards wrap" if cursor is at start of line). </td></tr> <tr id="HT"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">^I</span></td> <td>0x09</td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">HT</span></td> <td>Tab</td> <td>Moves the cursor right to next tab stop. </td></tr> <tr id="LF"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">^J</span></td> <td>0x0A</td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">LF</span></td> <td>Line Feed</td> <td>Moves to next line, scrolls the display up if at bottom of the screen. Usually does not move horizontally, though programs should not rely on this. </td></tr> <tr id="FF"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">^L</span></td> <td>0x0C</td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">FF</span></td> <td>Form Feed</td> <td>Move a printer to top of next page. Usually does not move horizontally, though programs should not rely on this. Effect on video terminals varies. </td></tr> <tr id="CR"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">^M</span></td> <td>0x0D</td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">CR</span></td> <td><span class="nowrap">Carriage Return</span></td> <td>Moves the cursor to column zero. </td></tr> <tr id="ESC"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">^[</span></td> <td>0x1B</td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced"><style data-mw-deduplicate="TemplateStyles:r1238216509">.mw-parser-output .vanchor>:target~.vanchor-text{background-color:#b1d2ff}@media screen{html.skin-theme-clientpref-night .mw-parser-output .vanchor>:target~.vanchor-text{background-color:#0f4dc9}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .vanchor>:target~.vanchor-text{background-color:#0f4dc9}}</style><span class="vanchor"><span id="ESC"></span><span class="vanchor-text">ESC</span></span></span></td> <td>Escape</td> <td>Starts all the escape sequences </td></tr></tbody></table> <p>Escape sequences vary in length. The general format for an ANSI-compliant escape sequence is defined by <a href="/wiki/ANSI_X3.41" class="mw-redirect" title="ANSI X3.41">ANSI X3.41</a> (equivalent to ECMA-35 or ISO/IEC 2022).<sup id="cite_ref-ECMA-35_12-0" class="reference"><a href="#cite_note-ECMA-35-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 13.1">: 13.1 </span></sup> The escape sequences consist only of bytes in the range <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x20—0x7F</span> (all the non-control ASCII characters), and can be parsed without looking ahead. The behavior when a control character, a byte with the high bit set, or a byte that is not part of any valid sequence, is encountered before the end is undefined. </p> <div class="mw-heading mw-heading2"><h2 id="Fe_Escape_sequences">Fe Escape sequences</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=5" title="Edit section: Fe Escape sequences"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>If the <a href="#ESC"><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC</code></a> is followed by a byte in the range 0x40 to 0x5F, the escape sequence is of type <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">Fe</code>. Its interpretation is delegated to the applicable <a href="/wiki/C0_and_C1_control_codes" title="C0 and C1 control codes">C1 control code</a> standard.<sup id="cite_ref-ECMA-35_12-1" class="reference"><a href="#cite_note-ECMA-35-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 13.2.1">: 13.2.1 </span></sup> Accordingly, all escape sequences corresponding to C1 control codes from ANSI X3.64 / ECMA-48 follow this format.<sup id="cite_ref-ECMA-48_5-1" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 5.3.a">: 5.3.a </span></sup> </p><p>The standard says that, in 8-bit environments, the control functions corresponding to type <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">Fe</code> escape sequences (those from the set of <a href="/wiki/C1_control_codes" class="mw-redirect" title="C1 control codes">C1 control codes</a>) can be represented as single bytes in the 0x80–0x9F range.<sup id="cite_ref-ECMA-48_5-2" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 5.3.b">: 5.3.b </span></sup> This is possible in character encodings conforming to the provisions for an 8-bit code made in ISO 2022, such as the <a href="/wiki/ISO_8859" class="mw-redirect" title="ISO 8859">ISO 8859</a> series. However, in character encodings used on modern devices such as <a href="/wiki/UTF-8" title="UTF-8">UTF-8</a> or <a href="/wiki/CP-1252" class="mw-redirect" title="CP-1252">CP-1252</a>, those codes are often used for other purposes, so only the 2-byte sequence is typically used. In the case of UTF-8, representing a C1 control code via the <a href="/wiki/C1_Controls_and_Latin-1_Supplement" class="mw-redirect" title="C1 Controls and Latin-1 Supplement">C1 Controls and Latin-1 Supplement</a> block results in a different two-byte code (e.g. <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0xC2,0x8E</span> for <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">U+008E</span>), but no space is saved this way. </p> <table class="wikitable"> <caption>Some type <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">Fe</span> (C1 set element) ANSI escape sequences (not an exhaustive list) </caption> <tbody><tr> <th>Code</th> <th>C1</th> <th>Abbr</th> <th>Name</th> <th>Effect </th></tr> <tr id="SS2"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC N</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x8E</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">SS2</span> </td> <td>Single Shift Two </td> <td rowspan="2">Select a single character from one of the <a href="/wiki/ISO/IEC_2022#Code_structure" title="ISO/IEC 2022">alternative character sets</a>. SS2 selects the G2 character set, and SS3 selects the G3 character set.<sup id="cite_ref-xtc_13-0" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> In a 7-bit environment, this is followed by one or more GL bytes (0x20–0x7F) specifying a character from that set.<sup id="cite_ref-ECMA-35_12-2" class="reference"><a href="#cite_note-ECMA-35-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 9.4">: 9.4 </span></sup> In an 8-bit environment, these may instead be GR bytes (0xA0–0xFF).<sup id="cite_ref-ECMA-35_12-3" class="reference"><a href="#cite_note-ECMA-35-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 8.4">: 8.4 </span></sup> </td></tr> <tr id="SS3"> <td><span class="nowrap"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC O</span></span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x8F</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">SS3</span> </td> <td>Single Shift Three </td></tr> <tr id="DCS"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC P</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x90</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">DCS</span> </td> <td>Device Control String </td> <td>Terminated by ST.<sup id="cite_ref-ECMA-48_5-3" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 5.6">: 5.6 </span></sup> Xterm's uses of this sequence include defining User-Defined Keys, and requesting or setting Termcap/Terminfo data.<sup id="cite_ref-xtc_13-1" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> </td></tr> <tr id="CSI"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC [</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x9B</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">CSI</span> </td> <td><a href="#CSIsection">Control Sequence Introducer</a> </td> <td>Starts most of the useful sequences, terminated by a byte in the range 0x40 through 0x7E.<sup id="cite_ref-ECMA-48_5-4" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 5.4">: 5.4 </span></sup> </td></tr> <tr id="ST"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC \</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x9C</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ST</span> </td> <td>String Terminator </td> <td>Terminates strings in other controls.<sup id="cite_ref-ECMA-48_5-5" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 8.3.143">: 8.3.143 </span></sup> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC ]</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x9D</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">OSC</span> </td> <td><a href="#OSC">Operating System Command</a> </td> <td>Starts a control string for the operating system to use, terminated by ST.<sup id="cite_ref-ECMA-48_5-6" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 8.3.89">: 8.3.89 </span></sup> </td></tr> <tr id="SOS"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC X</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x98</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">SOS</span> </td> <td>Start of String </td> <td rowspan="3">Takes an argument of a string of text, terminated by ST.<sup id="cite_ref-ECMA-48_5-7" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 5.6">: 5.6 </span></sup> The uses for these string control sequences are defined by the application<sup id="cite_ref-ECMA-48_5-8" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 8.3.2, 8.3.128">: 8.3.2, 8.3.128 </span></sup> or privacy discipline.<sup id="cite_ref-ECMA-48_5-9" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 8.3.94">: 8.3.94 </span></sup> These functions are rarely implemented and the arguments are ignored by xterm.<sup id="cite_ref-xtc_13-2" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> Some <a href="/wiki/Kermit_(protocol)" title="Kermit (protocol)">Kermit</a> clients allow the server to automatically execute Kermit commands on the client by embedding them in APC sequences; this is a potential security risk if the server is untrusted.<sup id="cite_ref-CruzGianone1997_14-0" class="reference"><a href="#cite_note-CruzGianone1997-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup> </td></tr> <tr id="PM"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC ^</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x9E</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">PM</span> </td> <td>Privacy Message </td></tr> <tr id="APC"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC _</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x9F</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">APC</span> </td> <td><span class="nowrap">Application Program Command</span> </td></tr></tbody></table> <p><span class="anchor" id="CBT"></span><span class="anchor" id="CCH"></span><span class="anchor" id="CHT"></span><span class="anchor" id="CTC"></span><span class="anchor" id="CVT"></span> <span class="anchor" id="DA"></span><span class="anchor" id="DAQ"></span><span class="anchor" id="DCH"></span><span class="anchor" id="DL"></span><span class="anchor" id="DMI"></span><span class="anchor" id="EA"></span><span class="anchor" id="ECH"></span><span class="anchor" id="EF"></span><span class="anchor" id="EMI"></span> <span class="anchor" id="EPA"></span><span class="anchor" id="ESA"></span><span class="anchor" id="FNT"></span><span class="anchor" id="GSM"></span><span class="anchor" id="GSS"></span><span class="anchor" id="HPA"></span><span class="anchor" id="HPR"></span><span class="anchor" id="HTJ"></span><span class="anchor" id="HTS"></span><span class="anchor" id="ICH"></span> <span class="anchor" id="IL"></span><span class="anchor" id="IND"></span><span class="anchor" id="INT"></span><span class="anchor" id="JFY"></span><span class="anchor" id="MC"></span><span class="anchor" id="MW"></span><span class="anchor" id="NEL"></span><span class="anchor" id="NP"></span><span class="anchor" id="PLD"></span> <span class="anchor" id="PLU"></span><span class="anchor" id="PP"></span><span class="anchor" id="PU1"></span><span class="anchor" id="PU2"></span><span class="anchor" id="QUAD"></span><span class="anchor" id="REP"></span><span class="anchor" id="RI"></span><span class="anchor" id="RIS"></span><span class="anchor" id="RM"></span> <span class="anchor" id="SEM"></span><span class="anchor" id="SL"></span><span class="anchor" id="SM"></span><span class="anchor" id="SPA"></span><span class="anchor" id="SPI"></span><span class="anchor" id="SR"></span><span class="anchor" id="SSA"></span> <span class="anchor" id="STS"></span><span class="anchor" id="TBC"></span><span class="anchor" id="TSS"></span><span class="anchor" id="VPA"></span><span class="anchor" id="VPR"></span><span class="anchor" id="VTS"></span> <span class="anchor" id="SKR"></span><span class="anchor" id="KR"></span> </p> <div class="mw-heading mw-heading2"><h2 id="Control_Sequence_Introducer_commands"><span class="anchor" id="CSIsection"></span> Control Sequence Introducer commands</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=6" title="Edit section: Control Sequence Introducer commands"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>For Control Sequence Introducer, or CSI, commands, the <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC [</code> (written as <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">\e[</code> or <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">\033[</code> in several programming languages) is followed by any number (including none) of "parameter bytes" in the range 0x30–0x3F (ASCII <code>0–9:;<=>?</code>), then by any number of "intermediate bytes" in the range 0x20–0x2F (ASCII space and <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">!"#$%&'()*+,-./</code>), then finally by a single "final byte" in the range 0x40–0x7E (ASCII <code>@A–Z[\]^_`a–z{|}~</code>).<sup id="cite_ref-ECMA-48_5-10" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 5.4">: 5.4 </span></sup> </p><p>All common sequences just use the parameters as a series of semicolon-separated numbers such as <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">1;2;3</code>.<sup id="cite_ref-ECMA-48_5-11" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page: 5.4.2">: 5.4.2 </span></sup> Missing numbers are treated as <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">0</code> (<code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">1;;3</code> acts like the middle number is <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">0</code>, and no parameters at all in <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC[m</code> acts like a <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">0</code> reset code). Some sequences (such as CUU) treat <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">0</code> as <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">1</code> in order to make missing parameters useful.<sup id="cite_ref-ECMA-48_5-12" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: F.4.2">: F.4.2 </span></sup> </p><p>A subset of arrangements was declared "private" so that terminal manufacturers could insert their own sequences without conflicting with the standard. Sequences containing the parameter bytes <code><=>?</code> or the final bytes 0x70–0x7E (<code>p–z{|}~</code>) are private. </p><p>The behavior of the terminal is undefined in the case where a CSI sequence contains any character outside of the range 0x20–0x7E. These illegal characters are either C0 control characters (the range 0–0x1F), DEL (0x7F), or bytes with the high bit set. Possible responses are to ignore the byte, to process it immediately, and furthermore whether to continue with the CSI sequence, to abort it immediately, or to ignore the rest of it.<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">[<i><a href="/wiki/Wikipedia:Citation_needed" title="Wikipedia:Citation needed"><span title="This claim needs references to reliable sources. (July 2015)">citation needed</span></a></i>]</sup> </p> <table class="wikitable"> <caption>Some ANSI control sequences (not an exhaustive list) </caption> <tbody><tr> <th>Code</th> <th>Abbr</th> <th>Name</th> <th>Effect </th></tr> <tr id="CUU"> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> A </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">CUU</span> </td> <td>Cursor Up </td> <td rowspan="4">Moves the cursor <var style="padding-right: 1px;">n</var> (default <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">1</code>) cells in the given direction. If the cursor is already at the edge of the screen, this has no effect. </td></tr> <tr id="CUD"> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> B </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">CUD</span> </td> <td>Cursor Down </td></tr> <tr id="CUF"> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> C </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">CUF</span> </td> <td>Cursor Forward </td></tr> <tr id="CUB"> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> D </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">CUB</span> </td> <td>Cursor Back </td></tr> <tr id="CNL"> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> E </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">CNL</span> </td> <td>Cursor Next Line </td> <td>Moves cursor to beginning of the line <var style="padding-right: 1px;">n</var> (default <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">1</code>) lines down. (not <a href="/wiki/ANSI.SYS" title="ANSI.SYS">ANSI.SYS</a>) </td></tr> <tr id="CPL"> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> F </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">CPL</span> </td> <td>Cursor Previous Line </td> <td>Moves cursor to beginning of the line <var style="padding-right: 1px;">n</var> (default <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">1</code>) lines up. (not <a href="/wiki/ANSI.SYS" title="ANSI.SYS">ANSI.SYS</a>) </td></tr> <tr id="CHA"> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> G </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">CHA</span> </td> <td><span class="nowrap">Cursor Horizontal Absolute</span> </td> <td>Moves the cursor to column <var style="padding-right: 1px;">n</var> (default <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">1</code>). (not <a href="/wiki/ANSI.SYS" title="ANSI.SYS">ANSI.SYS</a>) </td></tr> <tr id="CUP"> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> ; <var style="padding-right: 1px;">m</var> H </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">CUP</span> </td> <td>Cursor Position </td> <td>Moves the cursor to row <var style="padding-right: 1px;">n</var>, column <var style="padding-right: 1px;">m</var>. The values are 1-based, and default to <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">1</code> (top left corner) if omitted. A sequence such as <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI ;5H</code> is a synonym for <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI 1;5H</code> as well as <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI 17;H</code> is the same as <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI 17H</code> and <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI 17;1H</code> </td></tr> <tr id="ED"> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> J </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ED</span> </td> <td>Erase in Display </td> <td>Clears part of the screen. If <var style="padding-right: 1px;">n</var> is <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">0</code> (or missing), clear from cursor to end of screen. If <var style="padding-right: 1px;">n</var> is <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">1</code>, clear from cursor to beginning of the screen. If <var style="padding-right: 1px;">n</var> is <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">2</code>, clear entire screen (and moves cursor to upper left on DOS <a href="/wiki/ANSI.SYS" title="ANSI.SYS">ANSI.SYS</a>). If <var style="padding-right: 1px;">n</var> is <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">3</code>, clear entire screen and delete all lines saved in the scrollback buffer (this feature was added for <a href="/wiki/Xterm" title="Xterm">xterm</a> and is supported by other terminal applications). </td></tr> <tr id="EL"> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> K </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">EL</span> </td> <td>Erase in Line </td> <td>Erases part of the line. If <var style="padding-right: 1px;">n</var> is <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">0</code> (or missing), clear from cursor to the end of the line. If <var style="padding-right: 1px;">n</var> is <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">1</code>, clear from cursor to beginning of the line. If <var style="padding-right: 1px;">n</var> is <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">2</code>, clear entire line. Cursor position does not change. </td></tr> <tr id="SU"> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> S </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">SU</span> </td> <td>Scroll Up </td> <td>Scroll whole page up by <var style="padding-right: 1px;">n</var> (default <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">1</code>) lines. New lines are added at the bottom. (not <a href="/wiki/ANSI.SYS" title="ANSI.SYS">ANSI.SYS</a>) </td></tr> <tr id="SD"> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> T </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">SD</span> </td> <td>Scroll Down </td> <td>Scroll whole page down by <var style="padding-right: 1px;">n</var> (default <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">1</code>) lines. New lines are added at the top. (not <a href="/wiki/ANSI.SYS" title="ANSI.SYS">ANSI.SYS</a>) </td></tr> <tr id="HVP"> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> ; <var style="padding-right: 1px;">m</var> f </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">HVP</span> </td> <td><span class="nowrap">Horizontal Vertical Position</span> </td> <td>Same as CUP, but counts as a format effector function (like <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r936282034"><a href="/wiki/Carriage_return" title="Carriage return">CR</a> or <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r936282034"><a href="/wiki/Line_feed" class="mw-redirect" title="Line feed">LF</a>) rather than an editor function (like CUD or CNL). This can lead to different handling in certain terminal modes.<sup id="cite_ref-ECMA-48_5-13" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: Annex A">: Annex A </span></sup> </td></tr> <tr> <td style="font-family:monospace;">CSI <var style="padding-right: 1px;">n</var> m </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">SGR</span> </td> <td><a href="#SGR">Select Graphic Rendition</a> </td> <td>Sets colors and style of the characters following this code </td></tr> <tr id="AUX"> <td style="font-family:monospace;">CSI 5i </td> <td> </td> <td>AUX Port On </td> <td>Enable aux serial port usually for local serial printer </td></tr> <tr id="noAUX"> <td style="font-family:monospace;">CSI 4i </td> <td> </td> <td>AUX Port Off </td> <td>Disable aux serial port usually for local serial printer <p><span class="anchor" id="CPR"></span> </p> </td></tr> <tr id="DSR"> <td style="font-family:monospace;">CSI 6n </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">DSR</span> </td> <td>Device Status Report </td> <td>Reports the cursor position (CPR) by transmitting <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC[n;mR</code>, where <var style="padding-right: 1px;">n</var> is the row and <var style="padding-right: 1px;">m</var> is the column. </td></tr></tbody></table> <table class="wikitable"> <caption>Some popular private sequences </caption> <tbody><tr> <th>Code</th> <th>Abbr</th> <th>Name</th> <th>Effect </th></tr> <tr id="SCP"> <td style="font-family:monospace;">CSI s </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">SCP, SCOSC</span> </td> <td>Save Current Cursor Position </td> <td>Saves the cursor position/state in SCO console mode.<sup id="cite_ref-15" class="reference"><a href="#cite_note-15"><span class="cite-bracket">[</span>15<span class="cite-bracket">]</span></a></sup> In vertical split screen mode, instead used to set (as <code>CSI <var>n</var> ; <var>n</var> s</code>) or reset left and right margins.<sup id="cite_ref-16" class="reference"><a href="#cite_note-16"><span class="cite-bracket">[</span>16<span class="cite-bracket">]</span></a></sup> </td></tr> <tr id="RCP"> <td style="font-family:monospace;">CSI u </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">RCP, SCORC</span> </td> <td><span class="nowrap">Restore Saved Cursor Position</span> </td> <td>Restores the cursor position/state in SCO console mode.<sup id="cite_ref-17" class="reference"><a href="#cite_note-17"><span class="cite-bracket">[</span>17<span class="cite-bracket">]</span></a></sup> </td></tr> <tr> <td style="font-family:monospace;">CSI ? 25 h </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">DECTCEM</span> </td> <td> </td> <td>Shows the cursor, from the <a href="/wiki/VT220" title="VT220">VT220</a>. </td></tr> <tr> <td style="font-family:monospace;">CSI ? 25 l </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">DECTCEM</span> </td> <td> </td> <td>Hides the cursor. </td></tr> <tr> <td style="font-family:monospace;">CSI ? 1004 h </td> <td> </td> <td> </td> <td>Enable reporting focus. Reports whenever terminal emulator enters or exits focus as <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC [I</code> and <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC [O</code>, respectively. </td></tr> <tr> <td style="font-family:monospace;">CSI ? 1004 l </td> <td> </td> <td> </td> <td>Disable reporting focus. </td></tr> <tr> <td style="font-family:monospace;">CSI ? 1049 h </td> <td> </td> <td> </td> <td>Enable alternative screen buffer, from xterm </td></tr> <tr> <td style="font-family:monospace;">CSI ? 1049 l </td> <td> </td> <td> </td> <td>Disable alternative screen buffer, from xterm </td></tr> <tr> <td style="font-family:monospace;">CSI ? 2004 h </td> <td> </td> <td> </td> <td>Turn on bracketed paste mode.<sup id="cite_ref-18" class="reference"><a href="#cite_note-18"><span class="cite-bracket">[</span>18<span class="cite-bracket">]</span></a></sup> In bracketed paste mode, text pasted into the terminal will be surrounded by <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC [200~</code> and <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC [201~</code>; programs running in the terminal should not treat characters bracketed by those sequences as commands (<a href="/wiki/Vim_(text_editor)" title="Vim (text editor)">Vim</a>, for example, does not treat them as commands).<sup id="cite_ref-19" class="reference"><a href="#cite_note-19"><span class="cite-bracket">[</span>19<span class="cite-bracket">]</span></a></sup> From xterm<sup id="cite_ref-20" class="reference"><a href="#cite_note-20"><span class="cite-bracket">[</span>20<span class="cite-bracket">]</span></a></sup> </td></tr> <tr> <td style="font-family:monospace;">CSI ? 2004 l </td> <td> </td> <td> </td> <td>Turn off bracketed paste mode. </td></tr></tbody></table> <div class="mw-heading mw-heading2"><h2 id="Select_Graphic_Rendition_parameters"><span class="anchor" id="SGR"></span> Select Graphic Rendition parameters</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=7" title="Edit section: Select Graphic Rendition parameters"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The control sequence <code>CSI <var style="padding-right: 1px;">n</var> m</code>, named Select Graphic Rendition (SGR), sets display attributes. Several attributes can be set in the same sequence, separated by semicolons.<sup id="cite_ref-console_codes(4)_21-0" class="reference"><a href="#cite_note-console_codes(4)-21"><span class="cite-bracket">[</span>21<span class="cite-bracket">]</span></a></sup> Each display attribute remains in effect until a following occurrence of SGR resets it.<sup id="cite_ref-ECMA-48_5-14" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> If no codes are given, <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI m</code> is treated as <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI 0 m</code> (reset / normal). </p> <table class="wikitable"> <tbody><tr> <th><i>n</i></th> <th>Name</th> <th>Note </th></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0</span> </td> <td>Reset <i>or</i> normal </td> <td>All attributes become turned off </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">1</span> </td> <td>Bold or increased intensity </td> <td>As with faint, the color change is a PC (SCO / <a href="/wiki/Color_Graphics_Adapter" title="Color Graphics Adapter">CGA</a>) invention.<sup id="cite_ref-SCO_22-0" class="reference"><a href="#cite_note-SCO-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup><sup class="noprint Inline-Template noprint noexcerpt Template-Fact" style="white-space:nowrap;">[<i><a href="/wiki/Wikipedia:NOTRS" class="mw-redirect" title="Wikipedia:NOTRS"><span title="This claim needs references to better sources. (June 2020)">better source needed</span></a></i>]</sup> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">2</span> </td> <td>Faint, decreased intensity, <i>or</i> dim </td> <td>May be implemented as a light <a href="/wiki/Font_weight" class="mw-redirect" title="Font weight">font weight</a> like bold.<sup id="cite_ref-23" class="reference"><a href="#cite_note-23"><span class="cite-bracket">[</span>23<span class="cite-bracket">]</span></a></sup> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">3</span> </td> <td>Italic </td> <td>Not widely supported. Sometimes treated as inverse or blink.<sup id="cite_ref-SCO_22-1" class="reference"><a href="#cite_note-SCO-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">4</span> </td> <td>Underline </td> <td>Style extensions exist for Kitty, VTE, mintty, iTerm2 and Konsole.<sup id="cite_ref-color-u_24-0" class="reference"><a href="#cite_note-color-u-24"><span class="cite-bracket">[</span>24<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-color-u-kitty-spec_25-0" class="reference"><a href="#cite_note-color-u-kitty-spec-25"><span class="cite-bracket">[</span>25<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-color-u-konsole_26-0" class="reference"><a href="#cite_note-color-u-konsole-26"><span class="cite-bracket">[</span>26<span class="cite-bracket">]</span></a></sup> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">5</span> </td> <td>Slow blink </td> <td>Sets blinking to less than 150 times per minute </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">6</span> </td> <td>Rapid blink </td> <td>MS-DOS ANSI.SYS, 150+ per minute; not widely supported </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">7</span> </td> <td><a href="/wiki/Reverse_video" title="Reverse video">Reverse video</a> <i>or</i> invert </td> <td>Swap foreground and background colors; inconsistent emulation<sup id="cite_ref-console-termio-realize_27-0" class="reference"><a href="#cite_note-console-termio-realize-27"><span class="cite-bracket">[</span>27<span class="cite-bracket">]</span></a></sup><sup class="noprint Inline-Template" style="white-space:nowrap;">[<i><a href="/wiki/Wikipedia:Accuracy_dispute#Disputed_statement" title="Wikipedia:Accuracy dispute"><span title="The material near this tag is possibly inaccurate or nonfactual. (April 2023)">dubious</span></a> – <a href="/wiki/Talk:ANSI_escape_code#inconsistent_emulation" title="Talk:ANSI escape code">discuss</a></i>]</sup> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">8</span> </td> <td>Conceal <i>or</i> hide </td> <td>Not widely supported. </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">9</span> </td> <td><a href="/wiki/Strikethrough" title="Strikethrough">Crossed-out</a>, <i>or</i> strike </td> <td>Characters legible but marked as if for deletion. Not supported in Terminal.app. </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">10</span> </td> <td>Primary (default) font </td> <td> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">11–19</span> </td> <td>Alternative font </td> <td>Select alternative font <span class="texhtml"><i>n</i> − 10</span> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">20</span> </td> <td><a href="/wiki/Fraktur" title="Fraktur">Fraktur</a> (Gothic) </td> <td>Rarely supported </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">21</span> </td> <td>Doubly underlined; or: not bold </td> <td>Double-underline per ECMA-48,<sup id="cite_ref-ECMA-48_5-15" class="reference"><a href="#cite_note-ECMA-48-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 8.3.117">: 8.3.117 </span></sup> but instead disables bold intensity on several terminals, including in the <a href="/wiki/Linux_kernel" title="Linux kernel">Linux kernel</a>'s <a href="/wiki/Linux_console" title="Linux console">console</a> before version 4.17.<sup id="cite_ref-28" class="reference"><a href="#cite_note-28"><span class="cite-bracket">[</span>28<span class="cite-bracket">]</span></a></sup> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">22</span> </td> <td>Normal intensity </td> <td>Neither bold nor faint; color changes where intensity is implemented as such. </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">23</span> </td> <td>Neither italic, nor blackletter </td> <td> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">24</span> </td> <td>Not underlined </td> <td>Neither singly nor doubly underlined </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">25</span> </td> <td>Not blinking </td> <td>Turn blinking off </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">26</span> </td> <td>Proportional spacing </td> <td><a href="/wiki/ITU_T.61" title="ITU T.61">ITU T.61</a> and T.416, not known to be used on terminals </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">27</span> </td> <td>Not reversed </td> <td> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">28</span> </td> <td>Reveal </td> <td>Not concealed </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">29</span> </td> <td>Not crossed out </td> <td> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">30–37</span> </td> <td>Set foreground <a href="#3-bit_and_4-bit">color</a> </td> <td> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">38</span> </td> <td>Set foreground <a href="#8-bit">color</a> </td> <td><a href="#8-bit">Next arguments are <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">5;n</code> or <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">2;r;g;b</code></a> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">39</span> </td> <td>Default foreground color </td> <td>Implementation defined (according to standard) </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">40–47</span> </td> <td>Set background <a href="#3-bit_and_4-bit">color</a> </td> <td> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">48</span> </td> <td>Set background <a href="#8-bit">color</a> </td> <td><a href="#8-bit">Next arguments are <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">5;n</code> or <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">2;r;g;b</code></a> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">49</span> </td> <td>Default background color </td> <td>Implementation defined (according to standard) </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">50</span> </td> <td>Disable proportional spacing </td> <td>T.61 and T.416 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">51</span> </td> <td>Framed </td> <td rowspan="2">Implemented as "<a href="/wiki/Variation_Selectors_(Unicode_block)" title="Variation Selectors (Unicode block)">emoji variation selector</a>" in mintty.<sup id="cite_ref-mintty_29-0" class="reference"><a href="#cite_note-mintty-29"><span class="cite-bracket">[</span>29<span class="cite-bracket">]</span></a></sup> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">52</span> </td> <td>Encircled </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">53</span> </td> <td>Overlined </td> <td>Not supported in Terminal.app </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">54</span> </td> <td>Neither framed nor encircled </td> <td> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">55</span> </td> <td>Not overlined </td> <td> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">58</span> </td> <td>Set underline <a href="#8-bit">color</a> </td> <td>Not in standard; implemented in Kitty, VTE, mintty, and iTerm2.<sup id="cite_ref-color-u_24-1" class="reference"><a href="#cite_note-color-u-24"><span class="cite-bracket">[</span>24<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-color-u-kitty-spec_25-1" class="reference"><a href="#cite_note-color-u-kitty-spec-25"><span class="cite-bracket">[</span>25<span class="cite-bracket">]</span></a></sup> <a href="#8-bit">Next arguments are <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">5;n</code> or <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">2;r;g;b</code></a>. </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">59</span> </td> <td>Default underline color </td> <td>Not in standard; implemented in Kitty, VTE, mintty, and iTerm2.<sup id="cite_ref-color-u_24-2" class="reference"><a href="#cite_note-color-u-24"><span class="cite-bracket">[</span>24<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-color-u-kitty-spec_25-2" class="reference"><a href="#cite_note-color-u-kitty-spec-25"><span class="cite-bracket">[</span>25<span class="cite-bracket">]</span></a></sup> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">60</span> </td> <td>Ideogram underline or right side line </td> <td rowspan="5">Rarely supported </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">61</span> </td> <td>Ideogram double underline, <i>or</i> double line on the right side </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">62</span> </td> <td>Ideogram overline or left side line </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">63</span> </td> <td>Ideogram double overline, <i>or</i> double line on the left side </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">64</span> </td> <td>Ideogram stress marking </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">65</span> </td> <td>No ideogram attributes </td> <td>Reset the effects of all of <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">60</code>–<code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">64</code> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">73</span> </td> <td>Superscript </td> <td rowspan="3">Implemented only in mintty<sup id="cite_ref-mintty_29-1" class="reference"><a href="#cite_note-mintty-29"><span class="cite-bracket">[</span>29<span class="cite-bracket">]</span></a></sup> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">74</span> </td> <td>Subscript </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">75</span> </td> <td>Neither superscript nor subscript </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">90–97</span> </td> <td>Set bright foreground color </td> <td rowspan="2">Not in standard; originally implemented by aixterm<sup id="cite_ref-xtc_13-3" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced"><span class="nowrap">100–107</span></span> </td> <td>Set bright background color </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="Colors"><span class="anchor" id="colors"></span> Colors</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=8" title="Edit section: Colors"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading4"><h4 id="3-bit_and_4-bit">3-bit and 4-bit</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=9" title="Edit section: 3-bit and 4-bit"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The original specification only had 8 colors, and just gave them names. The SGR parameters 30–37 selected the foreground color, while 40–47 selected the background. Quite a few terminals implemented "bold" (SGR code 1) as a brighter color rather than a different font, thus providing 8 additional foreground colors. Usually you could not get these as background colors, though sometimes inverse video (SGR code 7) would allow that. Examples: to get black letters on white background use <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC[30;47m</code>, to get red use <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC[31m</code>, to get bright red use <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC[1;31m</code>. To reset colors to their defaults, use <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC[39;49m</code> (not supported on some terminals), or reset all attributes with <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC[0m</code>. Later terminals added the ability to directly specify the "bright" colors with 90–97 and 100–107. </p><p>The chart below shows a few examples of how VGA standard and modern <a href="/wiki/Terminal_emulator" title="Terminal emulator">terminal emulators</a> translate the 4-bit color codes into 24-bit color codes. </p> <div style="display: flex; width: 100%; overflow-x: auto"> <table class="wikitable"> <tbody><tr> <th><abbr title="Foreground">FG</abbr> </th> <th><abbr title="Background">BG</abbr> </th> <th>Name </th> <th>VGA<sup id="cite_ref-30" class="reference"><a href="#cite_note-30"><span class="cite-bracket">[</span>a<span class="cite-bracket">]</span></a></sup> </th> <th><a href="/wiki/Windows_Console" title="Windows Console">Windows XP<br />Console</a><sup id="cite_ref-31" class="reference"><a href="#cite_note-31"><span class="cite-bracket">[</span>b<span class="cite-bracket">]</span></a></sup> </th> <th><a href="/wiki/Windows_PowerShell" class="mw-redirect" title="Windows PowerShell">Windows<br />PowerShell&<br />1.0–6.0</a><sup id="cite_ref-33" class="reference"><a href="#cite_note-33"><span class="cite-bracket">[</span>c<span class="cite-bracket">]</span></a></sup> </th> <th><a href="/wiki/Visual_Studio_Code" title="Visual Studio Code">Visual Studio Code</a><sup id="cite_ref-34" class="reference"><a href="#cite_note-34"><span class="cite-bracket">[</span>d<span class="cite-bracket">]</span></a></sup> </th> <th><a href="/wiki/Windows_Console" title="Windows Console">Windows 10<br />Console</a><sup id="cite_ref-35" class="reference"><a href="#cite_note-35"><span class="cite-bracket">[</span>e<span class="cite-bracket">]</span></a></sup> </th> <th><a href="/wiki/Terminal_(macOS)" title="Terminal (macOS)">Terminal.app</a> </th> <th><a href="/wiki/PuTTY" title="PuTTY">PuTTY</a> </th> <th><a href="/wiki/MIRC" title="MIRC">mIRC</a> </th> <th><a href="/wiki/Xterm" title="Xterm">xterm</a> </th> <th><a href="/wiki/Ubuntu_(operating_system)" class="mw-redirect" title="Ubuntu (operating system)">Ubuntu</a><sup id="cite_ref-36" class="reference"><a href="#cite_note-36"><span class="cite-bracket">[</span>f<span class="cite-bracket">]</span></a></sup> </th> <th>Eclipse Terminal </th></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">30</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">40</span></td> <td>Black </td> <td colspan="4" style="background: #000; color: white">0, 0, 0 </td> <td style="background: #0c0c0c; color: white">12, 12, 12 </td> <td colspan="4" style="background: #000; color: white">0, 0, 0 </td> <td style="background: #010101; color: white">1, 1, 1 </td> <td style="background: #000; color: white">0, 0, 0 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">31</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">41</span></td> <td>Red </td> <td style="background: #AA0000; color: white">170, 0, 0 </td> <td colspan="2" style="background: #800000; color: white">128, 0, 0 </td> <td style="background: #cd3131; color: white">205, 49, 49 </td> <td style="background: #c50f1f; color: white">197, 15, 31 </td> <td style="background: #990000; color: white">153, 0, 0 </td> <td style="background: #bb0000; color: white">187, 0, 0 </td> <td style="background: #7f0000; color: white">127, 0, 0 </td> <td style="background: #cd0000; color: white">205, 0, 0 </td> <td style="background: #de382b; color: white">222, 56, 43 </td> <td style="background: #cd0000; color: white">205, 0, 0 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">32</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">42</span></td> <td>Green </td> <td style="background: #00AA00; color: white">0, 170, 0 </td> <td colspan="2" style="background: #008000; color: white">0, 128, 0 </td> <td style="background: #0dbc79; color: white">13, 188, 121 </td> <td style="background: #13a10e; color: white">19, 161, 14 </td> <td style="background: #00A600; color: white">0, 166, 0 </td> <td style="background: #00bb00; color: white">0, 187, 0 </td> <td style="background: #009300; color: white">0, 147, 0 </td> <td style="background: #00cd00; color: white">0, 205, 0 </td> <td style="background: #39b54a; color: black">57, 181, 74 </td> <td style="background: #00cd00; color: white">0, 205, 0 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">33</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">43</span></td> <td>Yellow </td> <td style="background: #AA5500; color: white">170, 85, 0<sup id="cite_ref-38" class="reference"><a href="#cite_note-38"><span class="cite-bracket">[</span>g<span class="cite-bracket">]</span></a></sup> </td> <td style="background: #808000; color: white">128, 128, 0 </td> <td style="background: #eeedf0; color: black">238, 237, 240 </td> <td style="background: #e5e510; color: black">229, 229, 16 </td> <td style="background: #c19c00; color: white">193, 156, 0 </td> <td style="background: #999900; color: white">153, 153, 0 </td> <td style="background: #bbbb00; color: black">187, 187, 0 </td> <td style="background: #fc7f00; color: white">252, 127, 0 </td> <td style="background: #cdcd00; color: black">205, 205, 0 </td> <td style="background: #ffc706; color: black">255, 199, 6 </td> <td style="background: #cdcd00; color: black">205, 205, 0 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">34</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">44</span></td> <td>Blue </td> <td style="background: #0000AA; color: white">0, 0, 170 </td> <td colspan="2" style="background: #000080; color: white">0, 0, 128 </td> <td style="background: #2472c8; color: white">36, 114, 200 </td> <td style="background: #0037da; color: white">0, 55, 218 </td> <td style="background: #0000B2; color: white">0, 0, 178 </td> <td style="background: #0000bb; color: white">0, 0, 187 </td> <td style="background: #00007f; color: white">0, 0, 127 </td> <td style="background: #0000ee; color: white">0, 0, 238<sup id="cite_ref-39" class="reference"><a href="#cite_note-39"><span class="cite-bracket">[</span>32<span class="cite-bracket">]</span></a></sup> </td> <td style="background: #006fb8; color: white">0, 111, 184 </td> <td style="background: #0000ee; color: white">0, 0, 238 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">35</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">45</span></td> <td>Magenta </td> <td style="background: #AA00AA; color: white">170, 0, 170 </td> <td style="background: #800080; color: white">128, 0, 128 </td> <td style="background: #012456; color: white">1, 36, 86 </td> <td style="background: #bc3fbc; color: white">188, 63, 188 </td> <td style="background: #881798; color: white">136, 23, 152 </td> <td style="background: #B200B2; color: white">178, 0, 178 </td> <td style="background: #bb00bb; color: white">187, 0, 187 </td> <td style="background: #9c009c; color: white">156, 0, 156 </td> <td style="background: #cd00cd; color: white">205, 0, 205 </td> <td style="background: #762671; color: white">118, 38, 113 </td> <td style="background: #cd00cd; color: white">205, 0, 205 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">36</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">46</span></td> <td>Cyan </td> <td style="background: #00AAAA; color: white">0, 170, 170 </td> <td colspan="2" style="background: #008080; color: white">0, 128, 128 </td> <td style="background: #11a8cd; color: white">17, 168, 205 </td> <td style="background: #3a96dd; color: white">58, 150, 221 </td> <td style="background: #00A6B2; color: white">0, 166, 178 </td> <td style="background: #00bbbb; color: black">0, 187, 187 </td> <td style="background: #009393; color: white">0, 147, 147 </td> <td style="background: #00cdcd; color: black">0, 205, 205 </td> <td style="background: #2cb5e9; color: black">44, 181, 233 </td> <td style="background: #00cdcd; color: black">0, 205, 205 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">37</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">47</span></td> <td>White </td> <td style="background: #AAAAAA; color: black">170, 170, 170 </td> <td colspan="2" style="background: #c0c0c0; color: black">192, 192, 192 </td> <td style="background: #e5e5e5; color: black">229, 229, 229 </td> <td style="background: #cccccc; color: black">204, 204, 204 </td> <td style="background: #BFBFBF; color: black">191, 191, 191 </td> <td style="background: #bbbbbb; color: black">187, 187, 187 </td> <td style="background: #d2d2d2; color: black">210, 210, 210 </td> <td style="background: #e5e5e5; color: black">229, 229, 229 </td> <td style="background: #cccccc; color: black">204, 204, 204 </td> <td style="background: #e5e5e5; color: black">229, 229, 229 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">90</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">100</span></td> <td><span class="nowrap">Bright Black (Gray)</span> </td> <td style="background: #555555; color: white">85, 85, 85 </td> <td colspan="2" style="background: #808080; color: black">128, 128, 128 </td> <td style="background: #666666; color: white">102, 102, 102 </td> <td style="background: #767676; color: white">118, 118, 118 </td> <td style="background: #666666; color: white">102, 102, 102 </td> <td style="background: #555555; color: white">85, 85, 85 </td> <td style="background: #7f7f7f; color: white">127, 127, 127 </td> <td style="background: #7f7f7f; color: white">127, 127, 127 </td> <td style="background: #808080; color: black">128, 128, 128 </td> <td style="background: #000000; color: white">0, 0, 0 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">91</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">101</span></td> <td>Bright Red </td> <td style="background: #FF5555; color: white">255, 85, 85 </td> <td colspan="2" style="background: #ff0000; color: white">255, 0, 0 </td> <td style="background: #f14c4c; color: white">241, 76, 76 </td> <td style="background: #e74856; color: white">231, 72, 86 </td> <td style="background: #E60000; color: white">230, 0, 0 </td> <td style="background: #ff5555; color: white">255, 85, 85 </td> <td colspan="4" style="background: #ff0000; color: white">255, 0, 0 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">92</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">102</span></td> <td>Bright Green </td> <td style="background: #55FF55; color: black">85, 255, 85 </td> <td colspan="2" style="background: #00ff00; color: black">0, 255, 0 </td> <td style="background: #23d18b; color: white">35, 209, 139 </td> <td style="background: #16c60c; color: black">22, 198, 12 </td> <td style="background: #00D900; color: black">0, 217, 0 </td> <td style="background: #55ff55; color: black">85, 255, 85 </td> <td style="background: #00fc00; color: black">0, 252, 0 </td> <td colspan="3" style="background: #00ff00; color: black">0, 255, 0 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">93</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">103</span></td> <td>Bright Yellow </td> <td style="background: #FFFF55; color: black">255, 255, 85 </td> <td colspan="2" style="background: #ffff00; color: black">255, 255, 0 </td> <td style="background: #f5f543; color: black">245, 245, 67 </td> <td style="background: #f9f1a5; color: black">249, 241, 165 </td> <td style="background: #E5E500; color: black">230, 230, 0 </td> <td style="background: #ffff55; color: black">255, 255, 85 </td> <td colspan="4" style="background: #ffff00; color: black">255, 255, 0 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">94</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">104</span></td> <td>Bright Blue </td> <td style="background: #5555FF; color: white">85, 85, 255 </td> <td colspan="2" style="background: #0000ff; color: white">0, 0, 255 </td> <td style="background: #3b8eea; color: white">59, 142, 234 </td> <td style="background: #3b78ff; color: white">59, 120, 255 </td> <td style="background: #0000FF; color: white">0, 0, 255 </td> <td style="background: #5555ff; color: white">85, 85, 255 </td> <td style="background: #0000fc; color: white">0, 0, 252 </td> <td style="background: #5c5cff; color: white">92, 92, 255<sup id="cite_ref-40" class="reference"><a href="#cite_note-40"><span class="cite-bracket">[</span>33<span class="cite-bracket">]</span></a></sup> </td> <td style="background: #0000ff; color: white">0, 0, 255 </td> <td style="background: #5c5cff; color: white">92, 92, 255 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">95</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">105</span></td> <td>Bright Magenta </td> <td style="background: #FF55FF; color: black">255, 85, 255 </td> <td colspan="2" style="background: #ff00ff; color: white">255, 0, 255 </td> <td style="background: #d670d6; color: white">214, 112, 214 </td> <td style="background: #b4009e; color: white">180, 0, 158 </td> <td style="background: #E600E6; color: white">230, 0, 230 </td> <td style="background: #ff55ff; color: white">255, 85, 255 </td> <td colspan="4" style="background: #ff00ff; color: white">255, 0, 255 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">96</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">106</span></td> <td>Bright Cyan </td> <td style="background: #55FFFF; color: black">85, 255, 255 </td> <td colspan="2" style="background: #00ffff; color: black">0, 255, 255 </td> <td style="background: #29b8dB; color: white">41, 184, 219 </td> <td style="background: #61d6d6; color: black">97, 214, 214 </td> <td style="background: #00E6E6; color: black">0, 230, 230 </td> <td style="background: #55ffff; color: black">85, 255, 255 </td> <td colspan="4" style="background: #00ffff; color: black">0, 255, 255 </td></tr> <tr> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">97</span></td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">107</span></td> <td>Bright White </td> <td colspan="3" style="background: #ffffff; color: black">255, 255, 255 </td> <td style="background: #e5e5e5; color: black"><span class="nowrap">229, 229, 229</span> </td> <td style="background: #f2f2f2; color: black">242, 242, 242 </td> <td style="background: #E6E6E6; color: black">230, 230, 230 </td> <td colspan="5" style="background: #ffffff; color: black">255, 255, 255 </td></tr></tbody></table> </div> <div class="mw-heading mw-heading4"><h4 id="8-bit">8-bit</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=10" title="Edit section: 8-bit"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>As <a href="/wiki/8-bit_color" title="8-bit color">256-color</a> lookup tables became common on graphic cards, escape sequences were added to select from a pre-defined set of 256 colors:<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">[<i><a href="/wiki/Wikipedia:Citation_needed" title="Wikipedia:Citation needed"><span title="This claim needs references to reliable sources. (September 2013)">citation needed</span></a></i>]</sup> </p> <pre>ESC[38;5;<span class="nowrap">⟨n⟩</span>m Select foreground color where n is a number from the table below ESC[48;5;<span class="nowrap">⟨n⟩</span>m Select background color 0- 7: standard colors (as in ESC [ 30–37 m) 8- 15: high intensity colors (as in ESC [ 90–97 m) 16-231: 6 × 6 × 6 cube (216 colors): 16 + 36 × r + 6 × g + b (0 ≤ r, g, b ≤ 5) 232-255: grayscale from dark to light in 24 steps </pre> <p>The <a href="/wiki/ITU" class="mw-redirect" title="ITU">ITU</a>'s T.416 Information technology - Open Document Architecture (ODA) and interchange format: Character content architectures<sup id="cite_ref-T.416_41-0" class="reference"><a href="#cite_note-T.416-41"><span class="cite-bracket">[</span>34<span class="cite-bracket">]</span></a></sup> uses ":" as separator characters instead: </p> <pre>ESC[38:5:<span class="nowrap">⟨n⟩</span>m Select foreground color where n is a number from the table below ESC[48:5:<span class="nowrap">⟨n⟩</span>m Select background color </pre> <p><span class="anchor" id="256_color_table"></span> </p> <table class="collapsible" style="text-align:center;font-size:80%;width:100%;background:#f6f6f6;cursor:default;" cellpadding="0" cellspacing="1"> <tbody><tr> <th colspan="36">256-color mode — foreground: ESC[38;5;#m   background: ESC[48;5;#m </th></tr> <tr> <td colspan="18">Standard colors </td> <td colspan="18">High-intensity colors </td></tr> <tr> <td colspan="36"> <table style="width:100%;text-align:center;font-weight:bold;"> <tbody><tr> <td style="color:#ffffff;background:#000000;" title="#000000"> 0  </td> <td style="color:#ffffff;background:#800000;" title="#800000"> 1  </td> <td style="color:#ffffff;background:#008000;" title="#008000"> 2  </td> <td style="color:#ffffff;background:#808000;" title="#808000"> 3  </td> <td style="color:#ffffff;background:#000080;" title="#000080"> 4  </td> <td style="color:#ffffff;background:#800080;" title="#800080"> 5  </td> <td style="color:#ffffff;background:#008080;" title="#008080"> 6  </td> <td style="color:#ffffff;background:#c0c0c0;" title="#c0c0c0"> 7  </td> <td style="width:1em;"> </td> <td style="color:#000000;background:#808080;" title="#808080"> 8  </td> <td style="color:#000000;background:#ff0000;" title="#ff0000"> 9  </td> <td style="color:#000000;background:#00ff00;" title="#00ff00">10 </td> <td style="color:#000000;background:#ffff00;" title="#ffff00">11 </td> <td style="color:#000000;background:#0000ff;" title="#0000ff">12 </td> <td style="color:#000000;background:#ff00ff;" title="#ff00ff">13 </td> <td style="color:#000000;background:#00ffff;" title="#00ffff">14 </td> <td style="color:#000000;background:#ffffff;" title="#ffffff">15 </td></tr></tbody></table> </td></tr> <tr> <td colspan="36">216 colors </td></tr> <tr> <td style="color:#ffffff;background:#000000;" title="#000000">16 </td> <td style="color:#ffffff;background:#00005f;" title="#00005f">17 </td> <td style="color:#ffffff;background:#000087;" title="#000087">18 </td> <td style="color:#ffffff;background:#0000af;" title="#0000af">19 </td> <td style="color:#ffffff;background:#0000d7;" title="#0000d7">20 </td> <td style="color:#ffffff;background:#0000ff;" title="#0000ff">21 </td> <td style="color:#ffffff;background:#005f00;" title="#005f00">22 </td> <td style="color:#ffffff;background:#005f5f;" title="#005f5f">23 </td> <td style="color:#ffffff;background:#005f87;" title="#005f87">24 </td> <td style="color:#ffffff;background:#005faf;" title="#005faf">25 </td> <td style="color:#ffffff;background:#005fd7;" title="#005fd7">26 </td> <td style="color:#ffffff;background:#005fff;" title="#005fff">27 </td> <td style="color:#ffffff;background:#008700;" title="#008700">28 </td> <td style="color:#ffffff;background:#00875f;" title="#00875f">29 </td> <td style="color:#ffffff;background:#008787;" title="#008787">30 </td> <td style="color:#ffffff;background:#0087af;" title="#0087af">31 </td> <td style="color:#ffffff;background:#0087d7;" title="#0087d7">32 </td> <td style="color:#ffffff;background:#0087ff;" title="#0087ff">33 </td> <td style="color:#000000;background:#00af00;" title="#00af00">34 </td> <td style="color:#000000;background:#00af5f;" title="#00af5f">35 </td> <td style="color:#000000;background:#00af87;" title="#00af87">36 </td> <td style="color:#000000;background:#00afaf;" title="#00afaf">37 </td> <td style="color:#000000;background:#00afd7;" title="#00afd7">38 </td> <td style="color:#000000;background:#00afff;" title="#00afff">39 </td> <td style="color:#000000;background:#00d700;" title="#00d700">40 </td> <td style="color:#000000;background:#00d75f;" title="#00d75f">41 </td> <td style="color:#000000;background:#00d787;" title="#00d787">42 </td> <td style="color:#000000;background:#00d7af;" title="#00d7af">43 </td> <td style="color:#000000;background:#00d7d7;" title="#00d7d7">44 </td> <td style="color:#000000;background:#00d7ff;" title="#00d7ff">45 </td> <td style="color:#000000;background:#00ff00;" title="#00ff00">46 </td> <td style="color:#000000;background:#00ff5f;" title="#00ff5f">47 </td> <td style="color:#000000;background:#00ff87;" title="#00ff87">48 </td> <td style="color:#000000;background:#00ffaf;" title="#00ffaf">49 </td> <td style="color:#000000;background:#00ffd7;" title="#00ffd7">50 </td> <td style="color:#000000;background:#00ffff;" title="#00ffff">51 </td></tr> <tr> <td style="color:#ffffff;background:#5f0000;" title="#5f0000">52 </td> <td style="color:#ffffff;background:#5f005f;" title="#5f005f">53 </td> <td style="color:#ffffff;background:#5f0087;" title="#5f0087">54 </td> <td style="color:#ffffff;background:#5f00af;" title="#5f00af">55 </td> <td style="color:#ffffff;background:#5f00d7;" title="#5f00d7">56 </td> <td style="color:#ffffff;background:#5f00ff;" title="#5f00ff">57 </td> <td style="color:#ffffff;background:#5f5f00;" title="#5f5f00">58 </td> <td style="color:#ffffff;background:#5f5f5f;" title="#5f5f5f">59 </td> <td style="color:#ffffff;background:#5f5f87;" title="#5f5f87">60 </td> <td style="color:#ffffff;background:#5f5faf;" title="#5f5faf">61 </td> <td style="color:#ffffff;background:#5f5fd7;" title="#5f5fd7">62 </td> <td style="color:#ffffff;background:#5f5fff;" title="#5f5fff">63 </td> <td style="color:#ffffff;background:#5f8700;" title="#5f8700">64 </td> <td style="color:#ffffff;background:#5f875f;" title="#5f875f">65 </td> <td style="color:#ffffff;background:#5f8787;" title="#5f8787">66 </td> <td style="color:#ffffff;background:#5f87af;" title="#5f87af">67 </td> <td style="color:#ffffff;background:#5f87d7;" title="#5f87d7">68 </td> <td style="color:#ffffff;background:#5f87ff;" title="#5f87ff">69 </td> <td style="color:#000000;background:#5faf00;" title="#5faf00">70 </td> <td style="color:#000000;background:#5faf5f;" title="#5faf5f">71 </td> <td style="color:#000000;background:#5faf87;" title="#5faf87">72 </td> <td style="color:#000000;background:#5fafaf;" title="#5fafaf">73 </td> <td style="color:#000000;background:#5fafd7;" title="#5fafd7">74 </td> <td style="color:#000000;background:#5fafff;" title="#5fafff">75 </td> <td style="color:#000000;background:#5fd700;" title="#5fd700">76 </td> <td style="color:#000000;background:#5fd75f;" title="#5fd75f">77 </td> <td style="color:#000000;background:#5fd787;" title="#5fd787">78 </td> <td style="color:#000000;background:#5fd7af;" title="#5fd7af">79 </td> <td style="color:#000000;background:#5fd7d7;" title="#5fd7d7">80 </td> <td style="color:#000000;background:#5fd7ff;" title="#5fd7ff">81 </td> <td style="color:#000000;background:#5fff00;" title="#5fff00">82 </td> <td style="color:#000000;background:#5fff5f;" title="#5fff5f">83 </td> <td style="color:#000000;background:#5fff87;" title="#5fff87">84 </td> <td style="color:#000000;background:#5fffaf;" title="#5fffaf">85 </td> <td style="color:#000000;background:#5fffd7;" title="#5fffd7">86 </td> <td style="color:#000000;background:#5fffff;" title="#5fffff">87 </td></tr> <tr> <td style="color:#ffffff;background:#870000;" title="#870000">88 </td> <td style="color:#ffffff;background:#87005f;" title="#87005f">89 </td> <td style="color:#ffffff;background:#870087;" title="#870087">90 </td> <td style="color:#ffffff;background:#8700af;" title="#8700af">91 </td> <td style="color:#ffffff;background:#8700d7;" title="#8700d7">92 </td> <td style="color:#ffffff;background:#8700ff;" title="#8700ff">93 </td> <td style="color:#ffffff;background:#875f00;" title="#875f00">94 </td> <td style="color:#ffffff;background:#875f5f;" title="#875f5f">95 </td> <td style="color:#ffffff;background:#875f87;" title="#875f87">96 </td> <td style="color:#ffffff;background:#875faf;" title="#875faf">97 </td> <td style="color:#ffffff;background:#875fd7;" title="#875fd7">98 </td> <td style="color:#ffffff;background:#875fff;" title="#875fff">99 </td> <td style="color:#ffffff;background:#878700;" title="#878700">100 </td> <td style="color:#ffffff;background:#87875f;" title="#87875f">101 </td> <td style="color:#ffffff;background:#878787;" title="#878787">102 </td> <td style="color:#ffffff;background:#8787af;" title="#8787af">103 </td> <td style="color:#ffffff;background:#8787d7;" title="#8787d7">104 </td> <td style="color:#ffffff;background:#8787ff;" title="#8787ff">105 </td> <td style="color:#000000;background:#87af00;" title="#87af00">106 </td> <td style="color:#000000;background:#87af5f;" title="#87af5f">107 </td> <td style="color:#000000;background:#87af87;" title="#87af87">108 </td> <td style="color:#000000;background:#87afaf;" title="#87afaf">109 </td> <td style="color:#000000;background:#87afd7;" title="#87afd7">110 </td> <td style="color:#000000;background:#87afff;" title="#87afff">111 </td> <td style="color:#000000;background:#87d700;" title="#87d700">112 </td> <td style="color:#000000;background:#87d75f;" title="#87d75f">113 </td> <td style="color:#000000;background:#87d787;" title="#87d787">114 </td> <td style="color:#000000;background:#87d7af;" title="#87d7af">115 </td> <td style="color:#000000;background:#87d7d7;" title="#87d7d7">116 </td> <td style="color:#000000;background:#87d7ff;" title="#87d7ff">117 </td> <td style="color:#000000;background:#87ff00;" title="#87ff00">118 </td> <td style="color:#000000;background:#87ff5f;" title="#87ff5f">119 </td> <td style="color:#000000;background:#87ff87;" title="#87ff87">120 </td> <td style="color:#000000;background:#87ffaf;" title="#87ffaf">121 </td> <td style="color:#000000;background:#87ffd7;" title="#87ffd7">122 </td> <td style="color:#000000;background:#87ffff;" title="#87ffff">123 </td></tr> <tr> <td style="color:#ffffff;background:#af0000;" title="#af0000">124 </td> <td style="color:#ffffff;background:#af005f;" title="#af005f">125 </td> <td style="color:#ffffff;background:#af0087;" title="#af0087">126 </td> <td style="color:#ffffff;background:#af00af;" title="#af00af">127 </td> <td style="color:#ffffff;background:#af00d7;" title="#af00d7">128 </td> <td style="color:#ffffff;background:#af00ff;" title="#af00ff">129 </td> <td style="color:#ffffff;background:#af5f00;" title="#af5f00">130 </td> <td style="color:#ffffff;background:#af5f5f;" title="#af5f5f">131 </td> <td style="color:#ffffff;background:#af5f87;" title="#af5f87">132 </td> <td style="color:#ffffff;background:#af5faf;" title="#af5faf">133 </td> <td style="color:#ffffff;background:#af5fd7;" title="#af5fd7">134 </td> <td style="color:#ffffff;background:#af5fff;" title="#af5fff">135 </td> <td style="color:#ffffff;background:#af8700;" title="#af8700">136 </td> <td style="color:#ffffff;background:#af875f;" title="#af875f">137 </td> <td style="color:#ffffff;background:#af8787;" title="#af8787">138 </td> <td style="color:#ffffff;background:#af87af;" title="#af87af">139 </td> <td style="color:#ffffff;background:#af87d7;" title="#af87d7">140 </td> <td style="color:#ffffff;background:#af87ff;" title="#af87ff">141 </td> <td style="color:#000000;background:#afaf00;" title="#afaf00">142 </td> <td style="color:#000000;background:#afaf5f;" title="#afaf5f">143 </td> <td style="color:#000000;background:#afaf87;" title="#afaf87">144 </td> <td style="color:#000000;background:#afafaf;" title="#afafaf">145 </td> <td style="color:#000000;background:#afafd7;" title="#afafd7">146 </td> <td style="color:#000000;background:#afafff;" title="#afafff">147 </td> <td style="color:#000000;background:#afd700;" title="#afd700">148 </td> <td style="color:#000000;background:#afd75f;" title="#afd75f">149 </td> <td style="color:#000000;background:#afd787;" title="#afd787">150 </td> <td style="color:#000000;background:#afd7af;" title="#afd7af">151 </td> <td style="color:#000000;background:#afd7d7;" title="#afd7d7">152 </td> <td style="color:#000000;background:#afd7ff;" title="#afd7ff">153 </td> <td style="color:#000000;background:#afff00;" title="#afff00">154 </td> <td style="color:#000000;background:#afff5f;" title="#afff5f">155 </td> <td style="color:#000000;background:#afff87;" title="#afff87">156 </td> <td style="color:#000000;background:#afffaf;" title="#afffaf">157 </td> <td style="color:#000000;background:#afffd7;" title="#afffd7">158 </td> <td style="color:#000000;background:#afffff;" title="#afffff">159 </td></tr> <tr> <td style="color:#ffffff;background:#d70000;" title="#d70000">160 </td> <td style="color:#ffffff;background:#d7005f;" title="#d7005f">161 </td> <td style="color:#ffffff;background:#d70087;" title="#d70087">162 </td> <td style="color:#ffffff;background:#d700af;" title="#d700af">163 </td> <td style="color:#ffffff;background:#d700d7;" title="#d700d7">164 </td> <td style="color:#ffffff;background:#d700ff;" title="#d700ff">165 </td> <td style="color:#ffffff;background:#d75f00;" title="#d75f00">166 </td> <td style="color:#ffffff;background:#d75f5f;" title="#d75f5f">167 </td> <td style="color:#ffffff;background:#d75f87;" title="#d75f87">168 </td> <td style="color:#ffffff;background:#d75faf;" title="#d75faf">169 </td> <td style="color:#ffffff;background:#d75fd7;" title="#d75fd7">170 </td> <td style="color:#ffffff;background:#d75fff;" title="#d75fff">171 </td> <td style="color:#ffffff;background:#d78700;" title="#d78700">172 </td> <td style="color:#ffffff;background:#d7875f;" title="#d7875f">173 </td> <td style="color:#ffffff;background:#d78787;" title="#d78787">174 </td> <td style="color:#ffffff;background:#d787af;" title="#d787af">175 </td> <td style="color:#ffffff;background:#d787d7;" title="#d787d7">176 </td> <td style="color:#ffffff;background:#d787ff;" title="#d787ff">177 </td> <td style="color:#000000;background:#d7af00;" title="#d7af00">178 </td> <td style="color:#000000;background:#d7af5f;" title="#d7af5f">179 </td> <td style="color:#000000;background:#d7af87;" title="#d7af87">180 </td> <td style="color:#000000;background:#d7afaf;" title="#d7afaf">181 </td> <td style="color:#000000;background:#d7afd7;" title="#d7afd7">182 </td> <td style="color:#000000;background:#d7afff;" title="#d7afff">183 </td> <td style="color:#000000;background:#d7d700;" title="#d7d700">184 </td> <td style="color:#000000;background:#d7d75f;" title="#d7d75f">185 </td> <td style="color:#000000;background:#d7d787;" title="#d7d787">186 </td> <td style="color:#000000;background:#d7d7af;" title="#d7d7af">187 </td> <td style="color:#000000;background:#d7d7d7;" title="#d7d7d7">188 </td> <td style="color:#000000;background:#d7d7ff;" title="#d7d7ff">189 </td> <td style="color:#000000;background:#d7ff00;" title="#d7ff00">190 </td> <td style="color:#000000;background:#d7ff5f;" title="#d7ff5f">191 </td> <td style="color:#000000;background:#d7ff87;" title="#d7ff87">192 </td> <td style="color:#000000;background:#d7ffaf;" title="#d7ffaf">193 </td> <td style="color:#000000;background:#d7ffd7;" title="#d7ffd7">194 </td> <td style="color:#000000;background:#d7ffff;" title="#d7ffff">195 </td></tr> <tr> <td style="color:#ffffff;background:#ff0000;" title="#ff0000">196 </td> <td style="color:#ffffff;background:#ff005f;" title="#ff005f">197 </td> <td style="color:#ffffff;background:#ff0087;" title="#ff0087">198 </td> <td style="color:#ffffff;background:#ff00af;" title="#ff00af">199 </td> <td style="color:#ffffff;background:#ff00d7;" title="#ff00d7">200 </td> <td style="color:#ffffff;background:#ff00ff;" title="#ff00ff">201 </td> <td style="color:#ffffff;background:#ff5f00;" title="#ff5f00">202 </td> <td style="color:#ffffff;background:#ff5f5f;" title="#ff5f5f">203 </td> <td style="color:#ffffff;background:#ff5f87;" title="#ff5f87">204 </td> <td style="color:#ffffff;background:#ff5faf;" title="#ff5faf">205 </td> <td style="color:#ffffff;background:#ff5fd7;" title="#ff5fd7">206 </td> <td style="color:#ffffff;background:#ff5fff;" title="#ff5fff">207 </td> <td style="color:#ffffff;background:#ff8700;" title="#ff8700">208 </td> <td style="color:#ffffff;background:#ff875f;" title="#ff875f">209 </td> <td style="color:#ffffff;background:#ff8787;" title="#ff8787">210 </td> <td style="color:#ffffff;background:#ff87af;" title="#ff87af">211 </td> <td style="color:#ffffff;background:#ff87d7;" title="#ff87d7">212 </td> <td style="color:#ffffff;background:#ff87ff;" title="#ff87ff">213 </td> <td style="color:#000000;background:#ffaf00;" title="#ffaf00">214 </td> <td style="color:#000000;background:#ffaf5f;" title="#ffaf5f">215 </td> <td style="color:#000000;background:#ffaf87;" title="#ffaf87">216 </td> <td style="color:#000000;background:#ffafaf;" title="#ffafaf">217 </td> <td style="color:#000000;background:#ffafd7;" title="#ffafd7">218 </td> <td style="color:#000000;background:#ffafff;" title="#ffafff">219 </td> <td style="color:#000000;background:#ffd700;" title="#ffd700">220 </td> <td style="color:#000000;background:#ffd75f;" title="#ffd75f">221 </td> <td style="color:#000000;background:#ffd787;" title="#ffd787">222 </td> <td style="color:#000000;background:#ffd7af;" title="#ffd7af">223 </td> <td style="color:#000000;background:#ffd7d7;" title="#ffd7d7">224 </td> <td style="color:#000000;background:#ffd7ff;" title="#ffd7ff">225 </td> <td style="color:#000000;background:#ffff00;" title="#ffff00">226 </td> <td style="color:#000000;background:#ffff5f;" title="#ffff5f">227 </td> <td style="color:#000000;background:#ffff87;" title="#ffff87">228 </td> <td style="color:#000000;background:#ffffaf;" title="#ffffaf">229 </td> <td style="color:#000000;background:#ffffd7;" title="#ffffd7">230 </td> <td style="color:#000000;background:#ffffff;" title="#ffffff">231 </td></tr> <tr> <td colspan="36">Grayscale colors </td></tr> <tr> <td colspan="36"> <table style="width:100%;text-align:center;font-weight:bold;"> <tbody><tr> <td style="color:#ffffff;background:#080808;" title="#080808">232 </td> <td style="color:#ffffff;background:#121212;" title="#121212">233 </td> <td style="color:#ffffff;background:#1c1c1c;" title="#1c1c1c">234 </td> <td style="color:#ffffff;background:#262626;" title="#262626">235 </td> <td style="color:#ffffff;background:#303030;" title="#303030">236 </td> <td style="color:#ffffff;background:#3a3a3a;" title="#3a3a3a">237 </td> <td style="color:#ffffff;background:#444444;" title="#444444">238 </td> <td style="color:#ffffff;background:#4e4e4e;" title="#4e4e4e">239 </td> <td style="color:#ffffff;background:#585858;" title="#585858">240 </td> <td style="color:#ffffff;background:#626262;" title="#626262">241 </td> <td style="color:#ffffff;background:#6c6c6c;" title="#6c6c6c">242 </td> <td style="color:#ffffff;background:#767676;" title="#767676">243 </td> <td style="color:#000000;background:#808080;" title="#808080">244 </td> <td style="color:#000000;background:#8a8a8a;" title="#8a8a8a">245 </td> <td style="color:#000000;background:#949494;" title="#949494">246 </td> <td style="color:#000000;background:#9e9e9e;" title="#9e9e9e">247 </td> <td style="color:#000000;background:#a8a8a8;" title="#a8a8a8">248 </td> <td style="color:#000000;background:#b2b2b2;" title="#b2b2b2">249 </td> <td style="color:#000000;background:#bcbcbc;" title="#bcbcbc">250 </td> <td style="color:#000000;background:#c6c6c6;" title="#c6c6c6">251 </td> <td style="color:#000000;background:#d0d0d0;" title="#d0d0d0">252 </td> <td style="color:#000000;background:#dadada;" title="#dadada">253 </td> <td style="color:#000000;background:#e4e4e4;" title="#e4e4e4">254 </td> <td style="color:#000000;background:#eeeeee;" title="#eeeeee">255 </td></tr></tbody></table> </td></tr></tbody></table> <p>There has also been a similar but incompatible 88-color encoding using the same escape sequence, seen in <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">rxvt</code> and <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">xterm-88color</code>. Not much is known about the scheme besides the color codes. It uses a 4×4×4 color cube. </p> <div class="mw-heading mw-heading4"><h4 id="24-bit">24-bit</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=11" title="Edit section: 24-bit"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>As "true color" graphic cards with 16 to 24 bits of color became common, applications began to support 24-bit colors. Terminal emulators supporting setting 24-bit foreground and background colors with escape sequences include Xterm,<sup id="cite_ref-xtc_13-4" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> KDE's <a href="/wiki/Konsole" title="Konsole">Konsole</a>,<sup id="cite_ref-42" class="reference"><a href="#cite_note-42"><span class="cite-bracket">[</span>35<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-43" class="reference"><a href="#cite_note-43"><span class="cite-bracket">[</span>36<span class="cite-bracket">]</span></a></sup> and iTerm, as well as all libvte based terminals,<sup id="cite_ref-44" class="reference"><a href="#cite_note-44"><span class="cite-bracket">[</span>37<span class="cite-bracket">]</span></a></sup> including <a href="/wiki/GNOME_Terminal" title="GNOME Terminal">GNOME Terminal</a>.<sup id="cite_ref-45" class="reference"><a href="#cite_note-45"><span class="cite-bracket">[</span>38<span class="cite-bracket">]</span></a></sup> </p> <pre>ESC[38;2;<span class="nowrap">⟨r⟩</span>;<span class="nowrap">⟨g⟩</span>;<span class="nowrap">⟨b⟩</span> m Select RGB foreground color ESC[48;2;<span class="nowrap">⟨r⟩</span>;<span class="nowrap">⟨g⟩</span>;<span class="nowrap">⟨b⟩</span> m Select RGB background color </pre> <p>The syntax is likely based on the <a href="/wiki/ITU" class="mw-redirect" title="ITU">ITU</a>'s T.416 <a href="/wiki/Open_Document_Architecture" title="Open Document Architecture">Open Document Architecture</a> (ODA) and interchange format: Character content architectures,<sup id="cite_ref-T.416_41-1" class="reference"><a href="#cite_note-T.416-41"><span class="cite-bracket">[</span>34<span class="cite-bracket">]</span></a></sup> which was adopted as ISO/IEC 8613-6 but ended up as a commercial failure.<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">[<i><a href="/wiki/Wikipedia:Citation_needed" title="Wikipedia:Citation needed"><span title="This claim needs references to reliable sources. (February 2022)">citation needed</span></a></i>]</sup> The ODA version is more elaborate and thus incompatible: </p> <ul><li>The parameters after the '2' (r, g, and b) are optional and can be left empty.</li> <li>Semicolons are replaced by colons, as above.</li> <li>There is a leading "colorspace ID".<sup id="cite_ref-xtc_13-5" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> The definition of the colorspace ID is not included in that specification, so it may be blank to represent the unspecified default. For CMYK color specifications, mintty interprets the colorspace ID parameter as specifying the maximum value which the channel values are given out of (e.g. 100 or 255).<sup id="cite_ref-mintty_29-2" class="reference"><a href="#cite_note-mintty-29"><span class="cite-bracket">[</span>29<span class="cite-bracket">]</span></a></sup></li> <li>In addition to the '2' value after 48 to specify a Red-Green-Blue format (and the '5' above for a 0-255 indexed color), there are alternatives of '0' for implementation-defined and '1' for transparent - neither of which have any further parameters; '3' specifies colors using a Cyan-Magenta-Yellow scheme, and '4' for a Cyan-Magenta-Yellow-Black one, the latter using the position marked as "unused" for the Black component:<sup id="cite_ref-T.416_41-2" class="reference"><a href="#cite_note-T.416-41"><span class="cite-bracket">[</span>34<span class="cite-bracket">]</span></a></sup></li></ul> <pre>ESC[38:2:<span class="nowrap">⟨Color-Space-ID⟩</span>:<span class="nowrap">⟨r⟩</span>:<span class="nowrap">⟨g⟩</span>:<span class="nowrap">⟨b⟩</span>:<span class="nowrap">⟨unused⟩</span>:<span class="nowrap">⟨<a href="/wiki/Color_difference" title="Color difference">CS tolerance</a>⟩</span>:<span class="nowrap">⟨Color-Space associated with tolerance: 0 for "CIELUV"; 1 for "CIELAB"⟩</span> m Select RGB foreground color ESC[48:2:<span class="nowrap">⟨Color-Space-ID⟩</span>:<span class="nowrap">⟨r⟩</span>:<span class="nowrap">⟨g⟩</span>:<span class="nowrap">⟨b⟩</span>:<span class="nowrap">⟨unused⟩</span>:<span class="nowrap">⟨CS tolerance⟩</span>:<span class="nowrap">⟨Color-Space associated with tolerance: 0 for "CIELUV"; 1 for "CIELAB"⟩</span> m Select RGB background color </pre> <p>The ITU-RGB variation is supported by xterm, with the colorspace ID and tolerance parameters ignored. The simpler scheme using semicolons is initially found in Konsole.<sup id="cite_ref-xtc_13-6" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Location: Can I set a color by its number?">: Can I set a color by its number? </span></sup> </p> <div class="mw-heading mw-heading4"><h4 id="Unix_environment_variables_relating_to_color_support">Unix environment variables relating to color support</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=12" title="Edit section: Unix environment variables relating to color support"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Rather than using the color support in termcap and terminfo introduced in SVr3.2 (1987),<sup id="cite_ref-46" class="reference"><a href="#cite_note-46"><span class="cite-bracket">[</span>39<span class="cite-bracket">]</span></a></sup> the S-Lang library (version 0.99-32, June 1996) used a separate environment variable <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">$COLORTERM</code> to indicate whether a terminal emulator could use colors at all, and later added values to indicate if it supported 24-bit color.<sup id="cite_ref-47" class="reference"><a href="#cite_note-47"><span class="cite-bracket">[</span>40<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-ncurses-on-slang_48-0" class="reference"><a href="#cite_note-ncurses-on-slang-48"><span class="cite-bracket">[</span>41<span class="cite-bracket">]</span></a></sup> This system, although poorly documented, became widespread enough for Fedora and RHEL to consider using it as a simpler and more universal detection mechanism compared to querying the now-updated libraries.<sup id="cite_ref-49" class="reference"><a href="#cite_note-49"><span class="cite-bracket">[</span>42<span class="cite-bracket">]</span></a></sup> </p><p>Some terminal emulators (urxvt, konsole) set <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">$COLORFGBG</code> to report the color scheme of the terminal (mainly light vs. dark background). This behavior originated in S-Lang<sup id="cite_ref-ncurses-on-slang_48-1" class="reference"><a href="#cite_note-ncurses-on-slang-48"><span class="cite-bracket">[</span>41<span class="cite-bracket">]</span></a></sup> and is used by vim. Gnome-terminal refuses to add this behavior, as the syntax for the value is not agreed upon, the value cannot be changed upon a runtime change of the palette, and more "proper" xterm OSC 4/10/11 sequences already exist.<sup id="cite_ref-50" class="reference"><a href="#cite_note-50"><span class="cite-bracket">[</span>43<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Operating_System_Command_sequences"><span class="anchor" id="OSC"></span> Operating System Command sequences</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=13" title="Edit section: Operating System Command sequences"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Most Operating System Command sequences were defined by Xterm, but many are also supported by other terminal emulators. For historical reasons, Xterm can end the command with <a href="/wiki/Bell_character" title="Bell character"><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">BEL</code></a> (0x07) as well as the standard <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ST</code> (0x9C or 0x1B 0x5C).<sup id="cite_ref-xtc_13-7" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> For example, Xterm allows the window title to be set by <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC ]0;this is the window title BEL</code>. </p><p>A non-xterm extension is the hyperlink, <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC ]8;;link ST</code> from 2017, used by VTE,<sup id="cite_ref-vte_51-0" class="reference"><a href="#cite_note-vte-51"><span class="cite-bracket">[</span>44<span class="cite-bracket">]</span></a></sup><sup class="noprint selfreference">[<i><a href="/wiki/Talk:ANSI_escape_code#use_of_primary_source_for_promotion" title="Talk:ANSI escape code">discuss</a></i>]</sup> iTerm2,<sup id="cite_ref-vte_51-1" class="reference"><a href="#cite_note-vte-51"><span class="cite-bracket">[</span>44<span class="cite-bracket">]</span></a></sup> and mintty,<sup id="cite_ref-52" class="reference"><a href="#cite_note-52"><span class="cite-bracket">[</span>45<span class="cite-bracket">]</span></a></sup> among others.<sup id="cite_ref-53" class="reference"><a href="#cite_note-53"><span class="cite-bracket">[</span>46<span class="cite-bracket">]</span></a></sup> </p><p>The Linux console uses <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC ] P n rr gg bb</code> to change the palette, which, if hard-coded into an application, may hang other terminals.<sup id="cite_ref-54" class="reference"><a href="#cite_note-54"><span class="cite-bracket">[</span>47<span class="cite-bracket">]</span></a></sup> However, appending <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ST</code> will be ignored by Linux and form a proper, ignorable sequence for other terminals.<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">[<i><a href="/wiki/Wikipedia:Citation_needed" title="Wikipedia:Citation needed"><span title="This claim needs references to reliable sources. (January 2017)">citation needed</span></a></i>]</sup> </p> <div class="mw-heading mw-heading2"><h2 id="Fs_Escape_sequences">Fs Escape sequences</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=14" title="Edit section: Fs Escape sequences"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>If the <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC</code> is followed by a byte in the range <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x60—0x7E</span>, the escape sequence is of type <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">Fs</code>. This type is used for control functions individually registered with the <a href="/wiki/ISO-IR" class="mw-redirect" title="ISO-IR">ISO-IR</a> registry.<sup id="cite_ref-iso-ir-index_55-0" class="reference"><a href="#cite_note-iso-ir-index-55"><span class="cite-bracket">[</span>48<span class="cite-bracket">]</span></a></sup> A table of these is listed under <a href="/wiki/ISO/IEC_2022#Other_control_functions" title="ISO/IEC 2022">ISO/IEC 2022</a>. </p> <div class="mw-heading mw-heading2"><h2 id="Fp_Escape_sequences">Fp Escape sequences</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=15" title="Edit section: Fp Escape sequences"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>If the <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC</code> is followed by a byte in the range <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x30—0x3F</span>, the escape sequence is of type <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">Fp</code>, which is set apart for up to sixteen private-use control functions.<sup id="cite_ref-ECMA-35_12-4" class="reference"><a href="#cite_note-ECMA-35-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 6.5.3">: 6.5.3 </span></sup> </p> <table class="wikitable"> <caption>Some type <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">Fp</span> (private-use) escape sequences recognised by the <a href="/wiki/VT100" title="VT100">VT100</a> </caption> <tbody><tr> <th></th> <th>Abbr</th> <th>Name</th> <th>Effect </th></tr> <tr id="DECSC"> <td><span class="nowrap"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC 7</span></span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">DECSC</span> </td> <td>DEC Save Cursor </td> <td>Saves the cursor position, encoding shift state and formatting attributes.<sup id="cite_ref-Digital_56-0" class="reference"><a href="#cite_note-Digital-56"><span class="cite-bracket">[</span>49<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-xtc_13-8" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> </td></tr> <tr id="DECRC"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC 8</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">DECRC</span> </td> <td><span class="nowrap">DEC Restore Cursor</span> </td> <td>Restores the cursor position, encoding shift state and formatting attributes from the previous DECSC if any, otherwise resets these all to their defaults.<sup id="cite_ref-Digital_56-1" class="reference"><a href="#cite_note-Digital-56"><span class="cite-bracket">[</span>49<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-xtc_13-9" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> </td></tr></tbody></table> <div class="mw-heading mw-heading2"><h2 id="nF_Escape_sequences">nF Escape sequences</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=16" title="Edit section: nF Escape sequences"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>If the <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC</code> is followed by a byte in the range <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x20—0x2F</span>, the escape sequence is of type <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">nF</code>. Said byte is followed by any number of additional bytes in this range, and then a byte in the range <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x30-0x7E</span>. These escape sequences are further subcategorised by the low two bits of the first byte, e.g. "type <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">2F</code>" for sequences where the first byte is <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x22</span>; and by whether the final byte is in the range <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0x30—0x3F</span> indicating private use (e.g. "type <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">2Fp</code>") or not (e.g. "type <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">2Ft</code>").<sup id="cite_ref-ECMA-35_12-5" class="reference"><a href="#cite_note-ECMA-35-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 13.2.1">: 13.2.1 </span></sup> </p><p>Most of the <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">nFt</code> sequences are for changing the current character set, and are listed in <a href="/wiki/ISO/IEC_2022#Character_set_designations" title="ISO/IEC 2022">ISO/IEC 2022</a>. Some others: </p> <table class="wikitable"> <caption>Some type <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">0Ft</span> (announcement) ANSI escape sequences<sup id="cite_ref-xtc_13-10" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-ECMA-35_12-6" class="reference"><a href="#cite_note-ECMA-35-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 15.2">: 15.2 </span></sup> </caption> <tbody><tr> <th></th> <th>Abbr</th> <th>Name</th> <th>Effect </th></tr> <tr id="ACS6"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC SP F</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1126788409"><div class="plainlist" style="font-family:monospace"> <ul><li>ACS6</li> <li>S7C1T</li></ul> </div> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1126788409"><div class="plainlist"> <ul><li>Announce Code Structure 6</li> <li><span class="nowrap">Send 7-bit C1 Control Character to the Host</span></li></ul> </div> </td> <td>Makes the function keys send ESC + letter instead of 8-bit C1 codes. </td></tr> <tr id="ACS7"> <td><span class="nowrap"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC SP G</span></span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1126788409"><div class="plainlist" style="font-family:monospace"> <ul><li>ACS7</li> <li>S8C1T</li></ul> </div> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1126788409"><div class="plainlist"> <ul><li>Announce Code Structure 7</li> <li><span class="nowrap">Send 8-bit C1 Control Character to the Host</span></li></ul> </div> </td> <td>Makes the function keys send 8-bit C1 codes. </td></tr></tbody></table> <p>If the first byte is '#' the public sequences are reserved for additional ISO-IR registered individual control functions.<sup id="cite_ref-ECMA-35_12-7" class="reference"><a href="#cite_note-ECMA-35-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 6.5.2">: 6.5.2 </span></sup> No such sequences are presently registered.<sup id="cite_ref-iso-ir-index_55-1" class="reference"><a href="#cite_note-iso-ir-index-55"><span class="cite-bracket">[</span>48<span class="cite-bracket">]</span></a></sup> Type <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">3Fp</code> sequences (which includes ones starting with '#') are available for private-use control functions.<sup id="cite_ref-ECMA-35_12-8" class="reference"><a href="#cite_note-ECMA-35-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup><sup class="reference nowrap"><span title="Page / location: 6.5.3">: 6.5.3 </span></sup> </p> <table class="wikitable"> <caption>Some type <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">3Fp</span> (private-use) escape sequences recognised by the <a href="/wiki/VT100" title="VT100">VT100</a> </caption> <tbody><tr> <th></th> <th>Abbr</th> <th>Name</th> <th>Effect </th></tr> <tr id="DECDHL"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC # 3</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">DECDHL</span> </td> <td>DEC Double-Height Letters, Top Half </td> <td>Makes the current line use characters twice as tall. This code is for the top half.<sup id="cite_ref-ascii-table.com_57-0" class="reference"><a href="#cite_note-ascii-table.com-57"><span class="cite-bracket">[</span>50<span class="cite-bracket">]</span></a></sup> </td></tr> <tr id="DECDHL"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC # 4</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">DECDHL</span> </td> <td><span class="nowrap">DEC Double-Height Letters, Bottom Half</span> </td> <td>Makes the current line use characters twice as tall. This code is for the bottom half.<sup id="cite_ref-ascii-table.com_57-1" class="reference"><a href="#cite_note-ascii-table.com-57"><span class="cite-bracket">[</span>50<span class="cite-bracket">]</span></a></sup> </td></tr> <tr id="DECSWL"> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC # 5</span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">DECSWL</span> </td> <td>DEC Single-Width Line </td> <td>Makes the current line use single-width characters, per the default behaviour.<sup id="cite_ref-58" class="reference"><a href="#cite_note-58"><span class="cite-bracket">[</span>51<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-xtc_13-11" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> </td></tr> <tr id="DECRC"> <td><span class="nowrap"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">ESC # 6</span></span> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r886049734"><span class="monospaced">DECDWL</span> </td> <td><span class="nowrap">DEC Double-Width Line</span> </td> <td>Makes the current line use double-width characters, discarding any characters in the second half of the line.<sup id="cite_ref-59" class="reference"><a href="#cite_note-59"><span class="cite-bracket">[</span>52<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-xtc_13-12" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> </td></tr></tbody></table> <div class="mw-heading mw-heading2"><h2 id="Examples">Examples</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=17" title="Edit section: Examples"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI 2 J</code> — This clears the screen and, on some devices, locates the cursor to the y,x position 1,1 (upper left corner). </p><p><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI 32 m</code> — This makes text green. The green may be a dark, dull green, so you may wish to enable Bold with the sequence <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI 1 m</code> which would make it bright green, or combined as <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI 32 ; 1 m</code>. Some implementations use the Bold state to make the character Bright. </p><p><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI 0 ; 6 8 ; "DIR" ; 13 p</code> — This reassigns the key F10 to send to the keyboard buffer the string "DIR" and ENTER, which in the DOS command line would display the contents of the current directory. (MS-DOS ANSI.SYS only) This was sometimes used for <a href="/wiki/ANSI_bomb" class="mw-redirect" title="ANSI bomb">ANSI bombs</a>. This is a private-use code (as indicated by the letter p), using a non-standard extension to include a string-valued parameter. Following the letter of the standard would consider the sequence to end at the letter D. </p><p><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI s</code> — This saves the cursor position. Using the sequence <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI u</code> will restore it to the position. Say the current cursor position is 7(y) and 10(x). The sequence <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI s</code> will save those two numbers. Now you can move to a different cursor position, such as 20(y) and 3(x), using the sequence <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI 20 ; 3 H</code> or <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CSI 20 ; 3 f</code>. Now if you use the sequence CSI u the cursor position will return to 7(y) and 10(x). Some terminals require the DEC sequences <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC 7</code> / <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ESC 8</code> instead which is more widely supported. </p> <div class="mw-heading mw-heading3"><h3 id="In_shell_scripting">In shell scripting</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=18" title="Edit section: In shell scripting"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>ANSI escape codes are often used in <a href="/wiki/UNIX" class="mw-redirect" title="UNIX">UNIX</a> and UNIX-like <a href="/wiki/Virtual_console" title="Virtual console">terminals</a> to provide <a href="/wiki/Syntax_highlighting" title="Syntax highlighting">syntax highlighting</a>. For example, on compatible terminals, the following <i><a href="/wiki/Ls" title="Ls">list</a></i> command color-codes file and directory names by type. </p> <style data-mw-deduplicate="TemplateStyles:r1195917819">.mw-parser-output .pre-borderless{border:none}</style><pre class="pre">ls --color</pre> <p>Users can employ escape codes in their scripts by including them as part of <i><a href="/wiki/Standard_output" class="mw-redirect" title="Standard output">standard output</a></i> or <i><a href="/wiki/Stderr" class="mw-redirect" title="Stderr">standard error</a></i>. For example, the following GNU <i><a href="/wiki/Sed" title="Sed">sed</a></i> command embellishes the output of the <i><a href="/wiki/Make_(software)" title="Make (software)">make</a></i> command by displaying lines containing words starting with "WARN" in <a href="/wiki/Reverse_video" title="Reverse video">reverse video</a> and words starting with "ERR" in bright yellow on a dark red background (<a href="/wiki/Letter_case" title="Letter case">letter case</a> is ignored). The representations of the codes are highlighted.<sup id="cite_ref-60" class="reference"><a href="#cite_note-60"><span class="cite-bracket">[</span>53<span class="cite-bracket">]</span></a></sup> </p> <pre><span style="white-space:pre-wrap;">make 2>&1 | sed -e 's/.*\bWARN.*/<span style="border:1px solid grey;border-radius:5px;color:white;background:black;font-weight:bolder;">\x1b[7m</span>&<span style="border:1px solid grey;border-radius:5px;">\x1b[0m</span>/i' -e 's/.*\bERR.*/<span style="border:1px solid grey;border-radius:5px;color:yellow;background:maroon;font-weight:bolder;">\x1b[93;41m</span>&<span style="border:1px solid grey;border-radius:5px;">\x1b[0m</span>/i'</span> </pre> <p>The following <a href="/wiki/Bash_(Unix_shell)" title="Bash (Unix shell)">Bash</a> function flashes the terminal (by alternately sending reverse and normal video mode codes) until the user presses a key.<sup id="cite_ref-61" class="reference"><a href="#cite_note-61"><span class="cite-bracket">[</span>54<span class="cite-bracket">]</span></a></sup> </p> <pre><code class="mw-highlight mw-highlight-lang-bash mw-content-ltr" style="background:none; border:none; color:inherit; padding: 0px 0px;" dir="ltr">flasher<span class="w"> </span><span class="o">()</span><span class="w"> </span><span class="o">{</span><span class="w"> </span><span class="k">while</span><span class="w"> </span>true<span class="p">;</span><span class="w"> </span><span class="k">do</span><span class="w"> </span><span class="nb">printf</span></code> <span style="border:1px solid grey;border-radius:5px;color:white;background:black;font-weight:bolder;">\\e[?5h</span><code class="mw-highlight mw-highlight-lang-bash mw-content-ltr" style="background:none; border:none; color:inherit; padding: 0px 0px;" dir="ltr"><span class="p">;</span><span class="w"> </span>sleep<span class="w"> </span><span class="m">0</span>.1<span class="p">;</span><span class="w"> </span><span class="nb">printf</span></code> <span style="border:1px solid grey;border-radius:5px;font-weight:bolder;">\\e[?5l</span><code class="mw-highlight mw-highlight-lang-bash mw-content-ltr" style="background:none; border:none; color:inherit; padding: 0px 0px;" dir="ltr"><span class="p">;</span><span class="w"> </span><span class="nb">read</span><span class="w"> </span>-s<span class="w"> </span>-n1<span class="w"> </span>-t1<span class="w"> </span><span class="o">&&</span><span class="w"> </span><span class="k">break</span><span class="p">;</span><span class="w"> </span><span class="k">done</span><span class="p">;</span><span class="w"> </span><span class="o">}</span></code> </pre> <p>This can be used to alert a programmer when a lengthy command terminates, such as with <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">make ; flasher</code><span style="white-space: nowrap;"> </span>.<sup id="cite_ref-62" class="reference"><a href="#cite_note-62"><span class="cite-bracket">[</span>55<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">printf</span><span class="w"> </span><span class="se">\\</span>033c </pre></div> <p>This will reset the console, similar to the command <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">reset</code> on modern Linux systems; however it should work even on older Linux systems and on other (non-Linux) UNIX variants. </p> <div class="mw-heading mw-heading3"><h3 id="In_C">In C</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=19" title="Edit section: In C"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>This following programs creates a table of numbers from 0 to 109, each of which is displayed in the format specified by the <a href="#SGR">Select Graphic Rendition</a> escape sequence using that number as the graphic rendition code. </p> <figure class="mw-default-size mw-halign-right" typeof="mw:File/Thumb"><a href="/wiki/File:ANSI_sample_program_output.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/3/34/ANSI_sample_program_output.png/220px-ANSI_sample_program_output.png" decoding="async" width="220" height="138" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/3/34/ANSI_sample_program_output.png/330px-ANSI_sample_program_output.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/3/34/ANSI_sample_program_output.png/440px-ANSI_sample_program_output.png 2x" data-file-width="1120" data-file-height="704" /></a><figcaption>Output of example program on <a href="/wiki/Gnome_Terminal" class="mw-redirect" title="Gnome Terminal">Gnome Terminal</a></figcaption></figure><div class="mw-highlight mw-highlight-lang-c mw-content-ltr mw-highlight-lines" dir="ltr"><pre><span></span><span class="linenos" data-line="1"></span><span class="cp">#include</span><span class="w"> </span><span class="cpf"><stdio.h></span> <span class="linenos" data-line="2"></span> <span class="linenos" data-line="3"></span><span class="kt">int</span><span class="w"> </span><span class="nf">main</span><span class="p">(</span><span class="kt">void</span><span class="p">)</span> <span class="linenos" data-line="4"></span><span class="p">{</span> <span class="linenos" data-line="5"></span><span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">i</span><span class="p">,</span><span class="w"> </span><span class="n">j</span><span class="p">,</span><span class="w"> </span><span class="n">n</span><span class="p">;</span> <span class="linenos" data-line="6"></span> <span class="linenos" data-line="7"></span><span class="w"> </span><span class="k">for</span><span class="w"> </span><span class="p">(</span><span class="n">i</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span><span class="w"> </span><span class="n">i</span><span class="w"> </span><span class="o"><</span><span class="w"> </span><span class="mi">11</span><span class="p">;</span><span class="w"> </span><span class="n">i</span><span class="o">++</span><span class="p">)</span><span class="w"> </span><span class="p">{</span> <span class="linenos" data-line="8"></span><span class="w"> </span><span class="k">for</span><span class="w"> </span><span class="p">(</span><span class="n">j</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span><span class="w"> </span><span class="n">j</span><span class="w"> </span><span class="o"><</span><span class="w"> </span><span class="mi">10</span><span class="p">;</span><span class="w"> </span><span class="n">j</span><span class="o">++</span><span class="p">)</span><span class="w"> </span><span class="p">{</span> <span class="linenos" data-line="9"></span><span class="w"> </span><span class="n">n</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">10</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">i</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">j</span><span class="p">;</span> <span class="linenos" data-line="10"></span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">n</span><span class="w"> </span><span class="o">></span><span class="w"> </span><span class="mi">108</span><span class="p">)</span><span class="w"> </span><span class="k">break</span><span class="p">;</span> <span class="linenos" data-line="11"></span><span class="w"> </span><span class="n">printf</span><span class="p">(</span><span class="s">"</span><span class="se">\033</span><span class="s">[%dm %3d</span><span class="se">\033</span><span class="s">[m"</span><span class="p">,</span><span class="w"> </span><span class="n">n</span><span class="p">,</span><span class="w"> </span><span class="n">n</span><span class="p">);</span> <span class="linenos" data-line="12"></span><span class="w"> </span><span class="p">}</span> <span class="linenos" data-line="13"></span><span class="w"> </span><span class="n">printf</span><span class="p">(</span><span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">);</span> <span class="linenos" data-line="14"></span><span class="w"> </span><span class="p">}</span> <span class="linenos" data-line="15"></span><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span> <span class="linenos" data-line="16"></span><span class="p">}</span> </pre></div> <div class="mw-heading mw-heading2"><h2 id="Terminal_input_sequences">Terminal input sequences</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=20" title="Edit section: Terminal input sequences"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1251242444">.mw-parser-output .ambox{border:1px solid #a2a9b1;border-left:10px solid #36c;background-color:#fbfbfb;box-sizing:border-box}.mw-parser-output .ambox+link+.ambox,.mw-parser-output .ambox+link+style+.ambox,.mw-parser-output .ambox+link+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+style+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+link+.ambox{margin-top:-1px}html body.mediawiki .mw-parser-output .ambox.mbox-small-left{margin:4px 1em 4px 0;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}.mw-parser-output .ambox-speedy{border-left:10px solid #b32424;background-color:#fee7e6}.mw-parser-output .ambox-delete{border-left:10px solid #b32424}.mw-parser-output .ambox-content{border-left:10px solid #f28500}.mw-parser-output .ambox-style{border-left:10px solid #fc3}.mw-parser-output .ambox-move{border-left:10px solid #9932cc}.mw-parser-output .ambox-protection{border-left:10px solid #a2a9b1}.mw-parser-output .ambox .mbox-text{border:none;padding:0.25em 0.5em;width:100%}.mw-parser-output .ambox .mbox-image{border:none;padding:2px 0 2px 0.5em;text-align:center}.mw-parser-output .ambox .mbox-imageright{border:none;padding:2px 0.5em 2px 0;text-align:center}.mw-parser-output .ambox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ambox .mbox-image-div{width:52px}@media(min-width:720px){.mw-parser-output .ambox{margin:0 10%}}@media print{body.ns-0 .mw-parser-output .ambox{display:none!important}}</style><table class="box-More_citations_needed plainlinks metadata ambox ambox-content ambox-Refimprove" role="presentation"><tbody><tr><td class="mbox-image"><div class="mbox-image-div"><span typeof="mw:File"><a href="/wiki/File:Question_book-new.svg" class="mw-file-description"><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/9/99/Question_book-new.svg/50px-Question_book-new.svg.png" decoding="async" width="50" height="39" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/9/99/Question_book-new.svg/75px-Question_book-new.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/9/99/Question_book-new.svg/100px-Question_book-new.svg.png 2x" data-file-width="512" data-file-height="399" /></a></span></div></td><td class="mbox-text"><div class="mbox-text-span">This section <b>needs additional citations for <a href="/wiki/Wikipedia:Verifiability" title="Wikipedia:Verifiability">verification</a></b>.<span class="hide-when-compact"> Please help <a href="/wiki/Special:EditPage/ANSI_escape_code" title="Special:EditPage/ANSI escape code">improve this article</a> by <a href="/wiki/Help:Referencing_for_beginners" title="Help:Referencing for beginners">adding citations to reliable sources</a> in this section. Unsourced material may be challenged and removed.<br /><small><span class="plainlinks"><i>Find sources:</i> <a rel="nofollow" class="external text" href="https://www.google.com/search?as_eq=wikipedia&q=%22ANSI+escape+code%22">"ANSI escape code"</a> – <a rel="nofollow" class="external text" href="https://www.google.com/search?tbm=nws&q=%22ANSI+escape+code%22+-wikipedia&tbs=ar:1">news</a> <b>·</b> <a rel="nofollow" class="external text" href="https://www.google.com/search?&q=%22ANSI+escape+code%22&tbs=bkt:s&tbm=bks">newspapers</a> <b>·</b> <a rel="nofollow" class="external text" href="https://www.google.com/search?tbs=bks:1&q=%22ANSI+escape+code%22+-wikipedia">books</a> <b>·</b> <a rel="nofollow" class="external text" href="https://scholar.google.com/scholar?q=%22ANSI+escape+code%22">scholar</a> <b>·</b> <a rel="nofollow" class="external text" href="https://www.jstor.org/action/doBasicSearch?Query=%22ANSI+escape+code%22&acc=on&wc=on">JSTOR</a></span></small></span> <span class="date-container"><i>(<span class="date">October 2023</span>)</i></span><span class="hide-when-compact"><i> (<small><a href="/wiki/Help:Maintenance_template_removal" title="Help:Maintenance template removal">Learn how and when to remove this message</a></small>)</i></span></div></td></tr></tbody></table> <p>Pressing special keys on the keyboard, as well as outputting many xterm CSI, DCS, or OSC sequences, often produces a CSI, DCS, or OSC sequence, sent from the terminal to the computer as though the user typed it. </p><p>When typing input on a terminal keypresses outside the normal main alphanumeric keyboard area can be sent to the host as ANSI sequences. For keys that have an equivalent output function, such as the cursor keys, these often mirror the output sequences. However, for most keypresses there isn't an equivalent output sequence to use. </p><p>There are several encoding schemes, and unfortunately most terminals mix sequences from different schemes, so host software has to be able to deal with input sequences using any scheme. To complicate the matter, the VT terminals themselves have two schemes of input, <i>normal mode</i> and <i>application mode</i> that can be switched by the application. </p><p>(draft section) </p> <pre><char> -> char <esc> <nochar> -> esc <esc> <esc> -> esc <esc> <char> -> Alt-keypress or keycode sequence <esc> '[' <nochar> -> Alt-[ <esc> '[' (<modifier>) <char> -> keycode sequence, <modifier> is a decimal number and defaults to 1 (xterm) <esc> '[' (<keycode>) (';'<modifier>) '~' -> keycode sequence, <keycode> and <modifier> are decimal numbers and default to 1 (vt) </pre> <p>If the terminating character is '~', the first number must be present and is a keycode number, the second number is an optional modifier value. If the terminating character is a letter, the letter is the keycode value, and the optional number is the modifier value. </p><p>The modifier value defaults to 1, and after subtracting 1 is a bitmap of modifier keys being pressed: <style data-mw-deduplicate="TemplateStyles:r1249182868">.mw-parser-output .keyboard-key{border:1px solid #aaa;border-radius:0.2em;box-shadow:0.1em 0.1em 0.2em rgba(0,0,0,0.1);background-color:var(--background-color-neutral-subtle,#f8f9fa);background-image:linear-gradient(to bottom,var(--background-color-neutral,#eaecf0),var(--background-color-neutral-subtle,#f8f9fa),var(--background-color-neutral,#eaecf0));color:var(--color-base,#202122);padding:0.1em 0.3em;font-family:inherit;font-size:0.85em}</style><kbd class="keyboard-key nowrap">Meta</kbd>+<kbd class="keyboard-key nowrap">Ctrl</kbd>+<kbd class="keyboard-key nowrap">Alt</kbd>+<kbd class="keyboard-key nowrap">⇧ Shift</kbd>. So, for example, <code><esc>[4;2~</code> is <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1249182868"><kbd class="keyboard-key nowrap">⇧ Shift</kbd>+<kbd class="keyboard-key nowrap">End</kbd>, <code><esc>[20~</code> is function key <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1249182868"><kbd class="keyboard-key nowrap">F9</kbd>, <code><esc>[5C</code> is <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1249182868"><kbd class="keyboard-key nowrap">Ctrl</kbd>+<kbd class="keyboard-key nowrap">→</kbd>. </p><p>In other words, the modifier is the sum of the following numbers: </p> <table class="wikitable"> <tbody><tr> <th>Key pressed </th> <th>Number </th> <th>Comment </th></tr> <tr> <td> </td> <td>1 </td> <td>always added, the rest are optional </td></tr> <tr> <td>Shift </td> <td>1 </td> <td> </td></tr> <tr> <td>(Left) Alt </td> <td>2 </td> <td> </td></tr> <tr> <td>Control </td> <td>4 </td> <td> </td></tr> <tr> <td>Meta </td> <td>8 </td> <td> </td></tr></tbody></table> <pre>vt sequences: <esc>[1~ - Home <esc>[16~ - <esc>[31~ - F17 <esc>[2~ - Insert <esc>[17~ - F6 <esc>[32~ - F18 <esc>[3~ - Delete <esc>[18~ - F7 <esc>[33~ - F19 <esc>[4~ - End <esc>[19~ - F8 <esc>[34~ - F20 <esc>[5~ - PgUp <esc>[20~ - F9 <esc>[35~ - <esc>[6~ - PgDn <esc>[21~ - F10 <esc>[7~ - Home <esc>[22~ - <esc>[8~ - End <esc>[23~ - F11 <esc>[9~ - <esc>[24~ - F12 <esc>[10~ - F0 <esc>[25~ - F13 <esc>[11~ - F1 <esc>[26~ - F14 <esc>[12~ - F2 <esc>[27~ - <esc>[13~ - F3 <esc>[28~ - F15 <esc>[14~ - F4 <esc>[29~ - F16 <esc>[15~ - F5 <esc>[30~ - xterm sequences: <esc>[A - Up <esc>[K - <esc>[U - <esc>[B - Down <esc>[L - <esc>[V - <esc>[C - Right <esc>[M - <esc>[W - <esc>[D - Left <esc>[N - <esc>[X - <esc>[E - <esc>[O - <esc>[Y - <esc>[F - End <esc>[1P - F1 <esc>[Z - <esc>[G - Keypad 5 <esc>[1Q - F2 <esc>[H - Home <esc>[1R - F3 <esc>[I - <esc>[1S - F4 <esc>[J - <esc>[T - </pre> <p><code><esc>[A</code> to <code><esc>[D</code> are the same as the ANSI output sequences. The <code><modifier></code> is normally omitted if no modifier keys are pressed, but most implementations always emit the <code><modifier></code> for <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1249182868"><kbd class="keyboard-key nowrap">F1</kbd>–<kbd class="keyboard-key nowrap">F4</kbd>. (draft section) </p><p>Xterm has a comprehensive documentation page on the various function-key and mouse input sequence schemes from DEC's VT terminals and various other terminals it emulates.<sup id="cite_ref-xtc_13-13" class="reference"><a href="#cite_note-xtc-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> Thomas Dickey has added a lot of support to it over time;<sup id="cite_ref-63" class="reference"><a href="#cite_note-63"><span class="cite-bracket">[</span>56<span class="cite-bracket">]</span></a></sup> he also maintains a list of default keys used by other terminal emulators for comparison.<sup id="cite_ref-64" class="reference"><a href="#cite_note-64"><span class="cite-bracket">[</span>57<span class="cite-bracket">]</span></a></sup> </p> <ul><li>On the Linux console, certain function keys generate sequences of the form <code>CSI [ <i>char</i></code>. The CSI sequence should terminate on the <code>[</code>.</li> <li>Old versions of <a href="/wiki/Terminator_(terminal_emulator)" title="Terminator (terminal emulator)">Terminator</a> generate <code>SS3 1; <i>modifiers</i> <i>char</i></code> when <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1249182868"><kbd class="keyboard-key nowrap">F1</kbd> – <kbd class="keyboard-key nowrap">F4</kbd> are pressed with modifiers. The faulty behavior was copied from <a href="/wiki/GNOME_Terminal" title="GNOME Terminal">GNOME Terminal</a>.<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">[<i><a href="/wiki/Wikipedia:Citation_needed" title="Wikipedia:Citation needed"><span title="This claim needs references to reliable sources. (December 2010)">citation needed</span></a></i>]</sup></li> <li>xterm replies <code>CSI <i>row</i> ; <i>column</i> R</code> if asked for cursor position and <code>CSI 1 ; <i>modifiers</i> R</code> if the <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1249182868"><kbd class="keyboard-key nowrap">F3</kbd> key is pressed with modifiers, which collide in the case of <code><i>row</i> == 1</code>. This can be avoided by using the <i>?</i> private modifier as <code>CSI ? 6 n</code>, which will be reflected in the response as <code>CSI ? <i>row</i> ; <i>column</i> R</code>.</li> <li>many terminals prepend <code>ESC</code> to any character that is typed with the alt key down. This creates ambiguity for uppercase letters and symbols <code>@[\]^_</code>, which would form C1 codes.<sup class="noprint Inline-Template" style="margin-left:0.1em; white-space:nowrap;">[<i><a href="/wiki/Wikipedia:Please_clarify" title="Wikipedia:Please clarify"><span title="The text near this tag may need clarification or removal of jargon. (November 2010)">clarification needed</span></a></i>]</sup></li> <li><a href="/wiki/Konsole" title="Konsole">Konsole</a> generates <code>SS3 <i>modifiers</i> <i>char</i></code> when <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1249182868"><kbd class="keyboard-key nowrap">F1</kbd> – <kbd class="keyboard-key nowrap">F4</kbd> are pressed with modifiers.<sup class="noprint Inline-Template" style="margin-left:0.1em; white-space:nowrap;">[<i><a href="/wiki/Wikipedia:Please_clarify" title="Wikipedia:Please clarify"><span title="The text near this tag may need clarification or removal of jargon. (November 2010)">clarification needed</span></a></i>]</sup></li> <li><a href="/wiki/ITerm2" title="ITerm2">iTerm2</a> supports reporting additional keys via an enhanced CSI u mode.<sup id="cite_ref-65" class="reference"><a href="#cite_note-65"><span class="cite-bracket">[</span>58<span class="cite-bracket">]</span></a></sup></li></ul> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=21" title="Edit section: See also"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/ANSI_art" title="ANSI art">ANSI art</a></li> <li><a href="/wiki/Control_character" title="Control character">Control character</a></li> <li><a href="/wiki/Advanced_Video_Attribute_Terminal_Assembler_and_Recreator" title="Advanced Video Attribute Terminal Assembler and Recreator">Advanced Video Attribute Terminal Assembler and Recreator</a> (AVATAR)</li> <li><a href="/wiki/ISO/IEC_JTC_1/SC_2" title="ISO/IEC JTC 1/SC 2">ISO/IEC JTC 1/SC 2</a></li> <li><a href="/wiki/C0_and_C1_control_codes" title="C0 and C1 control codes">C0 and C1 control codes</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="Notes">Notes</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=22" title="Edit section: Notes"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1239543626">.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}</style><div class="reflist reflist-lower-alpha"> <div class="mw-references-wrap"><ol class="references"> <li id="cite_note-30"><span class="mw-cite-backlink"><b><a href="#cite_ref-30">^</a></b></span> <span class="reference-text"> Typical colors that are used when booting PCs and leaving them in text mode, which used a 16-entry color table. The colors are different in the EGA/VGA graphic modes. </span> </li> <li id="cite_note-31"><span class="mw-cite-backlink"><b><a href="#cite_ref-31">^</a></b></span> <span class="reference-text"> Seen in Windows XP through Windows 8.1 </span> </li> <li id="cite_note-33"><span class="mw-cite-backlink"><b><a href="#cite_ref-33">^</a></b></span> <span class="reference-text"> PowerShell's default shortcut <a href="/wiki/.lnk" class="mw-redirect" title=".lnk">.lnk</a>, unchanged for over a decade, remaps yellow and magenta to give PowerShell distinctive foreground/background colors compared to the Command Prompt.<sup id="cite_ref-32" class="reference"><a href="#cite_note-32"><span class="cite-bracket">[</span>30<span class="cite-bracket">]</span></a></sup> PowerShell 7 is unaffected.</span> </li> <li id="cite_note-34"><span class="mw-cite-backlink"><b><a href="#cite_ref-34">^</a></b></span> <span class="reference-text">Debug console, "Dark+" theme</span> </li> <li id="cite_note-35"><span class="mw-cite-backlink"><b><a href="#cite_ref-35">^</a></b></span> <span class="reference-text"> Campbell theme, used as of Windows 10 version 1709.</span> </li> <li id="cite_note-36"><span class="mw-cite-backlink"><b><a href="#cite_ref-36">^</a></b></span> <span class="reference-text"> For virtual terminals, from /etc/vtrgb.</span> </li> <li id="cite_note-38"><span class="mw-cite-backlink"><b><a href="#cite_ref-38">^</a></b></span> <span class="reference-text"> On terminals based on <a href="/wiki/Color_Graphics_Adapter" title="Color Graphics Adapter">CGA</a> compatible hardware, such as ANSI.SYS running on DOS, this normal intensity foreground color is rendered as orange. CGA <a href="/wiki/Color_Graphics_Adapter#With_an_RGBI_monitor" title="Color Graphics Adapter">RGBI</a> monitors contained hardware to modify the dark yellow color to an orange/brown color by reducing the green component<sup id="cite_ref-37" class="reference"><a href="#cite_note-37"><span class="cite-bracket">[</span>31<span class="cite-bracket">]</span></a></sup> </span> </li> </ol></div></div> <div class="mw-heading mw-heading2"><h2 id="References">References</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=23" title="Edit section: References"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239543626"><div class="reflist"> <div class="mw-references-wrap mw-references-columns"><ol class="references"> <li id="cite_note-ECMA-48_(1979)-1"><span class="mw-cite-backlink">^ <a href="#cite_ref-ECMA-48_(1979)_1-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-ECMA-48_(1979)_1-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}</style><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.ecma-international.org/wp-content/uploads/ECMA-48_2nd_edition_august_1979.pdf">"Standard ECMA-48: Control Functions for Character-Imaging I/O Devices"</a> <span class="cs1-format">(PDF)</span> (Second ed.). <a href="/wiki/Ecma_International" title="Ecma International">Ecma International</a>. August 1979. Brief History.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Standard+ECMA-48%3A+Control+Functions+for+Character-Imaging+I%2FO+Devices&rft.pages=Brief+History&rft.edition=Second&rft.pub=Ecma+International&rft.date=1979-08&rft_id=https%3A%2F%2Fwww.ecma-international.org%2Fwp-content%2Fuploads%2FECMA-48_2nd_edition_august_1979.pdf&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-Williams_2006_VT-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-Williams_2006_VT_2-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFWilliams2006" class="citation web cs1">Williams, Paul (2006). <a rel="nofollow" class="external text" href="https://vt100.net/dec/vt_history">"Digital's Video Terminals"</a>. VT100.net<span class="reference-accessdate">. Retrieved <span class="nowrap">17 August</span> 2011</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Digital%27s+Video+Terminals&rft.pub=VT100.net&rft.date=2006&rft.aulast=Williams&rft.aufirst=Paul&rft_id=https%3A%2F%2Fvt100.net%2Fdec%2Fvt_history&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-3">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFHeathkit_Company1979" class="citation web cs1">Heathkit Company (1979). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20120113230301/http://www.pestingers.net/Computer_history/Computers_79.htm">"Heathkit Catalog 1979"</a>. Heathkit Company. Archived from <a rel="nofollow" class="external text" href="http://www.pestingers.net/Computer_history/Computers_79.htm">the original</a> on 13 January 2012<span class="reference-accessdate">. Retrieved <span class="nowrap">4 November</span> 2011</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Heathkit+Catalog+1979&rft.pub=Heathkit+Company&rft.date=1979&rft.au=Heathkit+Company&rft_id=http%3A%2F%2Fwww.pestingers.net%2FComputer_history%2FComputers_79.htm&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-4">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.nist.gov/system/files/documents/2016/12/15/withdrawn_fips_by_numerical_order_index.pdf">"Withdrawn FIPS Listed by Number"</a> <span class="cs1-format">(PDF)</span>. <i><a href="/wiki/National_Institute_of_Standards_and_Technology" title="National Institute of Standards and Technology">National Institute of Standards and Technology</a></i>. 15 December 2016<span class="reference-accessdate">. Retrieved <span class="nowrap">2 January</span> 2022</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=National+Institute+of+Standards+and+Technology&rft.atitle=Withdrawn+FIPS+Listed+by+Number&rft.date=2016-12-15&rft_id=https%3A%2F%2Fwww.nist.gov%2Fsystem%2Ffiles%2Fdocuments%2F2016%2F12%2F15%2Fwithdrawn_fips_by_numerical_order_index.pdf&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-ECMA-48-5"><span class="mw-cite-backlink">^ <a href="#cite_ref-ECMA-48_5-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-3"><sup><i><b>d</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-4"><sup><i><b>e</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-5"><sup><i><b>f</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-6"><sup><i><b>g</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-7"><sup><i><b>h</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-8"><sup><i><b>i</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-9"><sup><i><b>j</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-10"><sup><i><b>k</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-11"><sup><i><b>l</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-12"><sup><i><b>m</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-13"><sup><i><b>n</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-14"><sup><i><b>o</b></i></sup></a> <a href="#cite_ref-ECMA-48_5-15"><sup><i><b>p</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.ecma-international.org/wp-content/uploads/ECMA-48_5th_edition_june_1991.pdf">"Standard ECMA-48: Control Functions for Coded Character Sets"</a> <span class="cs1-format">(PDF)</span> (Fifth ed.). <a href="/wiki/Ecma_International" title="Ecma International">Ecma International</a>. June 1991.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Standard+ECMA-48%3A+Control+Functions+for+Coded+Character+Sets&rft.edition=Fifth&rft.pub=Ecma+International&rft.date=1991-06&rft_id=https%3A%2F%2Fwww.ecma-international.org%2Fwp-content%2Fuploads%2FECMA-48_5th_edition_june_1991.pdf&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-6">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://wiki.amigaos.net/wiki/Printer_Device#Printer_Command_Definitions">"Amiga Printer Command Definitions"</a>. Commodore<span class="reference-accessdate">. Retrieved <span class="nowrap">10 July</span> 2013</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Amiga+Printer+Command+Definitions&rft.pub=Commodore&rft_id=http%3A%2F%2Fwiki.amigaos.net%2Fwiki%2FPrinter_Device%23Printer_Command_Definitions&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-Ansicon-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-Ansicon_7-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFHood2005" class="citation web cs1">Hood, Jason (2005). <a rel="nofollow" class="external text" href="https://github.com/adoxa/ansicon">"Process ANSI escape sequences for Windows console programs"</a>. Jason Hood's Home page<span class="reference-accessdate">. Retrieved <span class="nowrap">9 May</span> 2013</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Process+ANSI+escape+sequences+for+Windows+console+programs&rft.pub=Jason+Hood%27s+Home+page&rft.date=2005&rft.aulast=Hood&rft.aufirst=Jason&rft_id=https%3A%2F%2Fgithub.com%2Fadoxa%2Fansicon&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-8">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://pypi.python.org/pypi/colorama">"colorama · PyPI"</a>. <i>Python Package Index</i><span class="reference-accessdate">. Retrieved <span class="nowrap">27 February</span> 2022</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=Python+Package+Index&rft.atitle=colorama+%C2%B7+PyPI&rft_id=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fcolorama&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-9">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFbitcrazed" class="citation web cs1">bitcrazed. <a rel="nofollow" class="external text" href="https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences">"Console Virtual Terminal Sequences - Windows Console"</a>. <i>docs.microsoft.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">30 May</span> 2018</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=docs.microsoft.com&rft.atitle=Console+Virtual+Terminal+Sequences+-+Windows+Console&rft.au=bitcrazed&rft_id=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fconsole%2Fconsole-virtual-terminal-sequences&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-10">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_special_characters?view=powershell-6">"PowerShell Help: About Special Characters"</a>. 12 January 2023.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=PowerShell+Help%3A+About+Special+Characters&rft.date=2023-01-12&rft_id=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fmicrosoft.powershell.core%2Fabout%2Fabout_special_characters%3Fview%3Dpowershell-6&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-ms-console-roadmap-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-ms-console-roadmap_11-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://docs.microsoft.com/en-us/windows/console/ecosystem-roadmap#roadmap-for-the-future">"Windows Console and Terminal Ecosystem Roadmap"</a>. Microsoft. 2018<span class="reference-accessdate">. Retrieved <span class="nowrap">13 March</span> 2021</span>. <q>this includes retiring the classic console host user interface from its default position in favor of Windows Terminal, ConPTY, and virtual terminal sequences.</q></cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Windows+Console+and+Terminal+Ecosystem+Roadmap&rft.pub=Microsoft&rft.date=2018&rft_id=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fconsole%2Fecosystem-roadmap%23roadmap-for-the-future&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-ECMA-35-12"><span class="mw-cite-backlink">^ <a href="#cite_ref-ECMA-35_12-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-ECMA-35_12-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-ECMA-35_12-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-ECMA-35_12-3"><sup><i><b>d</b></i></sup></a> <a href="#cite_ref-ECMA-35_12-4"><sup><i><b>e</b></i></sup></a> <a href="#cite_ref-ECMA-35_12-5"><sup><i><b>f</b></i></sup></a> <a href="#cite_ref-ECMA-35_12-6"><sup><i><b>g</b></i></sup></a> <a href="#cite_ref-ECMA-35_12-7"><sup><i><b>h</b></i></sup></a> <a href="#cite_ref-ECMA-35_12-8"><sup><i><b>i</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.ecma-international.org/wp-content/uploads/ECMA-35_6th_edition_december_1994.pdf">"Standard ECMA-35: Character Code Structure and Extension Techniques"</a> <span class="cs1-format">(PDF)</span> (Sixth ed.). <a href="/wiki/Ecma_International" title="Ecma International">Ecma International</a>. 1994.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Standard+ECMA-35%3A+Character+Code+Structure+and+Extension+Techniques&rft.edition=Sixth&rft.pub=Ecma+International&rft.date=1994&rft_id=https%3A%2F%2Fwww.ecma-international.org%2Fwp-content%2Fuploads%2FECMA-35_6th_edition_december_1994.pdf&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-xtc-13"><span class="mw-cite-backlink">^ <a href="#cite_ref-xtc_13-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-xtc_13-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-xtc_13-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-xtc_13-3"><sup><i><b>d</b></i></sup></a> <a href="#cite_ref-xtc_13-4"><sup><i><b>e</b></i></sup></a> <a href="#cite_ref-xtc_13-5"><sup><i><b>f</b></i></sup></a> <a href="#cite_ref-xtc_13-6"><sup><i><b>g</b></i></sup></a> <a href="#cite_ref-xtc_13-7"><sup><i><b>h</b></i></sup></a> <a href="#cite_ref-xtc_13-8"><sup><i><b>i</b></i></sup></a> <a href="#cite_ref-xtc_13-9"><sup><i><b>j</b></i></sup></a> <a href="#cite_ref-xtc_13-10"><sup><i><b>k</b></i></sup></a> <a href="#cite_ref-xtc_13-11"><sup><i><b>l</b></i></sup></a> <a href="#cite_ref-xtc_13-12"><sup><i><b>m</b></i></sup></a> <a href="#cite_ref-xtc_13-13"><sup><i><b>n</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFMoyGildeaDickey2019" class="citation web cs1">Moy, Edward; Gildea, Stephen; Dickey, Thomas (2019). <a rel="nofollow" class="external text" href="https://invisible-island.net/xterm/ctlseqs/ctlseqs.html">"XTerm Control Sequences (ctlseqs)"</a>. <i>Invisible Island</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=Invisible+Island&rft.atitle=XTerm+Control+Sequences+%28ctlseqs%29&rft.date=2019&rft.aulast=Moy&rft.aufirst=Edward&rft.au=Gildea%2C+Stephen&rft.au=Dickey%2C+Thomas&rft_id=https%3A%2F%2Finvisible-island.net%2Fxterm%2Fctlseqs%2Fctlseqs.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-CruzGianone1997-14"><span class="mw-cite-backlink"><b><a href="#cite_ref-CruzGianone1997_14-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFFrank_da_CruzChristine_Gianone1997" class="citation book cs1">Frank da Cruz; Christine Gianone (1997). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=QuYQPc-c67MC&pg=PA278"><i>Using C-Kermit</i></a>. Digital Press. p. 278. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <a href="/wiki/Special:BookSources/978-1-55558-164-0" title="Special:BookSources/978-1-55558-164-0"><bdi>978-1-55558-164-0</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Using+C-Kermit&rft.pages=278&rft.pub=Digital+Press&rft.date=1997&rft.isbn=978-1-55558-164-0&rft.au=Frank+da+Cruz&rft.au=Christine+Gianone&rft_id=https%3A%2F%2Fbooks.google.com%2Fbooks%3Fid%3DQuYQPc-c67MC%26pg%3DPA278&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-15"><span class="mw-cite-backlink"><b><a href="#cite_ref-15">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://vt100.net/docs/vt510-rm/SCOSC.html">"SCOSC—Save Current Cursor Position"</a>. <i>VT510 Video Terminal Programmer Information</i>. <a href="/wiki/Digital_Equipment_Corporation" title="Digital Equipment Corporation">DEC</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=VT510+Video+Terminal+Programmer+Information&rft.atitle=SCOSC%E2%80%94Save+Current+Cursor+Position&rft_id=https%3A%2F%2Fvt100.net%2Fdocs%2Fvt510-rm%2FSCOSC.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-16"><span class="mw-cite-backlink"><b><a href="#cite_ref-16">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://vt100.net/docs/vt510-rm/DECSLRM.html">"DECSLRM—Set Left and Right Margins"</a>. <i>VT510 Video Terminal Programmer Information</i>. <a href="/wiki/Digital_Equipment_Corporation" title="Digital Equipment Corporation">DEC</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=VT510+Video+Terminal+Programmer+Information&rft.atitle=DECSLRM%E2%80%94Set+Left+and+Right+Margins&rft_id=https%3A%2F%2Fvt100.net%2Fdocs%2Fvt510-rm%2FDECSLRM.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-17"><span class="mw-cite-backlink"><b><a href="#cite_ref-17">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://vt100.net/docs/vt510-rm/SCORC.html">"SCORC—Restore Saved Cursor Position"</a>. <i>VT510 Video Terminal Programmer Information</i>. <a href="/wiki/Digital_Equipment_Corporation" title="Digital Equipment Corporation">DEC</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=VT510+Video+Terminal+Programmer+Information&rft.atitle=SCORC%E2%80%94Restore+Saved+Cursor+Position&rft_id=https%3A%2F%2Fvt100.net%2Fdocs%2Fvt510-rm%2FSCORC.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-18"><span class="mw-cite-backlink"><b><a href="#cite_ref-18">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFMoyGildeaDickey" class="citation web cs1">Moy, Edward; Gildea, Stephen; Dickey, Thomas. <a rel="nofollow" class="external text" href="https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Functions-using-CSI-_-ordered-by-the-final-character_s_">"XTerm Control Sequences"</a>. Functions using CSI, ordered by the final character(s)<span class="reference-accessdate">. Retrieved <span class="nowrap">4 February</span> 2022</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=XTerm+Control+Sequences&rft.pages=Functions+using+CSI%2C+ordered+by+the+final+character%28s%29&rft.aulast=Moy&rft.aufirst=Edward&rft.au=Gildea%2C+Stephen&rft.au=Dickey%2C+Thomas&rft_id=https%3A%2F%2Finvisible-island.net%2Fxterm%2Fctlseqs%2Fctlseqs.html%23h3-Functions-using-CSI-_-ordered-by-the-final-character_s_&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-19"><span class="mw-cite-backlink"><b><a href="#cite_ref-19">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFConrad_Irwin2013" class="citation web cs1">Conrad Irwin (April 2013). <a rel="nofollow" class="external text" href="https://cirw.in/blog/bracketed-paste">"bracketed paste mode"</a>. <i>cirw.in</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=cirw.in&rft.atitle=bracketed+paste+mode&rft.date=2013-04&rft.au=Conrad+Irwin&rft_id=https%3A%2F%2Fcirw.in%2Fblog%2Fbracketed-paste&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-20"><span class="mw-cite-backlink"><b><a href="#cite_ref-20">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFMoyGildeaDickey" class="citation web cs1">Moy, Edward; Gildea, Stephen; Dickey, Thomas. <a rel="nofollow" class="external text" href="https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Bracketed-Paste-Mode">"XTerm Control Sequences"</a>. Bracketed Paste Mode<span class="reference-accessdate">. Retrieved <span class="nowrap">4 February</span> 2022</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=XTerm+Control+Sequences&rft.pages=Bracketed+Paste+Mode&rft.aulast=Moy&rft.aufirst=Edward&rft.au=Gildea%2C+Stephen&rft.au=Dickey%2C+Thomas&rft_id=https%3A%2F%2Finvisible-island.net%2Fxterm%2Fctlseqs%2Fctlseqs.html%23h2-Bracketed-Paste-Mode&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-console_codes(4)-21"><span class="mw-cite-backlink"><b><a href="#cite_ref-console_codes(4)_21-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://man7.org/linux/man-pages/man4/console_codes.4.html">"console_codes(4) - Linux manual page"</a>. <i>man7.org</i><span class="reference-accessdate">. Retrieved <span class="nowrap">23 March</span> 2018</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=man7.org&rft.atitle=console_codes%284%29+-+Linux+manual+page&rft_id=http%3A%2F%2Fman7.org%2Flinux%2Fman-pages%2Fman4%2Fconsole_codes.4.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-SCO-22"><span class="mw-cite-backlink">^ <a href="#cite_ref-SCO_22-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-SCO_22-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://osr507doc.sco.com/man/html.HW/screen.HW.html">"screen(HW)"</a>. <i>SCO OpenServer Release 5.0.7 Manual</i>. 11 February 2003.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=SCO+OpenServer+Release+5.0.7+Manual&rft.atitle=screen%28HW%29&rft.date=2003-02-11&rft_id=http%3A%2F%2Fosr507doc.sco.com%2Fman%2Fhtml.HW%2Fscreen.HW.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-23"><span class="mw-cite-backlink"><b><a href="#cite_ref-23">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://bugzilla.gnome.org/show_bug.cgi?id=791596">"Bug 791596 – Thoughts about faint (SGR 2)"</a>. <i>bugzilla.gnome.org</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=bugzilla.gnome.org&rft.atitle=Bug+791596+%E2%80%93+Thoughts+about+faint+%28SGR+2%29&rft_id=https%3A%2F%2Fbugzilla.gnome.org%2Fshow_bug.cgi%3Fid%3D791596&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-color-u-24"><span class="mw-cite-backlink">^ <a href="#cite_ref-color-u_24-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-color-u_24-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-color-u_24-2"><sup><i><b>c</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://gitlab.com/gnachman/iterm2/-/issues/6382">"Curly and colored underlines (#6382) · Issues · George Nachman / iterm2"</a>. <i>GitLab</i>. 11 December 2017.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=GitLab&rft.atitle=Curly+and+colored+underlines+%28%236382%29+%C2%B7+Issues+%C2%B7+George+Nachman+%2F+iterm2&rft.date=2017-12-11&rft_id=https%3A%2F%2Fgitlab.com%2Fgnachman%2Fiterm2%2F-%2Fissues%2F6382&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-color-u-kitty-spec-25"><span class="mw-cite-backlink">^ <a href="#cite_ref-color-u-kitty-spec_25-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-color-u-kitty-spec_25-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-color-u-kitty-spec_25-2"><sup><i><b>c</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://sw.kovidgoyal.net/kitty/protocol-extensions.html#colored-and-styled-underlines">"Extensions to the xterm protocol"</a>. <i>kitty documentation</i><span class="reference-accessdate">. Retrieved <span class="nowrap">1 July</span> 2020</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=kitty+documentation&rft.atitle=Extensions+to+the+xterm+protocol&rft_id=https%3A%2F%2Fsw.kovidgoyal.net%2Fkitty%2Fprotocol-extensions.html%23colored-and-styled-underlines&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-color-u-konsole-26"><span class="mw-cite-backlink"><b><a href="#cite_ref-color-u-konsole_26-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://bugs.kde.org/387811">"Curly and colored underlines"</a>. <i>KDE bugtracker</i>. 27 August 2022.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=KDE+bugtracker&rft.atitle=Curly+and+colored+underlines&rft.date=2022-08-27&rft_id=https%3A%2F%2Fbugs.kde.org%2F387811&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-console-termio-realize-27"><span class="mw-cite-backlink"><b><a href="#cite_ref-console-termio-realize_27-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://jdebp.uk/Softwares/nosh/guide/commands/console-termio-realizer.xml">"console-termio-realizer"</a>. <i>jdebp.uk</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=jdebp.uk&rft.atitle=console-termio-realizer&rft_id=http%3A%2F%2Fjdebp.uk%2FSoftwares%2Fnosh%2Fguide%2Fcommands%2Fconsole-termio-realizer.xml&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-28"><span class="mw-cite-backlink"><b><a href="#cite_ref-28">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://man7.org/linux/man-pages/man4/console_codes.4.html">"console_codes(4)"</a>. <i>Linux Programmer's Manual</i>. 5.10. Linux <a href="/wiki/Man_(Unix)" class="mw-redirect" title="Man (Unix)">man-pages</a> project.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=Linux+Programmer%27s+Manual&rft.atitle=console_codes%284%29&rft_id=https%3A%2F%2Fman7.org%2Flinux%2Fman-pages%2Fman4%2Fconsole_codes.4.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-mintty-29"><span class="mw-cite-backlink">^ <a href="#cite_ref-mintty_29-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-mintty_29-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-mintty_29-2"><sup><i><b>c</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://github.com/mintty/mintty/wiki/Tips#text-attributes-and-rendering">"mintty/mintty: Text attributes and rendering"</a>. <i>GitHub</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=GitHub&rft.atitle=mintty%2Fmintty%3A+Text+attributes+and+rendering&rft_id=https%3A%2F%2Fgithub.com%2Fmintty%2Fmintty%2Fwiki%2FTips%23text-attributes-and-rendering&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-32"><span class="mw-cite-backlink"><b><a href="#cite_ref-32">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://github.com/PowerShell/PowerShell/issues/4266">"default shortcut on Windows remaps ANSI colors 35,36 · Issue #4266 · PowerShell/PowerShell"</a>. <i>GitHub</i><span class="reference-accessdate">. Retrieved <span class="nowrap">21 December</span> 2022</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=GitHub&rft.atitle=default+shortcut+on+Windows+remaps+ANSI+colors+35%2C36+%C2%B7+Issue+%234266+%C2%B7+PowerShell%2FPowerShell&rft_id=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F4266&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-37"><span class="mw-cite-backlink"><b><a href="#cite_ref-37">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://int10h.org/blog/2022/06/ibm-5153-color-true-cga-palette/">"The IBM 5153's True CGA Palette and Color Output"</a>. VileR. 11 June 2022<span class="reference-accessdate">. Retrieved <span class="nowrap">18 May</span> 2024</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=The+IBM+5153%27s+True+CGA+Palette+and+Color+Output&rft.pub=VileR&rft.date=2022-06-11&rft_id=https%3A%2F%2Fint10h.org%2Fblog%2F2022%2F06%2Fibm-5153-color-true-cga-palette%2F&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-39"><span class="mw-cite-backlink"><b><a href="#cite_ref-39">^</a></b></span> <span class="reference-text">Changed from 0, 0, 205 in July 2004 <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://invisible-island.net/xterm/xterm.log.html#xterm_192">"Patch #192 – 2004/7/12 – XFree86 4.4.99.9"</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Patch+%23192+%E2%80%93+2004%2F7%2F12+%E2%80%93+XFree86+4.4.99.9&rft_id=http%3A%2F%2Finvisible-island.net%2Fxterm%2Fxterm.log.html%23xterm_192&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-40"><span class="mw-cite-backlink"><b><a href="#cite_ref-40">^</a></b></span> <span class="reference-text">Changed from 0, 0, 255 in July 2004 <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://invisible-island.net/xterm/xterm.log.html#xterm_192">"Patch #192 – 2004/7/12 – XFree86 4.4.99.9"</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Patch+%23192+%E2%80%93+2004%2F7%2F12+%E2%80%93+XFree86+4.4.99.9&rft_id=http%3A%2F%2Finvisible-island.net%2Fxterm%2Fxterm.log.html%23xterm_192&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-T.416-41"><span class="mw-cite-backlink">^ <a href="#cite_ref-T.416_41-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-T.416_41-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-T.416_41-2"><sup><i><b>c</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.itu.int/rec/dologin_pub.asp?lang=e&id=T-REC-T.416-199303-I!!PDF-E&type=items">"T.416 Information technology - Open Document Architecture (ODA) and interchange format: Character content architectures"</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=T.416+Information+technology+-+Open+Document+Architecture+%28ODA%29+and+interchange+format%3A+Character+content+architectures&rft_id=https%3A%2F%2Fwww.itu.int%2Frec%2Fdologin_pub.asp%3Flang%3De%26id%3DT-REC-T.416-199303-I%21%21PDF-E%26type%3Ditems&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-42"><span class="mw-cite-backlink"><b><a href="#cite_ref-42">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://quickgit.kde.org/?p=konsole.git&a=blob&f=tests%2Fcolor-spaces.pl">"color-spaces.pl (a copy of 256colors2.pl from xterm dated 1999-07-11)"</a>. KDE. 6 December 2006.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=color-spaces.pl+%28a+copy+of+256colors2.pl+from+xterm+dated+1999-07-11%29&rft.pub=KDE&rft.date=2006-12-06&rft_id=https%3A%2F%2Fquickgit.kde.org%2F%3Fp%3Dkonsole.git%26a%3Dblob%26f%3Dtests%252Fcolor-spaces.pl&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span><sup class="noprint Inline-Template"><span style="white-space: nowrap;">[<i><a href="/wiki/Wikipedia:Link_rot" title="Wikipedia:Link rot"><span title=" Dead link tagged June 2020">permanent dead link</span></a></i><span style="visibility:hidden; color:transparent; padding-left:2px">‍</span>]</span></sup></span> </li> <li id="cite_note-43"><span class="mw-cite-backlink"><b><a href="#cite_ref-43">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://invent.kde.org/personalizedrefrigerator/konsole/-/blob/master/doc/user/README.moreColors">"README.moreColors"</a>. KDE. 22 April 2010.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=README.moreColors&rft.pub=KDE&rft.date=2010-04-22&rft_id=https%3A%2F%2Finvent.kde.org%2Fpersonalizedrefrigerator%2Fkonsole%2F-%2Fblob%2Fmaster%2Fdoc%2Fuser%2FREADME.moreColors&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-44"><span class="mw-cite-backlink"><b><a href="#cite_ref-44">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://bugzilla.gnome.org/show_bug.cgi?id=704449">"libvte's bug report and patches: Support for 16 million colors"</a>. GNOME Bugzilla. 4 April 2014<span class="reference-accessdate">. Retrieved <span class="nowrap">5 June</span> 2016</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=libvte%27s+bug+report+and+patches%3A+Support+for+16+million+colors&rft.pub=GNOME+Bugzilla&rft.date=2014-04-04&rft_id=https%3A%2F%2Fbugzilla.gnome.org%2Fshow_bug.cgi%3Fid%3D704449&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-45"><span class="mw-cite-backlink"><b><a href="#cite_ref-45">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://askubuntu.com/questions/512525/how-to-enable-24bit-true-color-support-in-gnome-terminal">"How to enable 24bit true color support in Gnome terminal?"</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=How+to+enable+24bit+true+color+support+in+Gnome+terminal%3F&rft_id=https%3A%2F%2Faskubuntu.com%2Fquestions%2F512525%2Fhow-to-enable-24bit-true-color-support-in-gnome-terminal&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-46"><span class="mw-cite-backlink"><b><a href="#cite_ref-46">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation book cs1">"History". <a rel="nofollow" class="external text" href="https://invisible-island.net/ncurses/man/curs_color.3x.html#h2-HISTORY"><i>curs_color(3X) - manipulate terminal colors with curses</i></a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.atitle=History&rft.btitle=curs_color%283X%29+-+manipulate+terminal+colors+with+curses&rft_id=https%3A%2F%2Finvisible-island.net%2Fncurses%2Fman%2Fcurs_color.3x.html%23h2-HISTORY&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-47"><span class="mw-cite-backlink"><b><a href="#cite_ref-47">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://fossies.org/linux/mc/lib/tty/color-slang.c">"Midnight Commander: lib/tty/color-slang.c"</a>. <i>Fossies</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=Fossies&rft.atitle=Midnight+Commander%3A+lib%2Ftty%2Fcolor-slang.c&rft_id=https%3A%2F%2Ffossies.org%2Flinux%2Fmc%2Flib%2Ftty%2Fcolor-slang.c&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-ncurses-on-slang-48"><span class="mw-cite-backlink">^ <a href="#cite_ref-ncurses-on-slang_48-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-ncurses-on-slang_48-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFDickey2017" class="citation web cs1">Dickey, Thomas E. (2017). <a rel="nofollow" class="external text" href="https://invisible-island.net/ncurses/ncurses-slang.html">"NCURSES — comments on S-Lang"</a>. <i>invisible-island.net</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=invisible-island.net&rft.atitle=NCURSES+%E2%80%94+comments+on+S-Lang&rft.date=2017&rft.aulast=Dickey&rft.aufirst=Thomas+E.&rft_id=https%3A%2F%2Finvisible-island.net%2Fncurses%2Fncurses-slang.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-49"><span class="mw-cite-backlink"><b><a href="#cite_ref-49">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://fedoraproject.org/wiki/Features/256_Color_Terminals#Scope">"Features/256 Color Terminals - Fedora Project Wiki"</a>. <i>Fedora Project</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20121004184942/https://fedoraproject.org/wiki/Features/256_Color_Terminals#Scope">Archived</a> from the original on 4 October 2012.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=Fedora+Project&rft.atitle=Features%2F256+Color+Terminals+-+Fedora+Project+Wiki&rft_id=https%3A%2F%2Ffedoraproject.org%2Fwiki%2FFeatures%2F256_Color_Terminals%23Scope&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-50"><span class="mw-cite-backlink"><b><a href="#cite_ref-50">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://bugzilla.gnome.org/show_bug.cgi?id=733423">"Bug 733423 – Please set COLORFGBG environment variable for automatic color detection"</a>. <i>bugzilla.gnome.org</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=bugzilla.gnome.org&rft.atitle=Bug+733423+%E2%80%93+Please+set+COLORFGBG+environment+variable+for+automatic+color+detection&rft_id=https%3A%2F%2Fbugzilla.gnome.org%2Fshow_bug.cgi%3Fid%3D733423&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-vte-51"><span class="mw-cite-backlink">^ <a href="#cite_ref-vte_51-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-vte_51-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFKoblinger" class="citation web cs1">Koblinger, Egmont. <a rel="nofollow" class="external text" href="https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda">"Hyperlinks (a.k.a. HTML-like anchors) in terminal emulators"</a>. <i>GitHub Gists</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=GitHub+Gists&rft.atitle=Hyperlinks+%28a.k.a.+HTML-like+anchors%29+in+terminal+emulators&rft.aulast=Koblinger&rft.aufirst=Egmont&rft_id=https%3A%2F%2Fgist.github.com%2Fegmontkob%2Feb114294efbcd5adb1944c9f3cb5feda&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-52"><span class="mw-cite-backlink"><b><a href="#cite_ref-52">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://github.com/mintty/mintty/wiki/CtrlSeqs#hyperlinks">"mintty/mintty: Control Sequences"</a>. <i>GitHub</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=GitHub&rft.atitle=mintty%2Fmintty%3A+Control+Sequences&rft_id=https%3A%2F%2Fgithub.com%2Fmintty%2Fmintty%2Fwiki%2FCtrlSeqs%23hyperlinks&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-53"><span class="mw-cite-backlink"><b><a href="#cite_ref-53">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFKoblinger" class="citation web cs1">Koblinger, Egmont. <a rel="nofollow" class="external text" href="https://github.com/Alhadis/OSC8-Adoption">"OSC 8 adoption in terminal emulators"</a>. <i><a href="/wiki/GitHub" title="GitHub">GitHub</a></i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=GitHub&rft.atitle=OSC+8+adoption+in+terminal+emulators&rft.aulast=Koblinger&rft.aufirst=Egmont&rft_id=https%3A%2F%2Fgithub.com%2FAlhadis%2FOSC8-Adoption&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-54"><span class="mw-cite-backlink"><b><a href="#cite_ref-54">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://man7.org/linux/man-pages/man4/console_codes.4.html">"console_codes — Linux console escape and control sequences"</a>. <i>Linux Programmer's Manual</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=Linux+Programmer%27s+Manual&rft.atitle=console_codes+%E2%80%94+Linux+console+escape+and+control+sequences&rft_id=https%3A%2F%2Fman7.org%2Flinux%2Fman-pages%2Fman4%2Fconsole_codes.4.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-iso-ir-index-55"><span class="mw-cite-backlink">^ <a href="#cite_ref-iso-ir-index_55-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-iso-ir-index_55-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation cs1"><a rel="nofollow" class="external text" href="https://itscj.ipsj.or.jp/english/vbcqpr00000004qn-att/ISO-IR.pdf"><i>ISO-IR: ISO/IEC International Register of Coded Character Sets To Be Used With Escape Sequences</i></a> <span class="cs1-format">(PDF)</span>. ITSCJ/<a href="/wiki/Information_Processing_Society_of_Japan" title="Information Processing Society of Japan">IPSJ</a><span class="reference-accessdate">. Retrieved <span class="nowrap">12 May</span> 2023</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=ISO-IR%3A+ISO%2FIEC+International+Register+of+Coded+Character+Sets+To+Be+Used+With+Escape+Sequences&rft.pub=ITSCJ%2FIPSJ&rft_id=https%3A%2F%2Fitscj.ipsj.or.jp%2Fenglish%2Fvbcqpr00000004qn-att%2FISO-IR.pdf&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-Digital-56"><span class="mw-cite-backlink">^ <a href="#cite_ref-Digital_56-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-Digital_56-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFDigital" class="citation cs1"><a href="/wiki/Digital_Equipment_Corporation" title="Digital Equipment Corporation">Digital</a>. <a rel="nofollow" class="external text" href="https://vt100.net/docs/vt510-rm/DECSC.html">"DECSC—Save Cursor"</a>. <i>VT510 Video Terminal Programmer Information</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=VT510+Video+Terminal+Programmer+Information&rft.atitle=DECSC%E2%80%94Save+Cursor&rft.au=Digital&rft_id=https%3A%2F%2Fvt100.net%2Fdocs%2Fvt510-rm%2FDECSC.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-ascii-table.com-57"><span class="mw-cite-backlink">^ <a href="#cite_ref-ascii-table.com_57-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-ascii-table.com_57-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation cs2"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20090227051140/http://ascii-table.com/ansi-escape-sequences-vt-100.php"><i>ANSI Escape sequences - VT100 / VT52</i></a>, archived from <a rel="nofollow" class="external text" href="http://ascii-table.com/ansi-escape-sequences-vt-100.php">the original</a> on 27 February 2009<span class="reference-accessdate">, retrieved <span class="nowrap">21 August</span> 2020</span></cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=ANSI+Escape+sequences+-+VT100+%2F+VT52&rft_id=http%3A%2F%2Fascii-table.com%2Fansi-escape-sequences-vt-100.php&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-58"><span class="mw-cite-backlink"><b><a href="#cite_ref-58">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFDigital" class="citation cs1"><a href="/wiki/Digital_Equipment_Corporation" title="Digital Equipment Corporation">Digital</a>. <a rel="nofollow" class="external text" href="https://vt100.net/docs/vt510-rm/DECSWL.html">"DECSWL—Single-Width, Single-Height Line"</a>. <i>VT510 Video Terminal Programmer Information</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=VT510+Video+Terminal+Programmer+Information&rft.atitle=DECSWL%E2%80%94Single-Width%2C+Single-Height+Line&rft.au=Digital&rft_id=https%3A%2F%2Fvt100.net%2Fdocs%2Fvt510-rm%2FDECSWL.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-59"><span class="mw-cite-backlink"><b><a href="#cite_ref-59">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFDigital" class="citation cs1"><a href="/wiki/Digital_Equipment_Corporation" title="Digital Equipment Corporation">Digital</a>. <a rel="nofollow" class="external text" href="https://vt100.net/docs/vt510-rm/DECDWL.html">"DECDWL—Double-Width, Single-Height Line"</a>. <i>VT510 Video Terminal Programmer Information</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=VT510+Video+Terminal+Programmer+Information&rft.atitle=DECDWL%E2%80%94Double-Width%2C+Single-Height+Line&rft.au=Digital&rft_id=https%3A%2F%2Fvt100.net%2Fdocs%2Fvt510-rm%2FDECDWL.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-60"><span class="mw-cite-backlink"><b><a href="#cite_ref-60">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.debian.org/doc/manuals/debian-reference/ch09.en.html#_colorized_shell_echo">"Chapter 9. System tips"</a>. <i>debian.org</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=debian.org&rft.atitle=Chapter+9.+System+tips&rft_id=http%3A%2F%2Fwww.debian.org%2Fdoc%2Fmanuals%2Fdebian-reference%2Fch09.en.html%23_colorized_shell_echo&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-61"><span class="mw-cite-backlink"><b><a href="#cite_ref-61">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://vt100.net/docs/vt100-ug/chapter3.html">"VT100.net: Digital VT100 User Guide"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">19 January</span> 2015</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=VT100.net%3A+Digital+VT100+User+Guide&rft_id=http%3A%2F%2Fvt100.net%2Fdocs%2Fvt100-ug%2Fchapter3.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-62"><span class="mw-cite-backlink"><b><a href="#cite_ref-62">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://apple.stackexchange.com/questions/9412/how-to-get-a-notification-when-my-commands-are-done">"bash – How to get a notification when my commands are done – Ask Different"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">19 January</span> 2015</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=bash+%E2%80%93+How+to+get+a+notification+when+my+commands+are+done+%E2%80%93+Ask+Different&rft_id=http%3A%2F%2Fapple.stackexchange.com%2Fquestions%2F9412%2Fhow-to-get-a-notification-when-my-commands-are-done&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-63"><span class="mw-cite-backlink"><b><a href="#cite_ref-63">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFDickey" class="citation web cs1">Dickey, Thomas. <a rel="nofollow" class="external text" href="https://invisible-island.net/xterm/xterm.faq.html#compare_versions">"XTerm FAQ: Comparing versions, by counting controls"</a>. <i>Invisible Island</i><span class="reference-accessdate">. Retrieved <span class="nowrap">25 January</span> 2020</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=Invisible+Island&rft.atitle=XTerm+FAQ%3A+Comparing+versions%2C+by+counting+controls&rft.aulast=Dickey&rft.aufirst=Thomas&rft_id=https%3A%2F%2Finvisible-island.net%2Fxterm%2Fxterm.faq.html%23compare_versions&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-64"><span class="mw-cite-backlink"><b><a href="#cite_ref-64">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFDickey2016" class="citation web cs1">Dickey, Thomas (2016). <a rel="nofollow" class="external text" href="https://invisible-island.net/xterm/xterm-function-keys.html">"Table of function-keys for XTerm and other Terminal Emulators"</a>. <i>Invisible Island</i><span class="reference-accessdate">. Retrieved <span class="nowrap">25 January</span> 2020</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=Invisible+Island&rft.atitle=Table+of+function-keys+for+XTerm+and+other+Terminal+Emulators&rft.date=2016&rft.aulast=Dickey&rft.aufirst=Thomas&rft_id=https%3A%2F%2Finvisible-island.net%2Fxterm%2Fxterm-function-keys.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> <li id="cite_note-65"><span class="mw-cite-backlink"><b><a href="#cite_ref-65">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://iterm2.com/documentation-csiu.html">"CSI u - Documentation - iTerm2 - macOS Terminal Replacement"</a>. <i>iTerm2</i><span class="reference-accessdate">. Retrieved <span class="nowrap">15 August</span> 2023</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=iTerm2&rft.atitle=CSI+u+-+Documentation+-+iTerm2+-+macOS+Terminal+Replacement&rft_id=https%3A%2F%2Fiterm2.com%2Fdocumentation-csiu.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></span> </li> </ol></div></div> <div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=ANSI_escape_code&action=edit&section=24" title="Edit section: External links"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a rel="nofollow" class="external text" href="https://www.ecma-international.org/publications-and-standards/standards/ecma-48/">Standard ECMA-48, Control Functions For Coded Character Sets</a>. (<i>5th edition, June 1991</i>), European Computer Manufacturers Association, Geneva 1991 (also published by ISO and IEC as standard ISO/IEC 6429)</li> <li><a rel="nofollow" class="external text" href="http://vt100.net/docs/">vt100.net DEC Documents</a></li> <li><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20060206022229/http://enterprise.aacc.cc.md.us/~rhs/ansi.html">"ANSI.SYS -- ansi terminal emulation escape sequences"</a>. Archived from <a rel="nofollow" class="external text" href="http://enterprise.aacc.cc.md.us/~rhs/ansi.html">the original</a> on 6 February 2006<span class="reference-accessdate">. Retrieved <span class="nowrap">22 February</span> 2007</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=ANSI.SYS+--+ansi+terminal+emulation+escape+sequences&rft_id=http%3A%2F%2Fenterprise.aacc.cc.md.us%2F~rhs%2Fansi.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></li> <li><a rel="nofollow" class="external text" href="http://invisible-island.net/xterm/ctlseqs/ctlseqs.html">Xterm / Escape Sequences</a></li> <li><a rel="nofollow" class="external text" href="https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/a_commands/aixterm.html">AIXterm / Escape Sequences</a></li> <li><a rel="nofollow" class="external text" href="http://bjh21.me.uk/all-escapes/all-escapes.txt">A collection of escape sequences for terminals that are vaguely compliant with ECMA-48 and friends.</a></li> <li><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20110525032501/http://ascii-table.com/ansi-escape-sequences.php">"ANSI Escape Sequences"</a>. Archived from <a rel="nofollow" class="external text" href="http://ascii-table.com/ansi-escape-sequences.php">the original</a> on 25 May 2011.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=ANSI+Escape+Sequences&rft_id=http%3A%2F%2Fascii-table.com%2Fansi-escape-sequences.php&rfr_id=info%3Asid%2Fen.wikipedia.org%3AANSI+escape+code" class="Z3988"></span></li> <li><a rel="nofollow" class="external text" href="https://www.itu.int/rec/dologin_pub.asp?lang=e&id=T-REC-T.416-199303-I!!PDF-E&type=items">ITU-T Rec. T.416 (03/93) Information technology – Open Document Architecture (ODA) and interchange format: Character content architectures</a></li></ul> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><style data-mw-deduplicate="TemplateStyles:r1236075235">.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.5em;border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}</style></div><div role="navigation" class="navbox" aria-labelledby="Character_encodings" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239400231"><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Character_encodings" title="Template:Character encodings"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Character_encodings" title="Template talk:Character encodings"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:Character_encodings" title="Special:EditPage/Template:Character encodings"><abbr title="Edit this template">e</abbr></a></li></ul></div><div id="Character_encodings" style="font-size:114%;margin:0 4em"><a href="/wiki/Character_encoding" title="Character encoding">Character encodings</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">Early telecommunications</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Telegraph_code" title="Telegraph code">Telegraph code</a> <ul><li><a href="/wiki/Cooke_and_Wheatstone_telegraph#Codes" title="Cooke and Wheatstone telegraph">Needle</a></li> <li><a href="/wiki/Morse_code" title="Morse code">Morse</a> <ul><li><a href="/wiki/Morse_code_for_non-Latin_alphabets" title="Morse code for non-Latin alphabets">Non-Latin</a></li> <li><a href="/wiki/Wabun_code" title="Wabun code">Wabun/Kana</a></li> <li><a href="/wiki/Chinese_telegraph_code" title="Chinese telegraph code">Chinese</a></li> <li><a href="/wiki/Russian_Morse_code" title="Russian Morse code">Cyrillic</a></li></ul></li> <li><a href="/wiki/Baudot_code" title="Baudot code">Baudot and Murray</a></li></ul></li> <li><a href="/wiki/Fieldata" title="Fieldata">Fieldata</a></li> <li><a href="/wiki/ASCII" title="ASCII">ASCII</a> <ul><li><a href="/wiki/ISO/IEC_646" title="ISO/IEC 646">ISO/IEC 646</a></li></ul></li> <li><a href="/wiki/BCD_(character_encoding)" title="BCD (character encoding)">BCDIC</a></li> <li><a href="/wiki/Teletex" title="Teletex">Teletex</a> and <a href="/wiki/Videotex" title="Videotex">Videotex</a>/<a href="/wiki/Teletext" title="Teletext">Teletext</a> <ul><li><a href="/wiki/T.51/ISO/IEC_6937" title="T.51/ISO/IEC 6937">T.51/ISO/IEC 6937</a></li> <li><a href="/wiki/ITU_T.61" title="ITU T.61">ITU T.61</a></li> <li><a href="/wiki/Videotex_character_set" title="Videotex character set">ITU T.101</a></li> <li>World System Teletext <ul><li><a href="/wiki/World_System_Teletext" title="World System Teletext">background</a></li> <li><a href="/wiki/Teletext_character_set" title="Teletext character set">sets</a></li></ul></li></ul></li> <li><a href="/wiki/Transcode_(character_encoding)" title="Transcode (character encoding)">Transcode</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/ISO/IEC_8859" title="ISO/IEC 8859">ISO/IEC 8859</a></th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li>Approved parts <ul><li><a href="/wiki/ISO/IEC_8859-1" title="ISO/IEC 8859-1">-1 (Western Europe)</a></li> <li><a href="/wiki/ISO/IEC_8859-2" title="ISO/IEC 8859-2">-2 (Central Europe)</a></li> <li><a href="/wiki/ISO/IEC_8859-3" title="ISO/IEC 8859-3">-3 (Maltese/Esperanto)</a></li> <li><a href="/wiki/ISO/IEC_8859-4" title="ISO/IEC 8859-4">-4 (North Europe)</a></li> <li><a href="/wiki/ISO/IEC_8859-5" title="ISO/IEC 8859-5">-5 (Cyrillic)</a></li> <li><a href="/wiki/ISO/IEC_8859-6" title="ISO/IEC 8859-6">-6 (Arabic)</a></li> <li><a href="/wiki/ISO/IEC_8859-7" title="ISO/IEC 8859-7">-7 (Greek)</a></li> <li><a href="/wiki/ISO/IEC_8859-8" title="ISO/IEC 8859-8">-8 (Hebrew)</a></li> <li><a href="/wiki/ISO/IEC_8859-9" title="ISO/IEC 8859-9">-9 (Turkish)</a></li> <li><a href="/wiki/ISO/IEC_8859-10" title="ISO/IEC 8859-10">-10 (Nordic)</a></li> <li><a href="/wiki/ISO/IEC_8859-11" title="ISO/IEC 8859-11">-11 (Thai)</a></li> <li><a href="/wiki/ISO/IEC_8859-13" title="ISO/IEC 8859-13">-13 (Baltic)</a></li> <li><a href="/wiki/ISO/IEC_8859-14" title="ISO/IEC 8859-14">-14 (Celtic)</a></li> <li><a href="/wiki/ISO/IEC_8859-15" title="ISO/IEC 8859-15">-15 (New Western Europe)</a></li> <li><a href="/wiki/ISO/IEC_8859-16" title="ISO/IEC 8859-16">-16 (Romanian)</a></li></ul></li> <li>Abandoned parts <ul><li><a href="/wiki/ISO/IEC_8859-12" class="mw-redirect" title="ISO/IEC 8859-12">-12 (Devanagari)</a></li></ul></li> <li>Proposed but not approved <ul><li><a href="/wiki/ISO-IR-111" title="ISO-IR-111">KOI-8 Cyrillic</a></li> <li><a href="/wiki/ISO-IR-197" title="ISO-IR-197">Sámi</a></li></ul></li> <li>Adaptations <ul><li><a href="/wiki/ISO-IR-182" title="ISO-IR-182">Welsh</a></li> <li><a href="/wiki/ISO-IR-200" title="ISO-IR-200">Barents Cyrillic</a></li> <li><a href="/wiki/Code_page_922" title="Code page 922">Estonian</a></li> <li><a href="/wiki/Code_page_1124" title="Code page 1124">Ukrainian Cyrillic</a></li></ul></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Bibliographic use</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/MARC-8" title="MARC-8">MARC-8</a> <ul><li><a href="/wiki/ANSEL" title="ANSEL">ANSEL</a></li> <li><a href="/wiki/Chinese_Character_Code_for_Information_Interchange" title="Chinese Character Code for Information Interchange">CCCII/EACC</a></li></ul></li> <li><a href="/wiki/ISO_5426" title="ISO 5426">ISO 5426</a></li> <li><a href="/wiki/ISO_5426" title="ISO 5426">5426-2</a></li> <li><a href="/wiki/ISO_5427" title="ISO 5427">5427</a></li> <li><a href="/wiki/ISO_5428" title="ISO 5428">5428</a></li> <li><a href="/wiki/ISO_6438" title="ISO 6438">6438</a></li> <li><a href="/wiki/ISO_6862" title="ISO 6862">6862</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">National standards</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/ArmSCII" title="ArmSCII">ArmSCII</a></li> <li><a href="/wiki/Big5" title="Big5">Big5</a></li> <li><a href="/wiki/BraSCII" title="BraSCII">BraSCII</a></li> <li><a href="/wiki/CNS_11643" title="CNS 11643">CNS 11643</a></li> <li><a href="/wiki/DIN_66003" title="DIN 66003">DIN 66003</a></li> <li><a href="/wiki/ELOT_927" title="ELOT 927">ELOT 927</a></li> <li><a href="/wiki/GOST_10859" title="GOST 10859">GOST 10859</a></li> <li><a href="/wiki/GB_2312" title="GB 2312">GB 2312</a></li> <li><a href="/wiki/GB_12345" title="GB 12345">GB 12345</a></li> <li><a href="/wiki/GB_12052" title="GB 12052">GB 12052</a></li> <li><a href="/wiki/GB_18030" title="GB 18030">GB 18030</a></li> <li><a href="/wiki/Hong_Kong_Supplementary_Character_Set" title="Hong Kong Supplementary Character Set">HKSCS</a></li> <li><a href="/wiki/Indian_Script_Code_for_Information_Interchange" title="Indian Script Code for Information Interchange">ISCII</a></li> <li><a href="/wiki/JIS_X_0201" title="JIS X 0201">JIS X 0201</a></li> <li><a href="/wiki/JIS_X_0208" title="JIS X 0208">JIS X 0208</a></li> <li><a href="/wiki/JIS_X_0212" title="JIS X 0212">JIS X 0212</a></li> <li><a href="/wiki/JIS_X_0213" title="JIS X 0213">JIS X 0213</a></li> <li><a href="/wiki/KOI-7" title="KOI-7">KOI-7</a></li> <li><a href="/wiki/KPS_9566" title="KPS 9566">KPS 9566</a></li> <li><a href="/wiki/KS_X_1001" title="KS X 1001">KS X 1001</a></li> <li><a href="/wiki/KS_X_1002" title="KS X 1002">KS X 1002</a></li> <li><a href="/wiki/LST_1564" title="LST 1564">LST 1564</a></li> <li><a href="/wiki/LST_1590-4" title="LST 1590-4">LST 1590-4</a></li> <li><a href="/wiki/Perso-Arabic_Script_Code_for_Information_Interchange" title="Perso-Arabic Script Code for Information Interchange">PASCII</a></li> <li><a href="/wiki/Shift_JIS" title="Shift JIS">Shift JIS</a></li> <li><a href="/wiki/SI_960" title="SI 960">SI 960</a></li> <li><a href="/wiki/Thai_Industrial_Standard_620-2533" title="Thai Industrial Standard 620-2533">TIS-620</a></li> <li><a href="/wiki/Tamil_Script_Code_for_Information_Interchange" title="Tamil Script Code for Information Interchange">TSCII</a></li> <li><a href="/wiki/VISCII" title="VISCII">VISCII</a></li> <li><a href="/wiki/VSCII" title="VSCII">VSCII</a></li> <li><a href="/wiki/YUSCII" title="YUSCII">YUSCII</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/ISO/IEC_2022" title="ISO/IEC 2022">ISO/IEC 2022</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/ISO/IEC_8859" title="ISO/IEC 8859">ISO/IEC 8859</a></li> <li><a href="/wiki/ISO/IEC_10367" title="ISO/IEC 10367">ISO/IEC 10367</a></li> <li><a href="/wiki/Extended_Unix_Code" title="Extended Unix Code">Extended Unix Code / EUC</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Mac OS <a href="/wiki/Code_page" title="Code page">Code pages</a><br />("scripts")</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Mac_OS_Armenian" title="Mac OS Armenian">Armenian</a></li> <li><a href="/wiki/MacArabic_encoding" title="MacArabic encoding">Arabic</a></li> <li><a href="/wiki/Mac_OS_Barents_Cyrillic" title="Mac OS Barents Cyrillic">Barents Cyrillic</a></li> <li><a href="/wiki/Mac_OS_Celtic" title="Mac OS Celtic">Celtic</a></li> <li><a href="/wiki/Mac_OS_Central_European_encoding" title="Mac OS Central European encoding">Central European</a></li> <li><a href="/wiki/Mac_OS_Croatian_encoding" title="Mac OS Croatian encoding">Croatian</a></li> <li><a href="/wiki/Mac_OS_Cyrillic_encoding" title="Mac OS Cyrillic encoding">Cyrillic</a></li> <li><a href="/wiki/Mac_OS_Devanagari_encoding" title="Mac OS Devanagari encoding">Devanagari</a></li> <li><a href="/wiki/MacFarsi_encoding" title="MacFarsi encoding">Farsi (Persian)</a></li> <li><a href="/wiki/Macintosh_Font_X_encoding" title="Macintosh Font X encoding">Font X (Kermit)</a></li> <li><a href="/wiki/Mac_OS_Gaelic" title="Mac OS Gaelic">Gaelic</a></li> <li><a href="/wiki/Mac_OS_Georgian" title="Mac OS Georgian">Georgian</a></li> <li><a href="/wiki/MacGreek_encoding" title="MacGreek encoding">Greek</a></li> <li><a href="/wiki/Mac_OS_Gujarati" title="Mac OS Gujarati">Gujarati</a></li> <li><a href="/wiki/Mac_OS_Gurmukhi" title="Mac OS Gurmukhi">Gurmukhi</a></li> <li><a href="/wiki/Mac_OS_Hebrew" title="Mac OS Hebrew">Hebrew</a></li> <li><a href="/wiki/Mac_OS_Icelandic_encoding" title="Mac OS Icelandic encoding">Iceland</a></li> <li><a href="/wiki/Mac_OS_Inuit" title="Mac OS Inuit">Inuit</a></li> <li><a href="/wiki/Mac_OS_Keyboard_encoding" title="Mac OS Keyboard encoding">Keyboard</a></li> <li><a href="/wiki/Macintosh_Latin_encoding" title="Macintosh Latin encoding">Latin (Kermit)</a></li> <li><a href="/wiki/Mac_OS_Maltese/Esperanto_encoding" title="Mac OS Maltese/Esperanto encoding">Maltese/Esperanto</a></li> <li><a href="/wiki/Mac_OS_Ogham" title="Mac OS Ogham">Ogham</a></li> <li><a href="/wiki/Mac_OS_Roman" title="Mac OS Roman">Roman</a></li> <li><a href="/wiki/Mac_OS_Romanian_encoding" title="Mac OS Romanian encoding">Romanian</a></li> <li><a href="/wiki/Mac_OS_S%C3%A1mi" title="Mac OS Sámi">Sámi</a></li> <li><a href="/wiki/Mac_OS_Turkish_encoding" title="Mac OS Turkish encoding">Turkish</a></li> <li><a href="/wiki/Mac_OS_Turkic_Cyrillic" title="Mac OS Turkic Cyrillic">Turkic Cyrillic</a></li> <li><a href="/wiki/Mac_OS_Ukrainian_encoding" title="Mac OS Ukrainian encoding">Ukrainian</a></li> <li><a href="/wiki/VT100_encoding" title="VT100 encoding">VT100</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">DOS code pages</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Code_page_437" title="Code page 437">437</a></li> <li><a href="/wiki/Code_page_668" title="Code page 668">668</a></li> <li><a href="/wiki/Code_page_708" title="Code page 708">708</a></li> <li><a href="/wiki/Code_page_720" title="Code page 720">720</a></li> <li><a href="/wiki/Code_page_737" title="Code page 737">737</a></li> <li><a href="/wiki/Code_page_770" title="Code page 770">770</a></li> <li><a href="/wiki/Code_page_773" title="Code page 773">773</a></li> <li><a href="/wiki/Code_page_775" title="Code page 775">775</a></li> <li><a href="/wiki/Code_page_776" title="Code page 776">776</a></li> <li><a href="/wiki/Code_page_777" title="Code page 777">777</a></li> <li><a href="/wiki/Code_page_778" title="Code page 778">778</a></li> <li><a href="/wiki/Code_page_850" title="Code page 850">850</a></li> <li><a href="/wiki/Code_page_851" title="Code page 851">851</a></li> <li><a href="/wiki/Code_page_852" title="Code page 852">852</a></li> <li><a href="/wiki/Code_page_853" title="Code page 853">853</a></li> <li><a href="/wiki/Code_page_855" title="Code page 855">855</a></li> <li><a href="/wiki/Code_page_856" title="Code page 856">856</a></li> <li><a href="/wiki/Code_page_857" title="Code page 857">857</a></li> <li><a href="/wiki/Code_page_858" class="mw-redirect" title="Code page 858">858</a></li> <li><a href="/wiki/Code_page_859" title="Code page 859">859</a></li> <li><a href="/wiki/Code_page_860" title="Code page 860">860</a></li> <li><a href="/wiki/Code_page_861" title="Code page 861">861</a></li> <li><a href="/wiki/Code_page_862" title="Code page 862">862</a></li> <li><a href="/wiki/Code_page_863" title="Code page 863">863</a></li> <li><a href="/wiki/Code_page_864" title="Code page 864">864</a></li> <li><a href="/wiki/Code_page_865" title="Code page 865">865</a></li> <li><a href="/wiki/Code_page_866" title="Code page 866">866</a></li> <li><a href="/wiki/Code_page_867" title="Code page 867">867</a></li> <li><a href="/wiki/Code_page_868" title="Code page 868">868</a></li> <li><a href="/wiki/Code_page_869" title="Code page 869">869</a></li> <li><a href="/wiki/Code_page_897" title="Code page 897">897</a></li> <li><a href="/wiki/Code_page_899" title="Code page 899">899</a></li> <li><a href="/wiki/Code_page_903" title="Code page 903">903</a></li> <li><a href="/wiki/Code_page_904" title="Code page 904">904</a></li> <li><a href="/wiki/Code_page_932_(IBM)" title="Code page 932 (IBM)">932</a></li> <li><a href="/wiki/Code_page_936_(IBM)" title="Code page 936 (IBM)">936</a></li> <li><a href="/wiki/Code_page_942" title="Code page 942">942</a></li> <li><a href="/wiki/Code_page_949_(IBM)" title="Code page 949 (IBM)">949</a></li> <li><a href="/wiki/Code_page_950" title="Code page 950">950</a></li> <li><a href="/wiki/Code_page_951" title="Code page 951">951</a></li> <li><a href="/wiki/Code_page_1034" class="mw-redirect" title="Code page 1034">1034</a></li> <li><a href="/wiki/Code_page_1040" title="Code page 1040">1040</a></li> <li><a href="/wiki/Code_page_1042" title="Code page 1042">1042</a></li> <li><a href="/wiki/Code_page_1043" title="Code page 1043">1043</a></li> <li><a href="/wiki/Code_page_1044" class="mw-redirect" title="Code page 1044">1044</a></li> <li><a href="/wiki/Code_page_1098" title="Code page 1098">1098</a></li> <li><a href="/wiki/Code_page_1115" title="Code page 1115">1115</a></li> <li><a href="/wiki/Code_page_1116" title="Code page 1116">1116</a></li> <li><a href="/wiki/Code_page_1117" title="Code page 1117">1117</a></li> <li><a href="/wiki/Code_page_1118" title="Code page 1118">1118</a></li> <li><a href="/wiki/Code_page_1127" title="Code page 1127">1127</a></li> <li><a href="/wiki/Code_page_3846" title="Code page 3846">3846</a></li> <li><a href="/wiki/ABICOMP_character_set" title="ABICOMP character set">ABICOMP</a></li> <li><a href="/wiki/CS_Indic_character_set" title="CS Indic character set">CS Indic</a></li> <li><a href="/wiki/CSX_Indic_character_set" title="CSX Indic character set">CSX Indic</a></li> <li><a href="/wiki/CSX%2B_Indic_character_set" title="CSX+ Indic character set">CSX+ Indic</a></li> <li><a href="/wiki/CWI-2" title="CWI-2">CWI-2</a></li> <li><a href="/wiki/Iran_System_encoding" title="Iran System encoding">Iran System</a></li> <li><a href="/wiki/Kamenick%C3%BD_encoding" title="Kamenický encoding">Kamenický</a></li> <li><a href="/wiki/Mazovia_encoding" title="Mazovia encoding">Mazovia</a></li> <li><a href="/wiki/MIK_(character_set)" title="MIK (character set)">MIK</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/IBM_AIX" title="IBM AIX">IBM AIX code pages</a></th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Code_page_895" title="Code page 895">895</a></li> <li><a href="/wiki/Code_page_896" title="Code page 896">896</a></li> <li><a href="/wiki/Code_page_912" title="Code page 912">912</a></li> <li><a href="/wiki/Code_page_915" title="Code page 915">915</a></li> <li><a href="/wiki/Code_page_921" title="Code page 921">921</a></li> <li><a href="/wiki/Code_page_922" title="Code page 922">922</a></li> <li><a href="/wiki/Code_page_1006" title="Code page 1006">1006</a></li> <li><a href="/wiki/Code_page_1008" title="Code page 1008">1008</a></li> <li><a href="/wiki/Code_page_1009" title="Code page 1009">1009</a></li> <li><a href="/wiki/Code_page_1010" title="Code page 1010">1010</a></li> <li><a href="/wiki/Code_page_1012" title="Code page 1012">1012</a></li> <li><a href="/wiki/Code_page_1013" title="Code page 1013">1013</a></li> <li><a href="/wiki/Code_page_1014" title="Code page 1014">1014</a></li> <li><a href="/wiki/Code_page_1015" title="Code page 1015">1015</a></li> <li><a href="/wiki/Code_page_1016" title="Code page 1016">1016</a></li> <li><a href="/wiki/Code_page_1017" title="Code page 1017">1017</a></li> <li><a href="/wiki/Code_page_1018" title="Code page 1018">1018</a></li> <li><a href="/wiki/Code_page_1019" title="Code page 1019">1019</a></li> <li><a href="/wiki/Code_page_1046" title="Code page 1046">1046</a></li> <li><a href="/wiki/Code_page_1124" title="Code page 1124">1124</a></li> <li><a href="/wiki/Code_page_1133" title="Code page 1133">1133</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Windows_code_page" title="Windows code page">Windows code pages</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/CER-GS" title="CER-GS">CER-GS</a></li> <li><a href="/wiki/Code_page_932_(Microsoft_Windows)" title="Code page 932 (Microsoft Windows)">932</a></li> <li><a href="/wiki/Code_page_936_(Microsoft_Windows)" title="Code page 936 (Microsoft Windows)">936</a> (<a href="/wiki/GBK_(character_encoding)" title="GBK (character encoding)">GBK</a>)</li> <li><a href="/wiki/Code_page_950" title="Code page 950">950</a></li> <li><a href="/wiki/Code_page_1169" title="Code page 1169">1169</a></li> <li><a href="/wiki/Extended_Latin-8" title="Extended Latin-8">Extended Latin-8</a></li> <li><a href="/wiki/Windows-1250" title="Windows-1250">1250</a></li> <li><a href="/wiki/Windows-1251" title="Windows-1251">1251</a></li> <li><a href="/wiki/Windows-1252" title="Windows-1252">1252</a></li> <li><a href="/wiki/Windows-1253" title="Windows-1253">1253</a></li> <li><a href="/wiki/Windows-1254" title="Windows-1254">1254</a></li> <li><a href="/wiki/Windows-1255" title="Windows-1255">1255</a></li> <li><a href="/wiki/Windows-1256" title="Windows-1256">1256</a></li> <li><a href="/wiki/Windows-1257" title="Windows-1257">1257</a></li> <li><a href="/wiki/Windows-1258" title="Windows-1258">1258</a></li> <li><a href="/wiki/Windows-1270" title="Windows-1270">1270</a></li> <li><a href="/wiki/Windows_Cyrillic_%2B_Finnish" title="Windows Cyrillic + Finnish">Cyrillic + Finnish</a></li> <li><a href="/wiki/Windows_Cyrillic_%2B_French" title="Windows Cyrillic + French">Cyrillic + French</a></li> <li><a href="/wiki/Windows_Cyrillic_%2B_German" title="Windows Cyrillic + German">Cyrillic + German</a></li> <li><a href="/wiki/Windows_Polytonic_Greek" title="Windows Polytonic Greek">Polytonic Greek</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/EBCDIC" title="EBCDIC">EBCDIC</a> code pages</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Japanese_language_in_EBCDIC" title="Japanese language in EBCDIC">Japanese language in EBCDIC</a></li> <li><a href="/wiki/DKOI" title="DKOI">DKOI</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Digital_Equipment_Corporation" title="Digital Equipment Corporation">DEC</a> terminals (<a href="/wiki/VT220" title="VT220">VTx</a>)</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Multinational_Character_Set" title="Multinational Character Set">Multinational (MCS)</a></li> <li><a href="/wiki/National_Replacement_Character_Set" title="National Replacement Character Set">National Replacement (NRCS)</a> <ul><li><a href="/wiki/Code_page_1020" title="Code page 1020">French Canadian</a></li> <li><a href="/wiki/Code_page_1021" title="Code page 1021">Swiss</a></li> <li><a href="/wiki/Code_page_1023" title="Code page 1023">Spanish</a></li> <li><a href="/wiki/Code_page_1101" title="Code page 1101">United Kingdom</a></li> <li><a href="/wiki/Code_page_1102" title="Code page 1102">Dutch</a></li> <li><a href="/wiki/Code_page_1103" title="Code page 1103">Finnish</a></li> <li><a href="/wiki/Code_page_1104" title="Code page 1104">French</a></li> <li><a href="/wiki/Code_page_1105" title="Code page 1105">Norwegian and Danish</a></li> <li><a href="/wiki/Code_page_1106" title="Code page 1106">Swedish</a></li> <li><a href="/wiki/Code_page_1107" title="Code page 1107">Norwegian and Danish (alternative)</a></li></ul></li> <li><a href="/wiki/Code_page_1287" title="Code page 1287">8-bit Greek</a></li> <li><a href="/wiki/Code_page_1288" title="Code page 1288">8-bit Turkish</a></li> <li><a href="/wiki/SI_960" title="SI 960">SI 960</a></li> <li><a href="/wiki/DEC_Hebrew" title="DEC Hebrew">Hebrew</a></li> <li><a href="/wiki/DEC_Special_Graphics" title="DEC Special Graphics">Special Graphics</a></li> <li><a href="/wiki/DEC_Technical_Character_Set" title="DEC Technical Character Set">Technical (TCS)</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Platform specific</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Code_page_1052" class="mw-redirect" title="Code page 1052">1052</a></li> <li><a href="/wiki/Code_page_1053" class="mw-redirect" title="Code page 1053">1053</a></li> <li><a href="/wiki/Code_page_1054" class="mw-redirect" title="Code page 1054">1054</a></li> <li><a href="/wiki/Code_page_1055" class="mw-redirect" title="Code page 1055">1055</a></li> <li><a href="/w/index.php?title=Code_page_1056&action=edit&redlink=1" class="new" title="Code page 1056 (page does not exist)">1056</a></li> <li><a href="/wiki/Code_page_1057" title="Code page 1057">1057</a></li> <li><a href="/wiki/Code_page_1058" title="Code page 1058">1058</a></li> <li><a href="/wiki/RISC_OS_character_set" title="RISC OS character set">Acorn RISC OS</a></li> <li><a href="/wiki/Amstrad_CPC_character_set" title="Amstrad CPC character set">Amstrad CPC</a></li> <li><a href="/wiki/Apple_II_character_set" title="Apple II character set">Apple II</a></li> <li><a href="/wiki/ATASCII" title="ATASCII">ATASCII</a></li> <li><a href="/wiki/Atari_ST_character_set" title="Atari ST character set">Atari ST</a></li> <li><a href="/wiki/Bitstream_International_Character_Set" title="Bitstream International Character Set">BICS</a></li> <li><a href="/wiki/Casio_calculator_character_sets" title="Casio calculator character sets">Casio calculators</a></li> <li><a href="/wiki/CDC_display_code" title="CDC display code">CDC</a></li> <li><a href="/wiki/Intecolor/Compucolor_8001_character_set" class="mw-redirect" title="Intecolor/Compucolor 8001 character set">Compucolor 8001</a></li> <li><a href="/wiki/Compucolor_II_character_set" title="Compucolor II character set">Compucolor II</a></li> <li><a href="/wiki/Amstrad_CP/M_Plus_character_set" title="Amstrad CP/M Plus character set">CP/M+</a></li> <li><a href="/wiki/DEC_RADIX_50" title="DEC RADIX 50">DEC RADIX 50</a></li> <li><a href="/wiki/Multinational_Character_Set" title="Multinational Character Set">DEC MCS</a>/<a href="/wiki/National_Replacement_Character_Set" title="National Replacement Character Set">NRCS</a></li> <li><a href="/wiki/DG_International" title="DG International">DG International</a></li> <li><a href="/wiki/Galaksija_(computer)#Character_ROM" title="Galaksija (computer)">Galaksija</a></li> <li><a href="/wiki/GEM_character_set" title="GEM character set">GEM</a></li> <li><a href="/wiki/GSM_03.38" title="GSM 03.38">GSM 03.38</a></li> <li><a href="/wiki/HP_Roman" title="HP Roman">HP Roman</a></li> <li><a href="/wiki/FOCAL_character_set" title="FOCAL character set">HP FOCAL</a></li> <li><a href="/wiki/RPL_character_set" title="RPL character set">HP RPL</a></li> <li><a href="/wiki/SQUOZE#Identifier_name_character_encoding" title="SQUOZE">SQUOZE</a></li> <li><a href="/wiki/Lotus_International_Character_Set" title="Lotus International Character Set">LICS</a></li> <li><a href="/wiki/Lotus_Multi-Byte_Character_Set" title="Lotus Multi-Byte Character Set">LMBCS</a></li> <li><a href="/wiki/MSX_character_set" title="MSX character set">MSX</a></li> <li><a href="/wiki/NEC_APC_character_set" title="NEC APC character set">NEC APC</a></li> <li><a href="/wiki/NeXT_character_set" title="NeXT character set">NeXT</a></li> <li><a href="/wiki/PETSCII" title="PETSCII">PETSCII</a></li> <li><a href="/wiki/PostScript_Standard_Encoding" title="PostScript Standard Encoding">PostScript Standard</a></li> <li><a href="/wiki/PostScript_Latin_1_Encoding" title="PostScript Latin 1 Encoding">PostScript Latin 1</a></li> <li><a href="/wiki/SAM_Coup%C3%A9_character_set" class="mw-redirect" title="SAM Coupé character set">SAM Coupé</a></li> <li><a href="/wiki/Sega_SC-3000_character_set" title="Sega SC-3000 character set">Sega SC-3000</a></li> <li><a href="/wiki/Sharp_pocket_computer_character_sets" title="Sharp pocket computer character sets">Sharp calculators</a></li> <li><a href="/wiki/Sharp_MZ_character_set" title="Sharp MZ character set">Sharp MZ</a></li> <li><a href="/wiki/Sinclair_QL_character_set" title="Sinclair QL character set">Sinclair QL</a></li> <li><a href="/wiki/Teletext_character_set" title="Teletext character set">Teletext</a></li> <li><a href="/wiki/TI_calculator_character_sets" title="TI calculator character sets">TI calculators</a></li> <li><a href="/wiki/TRS-80_character_set" title="TRS-80 character set">TRS-80</a></li> <li><a href="/wiki/Ventura_International" title="Ventura International">Ventura International</a></li> <li><a href="/wiki/Wang_International_Standard_Code_for_Information_Interchange" title="Wang International Standard Code for Information Interchange">WISCII</a></li> <li><a href="/wiki/Xerox_Character_Code_Standard" title="Xerox Character Code Standard">XCCS</a></li> <li><a href="/wiki/ZX80_character_set" title="ZX80 character set">ZX80</a></li> <li><a href="/wiki/ZX81_character_set" title="ZX81 character set">ZX81</a></li> <li><a href="/wiki/ZX_Spectrum_character_set" title="ZX Spectrum character set">ZX Spectrum</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Unicode" title="Unicode">Unicode</a> / <a href="/wiki/Universal_Coded_Character_Set" title="Universal Coded Character Set">ISO/IEC 10646</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/UTF-1" title="UTF-1">UTF-1</a></li> <li><a href="/wiki/UTF-7" title="UTF-7">UTF-7</a></li> <li><a href="/wiki/UTF-8" title="UTF-8">UTF-8</a></li> <li><a href="/wiki/UTF-16" title="UTF-16">UTF-16</a></li> <li><a href="/wiki/UTF-32" title="UTF-32">UTF-32</a></li> <li><a href="/wiki/UTF-EBCDIC" title="UTF-EBCDIC">UTF-EBCDIC</a></li> <li><a href="/wiki/GB_18030" title="GB 18030">GB 18030</a></li> <li><a href="/wiki/DIN_91379" title="DIN 91379">DIN 91379</a></li> <li><a href="/wiki/Binary_Ordered_Compression_for_Unicode" title="Binary Ordered Compression for Unicode">BOCU-1</a></li> <li><a href="/wiki/CESU-8" title="CESU-8">CESU-8</a></li> <li><a href="/wiki/Standard_Compression_Scheme_for_Unicode" title="Standard Compression Scheme for Unicode">SCSU</a></li> <li><a href="/wiki/Tamil_All_Character_Encoding" title="Tamil All Character Encoding">TACE16</a></li> <li><a href="/wiki/Comparison_of_Unicode_encodings" title="Comparison of Unicode encodings">Comparison of Unicode encodings</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/TeX" title="TeX">TeX</a> typesetting system</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Cork_encoding" title="Cork encoding">Cork</a></li> <li><a href="/wiki/LY1_encoding" title="LY1 encoding">LY1</a></li> <li><a href="/wiki/OML_encoding" title="OML encoding">OML</a></li> <li><a href="/wiki/OMS_encoding" title="OMS encoding">OMS</a></li> <li><a href="/wiki/OT1_encoding" title="OT1 encoding">OT1</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Miscellaneous code pages</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/ABICOMP_character_set" title="ABICOMP character set">ABICOMP</a></li> <li><a href="/wiki/ASMO_449" title="ASMO 449">ASMO 449</a></li> <li><a href="/wiki/Digital_encoding_of_APL_symbols" title="Digital encoding of APL symbols">Digital encoding of APL symbols</a> <ul><li><a href="/wiki/ISO-IR-68" title="ISO-IR-68">ISO-IR-68</a></li></ul></li> <li><a href="/wiki/ARIB_STD_B24_character_set" title="ARIB STD B24 character set">ARIB STD-B24</a></li> <li><a href="/wiki/Fieldata" title="Fieldata">Fieldata</a></li> <li><a href="/wiki/HZ_(character_encoding)" title="HZ (character encoding)">HZ</a></li> <li><a href="/wiki/IEC-P27-1" title="IEC-P27-1">IEC-P27-1</a></li> <li>INIS <ul><li><a href="/wiki/INIS_character_set" title="INIS character set">7-bit</a></li> <li><a href="/wiki/INIS-8" title="INIS-8">8-bit</a></li></ul></li> <li><a href="/wiki/ISO-IR-169" title="ISO-IR-169">ISO-IR-169</a></li> <li><a href="/wiki/ISO_2033" title="ISO 2033">ISO 2033</a></li> <li><a href="/wiki/KOI_character_encodings" title="KOI character encodings">KOI</a> <ul><li><a href="/wiki/KOI8-R" title="KOI8-R">KOI8-R</a></li> <li><a href="/wiki/KOI8-RU" title="KOI8-RU">KOI8-RU</a></li> <li><a href="/wiki/KOI8-U" title="KOI8-U">KOI8-U</a></li></ul></li> <li><i><a href="/wiki/Mojiky%C5%8D" title="Mojikyō">Mojikyō</a></i></li> <li><a href="/wiki/Stanford_Extended_ASCII" title="Stanford Extended ASCII">SEASCII</a></li> <li><a href="/wiki/Stanford/ITS_character_set" title="Stanford/ITS character set">Stanford/ITS</a></li> <li><a href="/wiki/Symbol_(typeface)" title="Symbol (typeface)">Symbol</a></li> <li><a href="/wiki/TRON_(encoding)" title="TRON (encoding)">TRON</a></li> <li><a href="/wiki/Unified_Hangul_Code" title="Unified Hangul Code">Unified Hangul Code</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Control_character" title="Control character">Control character</a></th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Prosigns_for_Morse_code" title="Prosigns for Morse code">Morse prosigns</a></li> <li><a href="/wiki/C0_and_C1_control_codes" title="C0 and C1 control codes">C0 and C1 control codes</a> <ul><li><a class="mw-selflink selflink">ISO/IEC 6429</a></li> <li><a href="/wiki/JIS_X_0211" title="JIS X 0211">JIS X 0211</a></li></ul></li> <li><a href="/wiki/Unicode_control_characters" title="Unicode control characters">Unicode control, format and separator characters</a></li> <li><a href="/wiki/Whitespace_character" title="Whitespace character">Whitespace characters</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Related topics</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/CCSID" title="CCSID">CCSID</a></li> <li><a href="/wiki/Character_encodings_in_HTML" title="Character encodings in HTML">Character encodings in HTML</a></li> <li><a href="/wiki/Charset_detection" title="Charset detection">Charset detection</a></li> <li><a href="/wiki/Han_unification" title="Han unification">Han unification</a></li> <li><a href="/wiki/Hardware_code_page" title="Hardware code page">Hardware code page</a></li> <li><a href="/wiki/Magnetic_ink_character_recognition" title="Magnetic ink character recognition">MICR code</a></li> <li><a href="/wiki/Mojibake" title="Mojibake">Mojibake</a></li> <li><a href="/wiki/Variable-width_encoding" title="Variable-width encoding">Variable-length encoding</a></li></ul> </div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div><span class="noviewer" typeof="mw:File"><span title="Category"><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/9/96/Symbol_category_class.svg/16px-Symbol_category_class.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/9/96/Symbol_category_class.svg/23px-Symbol_category_class.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/9/96/Symbol_category_class.svg/31px-Symbol_category_class.svg.png 2x" data-file-width="180" data-file-height="185" /></span></span> <a href="/wiki/Category:Character_sets" title="Category:Character sets">Character sets</a></div></td></tr></tbody></table></div> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236075235"></div><div role="navigation" class="navbox" aria-labelledby="Standards_of_Ecma_International" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="3"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239400231"><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Ecma_International_Standards" title="Template:Ecma International Standards"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Ecma_International_Standards" title="Template talk:Ecma International Standards"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:Ecma_International_Standards" title="Special:EditPage/Template:Ecma International Standards"><abbr title="Edit this template">e</abbr></a></li></ul></div><div id="Standards_of_Ecma_International" style="font-size:114%;margin:0 4em">Standards of <a href="/wiki/Ecma_International" title="Ecma International">Ecma International</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">Application interfaces</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a class="mw-selflink selflink">ANSI escape code</a></li> <li><a href="/wiki/Application_Programming_Interface_for_Windows" title="Application Programming Interface for Windows">APIW</a></li> <li><a href="/wiki/Common_Language_Infrastructure" title="Common Language Infrastructure">Common Language Infrastructure</a></li> <li><a href="/wiki/Office_Open_XML" title="Office Open XML">Office Open XML</a></li> <li><a href="/wiki/Open_XML_Paper_Specification" title="Open XML Paper Specification">OpenXPS</a></li></ul> </div></td><td class="noviewer navbox-image" rowspan="7" style="width:1px;padding:0 0 0 2px"><div><span typeof="mw:File"><a href="/wiki/File:Ecma_International_Logo.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/0/04/Ecma_International_Logo.svg/100px-Ecma_International_Logo.svg.png" decoding="async" width="100" height="27" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/0/04/Ecma_International_Logo.svg/150px-Ecma_International_Logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/0/04/Ecma_International_Logo.svg/200px-Ecma_International_Logo.svg.png 2x" data-file-width="201" data-file-height="54" /></a></span></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">File systems (tape)</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Advanced_Intelligent_Tape" title="Advanced Intelligent Tape">Advanced Intelligent Tape</a></li> <li><a href="/wiki/Digital_Data_Storage" title="Digital Data Storage">DDS</a></li> <li><a href="/wiki/Digital_Linear_Tape" title="Digital Linear Tape">DLT</a></li> <li><a href="/wiki/Digital_Linear_Tape" title="Digital Linear Tape">Super DLT</a></li> <li><a href="/wiki/Linear_Tape-Open" title="Linear Tape-Open">Linear Tape-Open</a> (Ultrium-1)</li> <li><a href="/wiki/VXA" title="VXA">VXA</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">File systems (disk)</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/CD-ROM" title="CD-ROM">CD-ROM</a></li> <li><a href="/wiki/ISO_9660" title="ISO 9660">CD File System</a> (CDFS)</li> <li><a href="/wiki/File_Allocation_Table" title="File Allocation Table">FAT</a> <ul><li><a href="/wiki/FAT12" class="mw-redirect" title="FAT12">FAT12</a></li> <li><a href="/wiki/FAT16" class="mw-redirect" title="FAT16">FAT16</a></li> <li><a href="/wiki/FAT16B" class="mw-redirect" title="FAT16B">FAT16B</a></li></ul></li> <li><a href="/wiki/Floppy_disk" title="Floppy disk">FD</a></li> <li><a href="/wiki/Universal_Disk_Format" title="Universal Disk Format">UDF</a></li> <li><a href="/wiki/Ultra_Density_Optical" title="Ultra Density Optical">Ultra Density Optical</a></li> <li><a href="/wiki/Universal_Media_Disc" title="Universal Media Disc">Universal Media Disc</a></li> <li><a href="/wiki/Holographic_Versatile_Disc" title="Holographic Versatile Disc">Holographic Versatile Disc</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Graphics</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Universal_3D" title="Universal 3D">Universal 3D</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Programming languages</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/C%2B%2B/CLI" title="C++/CLI">C++/CLI</a></li> <li><a href="/wiki/C_Sharp_(programming_language)" title="C Sharp (programming language)">C#</a></li> <li><a href="/wiki/Eiffel_(programming_language)" title="Eiffel (programming language)">Eiffel</a></li> <li><a href="/wiki/JavaScript" title="JavaScript">JavaScript</a> (<a href="/wiki/ECMAScript_for_XML" title="ECMAScript for XML">E4X</a>, <a href="/wiki/ECMAScript" title="ECMAScript">ECMAScript</a>)</li> <li><a href="/wiki/Dart_(programming_language)" title="Dart (programming language)">Dart</a></li> <li><a href="/wiki/Minimal_BASIC" title="Minimal BASIC">Minimal BASIC</a></li> <li><a href="/wiki/Full_BASIC" title="Full BASIC">Full BASIC</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Radio link interfaces</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Near-field_communication" title="Near-field communication">NFC</a></li> <li><a href="/wiki/Ultra-wideband" title="Ultra-wideband">UWB</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Other</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/ISO/IEC_2022" title="ISO/IEC 2022">ECMA-35</a></li> <li><a href="/wiki/JSON" title="JSON">JSON</a></li></ul> </div></td></tr><tr><td class="navbox-abovebelow" colspan="3"><div><a href="/wiki/List_of_Ecma_standards" title="List of Ecma standards">List of Ecma standards</a> (1961 – present)</div></td></tr></tbody></table></div> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236075235"><style data-mw-deduplicate="TemplateStyles:r886047488">.mw-parser-output .nobold{font-weight:normal}</style></div><div role="navigation" class="navbox" aria-labelledby="ISO_standards_by_standard_number" style="padding:3px"><table class="nowraplinks hlist mw-collapsible mw-collapsed navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239400231"><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:ISO_standards" title="Template:ISO standards"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:ISO_standards" title="Template talk:ISO standards"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:ISO_standards" title="Special:EditPage/Template:ISO standards"><abbr title="Edit this template">e</abbr></a></li></ul></div><div id="ISO_standards_by_standard_number" style="font-size:114%;margin:0 4em"><a href="/wiki/International_Organization_for_Standardization" title="International Organization for Standardization">ISO</a> standards <span class="nobold">by standard number</span></div></th></tr><tr><td class="navbox-abovebelow" colspan="2"><div>List of <a href="/wiki/List_of_ISO_standards" title="List of ISO standards">ISO standards</a> – <a href="/wiki/List_of_ISO_romanizations" title="List of ISO romanizations">ISO romanizations</a> – <a href="/wiki/List_of_IEC_standards" title="List of IEC standards">IEC standards</a></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">1–9999</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/ISO_1" title="ISO 1">1</a></li> <li><a href="/wiki/ISO_2" title="ISO 2">2</a></li> <li><a href="/wiki/Renard_series" title="Renard series">3</a></li> <li><a href="/wiki/ISO_4" title="ISO 4">4</a></li> <li><a href="/wiki/Film_speed" title="Film speed">6</a></li> <li><a href="/wiki/British_Standard_Pipe" title="British Standard Pipe">7</a></li> <li><a href="/wiki/ISO_9" title="ISO 9">9</a></li> <li><a href="/wiki/A440_(pitch_standard)" title="A440 (pitch standard)">16</a></li> <li><a href="/wiki/Renard_series" title="Renard series">17</a></li> <li><a href="/wiki/ISO_31" title="ISO 31">31</a> <ul><li><a href="/wiki/ISO_31-0" title="ISO 31-0">-0</a></li> <li><a href="/wiki/ISO_31-1" title="ISO 31-1">-1</a></li> <li><a href="/wiki/ISO_31-3" title="ISO 31-3">-3</a></li> <li><a href="/wiki/ISO_31-4" title="ISO 31-4">-4</a></li> <li><a href="/wiki/ISO_31-5" title="ISO 31-5">-5</a></li> <li><a href="/wiki/ISO_31-6" title="ISO 31-6">-6</a></li> <li><a href="/wiki/ISO_31-7" title="ISO 31-7">-7</a></li> <li><a href="/wiki/ISO_31-8" title="ISO 31-8">-8</a></li> <li><a href="/wiki/ISO_31-9" class="mw-redirect" title="ISO 31-9">-9</a></li> <li><a href="/wiki/ISO_31-10" title="ISO 31-10">-10</a></li> <li><a href="/wiki/ISO_31-11" title="ISO 31-11">-11</a></li> <li><a href="/wiki/ISO_31-12" class="mw-redirect" title="ISO 31-12">-12</a></li> <li><a href="/wiki/ISO_31-13" class="mw-redirect" title="ISO 31-13">-13</a></li></ul></li> <li><a href="/wiki/ISO_metric_screw_thread" title="ISO metric screw thread">68-1</a></li> <li><a href="/wiki/ISO_128" title="ISO 128">128</a></li> <li><a href="/wiki/ISO_216" title="ISO 216">216</a></li> <li><a href="/wiki/ISO_217" title="ISO 217">217</a></li> <li><a href="/wiki/Equal-loudness_contour" title="Equal-loudness contour">226</a></li> <li><a href="/wiki/British_Standard_Pipe" title="British Standard Pipe">228</a></li> <li><a href="/wiki/ISO_233" title="ISO 233">233</a></li> <li><a href="/wiki/ISO_259" title="ISO 259">259</a></li> <li><a href="/wiki/ISO_metric_screw_thread" title="ISO metric screw thread">261</a></li> <li><a href="/wiki/ISO_metric_screw_thread" title="ISO metric screw thread">262</a></li> <li><a href="/wiki/Kappa_number" title="Kappa number">302</a></li> <li><a href="/wiki/Vicat_softening_point" title="Vicat softening point">306</a></li> <li><a href="/wiki/Hazard_symbol#Ionizing_radiation_symbol" title="Hazard symbol">361</a></li> <li><a href="/wiki/Power_take-off" title="Power take-off">500</a></li> <li><a href="/wiki/Hot_shoe" title="Hot shoe">518</a></li> <li><a href="/wiki/Prontor-Compur" title="Prontor-Compur">519</a></li> <li><a href="/wiki/ISO_639" title="ISO 639">639</a> <ul><li><a href="/wiki/ISO_639-1" title="ISO 639-1">-1</a></li> <li><a href="/wiki/ISO_639-2" title="ISO 639-2">-2</a></li> <li><a href="/wiki/ISO_639-3" title="ISO 639-3">-3</a></li> <li><a href="/wiki/ISO_639-5" title="ISO 639-5">-5</a></li> <li><a href="/wiki/ISO_639-6" title="ISO 639-6">-6</a></li></ul></li> <li><a href="/wiki/ISO/IEC_646" title="ISO/IEC 646">646</a></li> <li><a href="/wiki/ISO_657" title="ISO 657">657</a></li> <li><a href="/wiki/ISO_668" title="ISO 668">668</a></li> <li><a href="/wiki/ISO_690" title="ISO 690">690</a></li> <li><a href="/wiki/ISO_704" title="ISO 704">704</a></li> <li><a href="/wiki/ISO_732" title="ISO 732">732</a></li> <li><a href="/wiki/Antimagnetic_watch" title="Antimagnetic watch">764</a></li> <li><a href="/wiki/Hole_punch" title="Hole punch">838</a></li> <li><a href="/wiki/ISO_843" title="ISO 843">843</a></li> <li><a href="/wiki/ISO_860" title="ISO 860">860</a></li> <li><a href="/wiki/ISO_898" title="ISO 898">898</a></li> <li><a href="/wiki/ISO_965" title="ISO 965">965</a></li> <li><a href="/wiki/ISO_999" title="ISO 999">999</a></li> <li><a href="/wiki/ISO_1000" title="ISO 1000">1000</a></li> <li><a href="/wiki/Magnetic_ink_character_recognition" title="Magnetic ink character recognition">1004</a></li> <li><a href="/wiki/135_film" title="135 film">1007</a></li> <li><a href="/wiki/OCR-A" title="OCR-A">1073-1</a></li> <li><a href="/wiki/OCR-B" title="OCR-B">1073-2</a></li> <li><a href="/wiki/Longitudinal_redundancy_check" title="Longitudinal redundancy check">1155</a></li> <li><a href="/wiki/Shock-resistant_watch#ISO_1413_shock-resistant_standard" title="Shock-resistant watch">1413</a></li> <li><a href="/wiki/ALGOL_60" title="ALGOL 60">1538</a></li> <li><a href="/wiki/ISO_1629" title="ISO 1629">1629</a></li> <li><a href="/wiki/ISO_1745" title="ISO 1745">1745</a></li> <li><a href="/wiki/COBOL" title="COBOL">1989</a></li> <li><a href="/wiki/ISO_2014" title="ISO 2014">2014</a></li> <li><a href="/wiki/ISO_2015" title="ISO 2015">2015</a></li> <li><a href="/wiki/ISO/IEC_2022" title="ISO/IEC 2022">2022</a></li> <li><a href="/wiki/ISO_2033" title="ISO 2033">2033</a></li> <li><a href="/wiki/ISO_2047" title="ISO 2047">2047</a></li> <li><a href="/wiki/ISBN" title="ISBN">2108</a></li> <li><a href="/wiki/ISO_2145" title="ISO 2145">2145</a></li> <li><a href="/wiki/ISO_2146" title="ISO 2146">2146</a></li> <li><a href="/wiki/Film_speed" title="Film speed">2240</a></li> <li><a href="/wiki/Water_Resistant_mark" title="Water Resistant mark">2281</a></li> <li><a href="/wiki/International_Standard_Atmosphere" title="International Standard Atmosphere">2533</a></li> <li><a href="/wiki/ISO_2709" title="ISO 2709">2709</a></li> <li><a href="/wiki/ISO_2711" title="ISO 2711">2711</a></li> <li><a href="/wiki/Film_speed" title="Film speed">2720</a></li> <li><a href="/wiki/ISO_2788" title="ISO 2788">2788</a></li> <li><a href="/wiki/ISO_2848" title="ISO 2848">2848</a></li> <li><a href="/wiki/ISO_2852" title="ISO 2852">2852</a></li> <li><a href="/wiki/ISO_2921" title="ISO 2921">2921</a></li> <li><a href="/wiki/126_film" title="126 film">3029</a></li> <li><a href="/wiki/ISO_3103" title="ISO 3103">3103</a></li> <li><a href="/wiki/ISO_3166" title="ISO 3166">3166</a> <ul><li><a href="/wiki/ISO_3166-1" title="ISO 3166-1">-1</a></li> <li><a href="/wiki/ISO_3166-2" title="ISO 3166-2">-2</a></li> <li><a href="/wiki/ISO_3166-3" title="ISO 3166-3">-3</a></li></ul></li> <li><a href="/wiki/International_Standard_Serial_Number" class="mw-redirect" title="International Standard Serial Number">3297</a></li> <li><a href="/wiki/ISO_3307" title="ISO 3307">3307</a></li> <li><a href="/wiki/O-ring" title="O-ring">3601</a></li> <li><a href="/wiki/Kunrei-shiki_romanization" title="Kunrei-shiki romanization">3602</a></li> <li><a href="/wiki/ISO_3864" title="ISO 3864">3864</a></li> <li><a href="/wiki/International_Standard_Recording_Code" title="International Standard Recording Code">3901</a></li> <li><a href="/wiki/FDI_World_Dental_Federation_notation" title="FDI World Dental Federation notation">3950</a></li> <li><a href="/wiki/ISO_3977" title="ISO 3977">3977</a></li> <li><a href="/wiki/ISO_4031" title="ISO 4031">4031</a></li> <li><a href="/wiki/ISO_4157" title="ISO 4157">4157</a></li> <li><a href="/wiki/ISO_4165" title="ISO 4165">4165</a></li> <li><a href="/wiki/ISO_4217" title="ISO 4217">4217</a></li> <li><a href="/wiki/ISO/IEC_4909" title="ISO/IEC 4909">4909</a></li> <li><a href="/wiki/ISO/IEC_5218" title="ISO/IEC 5218">5218</a></li> <li><a href="/wiki/ISO_5426" title="ISO 5426">5426</a></li> <li><a href="/wiki/ISO_5427" title="ISO 5427">5427</a></li> <li><a href="/wiki/ISO_5428" title="ISO 5428">5428</a></li> <li><a href="/wiki/Accuracy_and_precision" title="Accuracy and precision">5725</a></li> <li><a href="/wiki/ISO_5775" title="ISO 5775">5775</a></li> <li><a href="/wiki/ISO_5776" title="ISO 5776">5776</a></li> <li><a href="/wiki/Film_speed" title="Film speed">5800</a></li> <li><a href="/wiki/Flowchart" title="Flowchart">5807</a></li> <li><a href="/wiki/ISO_5964" title="ISO 5964">5964</a></li> <li><a href="/wiki/International_Securities_Identification_Number" title="International Securities Identification Number">6166</a></li> <li><a href="/wiki/ISO_6344" title="ISO 6344">6344</a></li> <li><a href="/wiki/ISO_6346" title="ISO 6346">6346</a></li> <li><a href="/wiki/Minimal_BASIC" title="Minimal BASIC">6373</a></li> <li><a href="/wiki/ISO_6385" title="ISO 6385">6385</a></li> <li><a href="/wiki/Water_Resistant_mark" title="Water Resistant mark">6425</a></li> <li><a class="mw-selflink selflink">6429</a></li> <li><a href="/wiki/ISO_6438" title="ISO 6438">6438</a></li> <li><a href="/wiki/ISO/IEC_6523" title="ISO/IEC 6523">6523</a></li> <li><a href="/wiki/ISO_6709" title="ISO 6709">6709</a></li> <li><a href="/wiki/ISO_6943" title="ISO 6943">6943</a></li> <li><a href="/wiki/ISO_7001" title="ISO 7001">7001</a></li> <li><a href="/wiki/ISO_7002" title="ISO 7002">7002</a></li> <li><a href="/wiki/ISO_7010" title="ISO 7010">7010</a></li> <li><a href="/wiki/ISO_7027" title="ISO 7027">7027</a></li> <li><a href="/wiki/ISO/IEC_7064" title="ISO/IEC 7064">7064</a></li> <li><a href="/wiki/Pinyin" class="mw-redirect" title="Pinyin">7098</a></li> <li><a href="/wiki/Pascal_(programming_language)" title="Pascal (programming language)">7185</a></li> <li><a href="/wiki/ISO_7200" title="ISO 7200">7200</a></li> <li><a href="/wiki/OSI_model" title="OSI model">7498</a> <ul><li><a href="/wiki/OSI_model" title="OSI model">-1</a></li></ul></li> <li><a href="/wiki/ISO_7637" title="ISO 7637">7637</a></li> <li><a href="/wiki/ISO_7736" title="ISO 7736">7736</a></li> <li><a href="/wiki/ISO/IEC_7810" title="ISO/IEC 7810">7810</a></li> <li><a href="/wiki/ISO/IEC_7811" title="ISO/IEC 7811">7811</a></li> <li><a href="/wiki/ISO/IEC_7812" title="ISO/IEC 7812">7812</a></li> <li><a href="/wiki/ISO/IEC_7813" title="ISO/IEC 7813">7813</a></li> <li><a href="/wiki/ISO/IEC_7816" title="ISO/IEC 7816">7816</a></li> <li><a href="/wiki/Graphical_Kernel_System" title="Graphical Kernel System">7942</a></li> <li><a href="/wiki/ISO_8000" title="ISO 8000">8000</a></li> <li><a href="/wiki/On-board_diagnostics" title="On-board diagnostics">8093</a></li> <li><a href="/wiki/ISO_8178" title="ISO 8178">8178</a></li> <li><a href="/wiki/Fuel_oil" title="Fuel oil">8217</a></li> <li><a href="/wiki/ISO_8373" class="mw-redirect" title="ISO 8373">8373</a></li> <li><a href="/wiki/ISO_8501-1" title="ISO 8501-1">8501-1</a></li> <li><a href="/wiki/FTAM" title="FTAM">8571</a></li> <li><a href="/wiki/ISO_8583" title="ISO 8583">8583</a></li> <li><a href="/wiki/ISO_8601" title="ISO 8601">8601</a></li> <li><a href="/wiki/Open_Document_Architecture" title="Open Document Architecture">8613</a></li> <li><a href="/wiki/Computer_Graphics_Metafile" title="Computer Graphics Metafile">8632</a></li> <li><a href="/wiki/Graphical_Kernel_System" title="Graphical Kernel System">8651</a></li> <li><a href="/wiki/ISO/IEC_8652" title="ISO/IEC 8652">8652</a></li> <li><a href="/wiki/ISO_8691" title="ISO 8691">8691</a></li> <li><a href="/wiki/Graphical_Kernel_System" title="Graphical Kernel System">8805/8806</a></li> <li><a href="/wiki/Language_Of_Temporal_Ordering_Specification" class="mw-redirect" title="Language Of Temporal Ordering Specification">8807</a></li> <li><a href="/wiki/Fuse_(automotive)" class="mw-redirect" title="Fuse (automotive)">8820-5</a></li> <li><a href="/wiki/ISO/IEC_8859" title="ISO/IEC 8859">8859</a> <ul><li><a href="/wiki/ISO/IEC_8859-1" title="ISO/IEC 8859-1">-1</a></li> <li><a href="/wiki/ISO/IEC_8859-2" title="ISO/IEC 8859-2">-2</a></li> <li><a href="/wiki/ISO/IEC_8859-3" title="ISO/IEC 8859-3">-3</a></li> <li><a href="/wiki/ISO/IEC_8859-4" title="ISO/IEC 8859-4">-4</a></li> <li><a href="/wiki/ISO/IEC_8859-5" title="ISO/IEC 8859-5">-5</a></li> <li><a href="/wiki/ISO/IEC_8859-6" title="ISO/IEC 8859-6">-6</a></li> <li><a href="/wiki/ISO/IEC_8859-7" title="ISO/IEC 8859-7">-7</a></li> <li><a href="/wiki/ISO/IEC_8859-8" title="ISO/IEC 8859-8">-8</a></li> <li><a href="/wiki/ISO-8859-8-I" title="ISO-8859-8-I">-8-I</a></li> <li><a href="/wiki/ISO/IEC_8859-9" title="ISO/IEC 8859-9">-9</a></li> <li><a href="/wiki/ISO/IEC_8859-10" title="ISO/IEC 8859-10">-10</a></li> <li><a href="/wiki/ISO/IEC_8859-11" title="ISO/IEC 8859-11">-11</a></li> <li><a href="/wiki/ISO/IEC_8859-12" class="mw-redirect" title="ISO/IEC 8859-12">-12</a></li> <li><a href="/wiki/ISO/IEC_8859-13" title="ISO/IEC 8859-13">-13</a></li> <li><a href="/wiki/ISO/IEC_8859-14" title="ISO/IEC 8859-14">-14</a></li> <li><a href="/wiki/ISO/IEC_8859-15" title="ISO/IEC 8859-15">-15</a></li> <li><a href="/wiki/ISO/IEC_8859-16" title="ISO/IEC 8859-16">-16</a></li></ul></li> <li><a href="/wiki/Standard_Generalized_Markup_Language" title="Standard Generalized Markup Language">8879</a></li> <li><a href="/wiki/ISO_9000" class="mw-redirect" title="ISO 9000">9000/9001</a></li> <li><a href="/wiki/ASMO_449" title="ASMO 449">9036</a></li> <li><a href="/wiki/SQL" title="SQL">9075</a></li> <li><a href="/wiki/ISO/IEC_9126" title="ISO/IEC 9126">9126</a></li> <li><a href="/wiki/On-board_diagnostics" title="On-board diagnostics">9141</a></li> <li><a href="/wiki/Salt_spray_test" title="Salt spray test">9227</a></li> <li><a href="/wiki/ISO_9241" title="ISO 9241">9241</a></li> <li><a href="/wiki/File_Allocation_Table" title="File Allocation Table">9293</a></li> <li><a href="/wiki/Fiber_Distributed_Data_Interface" title="Fiber Distributed Data Interface">9314</a></li> <li><a href="/wiki/ISO_9362" title="ISO 9362">9362</a></li> <li><a href="/wiki/Shoe_size" title="Shoe size">9407</a></li> <li><a href="/wiki/CHILL" title="CHILL">9496</a></li> <li><a href="/wiki/Manufacturing_Message_Specification" title="Manufacturing Message Specification">9506</a></li> <li><a href="/wiki/ISO/IEC_9529" title="ISO/IEC 9529">9529</a></li> <li><a href="/wiki/ISO_9564" title="ISO 9564">9564</a></li> <li><a href="/wiki/PHIGS" title="PHIGS">9592/9593</a></li> <li><a href="/wiki/X.500" title="X.500">9594</a></li> <li><a href="/wiki/ISO_9660" title="ISO 9660">9660</a></li> <li><a href="/wiki/ISO/IEC_9797-1" title="ISO/IEC 9797-1">9797-1</a></li> <li><a href="/wiki/ISO_9897" title="ISO 9897">9897</a></li> <li><a href="/wiki/ANSI_C" title="ANSI C">9899</a></li> <li><a href="/wiki/POSIX" title="POSIX">9945</a></li> <li><a href="/wiki/Romanization_of_Georgian" title="Romanization of Georgian">9984</a></li> <li><a href="/wiki/Romanization_of_Armenian" title="Romanization of Armenian">9985</a></li> <li><a href="/wiki/ISO/IEC_9995" title="ISO/IEC 9995">9995</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">10000–19999</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/ISO_10006" title="ISO 10006">10006</a></li> <li><a href="/wiki/ISO_10007" title="ISO 10007">10007</a></li> <li><a href="/wiki/ISO/IEC_10116" title="ISO/IEC 10116">10116</a></li> <li><a href="/wiki/Whirlpool_(hash_function)" title="Whirlpool (hash function)">10118-3</a></li> <li><a href="/wiki/ISO_10160" title="ISO 10160">10160</a></li> <li><a href="/wiki/ISO_10161" title="ISO 10161">10161</a></li> <li><a href="/wiki/Guidelines_for_the_Definition_of_Managed_Objects" title="Guidelines for the Definition of Managed Objects">10165</a></li> <li><a href="/wiki/Document_Style_Semantics_and_Specification_Language" title="Document Style Semantics and Specification Language">10179</a></li> <li><a href="/wiki/Pascal_(programming_language)#ISO/IEC_10206:1990_Extended_Pascal" title="Pascal (programming language)">10206</a></li> <li><a href="/wiki/ISO_10218" title="ISO 10218">10218</a></li> <li><a href="/wiki/Full_BASIC" title="Full BASIC">10279</a></li> <li><a href="/wiki/ISO_10303" title="ISO 10303">10303</a> <ul><li><a href="/wiki/EXPRESS_(data_modeling_language)" title="EXPRESS (data modeling language)">-11</a></li> <li><a href="/wiki/ISO_10303-21" title="ISO 10303-21">-21</a></li> <li><a href="/wiki/ISO_10303-22" title="ISO 10303-22">-22</a></li> <li><a href="/wiki/ISO_10303-28" title="ISO 10303-28">-28</a></li> <li><a href="/wiki/STEP-NC" title="STEP-NC">-238</a></li></ul></li> <li><a href="/wiki/Market_Identifier_Code" title="Market Identifier Code">10383</a></li> <li><a href="/wiki/ArmSCII" title="ArmSCII">10585</a></li> <li><a href="/wiki/IS-IS" title="IS-IS">10589</a></li> <li><a href="/wiki/ISO_10628" title="ISO 10628">10628</a></li> <li><a href="/wiki/Universal_Coded_Character_Set" title="Universal Coded Character Set">10646</a></li> <li><a href="/wiki/Torx" title="Torx">10664</a></li> <li><a href="/wiki/RM-ODP" title="RM-ODP">10746</a></li> <li><a href="/wiki/Multibus" title="Multibus">10861</a></li> <li><a href="/wiki/International_Standard_Music_Number" title="International Standard Music Number">10957</a></li> <li><a href="/wiki/ISO_10962" title="ISO 10962">10962</a></li> <li><a href="/wiki/ISO/IEC_10967" title="ISO/IEC 10967">10967</a></li> <li><a href="/wiki/ISO/IEEE_11073" title="ISO/IEEE 11073">11073</a></li> <li><a href="/wiki/ISO_11170" title="ISO 11170">11170</a></li> <li><a href="/wiki/MPEG-1" title="MPEG-1">11172</a></li> <li><a href="/wiki/ISO/IEC_11179" title="ISO/IEC 11179">11179</a></li> <li><a href="/wiki/ISO/IEC_11404" title="ISO/IEC 11404">11404</a></li> <li><a href="/wiki/JBIG" title="JBIG">11544</a></li> <li><a href="/wiki/ISO_11783" title="ISO 11783">11783</a></li> <li><a href="/wiki/ISO_11784_and_ISO_11785" title="ISO 11784 and ISO 11785">11784</a></li> <li><a href="/wiki/ISO_11784_and_ISO_11785" title="ISO 11784 and ISO 11785">11785</a></li> <li><a href="/wiki/ISO/IEC_11801" title="ISO/IEC 11801">11801</a></li> <li><a href="/wiki/Trusted_Platform_Module" title="Trusted Platform Module">11889</a></li> <li><a href="/wiki/CAN_bus#CAN_lower-layer_standards" title="CAN bus">11898</a></li> <li><a href="/wiki/ISO_11940" title="ISO 11940">11940</a> (<a href="/wiki/ISO_11940-2" title="ISO 11940-2">-2</a>)</li> <li><a href="/wiki/ISO/TR_11941" title="ISO/TR 11941">11941</a></li> <li><a href="/wiki/ISO/TR_11941" title="ISO/TR 11941">11941 (TR)</a></li> <li><a href="/wiki/ISO_11992" title="ISO 11992">11992</a></li> <li><a href="/wiki/ISO_12006" title="ISO 12006">12006</a></li> <li><a href="/wiki/DICOM" title="DICOM">12052</a></li> <li><a href="/wiki/ISO/IEC_TR_12182" title="ISO/IEC TR 12182">12182</a></li> <li><a href="/wiki/ISO/IEC_12207" title="ISO/IEC 12207">12207</a></li> <li><a href="/wiki/TIFF/EP" title="TIFF/EP">12234-2</a></li> <li><a href="/wiki/Linguistic_categories#ISO_12620_(ISO_TC37_Data_Category_Registry,_ISOcat)" title="Linguistic categories">12620</a></li> <li><a href="/wiki/Prolog" title="Prolog">13211</a> <ul><li><a href="/wiki/Prolog" title="Prolog">-1</a></li> <li><a href="/wiki/Prolog" title="Prolog">-2</a></li></ul></li> <li><a href="/wiki/Isofix" title="Isofix">13216</a></li> <li><a href="/wiki/Topic_map" title="Topic map">13250</a></li> <li><a href="/wiki/ISO_13399" title="ISO 13399">13399</a></li> <li><a href="/wiki/ISO_13406-2" title="ISO 13406-2">13406-2</a></li> <li><a href="/wiki/110_film" title="110 film">13450</a></li> <li><a href="/wiki/ISO_13485" title="ISO 13485">13485</a></li> <li><a href="/wiki/ISO_13490" title="ISO 13490">13490</a></li> <li><a href="/wiki/ISO_13567" title="ISO 13567">13567</a></li> <li><a href="/wiki/Z_notation" title="Z notation">13568</a></li> <li><a href="/wiki/ISO_13584" title="ISO 13584">13584</a></li> <li><a href="/wiki/International_Bank_Account_Number" title="International Bank Account Number">13616</a></li> <li><a href="/wiki/ISLISP" title="ISLISP">13816</a></li> <li><a href="/wiki/MPEG-2" title="MPEG-2">13818</a></li> <li><a href="/wiki/ISO_14000" class="mw-redirect" title="ISO 14000">14000</a></li> <li><a href="/wiki/ISO_14031" title="ISO 14031">14031</a></li> <li><a href="/wiki/ISO_14224" title="ISO 14224">14224</a></li> <li><a href="/wiki/PDF/UA" title="PDF/UA">14289</a></li> <li><a href="/wiki/Horsepower" title="Horsepower">14396</a></li> <li><a href="/wiki/ISO/IEC_14443" title="ISO/IEC 14443">14443</a></li> <li><a href="/wiki/MPEG-4" title="MPEG-4">14496</a> <ul><li><a href="/wiki/MPEG-4_Part_2" title="MPEG-4 Part 2">-2</a></li> <li><a href="/wiki/MPEG-4_Part_3" title="MPEG-4 Part 3">-3</a></li> <li><a href="/wiki/Delivery_Multimedia_Integration_Framework" title="Delivery Multimedia Integration Framework">-6</a></li> <li><a href="/wiki/Advanced_Video_Coding" title="Advanced Video Coding">-10</a></li> <li><a href="/wiki/MPEG-4_Part_11" title="MPEG-4 Part 11">-11</a></li> <li><a href="/wiki/ISO_base_media_file_format" title="ISO base media file format">-12</a></li> <li><a href="/wiki/MP4_file_format" title="MP4 file format">-14</a></li> <li><a href="/wiki/MP4_file_format" title="MP4 file format">-17</a></li> <li><a href="/wiki/MP4_file_format" title="MP4 file format">-20</a></li></ul></li> <li><a href="/wiki/ISO_14617" title="ISO 14617">14617</a></li> <li><a href="/wiki/ISO_14644" title="ISO 14644">14644</a></li> <li><a href="/wiki/STEP-NC" title="STEP-NC">14649</a></li> <li><a href="/wiki/ISO/IEC_14651" title="ISO/IEC 14651">14651</a></li> <li><a href="/wiki/ISO_14698" title="ISO 14698">14698</a></li> <li><a href="/wiki/Software_maintenance" title="Software maintenance">14764</a></li> <li><a href="/wiki/C%2B%2B" title="C++">14882</a></li> <li><a href="/wiki/ISO_14971" title="ISO 14971">14971</a></li> <li><a href="/wiki/ISO_15022" title="ISO 15022">15022</a></li> <li><a href="/wiki/ISO_15189" title="ISO 15189">15189</a></li> <li><a href="/wiki/ISO/IEC_15288" title="ISO/IEC 15288">15288</a></li> <li><a href="/wiki/Ada_Semantic_Interface_Specification" title="Ada Semantic Interface Specification">15291</a></li> <li><a href="/wiki/ISO_15398" title="ISO 15398">15398</a></li> <li><a href="/wiki/Common_Criteria" title="Common Criteria">15408</a></li> <li><a href="/wiki/JPEG_2000" title="JPEG 2000">15444</a> <ul><li><a href="/wiki/Motion_JPEG_2000" title="Motion JPEG 2000">-3</a></li> <li><a href="/wiki/JPIP" title="JPIP">-9</a></li></ul></li> <li><a href="/wiki/HTML" title="HTML">15445</a></li> <li><a href="/wiki/PDF417" title="PDF417">15438</a></li> <li><a href="/wiki/ISO/IEC_15504" title="ISO/IEC 15504">15504</a></li> <li><a href="/wiki/International_Standard_Identifier_for_Libraries_and_Related_Organizations" title="International Standard Identifier for Libraries and Related Organizations">15511</a></li> <li><a href="/wiki/ISO_15686" title="ISO 15686">15686</a></li> <li><a href="/wiki/ISO/IEC_15693" title="ISO/IEC 15693">15693</a></li> <li><a href="/wiki/International_Standard_Audiovisual_Number" title="International Standard Audiovisual Number">15706</a> <ul><li><a href="/wiki/International_Standard_Audiovisual_Number" title="International Standard Audiovisual Number">-2</a></li></ul></li> <li><a href="/wiki/International_Standard_Musical_Work_Code" title="International Standard Musical Work Code">15707</a></li> <li><a href="/wiki/ISO/IEC_15897" title="ISO/IEC 15897">15897</a></li> <li><a href="/wiki/ISO_15919" title="ISO 15919">15919</a></li> <li><a href="/wiki/ISO_15924" title="ISO 15924">15924</a></li> <li><a href="/wiki/ISO_15926" title="ISO 15926">15926</a></li> <li><a href="/wiki/ISO_15926_WIP" title="ISO 15926 WIP">15926 WIP</a></li> <li><a href="/wiki/PDF/X" title="PDF/X">15930</a></li> <li><a href="/wiki/MPEG-7" title="MPEG-7">15938</a></li> <li><a href="/wiki/MaxiCode" title="MaxiCode">16023</a></li> <li><a href="/wiki/ECMAScript" title="ECMAScript">16262</a></li> <li><a href="/wiki/Quality_function_deployment" title="Quality function deployment">16355-1</a></li> <li><a href="/wiki/Mixed_raster_content" title="Mixed raster content">16485</a></li> <li><a href="/wiki/PDF/VT" title="PDF/VT">16612-2</a></li> <li><a href="/wiki/ISO_16750" title="ISO 16750">16750</a></li> <li><a href="/wiki/IATF_16949" title="IATF 16949">16949 (TS)</a></li> <li><a href="/wiki/ISO/IEC_17024" title="ISO/IEC 17024">17024</a></li> <li><a href="/wiki/ISO/IEC_17025" title="ISO/IEC 17025">17025</a></li> <li><a href="/wiki/ISO_17100" title="ISO 17100">17100</a></li> <li><a href="/wiki/Open_Virtualization_Format" title="Open Virtualization Format">17203</a></li> <li><a href="/wiki/SDMX" title="SDMX">17369</a></li> <li><a href="/wiki/Legal_Entity_Identifier" title="Legal Entity Identifier">17442</a></li> <li><a href="/wiki/COLLADA" title="COLLADA">17506</a></li> <li><a href="/wiki/ISO/IEC_27002" title="ISO/IEC 27002">17799</a></li> <li><a href="/wiki/QR_code" title="QR code">18004</a></li> <li><a href="/wiki/ISO/IEC_18014" title="ISO/IEC 18014">18014</a></li> <li><a href="/wiki/JPEG_XL" title="JPEG XL">18181</a></li> <li><a href="/wiki/ISO_18245" title="ISO 18245">18245</a></li> <li><a href="/wiki/Process_Specification_Language" title="Process Specification Language">18629</a></li> <li><a href="/wiki/Photographic_Activity_Test" title="Photographic Activity Test">18916</a></li> <li><a href="/wiki/PDF/A" title="PDF/A">19005</a></li> <li><a href="/wiki/ISO_19011" title="ISO 19011">19011</a></li> <li><a href="/wiki/ISO_19092-1" class="mw-redirect" title="ISO 19092-1">19092</a> <ul><li><a href="/wiki/ISO_19092-1" class="mw-redirect" title="ISO 19092-1">-1</a></li> <li><a href="/wiki/ISO_19092-2" class="mw-redirect" title="ISO 19092-2">-2</a></li></ul></li> <li><a href="/wiki/ISO_19114" title="ISO 19114">19114</a></li> <li><a href="/wiki/Geospatial_metadata#ISO_19115:_Geographic_information_–_Metadata" title="Geospatial metadata">19115</a></li> <li><a href="/wiki/Simple_Features" title="Simple Features">19125</a></li> <li><a href="/wiki/Geography_Markup_Language#ISO_19136" title="Geography Markup Language">19136</a></li> <li><a href="/wiki/Shoe_size" title="Shoe size">19407</a></li> <li><a href="/wiki/ISO_19439" title="ISO 19439">19439</a></li> <li><a href="/wiki/Common_Object_Request_Broker_Architecture" title="Common Object Request Broker Architecture">19500</a></li> <li><a href="/wiki/Unified_Modeling_Language" title="Unified Modeling Language">19501</a></li> <li><a href="/wiki/Meta-Object_Facility" title="Meta-Object Facility">19502</a></li> <li><a href="/wiki/XML_Metadata_Interchange" title="XML Metadata Interchange">19503</a></li> <li><a href="/wiki/Unified_Modeling_Language" title="Unified Modeling Language">19505</a></li> <li><a href="/wiki/Knowledge_Discovery_Metamodel" title="Knowledge Discovery Metamodel">19506</a></li> <li><a href="/wiki/Object_Constraint_Language" title="Object Constraint Language">19507</a></li> <li><a href="/wiki/Meta-Object_Facility" title="Meta-Object Facility">19508</a></li> <li><a href="/wiki/XML_Metadata_Interchange" title="XML Metadata Interchange">19509</a></li> <li><a href="/wiki/Business_Process_Model_and_Notation" title="Business Process Model and Notation">19510</a></li> <li><a href="/wiki/ISO_19600" title="ISO 19600">19600</a></li> <li><a href="/wiki/ISO/IEC_19752" title="ISO/IEC 19752">19752</a></li> <li><a href="/wiki/RELAX_NG" title="RELAX NG">19757</a></li> <li><a href="/wiki/ISO/IEC_19770" title="ISO/IEC 19770">19770</a></li> <li><a href="/wiki/X3D" title="X3D">19775-1</a></li> <li><a href="/wiki/ISO/IEC_19794-5" title="ISO/IEC 19794-5">19794-5</a></li> <li><a href="/wiki/Cloud_Infrastructure_Management_Interface" title="Cloud Infrastructure Management Interface">19831</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">20000–29999</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/ISO/IEC_20000" title="ISO/IEC 20000">20000</a></li> <li><a href="/wiki/ISO_20022" title="ISO 20022">20022</a></li> <li><a href="/wiki/ISO_20121" title="ISO 20121">20121</a></li> <li><a href="/wiki/ISO_20400" title="ISO 20400">20400</a></li> <li><a href="/wiki/Open_Data_Protocol" title="Open Data Protocol">20802</a></li> <li><a href="/wiki/Han_Xin_code" title="Han Xin code">20830</a></li> <li><a href="/wiki/MPEG-21" title="MPEG-21">21000</a></li> <li><a href="/wiki/ISO_21001" title="ISO 21001">21001</a></li> <li><a href="/wiki/International_Standard_Text_Code" title="International Standard Text Code">21047</a></li> <li><a href="/wiki/JPEG_XS" title="JPEG XS">21122</a></li> <li><a href="/wiki/ISO_21500" title="ISO 21500">21500</a></li> <li><a href="/wiki/ISO/IEC_21827" title="ISO/IEC 21827">21827</a></li> <li><a href="/wiki/ISO_22000" title="ISO 22000">22000</a></li> <li><a href="/wiki/ECMAScript" title="ECMAScript">22275</a></li> <li><a href="/wiki/ISO_22300" title="ISO 22300">22300</a></li> <li><a href="/wiki/ISO_22301" title="ISO 22301">22301</a></li> <li><a href="/wiki/ISO_22395" title="ISO 22395">22395</a></li> <li><a href="/wiki/ECMAScript_for_XML" title="ECMAScript for XML">22537</a></li> <li><a href="/wiki/MPEG-A" title="MPEG-A">23000</a></li> <li><a href="/wiki/MPEG-D" title="MPEG-D">23003</a></li> <li><a href="/wiki/MPEG-H" title="MPEG-H">23008</a></li> <li><a href="/wiki/Dynamic_Adaptive_Streaming_over_HTTP" title="Dynamic Adaptive Streaming over HTTP">23009</a></li> <li><a href="/wiki/Versatile_Video_Coding" title="Versatile Video Coding">23090-3</a></li> <li><a href="/wiki/MPEG-G" title="MPEG-G">23092</a></li> <li><a href="/wiki/Essential_Video_Coding" title="Essential Video Coding">23094-1</a></li> <li><a href="/wiki/LCEVC" title="LCEVC">23094-2</a></li> <li><a href="/wiki/C_Sharp_(programming_language)" title="C Sharp (programming language)">23270</a></li> <li><a href="/wiki/Common_Language_Infrastructure" title="Common Language Infrastructure">23271</a></li> <li><a href="/wiki/Linux_Standard_Base" title="Linux Standard Base">23360</a></li> <li><a href="/wiki/Rectangular_Micro_QR_Code" title="Rectangular Micro QR Code">23941</a></li> <li><a href="/wiki/PDF/E" title="PDF/E">24517</a></li> <li><a href="/wiki/Lexical_Markup_Framework" title="Lexical Markup Framework">24613</a></li> <li><a href="/wiki/ISO-TimeML" title="ISO-TimeML">24617</a></li> <li><a href="/wiki/Common_Logic" title="Common Logic">24707</a></li> <li><a href="/wiki/MicroPDF417" title="MicroPDF417">24728</a></li> <li><a href="/wiki/ISO_25178" title="ISO 25178">25178</a></li> <li><a href="/wiki/ISO_25964" title="ISO 25964">25964</a></li> <li><a href="/wiki/ISO_26000" title="ISO 26000">26000</a></li> <li><a href="/wiki/ISO_26262" title="ISO 26262">26262</a></li> <li><a href="/wiki/OpenDocument" title="OpenDocument">26300</a></li> <li><a href="/wiki/Digital_object_identifier" title="Digital object identifier">26324</a></li> <li><a href="/wiki/ISO/IEC_27000-series" class="mw-redirect" title="ISO/IEC 27000-series">27000 series</a></li> <li><a href="/wiki/ISO/IEC_27000" title="ISO/IEC 27000">27000</a></li> <li><a href="/wiki/ISO/IEC_27001" title="ISO/IEC 27001">27001</a></li> <li><a href="/wiki/ISO/IEC_27002" title="ISO/IEC 27002">27002</a></li> <li><a href="/wiki/ISO/IEC_27005" title="ISO/IEC 27005">27005</a></li> <li><a href="/wiki/ISO/IEC_27006" title="ISO/IEC 27006">27006</a></li> <li><a href="/wiki/International_Standard_Name_Identifier" title="International Standard Name Identifier">27729</a></li> <li><a href="/wiki/ISO_28000" title="ISO 28000">28000</a></li> <li>29110</li> <li><a href="/wiki/Requirements_engineering" title="Requirements engineering">29148</a></li> <li><a href="/wiki/JPEG_XR" title="JPEG XR">29199-2</a></li> <li><a href="/wiki/Office_Open_XML" title="Office Open XML">29500</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">30000+</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Ruby_(programming_language)" title="Ruby (programming language)">30170</a></li> <li><a href="/wiki/ISO_31000" title="ISO 31000">31000</a></li> <li><a href="/wiki/PDF" title="PDF">32000</a></li> <li><a href="/wiki/ISO_37001" title="ISO 37001">37001</a></li> <li><a href="/wiki/ISO/IEC_38500" title="ISO/IEC 38500">38500</a></li> <li><a href="/wiki/Graph_Query_Language" title="Graph Query Language">39075</a></li> <li><a href="/wiki/Web_Content_Accessibility_Guidelines" title="Web Content Accessibility Guidelines">40500</a></li> <li><a href="/wiki/ISO/IEC_42010" title="ISO/IEC 42010">42010</a></li> <li><a href="/wiki/ISO_45001" title="ISO 45001">45001</a></li> <li><a href="/wiki/ISO_50001" title="ISO 50001">50001</a></li> <li><a href="/wiki/ISO_55000" title="ISO 55000">55000</a></li> <li><a href="/wiki/ISO_56000" title="ISO 56000">56000</a></li> <li><a href="/wiki/ISO/IEC_80000" title="ISO/IEC 80000">80000</a></li></ul> </div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div> <ul><li><span class="noviewer" typeof="mw:File"><span title="Category"><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/9/96/Symbol_category_class.svg/16px-Symbol_category_class.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/9/96/Symbol_category_class.svg/23px-Symbol_category_class.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/9/96/Symbol_category_class.svg/31px-Symbol_category_class.svg.png 2x" data-file-width="180" data-file-height="185" /></span></span> <a href="/wiki/Category:ISO_standards" title="Category:ISO standards">Category</a></li></ul> </div></td></tr></tbody></table></div> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236075235"></div><div role="navigation" class="navbox" aria-labelledby="IEC_standards" style="padding:3px"><table class="nowraplinks hlist mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239400231"><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:List_of_IEC_standards" title="Template:List of IEC standards"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:List_of_IEC_standards" title="Template talk:List of IEC standards"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:List_of_IEC_standards" title="Special:EditPage/Template:List of IEC standards"><abbr title="Edit this template">e</abbr></a></li></ul></div><div id="IEC_standards" style="font-size:114%;margin:0 4em"><a href="/wiki/List_of_IEC_standards" title="List of IEC standards">IEC standards</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">IEC</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/IEC_60027" title="IEC 60027">60027</a></li> <li><a href="/wiki/IEC_60034" title="IEC 60034">60034</a></li> <li><a href="/wiki/IEC_60038" title="IEC 60038">60038</a></li> <li><a href="/wiki/RKM_code" title="RKM code">60062</a></li> <li><a href="/wiki/E_series_of_preferred_numbers" title="E series of preferred numbers">60063</a></li> <li><a href="/wiki/IEC_60068" title="IEC 60068">60068</a></li> <li><a href="/wiki/Comparative_Tracking_Index" title="Comparative Tracking Index">60112</a></li> <li><a href="/wiki/IEC_60228" title="IEC 60228">60228</a></li> <li><a href="/wiki/IEC_60269" title="IEC 60269">60269</a></li> <li><a href="/wiki/19-inch_rack" title="19-inch rack">60297</a></li> <li><a href="/wiki/IEC_60309" title="IEC 60309">60309</a></li> <li><a href="/wiki/IEC_60320" title="IEC 60320">60320</a></li> <li><a href="/wiki/IEC_60364" title="IEC 60364">60364</a></li> <li><a href="/wiki/IEC_60446" title="IEC 60446">60446</a></li> <li><a href="/wiki/IEEE_754" title="IEEE 754">60559</a></li> <li><a href="/wiki/IEC_60601" title="IEC 60601">60601</a></li> <li><a href="/wiki/IEC_60870" title="IEC 60870">60870</a> <ul><li><a href="/wiki/IEC_60870-5" title="IEC 60870-5">60870-5</a></li> <li><a href="/wiki/IEC_60870-6" title="IEC 60870-6">60870-6</a></li></ul></li> <li><a href="/wiki/IEC_60906-1" title="IEC 60906-1">60906-1</a></li> <li><a href="/wiki/Compact_Disc_Digital_Audio" title="Compact Disc Digital Audio">60908</a></li> <li><a href="/wiki/IEC_60929" title="IEC 60929">60929</a></li> <li><a href="/wiki/AES3" title="AES3">60958</a></li> <li><a href="/w/index.php?title=IEC_60980-344&action=edit&redlink=1" class="new" title="IEC 60980-344 (page does not exist)">60980-344</a></li> <li><a href="/wiki/IEC_61030" title="IEC 61030">61030</a></li> <li><a href="/wiki/IEC_61131" title="IEC 61131">61131</a> <ul><li><a href="/wiki/IEC_61131-3" title="IEC 61131-3">61131-3</a></li> <li><a href="/wiki/IO-Link" title="IO-Link">61131-9</a></li></ul></li> <li><a href="/wiki/Fieldbus" title="Fieldbus">61158</a></li> <li><a href="/wiki/IEC_61162" title="IEC 61162">61162</a></li> <li><a href="/wiki/IEC_61334" title="IEC 61334">61334</a></li> <li><a href="/wiki/IEC_61355" title="IEC 61355">61355</a></li> <li><a href="/wiki/IEC_61360" title="IEC 61360">61360</a></li> <li><a href="/wiki/IEC_61400" title="IEC 61400">61400</a></li> <li><a href="/wiki/IEC_61499" title="IEC 61499">61499</a></li> <li><a href="/wiki/IEC_61508" title="IEC 61508">61508</a></li> <li><a href="/wiki/IEC_61511" title="IEC 61511">61511</a></li> <li><a href="/wiki/Fieldbus" title="Fieldbus">61784</a></li> <li><a href="/wiki/IEC_61850" title="IEC 61850">61850</a></li> <li><a href="/wiki/IEC_61851" title="IEC 61851">61851</a></li> <li><a href="/wiki/IEC_61883" title="IEC 61883">61883</a></li> <li><a href="/wiki/Battery_nomenclature" title="Battery nomenclature">61960</a></li> <li><a href="/wiki/IEC_61968" title="IEC 61968">61968</a></li> <li><a href="/wiki/IEC_61970" title="IEC 61970">61970</a></li> <li><a href="/wiki/IP-XACT" title="IP-XACT">62014-4</a></li> <li><a href="/wiki/Fieldbus" title="Fieldbus">62026</a></li> <li><a href="/wiki/IEC_62056" title="IEC 62056">62056</a></li> <li><a href="/wiki/IEC_62061" title="IEC 62061">62061</a></li> <li><a href="/wiki/IEC_62196" title="IEC 62196">62196</a></li> <li><a href="/wiki/EN_62262" title="EN 62262">62262</a></li> <li><a href="/wiki/IEC_62264" title="IEC 62264">62264</a></li> <li><a href="/wiki/IEC_62304" title="IEC 62304">62304</a></li> <li><a href="/wiki/IEC_62325" title="IEC 62325">62325</a></li> <li><a href="/wiki/IEC_62351" title="IEC 62351">62351</a></li> <li><a href="/wiki/AES47" title="AES47">62365</a></li> <li><a href="/wiki/IEC_62366" title="IEC 62366">62366</a></li> <li><a href="/wiki/IEC_62379" title="IEC 62379">62379</a></li> <li><a href="/wiki/Digital_Addressable_Lighting_Interface" title="Digital Addressable Lighting Interface">62386</a></li> <li><a href="/wiki/IEC_62455" title="IEC 62455">62455</a></li> <li><a href="/wiki/USB" title="USB">62680</a></li> <li><a href="/wiki/IEC_62682" title="IEC 62682">62682</a></li> <li><a href="/wiki/IEC_62700" title="IEC 62700">62700</a></li> <li><a href="/wiki/IEC_63110" title="IEC 63110">63110</a></li> <li><a href="/wiki/IEC_63119" title="IEC 63119">63119</a></li> <li><a href="/wiki/IEC_63382" title="IEC 63382">63382</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">ISO/IEC</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/ISO/IEC_646" title="ISO/IEC 646">646</a></li> <li><a href="/wiki/COBOL" title="COBOL">1989</a></li> <li><a href="/wiki/ISO/IEC_2022" title="ISO/IEC 2022">2022</a></li> <li><a href="/wiki/ISO/IEC_4909" title="ISO/IEC 4909">4909</a></li> <li><a href="/wiki/ISO/IEC_5218" title="ISO/IEC 5218">5218</a></li> <li><a class="mw-selflink selflink">6429</a></li> <li><a href="/wiki/ISO/IEC_6523" title="ISO/IEC 6523">6523</a></li> <li><a href="/wiki/ISO/IEC_7810" title="ISO/IEC 7810">7810</a></li> <li><a href="/wiki/ISO/IEC_7811" title="ISO/IEC 7811">7811</a></li> <li><a href="/wiki/ISO/IEC_7812" title="ISO/IEC 7812">7812</a></li> <li><a href="/wiki/ISO/IEC_7813" title="ISO/IEC 7813">7813</a></li> <li><a href="/wiki/ISO/IEC_7816" title="ISO/IEC 7816">7816</a></li> <li><a href="/wiki/Graphical_Kernel_System" title="Graphical Kernel System">7942</a></li> <li><a href="/wiki/Open_Document_Architecture" title="Open Document Architecture">8613</a></li> <li><a href="/wiki/Computer_Graphics_Metafile" title="Computer Graphics Metafile">8632</a></li> <li><a href="/wiki/ISO/IEC_8652" title="ISO/IEC 8652">8652</a></li> <li><a href="/wiki/ISO/IEC_8859" title="ISO/IEC 8859">8859</a></li> <li><a href="/wiki/ISO/IEC_9126" title="ISO/IEC 9126">9126</a></li> <li><a href="/wiki/File_Allocation_Table" title="File Allocation Table">9293</a></li> <li><a href="/wiki/CHILL" title="CHILL">9496</a></li> <li><a href="/wiki/ISO/IEC_9529" title="ISO/IEC 9529">9529</a></li> <li><a href="/wiki/PHIGS" title="PHIGS">9592</a></li> <li><a href="/wiki/PHIGS" title="PHIGS">9593</a></li> <li><a href="/wiki/ANSI_C" title="ANSI C">9899</a></li> <li><a href="/wiki/POSIX" title="POSIX">9945</a></li> <li><a href="/wiki/ISO/IEC_9995" title="ISO/IEC 9995">9995</a></li> <li><a href="/wiki/ISO/IEC_10021" title="ISO/IEC 10021">10021</a></li> <li><a href="/wiki/ISO/IEC_10116" title="ISO/IEC 10116">10116</a></li> <li><a href="/wiki/Guidelines_for_the_Definition_of_Managed_Objects" title="Guidelines for the Definition of Managed Objects">10165</a></li> <li><a href="/wiki/Document_Style_Semantics_and_Specification_Language" title="Document Style Semantics and Specification Language">10179</a></li> <li><a href="/wiki/Full_BASIC" title="Full BASIC">10279</a></li> <li><a href="/wiki/Universal_Coded_Character_Set" title="Universal Coded Character Set">10646</a></li> <li><a href="/wiki/ISO/IEC_10967" title="ISO/IEC 10967">10967</a></li> <li><a href="/wiki/MPEG-1" title="MPEG-1">11172</a></li> <li><a href="/wiki/ISO/IEC_11179" title="ISO/IEC 11179">11179</a></li> <li><a href="/wiki/ISO/IEC_11404" title="ISO/IEC 11404">11404</a></li> <li><a href="/wiki/JBIG" title="JBIG">11544</a></li> <li><a href="/wiki/ISO/IEC_11801" title="ISO/IEC 11801">11801</a></li> <li><a href="/wiki/ISO/IEC_12207" title="ISO/IEC 12207">12207</a></li> <li><a href="/wiki/Topic_map" title="Topic map">13250</a></li> <li><a href="/wiki/Universal_Disk_Format" title="Universal Disk Format">13346</a></li> <li><a href="/wiki/MHEG-5" title="MHEG-5">13522-5</a></li> <li><a href="/wiki/Z_notation" title="Z notation">13568</a></li> <li><a href="/wiki/ISLISP" title="ISLISP">13816</a></li> <li><a href="/wiki/MPEG-2" title="MPEG-2">13818</a></li> <li><a href="/wiki/ISO/IEC_14443" title="ISO/IEC 14443">14443</a></li> <li><a href="/wiki/MPEG-4" title="MPEG-4">14496</a></li> <li><a href="/wiki/ISO/IEC_14651" title="ISO/IEC 14651">14651</a></li> <li><a href="/wiki/C%2B%2B" title="C++">14882</a></li> <li><a href="/wiki/ISO/IEC_15288" title="ISO/IEC 15288">15288</a></li> <li><a href="/wiki/Ada_Semantic_Interface_Specification" title="Ada Semantic Interface Specification">15291</a></li> <li><a href="/wiki/Common_Criteria" title="Common Criteria">15408</a></li> <li><a href="/wiki/JPEG_2000" title="JPEG 2000">15444</a></li> <li><a href="/wiki/HTML" title="HTML">15445</a></li> <li><a href="/wiki/ISO/IEC_15504" title="ISO/IEC 15504">15504</a></li> <li><a href="/wiki/International_Standard_Identifier_for_Libraries_and_Related_Organizations" title="International Standard Identifier for Libraries and Related Organizations">15511</a></li> <li><a href="/wiki/ISO/IEC_15693" title="ISO/IEC 15693">15693</a></li> <li><a href="/wiki/ISO/IEC_15897" title="ISO/IEC 15897">15897</a></li> <li><a href="/wiki/MPEG-7" title="MPEG-7">15938</a></li> <li><a href="/wiki/ECMAScript" title="ECMAScript">16262</a></li> <li><a href="/wiki/Mixed_raster_content" title="Mixed raster content">16485</a></li> <li><a href="/wiki/ISO/IEC_17024" title="ISO/IEC 17024">17024</a></li> <li><a href="/wiki/ISO/IEC_17025" title="ISO/IEC 17025">17025</a></li> <li><a href="/wiki/QR_code" title="QR code">18004</a></li> <li><a href="/wiki/ISO/IEC_18014" title="ISO/IEC 18014">18014</a></li> <li><a href="/wiki/JPEG_XL" title="JPEG XL">18181</a></li> <li><a href="/wiki/ISO/IEC_19752" title="ISO/IEC 19752">19752</a></li> <li><a href="/wiki/RELAX_NG" title="RELAX NG">19757</a></li> <li><a href="/wiki/ISO/IEC_19770" title="ISO/IEC 19770">19770</a></li> <li><a href="/wiki/ISO/IEC_19788" title="ISO/IEC 19788">19788</a></li> <li><a href="/wiki/ISO/IEC_20000" title="ISO/IEC 20000">20000</a></li> <li><a href="/wiki/Open_Data_Protocol" title="Open Data Protocol">20802</a></li> <li><a href="/wiki/MPEG-21" title="MPEG-21">21000</a></li> <li><a href="/wiki/ISO/IEC_21827" title="ISO/IEC 21827">21827</a></li> <li><a href="/wiki/ECMAScript" title="ECMAScript">22275</a></li> <li><a href="/wiki/ECMAScript_for_XML" title="ECMAScript for XML">22537</a></li> <li><a href="/wiki/MPEG-A" title="MPEG-A">23000</a></li> <li><a href="/wiki/MPEG-D" title="MPEG-D">23003</a></li> <li><a href="/wiki/MPEG-H" title="MPEG-H">23008</a></li> <li><a href="/wiki/C_Sharp_(programming_language)" title="C Sharp (programming language)">23270</a></li> <li><a href="/wiki/Linux_Standard_Base" title="Linux Standard Base">23360</a></li> <li><a href="/wiki/Common_Logic" title="Common Logic">24707</a></li> <li><a href="/wiki/ISO/IEC_24727" title="ISO/IEC 24727">24727</a></li> <li><a href="/wiki/ISO/IEC_24744" title="ISO/IEC 24744">24744</a></li> <li><a href="/wiki/Universal_Remote_Console" title="Universal Remote Console">24752</a></li> <li><a href="/wiki/OpenDocument" title="OpenDocument">26300</a></li> <li><a href="/wiki/ISO/IEC_27000" title="ISO/IEC 27000">27000</a></li> <li><a href="/wiki/ISO/IEC_27000-series" class="mw-redirect" title="ISO/IEC 27000-series">27000-series</a></li> <li><a href="/wiki/ISO/IEC_27002" title="ISO/IEC 27002">27002</a></li> <li><a href="/wiki/ISO/IEC_27040" title="ISO/IEC 27040">27040</a></li> <li>29110</li> <li><a href="/wiki/ISO/IEC_29119" title="ISO/IEC 29119">29119</a></li> <li><a href="/wiki/ISO/IEC_33001" title="ISO/IEC 33001">33001</a></li> <li><a href="/wiki/ISO/IEC_38500" title="ISO/IEC 38500">38500</a></li> <li><a href="/wiki/Graph_Query_Language" title="Graph Query Language">39075</a></li> <li><a href="/wiki/ISO/IEC_42010" title="ISO/IEC 42010">42010</a></li> <li><a href="/wiki/ISO/IEC_80000" title="ISO/IEC 80000">80000</a></li> <li><a href="/wiki/IEC_81346" title="IEC 81346">81346</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Related</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/International_Electrotechnical_Commission" title="International Electrotechnical Commission">International Electrotechnical Commission</a></li></ul> </div></td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐f69cdc8f6‐6lc9b Cached time: 20241122140522 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 1.793 seconds Real time usage: 2.214 seconds Preprocessor visited node count: 21050/1000000 Post‐expand include size: 299187/2097152 bytes Template argument size: 23708/2097152 bytes Highest expansion depth: 17/100 Expensive parser function count: 114/500 Unstrip recursion depth: 1/20 Unstrip post‐expand size: 306174/5000000 bytes Lua time usage: 0.761/10.000 seconds Lua memory usage: 8442476/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 1806.112 1 -total 24.00% 433.394 2 Template:Reflist 17.94% 324.025 53 Template:Cite_web 11.70% 211.292 97 Template:Code 9.92% 179.228 24 Template:Rp 9.19% 165.936 24 Template:R/superscript 8.94% 161.385 1 Template:Infobox_character_encoding 8.54% 154.332 1 Template:Infobox 8.46% 152.744 1 Template:Short_description 6.35% 114.598 9 Template:Fix --> <!-- Saved in parser cache with key enwiki:pcache:idhash:65930-0!canonical and timestamp 20241122140522 and revision id 1258142553. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://en.wikipedia.org/w/index.php?title=ANSI_escape_code&oldid=1258142553">https://en.wikipedia.org/w/index.php?title=ANSI_escape_code&oldid=1258142553</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Help:Category" title="Help:Category">Categories</a>: <ul><li><a href="/wiki/Category:Computer_standards" title="Category:Computer standards">Computer standards</a></li><li><a href="/wiki/Category:Ecma_standards" title="Category:Ecma standards">Ecma standards</a></li><li><a href="/wiki/Category:American_National_Standards_Institute_standards" title="Category:American National Standards Institute standards">American National Standards Institute standards</a></li><li><a href="/wiki/Category:ISO_standards" title="Category:ISO standards">ISO standards</a></li><li><a href="/wiki/Category:Text_user_interface" title="Category:Text user interface">Text user interface</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden categories: <ul><li><a href="/wiki/Category:All_articles_with_dead_external_links" title="Category:All articles with dead external links">All articles with dead external links</a></li><li><a href="/wiki/Category:Articles_with_dead_external_links_from_June_2020" title="Category:Articles with dead external links from June 2020">Articles with dead external links from June 2020</a></li><li><a href="/wiki/Category:Articles_with_permanently_dead_external_links" title="Category:Articles with permanently dead external links">Articles with permanently dead external links</a></li><li><a href="/wiki/Category:Articles_with_short_description" title="Category:Articles with short description">Articles with short description</a></li><li><a href="/wiki/Category:Short_description_is_different_from_Wikidata" title="Category:Short description is different from Wikidata">Short description is different from Wikidata</a></li><li><a href="/wiki/Category:Use_dmy_dates_from_May_2021" title="Category:Use dmy dates from May 2021">Use dmy dates from May 2021</a></li><li><a href="/wiki/Category:All_articles_with_unsourced_statements" title="Category:All articles with unsourced statements">All articles with unsourced statements</a></li><li><a href="/wiki/Category:Articles_with_unsourced_statements_from_November_2023" title="Category:Articles with unsourced statements from November 2023">Articles with unsourced statements from November 2023</a></li><li><a href="/wiki/Category:Articles_with_unsourced_statements_from_July_2015" title="Category:Articles with unsourced statements from July 2015">Articles with unsourced statements from July 2015</a></li><li><a href="/wiki/Category:All_articles_lacking_reliable_references" title="Category:All articles lacking reliable references">All articles lacking reliable references</a></li><li><a href="/wiki/Category:Articles_lacking_reliable_references_from_June_2020" title="Category:Articles lacking reliable references from June 2020">Articles lacking reliable references from June 2020</a></li><li><a href="/wiki/Category:All_accuracy_disputes" title="Category:All accuracy disputes">All accuracy disputes</a></li><li><a href="/wiki/Category:Articles_with_disputed_statements_from_April_2023" title="Category:Articles with disputed statements from April 2023">Articles with disputed statements from April 2023</a></li><li><a href="/wiki/Category:Articles_with_unsourced_statements_from_September_2013" title="Category:Articles with unsourced statements from September 2013">Articles with unsourced statements from September 2013</a></li><li><a href="/wiki/Category:Articles_with_unsourced_statements_from_February_2022" title="Category:Articles with unsourced statements from February 2022">Articles with unsourced statements from February 2022</a></li><li><a href="/wiki/Category:Articles_with_unsourced_statements_from_January_2017" title="Category:Articles with unsourced statements from January 2017">Articles with unsourced statements from January 2017</a></li><li><a href="/wiki/Category:Articles_needing_additional_references_from_October_2023" title="Category:Articles needing additional references from October 2023">Articles needing additional references from October 2023</a></li><li><a href="/wiki/Category:All_articles_needing_additional_references" title="Category:All articles needing additional references">All articles needing additional references</a></li><li><a href="/wiki/Category:Articles_with_unsourced_statements_from_December_2010" title="Category:Articles with unsourced statements from December 2010">Articles with unsourced statements from December 2010</a></li><li><a href="/wiki/Category:Wikipedia_articles_needing_clarification_from_November_2010" title="Category:Wikipedia articles needing clarification from November 2010">Wikipedia articles needing clarification from November 2010</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 18 November 2024, at 09:30<span class="anonymous-show"> (UTC)</span>.</li> <li id="footer-info-copyright">Text is available under the <a href="/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License" title="Wikipedia:Text of the Creative Commons Attribution-ShareAlike 4.0 International License">Creative Commons Attribution-ShareAlike 4.0 License</a>; additional terms may apply. By using this site, you agree to the <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" class="extiw" title="foundation:Special:MyLanguage/Policy:Terms of Use">Terms of Use</a> and <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" class="extiw" title="foundation:Special:MyLanguage/Policy:Privacy policy">Privacy Policy</a>. Wikipedia® is a registered trademark of the <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, a non-profit organization.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:About">About Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:General_disclaimer">Disclaimers</a></li> <li id="footer-places-contact"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us">Contact Wikipedia</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/en.wikipedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//en.m.wikipedia.org/w/index.php?title=ANSI_escape_code&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-f69cdc8f6-zlb24","wgBackendResponseTime":252,"wgPageParseReport":{"limitreport":{"cputime":"1.793","walltime":"2.214","ppvisitednodes":{"value":21050,"limit":1000000},"postexpandincludesize":{"value":299187,"limit":2097152},"templateargumentsize":{"value":23708,"limit":2097152},"expansiondepth":{"value":17,"limit":100},"expensivefunctioncount":{"value":114,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":306174,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 1806.112 1 -total"," 24.00% 433.394 2 Template:Reflist"," 17.94% 324.025 53 Template:Cite_web"," 11.70% 211.292 97 Template:Code"," 9.92% 179.228 24 Template:Rp"," 9.19% 165.936 24 Template:R/superscript"," 8.94% 161.385 1 Template:Infobox_character_encoding"," 8.54% 154.332 1 Template:Infobox"," 8.46% 152.744 1 Template:Short_description"," 6.35% 114.598 9 Template:Fix"]},"scribunto":{"limitreport-timeusage":{"value":"0.761","limit":"10.000"},"limitreport-memusage":{"value":8442476,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-f69cdc8f6-6lc9b","timestamp":"20241122140522","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"ANSI escape code","url":"https:\/\/en.wikipedia.org\/wiki\/ANSI_escape_code","sameAs":"http:\/\/www.wikidata.org\/entity\/Q760000","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q760000","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2002-07-30T05:24:56Z","dateModified":"2024-11-18T09:30:48Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/b\/b1\/Htop.png","headline":"method using in-band signaling to control the formatting, color, and other output options on video text terminals"}</script> </body> </html>