From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: jmk@plan9.bell-labs.com, rminnich@lanl.gov, 9fans@cse.psu.edu Subject: Re: [9fans] 3 questions From: "Fco. J. Ballesteros" Date: Mon, 29 May 2006 19:14:14 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: Topicbox-Message-UUID: 575ef4e4-ead1-11e9-9d60-3106f5b1d025 : After the 'how do we read/store mail on Plan 9' a couple of months ago, : has anyone done anything to improve the situation, e.g. memory footprint? I have done something. In the Plan B distrib I copied to sources, there's a program that should work also for Plan 9. It should be at /n/sources/contrib/nemo/sys/src/cmd/mail2fs/ IIRC The idea is that mail2fs converts from mbox format to a file tree. For example, my current inbox (listed from its root), is: 200605/6679/text rsc@swtch.com Re: [9fans] 3 questions 200605/6678/text rsc@swtch.com Re: [9fans] 3 questions 200605/6677/text quanstro@quans Re: [9fans] 3 questions 200605/6676/text jmk@plan9.bell Re: [9fans] 3 questions 200605/6675/text quanstro@quans Re: [9fans] 3 questions 200605/6674/text jcenteno@gsyc. Re: programa en canal historia .... Then, to read mail, I use mails (which merely pretty-prints */[0-9]*/text) or one for the wrappers. Indeed, cat */[0-9]*/text works well enough. Would this suffice? I remember complaints about the speed of using grep to search within this, but in practice, I manage. If that's a problem, maybe what we need is a generic file search a-la google for our files.