aboutsummaryrefslogtreecommitdiff
path: root/term/ptyio.c
Commit message (Collapse)AuthorAgeFilesLines
* 1999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-111-2/+2
| | | | | * ptyio.c (pty_io_read): Use mmap instead of vm_allocate. * users.c (trivfs_S_io_read): Likewise.
* Mon Nov 18 18:16:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-181-2/+1
| | | | | | | | | | | | | | | | * users.c (trivfs_modify_stat): Omit pointless assignment. Fri Nov 15 17:37:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * users.c (open_hook): New arg syntax. (trivfs_check_open_hook): Likewise. * ptyio.c (pty_open_hook): Likewise. * term.h (pty_open_hook): Likewise. * users.c (S_termctty_open_terminal): New syntax of trivfs_open. * users.c (trivfs_S_file_chown): Rewrite using idvecs. (trivfs_S_file_chmod): Likewise.
* Thu Sep 26 14:24:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-10-081-0/+1
| | | | * ptyio.c: Include "tioctl_S.h".
* (pty_open_hook): Re-initialize EXTERNAL_PROCESSING too.Miles Bader1996-10-041-0/+3
|
* (pty_open_hook): Reinitialize pty variables.Miles Bader1996-10-041-1/+9
| | | | | (pty_io_select): Return SELECT_READ if the slave isn't open. (pty_io_read): If the slave isn't open, return EOF.
* (pty_io_read, pty_io_write): Honor O_NONBLOCK.Miles Bader1996-10-041-1/+13
|
* (ptyio_set_bits):Miles Bader1996-10-021-8/+15
| | | | | We need only be in packet mode to send TIOCPKT_NOSTOP & TIOCPKT_DOSTOP, regardless of the value of EXTERNAL_PROCESSING.
* (S_tioctl_tiocsig, S_tioctl_tiocucntl, S_tioctl_tiocpkt):Miles Bader1996-10-021-0/+15
| | | | Hold GLOBAL_LOCK while frobbing (especially around send_signal).
* blat foopMichael I. Bushnell1996-04-251-31/+0
|
* fixupMichael I. Bushnell1996-04-251-2/+2
|
* (pty_open_hook): Don't do increment of nptyperopens here.Michael I. Bushnell1996-04-251-2/+44
| | | | | | | (pty_po_create_hook): Increment nptyperopens here, but only if this is for O_READ or O_WRITE. (pty_po_destroy_hook): Only do decrement if this was for O_READ or O_WRITE.
* (pty_po_create_hook): Don't do anything here.Michael I. Bushnell1996-04-021-3/+1
| | | | (pty_open_hook): Increment nptyperopens here.
* (pty_io_read): Block using hurd_condition_wait instead of condition_wait.Miles Bader1996-03-271-1/+5
|
* (ptyio_init): This can't be a constructor because it frobs INPUTQ, which isMiles Bader1996-02-241-4/+2
| | | | assigned in main.
* (pty_io_select): Add new reply port parameter, and askMichael I. Bushnell1996-01-181-3/+4
| | | | for notification if it dies.
* (ptyopen, nptyperopens, pktnostop, output_stopped): Initialize to 0.Miles Bader1995-12-211-4/+4
|
* (pty_io_read): When copying TIOCPKT_DATA; account for size correctly.Michael I. Bushnell1995-12-141-1/+4
|
* (pty_io_write): Always tell the user everything was written.Michael I. Bushnell1995-12-141-0/+4
|
* Typos.Michael I. Bushnell1995-12-121-3/+3
|
* (ptyio_init): Make this a constructor function.Michael I. Bushnell1995-12-121-0/+1
|
* (pty_po_create_hook, pty_po_destroy_hook): New functions.Michael I. Bushnell1995-12-121-2/+31
| | | | (ptyopen, nptyperopens): New variables.
* (pty_open_hook): New function.Michael I. Bushnell1995-12-121-0/+20
|
* Include <fcntl.h>.Michael I. Bushnell1995-12-051-0/+1
|
* (pty_io_read, pty_io_write): Validate CRED.Michael I. Bushnell1995-12-051-4/+10
|
* (pty_io_select): Add arg CRED.Michael I. Bushnell1995-12-051-1/+4
|
* (pty_io_write): Add CRED arg.Michael I. Bushnell1995-12-051-1/+4
|
* (pty_io_read): Add CRED arg.Michael I. Bushnell1995-12-051-1/+4
|
* unistd.h, not termios.h.Michael I. Bushnell1995-12-051-1/+1
|
* Include <termios.h>.Michael I. Bushnell1995-12-051-0/+1
|
* (ptyio_set_bits): If the stop char state has changed, dinkle the stopMichael I. Bushnell1995-12-051-0/+21
| | | | bits in the control_byte accordingly.
* Initial revisionMichael I. Bushnell1995-12-051-0/+473