Resize Terminal in Solaris

13 Feb 2011

Sometimes when connecting into a Solaris box via multiple jumps eg Citrix to putty to jumphost to target host, the terminal can get confused about screen size and scramble the output.

Use this command to update environment variables with the current terminal size:

eval `resize`

or if $PATH is munged:

eval `/usr/openwin/bin/resize`

Thanks to PeterK.

comments powered by Disqus

  « Previous: Next: »