Commit graph

65 commits

Author SHA1 Message Date
Jakob Haufe
93771ffab8
Make comparison POSIX compliant
String comparison with == is not POSIX compliant and can fail with e.g.
dash.

Fixes https://github.com/tio/tio/issues/115
2020-10-07 10:08:31 +02:00
Martin Lund
2223662ffd Bump version 2018-11-03 16:52:13 +01:00
Martin Lund
8db7bb56b5 Bump version 2018-06-26 19:09:31 +02:00
Martin Lund
23ee9bece3 Bump version 2018-01-28 03:50:27 +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
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
9c63885a27 Bump version 2017-11-06 15:47:23 +01:00
Martin Lund
a0137c1ab1 Bump version 2017-10-15 23:59:32 +02:00
Martin Lund
a96bfc5745 Remove unused pkgconfig in configure 2017-10-15 23:04:36 +02:00
Martin Lund
0e44f49f18 Bump version 2017-10-01 11:43:00 +02:00
Martin Lund
44d2a85472 Bump version 2017-10-01 10:00:46 +02:00
Martin Lund
9c7e4ba06e Fix bash completion installation
Fixed the configure script to avoid that the bash completion script gets
installed outside of the prefix location. The default install location
is now $prefix/share/bash-completion/completions.

Use the configure option '--with-bash-completion-dir=PATH' if you need
to install the bash completion script elsewhere.
2017-10-01 00:11:31 +02:00
Martin Lund
d07ef6a04b Bumped version 2017-09-26 16:47:42 +02:00
Martin Lund
99eb4a4f14 Bumped version 2017-09-19 13:11:14 +02:00
Martin Lund
36b2c194e9 Bumped version 2016-06-13 08:22:56 +02:00
Martin Lund
7b7cc28162 Bumped version 2016-06-11 12:26:28 +02:00
Martin Lund
61655faaa8 Revert "Added support for non-standard baud rates"
This reverts commit deec83a4ee.

Reverting because supporting non-standard or arbitrary baud rates is
troublesome because the c library provides no means of doing so and even
if bare metal linux kernel interface is used it will not work on all
Linux kernels version.
2016-06-10 16:51:12 +02:00
Martin Lund
e9db9ea0de Bumped version 2016-05-29 16:22:18 +02:00
Martin Lund
deec83a4ee Added support for non-standard baud rates
Only enabled when possible, that is, when the BOTHER definition is
available.

It is untested but it should work as described here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683826

Some Cypress USB<->serial devices supposedly supports arbitrary speeds.
2016-05-28 16:02:21 +02:00
Jakub Wilk
c5201a9325 Added non-standard baud rates that are defined on FreeBSD 2016-05-28 10:27:00 +02:00
Martin Lund
c8a677e3d9 Generate baudrate switch cases based on detection
Support a single source of baud rate configuration as discussed in
https://github.com/tio/tio/issues/45 .

To do so, autogeneration of the switch cases which do the baud rate
option value check and configuration/conversion in tty_configure() is
introduced via a single macro.

Just to be safe, this change also enables configure detection of all
baud rates, including the ones previously assumed supported by most/all
systems (POSIX).
2016-05-28 09:54:45 +02:00
Martin Lund
ab92c3fee9 Bumped version 2016-05-26 17:17:02 +02:00
Jakub Wilk
0f02e6e551 Generated bash completion at configure time 2016-05-26 15:23:19 +02:00
Jakub Wilk
f701beb408 Reduced code duplication in baud rate detection 2016-05-26 13:03:52 +02:00
Martin Lund
933792d73f Fixed automatic baud rate enablement 2016-05-26 09:58:48 +02:00
Martin Lund
5406da5ddb Minor cleanups 2016-05-26 09:22:45 +02:00
Martin Lund
8eb0e6d874 Added autodetection of available baud rates
Various platforms supports different baud rates.

To avoid adding platform specific handling generic baud rate detection
tests are introduced in the configure script. Successfully detected baud
rates are automatically enabled. This applies to both the C code and the
bash completion script.

Note:
Baud rates below 57600 are defined by POSIX-1 and supported by most
platforms so only baud rate 57600 and above are tested.
2016-05-26 08:59:18 +02:00
Martin Lund
51649ebe23 Bumped version 2016-05-25 12:17:15 +02:00
Martin Lund
3f7a78c1db Bumped version 2016-05-24 06:11:07 +02:00
Martin Lund
1c09b66881 Bumped version 2016-05-21 09:38:34 +02:00
Martin Lund
d25f90ec40 Bumped version 2016-05-19 14:58:41 +02:00
Martin Lund
d180b9f336 Bumped version 2016-05-18 13:01:58 +02:00
Martin Lund
2a5ee61c54 Bumped version 2016-05-16 16:05:16 +02:00
Martin Lund
2219fb64fb Bumped version 2016-05-16 10:09:31 +02:00
Martin Lund
8d6d202f4e Enabled large file support (LFS)
Added autotools AC_SYS_LARGEFILE to support 64 bit file size handling.
2016-05-16 10:02:58 +02:00
Martin Lund
e19076a468 Bumped version 2016-05-15 13:20:37 +02:00
Martin Lund
76aa8ca727 Bumped version 2016-05-09 22:04:06 +02:00
Martin Lund
f1948c374f Fixed enablement of compiler warnings 2016-05-08 15:18:03 +02:00
Martin Lund
b84ed2f4bd Bumped version 2016-05-08 12:15:21 +02:00
Martin Lund
0e38783636 Merge branch 'master' of github.com:tio/tio 2016-05-07 21:08:15 +02:00
Martin Lund
89ba0cc59b Enabled compiler warnings 2016-05-07 21:08:07 +02:00
Jakub Wilk
cf15601e82 Used HTTPS for tio.github.io 2016-05-07 18:14:33 +02:00
Martin Lund
b2d33abfe9 Bumped version 2016-05-07 14:53:47 +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
ef9acd3780 Bumped version 2016-05-01 21:22:02 +02:00
Martin Lund
d574172205 Add support for configurable bash completion path
Rewrote the configure script to support the following options:

--with-bash-completion-dir=PATH
--without-bash-completion-dir
2016-05-01 21:07:25 +02:00
Jakob Haufe
cf5f62ffb6
Don't hardcode path for bash completions
Instead, use pkg-config to find out where the completions should go.
2016-04-30 16:57:24 +02:00
Martin Lund
a68421c263 Bumped version 2016-04-28 08:17:13 +02:00
Martin Lund
77996b1f2c Bumped version 2016-04-23 22:28:34 +02:00