5 Changes since tio v1.25:
9 Make stdin behave more raw'ish. In particular, don't
10 translate CR -> NL on input.
12 * Add special character map feature
14 Add a --map option which allows to map special characters, in particular CR and
15 NL characters which are used in various combinations on varios platforms.
29 Changes since tio v1.24:
31 * Fix error applying new stdout settings
33 On Fedora 26 tio will quit with the following error message:
35 "Error: Could not apply new stdout settings (Invalid argument)"
37 In case of Fedora, it turns out that the new stdout settings used are a
38 bit too agressive because an empty termios structure is used. To remedy
39 this we reuse the existing stdout settings and only reconfigure the
40 specific options we need to make a "raw" stdout configuration.
42 * Remove unused pkgconfig in configure
46 Remove unused variable.
50 Changes since tio v1.23:
52 * Optimize clear screen command
54 Replaced system call with inline ANSI/VT100 clear screen code sequence
56 * Fix bash completion installation
58 Fixed the configure script to avoid that the bash completion script gets
59 installed outside of the prefix location. The default install location
60 is now $prefix/share/bash-completion/completions.
62 Use the configure option '--with-bash-completion-dir=PATH' if you need
63 to install the bash completion script elsewhere.
67 * Add missing commas in conditional sentences
71 Changes since tio v1.22:
73 * Update copyright headers
80 Changes since tio v1.21:
82 * Update man page date
84 * Update copyright year
88 * Update README and man page
92 Changes since tio v1.20:
94 * Add support for hexadecimal mode
96 A new key command 'ctrl-t h' is introduced which toggles between
97 hexadecimal mode and normal mode. When in hexadecimal mode data received
98 will be printed in hexadecimal.
100 * Do not distribute src/bash_completion/tio
102 Since the bash completion tio script is now autogenerated from tio.in it
103 should not be distributed in the tarball.
105 * Add missing forward flag
107 * Update AUTHORS file
111 * 'ctrl-t b' to send serial break.
115 * Removed git commit references from ChangeLog
117 ChangeLog is primary useful for users who don't have the git repository
120 Replace git commit references with version numbers; or if the change
121 only cleans up another change with no release in between, remove the
122 changelog item completely.
126 Changes since tio v1.19:
128 * Added more error handling of terminal calls
130 Also removed duplicate terminal flushing calls.
132 * Revert "Added support for non-standard baud rates"
134 This reverts a change made in v1.18.
136 Reverting because supporting non-standard or arbitrary baud rates is
137 troublesome because the c library provides no means of doing so and even
138 if bare metal linux kernel interface is used it will not work on all
139 Linux kernels version.
143 Changes since tio v1.18:
145 * Rearranged key commands
147 Rearranged the key commands:
149 ctrl-t c (clear screen) is now
150 ctrl-t l which is similar to the well known shell ctrl-l
152 ctrl-t i (show settings information) is now
153 ctrl-t c (show configuration)
155 Updated man page accordingly.
157 * Added "ctrl-t c" key command to clear screen
161 Changes since tio v1.17:
165 * Added support for non-standard baud rates
167 Only enabled when possible, that is, when the BOTHER definition is
170 It is untested but it should work as described here:
171 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683826
173 Some Cypress USB<->serial devices supposedly supports arbitrary speeds.
175 * Generate baudrate switch cases based on detection
177 Support a single source of baud rate configuration as discussed in
178 https://github.com/tio/tio/issues/45 .
180 To do so, autogeneration of the switch cases which do the baud rate
181 option value check and configuration/conversion in tty_configure() is
182 introduced via a single macro.
184 Just to be safe, this change also enables configure detection of all
185 baud rates, including the ones previously assumed supported by most/all
190 * Exit when not a tty device in autoconnect mode
194 * Added non-standard baud rates that are defined on FreeBSD
196 * Capitalized "GitHub" in README
200 Changes since tio v1.16:
202 * Compacted tty_configure() a bit
204 * Fixed automatic baud rate enablement
208 * Added autodetection of available baud rates
210 Various platforms support different baud rates.
212 To avoid adding platform specific handling generic baud rate detection
213 tests are introduced in the configure script. Successfully detected baud
214 rates are automatically enabled. This applies to both the C code and the
215 bash completion script.
218 Baud rates below 57600 are defined by POSIX-1 and supported by most
219 platforms so only baud rate 57600 and above are tested.
221 * Updated bash-completion
223 * Fixed printf() format type
225 * Added Travis build configuration
229 * Generated bash completion at configure time
231 * Reduce code duplication in baud rate detection
233 * Add support for baud rates 200 and 1800
235 * Fixed baudrate type
239 Changes since tio v1.15:
245 * Removed obsolete packaging files
247 * Removed use of deprecated bzero()
251 Changes since tio v1.14:
253 * Removed + to remove potential confusion
255 * Added input digit checks
257 * Fixed license string
259 * Introduced tty_configure()
261 Moved tty configuration actions to tty_configure() in tty.c. This way
262 options.c is strictly about parsing options nothing else.
264 * Function names cleanup
266 * Updated AUTHORS file
268 Added Nick who created the new tio package for Arch Linux.
270 * Fixed tx/rx counters type
274 * Include config.h before standard headers
276 Large file support was meant to be enabled in v1.11.
277 This change enables it for real.
281 Changes since tio v1.13:
283 * Fixed tio_printf macro
287 Fixed launch hints not being printed in no autoconnect mode.
289 * Added 'ctrl-t ?' to list available commands
291 * Fixed log mechanism
293 To avoid echoing only log what is received from tty device.
295 * Improved tio output
297 Added titles and indentation to commands output for clearer separation
298 when firing commands repeatedly.
300 Also added print of tio version and quit command hint at launch.
302 * Cleaned up tio print mechanism
308 "allow" is a transitive verb, which requires an object,
309 so "allow to <verb>" is ungrammatical.
315 Changes since tio v1.12:
317 * Fixed some error prints
319 * Fixed error printing for no autoconnect mode
321 Always print errors but only print silent errors when in no autoconnect
324 * Added key command for showing session settings
326 A new key command "ctrl-t i" is added to allow the user to display the
327 various session settings information (baudrate, databits, log file, etc.).
329 This is useful in case you have a running session but have forgotten
330 what the settings are.
334 Changes since tio v1.11:
336 * Consolidated command key handling
338 * Moved delay mechanism into separate function
340 * Retired obsolete usleep()
342 Replaced with nanosleep()
344 * Added simple tx/rx statistics command (ctrl-t s)
346 To display the total number of bytes transmitted/received simply perform the
347 'ctrl-t s' command sequence.
349 This feature can be useful when eg. trying to detect non-printable
352 * Further simplification of key handling
354 Changed so that the "ctrl-t ctrl-t" sequence is now simply "ctrl-t t" to
355 send the ctrl-t key code. This is inspired by screen which does similar
356 to send its command key code (ctrl-a a).
358 This change also eases adding new key commands if needed.
360 Updated man page accordingly.
362 * Cleaned up and simplified key handling
366 * Insert output delay only if something was output
370 Changes since tio v1.10:
372 * Enabled large file support (LFS)
374 Added autotools AC_SYS_LARGEFILE to support 64 bit file size handling.
380 Changes since tio v1.9:
382 * Introduced lock on device file
384 Tio will now test for and obtain an advisory lock on the tty device file
385 to prevent starting multiple sessions on the same tty device.
391 * Treat EOF on stdin as error
395 Changes since tio v1.8:
397 * Cleanup of error handling
399 Introduced consistent way of handling errors and printing error messages.
401 Also upgraded some warnings to errors.
403 * Updated localtime() error message
409 * Fix error handling for select()
411 Previously the error handling code for select() was unreachable.
413 * Removed unneeded quotes from AM_CFLAGS
417 * Fixed setting "tainted"
419 Set "tainted" if and only if any character was read from the device.
421 Ctrl-t is no longer sent to the device on exit, so the trick to avoid
422 its echo is not necessary.
424 Characters read from stdin don't directly affect output, so they
425 shouldn't enable "tainted".
427 * Used \r in color_printf()
429 \033[300D is an unusual way to move the cursor back to column 1.
430 Use straightforward \r instead.
432 * Added missing \r\n to warning messages
434 \n alone is not enough, because the terminal is in raw mode.
438 Changes since tio v1.7:
440 * Fixed enablement of compiler warnings
442 * Fixed log_open() prototype
444 * Fixed index error wrt ctrl-t detection
446 * Fixed handling of ctrl-t
448 Before, when exercising the quit key sequence (ctrl-t + q) the ctrl-t code
449 (0x14) would be sent.
451 This is now fixed so that it is not sent.
453 However, in case it is needed to send ctrl-t to the device it is possible by
454 simply repeating the ctrl-t.
456 Meaning, ctrl-t + ctrl-t = ctrl-t sent to device.
458 * Improved error handling
460 Fixes a memory leak and avoids aggressive busy looping when problems
461 accessing tty device.
463 * Removed redundant log_close() call
465 * Enabled compiler warnings
469 * Stopped copying arguments to fixed-size buffers
471 Don't needlessly copy command-line arguments into fixed-size buffers.
473 Previously the program crashed if an overlong pathname was provided on
474 the command line. Also, some systems (such as GNU Hurd) don't define
477 * Added const to log_open() prototype
479 * Completed the ^g to ^t transition
481 In v1.7 the escape key was changed from ^g to ^t, but some
482 code and comments still referred to the old key.
484 * Used HTTPS for tio.github.io
486 * Man page beautification
488 * Bumped date in man page
490 * Improve man page formatting
492 Use regular font for metacharacters such as "[]", "," or "|";
493 use italic font for metavariables.
495 * Fixed hyphen vs minus vs em-dash confusion in man page
498 \- prints as minus sign;
499 \em prints as em-dash.
503 Changes since tio v1.6:
505 * Changed escape key from ^g to ^t
507 After renaming to "tio" it makes sense to change the escape key
508 accordingly. Hence, the new escape key is ^t.
510 Meaning, in session, its now ctrl-t + q to quit.
514 * Fixed silly "tio or tio" in man page