2 * Copyright (c) 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 * Copyright (c) 1993, 1994, 1995, 1996
5 * Keith Bostic. All rights reserved.
7 * See the LICENSE file for redistribution information.
13 static const char sccsid
[] = "$Id: ex_open.c,v 10.7 1996/03/06 19:52:29 bostic Exp $ (Berkeley) $Date: 1996/03/06 19:52:29 $";
16 #include <sys/types.h>
17 #include <sys/queue.h>
19 #include <bitstring.h>
23 #include "../common/common.h"
26 * ex_open -- :[line] o[pen] [/pattern/] [flags]
28 * Switch to single line "open" mode.
30 * PUBLIC: int ex_open __P((SCR *, EXCMD *));
37 /* If open option off, disallow open command. */
38 if (!O_ISSET(sp
, O_OPEN
)) {
40 "140|The open command requires that the open option be set");
44 msgq(sp
, M_ERR
, "141|The open command is not yet implemented");