tty.h (8870) | tty.h (26926) |
---|---|
1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Christos Zoulas of Cornell University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 131 unchanged lines hidden (view full) --- 140 */ 141#if defined(convex) || defined(__convex__) 142# if defined(IEXTEN) && IEXTEN != 0 143# undef IEXTEN 144# define IEXTEN 0 145# endif /* IEXTEN != 0 */ 146#endif /* convex || __convex__ */ 147 | 1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Christos Zoulas of Cornell University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 131 unchanged lines hidden (view full) --- 140 */ 141#if defined(convex) || defined(__convex__) 142# if defined(IEXTEN) && IEXTEN != 0 143# undef IEXTEN 144# define IEXTEN 0 145# endif /* IEXTEN != 0 */ 146#endif /* convex || __convex__ */ 147 |
148/* 149 * So that we don't lose job control. 150 */ 151#ifdef __SVR4 152# undef CSWTCH 153#endif |
|
148 | 154 |
149 | |
150#ifndef _POSIX_VDISABLE 151# define _POSIX_VDISABLE ((unsigned char) -1) 152#endif /* _POSIX_VDISABLE */ 153 154#if !defined(CREPRINT) && defined(CRPRNT) 155# define CREPRINT CRPRNT 156#endif /* !CREPRINT && CRPRNT */ 157#if !defined(CDISCARD) && defined(CFLUSH) --- 283 unchanged lines hidden (view full) --- 441#define M_OUT 1 442#define M_CTL 2 443#define M_LIN 3 444#define M_CHAR 4 445#define M_NN 5 446 447typedef struct { 448 char *t_name; | 155#ifndef _POSIX_VDISABLE 156# define _POSIX_VDISABLE ((unsigned char) -1) 157#endif /* _POSIX_VDISABLE */ 158 159#if !defined(CREPRINT) && defined(CRPRNT) 160# define CREPRINT CRPRNT 161#endif /* !CREPRINT && CRPRNT */ 162#if !defined(CDISCARD) && defined(CFLUSH) --- 283 unchanged lines hidden (view full) --- 446#define M_OUT 1 447#define M_CTL 2 448#define M_LIN 3 449#define M_CHAR 4 450#define M_NN 5 451 452typedef struct { 453 char *t_name; |
449 int t_setmask; 450 int t_clrmask; | 454 u_int t_setmask; 455 u_int t_clrmask; |
451} ttyperm_t[NN_IO][M_NN]; 452 453typedef unsigned char ttychar_t[NN_IO][C_NCC]; 454 455protected int tty_init __P((EditLine *)); 456protected void tty_end __P((EditLine *)); 457protected int tty_stty __P((EditLine *, int, char**)); 458protected int tty_rawmode __P((EditLine *)); --- 18 unchanged lines hidden --- | 456} ttyperm_t[NN_IO][M_NN]; 457 458typedef unsigned char ttychar_t[NN_IO][C_NCC]; 459 460protected int tty_init __P((EditLine *)); 461protected void tty_end __P((EditLine *)); 462protected int tty_stty __P((EditLine *, int, char**)); 463protected int tty_rawmode __P((EditLine *)); --- 18 unchanged lines hidden --- |