5 Changes since tio v1.24:
7 * Fix error applying new stdout settings
9 On Fedora 26 tio will quit with the following error message:
11 "Error: Could not apply new stdout settings (Invalid argument)"
13 In case of Fedora, it turns out that the new stdout settings used are a
14 bit too agressive because an empty termios structure is used. To remedy
15 this we reuse the existing stdout settings and only reconfigure the
16 specific options we need to make a "raw" stdout configuration.
18 * Remove unused pkgconfig in configure
22 Remove unused variable.
26 Changes since tio v1.23:
28 * Optimize clear screen command
30 Replaced system call with inline ANSI/VT100 clear screen code sequence
32 * Fix bash completion installation
34 Fixed the configure script to avoid that the bash completion script gets
35 installed outside of the prefix location. The default install location
36 is now $prefix/share/bash-completion/completions.
38 Use the configure option '--with-bash-completion-dir=PATH' if you need
39 to install the bash completion script elsewhere.
43 * Add missing commas in conditional sentences
47 Changes since tio v1.22:
49 * Update copyright headers
56 Changes since tio v1.21:
58 * Update man page date
60 * Update copyright year
64 * Update README and man page
68 Changes since tio v1.20:
70 * Add support for hexadecimal mode
72 A new key command 'ctrl-t h' is introduced which toggles between
73 hexadecimal mode and normal mode. When in hexadecimal mode data received
74 will be printed in hexadecimal.
76 * Do not distribute src/bash_completion/tio
78 Since the bash completion tio script is now autogenerated from tio.in it
79 should not be distributed in the tarball.
81 * Add missing forward flag
87 * 'ctrl-t b' to send serial break.
91 * Removed git commit references from ChangeLog
93 ChangeLog is primary useful for users who don't have the git repository
96 Replace git commit references with version numbers; or if the change
97 only cleans up another change with no release in between, remove the
98 changelog item completely.
102 Changes since tio v1.19:
104 * Added more error handling of terminal calls
106 Also removed duplicate terminal flushing calls.
108 * Revert "Added support for non-standard baud rates"
110 This reverts a change made in v1.18.
112 Reverting because supporting non-standard or arbitrary baud rates is
113 troublesome because the c library provides no means of doing so and even
114 if bare metal linux kernel interface is used it will not work on all
115 Linux kernels version.
119 Changes since tio v1.18:
121 * Rearranged key commands
123 Rearranged the key commands:
125 ctrl-t c (clear screen) is now
126 ctrl-t l which is similar to the well known shell ctrl-l
128 ctrl-t i (show settings information) is now
129 ctrl-t c (show configuration)
131 Updated man page accordingly.
133 * Added "ctrl-t c" key command to clear screen
137 Changes since tio v1.17:
141 * Added support for non-standard baud rates
143 Only enabled when possible, that is, when the BOTHER definition is
146 It is untested but it should work as described here:
147 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683826
149 Some Cypress USB<->serial devices supposedly supports arbitrary speeds.
151 * Generate baudrate switch cases based on detection
153 Support a single source of baud rate configuration as discussed in
154 https://github.com/tio/tio/issues/45 .
156 To do so, autogeneration of the switch cases which do the baud rate
157 option value check and configuration/conversion in tty_configure() is
158 introduced via a single macro.
160 Just to be safe, this change also enables configure detection of all
161 baud rates, including the ones previously assumed supported by most/all
166 * Exit when not a tty device in autoconnect mode
170 * Added non-standard baud rates that are defined on FreeBSD
172 * Capitalized "GitHub" in README
176 Changes since tio v1.16:
178 * Compacted tty_configure() a bit
180 * Fixed automatic baud rate enablement
184 * Added autodetection of available baud rates
186 Various platforms support different baud rates.
188 To avoid adding platform specific handling generic baud rate detection
189 tests are introduced in the configure script. Successfully detected baud
190 rates are automatically enabled. This applies to both the C code and the
191 bash completion script.
194 Baud rates below 57600 are defined by POSIX-1 and supported by most
195 platforms so only baud rate 57600 and above are tested.
197 * Updated bash-completion
199 * Fixed printf() format type
201 * Added Travis build configuration
205 * Generated bash completion at configure time
207 * Reduce code duplication in baud rate detection
209 * Add support for baud rates 200 and 1800
211 * Fixed baudrate type
215 Changes since tio v1.15:
221 * Removed obsolete packaging files
223 * Removed use of deprecated bzero()
227 Changes since tio v1.14:
229 * Removed + to remove potential confusion
231 * Added input digit checks
233 * Fixed license string
235 * Introduced tty_configure()
237 Moved tty configuration actions to tty_configure() in tty.c. This way
238 options.c is strictly about parsing options nothing else.
240 * Function names cleanup
242 * Updated AUTHORS file
244 Added Nick who created the new tio package for Arch Linux.
246 * Fixed tx/rx counters type
250 * Include config.h before standard headers
252 Large file support was meant to be enabled in v1.11.
253 This change enables it for real.
257 Changes since tio v1.13:
259 * Fixed tio_printf macro
263 Fixed launch hints not being printed in no autoconnect mode.
265 * Added 'ctrl-t ?' to list available commands
267 * Fixed log mechanism
269 To avoid echoing only log what is received from tty device.
271 * Improved tio output
273 Added titles and indentation to commands output for clearer separation
274 when firing commands repeatedly.
276 Also added print of tio version and quit command hint at launch.
278 * Cleaned up tio print mechanism
284 "allow" is a transitive verb, which requires an object,
285 so "allow to <verb>" is ungrammatical.
291 Changes since tio v1.12:
293 * Fixed some error prints
295 * Fixed error printing for no autoconnect mode
297 Always print errors but only print silent errors when in no autoconnect
300 * Added key command for showing session settings
302 A new key command "ctrl-t i" is added to allow the user to display the
303 various session settings information (baudrate, databits, log file, etc.).
305 This is useful in case you have a running session but have forgotten
306 what the settings are.
310 Changes since tio v1.11:
312 * Consolidated command key handling
314 * Moved delay mechanism into separate function
316 * Retired obsolete usleep()
318 Replaced with nanosleep()
320 * Added simple tx/rx statistics command (ctrl-t s)
322 To display the total number of bytes transmitted/received simply perform the
323 'ctrl-t s' command sequence.
325 This feature can be useful when eg. trying to detect non-printable
328 * Further simplification of key handling
330 Changed so that the "ctrl-t ctrl-t" sequence is now simply "ctrl-t t" to
331 send the ctrl-t key code. This is inspired by screen which does similar
332 to send its command key code (ctrl-a a).
334 This change also eases adding new key commands if needed.
336 Updated man page accordingly.
338 * Cleaned up and simplified key handling
342 * Insert output delay only if something was output
346 Changes since tio v1.10:
348 * Enabled large file support (LFS)
350 Added autotools AC_SYS_LARGEFILE to support 64 bit file size handling.
356 Changes since tio v1.9:
358 * Introduced lock on device file
360 Tio will now test for and obtain an advisory lock on the tty device file
361 to prevent starting multiple sessions on the same tty device.
367 * Treat EOF on stdin as error
371 Changes since tio v1.8:
373 * Cleanup of error handling
375 Introduced consistent way of handling errors and printing error messages.
377 Also upgraded some warnings to errors.
379 * Updated localtime() error message
385 * Fix error handling for select()
387 Previously the error handling code for select() was unreachable.
389 * Removed unneeded quotes from AM_CFLAGS
393 * Fixed setting "tainted"
395 Set "tainted" if and only if any character was read from the device.
397 Ctrl-t is no longer sent to the device on exit, so the trick to avoid
398 its echo is not necessary.
400 Characters read from stdin don't directly affect output, so they
401 shouldn't enable "tainted".
403 * Used \r in color_printf()
405 \033[300D is an unusual way to move the cursor back to column 1.
406 Use straightforward \r instead.
408 * Added missing \r\n to warning messages
410 \n alone is not enough, because the terminal is in raw mode.
414 Changes since tio v1.7:
416 * Fixed enablement of compiler warnings
418 * Fixed log_open() prototype
420 * Fixed index error wrt ctrl-t detection
422 * Fixed handling of ctrl-t
424 Before, when exercising the quit key sequence (ctrl-t + q) the ctrl-t code
425 (0x14) would be sent.
427 This is now fixed so that it is not sent.
429 However, in case it is needed to send ctrl-t to the device it is possible by
430 simply repeating the ctrl-t.
432 Meaning, ctrl-t + ctrl-t = ctrl-t sent to device.
434 * Improved error handling
436 Fixes a memory leak and avoids aggressive busy looping when problems
437 accessing tty device.
439 * Removed redundant log_close() call
441 * Enabled compiler warnings
445 * Stopped copying arguments to fixed-size buffers
447 Don't needlessly copy command-line arguments into fixed-size buffers.
449 Previously the program crashed if an overlong pathname was provided on
450 the command line. Also, some systems (such as GNU Hurd) don't define
453 * Added const to log_open() prototype
455 * Completed the ^g to ^t transition
457 In v1.7 the escape key was changed from ^g to ^t, but some
458 code and comments still referred to the old key.
460 * Used HTTPS for tio.github.io
462 * Man page beautification
464 * Bumped date in man page
466 * Improve man page formatting
468 Use regular font for metacharacters such as "[]", "," or "|";
469 use italic font for metavariables.
471 * Fixed hyphen vs minus vs em-dash confusion in man page
474 \- prints as minus sign;
475 \em prints as em-dash.
479 Changes since tio v1.6:
481 * Changed escape key from ^g to ^t
483 After renaming to "tio" it makes sense to change the escape key
484 accordingly. Hence, the new escape key is ^t.
486 Meaning, in session, its now ctrl-t + q to quit.
490 * Fixed silly "tio or tio" in man page