+ {"madmutt_version", DT_SYS, R_NONE, 0, VERSION },
+ /*
+ ** .pp
+ ** \fIThis is a read-only system property and specifies madmutt's
+ ** version string.\fP
+ */
+ {"madmutt_revision", DT_SYS, R_NONE, 0, MUTT_REVISION },
+ /*
+ ** .pp
+ ** \fIThis is a read-only system property and specifies madmutt's
+ ** subversion revision string.\fP
+ */
+ {"madmutt_sysconfdir", DT_SYS, R_NONE, 0, SYSCONFDIR },
+ /*
+ ** .pp
+ ** \fIThis is a read-only system property and specifies the
+ ** directory containing the madmutt system-wide configuration.\fP
+ */
+ {"madmutt_bindir", DT_SYS, R_NONE, 0, BINDIR },
+ /*
+ ** .pp
+ ** \fIThis is a read-only system property and specifies the
+ ** directory containing the madmutt binary.\fP
+ */
+ {"madmutt_docdir", DT_SYS, R_NONE, 0, PKGDOCDIR },
+ /*
+ ** .pp
+ ** \fIThis is a read-only system property and specifies the
+ ** directory containing the madmutt documentation.\fP
+ */
+#ifdef USE_HCACHE
+#if defined(HAVE_QDBM)
+ {"madmutt_hcache_backend", DT_SYS, R_NONE, 0, "qdbm" },
+#elif defined(HAVE_GDBM)
+ {"madmutt_hcache_backend", DT_SYS, R_NONE, 0, "gdbm" },
+#elif defined(HAVE_DB4)
+ {"madmutt_hcache_backend", DT_SYS, R_NONE, 0, "db4" },
+#else
+ {"madmutt_hcache_backend", DT_SYS, R_NONE, 0, "unknown" },
+#endif
+ /*
+ ** .pp
+ ** \fIThis is a read-only system property and specifies the
+ ** header chaching's database backend.\fP
+ */
+#endif
+ {"madmutt_folder_path", DT_SYS, R_NONE, 0, "" },
+ /*
+ ** .pp
+ ** \fIThis is a read-only system property and, at runtime,
+ ** specifies the full path or URI of the folder currently
+ ** open (if any).\fP
+ */
+ {"madmutt_folder_name", DT_SYS, R_NONE, 0, "" },
+ /*
+ ** .pp
+ ** \fIThis is a read-only system property and, at runtime,
+ ** specifies the actual name of the folder as far as it could
+ ** be detected.\fP
+ ** .pp
+ ** For detection, $$$folder is first taken into account
+ ** and simply stripped to form the result when a match is found. For
+ ** example, with $$$folder being \fTimap://host\fP and the folder is
+ ** \fTimap://host/INBOX/foo\fP, $$$madmutt_folder_name will be just
+ ** \fTINBOX/foo\fP.)
+ ** .pp
+ ** Second, if the initial portion of a name is not $$$folder,
+ ** the result will be everything after the last ``/''.
+ ** .pp
+ ** Third and last, the result will be just the name if neither
+ ** $$$folder nor a ``/'' were found in the name.
+ */
+ {"madmutt_pwd", DT_SYS, R_NONE, 0, "" },
+ /*
+ ** .pp
+ ** \fIThis is a read-only system property and, at runtime,
+ ** specifies the current working directory of the madmutt
+ ** binary.\fP
+ */
+ {"operating_system", DT_STR, R_NONE, UL &OperatingSystem, "" },