#define BUILTIN_FTP 1
/*
- * Name of link to file to which you are replying.
- */
-#define LINK "@"
-
-/*
* Define to 1 if your vi has ATT bug, such that it returns
* non-zero exit codes on `pseudo-errors'.
*/
char *defaulteditor = "vi";
+/*
+ * Name of link to file to which you are replying or which you are
+ * redistributing. See `$mhaltmsg' in the mh-profile(5) man page.
+ */
+char *altmsglink = "@";
+
/*
* This is the global nmh alias file. It is somewhat obsolete, since
* global aliases should be handled by the Mail Transport Agent (MTA).
*/
extern char *buildmimeproc;
extern char *backup_prefix;
+extern char *altmsglink;
extern char *catproc;
extern char *components;
extern char *context;
(profile, default: `,')
.RE
.PP
+.BR AltMsg-Link :
+@
+.RS 5
+Name of the link to the file to which you are replying or which you are
+redistributing. See `$mhaltmsg' below.
+(profile, default: `@')
+.RE
+.PP
.BR automimeproc :
.RS 5
If defined and set to 1, then the
.B dist
and
.B repl
-during edit sessions so you can
-peruse the message being distributed or replied to. The message is also
-available through a link called \*(lq@\*(rq in the current directory if
-your current working directory and the folder the message lives in are
-on the same UNIX filesystem.
+during edit sessions so you can peruse the message being distributed or
+replied to. The message is also available through a link called
+\*(lq@\*(rq (if not changed by
+.BR altmsg-link )
+in the current directory if your current working directory
+and the message's folder are on the same UNIX filesystem.
.RE
.PP
.B $mhdraft
if (!strncmp (dp->d_name, backup_prefix, prefix_len))
continue;
- /* skip the LINK file */
- if (!strcmp (dp->d_name, LINK))
+ /* skip the altmsg link file */
+ if (!strcmp (dp->d_name, altmsglink))
continue;
/* indicate that there are other files in folder */
{ "context", &context },
{ "mh-sequences", &mh_seq },
{ "backup-prefix", &backup_prefix },
+ { "altmsg-link", &altmsglink },
{ "buildmimeproc", &buildmimeproc },
{ "faceproc", &faceproc },
{ "fileproc", &fileproc },
extern char *mhlibdir;
extern char *mhetcdir;
-char *slink = LINK;
-
static struct swit switches[] = {
#define COMPSW 0
{ "components", 0 },
{ "etcdir", &mhetcdir },
{ "libdir", &mhlibdir },
{ "backup-prefix", &backup_prefix },
- { "link", &slink },
+ { "altmsg-link", &altmsglink },
{ NULL, NULL },
};
default:
if (m_atoi (dp->d_name))
break;
- if (strcmp (dp->d_name, LINK) == 0
+ if (strcmp (dp->d_name, altmsglink) == 0
|| strncmp (dp->d_name, backup_prefix, j) == 0)
break;
snprintf (prompt, sizeof(prompt), myprompt, invo_name);
for (;;) {
if (!(argp = getans (prompt, aleqs))) {
- unlink (LINK);
+ unlink (altmsglink);
done (1);
}
switch (smatch (*argp, aleqs)) {
else
snprintf (altpath, sizeof(altpath), "%s/%s", mp->foldpath, altmsg);
if (cwd == NULL)
- strncpy (linkpath, LINK, sizeof(linkpath));
+ strncpy (linkpath, altmsglink, sizeof(linkpath));
else
- snprintf (linkpath, sizeof(linkpath), "%s/%s", cwd, LINK);
+ snprintf (linkpath, sizeof(linkpath), "%s/%s", cwd, altmsglink);
}
if (altmsg) {