This patch is good, but it fails to handle cases like :set notabstop or :set nots, which cause vi to segfault. Obviously these are invalid options, but still should be handled gracefully.