summaryrefslogtreecommitdiff
path: root/term/hurdio.c
AgeCommit message (Collapse)Author
2002-09-102002-09-10 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* hurdio.c (hurdio_writer_loop): Check output_stopped instead termflags. Move the code that signals the underlying file to ... (hurdio_start_output): ... here.
2002-09-102002-09-10 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* hurdio.c (hurdio_writer_loop): Desert the DTR on all errors, not only EIO. (hurdio_reader_loop): Likewise.
2002-06-262002-06-25 Roland McGrath <roland@frob.com>Roland McGrath
* term.h (struct bottomhalf): New member `fini'. * hurdio.c (hurdio_fini): New function. (hurdio_bottom): Use it. * devio.c (devio_fini): New function. (devio_bottom): Use it. * ptyio.c (ptyio_bottom): Add 0 entry for `fini'. * main.c (trivfs_runtime_argp): New variable. (options): Add --name/-N and --type/-T options. (parse_opt): Collect parsed options in temporary storage and apply them only at final success. For T_HURDIO, allow absent arg. For non-startup parsing call, allow any missing args. (tty_type_names): New const variable. (trivfs_append_args): New function. (main): Open underlying node with O_RDWR. * hurdio.c (wait_for_dtr): If tty_arg is null, use termctl->underlying instead of opening a node by name. (hurdio_desert_dtr): If tty_arg is null, don't deallocate ioport.
2002-06-252002-06-25 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* term.h (struct bottomhalf): New member GWINSZ. * devio.c (devio_bottom): Add new member. * ptyio.c (ptyio_bottom): Likewise. * hurdio.c (hurdio_bottom): Likewise. (hurdio_gwinsz): New function. (tioc_caps): Change type to unsigned int. (TIOC_CAP_GWINSZ): New symbol. * users.c (open_hook): Call GWINSZ of bottom layer after establishing the carrier.
2002-05-052002-05-03 Roland McGrath <roland@frob.com>Roland McGrath
* hurdio.c (hurdio_reader_loop): Add a return stmt. (hurdio_writer_loop): Likewise.
2002-02-102002-02-10 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* hurdio.c: New file. * Makefile (SRCS): Add hurdio.c. * term.h: Add hurdio_bottom declaration. * main.c: Add T_HURDIO to enum of tty_type. (parse_opt): Add case for hurdio bottom handler. (term_argp): Likewise. (main): Likewise.