[sane-devel] Best way to stop scanimage?
paddy-hack at member.fsf.org
Fri Sep 29 09:51:12 UTC 2017
Jeff Sadowski writes:
>>> On Thu, Sep 28, 2017 at 10:30 AM, Jeff Sadowski <jeff.sadowski at gmail.com>
>>> > Is there a good way to stop scanimage?
> Ooooh Ctrl-C sends the INT(-2) signal that is the signal I think I want.
You've already found out how to solve your issue but here are the
Sending a *single* SIGINT or SIGTERM (and if supported by your system at
compile time SIGHUP or SIGPIPE) will cancel the scan in progress. This
should leave your scanner in a usable state.
Sending one of these signals again will abort the scan in progress (and
may leave your scanner in an unusable state).
You can send signals with the kill command or via the keyboard. The
latter is somewhat key binding dependent but usually Ctrl-C will do the
Hope this helps,
Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9
Support Free Software https://my.fsf.org/donate
Join the Free Software Foundation https://my.fsf.org/join
More information about the sane-devel