From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 17 00:35:07 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A16C816A41F; Mon, 17 Oct 2005 00:35:07 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFAC543D48; Mon, 17 Oct 2005 00:35:04 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.1/8.13.1) with ESMTP id j9H0Z2OH042365; Sun, 16 Oct 2005 17:35:03 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.1/8.13.1/Submit) id j9H0Z25q042364; Sun, 16 Oct 2005 17:35:02 -0700 (PDT) (envelope-from kline) Date: Sun, 16 Oct 2005 17:35:01 -0700 From: Gary Kline To: Oleg Petrov Message-ID: <20051017003501.GB41769@thought.org> References: <4352D860.000002.03681@tide.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4352D860.000002.03681@tide.yandex.ru> User-Agent: Mutt/1.4.2.1i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 19 years of service to the Unix community X-Mailman-Approved-At: Mon, 17 Oct 2005 12:39:53 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: nvi for serious hacking X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 00:35:07 -0000 On Mon, Oct 17, 2005 at 02:46:56AM +0400, Oleg Petrov wrote: > Hello, FreeBSD people. > > First thing to mention is that I'm very experienced Emacs user. I was using it > for 4-5 years or so. But sometime ago i began to feel myself so uncomfortable > with it for some reasons: first, i use many different systems and emacs isn't > default application for FreeBSD or any other *BSD\Linux distribution. Second, > remote machines aren't powerful enough to start Emacs fast. I tried many small > Emacs clones like jed, joe, uemacs and several others i just can't remember. > But for different reasons i disliked all of them. Later I noticed default > `nvi' editor, that has some nice features: it comes with FreeBSD by default > and according to documentation it has powerful editing mechanism. > > So, my question goes to all FreeBSD hackers who uses `nvi' as their general > editor. Is it possible to do serious hacking with it? More accurate: > > * What programming features it support? (Does it have something like etags? > Does it have interface to gdb? And such other things..) > > * Is it possible to use it comfortable with Dvorak layout? (I noticed some > bindings that relies on keys arrangement) > > * How to setup it to standard FreeBSD C code indentation? And don't use > tabs as well. > > It's hard choice for me to switch old good Emacs to something new, so please > give me your opinions. > > I'm not subscribed to list, so please CC me. > vi was the first screen/cursor-based editor in computer history. Written by Bill Joy when he was in his early 20's. I've been using vi almost since Bill released his first draft; my fingers know it by default. And even after almost 30years there are still things I don't know. Nutshell, I've hacked hundreds of thousands of line using vi; millions of words of prose. I've used *tags, debuggers, and other tools with it. Have tried *emacs; just can't get the hang of it. With tools like [n]vi and ctags, plus a debugger you've got your own IDE. Since you've learned emacs, you'll learn vi in a flash. gary kline -- Gary Kline kline@thought.org www.thought.org Public service Unix