FIx minor issues found propagating deltas to work

Because the files at work have drifted for a while, I like to do a
manual merge. That showed some minor issues worth propagating again to
home.

modified:   cmd/x
modified:   cmd/xo
	Both scripts remember the PATH on entry, and restore just before
	launching $xterm--that way, the command has a chance to behave
	the same if it ran directly in the shell.

	Some code code had ended up looking different in both scripts,
	so it was refactored and decluttered to show the commonality.
Do no override $LESS in ~/cmd/p