{"id":123,"date":"2008-10-06T01:47:49","date_gmt":"2008-10-06T06:47:49","guid":{"rendered":"http:\/\/yourlinuxguy.com\/?p=123"},"modified":"2008-09-26T14:05:42","modified_gmt":"2008-09-26T19:05:42","slug":"how-do-i-set-the-backspace-key-in-a-solaris-serial-session","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=123","title":{"rendered":"How do I set the &#8216;backspace&#8217; key in a Solaris serial session?"},"content":{"rendered":"<p>Okay, so sometimes I&#8217;m &#8220;Your Solaris Guy&#8221; as well as Your Linux Guy.<\/p>\n<p>Either way, I can sometimes be &#8220;your forgetful guy&#8221;.\u00a0 So, this post is pretty much a note to myself about one of those settings\/commands I cannot seem to remember.<\/p>\n<p>The funny thing about that notion is that whenever I write a blog post about things that I cannot seem to remember, I tend to end up remembering them better from then on, likely due to the mental reinforcement of going through the posting process itself&#8230;\u00a0 Whatever works, I guess&#8230;<\/p>\n<p>Anyway, back to the point.<\/p>\n<p>If you happen to be working with a Sparc box, maybe with Solaris (any recent version), and you happen to be connecting with a serial cable (instead of standard monitor\/keyboard), and in a terminal shell, then you will likely eventually want to backspace over something. Of course, the backspace key from your Intel box won&#8217;t be properly mapped to the instructions in the shell to which you are connected, so you&#8217;ll get a bunch of garbage when you hit &#8216;backspace&#8217;, and you can&#8217;t do anything but hit &#8216;enter&#8217; to clear the terminal.\u00a0 At best, it&#8217;s annoying.\u00a0 At worst, it might cause you to enter something that might not be a good thing&#8230;<\/p>\n<p>So to fix that, you will have to enter the following:<\/p>\n<p><code>stty erase '^H'<\/code><\/p>\n<p>&#8230;those are single-quotes around the caret-H&#8230;<\/p>\n<p>&#8230;and now actually typing &#8216;backspace&#8217; on your keyboard will cause a &#8216;backspace&#8217; to occur in the shell.<\/p>\n<p>Magic!<\/p>\n<p>\ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Okay, so sometimes I&#8217;m &#8220;Your Solaris Guy&#8221; as well as Your Linux Guy. Either way, I can sometimes be &#8220;your forgetful guy&#8221;.\u00a0 So, this post is pretty much a note to myself about one of those settings\/commands I cannot seem&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=123\">Read more<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10,51],"tags":[],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry","category-introductory","category-solaris"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-1Z","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=123"}],"version-history":[{"count":3,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/123\/revisions"}],"predecessor-version":[{"id":125,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/123\/revisions\/125"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}