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