On 2004-01-14 10:34:36 +0100, St??phane Peron wrote: > Hi all ! > > It works !!!! > I have put in my .bashrc : > resize > /dev/null > > and now all my xterm windows are properly displayed ... for mutt, moc, vi , > ....
as Felix pointed out, it won't work if you run another app like mutt
directly without invoking your shell.
to handle that, i just created a small shell script called run_mutt.sh
with:
#!/bin/sh
resize >/dev/null && mutt
and in my ion bindings i have something like
kpress("F10", make_exec_fn("xterm -e ~/bin/run_mutt.sh -T mutt"))
so when i hit F10 i get a terminal running mutt that's been properly
resized.
just to add to the tips people have been posting...
--
anders pearson : http://www.columbia.edu/~anders/
C C N M T L : http://www.ccnmtl.columbia.edu/
weblog : http://thraxil.org/
pgp00000.pgp
Description: PGP signature
