{"id":3632,"date":"2022-12-20T17:09:13","date_gmt":"2022-12-20T20:09:13","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/mapscrn-man8\/"},"modified":"2022-12-20T17:09:13","modified_gmt":"2022-12-20T20:09:13","slug":"mapscrn-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/mapscrn-man8\/","title":{"rendered":"MAPSCRN (man8)"},"content":{"rendered":"<h1 align=\"center\">MAPSCRN<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#USE\">USE<\/a><br \/> <a href=\"#INPUT FORMAT\">INPUT FORMAT<\/a><br \/> <a href=\"#OTHER OPTIONS\">OTHER OPTIONS<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">mapscrn \u2212 load screen output mapping table<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>mapscrn<\/b> [<b>-V<\/b>] [<b>-v<\/b>] [<b>-o<\/b> <i>map.orig<\/i>] <i>mapfile<\/i><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>mapscrn<\/b> command is obsolete &#8211; its function is now built-in into setfont. However, for backwards compatibility it is still available as a separate command.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>mapscrn<\/i> command loads a user defined output character mapping table into the console driver. The console driver may be later put into <b>use user-defined mapping table<\/b> mode by outputting a special escape sequence to the console device. This sequence is <i><esc>(K<\/i> for the <b>G0<\/b> character set and <i><esc>)K<\/i> for the <b>G1<\/b> character set. When the <i>-o<\/i> option is given, the old map is saved in <i>map.orig.<\/i><\/p>\n<h2>USE <a name=\"USE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">There are two kinds of mapping tables: direct-to-font tables, that give a font position for each user byte value, and user-to-unicode tables that give a unicode value for each user byte. The corresponding glyph is now found using the unicode index of the font. The command<\/p>\n<p style=\"margin-left:22%;\">mapscrn trivial<\/p>\n<p style=\"margin-left:11%;\">sets up a one-to-one direct-to-font table where user bytes directly address the font. This is useful for fonts that are in the same order as the character set one uses. A command like<\/p>\n<p style=\"margin-left:22%;\">mapscrn 8859-2<\/p>\n<p style=\"margin-left:11%;\">sets up a user-to-unicode table that assumes that the user uses ISO 8859-2.<\/p>\n<h2>INPUT FORMAT <a name=\"INPUT FORMAT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>mapscrn<\/i> command can read the map in either of two formats: <br \/> 1. 256 or 512 bytes binary data <br \/> 2. two-column text file <br \/> Format (1) is a direct image of the translation <i>table. The 256-bytes tables are direct-to-font,<\/i> the 512-bytes tables are user-to-unicode tables. Format (2) is used to fill the <i>table<\/i> as follows: cell with offset mentioned in the first column is filled with the value mentioned in the second column. When values larger than 255 occur, or values are written using the U+xxxx notation, the table is assumed to be a user-to-unicode table, otherwise it is a direct-to-font table.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Values in the file may be specified in one of several <b>formats: <br \/> 1. Decimal:<\/b> String of decimal digits not starting with \u20190\u2019 <b><br \/> 2. Octal:<\/b> String of octal digits beginning with \u20190\u2019. <b><br \/> 3. Hexadecimal:<\/b> String of hexadecimal digits preceded by &#8220;0x&#8221;. <b><br \/> 4. Unicode:<\/b> String of four hexadecimal digits preceded by &#8220;U+&#8221;. <b><br \/> 5. Character:<\/b> Single character enclosed in single quotes. (And the binary value is used.) Note that blank, comma, tab character and \u2019#\u2019 cannot be specified with this format. <b><br \/> 6. UTF-8 Character:<\/b> Single (possibly multi-byte) UTF-8 character, enclosed in single quotes.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Note that control characters (with codes < 32) cannot be re-mapped with <i>mapscrn<\/i> because they have special meaning for the driver.<\/p>\n<h2>OTHER OPTIONS <a name=\"OTHER OPTIONS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><b>\u2212V<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">Prints version number and exits.<\/p>\n<\/td>\n<td width=\"29%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212v<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"49%\">\n<p>Be verbose.<\/p>\n<\/td>\n<td width=\"29%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>\/usr\/lib\/kbd\/consoletrans<\/i><\/p>\n<p style=\"margin-left:22%;\">The default directory for screen mappings.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>setfont<\/i>(8)<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright (C) 1993 Eugene G. Crosser <br \/> <crosser@pccross.msk.su> <br \/> This software and documentation may be distributed freely.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  mapscrn \u2212 load screen output mapping table <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,748],"class_list":["post-3632","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-mapscrn"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3632"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3632\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}