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 |
154 |
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; |
454 u_int t_setmask; 455 u_int t_clrmask; |
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 --- |