{"id":463,"date":"2011-04-17T22:45:04","date_gmt":"2011-04-18T02:45:04","guid":{"rendered":"http:\/\/www.aardwolf.com\/blog\/?p=463"},"modified":"2011-04-17T22:45:04","modified_gmt":"2011-04-18T02:45:04","slug":"256-xterm-color-mode","status":"publish","type":"post","link":"https:\/\/www.aardwolf.com\/blog\/2011\/04\/17\/256-xterm-color-mode\/","title":{"rendered":"Mud Clients &#8211; 256 Xterm Color Mode"},"content":{"rendered":"<pre>Syntax     : xterm              - Turn 256 color mode on\/off.\r\n             color 256          - See a table of the colors.\r\n             color raw256       - See table of colors with no mud parsing.<\/pre>\n<p>Aardwolf now supports Xterm 256 color mode. Whether or not you can see Xterm 256 color depends on your client. See the bottom of this helpfile for a brief list of clients known to work with 256 colors. A sample of the colors is below:<\/p>\n<p><center><img decoding=\"async\" src=\"http:\/\/www.aardwolf.com\/images\/mud-colors-256-xterm.jpg\" title=\"Aardwolf MUD - Xterm 256 color sample\" alt=\"Aardwolf MUD - Xterm 256 color sample\" \/><\/center><\/p>\n<p>Every xterm color has a corresponding &#8220;closest match&#8221; in ANSI so that players without xterm support are not affected.<\/p>\n<p>To use xterm colors use @x[color] where [color] is any number 0 &#8211; 255. The first 16 colors corresponding to their ANSI equivalents and colors 232 to 255 are varying levels of gray. An online chart of all 256 colors can be found at:<\/p>\n<p><center><a href='http:\/\/upload.wikimedia.org\/wikipedia\/commons\/9\/95\/Xterm_color_chart.png'>Wikipedia 256 color chart<\/a><\/center><\/p>\n<p>It is possible to use either @x020 or @x20 but the 3 character version is recommended to avoid conflicts with color codes followed by numbers that are part of the actual message.<\/p>\n<p>All codes from 0 to 255 can be used with @x but some colors considered too dark to display on the average screen will be automatically brightened. To see this, compare &#8216;color 256&#8217; to &#8216;color raw256&#8217; noting the difference (for example) in colors 0, 52, 53 and 232. <\/p>\n<p><strong>Clients:<\/strong><\/p>\n<p>Clients known to work with 256 color include Mushclient, Mudlet, CMud 3.x, Tintin++, Tinyfugue, Atlantis and the Blowtorch Android clients. Note that Zmud does not work with Xterm 256 colors. To see if you have 256 color support, type &#8216;xterm&#8217;, if you see Orange then you have it. <\/p>\n<p><b>Known Issues:<\/b><\/p>\n<ul>\n<li>Kind of obscure, but if you have GMCP rawcolor mode on but do NOT have xterm, the GMCP data is still going to show @x123. There is an overhead involved in fixing this that may make it not worth it. If you&#8217;re using rawcolors via GMCP then you have a means to process color locally even if you can&#8217;t actually display 256 colors.<\/li>\n<li>Whoname cannot currently use 256 color mode.<\/li>\n<li>You can use these colors in strings in the editor (object names etc) but not in editor fields specifically requiring a color name such as the default map color for an area or in sector editing.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Syntax : xterm &#8211; Turn 256 color mode on\/off. color 256 &#8211; See a table of the colors. color raw256 &#8211; See table of colors with no mud parsing. Aardwolf now supports Xterm 256 color mode. Whether or not you can see Xterm 256 color depends on your client. See&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.aardwolf.com\/blog\/wp-json\/wp\/v2\/posts\/463"}],"collection":[{"href":"https:\/\/www.aardwolf.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aardwolf.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aardwolf.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aardwolf.com\/blog\/wp-json\/wp\/v2\/comments?post=463"}],"version-history":[{"count":6,"href":"https:\/\/www.aardwolf.com\/blog\/wp-json\/wp\/v2\/posts\/463\/revisions"}],"predecessor-version":[{"id":469,"href":"https:\/\/www.aardwolf.com\/blog\/wp-json\/wp\/v2\/posts\/463\/revisions\/469"}],"wp:attachment":[{"href":"https:\/\/www.aardwolf.com\/blog\/wp-json\/wp\/v2\/media?parent=463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aardwolf.com\/blog\/wp-json\/wp\/v2\/categories?post=463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aardwolf.com\/blog\/wp-json\/wp\/v2\/tags?post=463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}