Subversion Repositories planix.SVN

Rev

Rev 115 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 115 Rev 119
Line 8... Line 8...
8
char *copyright =
8
char *copyright =
9
"@(#) Copyright (c) 1980 Regents of the University of California.\n\
9
"@(#) Copyright (c) 1980 Regents of the University of California.\n\
10
 All rights reserved.\n";
10
 All rights reserved.\n";
11
 
11
 
12
static char *sccsid = "@(#)ex.c	7.5.1.1 (Berkeley) 8/12/86";
12
static char *sccsid = "@(#)ex.c	7.5.1.1 (Berkeley) 8/12/86";
13
#endif not lint
13
#endif /*not lint*/
14
 
14
 
15
#include "ex.h"
15
#include "ex.h"
16
#include "ex_argv.h"
16
#include "ex_argv.h"
17
#include "ex_temp.h"
17
#include "ex_temp.h"
18
#include "ex_tty.h"
18
#include "ex_tty.h"
Line 83... Line 83...
83
 * there is a 'v' in our name, "view" is there is a 'w', and "edit" if
83
 * there is a 'v' in our name, "view" is there is a 'w', and "edit" if
84
 * there is a 'd' in our name.  For edit we just diddle options;
84
 * there is a 'd' in our name.  For edit we just diddle options;
85
 * for vi we actually force an early visual command.
85
 * for vi we actually force an early visual command.
86
 */
86
 */
87
main(ac, av)
87
main(ac, av)
88
	register int ac;
88
	int ac;
89
	register char *av[];
89
	const char *av[];
90
{
90
{
91
#ifndef VMUNIX
91
#ifndef VMUNIX
92
	char *erpath = EXSTRINGS;
92
	char *erpath = EXSTRINGS;
93
#endif
93
#endif
94
	register char *cp;
94
	register char *cp;