aboutsummaryrefslogtreecommitdiff
path: root/term/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* .Roland McGrath2002-05-051-1/+6
|
* *** empty log message ***Neal H. Walfield2002-03-261-0/+8
|
* 2002-03-05 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-03-051-0/+12
| | | | | | | | | | | | * main.c (main): Use memset instead bzero. Fix error message, and formatting of some comments. * ptyio.c (pty_io_read): Use memcpy instead bcopy. * users.c (S_tioctl_tiocflush): Ignore error by bottom handler's notice_input_flushed. * users.c (set_state): Likewise. If bottom handler's set_bits fails, don't adjust terminal state but return success anyway.
* 2002-02-10 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-02-101-0/+8
| | | | | | | | * term.h: Declare rdev. * main.c (options): New variable. (parse_opt): Handle case `n' to set rdev number. Also return EINVAL if terminal type is invalid. * users.c (trivfs_modify_stat): Set ST->st_rdev to global rdev.
* 2002-02-10 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-02-101-0/+10
| | | | | | | | | | * 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.
* 2002-02-10 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-02-101-0/+15
| | | | | | | | | | | | | | | * main.c: Include `argp.h' and `version.h'. (argp_program_version): New global variable. (tty_name, tty_type, tty_arg): Likewise. (parse_opt): New function. (term_argp): New global variable. (main): Call argp_parse, use new global variables to parse the options. Remove TYPE variable. Get the bootstrap port after checking the argument line. * term.h (pterm_name): Remove variable. (tty_arg): Declare variable. * devio.c (initial_open): Use tty_arg instead pterm_name. (devio_assert_dtr): Likewise.
* Just add two changes I forgot to document in the ChangeLog.Marcus Brinkmann2002-02-101-2/+2
|
* 2002-02-10 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-02-101-0/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * term.h: Include `hurd/hurd_types.h'. (struct bottomhalf): Change the return types of the following members from void to error_t: abandon_physical_output, suspend_physical_output, notice_input_flushed, desert_dtr, set_break, clear_break, start_output, set_bits (which now takes an struct termios * as argument), mdmctl and mdmstate (which now takes an int * as argument). Add new members init and type. (bottom): Define as const. (devio_bottom, ptyio_bottom): Declare as const. (drop_output): Change return type from void to error_t. (ptyio_init): Remove prototype. * devio.c (devio_abandon_physical_output): Change return value to error_t, and return 0. (devio_suspend_physical_output): Likewise. (devio_notice_input_flushed): Likewise. (devio_desert_dtr): Likewise. (devio_set_break): Likewise. (devio_clear_break): Likewise. (devio_start_output): Likewise. (devio_set_bits): Likewise. (devio_mdmctl): Likewise. (devio_mdmstate): Likewise. (init_devio): Rename to ... (devio_init): ... this. Do not give constructor attribute. Change return type to error_t, and return an error value, rather than bailing out. Declare as static. (devio_bottom): Add type TERM_ON_MACHDEV and init function devio_init. (devio_set_bits): Accept new argument STATE and use that to work out the terminal state, rather than changing the global termstate. (devio_mdmstate): Accept new argument STATE and use that to return the bits. * ptyio.c: Do not include `hurd/hurd_types.h'. (ptyio_suspend_physical_output): Change return value to error_t, and return 0. Likewise. (ptyio_notice_input_flushed): Likewise. (ptyio_desert_dtr): Likewise. (ptyio_set_bits): Likewise. (ptyio_set_break): Likewise. (ptyio_clear_break): Likewise. (ptyio_mdmctl): Likewise. (ptyio_start_output): Likewise. (ptyio_abandon_physical_output): Likewise. (ptyio_mdmstate): Likewise, and accept new argument STATE. (ptyio_init): Declare as static and change return type to error_t. (ptyio_bottom): Add type TERM_ON_MASTERPTY and init function ptyio_init. (ptyio_set_bits): Accept new argument STATE and use that to work out the terminal state, rather than changing the global termstate. (ptyio_mdmstate): Accept new argument STATE and use that to return the bits. * munge.c (drop_output): Change return value to error_t. Only clear queue if there was no error. * users.c (S_term_get_bottom_type): Just return bottom->type. (set_state): Rework logic to take possible errors into account, and to delay changing the termstate until we know that we won't fail. (S_tioctl_tiocflush): Return errors properly, and clear queue only if notice_input_flushed succeeded. (open_hook): Save error value of set_bits. Save old termflags and restore them if if set_bits failed. Call set_bits with correct arguments. (S_tioctl_tiocmods): Set err to result of mdmctl. (S_tioctl_tiocmset): Likewise. (S_tioctl_tiocmbic): Likewise. (S_tioctl_tiocmbis): Likewise. (S_tioctl_tioccdtr): Likewise. (S_tioctl_tiocsdtr): Likewise. (S_tioctl_tioccbrk): Likewise for clear_break. (S_tioctl_tiocsbrk): Likewise for set_break. (S_tioctl_tiocstart): Likewise for start_output. Save old termflags and restore them if if start_output failed. (S_tioctl_tiocstop): Likewise for stop_output. (S_trivfs_io_write): Abort the operation if start_output fails. Do not call start_output if it just failed, or if there was no data to be written. * main.c (main): Initialize bottom handler (rather than special casing this for ptyio). * users.c (open_hook): Use memcpy instead bcopy and memset instead bzero. (S_tioctl_tiocgeta): Likewise. (set_state): Likewise. (open_hook): Likewise. * munge.c (rescan_inputq): Likewise.
* * term.h (pty_io_select): Likewise.Marcus Brinkmann2002-01-301-0/+1
|
* term/Marcus Brinkmann2002-01-301-0/+6
| | | | | | | | | | | | | 2002-01-30 Marcus Brinkmann <marcus@gnu.org> * users.c (trivfs_S_io_select): Remove IDTAG argument. Also in invocation of pty_io_select. * ptyio.c (pty_io_select): Likewise. pfinet/ 2002-01-30 Marcus Brinkmann <marcus@gnu.org> * tunnel.c (trivfs_S_io_select): Remove IDTAG argument.
* 2002-01-04 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-01-041-0/+5
| | | | | * devio.c (bogus_speed_to_real_speed): Handle B57600, B115200 if they are defined. Reported by Diego Roversi <diegor@tiscalinet.it>.
* .Roland McGrath2001-12-181-0/+5
|
* .Roland McGrath2001-10-141-0/+5
|
* .Roland McGrath2001-06-161-0/+4
|
* .Roland McGrath2001-06-011-0/+4
|
* .Roland McGrath2001-05-311-0/+13
|
* .Roland McGrath2001-05-261-0/+6
|
* * Makefile (HURDLIBS): Reorder libs such that the threads libMark Kettenis2000-07-261-0/+7
| | | | | | comes before the ports lib. This makes sure the functions in libthreads properly override the stubs in libports with the new dynamic linker semantics in glibc 2.2.
* *** empty log message ***Thomas Bushnell2000-03-171-0/+4
|
* .Roland McGrath2000-03-171-1/+9
|
* 1999-10-04 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-10-041-0/+12
| | | | | | | | | | | * term.h, devio.c, users.c: Revert previous change. Do it this way instead: * users.c (report_carrier_error): New function. (carrier_error): New static global variable. (open_hook): Deal with errors from carrier open. * devio.c (device_open_reply): Move the !RETURNCODE case out of the "initial open" case and use report_carrier_error. * term.h (report_carrier_error): Declare new function.
* .Roland McGrath1999-10-011-0/+13
|
* Reverted changes related to io_map_segment.Roland McGrath1999-09-131-0/+4
|
* 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-081-0/+5
| | | | | * users.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here.
* .Roland McGrath1999-07-241-0/+4
|
* .Roland McGrath1999-07-111-0/+4
|
* 1999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-111-0/+5
| | | | | * ptyio.c (pty_io_read): Use mmap instead of vm_allocate. * users.c (trivfs_S_io_read): Likewise.
* .Roland McGrath1999-05-301-0/+11
|
* .Roland McGrath1999-05-151-0/+5
|
* .Roland McGrath1999-03-231-4/+8
|
* *** empty log message ***Thomas Bushnell1999-03-171-1/+2
|
* Wed Mar 17 16:32:05 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-03-171-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | * users.c (S_term_get_peername): Compare BOTTOM against the correct value, and call ports_port_deref with the proper name. Reported by Yamashita TAKAO (az207@epa.go.jp). * devio.c (devio_desert_dtr): Cast &BITS correctly in call to device_set_status. (device_open_reply): Alwas clean open_pending no matter what. Use ERR instead of ERRNO. On fake opens, close the device before deallocating the port. Reported by Mark Kettenis (kettenis@gnu.org). Tue Mar 16 01:04:06 1999 Thomas Bushnell, BSG <tb@mit.edu> * devio.c (open_pending): Make an enum. (devio_desert_dtr): Don't close the device, just set the TM_HUP modem bit, which should cause a hangup to occur. (devio_assert_dtr): Don't always open the device, instead use initial_open the first time, and schedule a fake open the other times. (initial_open): New function, guts from old device_assert_dtr. (device_open_reply): Distinguish replies from initial and fake opens appropriately. (ports_do_mach_notify_send_once): Test and set open_pending using new enum values.
* Mon Mar 15 14:58:33 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-03-151-0/+7
| | | | | | | * users.c (S_term_get_peername): Implement new RPC. * users.c (S_term_get_nodename): Return ENOENT if the name is not set.
* 1999-03-13 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell1999-03-141-0/+5
| | | | | * users.c (po_destroy_hook): Only reset state and hardware if TTY_OPEN bit is set in TERMFLAGS.
* Mon Mar 1 09:11:06 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-03-011-0/+6
| | | | | | * munge.c (output_width): If C is a tab, then the width is the offset from LOC, not the total final position of the tab. Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi).
* .Roland McGrath1999-02-281-2/+6
|
* Mon Feb 22 04:34:55 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-221-0/+5
| | | | | * users.c (trivfs_S_io_revoke): Protect the revocation by blocking all other rpcs.
* Sat Feb 20 04:59:15 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-211-0/+7
| | | | | | | * users.c (trivfs_S_io_revoke): Release global_lock before beginning the iteration. * users.c (trivfs_S_io_revoke): Add reply, reply_type args.
* 1999-02-06 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell1999-02-191-0/+8
| | | | | | | | * main.c (main): Initialize status from underlying node. * users.c (check_access_hook): New function. Correctly implement access permission checking. (trivfs_check_access_hook): Initialize with check_access_hook. (trivfs_S_file_check_access): Removed.
* Thu Feb 18 00:57:30 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-181-0/+5
| | | | | * devio.c (devio_assert_dtr): Bother to set open_pending. Reported by OKUJI Yoshinori (okuji@kuicr.kyoto-u.ac.jp).
* .Roland McGrath1999-02-171-0/+4
|
* Tue Feb 16 06:10:08 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-161-0/+4
| | | | * users.c (trivfs_S_io_revoke): New function.
* 1999-02-05 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell1999-02-161-0/+5
| | | | | * users.c (trivfs_S_file_chmod): Clear S_ISVTX bit instead of clearing all other bits.
* Sat Jan 30 00:27:14 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-01-301-0/+5
| | | | | * munge.c (create_queue): Make sure that malloc succeeds. Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
* .Roland McGrath1998-11-251-0/+5
|
* Mon Oct 26 16:47:18 1998 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1998-11-161-0/+8
| | | | | | | | * devio.c (char_size_mask_xxx): New variable. (devio_set_bits): Don't munge c_cflag here. Instead, set char_size_mask_xxx. (device_read_reply_inband): Mask off high bits from the input to simulate less than 8-bit channels.
* .Roland McGrath1998-10-201-0/+5
|
* .Roland McGrath1998-07-201-8/+12
|
* Wed Aug 20 14:07:35 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-201-0/+5
| | | | | * main.c (main): New args for ports_manage_port_operations_multithread.
* Mon Jun 9 12:19:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-06-101-0/+4
| | | | * users.c (trivfs_S_file_chmod): Fix typo.