Commit Graph

  • 1081fd9235 ttynvt version 0.17 master v0.17 Kim Woelders 2025-06-25 17:32:41 +02:00
  • 72e09527b9 Handling of pthread_mutex_init failure fixed Frank Rolsted Jensen 2025-06-04 11:43:25 +02:00
  • 10d5c9cf3b Handling of initial protocol error changed Frank Rolsted Jensen 2025-06-04 11:19:24 +02:00
  • 4d3f7d384b ttynvt: Move optional delay during close Kim Woelders 2025-02-25 20:02:36 +01:00
  • 1f516288ab test: Initial testing framework Kim Woelders 2024-11-08 06:58:55 +01:00
  • 55c5d0d226 nvtsrv: Change some log messages to debug Kim Woelders 2024-11-10 13:29:44 +01:00
  • cd5de2fe5d nvttest: Return error if anything fails Kim Woelders 2024-11-10 12:42:34 +01:00
  • da027d4de1 nvttest: Rework thread handling Kim Woelders 2024-11-10 12:36:28 +01:00
  • 3bcbf9c8c1 nvttest: Enable specifying device Kim Woelders 2024-11-10 11:27:46 +01:00
  • 611ab3cbf3 nvttest: Improve help Kim Woelders 2024-11-10 11:24:35 +01:00
  • 6e2e530215 nvtsrv: Fix inconsistent help Kim Woelders 2024-11-09 18:58:22 +01:00
  • 3d5848aff0 ttynvt: On TCSET* skip rfc2217 baud rate change if zero Kim Woelders 2024-10-26 10:45:35 +02:00
  • 4223a4b92a Support odd parity. Nebojsa Sabovic 2024-10-24 16:13:31 +02:00
  • 7c80995256 fix missing deref of tty data when destroyed (#2) v0.16-multiple-clients 8-support-for-multiple-clients Frank Rolsted Jensen 2024-03-21 14:54:34 +01:00
  • 299cfcabb5 fix mssing deref of tty data when destroyed Frank Rolsted Jensen 2024-03-21 13:03:43 +01:00
  • 2c090f3721 Re-indent everything with indent-2.2.13 Kim Woelders 2024-03-06 17:20:31 +01:00
  • 797ccf08c8 socket: Indent according to profile Kim Woelders 2024-03-06 17:18:46 +01:00
  • 9739087594 support TCP/IPv6 address and UNIX domain socket path as rfc2217 server s-wakaba@gitlab.com 2024-03-01 18:12:03 +09:00
  • f41067c3be nvttest: Add missing -lpthread Kim Woelders 2024-03-05 11:19:23 +01:00
  • b47cb98a69 Comments updated Frank Rolsted Jensen 2023-10-13 09:24:44 +02:00
  • cb6509861f Client index included in debug output Frank Rolsted Jensen 2023-10-13 09:23:18 +02:00
  • 2f0cea6f73 fix mutex unlock if open fails Frank Rolsted Jensen 2023-10-13 09:21:25 +02:00
  • 015da8a55e Allow multiple clients to open the ttynvt device Frank Rolsted Jensen 2023-10-04 10:53:39 +02:00
  • 4fce33a5d7 ttynvt version 0.16 v0.16 Kim Woelders 2023-03-13 09:40:44 +01:00
  • b2115e5fea nvtsrv: Optionally echo all input from client Kim Woelders 2023-02-16 19:26:31 +01:00
  • b25eb00bc5 nvtsrv: Use nvt_log for printing output Kim Woelders 2023-02-16 19:26:31 +01:00
  • b6faf87c3a nvtsrv: Input processing changes, send all from console Kim Woelders 2023-02-16 19:25:09 +01:00
  • 674ed45ebf nvttest: Use nvt_log for printing output Kim Woelders 2023-02-17 06:41:23 +01:00
  • f02de1ae99 nvttest: Write more data Kim Woelders 2023-02-17 06:18:45 +01:00
  • b65d44abe5 ttynvt: Ignore ioctls entirely in raw mode Kim Woelders 2023-02-16 18:39:25 +01:00
  • d1f46f7dbe ttynvt: Enable disabling telnet processing Kim Woelders 2023-02-16 16:47:24 +01:00
  • 20c393c053 ttynvt: Add some parentheses for clarity Kim Woelders 2023-02-16 11:36:45 +01:00
  • 02d90b7634 nvttest: Add test tool Kim Woelders 2023-02-09 07:41:56 +01:00
  • 4e14ef1956 nvtsrv: Add test server Kim Woelders 2019-08-30 04:21:54 +02:00
  • d0bf492b10 ttynvt: Some cosmetics in the telnet department Kim Woelders 2023-02-14 07:19:24 +01:00
  • 84c54c5504 socket: Add server socket fucntions Kim Woelders 2023-02-12 22:15:26 +01:00
  • a978e86c82 socket: Move host:port parsing to socket function Kim Woelders 2023-02-12 22:12:59 +01:00
  • a49f95a300 build: Move stuff to be shared to lib/ (nvt_log, socket) Kim Woelders 2023-02-12 15:52:48 +01:00
  • ac58d1a470 ttynvt: Move socket function to seperate file Kim Woelders 2023-02-12 19:04:54 +01:00
  • cc038383fe autofoo: Move warning flags setup to configure.ac Kim Woelders 2023-02-12 14:36:33 +01:00
  • ad077571f8 ttynvt: Optionally add delay during close Kim Woelders 2023-02-12 08:03:29 +01:00
  • 8bf4b7705d ttynvt: Add overall access lock Kim Woelders 2023-02-10 19:26:11 +01:00
  • cac5be0ddc ttynvt: Some refactoring Kim Woelders 2023-02-11 07:00:06 +01:00
  • 3ab1dd5cc7 ttynvt: Avoid potential "net read error" in _read_net() when closing Kim Woelders 2023-02-10 11:27:15 +01:00
  • 94bd59e1e0 ttynvt: Partial read fix Kim Woelders 2023-02-13 09:30:29 +01:00
  • 5fb11097e1 logging: Log to stderr instead of stdout Kim Woelders 2023-02-09 17:00:41 +01:00
  • 895cfffc6b logging: Add quiet option Kim Woelders 2023-02-10 09:26:34 +01:00
  • 6e5c44eb29 logging: Some refactoring Kim Woelders 2023-02-09 17:00:41 +01:00
  • 05b9b13b04 ttynvt: Tweak some log/debug messages Kim Woelders 2023-02-09 07:25:18 +01:00
  • 9e99ec69b4 configure.ac: Cleanups Kim Woelders 2022-08-19 06:49:25 +02:00
  • 72f0058e27 Add some compiler warnings Kim Woelders 2022-01-16 20:12:23 +01:00
  • 50a6b600bf ttynvt version 0.15 v0.15 Kim Woelders 2022-08-10 07:25:47 +02:00
  • 465f31ba87 Avoid some cast-qual warnings Kim Woelders 2022-01-16 20:10:48 +01:00
  • 90c5387613 Clear pollin flag when input buffer is flushed Frank Rolsted Jensen 2021-10-27 15:44:09 +02:00
  • 6bf10a6901 Support for software flow control Frank Rolsted Jensen 2021-10-28 11:33:09 +02:00
  • 9cff495183 Support for software flow control 3-software-flow-control-not-supported Frank Rolsted Jensen 2021-10-28 11:33:09 +02:00
  • eaf30f067c Clear pollin flag when input buffer is flushed 1-failure-with-pyserial Frank Rolsted Jensen 2021-10-27 15:44:09 +02:00
  • f759c0e3cc Correct termios2 baud rate calculation Kim Woelders 2021-06-18 15:45:23 +02:00
  • 0606891b78 Add indent profile + formatting tweak Kim Woelders 2021-06-18 15:40:25 +02:00
  • 899596fd5b Use all baudrate for traditional termios known to linux kernel 5.10. joluxer 2021-06-13 11:33:35 +02:00
  • a21ba0cb9c Make some variable storage bit width agnostic for transport. joluxer 2021-06-13 11:19:35 +02:00
  • 8f03384964 print_help(): Add missing options to run in foreground Kim Woelders 2021-06-18 07:44:02 +02:00
  • b314659125 Fix potentially incorrect speed check Kim Woelders 2021-06-18 06:59:34 +02:00
  • 42a4e2e062 ttynvt_ioctl(): Cleanups around TCSET.. handling Kim Woelders 2021-06-18 07:18:01 +02:00
  • 0b402cdb6b Remove pointless CFLAGS_OPT Kim Woelders 2021-06-14 18:35:10 +02:00
  • 302ed6d796 Include asm/ioctls.h for TCSETSF2 and friends Kim Woelders 2021-01-20 18:33:41 +01:00
  • bf11b1dd15 Add support for termios2 ioctls Kim Woelders 2021-01-13 19:20:16 +01:00
  • 33de2e875c Add a couple of debug logs Kim Woelders 2021-01-14 07:28:31 +01:00
  • eccd32fdfb telnet_param.h: Show hex codes too Kim Woelders 2021-01-14 06:31:26 +01:00
  • 089b733f27 Indent Kim Woelders 2021-01-14 07:18:48 +01:00
  • 41802ce7e9 Include poll.h, not sys/poll.h Kim Woelders 2020-10-08 17:31:19 +02:00
  • e51a98e4b2 Handle CRTSCTS properly Kim Woelders 2019-09-03 18:36:54 +02:00
  • 9db6c5d83c Move logging functions to separate file Kim Woelders 2019-08-30 09:37:25 +02:00
  • e3675b9e89 Move ttynvt source to src/ Kim Woelders 2019-09-03 18:29:31 +02:00
  • cf6b334bcc ttynvt version 0.14 v0.14 Kim Woelders 2019-03-21 08:50:14 +01:00
  • 09e96e72f7 Add some more debug Kim Woelders 2019-03-21 08:42:33 +01:00
  • 688fc53caf Proper flow-control handling Kim Woelders 2019-03-21 08:02:28 +01:00
  • 4d1d6978e4 Don't clear readable flag on poll Kim Woelders 2019-01-16 07:37:10 +01:00
  • 8f03aabe30 Add timestamp when logging to stdout Kim Woelders 2018-10-31 12:09:37 +01:00
  • 3cad2c060d ttynvt version 0.13 v0.13 Kim Woelders 2018-10-25 11:24:45 +02:00
  • 89f8ec8018 Reorder MCR debug printouts Kim Woelders 2018-10-25 09:20:12 +02:00
  • de0845a9ce Consistently use DCD, not CD Kim Woelders 2018-10-25 07:47:58 +02:00
  • 732eb8da25 Refactor termios parsing for rfc2217 and debug Kim Woelders 2018-10-25 07:13:10 +02:00
  • 0f95e0779e Avoid close error on FD_MASTER after DCD drop Kim Woelders 2018-10-25 07:42:08 +02:00
  • 0cc9b58a65 Close master pty on DCD drop if not CLOCAL Kim Woelders 2018-10-24 13:08:23 +02:00
  • 314e4b1b99 Flushing ioctl fixups Kim Woelders 2018-10-23 07:08:07 +02:00
  • effca015a8 Fix running on big endian Kim Woelders 2018-10-22 11:09:12 +02:00
  • 85394b243e ttynvt version 0.12 v0.12 Kim Woelders 2018-10-17 14:53:59 +02:00
  • 673ddd9739 Fix RFC2217 server death Kim Woelders 2018-10-17 13:50:47 +02:00
  • 1e05632ec0 Eliminate ttynvt_t::tmp_buf Kim Woelders 2018-10-17 10:29:23 +02:00
  • 86aebe372e Add TIOCSCTTY/TIOCNOTTY name decoding Kim Woelders 2018-10-17 07:32:37 +02:00
  • 71de4b1ab4 Set RTS if CRTSCTS is set Kim Woelders 2018-10-17 07:23:19 +02:00
  • a05b17f142 Properly exit on SIGTERM Kim Woelders 2018-10-16 07:46:39 +02:00
  • ef3d01556e Properly initialize termios struct before use in ttynvt_open() Kim Woelders 2018-10-16 07:46:04 +02:00
  • 2fe0428d92 Use struct termios in ttynvt_t and drop static one. Kim Woelders 2018-10-15 13:25:03 +02:00
  • af3c3d4162 Always set POLLOUT on slave poll Kim Woelders 2018-10-15 13:36:00 +02:00
  • 540ddd5659 Fix polling of pty slave Kim Woelders 2018-10-15 11:47:43 +02:00
  • 6dc40e44e2 Enable debug logging data too Kim Woelders 2018-10-15 07:55:00 +02:00
  • 08e7fb1d7e More debug Kim Woelders 2018-10-11 15:18:20 +02:00
  • d85251400f Optionally print debug to stdout Kim Woelders 2018-10-15 11:15:21 +02:00