nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Future directions for nmh

2016-03-12 01:43:17


Ken Hornstein wrote:
Well, it depends on the message.  Sometimes I get a message with 20 photos
attached.  I just want to be able to easily go from one to the next without
having to type their part number.

But ... what's wrong with doing something like:

mhstore -type image

Then you can deal with each of those photos as a seperate file.

ui wise, i don't want files. i want to act on the attachments (view them, in this case) and then leave them stored as attachments (without having to delete any temporary files.)

i don't know exactly how to match mime to the simplicity of show(1), and i've been violently repulsed any time i tried to use mhshow(1), but i think what i want would look a bit like whatnow(1) is to send(1). (for many years i used "send -wa" because my sendmail.cf was a hack, then i used "push" when i stopped being fascinated by SMTP traces.)

the command set i'd suggest for whatnowmime(1) would include things like:

ls | dir
        shows the full message structure (like in ftp)
cd x.y.z
        go to part x subpart y subsubpart z
next
        go to next attachment at same level (like in gdb)
step
        go to next attachment at or below the current one (like gdb)
prev
        opposite of next
back
        opposite of step
up
        go up one level
view
        launch an external viewer suitable for this mimetype
show
        do the best you can in inline ascii for this mimetype
save [-r] [x.y.z]
save the current part (default) or part x subpart y subsubpart z, maybe recursively (-r)
quit
        exit from mhshow(1)

--
P Vixie

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>