5 Changes since tio v1.23:
7 * Optimize clear screen command
9 Replaced system call with inline ANSI/VT100 clear screen code sequence
11 * Fix bash completion installation
13 Fixed the configure script to avoid that the bash completion script gets
14 installed outside of the prefix location. The default install location
15 is now $prefix/share/bash-completion/completions.
17 Use the configure option '--with-bash-completion-dir=PATH' if you need
18 to install the bash completion script elsewhere.
22 * Add missing commas in conditional sentences
26 Changes since tio v1.22:
28 * Update copyright headers
35 Changes since tio v1.21:
37 * Update man page date
39 * Update copyright year
43 * Update README and man page
47 Changes since tio v1.20:
49 * Add support for hexadecimal mode
51 A new key command 'ctrl-t h' is introduced which toggles between
52 hexadecimal mode and normal mode. When in hexadecimal mode data received
53 will be printed in hexadecimal.
55 * Do not distribute src/bash_completion/tio
57 Since the bash completion tio script is now autogenerated from tio.in it
58 should not be distributed in the tarball.
60 * Add missing forward flag
66 * 'ctrl-t b' to send serial break.
70 * Removed git commit references from ChangeLog
72 ChangeLog is primary useful for users who don't have the git repository
75 Replace git commit references with version numbers; or if the change
76 only cleans up another change with no release in between, remove the
77 changelog item completely.
81 Changes since tio v1.19:
83 * Added more error handling of terminal calls
85 Also removed duplicate terminal flushing calls.
87 * Revert "Added support for non-standard baud rates"
89 This reverts a change made in v1.18.
91 Reverting because supporting non-standard or arbitrary baud rates is
92 troublesome because the c library provides no means of doing so and even
93 if bare metal linux kernel interface is used it will not work on all
94 Linux kernels version.
98 Changes since tio v1.18:
100 * Rearranged key commands
102 Rearranged the key commands:
104 ctrl-t c (clear screen) is now
105 ctrl-t l which is similar to the well known shell ctrl-l
107 ctrl-t i (show settings information) is now
108 ctrl-t c (show configuration)
110 Updated man page accordingly.
112 * Added "ctrl-t c" key command to clear screen
116 Changes since tio v1.17:
120 * Added support for non-standard baud rates
122 Only enabled when possible, that is, when the BOTHER definition is
125 It is untested but it should work as described here:
126 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683826
128 Some Cypress USB<->serial devices supposedly supports arbitrary speeds.
130 * Generate baudrate switch cases based on detection
132 Support a single source of baud rate configuration as discussed in
133 https://github.com/tio/tio/issues/45 .
135 To do so, autogeneration of the switch cases which do the baud rate
136 option value check and configuration/conversion in tty_configure() is
137 introduced via a single macro.
139 Just to be safe, this change also enables configure detection of all
140 baud rates, including the ones previously assumed supported by most/all
145 * Exit when not a tty device in autoconnect mode
149 * Added non-standard baud rates that are defined on FreeBSD
151 * Capitalized "GitHub" in README
155 Changes since tio v1.16:
157 * Compacted tty_configure() a bit
159 * Fixed automatic baud rate enablement
163 * Added autodetection of available baud rates
165 Various platforms support different baud rates.
167 To avoid adding platform specific handling generic baud rate detection
168 tests are introduced in the configure script. Successfully detected baud
169 rates are automatically enabled. This applies to both the C code and the
170 bash completion script.
173 Baud rates below 57600 are defined by POSIX-1 and supported by most
174 platforms so only baud rate 57600 and above are tested.
176 * Updated bash-completion
178 * Fixed printf() format type
180 * Added Travis build configuration
184 * Generated bash completion at configure time
186 * Reduce code duplication in baud rate detection
188 * Add support for baud rates 200 and 1800
190 * Fixed baudrate type
194 Changes since tio v1.15:
200 * Removed obsolete packaging files
202 * Removed use of deprecated bzero()
206 Changes since tio v1.14:
208 * Removed + to remove potential confusion
210 * Added input digit checks
212 * Fixed license string
214 * Introduced tty_configure()
216 Moved tty configuration actions to tty_configure() in tty.c. This way
217 options.c is strictly about parsing options nothing else.
219 * Function names cleanup
221 * Updated AUTHORS file
223 Added Nick who created the new tio package for Arch Linux.
225 * Fixed tx/rx counters type
229 * Include config.h before standard headers
231 Large file support was meant to be enabled in v1.11.
232 This change enables it for real.
236 Changes since tio v1.13:
238 * Fixed tio_printf macro
242 Fixed launch hints not being printed in no autoconnect mode.
244 * Added 'ctrl-t ?' to list available commands
246 * Fixed log mechanism
248 To avoid echoing only log what is received from tty device.
250 * Improved tio output
252 Added titles and indentation to commands output for clearer separation
253 when firing commands repeatedly.
255 Also added print of tio version and quit command hint at launch.
257 * Cleaned up tio print mechanism
263 "allow" is a transitive verb, which requires an object,
264 so "allow to <verb>" is ungrammatical.
270 Changes since tio v1.12:
272 * Fixed some error prints
274 * Fixed error printing for no autoconnect mode
276 Always print errors but only print silent errors when in no autoconnect
279 * Added key command for showing session settings
281 A new key command "ctrl-t i" is added to allow the user to display the
282 various session settings information (baudrate, databits, log file, etc.).
284 This is useful in case you have a running session but have forgotten
285 what the settings are.
289 Changes since tio v1.11:
291 * Consolidated command key handling
293 * Moved delay mechanism into separate function
295 * Retired obsolete usleep()
297 Replaced with nanosleep()
299 * Added simple tx/rx statistics command (ctrl-t s)
301 To display the total number of bytes transmitted/received simply perform the
302 'ctrl-t s' command sequence.
304 This feature can be useful when eg. trying to detect non-printable
307 * Further simplification of key handling
309 Changed so that the "ctrl-t ctrl-t" sequence is now simply "ctrl-t t" to
310 send the ctrl-t key code. This is inspired by screen which does similar
311 to send its command key code (ctrl-a a).
313 This change also eases adding new key commands if needed.
315 Updated man page accordingly.
317 * Cleaned up and simplified key handling
321 * Insert output delay only if something was output
325 Changes since tio v1.10:
327 * Enabled large file support (LFS)
329 Added autotools AC_SYS_LARGEFILE to support 64 bit file size handling.
335 Changes since tio v1.9:
337 * Introduced lock on device file
339 Tio will now test for and obtain an advisory lock on the tty device file
340 to prevent starting multiple sessions on the same tty device.
346 * Treat EOF on stdin as error
350 Changes since tio v1.8:
352 * Cleanup of error handling
354 Introduced consistent way of handling errors and printing error messages.
356 Also upgraded some warnings to errors.
358 * Updated localtime() error message
364 * Fix error handling for select()
366 Previously the error handling code for select() was unreachable.
368 * Removed unneeded quotes from AM_CFLAGS
372 * Fixed setting "tainted"
374 Set "tainted" if and only if any character was read from the device.
376 Ctrl-t is no longer sent to the device on exit, so the trick to avoid
377 its echo is not necessary.
379 Characters read from stdin don't directly affect output, so they
380 shouldn't enable "tainted".
382 * Used \r in color_printf()
384 \033[300D is an unusual way to move the cursor back to column 1.
385 Use straightforward \r instead.
387 * Added missing \r\n to warning messages
389 \n alone is not enough, because the terminal is in raw mode.
393 Changes since tio v1.7:
395 * Fixed enablement of compiler warnings
397 * Fixed log_open() prototype
399 * Fixed index error wrt ctrl-t detection
401 * Fixed handling of ctrl-t
403 Before, when exercising the quit key sequence (ctrl-t + q) the ctrl-t code
404 (0x14) would be sent.
406 This is now fixed so that it is not sent.
408 However, in case it is needed to send ctrl-t to the device it is possible by
409 simply repeating the ctrl-t.
411 Meaning, ctrl-t + ctrl-t = ctrl-t sent to device.
413 * Improved error handling
415 Fixes a memory leak and avoids aggressive busy looping when problems
416 accessing tty device.
418 * Removed redundant log_close() call
420 * Enabled compiler warnings
424 * Stopped copying arguments to fixed-size buffers
426 Don't needlessly copy command-line arguments into fixed-size buffers.
428 Previously the program crashed if an overlong pathname was provided on
429 the command line. Also, some systems (such as GNU Hurd) don't define
432 * Added const to log_open() prototype
434 * Completed the ^g to ^t transition
436 In v1.7 the escape key was changed from ^g to ^t, but some
437 code and comments still referred to the old key.
439 * Used HTTPS for tio.github.io
441 * Man page beautification
443 * Bumped date in man page
445 * Improve man page formatting
447 Use regular font for metacharacters such as "[]", "," or "|";
448 use italic font for metavariables.
450 * Fixed hyphen vs minus vs em-dash confusion in man page
453 \- prints as minus sign;
454 \em prints as em-dash.
458 Changes since tio v1.6:
460 * Changed escape key from ^g to ^t
462 After renaming to "tio" it makes sense to change the escape key
463 accordingly. Hence, the new escape key is ^t.
465 Meaning, in session, its now ctrl-t + q to quit.
469 * Fixed silly "tio or tio" in man page