Re: Offical site's uncomplete manual.txt and broken manual.txt.gz

2009-09-24 Thread James Michael Fultz
* "Wu, Yue" [2009-09-25 13:22 +0800]: [ ... ] > Hi James, > > I've tried `col -b` and `col -bp`, both produce errors and stop immatiatly. > > y...@bsd ~ > cat manual.txt | col -b -p > >9.14. Default editor Function Bindings > >col: Illegal byte sequence Curious. While the

Re: Offical site's uncomplete manual.txt and broken manual.txt.gz

2009-09-24 Thread Wu, Yue
On Thu, Sep 24, 2009 at 10:40:15PM -0400, James Michael Fultz wrote: > > There's an explanation to be found in less' man page and Mutt's > manual. > > > > "Also, the internal pager supports a couple other advanced > features. For one, it will

Re: Offical site's uncomplete manual.txt and broken manual.txt.gz

2009-09-24 Thread James Michael Fultz
* "Wu, Yue" [2009-09-25 07:49 +0800]: [ ... ] > Also, I don't know how to view the file as a plain text, when I > try to view it by vim, the garbage charactors full-filled with > my screen. > > `less` is ok. Maybe the file contains many control sequences > that vim can't recorgnize but `less` can

Re: How to remove empty maildir?

2009-09-24 Thread Wu, Yue
On Thu, Sep 24, 2009 at 11:57:38AM -0500, Derek Martin wrote: > On Thu, Sep 24, 2009 at 02:59:30PM +0800, Wu, Yue wrote: > > I got some idea about handling the empty maildirs in mutt. Mutt should use > > some > > method to check if the maildir is empty or not, if so, then mutt can mask > > the >

Re: Offical site's uncomplete manual.txt and broken manual.txt.gz

2009-09-24 Thread Wu, Yue
On Thu, Sep 24, 2009 at 03:20:39PM +0200, Joost Kremers wrote: > On Thu, Sep 24, 2009 at 03:12:53PM +0200, Michael Wagner wrote: > > * Wu, Yue 24.09.2009 > > > y...@bsd ~/gtd/stuff > gzip -tv manual.txt.gz > > > gzip: manual.txt.gz: not in gzip format > > > manual.txt.gz:NOT OK > > > > I don'

Re: How to remove empty maildir?

2009-09-24 Thread Derek Martin
On Thu, Sep 24, 2009 at 02:59:30PM +0800, Wu, Yue wrote: > I got some idea about handling the empty maildirs in mutt. Mutt should use > some > method to check if the maildir is empty or not, if so, then mutt can mask the > empty ones automatically, so I can be away the no sense the boring empty >

Re: Offical site's uncomplete manual.txt and broken manual.txt.gz

2009-09-24 Thread Joost Kremers
On Thu, Sep 24, 2009 at 03:12:53PM +0200, Michael Wagner wrote: > * Wu, Yue 24.09.2009 > > y...@bsd ~/gtd/stuff > gzip -tv manual.txt.gz > > gzip: manual.txt.gz: not in gzip format > > manual.txt.gz:NOT OK > > I don't understand it. Here is all ok. I've seen it happen before that a browser s

Re: Offical site's uncomplete manual.txt and broken manual.txt.gz

2009-09-24 Thread Michael Wagner
* Wu, Yue 24.09.2009 > On Wed, Sep 23, 2009 at 06:09:38PM +0200, Michael Wagner wrote: > > the version at http://www.mutt.org/doc/devel/manual.txt.gz is a gzipped > > file. I've downloaded it for testing and everything is allright with the > > it. Also when I visited the side with different te

Re: Offical site's uncomplete manual.txt and broken manual.txt.gz

2009-09-24 Thread Wu, Yue
On Wed, Sep 23, 2009 at 06:09:38PM +0200, Michael Wagner wrote: > * Wu, Yue 23.09.2009 > > In mutt offical site, the documentation for devel version: > > > > text version: http://www.mutt.org/doc/devel/manual.txt > > > > is an uncompleted version, which just give a table of contents and the

Re: How to remove empty maildir?

2009-09-24 Thread Ionel Mugurel Ciobica
On 24-09-2009, at 09h 24'35", Wu, Yue wrote about "Re: How to remove empty maildir?" > > #!/bin/sh > > DIR="~/temp/mails/*" > > for d in ${DIR}; do > if [ $(find d -type f | wc -l) -eq 0 ] ; then > rm -r d > fi > done > #!/bin/sh DIR="~/temp/mails/*" for d in

Re: How to remove empty maildir?

2009-09-24 Thread Wu, Yue
On Thu, Sep 24, 2009 at 08:26:53AM +0200, Christian Ebert wrote: > > But I would be careful with rm while developing the script, perhaps do a > > echo $d I got some idea about handling the empty maildirs in mutt. Mutt should use some method to check if the maildir is empty or no