]> git.sur5r.net Git - tio/blob - ChangeLog
Upload 1.26-1 to unstable
[tio] / ChangeLog
1
2 === tio v1.26 ===
3
4
5 Changes since tio v1.25:
6
7  * Reconfigure stdin
8
9    Make stdin behave more raw'ish. In particular, don't
10    translate CR -> NL on input.
11
12  * Add special character map feature
13
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.
16
17  * Cleanup
18
19  * Update AUTHORS
20
21  * Update README
22
23  * Mention website
24
25  * Update man page
26
27
28
29 Changes since tio v1.24:
30
31  * Fix error applying new stdout settings
32
33    On Fedora 26 tio will quit with the following error message:
34
35    "Error: Could not apply new stdout settings (Invalid argument)"
36
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.
41
42  * Remove unused pkgconfig in configure
43
44  * Code cleanup
45
46    Remove unused variable.
47
48
49
50 Changes since tio v1.23:
51
52  * Optimize clear screen command
53
54    Replaced system call with inline ANSI/VT100 clear screen code sequence
55
56  * Fix bash completion installation
57
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.
61
62    Use the configure option '--with-bash-completion-dir=PATH' if you need
63    to install the bash completion script elsewhere.
64
65 Jakub Wilk:
66
67  * Add missing commas in conditional sentences
68
69
70
71 Changes since tio v1.22:
72
73  * Update copyright headers
74
75 Jakub Wilk:
76
77  * Fix typos
78
79
80 Changes since tio v1.21:
81
82  * Update man page date
83
84  * Update copyright year
85
86  * Code cleanup
87
88  * Update README and man page
89
90
91
92 Changes since tio v1.20:
93
94  * Add support for hexadecimal mode
95
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.
99
100  * Do not distribute src/bash_completion/tio
101
102    Since the bash completion tio script is now autogenerated from tio.in it
103    should not be distributed in the tarball.
104
105  * Add missing forward flag
106
107  * Update AUTHORS file
108
109 Adam Borowski:
110
111  * 'ctrl-t b' to send serial break.
112
113 Jakub Wilk:
114
115  * Removed git commit references from ChangeLog
116
117    ChangeLog is primary useful for users who don't have the git repository
118    at hand.
119
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.
123
124
125
126 Changes since tio v1.19:
127
128  * Added more error handling of terminal calls
129
130    Also removed duplicate terminal flushing calls.
131
132  * Revert "Added support for non-standard baud rates"
133
134    This reverts a change made in v1.18.
135
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.
140
141
142
143 Changes since tio v1.18:
144
145  * Rearranged key commands
146
147    Rearranged the key commands:
148
149    ctrl-t c (clear screen) is now
150    ctrl-t l which is similar to the well known shell ctrl-l
151
152    ctrl-t i (show settings information) is now
153    ctrl-t c (show configuration)
154
155    Updated man page accordingly.
156
157  * Added "ctrl-t c" key command to clear screen
158
159
160
161 Changes since tio v1.17:
162
163  * Updated man page
164
165  * Added support for non-standard baud rates
166
167    Only enabled when possible, that is, when the BOTHER definition is
168    available.
169
170    It is untested but it should work as described here:
171    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683826
172
173    Some Cypress USB<->serial devices supposedly supports arbitrary speeds.
174
175  * Generate baudrate switch cases based on detection
176
177    Support a single source of baud rate configuration as discussed in
178    https://github.com/tio/tio/issues/45 .
179
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.
183
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
186    systems (POSIX).
187
188  * Minor cleanup
189
190  * Exit when not a tty device in autoconnect mode
191
192 Jakub Wilk:
193
194  * Added non-standard baud rates that are defined on FreeBSD
195
196  * Capitalized "GitHub" in README
197
198
199
200 Changes since tio v1.16:
201
202  * Compacted tty_configure() a bit
203
204  * Fixed automatic baud rate enablement
205
206  * Minor cleanups
207
208  * Added autodetection of available baud rates
209
210    Various platforms support different baud rates.
211
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.
216
217    Note:
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.
220
221  * Updated bash-completion
222
223  * Fixed printf() format type
224
225  * Added Travis build configuration
226
227 Jakub Wilk:
228
229  * Generated bash completion at configure time
230
231  * Reduce code duplication in baud rate detection
232
233  * Add support for baud rates 200 and 1800
234
235  * Fixed baudrate type
236
237
238
239 Changes since tio v1.15:
240
241  * Updated man page
242
243  * Updated README
244
245  * Removed obsolete packaging files
246
247  * Removed use of deprecated bzero()
248
249
250
251 Changes since tio v1.14:
252
253  * Removed + to remove potential confusion
254
255  * Added input digit checks
256
257  * Fixed license string
258
259  * Introduced tty_configure()
260
261    Moved tty configuration actions to tty_configure() in tty.c. This way
262    options.c is strictly about parsing options nothing else.
263
264  * Function names cleanup
265
266  * Updated AUTHORS file
267
268    Added Nick who created the new tio package for Arch Linux.
269
270  * Fixed tx/rx counters type
271
272 Jakob Haufe:
273
274  * Include config.h before standard headers
275
276    Large file support was meant to be enabled in v1.11.
277    This change enables it for real.
278
279
280
281 Changes since tio v1.13:
282
283  * Fixed tio_printf macro
284
285  * Fixed launch hints
286
287    Fixed launch hints not being printed in no autoconnect mode.
288
289  * Added 'ctrl-t ?' to list available commands
290
291  * Fixed log mechanism
292
293    To avoid echoing only log what is received from tty device.
294
295  * Improved tio output
296
297    Added titles and indentation to commands output for clearer separation
298    when firing commands repeatedly.
299
300    Also added print of tio version and quit command hint at launch.
301
302  * Cleaned up tio print mechanism
303
304 Jakub Wilk:
305
306  * Fixed grammar
307
308    "allow" is a transitive verb, which requires an object,
309    so "allow to <verb>" is ungrammatical.
310
311  * Fixed typo
312
313
314
315 Changes since tio v1.12:
316
317  * Fixed some error prints
318
319  * Fixed error printing for no autoconnect mode
320
321    Always print errors but only print silent errors when in no autoconnect
322    mode.
323
324  * Added key command for showing session settings
325
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.).
328
329    This is useful in case you have a running session but have forgotten
330    what the settings are.
331
332
333
334 Changes since tio v1.11:
335
336  * Consolidated command key handling
337
338  * Moved delay mechanism into separate function
339
340  * Retired obsolete usleep()
341
342    Replaced with nanosleep()
343
344  * Added simple tx/rx statistics command (ctrl-t s)
345
346    To display the total number of bytes transmitted/received simply perform the
347    'ctrl-t s' command sequence.
348
349    This feature can be useful when eg. trying to detect non-printable
350    characters.
351
352  * Further simplification of key handling
353
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).
357
358    This change also eases adding new key commands if needed.
359
360    Updated man page accordingly.
361
362  * Cleaned up and simplified key handling
363
364 Jakub Wilk:
365
366  * Insert output delay only if something was output
367
368
369
370 Changes since tio v1.10:
371
372  * Enabled large file support (LFS)
373
374    Added autotools AC_SYS_LARGEFILE to support 64 bit file size handling.
375
376  * Updated tio title
377
378
379
380 Changes since tio v1.9:
381
382  * Introduced lock on device file
383
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.
386
387  * Updated AUTHORS
388
389 Jakub Wilk:
390
391  * Treat EOF on stdin as error
392
393
394
395 Changes since tio v1.8:
396
397  * Cleanup of error handling
398
399    Introduced consistent way of handling errors and printing error messages.
400
401    Also upgraded some warnings to errors.
402
403  * Updated localtime() error message
404
405  * Cleanup
406
407 Jakub Wilk:
408
409  * Fix error handling for select()
410
411    Previously the error handling code for select() was unreachable.
412
413  * Removed unneeded quotes from AM_CFLAGS
414
415  * Expanded tabs
416
417  * Fixed setting "tainted"
418
419    Set "tainted" if and only if any character was read from the device.
420
421    Ctrl-t is no longer sent to the device on exit, so the trick to avoid
422    its echo is not necessary.
423
424    Characters read from stdin don't directly affect output, so they
425    shouldn't enable "tainted".
426
427  * Used \r in color_printf()
428
429    \033[300D is an unusual way to move the cursor back to column 1.
430    Use straightforward \r instead.
431
432  * Added missing \r\n to warning messages
433
434    \n alone is not enough, because the terminal is in raw mode.
435
436
437
438 Changes since tio v1.7:
439
440  * Fixed enablement of compiler warnings
441
442  * Fixed log_open() prototype
443
444  * Fixed index error wrt ctrl-t detection
445
446  * Fixed handling of ctrl-t
447
448    Before, when exercising the quit key sequence (ctrl-t + q) the ctrl-t code
449    (0x14) would be sent.
450
451    This is now fixed so that it is not sent.
452
453    However, in case it is needed to send ctrl-t to the device it is possible by
454    simply repeating the ctrl-t.
455
456    Meaning, ctrl-t + ctrl-t = ctrl-t sent to device.
457
458  * Improved error handling
459
460    Fixes a memory leak and avoids aggressive busy looping when problems
461    accessing tty device.
462
463  * Removed redundant log_close() call
464
465  * Enabled compiler warnings
466
467 Jakub Wilk:
468
469  * Stopped copying arguments to fixed-size buffers
470
471    Don't needlessly copy command-line arguments into fixed-size buffers.
472
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
475    MAXPATHLEN at all.
476
477  * Added const to log_open() prototype
478
479  * Completed the ^g to ^t transition
480
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.
483
484  * Used HTTPS for tio.github.io
485
486  * Man page beautification
487
488  * Bumped date in man page
489
490  * Improve man page formatting
491
492    Use regular font for metacharacters such as "[]", "," or "|";
493    use italic font for metavariables.
494
495  * Fixed hyphen vs minus vs em-dash confusion in man page
496
497    - prints as hyphen;
498    \- prints as minus sign;
499    \em prints as em-dash.
500
501
502
503 Changes since tio v1.6:
504
505  * Changed escape key from ^g to ^t
506
507    After renaming to "tio" it makes sense to change the escape key
508    accordingly. Hence, the new escape key is ^t.
509
510    Meaning, in session, its now ctrl-t + q to quit.
511
512 Jakub Wilk:
513
514  * Fixed silly "tio or tio" in man page
515
516  * Fixed typo