summaryrefslogtreecommitdiff
path: root/sys/kern/tty.c
AgeCommit message (Collapse)Author
2001-05-14tty stats sysctl, deraadt@okAngelos D. Keromytis
2001-03-02Casting magic to avoid warnings on alpha.Artur Grabowski
2001-03-01port kqueue changes from freebsd, plus all required openbsd glue.Niels Provos
okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org
2000-07-19Many drivers use a timeout on ttrstrt, make this a generic interface.Artur Grabowski
2000-06-05Changes to exit handling.Artur Grabowski
cpu_exit no longer frees the vmspace and u-area. This is now handled by a separate kernel thread "reaper". This is to avoid sleeping locks in the critical path of cpu_exit where we're not allowed to sleep. From NetBSD
2000-03-23Iiieeek! This kludge was almost funny.Artur Grabowski
Probably something from the stone age. Kill it.
1999-11-25Use PAGE_SIZE instead of NBPG.Artur Grabowski
1999-06-01remove the "ifdef pmap_resident_count" hack and replace it with a macro.Artur Grabowski
change some &vm->vm_pmap to vm->vm_map.pmap
1998-03-28nasty indentTheo de Raadt
1998-02-20Please GCC 2.8's harsher view of good styleNiklas Hallqvist
1998-02-03bad types; wileyc@sekiya.twics.co.jpTheo de Raadt
1997-11-13Count characters even when !OPOST and FLUSHO.Theo de Raadt
Don't output the \r for ONLCR if FLUSHO; mycroft
1997-11-13in ttywait(), double check if we need to sleep before sleepingTheo de Raadt
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-21When the input queues are flushed on a blocked tty, make sure to unblockNiklas Hallqvist
it, if it's currently in a blocked state due to input flow control. This was typically seen with drivers implementing th t_hwiflow function, and starting of ppp (line discipline changes flushes the input queue). Independently discovered and fixed slightly different than NetBSD PR#4227.
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-03-26proper englishTheo de Raadt
1997-01-12Be more Posixly correct; from FreeBSDThorsten Lockert
1997-01-05Remove lots of timer_state structs as they just ate memory and only a few wasNiklas Hallqvist
ever used. Now a single state is kept for net, tty and disk events resp. Also, call the randomness from disk_unbusy instead of biodone, as biodone gets a lot of virtual events (from virtual filesystems etc), and as a bonus: feed xfer time and size into the entropy pool too.
1996-12-19Really set column to 0 when outputting a carriage return...Thorsten Lockert
1996-12-17Fix oversight in column handling with OCRNL enabledThorsten Lockert
1996-12-17Reset output column when outputting \r with ONLCRThorsten Lockert
1996-12-16Implement more tty flags for better portability from other systems:Thorsten Lockert
XCASE - canonical input/output processing IUCLC - translate uppercase to lowercase on input OLCUC - translate lowercase to uppercase on output OCRNL - translate carriage return to newline on output ONOCR - do not output carriage return at column 0 ONLRET - newline performs carriage return function In addition the tty compatibility interface supports LCASE properly. Look at termios(4) for a more complete description of the above flags.
1996-12-08-Wcast-qual happinessNiklas Hallqvist
1996-11-11Flush input and output in receipt of break (unless break is ignored)Thorsten Lockert
1996-11-09Implement CREADThorsten Lockert
1996-11-09Use passed-in process, not curproc to determine if the process is in theThorsten Lockert
background
1996-11-060377 handling in ISTRIP/PARMRK modeTheo de Raadt
1996-11-05Add more cases that should generate SIGTTOUThorsten Lockert
1996-11-05Correct error returns from tcsetpgrp() aka ioctl(, TIOCSPGRP, )Thorsten Lockert
1996-11-04support _POSIX_VDISABLE for VEOF and VEOL tooTheo de Raadt
1996-11-04If VMIN=0, and timer>0 and expires, read should return 0Theo de Raadt
1996-10-19random device is permanent now.Michael Shalayeff
1996-08-29rnd -> randomTheo de Raadt
1996-08-01xconsole was broken after last patch (UCONSOLE zap).Michael Shalayeff
1996-07-31TIOCCONS must be able to VOP_ACCESS() /dev/console to succeed; fixes DOS attackTheo de Raadt
1996-06-17Change from my, umm, BSD/OS tree: allow root to run TIOCGPGRP on anything.Jason Downs
1996-06-10tty_init/attach/detach()Theo de Raadt
1996-04-24Supply randomness source for the rnd device.Michael Shalayeff
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1996-01-12from netbsd; Correct test for ECHONL (from der Mouse; PR#1922).Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt