386 running Intel SVR4.0.3 and Xfree386 (1.1?: I just finished browsing
through the config files and can't find a version #), using olwm and
xterms to connect to SunOS 4.1.3 server over ethernet.
Although I am running my xterms locally on the 386 with 44x80, when I
rlogin in to the Sun server and try to start up elm or nn, they seem to
issue a "set scrolling region" command to 24 lines. If I look at
'stty -a' before I run one of these commands, rows and cols are 0. In
order to get elm or nn to use the full window I must manually set the
rows to 44 or run a command that is smart enough to figure it out properly
(I am not sure right now, but I believe 'less' may work). I cannot
remember what all I have tried (resize, etc), but the one thing I know
works is to issue <ESC>[r from the command line to reset scrolling
region. After that stty -a shows rows and columns correctly.
I also dial into the Sun server from a Sun workstation and run term to set
up a socket over which I can connect multiple local xterms to the remote
host. These xterms always seem to propagate the size properly.
My attempted solution:
Although it seems kludgey, I would be happy if I could simply get the
<ESC>[r to work from .cshrc or .login. I can tell from the commandline
that the command has worked because it moves the cursor to the top of the
screen without clearing. From within the .cshrc and .login it does not
seem to be recognized. I have also tried 'eval'ing it. I suspect if I
recompiled the terminfo resource with the init string set to <ESC>[r that
that would work. I know how to setup a per-account termcap, but not
Any insight or help will be appreciated.
R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765 / _____ ______
Humanities & Social Science, GMI Eng.& Mgmt. Inst. / / / / / /