Re: mutt does not recognize xterm size

2001-02-18 Thread Scott Davis

Quoting Frank Derichsweiler On Thu, 15 Feb 2001:

 I have a problem during startup of mutt on a fast hardware.
 Starting mutt with
  xterm -geometry 220x80+70+100 -vb -T "mutt Mail" -j -e mutt
 produces a large xterm, but mutt only uses 1/3 of the lines. 
 Starting first  xterm -geometry 220x80+70+100 -vb -T "mutt Mail" -j
 and then entering mutt return produces a "well-formed" mutt,
 i.e. mutt recognizes the proper size. Upon request I can send a
 screen-shot.


I know that this might have been answered in other emails... but the same
thing happens to me on 400mhz, 500mhz, 700mhz systems... etc.. Not sure
what causes it.  I have used different geometry settings.  Basically, the
solutions I have come up with is to slghtly resize the window with your
mouse... or use ETerm... I like the latter



=
Scott A. Davis  !  [EMAIL PROTECTED]  !  Si vis pacem para bellum
-
"I watched a snail crawl along the edge of a straight razor. That's my
dream. That's my nightmare. Crawling, slithering, along the edge of a
straight razor, and surviving." --Colonel Kurtz, Apocalypse Now



mutt does not recognize xterm size

2001-02-15 Thread Frank Derichsweiler

Hi Mutt-users,

I have a problem during startup of mutt on a fast hardware.
Starting mutt with
 xterm -geometry 220x80+70+100 -vb -T "mutt Mail" -j -e mutt
produces a large xterm, but mutt only uses 1/3 of the lines.
Starting first  xterm -geometry 220x80+70+100 -vb -T "mutt Mail" -j
and then entering mutt return produces a "well-formed" mutt,
i.e. mutt recognizes the proper size. Upon request I can send a
screen-shot.
HW: 1200 MHz Thunderbird
SW: mutt-1.2.5, Linux 2.4.1

I tried inserting a sleep 5 before starting mutt (creating a start-up
script) but that does not change the situation.

Any idea?

TIA
Frank





Re: mutt does not recognize xterm size

2001-02-15 Thread Dirk Ruediger

Hi Frank,

 I have a problem during startup of mutt on a fast hardware.
 Starting mutt with
  xterm -geometry 220x80+70+100 -vb -T "mutt Mail" -j -e mutt
 produces a large xterm, but mutt only uses 1/3 of the lines. 
 ...

I use a script Xmutt and the "essential" line is:

xterm -T "Mail for ${USER}@${HOSTNAME}" -geometry 85x47+100+10 -e mutt $*

It work's well for me.
I'll append the script and an rc-file (nothing great, just shell
scripts).

Ciao for now, Dirk
-- 
Dirk Ruediger, Rostock, Germany
 
Let's not complicate our relationship by trying to communicate with each other.


#!/bin/sh

LANG=de_DE
LANGUAGE=de_DE
LC_ALL=de_DE
EDITOR=vi
VISUAL=vi
FCEDIT=vi
MUTTALIASFILE=~/.mutt/aliases
PATH=$PATH:~/bin
MUTTTITLE="Post fuer ${USER}@${HOSTNAME}"
MUTTFONT=10x20
MUTTBG=black 
MUTTFG=white
MUTTGEOMETRY="85x47+100+10" 

[ -r ~/.xmuttrc ]  source ~/.xmuttrc

(
xterm \
  -T "$MUTTTITLE" \
  -fn $MUTTFONT \
  -bg $MUTTBG \
  -fg $MUTTFG \
  -geometry $MUTTGEOMETRY -e mutt $*
) 2 ~/.Xmutt.log


MUTTALIASFILE=~/.mutt/aliases
MUTTTITLE="Postfach von ${USER}@${HOSTNAME}"
MUTTFONT=10x20
MUTTBG=black
MUTTFG=white
MUTTGEOMETRY="95x46+100+10"



Re: mutt does not recognize xterm size

2001-02-15 Thread darren chamberlain

Frank Derichsweiler ([EMAIL PROTECTED]) said something 
to this effect on 02/15/2001:
 I have a problem during startup of mutt on a fast hardware.
 Starting mutt with
  xterm -geometry 220x80+70+100 -vb -T "mutt Mail" -j -e mutt
 produces a large xterm, but mutt only uses 1/3 of the lines. 
 Starting first  xterm -geometry 220x80+70+100 -vb -T "mutt Mail" -j
 and then entering mutt return produces a "well-formed" mutt,
 i.e. mutt recognizes the proper size. Upon request I can send a
 screen-shot.

