{"id":657,"date":"2015-09-26T07:15:40","date_gmt":"2015-09-26T07:15:40","guid":{"rendered":"http:\/\/www.jamesrising.net\/blog\/?p=657"},"modified":"2015-09-26T07:15:40","modified_gmt":"2015-09-26T07:15:40","slug":"one-console-to-rule-them-all","status":"publish","type":"post","link":"http:\/\/www.jamesrising.net\/blog\/?p=657","title":{"rendered":"One console to rule them all"},"content":{"rendered":"<p>I love text consoles.  The more I can do without moving a mouse or opening a new window, the better.  So, when I saw <a href=\"http:\/\/uni.xkcd.com\/\">XKCD&#8217;s command-line interface<\/a>, I grabbed the code and started to build new features into it, as my kind of browser window to a cyber world of text.<\/p>\n<p>I want to tell you about my console-based time-management system, the entertainment system, the LambdaMOO world, the integration with my fledgling single-stream analysis toolbox.  But the first step was to clean out the password-protected stuff, and expose the console code for anyone who wants it.<\/p>\n<p>So here it is!  Feel free to play around on the public version, <a href=\"http:\/\/ift.tt\/1PEsTtI\">http:\/\/ift.tt\/1PEsTtI<\/a>, or <a href=\"http:\/\/ift.tt\/1PEsRSL\">clone the repository<\/a> for your own.<\/p>\n<p><a href=\"http:\/\/ift.tt\/1LcKHOT\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ift.tt\/1LcKHOT\" alt=\"screenshot\" width=\"600\" height=\"411\" class=\"aligncenter size-full wp-image-200\" \/><\/a><\/p>\n<p>Here are the major changes from the original XKCD code by Chromacode:<\/p>\n<ul>\n<li>Multiple &#8220;shells&#8221;: I currently just have the Javascript and XKCD-Shell ones exposed.  Javascript gives you a developer-style javascript console (but buggy).  You can switch between the two by typing <tt>x:<\/tt> and <tt>j:<\/tt>.<\/li>\n<li>A bookmark system: <tt>ln URL NAME<\/tt> makes a new bookmark; <tt>ls<\/tt> lists the available bookmarks, and <tt>cd NAME<\/tt> opens a bookmark.<\/li>\n<li>A login\/registration system: Different users can have different bookmarks (and other stuff).  Leave &#8216;login:&#8217; blank the first time to create a new account.<\/li>\n<li>Some new commands, but the only one I&#8217;m sure I left in is <tt>scholar [search terms]<\/tt> for a Google Scholar search.<\/li>\n<\/ul>\n<p>Share, expand, and enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I love text consoles. The more I can do without moving a mouse or opening a new window, the better. So, when I saw XKCD&#8217;s command-line interface, I grabbed the code and started to build new features into it, as my kind of browser window to a cyber world of text. I want to tell &hellip; <a href=\"http:\/\/www.jamesrising.net\/blog\/?p=657\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">One console to rule them all<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10,14,15],"class_list":["post-657","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-ifttt","tag-james-rising","tag-pro"],"_links":{"self":[{"href":"http:\/\/www.jamesrising.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jamesrising.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jamesrising.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jamesrising.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jamesrising.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=657"}],"version-history":[{"count":1,"href":"http:\/\/www.jamesrising.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/657\/revisions"}],"predecessor-version":[{"id":658,"href":"http:\/\/www.jamesrising.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/657\/revisions\/658"}],"wp:attachment":[{"href":"http:\/\/www.jamesrising.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jamesrising.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=657"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jamesrising.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}