I'm using xterm on OpenSolaris x86 build snv_76 and it works fine on the local system. But if I connect to another UNIX or Linux system via ssh and use less to page through a text file on the remote system, the first page displays normally with black characters on a white background. But on the second page and all subsequent pages, the characters are displayed in inverse video (white on a black background) and this continues even after I quit the less pager. I have to type 'reset' to switch the xterm back to normal. This also happens when using the pine mail client on a remote machine.
I can get around this by setting the TERM variable to vt100 so that typing 'env TERM=vt100 less test.file' doesn't cause this to happen. But does anyone know why this is happening as it doesn't happen with any other system I use (except for DEC Alphas running Digital UNIX 4.0)? It seems as if both the less pager and pine send some terminal escape sequence that switches xterm into inverse video. TIA for any suggestions, Andy -- This message posted from opensolaris.org
