4 Changes since tio v1.17:
8 * Added support for non-standard baud rates
10 Only enabled when possible, that is, when the BOTHER definition is
13 It is untested but it should work as described here:
14 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683826
16 Some Cypress USB<->serial devices supposedly supports arbitrary speeds.
18 * Generate baudrate switch cases based on detection
20 Support a single source of baud rate configuration as discussed in
21 https://github.com/tio/tio/issues/45 .
23 To do so, autogeneration of the switch cases which do the baud rate
24 option value check and configuration/conversion in tty_configure() is
25 introduced via a single macro.
27 Just to be safe, this change also enables configure detection of all
28 baud rates, including the ones previously assumed supported by most/all
33 * Exit when not a tty device in autoconnect mode
37 * Added non-standard baud rates that are defined on FreeBSD
39 * Capitalized "GitHub" in README
43 Changes since tio v1.16:
45 * Compacted tty_configure() a bit
47 * Fixed automatic baud rate enablement
51 * Added autodetection of available baud rates
53 Various platforms support different baud rates.
55 To avoid adding platform specific handling generic baud rate detection
56 tests are introduced in the configure script. Successfully detected baud
57 rates are automatically enabled. This applies to both the C code and the
58 bash completion script.
61 Baud rates below 57600 are defined by POSIX-1 and supported by most
62 platforms so only baud rate 57600 and above are tested.
64 * Updated bash-completion
66 * Fixed printf() format type
68 * Added Travis build configuration
72 * Generated bash completion at configure time
74 * Reduce code duplication in baud rate detection
76 * Add support for baud rates 200 and 1800
82 Changes since tio v1.15:
88 * Removed obsolete packaging files
90 * Removed use of deprecated bzero()
94 Changes since tio v1.14:
96 * Removed + to remove potential confusion
98 * Added input digit checks
100 * Fixed license string
102 * Introduced tty_configure()
104 Moved tty configuration actions to tty_configure() in tty.c. This way
105 options.c is strictly about parsing options nothing else.
107 * Function names cleanup
109 * Updated AUTHORS file
111 Added Nick who created the new tio package for Arch Linux.
113 * Fixed tx/rx counters type
117 * Include config.h before standard headers
119 This makes use of 8d6d202 (Enable large file support) for real.
123 * Fixed printf directives for tx/rx counters
125 In 9a66de0affda, types of tx/rx counters were changed from "long" to
126 "unsigned long", but their printf directives remained "%ld".
127 Change them to "%lu" to match the actual types.
131 Changes since tio v1.13:
133 * Fixed tio_printf macro
137 Fixed launch hints not being printed in no autoconnect mode.
139 * Added 'ctrl-t ?' to list available commands
141 * Fixed log mechanism
143 To avoid echoing only log what is received from tty device.
145 * Improved tio output
147 Added titles and indentation to commands output for clearer separation
148 when firing commands repeatedly.
150 Also added print of tio version and quit command hint at launch.
152 * Cleaned up tio print mechanism
158 "allow" is a transitive verb, which requires an object,
159 so "allow to <verb>" is ungrammatical.
165 Changes since tio v1.12:
167 * Fixed some error prints
169 * Fixed error printing for no autoconnect mode
171 Always print errors but only print silent errors when in no autoconnect
174 * Added key command for showing session settings
176 A new key command "ctrl-t i" is added to allow the user to display the
177 various session settings information (baudrate, databits, log file, etc.).
179 This is useful in case you have a running session but have forgotten
180 what the settings are.
184 Changes since tio v1.11:
186 * Consolidated command key handling
188 * Moved delay mechanism into separate function
190 * Retired obsolete usleep()
192 Replaced with nanosleep()
194 * Added simple tx/rx statistics command (ctrl-t s)
196 To display the total number of bytes transmitted/received simply perform the
197 'ctrl-t s' command sequence.
199 This feature can be useful when eg. trying to detect non-printable
202 * Further simplification of key handling
204 Changed so that the "ctrl-t ctrl-t" sequence is now simply "ctrl-t t" to
205 send the ctrl-t key code. This is inspired by screen which does similar
206 to send its command key code (ctrl-a a).
208 This change also eases adding new key commands if needed.
210 Updated man page accordingly.
212 * Cleaned up and simplified key handling
216 * Insert output delay only if something was output
220 Changes since tio v1.10:
222 * Enabled large file support (LFS)
224 Added autotools AC_SYS_LARGEFILE to support 64 bit file size handling.
230 Changes since tio v1.9:
232 * Introduced lock on device file
234 Tio will now test for and obtain an advisory lock on the tty device file
235 to prevent starting multiple sessions on the same tty device.
241 * Treat EOF on stdin as error
245 Changes since tio v1.8:
247 * Cleanup of error handling
249 Introduced consistent way of handling errors and printing error messages.
251 Also upgraded some warnings to errors.
253 * Updated localtime() error message
259 * Fix error handling for select()
261 Previously the error handling code for select() was unreachable.
263 * Removed unneeded quotes from AM_CFLAGS
267 * Fixed setting "tainted"
269 Set "tainted" if and only if any character was read from the device.
271 Ctrl-t is no longer sent to the device on exit, so the trick to avoid
272 its echo is not necessary.
274 Characters read from stdin don't directly affect output, so they
275 shouldn't enable "tainted".
277 * Used \r in color_printf()
279 \033[300D is an unusual way to move the cursor back to column 1.
280 Use straightforward \r instead.
282 * Added missing \r\n to warning messages
284 \n alone is not enough, because the terminal is in raw mode.
288 Changes since tio v1.7:
290 * Fixed enablement of compiler warnings
292 * Fixed log_open() prototype
294 * Fixed index error wrt ctrl-t detection
296 * Fixed handling of ctrl-t
298 Before, when exercising the quit key sequence (ctrl-t + q) the ctrl-t code
299 (0x14) would be sent.
301 This is now fixed so that it is not sent.
303 However, in case it is needed to send ctrl-t to the device it is possible by
304 simply repeating the ctrl-t.
306 Meaning, ctrl-t + ctrl-t = ctrl-t sent to device.
308 * Improved error handling
310 Fixes a memory leak and avoids aggressive busy looping when problems
311 accessing tty device.
313 * Removed redundant log_close() call
315 * Enabled compiler warnings
319 * Stopped copying arguments to fixed-size buffers
321 Don't needlessly copy command-line arguments into fixed-size buffers.
323 Previously the program crashed if an overlong pathname was provided on
324 the command line. Also, some systems (such as GNU Hurd) don't define
327 * Added const to log_open() prototype
329 * Completed the ^g to ^t transition
331 In 72a287f18995 the escape key was changed from ^g to ^t, but some
332 code and comments still referred to the old key.
334 * Used HTTPS for tio.github.io
336 * Man page beautification
338 * Bumped date in man page
340 * Improve man page formatting
342 Use regular font for metacharacters such as "[]", "," or "|";
343 use italic font for metavariables.
345 * Fixed hyphen vs minus vs em-dash confusion in man page
348 \- prints as minus sign;
349 \em prints as em-dash.
353 Changes since tio v1.6:
355 * Changed escape key from ^g to ^t
357 After renaming to "tio" it makes sense to change the escape key
358 accordingly. Hence, the new escape key is ^t.
360 Meaning, in session, its now ctrl-t + q to quit.
364 * Fixed silly "tio or tio" in man page