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