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