{"id":6023,"date":"2022-12-20T18:57:51","date_gmt":"2022-12-20T21:57:51","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/platformshell-mann\/"},"modified":"2022-12-20T18:57:51","modified_gmt":"2022-12-20T21:57:51","slug":"platformshell-mann","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/platformshell-mann\/","title":{"rendered":"platform::shell (mann)"},"content":{"rendered":"<h1 align=\"center\">platform::shell<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#COMMANDS\">COMMANDS<\/a><br \/> <a href=\"#KEYWORDS\">KEYWORDS<\/a> <\/p>\n<hr>\n<p>______________________________________________________________________________<\/p>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">platform::shell \u2212 System identification support code and utilities<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>package require platform::shell ?1.1.4?<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>platform::shell::generic<\/b> <i>shell<\/i> <b><br \/> platform::shell::identify<\/b> <i>shell<\/i> <b><br \/> platform::shell::platform<\/b> <i>shell<\/i> ______________________________________________________________________________<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>platform::shell<\/b> package provides several utility commands useful for the identification of the architecture of a specific Tcl shell.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This package allows the identification of the architecture of a specific Tcl shell different from the shell running the package. The only requirement is that the other shell (identified by its path), is actually executable on the current machine.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">While for most platform this means that the architecture of the interrogated shell is identical to the architecture of the running shell this is not generally true. A counter example are all platforms which have 32 and 64 bit variants and where a 64bit system is able to run 32bit code. For these running and interrogated shell may have different 32\/64 bit settings and thus different identifiers.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">For applications like a code repository it is important to identify the architecture of the shell which will actually run the installed packages, versus the architecture of the shell running the repository software.<\/p>\n<h2>COMMANDS <a name=\"COMMANDS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>platform::shell::identify<\/b> <i>shell<\/i><\/p>\n<p style=\"margin-left:22%;\">This command does the same identification as <b>platform::identify<\/b>, for the specified Tcl shell, in contrast to the running shell.<\/p>\n<p style=\"margin-left:11%;\"><b>platform::shell::generic<\/b> <i>shell<\/i><\/p>\n<p style=\"margin-left:22%;\">This command does the same identification as <b>platform::generic<\/b>, for the specified Tcl shell, in contrast to the running shell.<\/p>\n<p style=\"margin-left:11%;\"><b>platform::shell::platform<\/b> <i>shell<\/i><\/p>\n<p style=\"margin-left:22%;\">This command returns the contents of <b>tcl_platform(platform)<\/b> for the specified Tcl shell.<\/p>\n<h2>KEYWORDS <a name=\"KEYWORDS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">operating system, cpu architecture, platform, architecture<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  platform::shell \u2212 System identification support code and utilities <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3783,1],"tags":[2635,2700],"class_list":["post-6023","post","type-post","status-publish","format-standard","hentry","category-n-comandos-tcl-tk","category-sin-categoria","tag-mann","tag-platform_shell"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6023","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=6023"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6023\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}