| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
| |
Eliminates the need for a shell inside the chroot, along with cat,
mktemp and rm. It's likely a bit faster too.
|
| |
|
|
|
|
| |
I'm not serving gopher anymore.
|
| |
|
|
|
|
|
| |
I haven't updated it in ages and I don't want to run (unmodified)
finger on OpenBSD since it likes to tell everyone your login IP??
|
|
|
|
| |
Ideally these wouldn't require sh, cat, rm, mktemp.
|
|
|
|
|
| |
cgit runs in a chroot. It is normal that it cannot look up user
info in /etc/passwd.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Migrating things over, I don't think it's worth continuing to serve
text over gopher.
|
|
|
|
| |
Gotten a lot more used to running doas!
|
| |
|
|
|
|
| |
No idea why it made me do this...
|
| |
|
| |
|
|
|
|
|
|
| |
OpenBSD col(1) doesn't understand UTF-8 and will delete all of it.
Stupid, especially when mandoc(1) tells you to use it to remove man
formatting. I shouldn't have to write something so trivial.
|
| |
|
| |
|
| |
|
|
|
|
| |
All this really does is make fixing problems more difficult.
|
| |
|
|
|
|
|
|
| |
This is a bit messy. pledge(2) calls based on [1].
[1]: https://kristaps.bsd.lv/kcgi/tutorial6.html
|
| |
|
|
|
|
|
|
|
| |
This reverts commit a64c3653d5df5e823fcdd07a540e240283816683.
Yeah this really doesn't work on OpenBSD. I kind of got into the
habit of explicitly running less anyway.
|
| |
|
| |
|
|
|
|
|
|
| |
Use MSG_PEEK to determine where the request headers end and consume
only up to there, leaving the CGI process to read any request body
directly from the socket.
|
|
|
|
|
|
| |
And only because kcgi expects it. This is what I wrote originally,
because every HTTP_ variable should be unset between each request,
but this doesn't track them.
|
| |
|
|
|
|
| |
Useless thing...
|
|
|
|
|
|
|
| |
Oops! This whole time I thought OpenBSD xterm for some reason didn't
support focus events. It turns out allowMouseOps: false disables
them by default. Replace the disallowedMouseOps list with everything
but.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Surprisingly good for something written by a man like a hundred
years ago!
|
|
|
|
| |
They were fun to make but I never actually used them.
|
|
|
|
| |
I haven't used these in ages.
|
|
|
|
| |
Otherwise upload won't actually work.
|
|
|
|
|
|
|
|
| |
For use by Palaver[1]. Unfortunately, at least in the current App
Store version of Palaver, this doesn't work correctly with basic
auth.
[1]: https://palaverapp.com/guides/commands/set.html#ui-image_service
|
|
|
|
| |
I hate these things and also this one sucks.
|
| |
|
|
|
|
|
|
| |
This actually speeds things up quite a bit, saving roughly a second
on a big PNG screenshot. Almost all the remaining time is spent in
deflate.
|
|
|
|
| |
Interesting to see how my code habits have changed.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also bump the message cap to 1024 because that is ostensibly useful
for replying to older messages.
|
| |
|