{"id":1625,"date":"2017-10-21T00:02:17","date_gmt":"2017-10-21T00:02:17","guid":{"rendered":"http:\/\/www.sydneysmith.com\/wordpress\/?page_id=1625"},"modified":"2017-10-21T00:24:55","modified_gmt":"2017-10-21T00:24:55","slug":"cpm-pnum","status":"publish","type":"page","link":"https:\/\/www.sydneysmith.com\/wordpress\/cpm-pnum\/","title":{"rendered":"CP\/M PNum"},"content":{"rendered":"<p><a href=\"http:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2017\/10\/pnum-main.png\"><img loading=\"lazy\" src=\"http:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2017\/10\/pnum-main-300x300.png\" alt=\"\" width=\"300\" height=\"300\" class=\"alignnone size-medium wp-image-1626\" srcset=\"https:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2017\/10\/pnum-main-300x300.png 300w, https:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2017\/10\/pnum-main-150x150.png 150w, https:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2017\/10\/pnum-main.png 480w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>PNum prints a file with line numbers. It doesn&#8217;t actually go to the printer; it just shows on the screen.<\/p>\n<p>When it was written, you could press Ctrl-P to turn on printing and then whatever appeared on the screen also went to the printer. When you were done, another Ctrl-P turned printing off again. In unix \/ MSDOS \/ Windows \/ Linux these days, we can redirect output to the printer device using &gt; or a pipe. Or we could send the line-numbered output to a new file and print that one using something simple like Notepad. <\/p>\n<p>This version of the program is part of the <a href=\"http:\/\/www.sydneysmith.com\/wordpress\/cpm-programs\/\">old programs for new computers<\/a> collection. It was written for a 1970s era operating system called CP\/M but it has been recompiled to run on Windows computers.<\/p>\n<p>The original program is <a href=\"http:\/\/www.sydneysmith.com\/products\/cpm-pnum\/pnum1.c\" rel=\"noopener\" target=\"_blank\">pnum1.c<\/a>.<\/p>\n<p>A ZIP which contains the Windows version is <a href=\"http:\/\/www.sydneysmith.com\/products\/cpm-pnum\/pnum.zip\">pnum.zip<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PNum prints a file with line numbers. It doesn&#8217;t actually go to the printer; it just shows on the screen. When it was written, you could press Ctrl-P to turn on printing and then whatever appeared on the screen also went to the printer. When you were done, another Ctrl-P turned printing off again. In &hellip; <a href=\"https:\/\/www.sydneysmith.com\/wordpress\/cpm-pnum\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">CP\/M PNum<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/pages\/1625"}],"collection":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1625"}],"version-history":[{"count":2,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/pages\/1625\/revisions"}],"predecessor-version":[{"id":1634,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/pages\/1625\/revisions\/1634"}],"wp:attachment":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}