1: /* $Header: /home/hyperion/mu/christos/src/sys/tcsh-6.00/RCS/ed.decls.h,v 3.0 1991/07/04 21:49:28 christos Exp $ */
2: /*
3: * ed.decls.h: Editor external definitions
4: */
5: /*-
6: * Copyright (c) 1980, 1991 The Regents of the University of California.
7: * All rights reserved.
8: *
9: * Redistribution and use in source and binary forms, with or without
10: * modification, are permitted provided that the following conditions
11: * are met:
12: * 1. Redistributions of source code must retain the above copyright
13: * notice, this list of conditions and the following disclaimer.
14: * 2. Redistributions in binary form must reproduce the above copyright
15: * notice, this list of conditions and the following disclaimer in the
16: * documentation and/or other materials provided with the distribution.
17: * 3. All advertising materials mentioning features or use of this software
18: * must display the following acknowledgement:
19: * This product includes software developed by the University of
20: * California, Berkeley and its contributors.
21: * 4. Neither the name of the University nor the names of its contributors
22: * may be used to endorse or promote products derived from this software
23: * without specific prior written permission.
24: *
25: * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
26: * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28: * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
29: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31: * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35: * SUCH DAMAGE.
36: */
37: #ifndef _h_ed_decls
38: #define _h_ed_decls
39:
40: /*
41: * ed.chared.c
42: */
43: extern int InsertStr __P((Char *));
44: extern void DeleteBack __P((int));
45:
46: /*
47: * ed.init.c
48: */
49: extern void check_window_size __P((int));
50: #ifdef SIG_WINDOW
51: extern sigret_t window_change __P((int));
52: #endif
53: extern void ed_I __P((void));
54: extern int Cookedmode __P((void));
55: extern int Rawmode __P((void));
56: extern void ed_set_tty_eight_bit __P((void));
57:
58: extern void QModeOn __P((void));
59: extern void QModeOff __P((void));
60: extern void ResetInLine __P((void));
61: extern int Load_input_line __P((void));
62:
63: /*
64: * ed.screen.c
65: */
66: extern void SetAttributes __P((int));
67: extern void so_write __P((Char *, int));
68: extern void ClearScreen __P((void));
69: extern void MoveToLine __P((int));
70: extern void MoveToChar __P((int));
71: extern void ClearEOL __P((int));
72: extern void Insert_write __P((Char *, int));
73: extern void DeleteChars __P((int));
74: extern void TellTC __P((char *));
75: extern void SetTC __P((char *, char *));
76: extern void EchoTC __P((Char **));
77: extern void BindArrowKeys __P((void));
78: extern void Beep __P((void));
79: extern int CanWeTab __P((void));
80: extern void ChangeSize __P((int, int));
81: extern int GetSize __P((int *, int *));
82: extern void ClearToBottom __P((void));
83: extern void GetTermCaps __P((void));
84:
85: /*
86: * ed.defns.c
87: */
88: extern void ed_INLSMaps __P((void));
89: #ifdef DEBUG_EDIT
90: extern void CheckMaps __P((void));
91: #endif
92: extern void ed_IMaps __P((void));
93: extern void ed_IEmacsMaps __P((void));
94: extern void ed_IVIMaps __P((void));
95:
96: /*
97: * ed.inputl.c
98: */
99: extern int Inputl __P((void));
100: extern int G_N_Char __P((Char *));
101: extern void PushMacro __P((Char *));
102:
103: /*
104: * ed.refresh.c
105: */
106: extern void ClearLines __P((void));
107: extern void ClearDisp __P((void));
108: extern void Refresh __P((void));
109: extern void RefCursor __P((void));
110: extern void RefPlusOne __P((void));
111: extern void PastBottom __P((void));
112:
113: /*
114: * ed.xmap.c
115: */
116: extern void AddXKeyCmd __P((Char *, int));
117: extern void AddXkey __P((Char *, Char *));
118: extern void ClearXkey __P((KEYCMD *, Char *));
119: extern int GetXkey __P((Char *, Char **));
120: extern void ResetXmap __P((int));
121: extern int DeleteXkey __P((Char *));
122: extern void PrintXkey __P((Char *));
123:
124: #endif /* _h_ed_decls */
Defined macros
Usage of this include