Use unnamed clipboard and scroll settings.

Use the unnamed clipboard for better integration with host OS.
Set scrolling attributes so that cursor stays away from vertical and horizontal
edges of the screen until the end of the line or file is reached.