mutt on Linux via ssh from FreeBSD

2000-10-12 Thread Dennis Melentyev

Hi all!

I've some problem when I try to use mutt via ssh connection from FreeBSD
4.1.1 to Linux 2.0.36

The problem is: I'got some mess on the screen if I try to scroll message by
pressing Return. The bottom and top lines around the message body are
disappear, old value of row number is scrolled with the message text.

There isn't such problem in xterm and linux console. Just from FBSD one.

The TERM variable is set to `cons25r', and I have appropriate entry in
/etc/termcap on linux. All the other programs are run correctly.

Here is my mutt compile-time configuration:

Mutt 1.2.5i (2000-07-28)
Copyright (C) 1996-2000 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.0.36 [using slang 10202]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
-USE_IMAP  -USE_GSS  -USE_SSL  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/spool/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
-ISPELL
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the muttbug utility.

slrn (which uses slang, sure) has the same problem too.
How can I correct this. Wrong termcap? Problem with slang?

10x
 
-- 
Dennis Melentyev 
C/C++ programmer @ Mebius-KB, Kiev, Ukraine
[EMAIL PROTECTED] 



Re: mutt on Linux via ssh from FreeBSD

2000-10-12 Thread Thomas Dickey

On Thu, Oct 12, 2000 at 07:17:21PM +0300, Dennis Melentyev wrote:
 Hi all!
 
 I've some problem when I try to use mutt via ssh connection from FreeBSD
 4.1.1 to Linux 2.0.36
 
 The problem is: I'got some mess on the screen if I try to scroll message by
 pressing Return. The bottom and top lines around the message body are
 disappear, old value of row number is scrolled with the message text.

probably something is not setting your screen size properly.
cons25r is close enough to vt100 that most of the cursor movement
will work properly - but it has 25 lines rather than 24.  programs
that set scrolling margins (cons25r appears to have none, so it's worse
than normal for this condition) will not work properly.
 
 There isn't such problem in xterm and linux console. Just from FBSD one.
 
 The TERM variable is set to `cons25r', and I have appropriate entry in
 /etc/termcap on linux. All the other programs are run correctly.

but is that $TERM on your local or remote connection?
 
 Here is my mutt compile-time configuration:
 
 Mutt 1.2.5i (2000-07-28)
 Copyright (C) 1996-2000 Michael R. Elkins and others.
 Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
 Mutt is free software, and you are welcome to redistribute it
 under certain conditions; type `mutt -vv' for details.
 
 System: Linux 2.0.36 [using slang 10202]
...
 slrn (which uses slang, sure) has the same problem too.
 How can I correct this. Wrong termcap? Problem with slang?

slang does have some hardcoded cases - perhaps it's "fixing" your terminal
description on the fly by recasting it as a vt100 (newer versions are not quite
as obtrusive, btw, but it falls short of perfection on non-vt100 terminals).

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://dickey.his.com
ftp://dickey.his.com