Re: truncating subject line in index
dexter wrote: > how can i truncate the subject line to 60 columns. > i tried %60s in index_format but it is not working. > can someone help. assuming it follows printf syntax: "%60s" makes it take at least 60 characers (right justified). "%-60s" makes it take at least 60 characers (left justified). "%60.60s" makes it take exactly 60 characters (right justified or truncated). "%-60.60s" makes it take exactly 60 characters (left justified or truncated). so try "%60.60s".
Re: truncating subject line in index
- dexter [2013-02-10 19:54:33 +0530] - : > * James Griffin [2013-02-10 13:29:55 +]: > i want the subject line in the index to be truncated. Please don't top post. The %s specifier is the correct one to use. Have a look at man 3 printf for information about how to manipulate these specifiers. -- Primary Key: 4096R/1D31DC38 2011-12-03 Key Fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38
Re: truncating subject line in index
* James Griffin [2013-02-10 13:29:55 +]: i want the subject line in the index to be truncated. -dexter > - dexter [2013-02-10 18:51:29 +0530] - : > > > how can i truncate the subject line to 60 columns. > > i tried %60s in index_format but it is not working. > > can someone help. > > > > You'd probably need to use that format specifier in pager_format, not > index_format. > > -- > Primary Key: 4096R/1D31DC38 2011-12-03 > Key Fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38
Re: truncating subject line in index
- dexter [2013-02-10 18:51:29 +0530] - : > how can i truncate the subject line to 60 columns. > i tried %60s in index_format but it is not working. > can someone help. > You'd probably need to use that format specifier in pager_format, not index_format. -- Primary Key: 4096R/1D31DC38 2011-12-03 Key Fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38
truncating subject line in index
how can i truncate the subject line to 60 columns. i tried %60s in index_format but it is not working. can someone help.