Fix return value of load_cfg, from Thomas Adam.
Simplify command string parsing with a helper function from Tiago Cunha.
Fix argument order in a log statement.
Use strlcat not strncat in load_cfg and some other trivial tidying from
Tiago Cunha.
Handle resetting 256-colours properly when parsing #[default],
#[fg=default] and #[bg=default] styles.
.+
Merge branch 'obsd-master'

Sync from OpenBSD.
Use the CMD_*_USAGE defines consistently, from Thomas Adam.
Change load_cfg to fix a crash reported by jasper.
We no longer use struct eproc for kinfo_proc in sysctl.h so there
is no direct need for sys/proc.h or sys/resource.h.  Some consumers
of kinfo_proc need these for the proc flags and rlimit defines like
RLIM_INF so add the appropriate includes to them.
OK deraadt@ sthen@
Add a -u flag to choose-tree to start uncollapsed, from Raghavendra D
Prabhu.
Add missing function prototype.
Add -T option to select-window to toggle to last window if already
current, from Raghavendra D Prabhu.
Add ^ and $ special command targets to select lowest and highest
numbered windows, from Raghavendra D Prabhu.
Fix keyword matching.

Per the documentation in *:syn-keyword* (in particular *E789*), the
optional characters inside the square brackets can only be used in the
end. Therefore, unfold some keywords which were being wrongly
recognised.

Noticed by Bruce Wolk.
Merge branch 'obsd-master'

Sync from OpenBSD.