Date: Thu, 30 Nov 2006 00:51:09 +0300 From: "Andrew Pantyukhin" <infofarmer@FreeBSD.org> To: "Jan Grant" <jan.grant@bristol.ac.uk> Cc: FreeBSD Questions <questions@freebsd.org> Subject: Re: Real-time command history sharing between interactive shells Message-ID: <cb5206420611291351g46f41159u926577bfe7f7edd3@mail.gmail.com> In-Reply-To: <20061129213011.A32663@tribble.ilrt.bris.ac.uk> References: <cb5206420611290603v2f0a946bub5994f89b2ea0dd9@mail.gmail.com> <20061129213011.A32663@tribble.ilrt.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/30/06, Jan Grant <jan.grant@bristol.ac.uk> wrote: > On Wed, 29 Nov 2006, Andrew Pantyukhin wrote: > > > I want to be able to define groups of interactive > > shells (preferably even across different users) > > so they have one single shared command history. > > Any command executed in one of them should be > > available through all history mechanisms in the > > other ones. > > > > I imagine some ways to do it in tcsh. I'm sure > > many users would like this kind of functionality, > > maybe some of them have already implemented it? > > zsh is a pretty good interactive shell (it finally weaned me off tcsh), > as well as supporting a full range of redirection and control > constructs. You should look at that, in particular the > set -o sharehistory > option (which does half of what you're after). > > Combine this with a shared .history file and you should get the effect > you're after. I think, I'll follow your advice. It's high time I forgot about csh, but I wonder if you tried to change root's shell to zsh?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420611291351g46f41159u926577bfe7f7edd3>