Re: amount of displayed characters of sender name in index view
* spaceman [2015-07-29 13:57]: > >is there a way to tell mutt to show me more of the sender name in index > >view? Currently it seems to be 15 characters regardless of the > >(x)terminal dimensions. > > The following should set the field width to twenty: Original > index_format = "%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" > > Modified > index_format = "%4C %Z %{%b %d} %-20.20L (%?l?%4l&%4c?) %s" > > Don't ask me why you need both numbers, all I know is that it related to > printf and right and left alignment. > > May I suggest: > man mutt > man 3 printf > > Regards, > spaceman spaceman, Jon, dear others, thank you so much for this advice and please excuse me for not having checked the manpage this time. best, P
Re: amount of displayed characters of sender name in index view
Hi Jon, In the example, 20 is the minimum width for the field (pads if data is short, overflows if data is longer) .20 is the maximum number of chars to put in the field (truncates longer data) - left justifies within the field, omit to right justify Thanks, having read the man page along with your guide I can now see what its referring to. When I first read it I just got lost. To correct an earlier mistake it should have been: man muttrc Regards, spaceman pgpRRRxlJeU8c.pgp Description: PGP signature
Re: amount of displayed characters of sender name in index view
On Wed, Jul 29, 2015 at 06:43:17PM +0100, spaceman wrote: > >is there a way to tell mutt to show me more of the sender name in index > >view? Currently it seems to be 15 characters regardless of the > >(x)terminal dimensions. > > The following should set the field width to twenty: Original > index_format = "%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" > > Modified > index_format = "%4C %Z %{%b %d} %-20.20L (%?l?%4l&%4c?) %s" > > Don't ask me why you need both numbers, all I know is that it related to > printf and right and left alignment. > > May I suggest: > man mutt > man 3 printf The last manpage should describe both numbers. In the example, 20 is the minimum width for the field (pads if data is short, overflows if data is longer) .20 is the maximum number of chars to put in the field (truncates longer data) - left justifies within the field, omit to right justify -- Jon H. LaBadie j...@jgcomp.com 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (703) 935-6720 (C)
Re: amount of displayed characters of sender name in index view
On 2015-07-29 13:07 -0400, Peter P. wrote: > is there a way to tell mutt to show me more of the sender name in index > view? Currently it seems to be 15 characters regardless of the > (x)terminal dimensions. Search for index_format in the manual. -- Please *no* private copies of mailing list or newsgroup messages. Rule 420: All persons more than eight miles high to leave the court.
Re: amount of displayed characters of sender name in index view
* Peter P. [07-29-15 13:28]: > Hi list, > > is there a way to tell mutt to show me more of the sender name in index > view? Currently it seems to be 15 characters regardless of the > (x)terminal dimensions. It is constrained by the width of your terminal display and the sum total of all the other fields, iiuc. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
Re: amount of displayed characters of sender name in index view
is there a way to tell mutt to show me more of the sender name in index view? Currently it seems to be 15 characters regardless of the (x)terminal dimensions. The following should set the field width to twenty: Original index_format = "%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" Modified index_format = "%4C %Z %{%b %d} %-20.20L (%?l?%4l&%4c?) %s" Don't ask me why you need both numbers, all I know is that it related to printf and right and left alignment. May I suggest: man mutt man 3 printf Regards, spaceman
Re: amount of displayed characters of sender name in index view
Hi Peter! On Mi, 29 Jul 2015, Peter P. wrote: > Hi list, > > is there a way to tell mutt to show me more of the sender name in index > view? Currently it seems to be 15 characters regardless of the > (x)terminal dimensions. See the $index_format setting in the manual. regards, Christian -- Try `stty 0' -- it works much better.