[jdev] Jabber File System !!!!

Samuel Goto samuelgoto at gmail.com
Sat Sep 17 08:26:59 CDT 2005


hummmm ... it seems like a good idea too ...

I was thinking about how to have the files organized ... 


I first tought about creating a dir for servers, like

ls /tmp
jabber.org server2.com server3.com

then

ls /tmp/jabber.org/
peter mel samuelgoto ra017335

then

ls /tmp/jabber.org/samuelgoto
messages files profile 

Ideas ?

On 9/16/05, Trejkaz <trejkaz at trypticon.org> wrote:
> On Fri, 16 Sep 2005 17:16, Sander Devrieze wrote:
> > I see you use the commands "cat" and "less" in the examples to read
> > incoming messages. Isn't the command "tail -f" better to do this?
> 
> I would argue that the better solution altogether would be to make it a
> directory with one file for each incoming message.  Creation time on the
> message files is the time the respective message was received.
> 
> Then code can register for notification in changes in a directory to monitor
> for new messages.
> 
> A really perverse modification would expose all this as a set of Maildir
> folders, for access through Pine. ;-)
> 
> TX
> 
> --
>              Email: Trejkaz Xaoza <trejkaz at trypticon.org>
>           Web site: http://trypticon.org/
>          Jabber ID: trejkaz at jabber.zim.net.au
>    GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73
> 
> 
> 


-- 
f u cn rd ths u cn b a gd prgmr !



More information about the JDev mailing list