{ "list", 0 },
#define SENDSW 4
{ "send [<switches>]", 0 },
-#define PUSHSW 5
- { "push [<switches>]", 0 },
-#define QUITSW 6
+#define QUITSW 5
{ "quit", 0 },
-#define DELETESW 7
+#define DELETESW 6
{ "delete", 0 },
-#define CDCMDSW 8
+#define CDCMDSW 7
{ "cd [directory]", 0 },
-#define PWDCMDSW 9
+#define PWDCMDSW 8
{ "pwd", 0 },
-#define LSCMDSW 10
+#define LSCMDSW 9
{ "ls", 0 },
-#define ATTACHCMDSW 11
+#define ATTACHCMDSW 10
{ "attach", 0 },
-#define DETACHCMDSW 12
+#define DETACHCMDSW 11
{ "detach [-n]", 0 },
-#define ALISTCMDSW 13
+#define ALISTCMDSW 12
{ "alist", 0 },
{ NULL, 0 }
};
*/
static int editfile(char **, char **, char *, int, struct msgs *,
char *, char *, int);
-static int sendfile(char **, char *, int);
+static int sendfile(char **, char *);
static int refile(char **, char *);
static int removefile(char *);
static void writelscmd(char *, int, char **);
removefile(drft);
done(1);
- case PUSHSW:
- /* Send draft in background */
- if (sendfile(++argp, drft, 1))
- done(1);
- break;
-
case SENDSW:
/* Send draft */
- sendfile(++argp, drft, 0);
+ sendfile(++argp, drft);
break;
case REFILEOPT:
*/
static int
-sendfile(char **arg, char *file, int pushsw)
+sendfile(char **arg, char *file)
{
pid_t child_id;
int vecp;
case OK:
vecp = 0;
vec[vecp++] = invo_name;
- if (pushsw)
- vec[vecp++] = "-push";
if (arg)
while (*arg)
vec[vecp++] = *arg++;