Out of curiosity, what happens when you resize the xterm? Does
mutt rearrange itself to take advantage of the full size, after
the xterm is resized?  If so, I'd take a look at the curses
library in use, and compare the version with the version
running on the PIII where this problem doesn't occur.

Something like this probably couldn't really be a mutt issue, since
mutt doesn't handle writing to the terminal directly (it uses a
drawing library).

(darren)

-- 
There are trivial truths and there are great Truths. The opposite of a
trival truth is obviously false. The opposite of a great Truth is also true.
-- Neils Bohr



Re: mutt does not recognize xterm size

2001-02-15 Thread Dirk Ruediger

Hi Frank,

 On Thu, Feb 15, 2001 at 12:09:26PM +0100, Dirk Ruediger wrote:
   I have a problem during startup of mutt on a fast hardware.
   Starting mutt with
xterm -geometry 220x80+70+100 -vb -T "mutt Mail" -j -e mutt
   produces a large xterm, but mutt only uses 1/3 of the lines. 
   ...
  
  I use a script Xmutt and the "essential" line is:
  
  xterm -T "Mail for ${USER}@${HOSTNAME}" -geometry 85x47+100+10 -e mutt $*
  
 Thanks for the script and the suggestion, but that does not work. 
 My approch worked on a PIII @ 500 MHz without any problem. Now I have
 a 1200 MHz Thunderbird and it looks like beeing "too fast"

What I forgot to say: the geometry 220x80 means an xterm with 220
char-lines. Is that what you wanted (don't know your screen size and
resolution ;-)?

Maybe try another terminal emulator (rxvt or eterm), but I suppose your
new box doesn't get real load by using eterm...

Ciao for now, Dirk
-- 
Dirk Ruediger, Rostock, Germany
 
Let's not complicate our relationship by trying to communicate with each other.



Re: mutt does not recognize xterm size

2001-02-15 Thread Frank Derichsweiler

On Thu, Feb 15, 2001 at 08:32:49AM -0500, darren chamberlain wrote:
 [mutt does not properly recognize screen size]
 
 Out of curiosity, what happens when you resize the xterm? Does
 mutt rearrange itself to take advantage of the full size, after
 the xterm is resized?  

yes, that works fine

 If so, I'd take a look at the curses
 library in use, and compare the version with the version
 running on the PIII where this problem doesn't occur.
 
I will do that. Thanks a lot for the tip.

Greetings,
Frank



Re: mutt does not recognize xterm size

2001-02-15 Thread Joe Philipps

On Thu, Feb 15, 2001 at 10:35:03AM +0100, Frank Derichsweiler wrote:
Hi Mutt-users,

 xterm -geometry 220x80+70+100 -vb -T "mutt Mail" -j -e mutt
produces a large xterm, but mutt only uses 1/3 of the lines. 

Any idea?

Does -wf help at all?

-- 
Oo---o, Oo---o, O-weem-oh-wum-ooo-ayyy
In the jungle, the silicon jungle, the process sleeps tonight.
Joe Philipps [EMAIL PROTECTED], http://www.philippsfamily.org/Joe/
public PGP/GPG key 0xFA029353 available via http://www.keyserver.net

 PGP signature


Re: mutt does not recognize xterm size

2001-02-15 Thread Thomas E. Dickey

On Thu, 15 Feb 2001, Frank Derichsweiler wrote:

 On Thu, Feb 15, 2001 at 08:32:49AM -0500, darren chamberlain wrote:
  [mutt does not properly recognize screen size]
  
  Out of curiosity, what happens when you resize the xterm? Does
  mutt rearrange itself to take advantage of the full size, after
  the xterm is resized?  
 
 yes, that works fine

I've seen this sort of thing reported, but only for configurations that
I don't have (I did some changes in the last few patches to try to
prevent it - current patch #150 is pretty stable, and it would be nice
to know if that fixes the problem).

  If so, I'd take a look at the curses
  library in use, and compare the version with the version
  running on the PIII where this problem doesn't occur.
  
 I will do that. Thanks a lot for the tip.

It's more likely xterm than the screen library.

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