From owner-freebsd-questions@FreeBSD.ORG Fri Sep 28 10:48:41 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD8A916A417 for ; Fri, 28 Sep 2007 10:48:41 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from smtp.teledomenet.gr (smtp.teledomenet.gr [213.142.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 7B0AC13C447 for ; Fri, 28 Sep 2007 10:48:41 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by smtp.teledomenet.gr (Postfix, from userid 58) id 5F733142178; Fri, 28 Sep 2007 13:48:40 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on smtp.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.3 Received: from iris (unknown [192.168.1.71]) by smtp.teledomenet.gr (Postfix) with ESMTP id 641591420A5; Fri, 28 Sep 2007 13:48:34 +0300 (EEST) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Fri, 28 Sep 2007 13:45:13 +0300 User-Agent: KMail/1.9.1 References: <46FC605F.3000006@sequestered.net> <46FC99BD.4050102@sequestered.net> <20070928085631.GA3049@kobe.laptop> In-Reply-To: <20070928085631.GA3049@kobe.laptop> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709281345.14680.nvass@teledomenet.gr> Cc: Giorgos Keramidas , Jay Chandler Subject: Re: Getting vim to work correctly. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2007 10:48:41 -0000 On Friday 28 September 2007 11:56, Giorgos Keramidas wrote: > On 2007-09-27 23:05, Jay Chandler wrote: > > Eric Schuele wrote: > >> On 09/27/2007 21:01, Jay Chandler wrote: > >>> Howdy. > >>> Sorry to keep hitting the list with questions today, but does anyone > >>> know how to get the home, delete, end, page up, etc. keys working > >>> correctly in vim? > >>> > >>> It works in Linux, drives me nuts in FreeBSD... > >> > >> They work perfectly fine here. How is it you expect those keys to > >> behave? Define "working correctly". > > > > When in insert mode, and pagedown is pressed, the letter the cursor is > > over is capitalized, and the editor is removed from insert mode, as an > > example. > > > > PageUp capitalizes the letter next to it, and again removes me from > > insert mode. > > > > Home randomly capitalizes letters and shifts the cursor to the next > > letter. > > > > Insert decapitalizes the letter the cursor is over. > > > > Weird behavior like this... > > Nothing weird, same here with every terminal I have installed(xterm, Eterm & konsole). You should instal Vim if you want the old behaviour. > > I was mistaken in that this is in vim-- this is in the natural version > > of vi that ships with the base OS. > > > > This is happening from PuTTY in default setting mode on a Windows > > box-- my MacBook is relatively better behaved. > > This is usually a configuration error related to the $TERM setup of the > client, so what's your terminal set to in the PuTTY setup of Windows? Keep in mind that nvi is a different program. Why don't you install Vim? Actually, the only consistent behaviour is, that vi clones have inconsistencies among them :)