zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: schaefer@z-code.ncd.com
Cc: zsh-workers@math.gatech.edu
Subject: Re: HISTCHARS
Date: Thu, 23 May 1996 20:32:05 +0200 (MET DST)	[thread overview]
Message-ID: <199605231832.UAA04182@bolyai.cs.elte.hu> (raw)
In-Reply-To: <960523105059.ZM15172@zyrcon.z-code.com> from "Barton E. Schaefer" at "May 23, 96 10:50:58 am"

> Somebody remind me why this has become a lower-case variable, and why it is
> not mirrored to/from the upper-case version?
> 
> Does anybody know what the comprehensive list of these seemingly arbitrary
> incompatibilities is?  I'm getting really tired of tweaking and re-tweaking
> my .zsh* files every time I find another of these stupid things.  We need a
> complete upgrade guide of some sort.

HISTCHARS was changed to histchars quite long ago because both bash and csh
use the lower-case version.

A complete list of changes would be useful indeed.  There is a NEWS file
listing the new features in zsh-2.5 (strange that some of these features
were completely unusable in 2.5 because of the bugs).  Perhaps it the
upgrage guite should go there.  An other difference which comes to my mind
is the ${~...} ${^...} and ${=...} parameter substitution syntax, which do
not toggle the relevant options anymore.  Also GLOB_SUBST and ${~...} do
not evaluate the substituted parameter expansions:

% foo='$bar' ; echo $~foo
$bar

instead of printing the value of bar (but ${(e)foo} can be use for that).


% foo=*

does not glob.  Use foo=( * ).

An other change is "${#foo}" gives the array length if foo is an array (use
"${(c)#foo}" to get the old behaviour).  It also caused problems that
PROMPT_SUBST now really works and expads backquote substitutions (it didn't
do that before beta17).  Also history expansion is disabled in single
quoted strings.  This may break some functions which used something like
sed '/pattern/\!d' since now the backslash is passed to sed.

There are probably many other changes I forgot (I did not use 2.5 too much
since it was too buggy, and 2.5 was the first zsh version I ever used).

Zoltan



  reply	other threads:[~1996-05-23 18:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-23 17:50 HISTCHARS Barton E. Schaefer
1996-05-23 18:32 ` Zoltan Hidvegi [this message]
1996-05-23 18:48   ` HISTCHARS Richard Coleman
1996-05-23 19:11     ` HISTCHARS Zoltan Hidvegi
1996-05-23 19:20       ` HISTCHARS Richard Coleman
1996-05-23 19:17     ` HISTCHARS Barton E. Schaefer
1996-05-23 19:36       ` HISTCHARS Zoltan Hidvegi
1996-05-23 19:43         ` HISTCHARS Barton E. Schaefer
1996-05-23 19:51           ` HISTCHARS Zoltan Hidvegi
1996-05-23 20:14           ` HISTCHARS Vinnie Shelton
1996-05-23 20:40   ` HISTCHARS Barton E. Schaefer
1996-05-23 21:00     ` HISTCHARS Zoltan Hidvegi
1996-05-24 17:51       ` HISTCHARS Bart Schaefer
1997-11-28 17:55 histchars Clint Adams
1997-11-28 19:01 ` histchars Bart Schaefer
1997-11-28 19:34   ` histchars Clint Adams
1997-11-28 22:51     ` histchars Bart Schaefer
1997-11-29 15:53       ` histchars Clint Adams
1997-11-29 18:09         ` histchars Bart Schaefer

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=199605231832.UAA04182@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=schaefer@z-code.ncd.com \
    --cc=zsh-workers@math.gatech.edu \
    /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).