Home > Linux/Unix/Solaris, Shell scripting, Unix administration > Unix/Solaris Terminal too wide
Post to Twitter Post to Digg Printable version of this Post Printable version of this Post

Unix/Solaris Terminal too wide

On older Solaris or other Unix systems we quite often see following error while opening log files etc in vi or view terminal

root> 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 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.

stty columns 120

  • Share/Bookmark

Did this post solve your problem? If not, please open a FREE Support Ticket and we will help you FREE of cost.
  1. No comments yet.
  1. No trackbacks yet.