From: "Peter A. Castro" <doctor@fruitbat.org>
To: Andrew Markebo <andrew.markebo@comhem.se>
Cc: zsh-users@sunsite.dk, cygwin@cygwin.com
Subject: Re: Sharing zsh history in cygwin.
Date: Fri, 21 Jan 2005 17:25:43 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.58.0501211709000.16726@ming.fruitbat.org> (raw)
In-Reply-To: <m3fz0wgvbn.fsf@flognat.dyndns.org>
On Thu, 20 Jan 2005, Andrew Markebo wrote:
> Anyone managed to share command line history between running zsh's in
> latest cygwin's?
Works for me on Cygwin and Linux (Slackware).
> In old times I have done it, unfortunetaly bad tracking when I lost
> it. (Cywgin & zsh 4.2) (think it works with Linux-compiled zsh,
> doublechecking)
>
> Mainly my sharing is decided by:
> # History
> ###################################
> # IncAppendHistory for sharing between shells.. NOW..
> setopt HISTIGNOREDUPS HISTIGNORESPACE EXTENDED_HISTORY
> setopt INC_APPEND_HISTORY SHARE_HISTORY
> HISTSIZE=300
> SAVEHIST=300
> HISTFILE=~/.history
>
> The last line, HISTFILE, freezes the cygwin-distributed zsh
> (4.2.0) just after reading the config-files. Removing just that line
> creates a bunch of .history-XXX files.
Hm... I get only a single ~/.history file.
> On cygwin I configured (by setting "named FIFOs to work" to false) and
> compiled zsh 4.2.3, but it doesn't seem to share the history.
4.2.3s' configure is broken (on Cygwin) right now, so unless you know
what you're doing, I'd wait on it.
> Anyone who have been messing with the history as I do?
This works for me without any problems, using 4.2.0 in Cygwin. I've
opened three shells and can see/use the commands entered from any of the
three shells by any of the three shells. I suspect it's something
environmental. More detail about your system is in order. The output
from 'cygcheck -s' might be enlightening.
BTW, I just pushed 4.2.1-1 out. You can give it a try, but I kinda doubt
that'll solve your problems. On the other hand, it does have the new
/etc/zprofile in it.
BTW, it appears cygwin-announce isn't working...at least I haven't seen
any "[ANNOUNCE]" notices lately.
I'll be pushing out 4.2.3 once I get patches for configure worked out.
Still, I think your problem is something else. Please submit 'cygcheck -s'
output.
> /Andy
--
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
"Cats are just autistic Dogs" -- Dr. Tony Attwood
next prev parent reply other threads:[~2005-01-22 4:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-20 12:05 Andrew Markebo
2005-01-20 12:24 ` Andrew Markebo
2005-01-22 1:25 ` Peter A. Castro [this message]
2005-01-22 21:22 ` Hannu Koivisto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.58.0501211709000.16726@ming.fruitbat.org \
--to=doctor@fruitbat.org \
--cc=andrew.markebo@comhem.se \
--cc=cygwin@cygwin.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).