Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: tidy up for test-2



Peter Stephenson wrote:
> Peter Stephenson wrote:
> > > # Following two tests have to be separated since in
> > > #   print bar >foo >bar && print "$(<foo) $(<bar)"
> > > # the multios aren't flushed until after the substitutions take
> > > # place.  This can't be right.
> > 
> > I can partially fix this by storing a list of auxiliary processes
> > for which the job should wait.

This is now committed with some typos in the documentation fixed.

Here are some minor things I've been collecting but haven't bothered to
post separately.

I will make a test-2 either today or next week (but not Monday which is
a bank holiday).

Index: README
===================================================================
RCS file: /cvsroot/zsh/zsh/README,v
retrieving revision 1.10
diff -u -r1.10 README
--- README	4 Apr 2003 13:22:57 -0000	1.10
+++ README	2 May 2003 10:26:36 -0000
@@ -35,6 +35,10 @@
   autoload -U select-word-style
   select-word-style bash
 
+The `=prog' facility for expanding command paths (provided the EQUALS
+option is enabled, as it is by default) no longer expands aliases.  It was
+felt this feature was underused and confusing.
+
 Documentation
 -------------
 
Index: Etc/NEWS
===================================================================
RCS file: /cvsroot/zsh/zsh/Etc/NEWS,v
retrieving revision 1.9
diff -u -r1.9 NEWS
--- Etc/NEWS	4 Apr 2003 14:20:17 -0000	1.9
+++ Etc/NEWS	2 May 2003 10:26:36 -0000
@@ -51,13 +51,14 @@
 - supplied highly configurable word widgets forward-word-match etc., can
   set what constitutes a word interactively or in startup script
   (implement bash-style behaviour, replacing previous bash-* word widgets)
-- interface to increment search via $LASTSEARCH
+- interface to incremental search via $LASTSEARCH
 - better handling of keymaps in zle and widgets
 - better support for output from user-defined widgets while zle is active
 - tetris game which runs entirely in zle
 
 Local internal improvements:
 - disowned jobs are automatically restarted
+- \u and \U print escapes for Unicode
 - line numbers in error messages and $PS4 output are more consistent
 - `=prog' expands only paths, no longer aliases for consistency
 - job display in prompts; `jobs' command output can be piped
@@ -65,7 +66,7 @@
 - rand48() function for better randomness in arithmetic
   (if the corresponding math library function is present)
 - $SECONDS parameter can be made floating point via `typeset -F SECONDS'
-  for better accuracy
+  for better timing accuracy
 - improvements to command line history mechanism
 - many bugfixes
 
Index: Functions/TCP/tcp_spam
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/TCP/tcp_spam,v
retrieving revision 1.3
diff -u -r1.3 tcp_spam
--- Functions/TCP/tcp_spam	3 Apr 2003 10:24:55 -0000	1.3
+++ Functions/TCP/tcp_spam	2 May 2003 10:26:36 -0000
@@ -95,7 +95,7 @@
     tcp_on_spam $TCP_SESS $cmd $*
     [[ $REPLY = done ]] && continue
   fi
-  [[ -n $verbose ]] && zformat REPLY $TCP_PROMPT "s:$TCP_SESS" \
-    "f:${tcp_by_name[$TCP_SESS]}"
+  [[ -n $verbose ]] && zformat -f REPLY $TCP_PROMPT "s:$TCP_SESS" \
+    "f:${tcp_by_name[$TCP_SESS]}" && print -r $REPLY
   eval $cmd '$*'
 done

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author