remove some dead code in halrmt

This particular chunk of code looks like a place holder for future work
that never materialized: do_loadusr_cmd() is not available in halrmt,
and without that function call this code has no effect.  It's been this
way since 2008.

Since it's causing a compiler warning i'm disabling it with "#if 0"
for now.
halrmt: propagate write(2) return value correctly
halrmt: propagate write(2) errors correctly
halrmt: exit the client thread if the client closes the connection
python plugin: check for error from getcwd(2)
orient: remove some dead code
docs: reorg gitignore to placate mandb

We run mandb to index all our manpages.  mandb complains about every
non-manpage file it finds in the man directory tree.  This includes our
.gitignore files.

This commit collects all the .gitignore info into the .gitignore file
in docs/man, just outside of where mandb starts paying attention and
complaining.
sort & remove duplicates

This tidies up the gitignore info for manpages.  Reordering & removing
dupes only, no additions or subtractions.
ignore new generated manpages
ignore files & dirs generated by mandb
build system: show mandb command if the user requested it
un-ignore some files we no longer have
genserkins: reduce stack usage

Normally I like limiting the scope of local variables as much as
possible, but in this case two adjacent scopes both instanciate a large
anonymous struct, and the compiler doesn't realize they're identical
and have non-overlapping use, and it puts both of them on the stack.
This results in a very large stack frame for this function.

This commit moves the declaration of the large structure out into the
enclosing scope, and both of the two nested scopes use the shared struct.