Kyle Wheeler wrote:
> On Monday, December 29 at 12:15 PM, quoth Michael Kjorling:
> > Untested, but should work:
> > `if [ ... ]; then echo 'source onefile.muttrc'; else echo 'source
> > otherfile.muttrc'; fi`
> >
> > Then just fill in "onefile.muttrc" and "otherfile.muttrc" with
> > whichever se
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday, December 29 at 12:15 PM, quoth Michael Kjorling:
> On 28 Dec 2008 18:13 -0700, by b...@proulx.com (Bob Proulx):
>> set pager_index_lines=`test $(stty -a | sed -n '/rows/s/.*rows
>> \([0-9][0-9]*\);.*/\1/p') -gt 30 && echo 8 || echo 0`
>
>
On 28 Dec 2008 18:13 -0700, by b...@proulx.com (Bob Proulx):
> set pager_index_lines=`test $(stty -a | sed -n '/rows/s/.*rows
> \([0-9][0-9]*\);.*/\1/p') -gt 30 && echo 8 || echo 0`
Untested, but should work:
`if [ ... ]; then echo 'source onefile.muttrc'; else echo 'source
otherfile.muttrc';
I happen to like pager_index_lines=8 to show me where I am in the
thread. But at times I read mail from my PDA with a small screen. I
want to conditionally change the configuration such that large
terminals get pager_index_lines set to a value but small terminals do
not set this value.
I came up