From owner-freebsd-questions@FreeBSD.ORG Thu Jun 16 08:24:49 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B6BB16A41C for ; Thu, 16 Jun 2005 08:24:49 +0000 (GMT) (envelope-from bodza@mail.bdz.myip.hu) Received: from mail.bdz.myip.hu (nilus-401.adsl.datanet.hu [195.56.7.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E5EF43D5C for ; Thu, 16 Jun 2005 08:24:48 +0000 (GMT) (envelope-from bodza@mail.bdz.myip.hu) Received: by mail.bdz.myip.hu (Postfix, from userid 1001) id 8D05761B7; Thu, 16 Jun 2005 10:24:11 +0200 (CEST) Date: Thu, 16 Jun 2005 10:24:11 +0200 From: bdz To: freebsd-questions@freebsd.org Message-ID: <20050616082411.GA33668@bdz.myip.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: pdksh cli as vi 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: Thu, 16 Jun 2005 08:24:49 -0000 i use ksh everywhere and the comman line is set to behave like vi so i can search/edit commands pretty fast. on my freebsd5.4 i have installed pdksh-5.2.14p2 from packages. in the .profile EDITOR and VISUAL both exported as vi and after login i can see that: freebsd54$ set|grep vi EDITOR=vi VISUAL=vi if i switch to command mode strange things happen. like i press 'h' to go to the left and it just adds 'h's to the command line. but if i give it a export VISUAL=vi from the command line everything is ok. you guys know something about it? i have not found anything in google. thx bdz