tty.h (296175) | tty.h (296435) |
---|---|
1/* $NetBSD: tty.h,v 1.19 2016/02/27 18:13:21 christos Exp $ */ | 1/* $NetBSD: tty.h,v 1.15 2014/05/19 19:54:12 christos Exp $ */ |
2 3/*- 4 * Copyright (c) 1992, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Christos Zoulas of Cornell University. 9 * --- 17 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)tty.h 8.1 (Berkeley) 6/4/93 | 2 3/*- 4 * Copyright (c) 1992, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Christos Zoulas of Cornell University. 9 * --- 17 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)tty.h 8.1 (Berkeley) 6/4/93 |
35 * $FreeBSD: head/lib/libedit/tty.h 296175 2016-02-29 00:15:25Z pfg $ | 35 * $FreeBSD: head/lib/libedit/tty.h 296435 2016-03-06 21:32:54Z pfg $ |
36 */ 37 38/* 39 * el.tty.h: Local terminal header 40 */ 41#ifndef _h_el_tty 42#define _h_el_tty 43 | 36 */ 37 38/* 39 * el.tty.h: Local terminal header 40 */ 41#ifndef _h_el_tty 42#define _h_el_tty 43 |
44#include "sys.h" 45#include "histedit.h" |
|
44#include <termios.h> 45#include <unistd.h> 46 47/* Define our own since everyone gets it wrong! */ 48#define CONTROL(A) ((A) & 037) 49 50/* 51 * Aix compatible names --- 416 unchanged lines hidden (view full) --- 468 469typedef struct { 470 ttyperm_t t_t; 471 ttychar_t t_c; 472 struct termios t_or, t_ex, t_ed, t_ts; 473 int t_tabs; 474 int t_eight; 475 speed_t t_speed; | 46#include <termios.h> 47#include <unistd.h> 48 49/* Define our own since everyone gets it wrong! */ 50#define CONTROL(A) ((A) & 037) 51 52/* 53 * Aix compatible names --- 416 unchanged lines hidden (view full) --- 470 471typedef struct { 472 ttyperm_t t_t; 473 ttychar_t t_c; 474 struct termios t_or, t_ex, t_ed, t_ts; 475 int t_tabs; 476 int t_eight; 477 speed_t t_speed; |
476 unsigned char t_mode; | 478 int t_mode; |
477 unsigned char t_vdisable; | 479 unsigned char t_vdisable; |
478 unsigned char t_initialized; | |
479} el_tty_t; 480 481 482#endif /* _h_el_tty */ | 480} el_tty_t; 481 482 483#endif /* _h_el_tty */ |