Solaris – VI Terminal too wide

You may receive the following error when using VI within Solaris:

Terminal too wide

You can solve this increasing the number of columns with the command

stty columns 120