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