From owner-freebsd-questions Fri Nov 16 6:24:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cisco.com (sword.cisco.com [161.44.208.100]) by hub.freebsd.org (Postfix) with ESMTP id 3073037B418 for ; Fri, 16 Nov 2001 06:24:32 -0800 (PST) Received: from sjt-u10.cisco.com (sjt-u10.cisco.com [10.85.30.63]) by cisco.com (8.8.5-Cisco.1/8.8.8) with ESMTP id JAA03829; Fri, 16 Nov 2001 09:24:27 -0500 (EST) Received: (sjt@localhost) by sjt-u10.cisco.com (8.8.5-Cisco.1/CISCO.WS.1.2) id JAA10308; Fri, 16 Nov 2001 09:24:27 -0500 (EST) Date: Fri, 16 Nov 2001 09:24:27 -0500 From: Steve Tremblett To: Anthony Atkielski Cc: Jon Molin , freebsd-questions@FreeBSD.ORG Subject: Re: DSL PPPoE with 2 NICs Message-ID: <20011116092426.H10055@sjt-u10.cisco.com> References: <002601c16e7f$19509d20$1401a8c0@tedm.placo.com> <001101c16e98$1867ba60$0a00000a@atkielski.com> <3BF50ACB.F37844BE@resfeber.se> <004a01c16ea5$469bf650$0a00000a@atkielski.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <004a01c16ea5$469bf650$0a00000a@atkielski.com>; from anthony@atkielski.com on Fri, Nov 16, 2001 at 02:47:40PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG +---- Anthony Atkielski wrote: | I'm just amazed by the awkwardness of vi commands, and I have to wonder why | anyone would voluntarily choose such a mess as an editor. I can see how it | would have been great stuff in 1971, when there was nothing better, but today, | it's a joke. vi is an incredibly powerful editor, and while you may think the commands are awkward, consider these points: 1 - vi is universal. It is worth knowing simply becuase it is the only editor that you can count on being present on practically every *NIX system. It is built to run under the most basic terminals, which makes it suitable for hostile conditions. 2 - vi has the appealing quality of requiring ONLY the core keyboard - NO arrow keys, NO mouse, NO function keys. Notice that the movement commands 'h', 'j', 'k', and 'l' are comfortably near the home position of your right hand (if you know proper typing that is). No command is perfectly intuitive in any system - once you know a handful of commands habitually, you start thinking about the command's action as opposed to the keystrokes (ie. you think "delete a line" as opposed to "dd deletes a line"). How intuitive is alt-f4? 3 - notepad was made for taking notes. vi was made for editing code. Can you indent an entire section of text with a couple of keystrokes in notepad? Can you search and replace on a pattern in notepad? How about a simple trick like knowing your parentheses match up properly? 4 - vi's commands are widely accepted and implemented in other software. Just as alt-f opens the file menu in most windows applications, 'j' & 'k' moves up and down in many *NIX applications. vi is a powerful tool, and any powerful tool requires time to learn. Just because it isn't apparent to you, that doesn't make it a "joke". my $0.02 (Canadian) (excuse my bluntness - coffee hasn't kicked in yet) -- Steve Tremblett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message