delete mention of ^Y; currently don't allow ^Y or ^E.
[unix-history] / usr / src / usr.bin / pascal / pdx / main.h
CommitLineData
58e9ea3e 1/*
3cd5310a
DF
2 * Copyright (c) 1980 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
7d4de299 6 * @(#)main.h 5.3 (Berkeley) %G%
3cd5310a
DF
7 */
8
d1b9b2b2 9/*
58e9ea3e
ML
10 * Definitions for main program.
11 *
12 * The main program just handles the command arguments and then
13 * gives control to the command module. It's also the center of
14 * error recovery, since non-fatal errors longjmp into the main routine.
15 */
16
17BOOLEAN opt[26]; /* true if command line option given */
18
19#define option(c) opt[(c)-'a']
863e0bb9 20#define isterm(file) (option('i') || isatty(fileno(file)))
58e9ea3e 21
7d4de299
KB
22int main(); /* debugger main routine */
23int init(); /* read in source and object data */
24int erecover(); /* does non-local goto for error recovery */
25int quit(); /* clean-up before exiting */