<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slock.git, branch master</title>
<subtitle>Simple X screen locker, made slightly less simple
</subtitle>
<id>https://retarded.software/slock.git/atom?h=master</id>
<link rel='self' href='https://retarded.software/slock.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://retarded.software/slock.git/'/>
<updated>2025-12-15T18:48:29Z</updated>
<entry>
<title>die on failed freopen</title>
<updated>2025-12-15T18:48:29Z</updated>
<author>
<name>David Vazgenovich Shakaryan</name>
<email>dvshakaryan@gmail.com</email>
</author>
<published>2024-02-27T20:22:13Z</published>
<link rel='alternate' type='text/html' href='https://retarded.software/slock.git/commit/?id=692f290b8963648495c558604d9a2a51b178cc8b'/>
<id>urn:sha1:692f290b8963648495c558604d9a2a51b178cc8b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add option allowing process to be killed by user who started it</title>
<updated>2025-12-15T18:48:29Z</updated>
<author>
<name>David Vazgenovich Shakaryan</name>
<email>dvshakaryan@gmail.com</email>
</author>
<published>2024-02-27T05:07:08Z</published>
<link rel='alternate' type='text/html' href='https://retarded.software/slock.git/commit/?id=358f7ecab728327eade248cd9720c2bdc0a71e40'/>
<id>urn:sha1:358f7ecab728327eade248cd9720c2bdc0a71e40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add ability to fork and print PID after locking</title>
<updated>2025-12-15T18:48:29Z</updated>
<author>
<name>David Vazgenovich Shakaryan</name>
<email>dvshakaryan@gmail.com</email>
</author>
<published>2024-02-27T04:23:19Z</published>
<link rel='alternate' type='text/html' href='https://retarded.software/slock.git/commit/?id=abb4c2dc7225c188586f4413089e811f12a0c87b'/>
<id>urn:sha1:abb4c2dc7225c188586f4413089e811f12a0c87b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add a comment for the ctrl-u clear field combo</title>
<updated>2025-08-16T09:11:27Z</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2025-08-16T09:11:27Z</published>
<link rel='alternate' type='text/html' href='https://retarded.software/slock.git/commit/?id=3791a996e230aec59d61faea46634ae4f031e359'/>
<id>urn:sha1:3791a996e230aec59d61faea46634ae4f031e359</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support ^U for clearing password</title>
<updated>2025-08-16T09:05:32Z</updated>
<author>
<name>Drew Marino</name>
<email>drewmarino25@gmail.com</email>
</author>
<published>2025-08-15T23:30:19Z</published>
<link rel='alternate' type='text/html' href='https://retarded.software/slock.git/commit/?id=bf0a5577acbd9ec7c6a577601b97144b205840d7'/>
<id>urn:sha1:bf0a5577acbd9ec7c6a577601b97144b205840d7</id>
<content type='text'>
^U is a fairly common key combo for clearing fields, this patch adds
support for it.
</content>
</entry>
<entry>
<title>bump version to 1.6</title>
<updated>2025-08-09T12:34:37Z</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2025-08-09T12:34:37Z</published>
<link rel='alternate' type='text/html' href='https://retarded.software/slock.git/commit/?id=e3fb34364ed2c53b21edde07ac17560a601783a9'/>
<id>urn:sha1:e3fb34364ed2c53b21edde07ac17560a601783a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>simplify post-lock cmd and die if it fails</title>
<updated>2025-03-09T09:02:34Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-09-09T08:50:12Z</published>
<link rel='alternate' type='text/html' href='https://retarded.software/slock.git/commit/?id=a70d5d2429abf8dcb70a8817990975dc9a621d27'/>
<id>urn:sha1:a70d5d2429abf8dcb70a8817990975dc9a621d27</id>
<content type='text'>
this patch does two things:

0. simplify the code by using posix_spawn()
1. unify the behavior of what happens if the post-lock cmd fails.

currently, if `fork()` fails, slock will die without locking the screen.
HOWEVER if `execvp()` fails it prints a message to stderr (which the
user cannot see since the screen has been locked already) and only exits
the child while the parent locks the screen.

to reproduce:

	# slock some_bin_that_doesnt_exist

this behavior is inconsistent, if the idea is that post-lock cmd is
_not_ important then we shouldn't `die()` on `fork()` failure either.
and if we assume that the post-lock cmd _is_ important, then we should
die on exec failure as well.

this patch assumes the latter and calls `die()` if `posix_spawn()`
fails.
</content>
</entry>
<entry>
<title>slock.1: use standard wording for options</title>
<updated>2023-10-06T09:57:31Z</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2023-10-06T09:57:31Z</published>
<link rel='alternate' type='text/html' href='https://retarded.software/slock.git/commit/?id=a34d8fb4327bbb1afd92e7527c53fcaad547a495'/>
<id>urn:sha1:a34d8fb4327bbb1afd92e7527c53fcaad547a495</id>
<content type='text'>
Remove the OPTIONS section and add an EXIT STATUS section.
</content>
</entry>
<entry>
<title>write version to stdout like the man page says</title>
<updated>2023-10-06T09:50:11Z</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2023-10-06T09:50:11Z</published>
<link rel='alternate' type='text/html' href='https://retarded.software/slock.git/commit/?id=e8bca65d629a4faa89439c9f0e599efb5a259573'/>
<id>urn:sha1:e8bca65d629a4faa89439c9f0e599efb5a259573</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slock.1: improve man page</title>
<updated>2023-10-06T09:48:40Z</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2023-10-06T09:48:40Z</published>
<link rel='alternate' type='text/html' href='https://retarded.software/slock.git/commit/?id=ca6f30f621c1195b577ace7a14b9037fab0dab91'/>
<id>urn:sha1:ca6f30f621c1195b577ace7a14b9037fab0dab91</id>
<content type='text'>
* Fix all lint warnings.
* Remove "Op Ar arg..." in the description. It looks ugly.
* No need to set -offset left for .Bd literal.
</content>
</entry>
</feed>
