Sylvain LAFRASSE
a84f762106
Resolved tio/tio#84 : Added timestamps in log file if enabled.
2019-05-24 10:46:02 +02:00
arichi
fca5429ae7
Flush every local echo char
...
Flush stdout at every char in case it
happens to be buffered.
2019-05-13 23:53:08 +08:00
Martin Lund
39a8f63640
Add command to show version
...
The key sequence ctrl-t v will now show the version of tio.
2018-11-27 23:56:34 +01:00
Martin Lund
42eb14dd77
Align format of timestamps
2018-11-27 23:38:21 +01:00
Mariusz Midor
18c2f7847e
Newline: handle booth NL and CR
...
Flag ONLCRNL expects code \n after press Enter, but on some systems \r is send instead.
2018-11-12 19:16:51 +01:00
Martin Lund
2223662ffd
Bump version
2018-11-03 16:52:13 +01:00
Martin Lund
69479bdfda
Update ChangeLog
2018-11-03 16:51:47 +01:00
Martin Lund
96a3d315d4
Update AUTHORS
2018-11-03 16:44:30 +01:00
Martin Lund
a5d1546024
Minor code style cleanups
2018-11-03 16:40:59 +01:00
Robey Pointer
f96ad43b1f
add optional timestamps
...
with "-t" or "C-t T", toggle a timestamp prefix to each line.
2018-11-01 17:23:57 -07:00
Martin Lund
36691e8bdf
Cleanup print macros
2018-10-21 02:14:18 +02:00
Martin Lund
14e70bd718
Flush output
...
Make sure output is transmitted immediately by flushing the output.
2018-10-21 02:07:55 +02:00
Martin Lund
bc0ae352b2
Merge pull request #78 from jwilk-forks/spelling
...
Fix typos
2018-09-17 09:58:11 +02:00
Jakub Wilk
ed8460e5be
Fix typos
2018-09-17 09:23:45 +02:00
Martin Lund
2ce78b0993
Update AUTHORS
2018-09-04 21:11:15 +02:00
Martin Lund
7b65f413e4
Merge pull request #75 from sly74fr/master
...
Added macOS compatibility
2018-09-04 21:09:21 +02:00
Sylvain LAFRASSE
3a024ca529
Made O_NONBLOCK flag to open() call specific to macOS only.
2018-09-04 20:56:21 +02:00
Sylvain LAFRASSE
eb70da83ec
Added macOS-related details.
2018-09-04 20:00:07 +02:00
Sylvain LAFRASSE
424c816118
Added O_NONBLOCK flag to open() call for macOS (10.13.6) compatibility.
2018-08-31 13:13:58 +02:00
Martin Lund
8db7bb56b5
Bump version
2018-06-26 19:09:31 +02:00
Martin Lund
c03de80e52
Update ChangeLog
2018-06-26 19:07:22 +02:00
Martin Lund
7245cdf240
Update date
2018-06-26 18:58:20 +02:00
Martin Lund
599d54c5bf
Update AUTHORS
2018-06-24 16:42:51 +02:00
Martin Lund
0f17e7e0b0
Merge pull request #73 from hzeller/nicer-variables
...
Clarify the input/output variable names (No-op change)
2018-06-24 16:41:49 +02:00
Martin Lund
8e1e0c9b26
Merge pull request #71 from hzeller/local-echo
...
Provide local-echo option.
2018-06-24 16:31:21 +02:00
Henner Zeller
9965062fe2
Clarify the input/output variable names (No-op change)
2018-06-24 07:00:17 -07:00
Henner Zeller
776284e251
Organize options the same sequence they are mentiond in cmdline help.
2018-06-24 06:50:05 -07:00
Martin Lund
64f9f3a248
Merge pull request #72 from hzeller/cr-nl
...
Map CR->NL locally on output instead of using tio.c_oflag |= OCRNL.
2018-06-24 13:17:05 +02:00
Martin Lund
96cec154d4
Merge pull request #70 from hzeller/log-fast
...
Write to logfile as soon as we have the data, don't buffer.
2018-06-24 13:16:19 +02:00
Henner Zeller
0bc56c8a8f
Update README.
2018-06-23 13:58:59 -07:00
Henner Zeller
ab451a984c
Map CR->NL locally on output instead of using tio.c_oflag |= OCRNL.
...
This mostly is intended to have local echo output exactly what is sent
to the remote endpoint.
A nice side-effect is, that it also fixes tty-implementations, that can't
deal with the OCRNL flag on tio.c_oflag.
2018-06-23 13:47:06 -07:00
Henner Zeller
dabd2130a9
Provide local-echo option.
...
Can be switched on with -e on the command line.
Can be toggled with Ctrl t e while program is running.
2018-06-23 12:37:40 -07:00
Henner Zeller
763a09e172
Write to logfile as soon as we have the data, don't buffer.
...
Logfiles are important to see what happend, in particular if something
unexpected happened; so we want to make sure that the logfile is flushed
to disk.
Before this change, the logfile was typically written at the end in
a large chunk as the default (large) buffering applied. Now, characters are
written out ASAP, so it is possible to get a live-view with a
tail -f <logfile>
2018-06-23 11:42:23 -07:00
Martin Lund
08fd18e803
Update ChangeLog
2018-04-18 21:01:50 +02:00
Martin Lund
fff867f637
Update README
2018-04-18 20:51:27 +02:00
Martin Lund
b7cdbec8e2
Update man page and bash completion
2018-04-18 20:48:04 +02:00
Martin Lund
7d5e25d368
Update AUTHORS
2018-04-18 10:49:22 +02:00
Martin Lund
038eebdeb3
Merge pull request #68 from zhaozhongchen/master
...
ONLCRNL: change the method to map NL to CR-NL
2018-04-18 10:44:57 +02:00
qianfan Zhao
58456a7636
ONLCRNL: change the method to map NL to CR-NL
...
Signed-off-by: qianfan Zhao <qianfanguijin@163.com>
2018-04-18 16:25:59 +08:00
Martin Lund
23ee9bece3
Bump version
2018-01-28 03:50:27 +01:00
Martin Lund
6317dd2f81
Update ChangeLog
2018-01-28 02:23:38 +01:00
Martin Lund
77c19ff152
Add mapping flags INLCRNL and ODELBS
...
The following new mapping flags are added:
INLCRNL: Map NL to CR-NL on input.
ODELBS: Map DEL to BS on output.
Flags requested and tested by Jan Ciger (janoc).
2017-12-29 14:54:40 +01:00
Martin Lund
60cbc5b368
Bump version
2017-12-14 07:02:36 +01:00
Martin Lund
1fe70f8dba
Bump version
2017-12-14 06:42:06 +01:00
Martin Lund
08d8a338bc
Update ChangeLog
2017-12-14 06:41:00 +01:00
Martin Lund
1d7efeb561
Update README
2017-12-03 23:36:54 +01:00
Martin Lund
46f5686837
Update AUTHORS
2017-11-27 15:33:40 +01:00
Martin Lund
8c7cf2015a
Merge pull request #65 from arkamar/musl-include
...
Add missing header file under musl-libc
2017-11-27 14:45:30 +01:00
Martin Lund
b5246be7fa
Add snap status to README.md
2017-11-27 14:32:35 +01:00
Petr Vaněk
3306a8dfb1
Add missing header file under musl-libc
...
Musl's inclusion tree slightly differs from glibc, therefore TCGETS2 is
not reachable through sys/ioctl.h, so asm/ioctls.h needs to be included
too.
2017-11-27 14:27:28 +01:00