From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 18:16:16 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 B496B16A4CE for ; Thu, 8 Jul 2004 18:16:16 +0000 (GMT) Received: from smtp806.mail.sc5.yahoo.com (smtp806.mail.sc5.yahoo.com [66.163.168.185]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B29843D48 for ; Thu, 8 Jul 2004 18:16:16 +0000 (GMT) (envelope-from chris@chris-s.com) Received: from unknown (HELO nitrous.chris-s.com) (straycat40@sbcglobal.net@216.100.251.65 with plain) by smtp806.mail.sc5.yahoo.com with SMTP; 8 Jul 2004 18:16:10 -0000 Received: from nitrous.chris-s.com (localhost.chris-s.com [127.0.0.1]) by nitrous.chris-s.com (8.12.11/8.12.10) with ESMTP id i68IGaFL098802; Thu, 8 Jul 2004 11:16:36 -0700 (PDT) (envelope-from chris@nitrous.chris-s.com) Received: (from chris@localhost) by nitrous.chris-s.com (8.12.11/8.12.10/Submit) id i68IGZOR098801; Thu, 8 Jul 2004 11:16:35 -0700 (PDT) (envelope-from chris) Date: Thu, 8 Jul 2004 11:16:35 -0700 From: Chris Sechiatano To: Tero Koskinen Message-ID: <20040708181635.GA98759@chris-s.com> References: <20040708164411.GA98262@chris-s.com> <20040708205359.725747b3.tero.koskinen@iki.fi> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <20040708205359.725747b3.tero.koskinen@iki.fi> User-Agent: Mutt/1.4.2.1i X-Operating-System: Linux X-PGP-Key: 0x0021EFA0 cc: freebsd-questions@freebsd.org Subject: Re: ksh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 18:16:16 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks that did it. It seems weird that ksh would use .shrc as its startup file, especially when it says bourne shell startup file inside of it. =20 On Thu, Jul 08, 2004 at 08:53:59PM +0300, Tero Koskinen wrote: > On Thu, 8 Jul 2004 09:44:11 -0700 > Chris Sechiatano wrote: >=20 > > Hi, > >=20 > > I installed ksh on my 5.2.1 system. In my .profile I have: > >=20 > > set -o vi > > set -o vi-tabcomplete > >=20 > > However, the 'set -o vi' doesn't seem to work. When I log in, ksh is s= till > > in emacs mode. > >=20 > > Anybody know how to make it work? >=20 > Check your "$HOME/.shrc". By default there is line 'set -o emacs' and ksh > executes that file after $HOME/.profile. >=20 > 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). >=20 > --=20 > Tero Koskinen - http://iki.fi/tero.koskinen/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Chris Sechiatano chris@chris-s.com www.chris-s.com PGP Key 0x0021EFA0 --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA7Y+DJVmKFwAh76ARAklXAKCJbHC/LjjGxKago9vR/wm9lQbneQCgj8+N iDko/qrk73Zj3sfQy6EDLdA= =pybx -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--