You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
When enter is pressed, passwd[len] will be set to '\0'. Pressing backspace is supposed to remove the last entered character. But currently, the clearing has an off-by-one, as in setting passwd[len] to '\0' just like enter would do. You can also verify it by imagining len=1 and that it's impossible to clear passwd by pressing backspace with the current code. Signed-off-by: Tobias Stoeckmann <email@example.com>
|5 years ago|
|LICENSE||6 years ago|
|Makefile||5 years ago|
|README||5 years ago|
|arg.h||5 years ago|
|config.def.h||5 years ago|
|config.mk||5 years ago|
|explicit_bzero.c||5 years ago|
|slock.1||5 years ago|
|slock.c||5 years ago|
|util.h||5 years ago|
slock - simple screen locker
simple screen locker utility for X.
In order to build slock you need the Xlib header files.
Edit config.mk to match your local setup (slock is installed into
the /usr/local namespace by default).
Afterwards enter the following command to build and install slock
(if necessary as root):
make clean install
Simply invoke the 'slock' command. To get out of it, enter your password.