From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 17:54:05 2004 Return-Path: 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 9A3E416A4CE for ; Thu, 8 Jul 2004 17:54:05 +0000 (GMT) Received: from paperi.ton.tut.fi (paperi.ton.tut.fi [193.166.234.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6147443D58 for ; Thu, 8 Jul 2004 17:54:05 +0000 (GMT) (envelope-from tero.koskinen@iki.fi) Received: from f125b.lanhovi.ton.tut.fi (toga.local0) [193.166.80.51] by paperi.ton.tut.fi with esmtp (Exim 3.33 #3 (Debian)) id 1Bid5v-0000Os-00; Thu, 08 Jul 2004 20:54:03 +0300 Received: from toga.local0 (localhost.localnet [IPv6:::1]) by toga.local0 (8.13.0/8.12.10) with SMTP id i68Hs0Se023815; Thu, 8 Jul 2004 20:54:00 +0300 (EEST) Date: Thu, 8 Jul 2004 20:53:59 +0300 From: Tero Koskinen To: Chris Sechiatano Message-Id: <20040708205359.725747b3.tero.koskinen@iki.fi> In-Reply-To: <20040708164411.GA98262@chris-s.com> References: <20040708164411.GA98262@chris-s.com> X-Mailer: Sylpheed version 0.9.11 (GTK+ 1.2.10; i386-unknown-openbsd3.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: ksh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: tero.koskinen@iki.fi List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 17:54:05 -0000 On Thu, 8 Jul 2004 09:44:11 -0700 Chris Sechiatano wrote: > Hi, > > I installed ksh on my 5.2.1 system. In my .profile I have: > > set -o vi > set -o vi-tabcomplete > > However, the 'set -o vi' doesn't seem to work. When I log in, ksh is still > in emacs mode. > > Anybody know how to make it work? Check your "$HOME/.shrc". By default there is line 'set -o emacs' and ksh executes that file after $HOME/.profile. I was bitten by the same problem and it took me a week to figure out what was going on, especially since on OpenBSD/NetBSD similar $HOME/.profile worked perfectly (I had no $HOME/.shrc there). -- Tero Koskinen - http://iki.fi/tero.koskinen/