This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: terminal size problems


On Wed, 4 Feb 2004, Harold Levy wrote:

> > > If I open a 32-row xterm and rlogin into a unix machine, then run vim or
> > > mutt or less, these apps think the bottom of the screen is at row 24 ...
> > > they don't use the rows beyond that.
> >
> > Right, now I understand.  Do you have the $TERM set correctly on the
> > remote machine?  Did you try this over ssh rather than rlogin?
>
> Ah, things work with telnet but not rlogin ... does that hint at the
> cause of the problem?
>
> Thanks for your help Igor,
> -Harold

I suspect there's some difference in the environment that is either
propagated from the local machine or set via the shell startup files.  Try
checking the value of $TERM in both cases.  I bet one of them says
"cygwin" and the other says "vt100" or something...  Also, try setting
TERM=vt100 in the Cygwin shell before rlogin -- does that help?  If so,
the termcap/terminfo database on the Linux machine doesn't have an entry
for "cygwin", and should be updated.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]