Martin Lund
bb300293cc
Rename option -i to -L
2022-02-10 15:07:14 +01:00
Martin Lund
353ce69130
Update man page hint text
2022-02-10 08:00:49 +01:00
Martin Lund
e9208d693e
Replace autotools with meson
...
To introduce much simpler build configuration which is also easier to
maintain.
2022-02-10 05:09:32 +01:00
Martin Lund
7a2a18232d
Add list serial devices feature
...
For convenience, add a --list-devices option which lists the available
serial devices.
2022-02-08 23:13:34 +01:00
Martin Lund
6310f28d2c
Shorten timestamp description
2022-02-08 21:47:55 +01:00
Martin Lund
d35c607d1a
Cleanup: Use dot notation for default options struct
2022-02-08 21:38:16 +01:00
Yin Fengwei
c0c21b1814
Allow strip escape sequence characters from log file
...
The log without escape key stripped is like:
^M[12:47:17] ACRN:\>
^M[12:47:17] ACRN:\>lasdfjklsdjf
^M
^M[12:47:18] Error: Invalid command.
^M[12:47:19] ACRN:\>
^M[12:47:26] ACRN:\>
^M[12:47:26] ACRN:\>sdafkljsdkaljfklsadjflksdjafjsda^H ^H^H...
^M
^M[12:47:31] Error: Invalid command.
After strip escape key, the log is like:
[12:49:18] ACRN:\>
[12:49:19] ACRN:\>
[12:49:19] ACRN:\>ls
[12:49:19] Error: Invalid command.
[12:49:19] ACRN:\>
[12:49:19] ACRN:\>dfaslhj
[12:49:24] Error: Invalid command.
Beside escape key, it also handle backspace key as well.
2021-01-21 12:51:59 +08: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
7245cdf240
Update date
2018-06-26 18:58:20 +02:00
Henner Zeller
776284e251
Organize options the same sequence they are mentiond in cmdline help.
2018-06-24 06:50:05 -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
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
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