Tuesday, March 25, 2008

Vi problem on Solaris

Couple days ago I was face with vi problem on solaris. When I tried to edit a file then the error message appeared "Terminal too wide". First action was going to ask Mr Google. Finally I got the solution just type on console and then tried to open vi program again. Cool it's working properly.

bash-2.05# stty columns 120

That syntax above will set terminal columns to be 120 width. The case was closed