]> rtime.felk.cvut.cz Git - sojka/sterm.git/log
sojka/sterm.git
4 years agoUpdate changelog for 20190912 release 20190912
Michal Sojka [Thu, 12 Sep 2019 19:50:23 +0000 (21:50 +0200)]
Update changelog for 20190912 release

4 years agoAdd release procedure to Makefile
Michal Sojka [Thu, 12 Sep 2019 19:28:22 +0000 (21:28 +0200)]
Add release procedure to Makefile

4 years agoHandle hang-up event on stdin
Michal Sojka [Thu, 12 Sep 2019 19:01:07 +0000 (21:01 +0200)]
Handle hang-up event on stdin

When sterm is run with pipe as stdin rather than terminal, as is the
case, for example, with the following command:

     ssh somewhere sterm /dev/ttyS0

closing the pipe (e.g. killing ssh) does not send SIGHUP signal, but
POLLHUP event is reported by poll(). When this happened, sterm ended
up in an infinite loop, consuming 100% CPU. Now, we handle this event
and exit.

5 years agodebian: Clean whitespace
Michal Sojka [Fri, 4 May 2018 22:12:06 +0000 (00:12 +0200)]
debian: Clean whitespace

5 years agoAdd Makefile targets for (cross)building Debian package
Michal Sojka [Fri, 4 May 2018 22:09:28 +0000 (00:09 +0200)]
Add Makefile targets for (cross)building Debian package

This is for me to not forget the needed parameters.

5 years agodebian: Do not strip binaries during install
Michal Sojka [Fri, 4 May 2018 21:55:30 +0000 (23:55 +0200)]
debian: Do not strip binaries during install

This was broken by one of the previous commits. The problem with
"install -s" is that it breaks when crossbuilding the package and it also
prevents creation of dbgsym package.

6 years agoUpdate changelog for new release 20171215
Michal Sojka [Fri, 15 Dec 2017 12:02:38 +0000 (13:02 +0100)]
Update changelog for new release

6 years agoImplement exit command in command mode
Michal Sojka [Fri, 15 Dec 2017 11:57:04 +0000 (12:57 +0100)]
Implement exit command in command mode

6 years agoAllow sending break signal
Michal Sojka [Fri, 15 Dec 2017 11:52:29 +0000 (12:52 +0100)]
Allow sending break signal

6 years agoMake liblockdev optional and use flock
Michal Sojka [Fri, 15 Dec 2017 11:51:54 +0000 (12:51 +0100)]
Make liblockdev optional and use flock

6 years agoUpdate zsh completion install path to work on Debian
Michal Sojka [Mon, 20 Nov 2017 09:50:13 +0000 (10:50 +0100)]
Update zsh completion install path to work on Debian

6 years agoAdd completions for bash and zsh
Karel Kočí [Sun, 29 Oct 2017 20:24:03 +0000 (21:24 +0100)]
Add completions for bash and zsh

6 years agoPrint more descriptive error message
Michal Sojka [Wed, 3 May 2017 22:00:10 +0000 (00:00 +0200)]
Print more descriptive error message

7 years agoFix install strip
Karel Kočí [Mon, 5 Dec 2016 06:41:40 +0000 (07:41 +0100)]
Fix install strip

Strip can be used only on executables, adding it to all install
commands causes error on some systems.

7 years agoUpdate changelog for 20170112 release 20170112
Michal Sojka [Thu, 12 Jan 2017 16:38:42 +0000 (17:38 +0100)]
Update changelog for 20170112 release

7 years agoDocument -v option (verbose)
Michal Sojka [Thu, 12 Jan 2017 16:36:46 +0000 (17:36 +0100)]
Document -v option (verbose)

7 years agoCompile with debug information and strip them during install 20160921
Michal Sojka [Wed, 21 Sep 2016 14:33:23 +0000 (16:33 +0200)]
Compile with debug information and strip them during install

Debian automatically creates debug symbol package of the binary is
compiled with debug information. If it is compiled without -g, lintian
warns about empty debug symbols.

7 years agoUpdate changelog for 20160921 release
Michal Sojka [Wed, 21 Sep 2016 14:16:21 +0000 (16:16 +0200)]
Update changelog for 20160921 release

7 years agoAdd SEE ALSO section to manual page
Michal Sojka [Wed, 21 Sep 2016 14:13:10 +0000 (16:13 +0200)]
Add SEE ALSO section to manual page

7 years agoFix man page installation path
Michal Sojka [Wed, 21 Sep 2016 13:48:19 +0000 (15:48 +0200)]
Fix man page installation path

Make pages should go to /XXX/share/man and not to /XXX/man/.

In case of Debian package, use Debian-specific mechanism to install the
man page.

7 years agoSilence warning about deprecation of _BSD_SOURCE
Michal Sojka [Wed, 21 Sep 2016 13:38:36 +0000 (15:38 +0200)]
Silence warning about deprecation of _BSD_SOURCE

Adding _DEFAULT_SOURCE and keeping _BSD_SOURCE is recommended in
feature_test_macros(7).

7 years agoSimplify Makefile to use built-in rules
Michal Sojka [Wed, 21 Sep 2016 13:18:36 +0000 (15:18 +0200)]
Simplify Makefile to use built-in rules

7 years agoFix/clarify the man page
Michal Sojka [Wed, 21 Sep 2016 13:17:12 +0000 (15:17 +0200)]
Fix/clarify the man page

