]> git.sur5r.net Git - tio/blob - ChangeLog
Upload 1.29-1 to unstable
[tio] / ChangeLog
1
2 === tio v1.29 ===
3
4
5
6 Changes since tio v1.28:
7
8  * Add mapping flags INLCRNL and ODELBS
9
10    The following new mapping flags are added:
11
12    INLCRNL: Map NL to CR-NL on input.
13    ODELBS: Map DEL to BS on output.
14
15    Flags requested and tested by Jan Ciger (janoc).
16
17
18
19 Changes since tio v1.27:
20
21  * Update README
22
23  * Update AUTHORS
24
25  * Add snap status to README.md
26
27  * Add README.md to prettify GitHub page
28
29  * Add missing header
30
31 Petr VanÄ›k:
32
33  * Add missing header file under musl-libc
34
35    Musl's inclusion tree slightly differs from glibc, therefore TCGETS2 is
36    not reachable through sys/ioctl.h, so asm/ioctls.h needs to be included
37    too.
38
39 Jakub Wilk:
40
41  * Fix grammar and typos
42
43
44
45 Changes since tio v1.26:
46
47  * Update man page
48
49  * Add support for setting non-standard baudrates
50
51    Support for non-standard baudrate settings will be automatically enabled
52    if the termios2 interface is detected available. However, to play it
53    safe, the old and widely supported termios interface will still be used
54    when setting standard baudrates.
55
56  * Cleanup
57
58  * Update AUTHORS
59
60
61
62 Changes since tio v1.25:
63
64  * Reconfigure stdin
65
66    Make stdin behave more raw'ish. In particular, don't
67    translate CR -> NL on input.
68
69  * Add special character map feature
70
71    Add a --map option which allows mapping special characters, in particular CR and
72    NL characters which are used in various combinations on various platforms.
73
74  * Cleanup
75
76  * Update AUTHORS
77
78  * Update README
79
80  * Mention website
81
82  * Update man page
83
84
85
86 Changes since tio v1.24:
87
88  * Fix error applying new stdout settings
89
90    On Fedora 26 tio will quit with the following error message:
91
92    "Error: Could not apply new stdout settings (Invalid argument)"
93
94    In case of Fedora, it turns out that the new stdout settings used are a
95    bit too aggressive because an empty termios structure is used. To remedy
96    this we reuse the existing stdout settings and only reconfigure the
97    specific options we need to make a "raw" stdout configuration.
98
99  * Remove unused pkgconfig in configure
100
101  * Code cleanup
102
103    Remove unused variable.
104
105
106
107 Changes since tio v1.23:
108
109  * Optimize clear screen command
110
111    Replaced system call with inline ANSI/VT100 clear screen code sequence
112
113  * Fix bash completion installation
114
115    Fixed the configure script to avoid that the bash completion script gets
116    installed outside of the prefix location. The default install location
117    is now $prefix/share/bash-completion/completions.
118
119    Use the configure option '--with-bash-completion-dir=PATH' if you need
120    to install the bash completion script elsewhere.
121
122 Jakub Wilk:
123
124  * Add missing commas in conditional sentences
125
126
127
128 Changes since tio v1.22:
129
130  * Update copyright headers
131
132 Jakub Wilk:
133
134  * Fix typos
135
136
137
138 Changes since tio v1.21:
139
140  * Update man page date
141
142  * Update copyright year
143
144  * Code cleanup
145
146  * Update README and man page
147
148
149
150 Changes since tio v1.20:
151
152  * Add support for hexadecimal mode
153
154    A new key command 'ctrl-t h' is introduced which toggles between
155    hexadecimal mode and normal mode. When in hexadecimal mode data received
156    will be printed in hexadecimal.
157
158  * Do not distribute src/bash_completion/tio
159
160    Since the bash completion tio script is now autogenerated from tio.in it
161    should not be distributed in the tarball.
162
163  * Add missing forward flag
164
165  * Update AUTHORS file
166
167 Adam Borowski:
168
169  * 'ctrl-t b' to send serial break.
170
171 Jakub Wilk:
172
173  * Removed git commit references from ChangeLog
174
175    ChangeLog is primary useful for users who don't have the git repository
176    at hand.
177
178    Replace git commit references with version numbers; or if the change
179    only cleans up another change with no release in between, remove the
180    changelog item completely.
181
182
183
184 Changes since tio v1.19:
185
186  * Added more error handling of terminal calls
187
188    Also removed duplicate terminal flushing calls.
189
190  * Revert "Added support for non-standard baud rates"
191
192    This reverts a change made in v1.18.
193
194    Reverting because supporting non-standard or arbitrary baud rates is
195    troublesome because the c library provides no means of doing so and even
196    if bare metal linux kernel interface is used it will not work on all
197    Linux kernels version.
198
199
200
201 Changes since tio v1.18:
202
203  * Rearranged key commands
204
205    Rearranged the key commands:
206
207    ctrl-t c (clear screen) is now
208    ctrl-t l which is similar to the well known shell ctrl-l
209
210    ctrl-t i (show settings information) is now
211    ctrl-t c (show configuration)
212
213    Updated man page accordingly.
214
215  * Added "ctrl-t c" key command to clear screen
216
217
218
219 Changes since tio v1.17:
220
221  * Updated man page
222
223  * Added support for non-standard baud rates
224
225    Only enabled when possible, that is, when the BOTHER definition is
226    available.
227
228    It is untested but it should work as described here:
229    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683826
230
231    Some Cypress USB<->serial devices supposedly supports arbitrary speeds.
232
233  * Generate baudrate switch cases based on detection
234
235    Support a single source of baud rate configuration as discussed in
236    https://github.com/tio/tio/issues/45 .
237
238    To do so, autogeneration of the switch cases which do the baud rate
239    option value check and configuration/conversion in tty_configure() is
240    introduced via a single macro.
241
242    Just to be safe, this change also enables configure detection of all
243    baud rates, including the ones previously assumed supported by most/all
244    systems (POSIX).
245
246  * Minor cleanup
247
248  * Exit when not a tty device in autoconnect mode
249
250 Jakub Wilk:
251
252  * Added non-standard baud rates that are defined on FreeBSD
253
254  * Capitalized "GitHub" in README
255
256
257
258 Changes since tio v1.16:
259
260  * Compacted tty_configure() a bit
261
262  * Fixed automatic baud rate enablement
263
264  * Minor cleanups
265
266  * Added autodetection of available baud rates
267
268    Various platforms support different baud rates.
269
270    To avoid adding platform specific handling generic baud rate detection
271    tests are introduced in the configure script. Successfully detected baud
272    rates are automatically enabled. This applies to both the C code and the
273    bash completion script.
274
275    Note:
276    Baud rates below 57600 are defined by POSIX-1 and supported by most
277    platforms so only baud rate 57600 and above are tested.
278
279  * Updated bash-completion
280
281  * Fixed printf() format type
282
283  * Added Travis build configuration
284
285 Jakub Wilk:
286
287  * Generated bash completion at configure time
288
289  * Reduce code duplication in baud rate detection
290
291  * Add support for baud rates 200 and 1800
292
293  * Fixed baudrate type
294
295
296
297 Changes since tio v1.15:
298
299  * Updated man page
300
301  * Updated README
302
303  * Removed obsolete packaging files
304
305  * Removed use of deprecated bzero()
306
307
308
309 Changes since tio v1.14:
310
311  * Removed + to remove potential confusion
312
313  * Added input digit checks
314
315  * Fixed license string
316
317  * Introduced tty_configure()
318
319    Moved tty configuration actions to tty_configure() in tty.c. This way
320    options.c is strictly about parsing options nothing else.
321
322  * Function names cleanup
323
324  * Updated AUTHORS file
325
326    Added Nick who created the new tio package for Arch Linux.
327
328  * Fixed tx/rx counters type
329
330 Jakob Haufe:
331
332  * Include config.h before standard headers
333
334    Large file support was meant to be enabled in v1.11.
335    This change enables it for real.
336
337
338
339 Changes since tio v1.13:
340
341  * Fixed tio_printf macro
342
343  * Fixed launch hints
344
345    Fixed launch hints not being printed in no autoconnect mode.
346
347  * Added 'ctrl-t ?' to list available commands
348
349  * Fixed log mechanism
350
351    To avoid echoing only log what is received from tty device.
352
353  * Improved tio output
354
355    Added titles and indentation to commands output for clearer separation
356    when firing commands repeatedly.
357
358    Also added print of tio version and quit command hint at launch.
359
360  * Cleaned up tio print mechanism
361
362 Jakub Wilk:
363
364  * Fixed grammar
365
366    "allow" is a transitive verb, which requires an object,
367    so "allow to <verb>" is ungrammatical.
368
369  * Fixed typo
370
371
372
373 Changes since tio v1.12:
374
375  * Fixed some error prints
376
377  * Fixed error printing for no autoconnect mode
378
379    Always print errors but only print silent errors when in no autoconnect
380    mode.
381
382  * Added key command for showing session settings
383
384    A new key command "ctrl-t i" is added to allow the user to display the
385    various session settings information (baudrate, databits, log file, etc.).
386
387    This is useful in case you have a running session but have forgotten
388    what the settings are.
389
390
391
392 Changes since tio v1.11:
393
394  * Consolidated command key handling
395
396  * Moved delay mechanism into separate function
397
398  * Retired obsolete usleep()
399
400    Replaced with nanosleep()
401
402  * Added simple tx/rx statistics command (ctrl-t s)
403
404    To display the total number of bytes transmitted/received simply perform the
405    'ctrl-t s' command sequence.
406
407    This feature can be useful when eg. trying to detect non-printable
408    characters.
409
410  * Further simplification of key handling
411
412    Changed so that the "ctrl-t ctrl-t" sequence is now simply "ctrl-t t" to
413    send the ctrl-t key code. This is inspired by screen which does similar
414    to send its command key code (ctrl-a a).
415
416    This change also eases adding new key commands if needed.
417
418    Updated man page accordingly.
419
420  * Cleaned up and simplified key handling
421
422 Jakub Wilk:
423
424  * Insert output delay only if something was output
425
426
427
428 Changes since tio v1.10:
429
430  * Enabled large file support (LFS)
431
432    Added autotools AC_SYS_LARGEFILE to support 64 bit file size handling.
433
434  * Updated tio title
435
436
437
438 Changes since tio v1.9:
439
440  * Introduced lock on device file
441
442    Tio will now test for and obtain an advisory lock on the tty device file
443    to prevent starting multiple sessions on the same tty device.
444
445  * Updated AUTHORS
446
447 Jakub Wilk:
448
449  * Treat EOF on stdin as error
450
451
452
453 Changes since tio v1.8:
454
455  * Cleanup of error handling
456
457    Introduced consistent way of handling errors and printing error messages.
458
459    Also upgraded some warnings to errors.
460
461  * Updated localtime() error message
462
463  * Cleanup
464
465 Jakub Wilk:
466
467  * Fix error handling for select()
468
469    Previously the error handling code for select() was unreachable.
470
471  * Removed unneeded quotes from AM_CFLAGS
472
473  * Expanded tabs
474
475  * Fixed setting "tainted"
476
477    Set "tainted" if and only if any character was read from the device.
478
479    Ctrl-t is no longer sent to the device on exit, so the trick to avoid
480    its echo is not necessary.
481
482    Characters read from stdin don't directly affect output, so they
483    shouldn't enable "tainted".
484
485  * Used \r in color_printf()
486
487    \033[300D is an unusual way to move the cursor back to column 1.
488    Use straightforward \r instead.
489
490  * Added missing \r\n to warning messages
491
492    \n alone is not enough, because the terminal is in raw mode.
493
494
495
496 Changes since tio v1.7:
497
498  * Fixed enablement of compiler warnings
499
500  * Fixed log_open() prototype
501
502  * Fixed index error wrt ctrl-t detection
503
504  * Fixed handling of ctrl-t
505
506    Before, when exercising the quit key sequence (ctrl-t + q) the ctrl-t code
507    (0x14) would be sent.
508
509    This is now fixed so that it is not sent.
510
511    However, in case it is needed to send ctrl-t to the device it is possible by
512    simply repeating the ctrl-t.
513
514    Meaning, ctrl-t + ctrl-t = ctrl-t sent to device.
515
516  * Improved error handling
517
518    Fixes a memory leak and avoids aggressive busy looping when problems
519    accessing tty device.
520
521  * Removed redundant log_close() call
522
523  * Enabled compiler warnings
524
525 Jakub Wilk:
526
527  * Stopped copying arguments to fixed-size buffers
528
529    Don't needlessly copy command-line arguments into fixed-size buffers.
530
531    Previously the program crashed if an overlong pathname was provided on
532    the command line. Also, some systems (such as GNU Hurd) don't define
533    MAXPATHLEN at all.
534
535  * Added const to log_open() prototype
536
537  * Completed the ^g to ^t transition
538
539    In v1.7 the escape key was changed from ^g to ^t, but some
540    code and comments still referred to the old key.
541
542  * Used HTTPS for tio.github.io
543
544  * Man page beautification
545
546  * Bumped date in man page
547
548  * Improve man page formatting
549
550    Use regular font for metacharacters such as "[]", "," or "|";
551    use italic font for metavariables.
552
553  * Fixed hyphen vs minus vs em-dash confusion in man page
554
555    - prints as hyphen;
556    \- prints as minus sign;
557    \em prints as em-dash.
558
559
560
561 Changes since tio v1.6:
562
563  * Changed escape key from ^g to ^t
564
565    After renaming to "tio" it makes sense to change the escape key
566    accordingly. Hence, the new escape key is ^t.
567
568    Meaning, in session, its now ctrl-t + q to quit.
569
570 Jakub Wilk:
571
572  * Fixed silly "tio or tio" in man page
573
574  * Fixed typo
575