There's a bug in our vi (nvi 1.79). The options "noprint", "print", and "octal" don't work properly. When these options are changed, the routine that evaluates them is called before the option has been set. Fix: From NetBSD: How-To-Repeat: For option "octal": * Insert a non-printable character >0x80. * :set octal => The character is still displayed in hex. * :set nooctal => The display switches to octal. Similarly for "print" and "noprint".
Fixed without additional flags in -CURRENT. PS: you may need LC_CTYPE=C (8-bit mode) to test this feature if the non-printable character is not a valid Unicode character. -- Zhihao Yuan <zhihao.yuan@rackspace.com> The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/