Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/sys
File: ttydefaults.h
/*-
[0] Fix | Delete
* Copyright (c) 1982, 1986, 1993
[1] Fix | Delete
* The Regents of the University of California. All rights reserved.
[2] Fix | Delete
* (c) UNIX System Laboratories, Inc.
[3] Fix | Delete
* All or some portions of this file are derived from material licensed
[4] Fix | Delete
* to the University of California by American Telephone and Telegraph
[5] Fix | Delete
* Co. or Unix System Laboratories, Inc. and are reproduced herein with
[6] Fix | Delete
* the permission of UNIX System Laboratories, Inc.
[7] Fix | Delete
*
[8] Fix | Delete
* Redistribution and use in source and binary forms, with or without
[9] Fix | Delete
* modification, are permitted provided that the following conditions
[10] Fix | Delete
* are met:
[11] Fix | Delete
* 1. Redistributions of source code must retain the above copyright
[12] Fix | Delete
* notice, this list of conditions and the following disclaimer.
[13] Fix | Delete
* 2. Redistributions in binary form must reproduce the above copyright
[14] Fix | Delete
* notice, this list of conditions and the following disclaimer in the
[15] Fix | Delete
* documentation and/or other materials provided with the distribution.
[16] Fix | Delete
* 4. Neither the name of the University nor the names of its contributors
[17] Fix | Delete
* may be used to endorse or promote products derived from this software
[18] Fix | Delete
* without specific prior written permission.
[19] Fix | Delete
*
[20] Fix | Delete
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
[21] Fix | Delete
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
[22] Fix | Delete
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
[23] Fix | Delete
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
[24] Fix | Delete
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
[25] Fix | Delete
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
[26] Fix | Delete
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
[27] Fix | Delete
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
[28] Fix | Delete
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
[29] Fix | Delete
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
[30] Fix | Delete
* SUCH DAMAGE.
[31] Fix | Delete
*
[32] Fix | Delete
* @(#)ttydefaults.h 8.4 (Berkeley) 1/21/94
[33] Fix | Delete
*/
[34] Fix | Delete
[35] Fix | Delete
/*
[36] Fix | Delete
* System wide defaults for terminal state. Linux version.
[37] Fix | Delete
*/
[38] Fix | Delete
#ifndef _SYS_TTYDEFAULTS_H_
[39] Fix | Delete
#define _SYS_TTYDEFAULTS_H_
[40] Fix | Delete
[41] Fix | Delete
/*
[42] Fix | Delete
* Defaults on "first" open.
[43] Fix | Delete
*/
[44] Fix | Delete
#define TTYDEF_IFLAG (BRKINT | ISTRIP | ICRNL | IMAXBEL | IXON | IXANY)
[45] Fix | Delete
#define TTYDEF_OFLAG (OPOST | ONLCR | XTABS)
[46] Fix | Delete
#define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL)
[47] Fix | Delete
#define TTYDEF_CFLAG (CREAD | CS7 | PARENB | HUPCL)
[48] Fix | Delete
#define TTYDEF_SPEED (B9600)
[49] Fix | Delete
[50] Fix | Delete
/*
[51] Fix | Delete
* Control Character Defaults
[52] Fix | Delete
*/
[53] Fix | Delete
#define CTRL(x) (x&037)
[54] Fix | Delete
#define CEOF CTRL('d')
[55] Fix | Delete
#ifdef _POSIX_VDISABLE
[56] Fix | Delete
# define CEOL _POSIX_VDISABLE
[57] Fix | Delete
#else
[58] Fix | Delete
# define CEOL '\0' /* XXX avoid _POSIX_VDISABLE */
[59] Fix | Delete
#endif
[60] Fix | Delete
#define CERASE 0177
[61] Fix | Delete
#define CINTR CTRL('c')
[62] Fix | Delete
#ifdef _POSIX_VDISABLE
[63] Fix | Delete
# define CSTATUS _POSIX_VDISABLE
[64] Fix | Delete
#else
[65] Fix | Delete
# define CSTATUS '\0' /* XXX avoid _POSIX_VDISABLE */
[66] Fix | Delete
#endif
[67] Fix | Delete
#define CKILL CTRL('u')
[68] Fix | Delete
#define CMIN 1
[69] Fix | Delete
#define CQUIT 034 /* FS, ^\ */
[70] Fix | Delete
#define CSUSP CTRL('z')
[71] Fix | Delete
#define CTIME 0
[72] Fix | Delete
#define CDSUSP CTRL('y')
[73] Fix | Delete
#define CSTART CTRL('q')
[74] Fix | Delete
#define CSTOP CTRL('s')
[75] Fix | Delete
#define CLNEXT CTRL('v')
[76] Fix | Delete
#define CDISCARD CTRL('o')
[77] Fix | Delete
#define CWERASE CTRL('w')
[78] Fix | Delete
#define CREPRINT CTRL('r')
[79] Fix | Delete
#define CEOT CEOF
[80] Fix | Delete
/* compat */
[81] Fix | Delete
#define CBRK CEOL
[82] Fix | Delete
#define CRPRNT CREPRINT
[83] Fix | Delete
#define CFLUSH CDISCARD
[84] Fix | Delete
[85] Fix | Delete
/* PROTECTED INCLUSION ENDS HERE */
[86] Fix | Delete
#endif /* !_SYS_TTYDEFAULTS_H_ */
[87] Fix | Delete
[88] Fix | Delete
/*
[89] Fix | Delete
* #define TTYDEFCHARS to include an array of default control characters.
[90] Fix | Delete
*/
[91] Fix | Delete
#ifdef TTYDEFCHARS
[92] Fix | Delete
cc_t ttydefchars[NCCS] = {
[93] Fix | Delete
CEOF, CEOL, CEOL, CERASE, CWERASE, CKILL, CREPRINT,
[94] Fix | Delete
_POSIX_VDISABLE, CINTR, CQUIT, CSUSP, CDSUSP, CSTART, CSTOP, CLNEXT,
[95] Fix | Delete
CDISCARD, CMIN, CTIME, CSTATUS, _POSIX_VDISABLE
[96] Fix | Delete
};
[97] Fix | Delete
#undef TTYDEFCHARS
[98] Fix | Delete
#endif
[99] Fix | Delete
[100] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function