Mike Henker wrote: > my question is how I can edit the files of the operating > system,what editor you recommand? (I m a newbie)
nvi (/usr/bin/vi) is part of the base installation, and is (IIRC) the default for programs that use the $EDITOR or $VISUAL variables. If you want a vi editor with more features, vim can be installed either via packages (see pkg_add(1)) or ports (see ports(7)). Another popular and powerful editor is emacs, though I don't personally use it. For an editor that behaves like the Notepad.exe and EDIT.COM editors of Redmondland, you might try GNU Nano, which is a vastly simplified and watered-down emacs-ish editor that is used by default in many linux distros. > If isn t in the default installation how can I install it? Vim, Emacs, Nano, and many other editors (both console and GUI) are available as packages (see /pub/OpenBSD/3.7/packages/$arch in your favorite OpenBSD mirror) or in ports (/pub/OpenBSD/3.7/ports.tar.gz). Sections 8.4 through 8.6 in the FAQ <http://openbsd.org/faq/index.html> can give you more details on these options and their differences. <opinion> Personally, I recommend learning and becoming proficient in vi, even if you use another editor the majority of the time. The reason is that vi, in one form or another, will be found on just about every Unix system you might encounter. Emacs won't. </opinion> HTH, Tim Hammerquist -- Don't anthropomorphise computers. They don't like it. -- The Register <http://www.theregister.co.uk/content/54/35775.html>

