{"id":240,"date":"2010-04-27T17:40:56","date_gmt":"2010-04-27T12:10:56","guid":{"rendered":"http:\/\/www.oratraining.com\/blog\/?p=240"},"modified":"2010-04-27T17:40:56","modified_gmt":"2010-04-27T12:10:56","slug":"unixsolaris-terminal-too-wide","status":"publish","type":"post","link":"https:\/\/www.oratraining.com\/blog\/2010\/04\/unixsolaris-terminal-too-wide\/","title":{"rendered":"Unix\/Solaris Terminal too wide"},"content":{"rendered":"<p>On older Solaris or other Unix systems we quite often see following error while opening log files etc in vi or view terminal<\/p>\n<blockquote>\n<div id=\"_mcePaste\"><span style=\"color: #0000ff;\">root&gt; vi abc<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #0000ff;\">Terminal too wide<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #0000ff;\">:<\/span><\/div>\n<\/blockquote>\n<div>This is because the terminal is not wide enough to display more characters in one line.<\/div>\n<p><strong>Solution:<\/strong><\/p>\n<p>Execute following command on shell prompt. This will increase the width the number of columns on the terminal. After this you should be able to open files in vi or view without any issues.<\/p>\n<blockquote><p><strong><span style=\"color: #0000ff;\">stty columns 120<\/span><\/strong><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>On older Solaris or other Unix systems we quite often see following error while opening log files etc in vi or view terminal root&gt; vi abc Terminal too wide : This is because the terminal is not wide enough to display more characters in one line. Solution: Execute following command on shell prompt. This will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3,18,19],"tags":[],"class_list":["post-240","post","type-post","status-publish","format-standard","hentry","category-linuxunixsolaris","category-shell-scripting","category-unix-administration-linuxunixsolaris"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/posts\/240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/comments?post=240"}],"version-history":[{"count":0,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/posts\/240\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/media?parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/categories?post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/tags?post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}