-------- Original Message --------
From: Johan Commelin <[email protected]>
Date: Thu, 17 Oct 2013 15:27:50 +0200
Subject: Re: [S-nail] Are s-nail and mh related?
To: Steffen Daode <[email protected]>

Dear Steffen,

Thank you very much for your reply. I understand your arguments, and I
especially like what you are saying in the last paragraphs. It is
hypthetic, but it seems to me that it would be perfect for all sorts
of synergetic scripting. I will keep thinking about integrating a mail
client with the shell…

Best,
Johan


On Thu, Oct 17, 2013 at 3:09 PM, Steffen Daode <[email protected]> wrote:
> Hi,
>
> Johan Commelin <[email protected]> wrote:
>  |I am a bit confused, hopefully you can help me out. I would be very
>  |glad to use mh-like commands (mhshow, next, prev, ...) with an IMAP
>  |mailbox (possibly synced with offlineIMAP). It seems that s-nail is
>  |the way forward for those of us that want a CLI mail client with tight
>  |shell integration.
>  |
>  |But when I start s-nail, I am dropped into a monolith program. That
>
> From my point of view that is not what S-nail is about.  S-nail is
> in the tradition of BSD Mail, which is a monolithic program.
> Thus i'm also not sure that S-nail is a way forward :)
>
>  |is, I can not:
>  |> freely intersperse nmh commands with other commands
>  |> at your shell prompt, or write custom scripts which use
>  |> these commands in flexible ways.
>  |                                        --- http://www.nongnu.org/nmh/
>  |
>  |Am I overlooking something? Or is it possible to write commandline
>  |wrappers around s-nail that would provide this mh-like experience?
>
> Short answer: no.
>
> In the far future (starting with S-nail v15.0, not before (year)
> 2015) you will at least be able to address MIME parts
> individually.
>
> It would be nice to end up being able to extract a single
> attachment / whatever part from a specific message inside
> a folder, but i'm not sure and it is anyway a pie in the sky.
>
> Until then your only option is to define mimetype handlers for
> viewing and whatever else you can do with sending ('set
> pipe-content/subcontent=action', e.g., 'set
> pipe-application/pgp-signature=@' for treating signatures as plain
> text), but one should be careful to do so at the moment, because
> all such handlers execute once the message is viewed...
>
> And personally i don't really like the concept of nmh(1) in
> a normal UNIX environment.  Things are different on Plan9 (9front,
> 9atom) with its mail filesystem, which lets you address the
> individual parts of a message as normal files.  That is, i never
> have used nmh, but i don't think there is an active (per-user)
> server which acts as a caching instance or something?  So i would
> go grazy thinking about the work that happens in the background..
>
> P.S.: note that "offline IMAP" may even change in the future and
> may end up as a special mode of database operation.  Today sqlite
> is everywhere, and it wouldn't it be nice to organize messages in
> a nicely layed out database, automatically, splitted into headers
> and (compressed?) message (blobs)?  Like that sqlite command line
> tools can be used to act on the database, and then we could offer
> an interaction with a specific unique DB message-ID.  But this is
> even more hypothetic.  (Yet i like the idea.)
>
> --steffen
>
>
> ---------- Forwarded message ----------
> From: Johan Commelin <[email protected]>
> To: [email protected]
> Cc:
> Date: Thu, 17 Oct 2013 13:35:27 +0200
> Subject: [S-nail] Are s-nail and mh related?
> Dear s-nail-users,
>
> I am a bit confused, hopefully you can help me out. I would be very
> glad to use mh-like commands (mhshow, next, prev, ...) with an IMAP
> mailbox (possibly synced with offlineIMAP). It seems that s-nail is
> the way forward for those of us that want a CLI mail client with tight
> shell integration.
>
> But when I start s-nail, I am dropped into a monolith program. That
> is, I can not:
>> freely intersperse nmh commands with other commands
>> at your shell prompt, or write custom scripts which use
>> these commands in flexible ways.
>                                         --- http://www.nongnu.org/nmh/
>
> Am I overlooking something? Or is it possible to write commandline
> wrappers around s-nail that would provide this mh-like experience?
>
> Best regards,
> Johan Commelin
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> _______________________________________________
> S-nail-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/s-nail-users
>
>


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users

Reply via email to