{"id":7410,"date":"2012-01-14T23:32:33","date_gmt":"2012-01-15T07:32:33","guid":{"rendered":"http:\/\/37prime.wordpress.com\/?p=7410"},"modified":"2012-01-14T23:32:33","modified_gmt":"2012-01-15T07:32:33","slug":"os-x-lion-error-opening-terminal-xterm-256color","status":"publish","type":"post","link":"https:\/\/37prime.com\/news\/2012\/01\/14\/os-x-lion-error-opening-terminal-xterm-256color\/","title":{"rendered":"OS X Lion: Error opening terminal: xterm-256color"},"content":{"rendered":"<p>OS X Lion &gt; Terminal.app &gt; Error opening terminal: xterm-256color<\/p>\n<p>I encountered this error when issuing the commands:<\/p>\n<ul>\n<li>ssh<\/li>\n<li>pico<\/li>\n<li>nano<\/li>\n<\/ul>\n<p>There might be other commands affected by this error.<\/p>\n<p>A quick <a href=\"http:\/\/www.google.com\/search?q=Error+opening+terminal:+xterm-256color.\" target=\"_blank\">Google search<\/a> shows that the problem lies within <em>\/usr\/share\/terminfo\/<\/em> folder.\u00a0 The answers that solved my problem is:<\/p>\n<blockquote><p><a href=\"http:\/\/stackoverflow.com\/questions\/6804208\/nano-error-error-opening-terminal-xterm-256color\" target=\"_blank\">http:\/\/stackoverflow.com\/questions\/6804208\/nano-error-error-opening-terminal-xterm-256color<\/a><\/p>\n<p>and<\/p>\n<p><a href=\"https:\/\/discussions.apple.com\/thread\/3194454?start=0&amp;tstart=0\" target=\"_blank\">https:\/\/discussions.apple.com\/thread\/3194454?start=0&amp;tstart=0<\/a><\/p><\/blockquote>\n<p>I replaced the &#8220;terminfo&#8221; folder from OS X Lion installer but the problem persisted. So I downloaded it from the link provided in the Apple Discussions Board. It solved the problem.<\/p>\n<p><a href=\"http:\/\/37prime.com\/news\/wp-content\/uploads\/2012\/01\/terminfo.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"terminfo\" src=\"http:\/\/37prime.com\/news\/wp-content\/uploads\/2012\/01\/terminfo.jpg\" alt=\"\" width=\"480\" height=\"270\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OS X Lion &gt; Terminal.app &gt; Error opening terminal: xterm-256color I encountered this error when issuing the commands: ssh pico nano There might be other commands affected by this error. A quick Google search shows that the problem lies within \/usr\/share\/terminfo\/ folder.\u00a0 The answers that solved my problem is: http:\/\/stackoverflow.com\/questions\/6804208\/nano-error-error-opening-terminal-xterm-256color and https:\/\/discussions.apple.com\/thread\/3194454?start=0&amp;tstart=0 I replaced the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/37prime.com\/news\/2012\/01\/14\/os-x-lion-error-opening-terminal-xterm-256color\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;OS X Lion: Error opening terminal: xterm-256color&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[946],"tags":[1872,1931,2511,936,2908,2909,3039,3280],"class_list":["post-7410","post","type-post","status-publish","format-standard","hentry","category-announcements","tag-lion","tag-mac-os-x","tag-resources","tag-tech","tag-terminal","tag-terminfo","tag-troubleshooting","tag-xterm"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pcNtU-1Vw","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/posts\/7410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/comments?post=7410"}],"version-history":[{"count":0,"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/posts\/7410\/revisions"}],"wp:attachment":[{"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/media?parent=7410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/categories?post=7410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/tags?post=7410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}