Thread View: comp.mail.mh
3 messages
3 total messages
Started by Martin McCormick
Tue, 12 Jan 1993 17:48
Where is current Information Stored?
Author: Martin McCormick
Date: Tue, 12 Jan 1993 17:48
Date: Tue, 12 Jan 1993 17:48
9 lines
907 bytes
907 bytes
I am curious as to how MH stores the current message number and current folder name. I could dig through the sources to find it out, but I hope somebody already knows without going to a lot of trouble. Many thanks. Martin McCormick WB5AGZ Stillwater, OK O.S.U. Computer Center Data Communications Group
Re: Where is current Information Stored?
Author: Martin McCormick
Date: Tue, 12 Jan 1993 20:38
Date: Tue, 12 Jan 1993 20:38
9 lines
1053 bytes
1053 bytes
I want to thank all who answered. The current folder is found in $home/Mail/context and the current message number is found in .mh_sequences which resides in the folder. I wasn't as thorough at looking as I thought. The name, "context" threw me off of looking there, and I forgot to do ls-a in any folder or I would have seen it. Martin McCormick WB5AGZ Stillwater, OK O.S.U. Computer Center Data Communications Group
Re: Where is current Information Stored?
Author: Peter Kaminski
Date: Tue, 12 Jan 1993 21:33
Date: Tue, 12 Jan 1993 21:33
20 lines
1319 bytes
1319 bytes
In <1993Jan12.174858.11636@osuunx.ucc.okstate.edu>
martin@datacomm.ucc.okstate.edu (Martin McCormick) writes:
>I am curious as to how MH stores the current message number and current
>folder name. I could dig through the sources to find it out...
...or the docs -- a couple of the man pages are relevant. Here's one --
from the FILES section of the mh-sequence(5) man page:
<mh-dir>/context The user context
<folder>/.mh_sequences Public sequences for <folder>
See the docs for more detail, but the current folder name is in
<mh-dir>/context, current sequence info is in the folder with the
messages in .mh_sequences if the folder is writable, otherwise it's
in <mh-dir>/context.
Have fun!
Pete
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads