zsh-users
 help / color / mirror / code / Atom feed
* zsh 5.1 released [user]
@ 2015-08-30 19:13 Peter Stephenson
  2015-09-04 16:02 ` can we detect the closing of a terminal? Ray Andrews
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Peter Stephenson @ 2015-08-30 19:13 UTC (permalink / raw)
  To: Zsh Users

[You may or may not also get this from zsh-announce@zsh.org, but this is
likely to arrive more quickly in any case so I thought I'd send it here.  Do
not ingest your SATS.]

Version 5.1 of zsh has been released and is available from

http://www.zsh.org/pub/

and will be uploaded to Sourceforge.

Note that in addition to the tar.gz files (for people who like
traditional compression schemes) there are also tar.xz rather than
tar.bz2 files (for people how like the latest compression scheme).
The latter are uncompressed with "tar xJf", rather than "tar xjf".

This is an upgrade from 5.0.8.  A two-digit release number has been
picked as a simplification: it does not imply that this version is
substantially different from the previous release.

There are a couple of interesting enhancements.  In particular, there is
now support for genuine assignment syntax after keywords such as "local"
and "typeset"

Also, text pased within X terminals is safer as it appears as characters
rather than raw input (so in particular you need to hit Return to
execute it).  Note that slight tweaks to this may occur in future
versions, though the general scheme is likely to remain the default.

See the README and NEWS files for more.

There are also many bug fixes, notably better protection against race
conditions in interrupts (typically, but not necessarily, those
resulting from exiting child processes), as well as enhancments to
completion functions.

Thank you to the many people who have contributed or otherwise helped.

Please report problems to zsh-workers@zsh.org.

-- 
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/


^ permalink raw reply	[flat|nested] 19+ messages in thread
* syntax question
@ 2018-03-21 23:15 Ray Andrews
  2018-03-22  1:30 ` Bart Schaefer
  0 siblings, 1 reply; 19+ messages in thread
From: Ray Andrews @ 2018-03-21 23:15 UTC (permalink / raw)
  To: zsh Users

${${(z)string}[1]}

... that does what I expect, and it's readable, however I'm curious why 
this does not say the same thing:

${(z)string[1]}

... How can that mean anything different?  It seems to just sorta get to 
the point more quickly and given the " (z) " it seem unintuitive that it 
would only print the first character just as:

${string[1]}

... does.  So in the second line the " (z) " seems to do nothing.  I'd 
expect the first two lines to be semantically the same and the third 
line to be a single character.  Is this explainable?  I know it's a 
nit-pick but I'd like to understand it.



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2018-03-23 16:52 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-30 19:13 zsh 5.1 released [user] Peter Stephenson
2015-09-04 16:02 ` can we detect the closing of a terminal? Ray Andrews
2015-09-04 17:09   ` ZyX
2015-09-04 21:37   ` Kurtis Rader
2015-09-05  3:07     ` Ray Andrews
2015-09-05  4:31       ` Kurtis Rader
2015-09-05 14:27         ` Ray Andrews
2015-09-06 16:43 ` zsh 5.1 released [user] Ray Andrews
2015-09-06 16:55   ` Axel Beckert
2015-09-06 16:57     ` Axel Beckert
2015-09-06 17:13       ` Ray Andrews
2015-09-06 19:37         ` Axel Beckert
2015-09-06 19:58           ` Ray Andrews
2015-09-08  1:55             ` Ray Andrews
2015-09-06 17:08     ` Ray Andrews
2015-09-06 16:50 ` syntax question Ray Andrews
2018-03-21 23:15 Ray Andrews
2018-03-22  1:30 ` Bart Schaefer
2018-03-23 16:44   ` Sebastian Gniazdowski

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).