Commit graph

1163 commits

Author SHA1 Message Date
Martin Lund
07255c94b9 Optimize clear screen command
Replaced system call with inline ANSI/VT100 clear screen code sequence
2017-10-01 09:51:29 +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
7df48655af Merge pull request #61 from jwilk-forks/spelling
Add missing commas in conditional sentences
2017-09-29 20:54:37 +02:00
Jakub Wilk
f09f85d0d2 Add missing commas in conditional sentences 2017-09-29 19:29:38 +02:00
Martin Lund
dcb66f41a2 Update ChangeLog 2017-09-28 18:18:31 +02:00
Martin Lund
f5e6c99721 Update copyright headers 2017-09-28 18:15:07 +02:00
Martin Lund
539474145d Merge pull request #60 from jwilk-forks/spelling
Fix typos
2017-09-28 17:49:02 +02:00
Jakub Wilk
45bab702f4 Fix typos 2017-09-28 17:13:15 +02:00
Martin Lund
d07ef6a04b Bumped version 2017-09-26 16:47:42 +02:00
Martin Lund
88eb5157de Update ChangeLog 2017-09-25 14:52:35 +02:00
Martin Lund
7bb64e4ad4 Update man page date 2017-09-24 22:40:58 +02:00
Martin Lund
ab512c8f68 Update copyright year 2017-09-24 22:16:19 +02:00
Martin Lund
c257126a33 Code cleanup 2017-09-24 22:09:46 +02:00
Martin Lund
b95df7712b Update README and man page 2017-09-24 01:08:35 +02:00
Martin Lund
998288187c Update README 2017-09-23 20:02:34 +02:00
Martin Lund
a1dc88943a Update README 2017-09-23 19:52:14 +02:00
Martin Lund
3c47e0f310 Update README 2017-09-23 19:48:59 +02:00
Martin Lund
99eb4a4f14 Bumped version 2017-09-19 13:11:14 +02:00
Martin Lund
dc297dd4e9 Update ChangeLog 2017-09-19 12:48:02 +02:00
Martin Lund
b7e970c41a Update AUTHORS file 2017-09-19 12:44:53 +02:00
Martin Lund
3457446a04 Add support for hexidecimal mode
A new key command 'ctrl-t h' is introduced which toggles between
hexidecial mode and normal mode. When in hexidecimal mode data received
will be printed in hexidecimal.
2017-09-19 12:19:17 +02:00
Martin Lund
7ae62d6030 Add missing forward flag 2017-05-25 17:05:20 +02:00
Martin Lund
f825975266 Merge pull request #56 from kilobyte/master
'ctrl-t b' to send serial break.
2017-04-10 14:23:47 +02:00
Adam Borowski
74a543b263 'ctrl-t b' to send serial break. 2017-04-10 01:05:40 +02:00
Martin Lund
02d2c0ca21 Merge pull request #55 from jwilk/changelog
Removed git commit references from ChangeLog
2017-03-26 18:42:18 +02:00
Jakub Wilk
ff40bf65b2 Removed git commit references from ChangeLog
ChangeLog is primary useful for users who don't have the git repository
at hand.

Replace git commit references with version numbers; or if the change
only cleans up another change with no release in between, remove the
changelog item completely.
2017-03-24 16:45:39 +01:00
Martin Lund
8f7c32e2e9 Do no distribute src/bash_completion/tio
Since bash completion tio script is now autogenerated from tio.in it
should not be distributed in the tarball.
2016-06-13 08:23:32 +02:00
Martin Lund
36b2c194e9 Bumped version 2016-06-13 08:22:56 +02:00
Martin Lund
b163b557e3 Updated ChangeLog 2016-06-11 12:45:53 +02:00
Martin Lund
7b7cc28162 Bumped version 2016-06-11 12:26:28 +02:00
Martin Lund
80cd28bbb6 Added more error handling of terminal calls
Also removed duplicate terminal flushing calls.
2016-06-10 18:09:15 +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
28faf082fd Updated ChangeLog 2016-06-04 22:07:37 +02:00
Martin Lund
a64d1a493b Rearranged key commands
Rearranged the key commands:

ctrl-c (clear screen) is now
ctrl-l which is similar to the well known shell ctrl-l

ctrl-i (show settings information) is now
ctrl-c (show configuration)

Updated man page accordingly.
2016-06-04 21:56:53 +02:00
Martin Lund
b9a2f4a1be Added "ctrl-t c" key command to clear screen 2016-06-02 00:35:19 +02:00
Martin Lund
e9db9ea0de Bumped version 2016-05-29 16:22:18 +02:00
Martin Lund
b7695394f4 Updated ChangeLog 2016-05-29 08:52:32 +02:00
Martin Lund
663022c381 Updated man page 2016-05-29 08:44:13 +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
Martin Lund
2c53bfde96 Merge pull request #47 from jwilk/baud-rates
Added non-standard baud rates that are defined on FreeBSD
2016-05-28 10:48:49 +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
ab4c4fb151 Merge branch 'master' of github.com:tio/tio 2016-05-27 09:30:31 +02:00
Martin Lund
86eec26b5b Minor cleanup 2016-05-27 09:30:23 +02:00
Martin Lund
3b3852888b Merge pull request #46 from jwilk/spelling
Capitalized "GitHub" in README
2016-05-27 08:52:08 +02:00
Jakub Wilk
15045c883f Capitalized "GitHub" in README 2016-05-26 21:04:19 +02:00
Martin Lund
ab92c3fee9 Bumped version 2016-05-26 17:17:02 +02:00
Martin Lund
bf1f712e5e Exit when not a tty device in autoconnect mode 2016-05-26 17:15:08 +02:00
Martin Lund
58c316717f Updated ChangeLog 2016-05-26 16:58:24 +02:00
Martin Lund
72b200a19b Compacted tty_configure() a bit 2016-05-26 16:05:57 +02:00