mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
124 lines
2.8 KiB
Text
124 lines
2.8 KiB
Text
=== tio v1.9 ===
|
|
|
|
Changes since tio v1.8:
|
|
|
|
* Cleanup of error handling
|
|
|
|
Introduced consistent way of handling errors and printing error messages.
|
|
|
|
Also upgraded some warnings to errors.
|
|
|
|
* Updated localtime() error message
|
|
|
|
* Cleanup
|
|
|
|
Jakub Wilk:
|
|
|
|
* Fix error handling for select()
|
|
|
|
Previously the error handling code for select() was unreachable.
|
|
|
|
* Removed unneeded quotes from AM_CFLAGS
|
|
|
|
* Expanded tabs
|
|
|
|
* Fixed setting "tainted"
|
|
|
|
Set "tainted" if and only if any character was read from the device.
|
|
|
|
Ctrl-t is no longer sent to the device on exit, so the trick to avoid
|
|
its echo is not necessary.
|
|
|
|
Characters read from stdin don't directly affect output, so they
|
|
shouldn't enable "tainted".
|
|
|
|
* Used \r in color_printf()
|
|
|
|
\033[300D is an unusual way to move the cursor back to column 1.
|
|
Use straightforward \r instead.
|
|
|
|
* Added missing \r\n to warning messages
|
|
|
|
\n alone is not enough, because the terminal is in raw mode.
|
|
|
|
|
|
|
|
Changes since tio v1.7:
|
|
|
|
* Fixed enablement of compiler warnings
|
|
|
|
* Fixed log_open() prototype
|
|
|
|
* Fixed index error wrt ctrl-t detection
|
|
|
|
* Fixed handling of ctrl-t
|
|
|
|
Before, when exercising the quit key sequence (ctrl-t + q) the ctrl-t code
|
|
(0x14) would be sent.
|
|
|
|
This is now fixed so that it is not sent.
|
|
|
|
However, in case it is needed to send ctrl-t to the device it is possible by
|
|
simply repeating the ctrl-t.
|
|
|
|
Meaning, ctrl-t + ctrl-t = ctrl-t sent to device.
|
|
|
|
* Improved error handling
|
|
|
|
Fixes a memory leak and avoids aggressive busy looping when problems
|
|
accessing tty device.
|
|
|
|
* Removed redundant log_close() call
|
|
|
|
* Enabled compiler warnings
|
|
|
|
Jakub Wilk:
|
|
|
|
* Stopped copying arguments to fixed-size buffers
|
|
|
|
Don't needlessly copy command-line arguments into fixed-size buffers.
|
|
|
|
Previously the program crashed if an overlong pathname was provided on
|
|
the command line. Also, some systems (such as GNU Hurd) don't define
|
|
MAXPATHLEN at all.
|
|
|
|
* Added const to log_open() prototype
|
|
|
|
* Completed the ^g to ^t transition
|
|
|
|
In 72a287f18995 the escape key was changed from ^g to ^t, but some
|
|
code and comments still referred to the old key.
|
|
|
|
* Used HTTPS for tio.github.io
|
|
|
|
* Man page beautification
|
|
|
|
* Bumped date in man page
|
|
|
|
* Improve man page formatting
|
|
|
|
Use regular font for metacharacters such as "[]", "," or "|";
|
|
use italic font for metavariables.
|
|
|
|
* Fixed hyphen vs minus vs em-dash confusion in man page
|
|
|
|
- prints as hyphen;
|
|
\- prints as minus sign;
|
|
\em prints as em-dash.
|
|
|
|
|
|
|
|
Changes since tio v1.6:
|
|
|
|
* Changed escape key from ^g to ^t
|
|
|
|
After renaming to "tio" it makes sense to change the escape key
|
|
accordingly. Hence, the new escape key is ^t.
|
|
|
|
Meaning, in session, its now ctrl-t + q to quit.
|
|
|
|
Jakub Wilk:
|
|
|
|
* Fixed silly "tio or tio" in man page
|
|
|
|
* Fixed typo
|