historic vi remapped characters in the executed @ buffer
[nvi.git] / vi / v_ex.c
blobd082643bf3efcc1be7a225cd8e30da74785ad973
1 /*-
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
5 * %sccs.include.redist.c%
6 */
8 #ifndef lint
9 static char sccsid[] = "$Id: v_ex.c,v 8.1 1993/06/09 22:26:58 bostic Exp $ (Berkeley) $Date: 1993/06/09 22:26:58 $";
10 #endif /* not lint */
12 #include <sys/types.h>
14 #include "vi.h"
15 #include "vcmd.h"
18 * v_ex --
19 * Run ex.
21 int
22 v_ex(sp, ep, vp, fm, tm, rp)
23 SCR *sp;
24 EXF *ep;
25 VICMDARG *vp;
26 MARK *fm, *tm, *rp;
28 return (sp->s_ex_run(sp, ep, rp));