7 years agoAdd manual page
Karel Kočí [Fri, 16 Sep 2016 20:23:34 +0000 (22:23 +0200)]
Add manual page

Every good program should have its manual page.

8 years agoUpdate changelog for 20151016 release 20151016
Michal Sojka [Fri, 16 Oct 2015 10:53:21 +0000 (12:53 +0200)]
Update changelog for 20151016 release

8 years agoAdd command mode
Michal Sojka [Wed, 19 Aug 2015 22:00:28 +0000 (00:00 +0200)]
Add command mode

This mode is entered before serial line begins. Currently implemented
commands are: dtr, rst and go. "dtr" and "rst" are the same as -d and -r
options, "go" ends command mode and enters serial line interaction.

This is intended for use by novaboot in this way: Novaboot connects to
the serial line to be sure that the target is not occupied. Then it
copies the images, which can take long time, and after that it sends
reset command to reset the target. Without this, the target is reset (by
-d or -r) before copying the images and after that it may be too late to
communicate with the bootloader.

8 years agoRefactor pulse to a function
Michal Sojka [Wed, 19 Aug 2015 20:43:36 +0000 (22:43 +0200)]
Refactor pulse to a function

8 years agoUpdate changelog for 20150821 release 20150821
Michal Sojka [Wed, 12 Aug 2015 10:52:38 +0000 (12:52 +0200)]
Update changelog for 20150821 release

8 years agoAllow specifying DTR/RTS pulse length
Michal Sojka [Wed, 12 Aug 2015 10:47:12 +0000 (12:47 +0200)]
Allow specifying DTR/RTS pulse length

9 years agoFix Makefile to work on Ubuntu Precise
Michal Sojka [Tue, 3 Feb 2015 14:46:21 +0000 (15:46 +0100)]
Fix Makefile to work on Ubuntu Precise

9 years agoUpdate changelog for 20150127a release 20150127a
Michal Sojka [Tue, 27 Jan 2015 10:12:23 +0000 (11:12 +0100)]
Update changelog for 20150127a release

9 years agoFix disabling of flow control
Michal Sojka [Tue, 27 Jan 2015 10:05:56 +0000 (11:05 +0100)]
Fix disabling of flow control

9 years agoUpdate changelog for 20150127 release 20150127
Michal Sojka [Tue, 27 Jan 2015 09:35:08 +0000 (10:35 +0100)]
Update changelog for 20150127 release

9 years agoAdd configuration for Debian's git-buildpackage
Michal Sojka [Tue, 27 Jan 2015 09:33:56 +0000 (10:33 +0100)]
Add configuration for Debian's git-buildpackage

9 years agoDisable flow control
Michal Sojka [Tue, 27 Jan 2015 09:29:55 +0000 (10:29 +0100)]
Disable flow control

RTS/CTS lines may be used for something else than flow control so disable
it. If it turns out that we need it for some hardware, we will add an
command line option to enable it.

9 years agoNever block when opening the port
Michal Sojka [Tue, 27 Jan 2015 09:19:22 +0000 (10:19 +0100)]
Never block when opening the port

Whether blocking happens depends on the value of CDC signal and previously
set CLOCAL settings. Since we cannot influence CLOCAL settings before
opening the port, we have to use O_NONBLOCK.

9 years agoFix escape sequence handling
Michal Sojka [Tue, 2 Dec 2014 14:35:44 +0000 (15:35 +0100)]
Fix escape sequence handling

9 years agoDebian release 20140723
Michal Sojka [Wed, 23 Jul 2014 16:50:23 +0000 (18:50 +0200)]
Debian release

9 years agoUse liblockdev to lock the tty device
Michal Sojka [Wed, 23 Jul 2014 16:49:03 +0000 (18:49 +0200)]
Use liblockdev to lock the tty device

This is simpler and it should also be compatible with systemd initiated
change of /var/lock permissions. See
http://lists.freedesktop.org/archives/systemd-devel/2011-March/001823.html

9 years agoAdd Debian packaging 20140708
Michal Sojka [Tue, 8 Jul 2014 11:15:47 +0000 (13:15 +0200)]
Add Debian packaging

9 years agoAdd simple Makefile
Michal Sojka [Tue, 8 Jul 2014 11:02:29 +0000 (13:02 +0200)]
Add simple Makefile

9 years agoMore messages in verbose mode
Michal Sojka [Tue, 8 Jul 2014 10:31:46 +0000 (12:31 +0200)]
More messages in verbose mode

9 years agoImprove documentation
Michal Sojka [Tue, 8 Jul 2014 10:14:32 +0000 (12:14 +0200)]
Improve documentation

9 years agoAdd scape sequence and an option to ignore it
Michal Sojka [Tue, 8 Jul 2014 10:14:23 +0000 (12:14 +0200)]
Add scape sequence and an option to ignore it

Ignoring is useful for transfering binary files.

9 years agosterm: Detect stale lock files
Michal Sojka [Wed, 5 Feb 2014 17:23:23 +0000 (18:23 +0100)]
sterm: Detect stale lock files

9 years agosterm: Minor updates
Michal Sojka [Tue, 4 Feb 2014 15:48:00 +0000 (16:48 +0100)]
sterm: Minor updates

9 years agoAdd simple serial line terminal
Michal Sojka [Mon, 3 Feb 2014 17:45:44 +0000 (18:45 +0100)]
Add simple serial line terminal