extern.h (92922) | extern.h (200419) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)extern.h 8.1 (Berkeley) 6/9/93 | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)extern.h 8.1 (Berkeley) 6/9/93 |
34 * $FreeBSD: head/usr.bin/tset/extern.h 92922 2002-03-22 01:42:45Z imp $ | 34 * $FreeBSD: head/usr.bin/tset/extern.h 200419 2009-12-11 23:30:22Z delphij $ |
35 */ 36 | 35 */ 36 |
37#include <termcap.h> 38 | |
39extern struct termios mode, oldmode; 40extern int Columns, isreset, Lines; 41extern int erasech, intrchar, killch; 42 43void add_mapping(const char *, char *); 44void cat(char *); 45const char *get_termcap_entry(char *, char **); 46const char *mapped(const char *); 47int outc(int); 48void reset_mode(void); 49void set_control_chars(void); 50void set_conversions(int); 51void set_init(void); 52void wrtermcap(char *); | 37extern struct termios mode, oldmode; 38extern int Columns, isreset, Lines; 39extern int erasech, intrchar, killch; 40 41void add_mapping(const char *, char *); 42void cat(char *); 43const char *get_termcap_entry(char *, char **); 44const char *mapped(const char *); 45int outc(int); 46void reset_mode(void); 47void set_control_chars(void); 48void set_conversions(int); 49void set_init(void); 50void wrtermcap(char *); |