From owner-freebsd-questions@FreeBSD.ORG Fri Sep 28 08:57:29 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 D47B616A419 for ; Fri, 28 Sep 2007 08:57:29 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 525D213C458 for ; Fri, 28 Sep 2007 08:57:29 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (dialup148.ach.sch.gr [81.186.70.148]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id l8S8ugsE001485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 28 Sep 2007 11:57:05 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l8S8uZtH003146; Fri, 28 Sep 2007 11:56:36 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l8S8uWcZ003138; Fri, 28 Sep 2007 11:56:32 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 28 Sep 2007 11:56:32 +0300 From: Giorgos Keramidas To: Jay Chandler Message-ID: <20070928085631.GA3049@kobe.laptop> References: <46FC605F.3000006@sequestered.net> <46FC83E5.2040907@computer.org> <46FC99BD.4050102@sequestered.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46FC99BD.4050102@sequestered.net> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.909, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.49, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: FreeBSD Mailing List , Eric Schuele 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 08:57:29 -0000 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... > > 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?