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