head 1.11; access; symbols netbsd-10-0-RC6:1.11 netbsd-10-0-RC5:1.11 netbsd-10-0-RC4:1.11 netbsd-10-0-RC3:1.11 netbsd-10-0-RC2:1.11 netbsd-10-0-RC1:1.11 netbsd-10:1.11.0.36 netbsd-10-base:1.11 netbsd-9-3-RELEASE:1.11 cjep_sun2x-base1:1.11 cjep_sun2x:1.11.0.34 cjep_sun2x-base:1.11 cjep_staticlib_x-base1:1.11 netbsd-9-2-RELEASE:1.11 cjep_staticlib_x:1.11.0.32 cjep_staticlib_x-base:1.11 netbsd-9-1-RELEASE:1.11 phil-wifi-20200421:1.11 phil-wifi-20200411:1.11 is-mlppp:1.11.0.30 is-mlppp-base:1.11 phil-wifi-20200406:1.11 netbsd-8-2-RELEASE:1.11 netbsd-9-0-RELEASE:1.11 netbsd-9-0-RC2:1.11 netbsd-9-0-RC1:1.11 phil-wifi-20191119:1.11 netbsd-9:1.11.0.28 netbsd-9-base:1.11 phil-wifi-20190609:1.11 netbsd-8-1-RELEASE:1.11 netbsd-8-1-RC1:1.11 pgoyette-compat-merge-20190127:1.11 pgoyette-compat-20190127:1.11 pgoyette-compat-20190118:1.11 pgoyette-compat-1226:1.11 pgoyette-compat-1126:1.11 pgoyette-compat-1020:1.11 pgoyette-compat-0930:1.11 pgoyette-compat-0906:1.11 netbsd-7-2-RELEASE:1.11 pgoyette-compat-0728:1.11 netbsd-8-0-RELEASE:1.11 phil-wifi:1.11.0.26 phil-wifi-base:1.11 pgoyette-compat-0625:1.11 netbsd-8-0-RC2:1.11 pgoyette-compat-0521:1.11 pgoyette-compat-0502:1.11 pgoyette-compat-0422:1.11 netbsd-8-0-RC1:1.11 pgoyette-compat-0415:1.11 pgoyette-compat-0407:1.11 pgoyette-compat-0330:1.11 pgoyette-compat-0322:1.11 pgoyette-compat-0315:1.11 netbsd-7-1-2-RELEASE:1.11 pgoyette-compat:1.11.0.24 pgoyette-compat-base:1.11 netbsd-7-1-1-RELEASE:1.11 matt-nb8-mediatek:1.11.0.22 matt-nb8-mediatek-base:1.11 perseant-stdc-iso10646:1.11.0.20 perseant-stdc-iso10646-base:1.11 netbsd-8:1.11.0.18 netbsd-8-base:1.11 prg-localcount2-base3:1.11 prg-localcount2-base2:1.11 prg-localcount2-base1:1.11 prg-localcount2:1.11.0.16 prg-localcount2-base:1.11 pgoyette-localcount-20170426:1.11 bouyer-socketcan-base1:1.11 pgoyette-localcount-20170320:1.11 netbsd-7-1:1.11.0.14 netbsd-7-1-RELEASE:1.11 netbsd-7-1-RC2:1.11 netbsd-7-nhusb-base-20170116:1.11 bouyer-socketcan:1.11.0.12 bouyer-socketcan-base:1.11 pgoyette-localcount-20170107:1.11 netbsd-7-1-RC1:1.11 pgoyette-localcount-20161104:1.11 netbsd-7-0-2-RELEASE:1.11 localcount-20160914:1.11 netbsd-7-nhusb:1.11.0.10 netbsd-7-nhusb-base:1.11 pgoyette-localcount-20160806:1.11 pgoyette-localcount-20160726:1.11 pgoyette-localcount:1.11.0.8 pgoyette-localcount-base:1.11 netbsd-7-0-1-RELEASE:1.11 netbsd-7-0:1.11.0.6 netbsd-7-0-RELEASE:1.11 netbsd-7-0-RC3:1.11 netbsd-7-0-RC2:1.11 netbsd-7-0-RC1:1.11 netbsd-5-2-3-RELEASE:1.10 netbsd-5-1-5-RELEASE:1.10 netbsd-6-0-6-RELEASE:1.10 netbsd-6-1-5-RELEASE:1.10 netbsd-7:1.11.0.4 netbsd-7-base:1.11 yamt-pagecache-base9:1.11 yamt-pagecache-tag8:1.10 netbsd-6-1-4-RELEASE:1.10 netbsd-6-0-5-RELEASE:1.10 tls-earlyentropy:1.11.0.2 tls-earlyentropy-base:1.11 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.11 riastradh-drm2-base3:1.11 netbsd-6-1-3-RELEASE:1.10 netbsd-6-0-4-RELEASE:1.10 netbsd-5-2-2-RELEASE:1.10 netbsd-5-1-4-RELEASE:1.10 netbsd-6-1-2-RELEASE:1.10 netbsd-6-0-3-RELEASE:1.10 netbsd-5-2-1-RELEASE:1.10 netbsd-5-1-3-RELEASE:1.10 netbsd-6-1-1-RELEASE:1.10 riastradh-drm2-base2:1.10 riastradh-drm2-base1:1.10 riastradh-drm2:1.10.0.66 riastradh-drm2-base:1.10 netbsd-6-1:1.10.0.72 netbsd-6-0-2-RELEASE:1.10 netbsd-6-1-RELEASE:1.10 khorben-n900:1.10.0.70 netbsd-6-1-RC4:1.10 netbsd-6-1-RC3:1.10 agc-symver:1.10.0.68 agc-symver-base:1.10 netbsd-6-1-RC2:1.10 netbsd-6-1-RC1:1.10 yamt-pagecache-base8:1.10 netbsd-5-2:1.10.0.64 netbsd-6-0-1-RELEASE:1.10 yamt-pagecache-base7:1.10 netbsd-5-2-RELEASE:1.10 netbsd-5-2-RC1:1.10 matt-nb6-plus-nbase:1.10 yamt-pagecache-base6:1.10 netbsd-6-0:1.10.0.62 netbsd-6-0-RELEASE:1.10 netbsd-6-0-RC2:1.10 tls-maxphys:1.10.0.60 tls-maxphys-base:1.11 matt-nb6-plus:1.10.0.58 matt-nb6-plus-base:1.10 netbsd-6-0-RC1:1.10 yamt-pagecache-base5:1.10 yamt-pagecache-base4:1.10 netbsd-6:1.10.0.56 netbsd-6-base:1.10 netbsd-5-1-2-RELEASE:1.10 netbsd-5-1-1-RELEASE:1.10 yamt-pagecache-base3:1.10 yamt-pagecache-base2:1.10 yamt-pagecache:1.10.0.54 yamt-pagecache-base:1.10 cherry-xenmp:1.10.0.52 cherry-xenmp-base:1.10 bouyer-quota2-nbase:1.10 bouyer-quota2:1.10.0.50 bouyer-quota2-base:1.10 matt-mips64-premerge-20101231:1.10 matt-nb5-mips64-premerge-20101231:1.10 matt-nb5-pq3:1.10.0.48 matt-nb5-pq3-base:1.10 netbsd-5-1:1.10.0.46 netbsd-5-1-RELEASE:1.10 netbsd-5-1-RC4:1.10 matt-nb5-mips64-k15:1.10 netbsd-5-1-RC3:1.10 netbsd-5-1-RC2:1.10 netbsd-5-1-RC1:1.10 netbsd-5-0-2-RELEASE:1.10 matt-nb5-mips64-premerge-20091211:1.10 matt-premerge-20091211:1.10 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.10 matt-nb4-mips64-k7-u2a-k9b:1.10 matt-nb5-mips64-u1-k1-k5:1.10 matt-nb5-mips64:1.10.0.44 netbsd-5-0-1-RELEASE:1.10 jym-xensuspend-nbase:1.10 netbsd-5-0:1.10.0.42 netbsd-5-0-RELEASE:1.10 netbsd-5-0-RC4:1.10 netbsd-5-0-RC3:1.10 netbsd-5-0-RC2:1.10 jym-xensuspend:1.10.0.40 jym-xensuspend-base:1.10 netbsd-5-0-RC1:1.10 netbsd-5:1.10.0.38 netbsd-5-base:1.10 matt-mips64-base2:1.10 matt-mips64:1.10.0.36 mjf-devfs2:1.10.0.34 mjf-devfs2-base:1.10 netbsd-4-0-1-RELEASE:1.10 wrstuden-revivesa-base-3:1.10 wrstuden-revivesa-base-2:1.10 wrstuden-fixsa-newbase:1.10 wrstuden-revivesa-base-1:1.10 yamt-pf42-base4:1.10 yamt-pf42-base3:1.10 hpcarm-cleanup-nbase:1.10 yamt-pf42-baseX:1.10 yamt-pf42-base2:1.10 wrstuden-revivesa:1.10.0.32 wrstuden-revivesa-base:1.10 yamt-pf42:1.10.0.30 yamt-pf42-base:1.10 keiichi-mipv6:1.10.0.28 keiichi-mipv6-base:1.10 matt-armv6-nbase:1.10 matt-armv6-prevmlocking:1.10 wrstuden-fixsa-base-1:1.10 netbsd-4-0:1.10.0.26 netbsd-4-0-RELEASE:1.10 cube-autoconf:1.10.0.24 cube-autoconf-base:1.10 netbsd-4-0-RC5:1.10 netbsd-4-0-RC4:1.10 netbsd-4-0-RC3:1.10 netbsd-4-0-RC2:1.10 netbsd-4-0-RC1:1.10 matt-armv6:1.10.0.22 matt-armv6-base:1.10 matt-mips64-base:1.10 hpcarm-cleanup:1.10.0.20 hpcarm-cleanup-base:1.10 netbsd-3-1-1-RELEASE:1.10 netbsd-3-0-3-RELEASE:1.10 wrstuden-fixsa:1.10.0.18 wrstuden-fixsa-base:1.10 abandoned-netbsd-4-base:1.10 abandoned-netbsd-4:1.10.0.12 netbsd-3-1:1.10.0.14 netbsd-3-1-RELEASE:1.10 netbsd-3-0-2-RELEASE:1.10 netbsd-3-1-RC4:1.10 netbsd-3-1-RC3:1.10 netbsd-3-1-RC2:1.10 netbsd-3-1-RC1:1.10 netbsd-4:1.10.0.16 netbsd-4-base:1.10 netbsd-3-0-1-RELEASE:1.10 netbsd-3-0:1.10.0.10 netbsd-3-0-RELEASE:1.10 netbsd-3-0-RC6:1.10 netbsd-3-0-RC5:1.10 netbsd-3-0-RC4:1.10 netbsd-3-0-RC3:1.10 netbsd-3-0-RC2:1.10 netbsd-3-0-RC1:1.10 netbsd-2-0-3-RELEASE:1.10 netbsd-2-1:1.10.0.8 netbsd-2-1-RELEASE:1.10 netbsd-2-1-RC6:1.10 netbsd-2-1-RC5:1.10 netbsd-2-1-RC4:1.10 netbsd-2-1-RC3:1.10 netbsd-2-1-RC2:1.10 netbsd-2-1-RC1:1.10 netbsd-2-0-2-RELEASE:1.10 netbsd-3:1.10.0.6 netbsd-3-base:1.10 netbsd-2-0-1-RELEASE:1.10 netbsd-2:1.10.0.4 netbsd-2-base:1.10 netbsd-2-0-RELEASE:1.10 netbsd-2-0-RC5:1.10 netbsd-2-0-RC4:1.10 netbsd-2-0-RC3:1.10 netbsd-2-0-RC2:1.10 netbsd-2-0-RC1:1.10 netbsd-2-0:1.10.0.2 netbsd-2-0-base:1.10 netbsd-1-6-PATCH002-RELEASE:1.8 netbsd-1-6-PATCH002:1.8 netbsd-1-6-PATCH002-RC4:1.8 netbsd-1-6-PATCH002-RC3:1.8 netbsd-1-6-PATCH002-RC2:1.8 netbsd-1-6-PATCH002-RC1:1.8 netbsd-1-6-PATCH001:1.8 netbsd-1-6-PATCH001-RELEASE:1.8 netbsd-1-6-PATCH001-RC3:1.8 netbsd-1-6-PATCH001-RC2:1.8 netbsd-1-6-PATCH001-RC1:1.8 fvdl_fs64_base:1.8 netbsd-1-6-RELEASE:1.8 netbsd-1-6-RC3:1.8 netbsd-1-6-RC2:1.8 netbsd-1-6-RC1:1.8 netbsd-1-6:1.8.0.12 netbsd-1-6-base:1.8 netbsd-1-5-PATCH003:1.8 netbsd-1-5-PATCH002:1.8 netbsd-1-5-PATCH001:1.8 netbsd-1-5-RELEASE:1.8 netbsd-1-5-BETA2:1.8 netbsd-1-5-BETA:1.8 netbsd-1-4-PATCH003:1.8 netbsd-1-5-ALPHA2:1.8 netbsd-1-5:1.8.0.10 netbsd-1-5-base:1.8 minoura-xpg4dl:1.8.0.8 minoura-xpg4dl-base:1.8 netbsd-1-4-PATCH002:1.8 wrstuden-devbsize-19991221:1.8 wrstuden-devbsize:1.8.0.6 wrstuden-devbsize-base:1.8 comdex-fall-1999:1.8.0.4 comdex-fall-1999-base:1.8 netbsd-1-4-PATCH001:1.8 netbsd-1-4-RELEASE:1.8 netbsd-1-4:1.8.0.2 netbsd-1-4-base:1.8 netbsd-1-3-PATCH003:1.7 netbsd-1-3-PATCH003-CANDIDATE2:1.7 netbsd-1-3-PATCH003-CANDIDATE1:1.7 netbsd-1-3-PATCH003-CANDIDATE0:1.7 netbsd-1-3-PATCH002:1.7 netbsd-1-3-PATCH001:1.7 netbsd-1-3-RELEASE:1.7 netbsd-1-3-BETA:1.7 netbsd-1-3:1.7.0.2 netbsd-1-3-base:1.7 netbsd-1-2-PATCH001:1.7 netbsd-1-2-RELEASE:1.7 netbsd-1-2-BETA:1.7 netbsd-1-2-base:1.7 netbsd-1-2:1.7.0.4 netbsd-1-1-PATCH001:1.6 netbsd-1-1-RELEASE:1.6 netbsd-1-1:1.6.0.2 netbsd-1-1-base:1.6 lite-2:1.1.1.2 netbsd-1-0-PATCH06:1.5 netbsd-1-0-PATCH05:1.5 netbsd-1-0-PATCH04:1.5 netbsd-1-0-PATCH03:1.5 netbsd-1-0-PATCH02:1.5 netbsd-1-0-PATCH1:1.5 netbsd-1-0-PATCH0:1.5 netbsd-1-0-RELEASE:1.5 netbsd-1-0:1.5.0.2 netbsd-1-0-base:1.5 lite-1:1.1.1.2 CSRG:1.1.1 netbsd-0-9-RELEASE:1.4 netbsd-0-9-BETA:1.4 netbsd-0-9-ALPHA2:1.4 netbsd-0-9-ALPHA:1.4 netbsd-0-9:1.4.0.2 netbsd-0-9-base:1.4 netbsd-0-8:1.3 netbsd-alpha-1:1.3 patchkit-0-2-2:1.1.1.1 WFJ-386bsd-01:1.1.1.1 WFJ-920714:1.1.1; locks; strict; comment @ * @; 1.11 date 2013.09.12.19.47.23; author christos; state Exp; branches 1.11.26.1; next 1.10; commitid sEbELSYIMoIzyb5x; 1.10 date 2003.08.07.09.05.42; author agc; state Exp; branches 1.10.54.1 1.10.60.1; next 1.9; 1.9 date 2003.06.16.17.22.02; author perry; state Exp; branches; next 1.8; 1.8 date 99.03.02.17.27.04; author christos; state Exp; branches; next 1.7; 1.7 date 96.05.07.18.20.11; author jtc; state Exp; branches; next 1.6; 1.6 date 95.03.21.09.11.31; author cgd; state Exp; branches; next 1.5; 1.5 date 94.09.20.04.52.12; author mycroft; state Exp; branches 1.5.2.1; next 1.4; 1.4 date 93.06.01.14.42.18; author cgd; state Exp; branches; next 1.3; 1.3 date 93.03.23.00.30.31; author cgd; state Exp; branches; next 1.2; 1.2 date 93.03.22.08.04.00; author cgd; state Exp; branches; next 1.1; 1.1 date 93.03.21.09.45.37; author cgd; state Exp; branches 1.1.1.1; next ; 1.11.26.1 date 2020.04.21.18.41.07; author martin; state dead; branches; next 1.11.26.2; commitid 86tA4aEmdr3VCh5C; 1.11.26.2 date 2020.04.21.19.37.35; author martin; state Exp; branches; next ; commitid x6IB64bYH9UmWh5C; 1.10.54.1 date 2014.05.22.11.26.23; author yamt; state Exp; branches; next ; commitid OarWMuV9WFtzGwBx; 1.10.60.1 date 2014.08.19.23.45.11; author tls; state Exp; branches; next ; commitid jTnpym9Qu0o4R1Nx; 1.5.2.1 date 94.09.20.04.52.12; author mycroft; state dead; branches; next 1.5.2.2; 1.5.2.2 date 94.09.20.04.52.13; author mycroft; state Exp; branches; next ; 1.1.1.1 date 93.03.21.09.45.37; author cgd; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 94.09.20.04.18.52; author mycroft; state Exp; branches; next ; desc @@ 1.11 log @- print the line discipline using the new ioctl - print the queue size @ text @/* $NetBSD: stty.h,v 1.10 2003/08/07 09:05:42 agc Exp $ */ /*- * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @@(#)stty.h 8.1 (Berkeley) 5/31/93 */ #ifndef _STTY_H_ #define _STTY_H_ #include #include struct info { int fd; /* file descriptor */ linedn_t ldisc; /* line discipline */ int queue; /* queue size */ int off; /* turn off */ int set; /* need set */ int wset; /* need window set */ char *arg; /* argument */ struct termios t; /* terminal info */ struct winsize win; /* window info */ }; struct cchar { const char *name; int sub; u_char def; }; enum FMT { STTY_NOTSET, STTY_GFLAG, STTY_BSD, STTY_POSIX }; #define LINELENGTH 72 #endif /* !_STTY_H_ */ @ 1.11.26.1 log @Sync with HEAD @ text @d1 1 a1 1 /* $NetBSD: stty.h,v 1.11 2013/09/12 19:47:23 christos Exp $ */ @ 1.11.26.2 log @Ooops, restore accidently removed files from merge mishap @ text @@ 1.10 log @Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22249, verified by myself. @ text @d1 1 a1 1 /* $NetBSD: stty.h,v 1.9 2003/06/16 17:22:02 perry Exp $ */ d42 2 a43 1 int ldisc; /* line discipline */ @ 1.10.60.1 log @Rebase to HEAD as of a few days ago. @ text @d1 1 a1 1 /* $NetBSD$ */ d42 1 a42 2 linedn_t ldisc; /* line discipline */ int queue; /* queue size */ @ 1.10.54.1 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @d1 1 a1 1 /* $NetBSD: stty.h,v 1.10 2003/08/07 09:05:42 agc Exp $ */ d42 1 a42 2 linedn_t ldisc; /* line discipline */ int queue; /* queue size */ @ 1.9 log @ANSIfy, from Petri Koistinen in PR 13975 @ text @d1 1 a1 1 /* $NetBSD: stty.h,v 1.8 1999/03/02 17:27:04 christos Exp $ */ d15 1 a15 5 * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors @ 1.8 log @- char -> unsigned char - #ifdef BSD4_4 for for non POSIX features - prefix with STTY_ all the FMT constants to avoid namespace collisions. @ text @d1 1 a1 1 /* $NetBSD: stty.h,v 1.7 1996/05/07 18:20:11 jtc Exp $ */ d38 3 d64 2 @ 1.7 log @Use const qualifier as appropriate @ text @d1 1 a1 1 /* $NetBSD: stty.h,v 1.6 1995/03/21 09:11:31 cgd Exp $ */ d58 1 a58 1 enum FMT { NOTSET, GFLAG, BSD, POSIX }; @ 1.6 log @convert to new RCS id conventions. @ text @d1 1 a1 1 /* $NetBSD$ */ d53 1 a53 1 char *name; @ 1.5 log @Merge with 4.4-Lite version. @ text @d1 2 d35 1 a35 2 * from: @@(#)stty.h 8.1 (Berkeley) 5/31/93 * $Id: $ @ 1.5.2.1 log @file stty.h was added on branch netbsd-1-0 on 1994-09-20 04:52:13 +0000 @ text @d1 59 @ 1.5.2.2 log @Merge with 4.4-Lite version. @ text @a0 59 /*- * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * from: @@(#)stty.h 8.1 (Berkeley) 5/31/93 * $Id: stty.h,v 1.5 1994/09/20 04:52:12 mycroft Exp $ */ #include #include struct info { int fd; /* file descriptor */ int ldisc; /* line discipline */ int off; /* turn off */ int set; /* need set */ int wset; /* need window set */ char *arg; /* argument */ struct termios t; /* terminal info */ struct winsize win; /* window info */ }; struct cchar { char *name; int sub; u_char def; }; enum FMT { NOTSET, GFLAG, BSD, POSIX }; #define LINELENGTH 72 @ 1.4 log @rcsid cleanup @ text @d2 2 a3 2 * Copyright (c) 1991 The Regents of the University of California. * All rights reserved. d33 2 a34 2 * from: @@(#)stty.h 5.3 (Berkeley) 6/10/91 * $Id: /b/source/CVS/src/bin/stty/stty.h,v 1.3 1993/03/23 00:30:31 cgd Exp $ @ 1.3 log @changed "Id" to "Header" for rcsids @ text @d33 2 a34 3 * @@(#)stty.h 5.3 (Berkeley) 6/10/91 * * $Header: stty.h,v 1.2 93/03/22 08:14:40 cgd Exp $ @ 1.2 log @added rcs ids to all files @ text @d35 1 a35 1 * $Id: stty.h,v 1.2 93/03/21 22:17:14 cgd Exp $ @ 1.1 log @Initial revision @ text @d34 2 @ 1.1.1.1 log @initial import of 386bsd-0.1 sources @ text @@ 1.1.1.2 log @Import original 4.4-Lite version. @ text @d2 2 a3 2 * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. d33 1 a33 1 * @@(#)stty.h 8.1 (Berkeley) 5/31/93 @