aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/tty_compat.c
Commit message (Collapse)AuthorAgeFilesLines
* Put the pre FreeBSD-2.x tty compat code under BURN_BRIDGES.Poul-Henning Kamp2004-06-211-0/+3
| | | | Notes: svn path=/head/; revision=130892
* New style functions, kill register keyword.Poul-Henning Kamp2004-06-211-43/+28
| | | | Notes: svn path=/head/; revision=130840
* Deorbit COMPAT_SUNOS.Poul-Henning Kamp2004-06-111-2/+2
| | | | | | | | We inherited this from the sparc32 port of BSD4.4-Lite1. We have neither a sparc32 port nor a SunOS4.x compatibility desire these days. Notes: svn path=/head/; revision=130344
* Compare t_brkc against (char)_POSIX_VDISABLE, not against -1.Olivier Houchard2004-05-071-1/+1
| | | | | | | Discussed with: bde Notes: svn path=/head/; revision=129035
* Remove advertising clause from University of California Regent's license,Warner Losh2004-04-051-4/+0
| | | | | | | | | per letter dated July 22, 1999. Approved by: core Notes: svn path=/head/; revision=127911
* Use __FBSDID().David E. O'Brien2003-06-111-1/+3
| | | | Notes: svn path=/head/; revision=116182
* Fixed some style bugs in the removal of __P(()). The main ones wereBruce Evans2002-03-241-4/+4
| | | | | | | | | not removing tabs before "__P((", and not outdenting continuation lines to preserve non-KNF lining up of code with parentheses. Switch to KNF formatting and/or rewrap the whole prototype in some cases. Notes: svn path=/head/; revision=93076
* Remove __P.Alfred Perlstein2002-03-191-4/+4
| | | | Notes: svn path=/head/; revision=92723
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* This commit fixes various 64bit portability problems required forDoug Rabson1998-06-071-3/+3
| | | | | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time. Notes: svn path=/head/; revision=36735
* Don't depend on "implicit int".Bruce Evans1998-02-251-4/+4
| | | | Notes: svn path=/head/; revision=33825
* Fix a couple of operator precedence bugs.Steve Price1998-01-251-3/+3
| | | | | | | | PR: 5450 Submitted by: Sakari Jalovaara <sja@tekla.fi> Notes: svn path=/head/; revision=32773
* Make COMPAT_43 and COMPAT_SUNOS new-style options.Eivind Eklund1997-12-161-1/+3
| | | | Notes: svn path=/head/; revision=31778
* Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that areBruce Evans1997-12-061-2/+2
| | | | | | | | not handled at a particular level. This fixes mainly restarting of interrupted TIOCDRAINs and TIOCSETA{W,F}s. Notes: svn path=/head/; revision=31577
* Removed unused #includes.Bruce Evans1997-08-021-6/+1
| | | | Notes: svn path=/head/; revision=27845
* Don't include <sys/ioctl.h> in the kernel. Stage 5: includeBruce Evans1997-03-241-2/+2
| | | | | | | | | <sys/ioctl_compat.h> and sometimes <sys/filio.h> instead of <sys/ioctl.h> in tty-related files. <sys/ttycom.h> is still usually imported bogusly via <sys/termios.h>. Notes: svn path=/head/; revision=24207
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm1997-02-221-1/+1
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* A Major staticize sweep. Generates a couple of warnings that I'll dealPoul-Henning Kamp1995-12-141-2/+4
| | | | | | | | | with later. A number of unused vars removed. A number of unused procs removed or #ifdefed. Notes: svn path=/head/; revision=12819
* Improved formatting.Bruce Evans1995-11-181-5/+8
| | | | | | | | | Added a comment about possibly better handling of INPCK. Added a prototype. Notes: svn path=/head/; revision=12370
* Preserve current termios speed for TIOCSET*, if it matched withAndrey A. Chernov1995-08-021-3/+7
| | | | | | | | nearest valid. It means that gtty+stty transaction (without speed change) not breaks non-standard speeds now. Notes: svn path=/head/; revision=9861
* Better approximation for TIOCGETP (gtty) for non-standard speeds.Andrey A. Chernov1995-08-021-9/+18
| | | | | | | | | Old variant returns 38400 for them, now it returns nearest matched rounded down, expect speeds in range 0 > speed < 50 rounded up to not produce hangup. Notes: svn path=/head/; revision=9859
* Check for valid speed values in pty driveAndrey A. Chernov1995-08-021-4/+7
| | | | | | | | | Check for negative speed values in tty drive Back out valid speed values checking from tty drive Suggested by: bde Notes: svn path=/head/; revision=9851
* Check for valid speeds in TIOCSET* and return EINVAL for incorrectAndrey A. Chernov1995-08-011-7/+4
| | | | | | | values instead of setting garbadge. Notes: svn path=/head/; revision=9847
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-9/+9
| | | | Notes: svn path=/head/; revision=8876
* Extract "set" family functions to separate module, needed forAndrey A. Chernov1995-04-111-70/+90
| | | | | | | locking in sio f.e. Notes: svn path=/head/; revision=7758
* Back out changes related to locked bits until more elegant solution will beAndrey A. Chernov1995-04-021-20/+20
| | | | | | | found. Fix flags declarations. Notes: svn path=/head/; revision=7594
* Fix error in TIOCSETC/TIOCSLTC, they need to call TIOCSETA.Andrey A. Chernov1995-04-021-16/+18
| | | | | | | Remove static from some functions, needed in sio (later) Notes: svn path=/head/; revision=7582
* Return EINVAL instead of setting wrong in/out speedAndrey A. Chernov1995-04-021-9/+9
| | | | | | | | Fix declaration of cc arrays Remove static from compatspcodes, will needed in sio (later) Notes: svn path=/head/; revision=7581
* c_iflag handling in setting compat modes now more close to V7Andrey A. Chernov1995-03-291-2/+4
| | | | Notes: svn path=/head/; revision=7472
* Better IXANY/IXOFF processing into setflags.Andrey A. Chernov1994-10-111-6/+14
| | | | | | | Cosmetique 'tab' fix Notes: svn path=/head/; revision=3510
* Fix old cs8->cs7 bug, bringed by rlogin.Andrey A. Chernov1994-10-111-25/+45
| | | | | | | Obtained from: FreeBSD 1.x Notes: svn path=/head/; revision=3509
* Cosmetics: added ()'s and fixed prinf-formats to make gcc silent.Poul-Henning Kamp1994-10-081-2/+2
| | | | Notes: svn path=/head/; revision=3441
* Support speeds 57600 and 115200.Bruce Evans1994-08-251-12/+16
| | | | | | | Privatize functions. Notes: svn path=/head/; revision=2271
* Added $Id$David Greenman1994-08-021-0/+1
| | | | Notes: svn path=/head/; revision=1817
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.Rodney W. Grimes1994-05-251-0/+7
| | | | | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman Notes: svn path=/head/; revision=1549
* BSD 4.4 Lite Kernel SourcesRodney W. Grimes1994-05-241-0/+411
Notes: svn path=/head/; revision=1541