fix some minor formatting glitches;
The last fix to xterm keys meant that some keys such as \033OA were
being wrongly treated as partial matches. So both check xterm keys after
standard keys and only wildcard the minimum required ('1' to
'8'). Problems reported by Ralf Horstmann and Tim van der Molen.
Avoid use of uninitialized variable, from Thomas Adam.
Make C-j the same as C-m, from Simon Nicolussi.
Check for NULL session and whatnot in status_replace, from Thomas Adam.
Do not need to call winlink_find_by_window, from Filip Moc.
Style nit - no space between function name and bracket.
Make status-interval of zero work as indented.
If the terminfo entry has colors#256, assume that setaf and setab work
and use them for the 256 colour set. If the terminfo entry doesn't have
colors#256 and the user gives -2 to the client, use a \033[38;5;Xm
sequence as before. Should allow fbterm to work with it's weird setaf
and setab.
Leftovers from removing 88 colour support, from Theo Buehler.
Merge branch 'obsd-master'

Conflicts:
	tmux.1
	tmux.c