Commit graph

426 commits

Author SHA1 Message Date
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
Martin Lund
51d316b5d2 Update README.md 2017-11-23 18:01:18 +01:00
Martin Lund
a82e089394 Add README.md to prettify GitHub page 2017-11-23 17:53:46 +01:00
Martin Lund
c6471625d8 Merge branch 'master' of github.com:tio/tio 2017-11-23 17:29:18 +01:00
Martin Lund
7c39176b3a Update README 2017-11-23 17:29:10 +01:00
Martin Lund
1afd3606cc
Merge pull request #64 from jwilk-forks/spelling
Fix grammar and typos
2017-11-21 16:43:38 +01:00
Jakub Wilk
9229e9addb Fix grammar and typos 2017-11-21 16:27:19 +01:00
Martin Lund
59d4604ce6 Add missing header 2017-11-14 21:38:22 +01:00
Martin Lund
e9efa13bc5 Update ChangeLog 2017-11-14 12:52:15 +01:00
Martin Lund
641b7d87ca Update man page 2017-11-13 21:02:14 +01:00
Martin Lund
e646c50019 Add support for setting non-standard baudrates
Support for non-standard baudrate settings will be automatically enabled
if the termios2 interface is detected available. However, to play it
safe, the old and widely supported termios interface will still be used
when setting standard baudrates.
2017-11-13 13:40:15 +01:00
Martin Lund
23bab24890 Update man page 2017-11-11 15:48:19 +01:00
Martin Lund
39ef771e10 Cleanup 2017-11-09 14:38:50 +01:00
Martin Lund
19ad278c2d Update AUTHORS 2017-11-07 12:37:06 +01:00
Martin Lund
9c63885a27 Bump version 2017-11-06 15:47:23 +01:00
Martin Lund
78849b02d4 Update ChangeLog 2017-11-06 15:22:12 +01:00
Martin Lund
342a247efb Reconfigure stdin
Make stdin behave more raw'ish. In particular, don't
translate CR -> NL on input.
2017-11-06 14:43:56 +01:00
Martin Lund
b2aafd696b Add special character map feature
Add a --map option which allows to map special characters, in particular CR and
NL characters which are used in various combinations on varios platforms.
2017-11-05 23:10:12 +01:00
Martin Lund
078bb6213d Cleanup 2017-11-02 16:22:24 +01:00