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
bash-2.05# stty columns 120
That syntax above will set terminal columns to be 120 width. The case was closed
1 comment:
You can also set the COLUMNS environment variable prior to starting vi - thus:
bash-2.05# COLUMNS=120 vi
Post a Comment