Commit graph

330 commits

Author SHA1 Message Date
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
ebd65400a1 Fix tty device file accessibility test
Fixes ending up in a freeze when a tty device exists but is not
readable.
2016-04-25 15:31:49 +02:00
Martin Lund
9f38512285 Do not quit on error
This makes gotty more robust in the sense it will not quit when an error
occurs but simply continue to try reconnect.
2016-04-24 15:43:56 +02:00
Martin Lund
c6c4a4b1dd Minor cleanup 2016-04-24 09:20:27 +02:00
Martin Lund
362976354b Updated version text 2016-04-24 08:44:52 +02:00
Jakub Wilk
97c896d52b Fixed typo 2016-04-23 22:21:38 +02:00
Jakob Haufe
bbf1c4ec70
Add missing declaration 2016-04-23 21:34:42 +02:00
Jakob Haufe
f01eeb049e
Add missing include 2016-04-23 21:34:25 +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
7bef8f8a0d Flush I/O data on connect
Make sure there is no stale I/O data on tty device upon connect.
2014-10-23 11:20:48 +02:00
Martin Lund
3652268fea Fixed distribution tarball
Fixed missing header files and man page in distribution tarball.
2014-10-21 22:24:28 +02:00
Martin Lund
0ad8007aac Eliminated first time connect delay
Rearranged timeout handling so that the first time connect delay is
eliminated.
2014-10-12 18:33:53 +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
b6c1135d69 Added timestamp to gotty prompt 2014-10-07 17:45:21 +02:00
Martin Lund
799070fd3e Updated completion script 2014-10-04 14:18:34 +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
820b990692 Renamed stdio to new_stdout
Since it is actually only stdout we configure.
2014-09-30 01:31:55 +02:00
Martin Lund
9dfb1debaf Fixed disconnect output
In certain cases the disconnect message would eat a line of output from
the tty device (if any). This is now fixed.
2014-09-30 01:18:29 +02:00
Martin Lund
4b535a5c62 Improved Connected / Disconnected output 2014-09-28 12:59:00 +02:00
Martin Lund
960d59cbc4 Improved error output 2014-09-28 12:09:19 +02:00
Martin Lund
6e2582787c Fixed not being able to quit
When gotty was waiting for a device to appear it was impossible to quit
using the ctrl-g ctrl-q sequence. This is now fixed.
2014-09-27 22:18:07 +02:00
Martin Lund
57beed2e34 Cleanup of stdin handle 2014-09-27 21:44:40 +02:00
Martin Lund
38935dc0f5 Made gotty a bit more robust
Now gotty does not exit on errors but simply tries to reconnect.
2014-09-27 19:10:32 +02:00
Martin Lund
df8652f05d Completed autocompletion
Autocompletion now resolves all arguments.

Also renamed 'gotty-bash-completion.sh' to 'gotty' to comply with the
normal naming scheme for completion files in /etc/bash_completion.d .
2014-09-27 18:26:12 +02:00
Martin Lund
49e30fa3b1 Fixed completion of device 2014-09-27 15:25:04 +02:00
Martin Lund
b0230109b2 Added bash completion for long options 2014-09-27 15:12:15 +02:00
Martin Lund
a14d14d75b Initial import 2014-09-27 11:35:17 +02:00