version 1.1, 1995/10/18 08:45:38 |
version 1.2, 1996/06/11 12:53:38 |
|
|
|
/* $OpenBSD$ */ |
|
/* $NetBSD: edit.c,v 1.5 1996/06/08 19:48:20 christos Exp $ */ |
|
|
/* |
/* |
* Copyright (c) 1980, 1993 |
* Copyright (c) 1980, 1993 |
* The Regents of the University of California. All rights reserved. |
* The Regents of the University of California. All rights reserved. |
|
|
*/ |
*/ |
|
|
#ifndef lint |
#ifndef lint |
static char sccsid[] = "from: @(#)edit.c 8.1 (Berkeley) 6/6/93"; |
#if 0 |
static char rcsid[] = "$Id$"; |
static char sccsid[] = "@(#)edit.c 8.1 (Berkeley) 6/6/93"; |
|
#else |
|
static char rcsid[] = "$OpenBSD$"; |
|
#endif |
#endif /* not lint */ |
#endif /* not lint */ |
|
|
#include "rcv.h" |
#include "rcv.h" |
|
|
* Edit a message list. |
* Edit a message list. |
*/ |
*/ |
int |
int |
editor(msgvec) |
editor(v) |
int *msgvec; |
void *v; |
{ |
{ |
|
int *msgvec = v; |
|
|
return edit1(msgvec, 'e'); |
return edit1(msgvec, 'e'); |
} |
} |
|
|
* Invoke the visual editor on a message list. |
* Invoke the visual editor on a message list. |
*/ |
*/ |
int |
int |
visual(msgvec) |
visual(v) |
int *msgvec; |
void *v; |
{ |
{ |
|
int *msgvec = v; |
|
|
return edit1(msgvec, 'v'); |
return edit1(msgvec, 'v'); |
} |
} |