Shells do not generally have to restore line settings when a subprocess exists. This means that when the program asks for a password and is interrupted by Ctrl-C
, stty -echo
may remain in effect in these types of shells.
This MR restores stty echo
when password prompt is interrupted by Ctrl-C
.
(It also removes code duplication by introducing prompt_secret()
subroutine.)
Martin Klimeš (a5d64c3e) at 23 Nov 14:52
Merge branch 'interrupt' into 'master'
... and 1 more commit
Martin Klimeš (4cb53dda) at 23 Nov 14:50
Merge branch 'code-cleanup' into 'master'
... and 6 more commits
Major changes:
-h
)Shells do not generally have to restore line settings when a subprocess exists. This means that when the program asks for a password and is interrupted by Ctrl-C
, stty -echo
may remain in effect in these types of shells.
This MR restores stty echo
when password prompt is interrupted by Ctrl-C
.
(It also removes code duplication by introducing prompt_secret()
subroutine.)
Major changes:
-h
)Tomáš Szaniszlo (9becd305) at 05 Nov 16:54
README: make clearer how the script should be run
... and 1 more commit
Tomáš Szaniszlo (cfd7db05) at 05 Nov 16:39
install: fix detection of smbclient
... and 1 more commit
Tomáš Szaniszlo (7dede131) at 05 Nov 16:08
install: printer location formatting consistency
Martin Klimeš (ee805abe) at 05 Nov 15:15
README: add feedback address
Martin Klimeš (9f2e4fa8) at 05 Nov 14:53
rename printers
Martin Klimeš (07882e9d) at 05 Nov 11:27
fix grammar, wording and code style
Martin Klimeš (15194af3) at 05 Nov 10:37
rename PPDs
Tomáš Szaniszlo (a76e2e60) at 04 Nov 16:30
README: some grammar and wording improvements
Martin Klimeš (bf1ae88e) at 04 Nov 16:08
add warning about plain text password
... and 2 more commits
Martin Klimeš (b92bda9a) at 04 Nov 13:31
add URI encoding
Martin Klimeš (10756b3c) at 03 Nov 15:47
Updated README.md
Martin Klimeš (eaf9f5c0) at 03 Nov 15:33
Temporarily remove copy4b and copy5b due to python2
Martin Klimeš (413f1e3b) at 01 Nov 11:32
cron: fix cron installation