Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 2004 11:16:35 -0700
From:      Chris Sechiatano <chris@chris-s.com>
To:        Tero Koskinen <tero.koskinen@iki.fi>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ksh
Message-ID:  <20040708181635.GA98759@chris-s.com>
In-Reply-To: <20040708205359.725747b3.tero.koskinen@iki.fi>
References:  <20040708164411.GA98262@chris-s.com> <20040708205359.725747b3.tero.koskinen@iki.fi>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <tero.koskinen@iki.=
fi> wrote:
> On Thu, 8 Jul 2004 09:44:11 -0700
> Chris Sechiatano <chris@chris-s.com> 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/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040708181635.GA98759>