Commit graph

25 commits

Author SHA1 Message Date
Martin Lund
39ef771e10 Cleanup 2017-11-09 14:38:50 +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
ab512c8f68 Update copyright year 2017-09-24 22:16:19 +02:00
Martin Lund
efef2fa254 Removed + to remove potential confusion 2016-05-23 19:20:11 +02:00
Martin Lund
81be02fc03 Added input digit checks 2016-05-23 19:01:40 +02:00
Martin Lund
aecc829829 Fixed license string 2016-05-23 18:11:08 +02:00
Martin Lund
e920cc9b32 Introduced tty_configure()
Moved tty configuration actions to tty_configure() in tty.c. This way
options.c is strictly about parsing options nothing else.
2016-05-23 18:03:13 +02:00
Martin Lund
1f45b8d91d Function names cleanup 2016-05-23 08:50:47 +02:00
Jakob Haufe
82063b73fb
Include config.h before standard headers
This makes use of 8d6d202 (Enable large file support) for real.
2016-05-21 21:15:33 +02:00
Martin Lund
ffe87bc566 Added key command for showing session settings
A new key command "ctrl-t i" is added to allow the user to display the
various session settings information (baudrate, databits, log file, etc.).

This is usefull in case you have a running session but have forgotten
what the settings are.
2016-05-18 15:29:09 +02:00
Martin Lund
156f06c711 Updated tio title 2016-05-16 15:31:56 +02:00
Martin Lund
ad551b363e Cleanup of error handling
Introduced consistent way of handling errors and printing error messages.

Also upgraded some warnings to errors.
2016-05-09 17:28:43 +02:00
Jakub Wilk
5ebe044f53 Expanded tabs 2016-05-08 22:51:58 +02:00
Jakub Wilk
c3b948725e 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.
2016-05-08 12:49:59 +02:00
Martin Lund
72a287f189 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.
2016-05-07 14:31:24 +02:00
Martin Lund
9dd21af867 Renamed "gotty" to "tio"
Renamed to "tio" because it is shorter and this new name also more
precisely reflects what the program is - a simple TTY terminal I/O
application.

"tio" can be considered short for terminal I/O or TTY I/O or a
combination of the two, whichever you prefer.

Also, wanted to avoid naming conflicts with other projects.
2016-05-04 20:20:06 +02:00
Martin Lund
bbda0b8851 Added log feature
Added "--log <filename>" option which writes all activity to specified
file.
2016-05-01 21:21:05 +02:00
Martin Lund
362976354b Updated version text 2016-04-24 08:44:52 +02:00
Martin Lund
edeb79b02c Added unit for baudrate 2015-04-18 11:45:02 +03:00
Martin Lund
4eaff1df9d Renamed --char-delay to --output-delay
Renaming to make the naming more specific for the feature.
2015-04-18 11:41:49 +03:00
Jeppe Ledet-Pedersen
bc100643ec Add option for setting inter-character delay 2015-04-13 13:45:05 +02:00
Martin Lund
2cf211b99f Changed quit key sequence to ctrl-g + q
Changed the quit key sequence from ctrl-g + ctrl-q to ctrl-g + q as the
latter is simpler and considered more conventional.
2014-10-08 19:25:35 +02:00
Martin Lund
838df819fd Updated MAN and README page 2014-09-30 16:17:07 +02:00
Martin Lund
cc7f21e735 Various cleanup
Renamed device -> tty_device.

Removed hardcoded tty device name max length.

Updated README.
2014-09-30 16:05:38 +02:00
Martin Lund
a14d14d75b Initial import 2014-09-27 11:35:17 +02:00