When I telnet in a "w" shows ttypx in lieu of the usual ttyx, so I need a test to determine which is in use. Pseudocode: if my TTY is ttypx set the screen size accordingly I can do line two, thanks to your suggestions but line one has me tricked. Lindsay