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