1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-13 02:56:18 +02:00

18497: minor tweaks to info and tcp_spam

This commit is contained in:
Peter Stephenson 2003-05-02 10:58:52 +00:00
parent 94da86f795
commit 48d0166c1c
4 changed files with 12 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2003-05-02 Peter Stephenson <pws@csr.com>
* 18497: README, Etc/NEWS, Fuctions/TCP/tcp_spam: Tweak
info for 4.1.1; tcp_spam used incorrect syntax when verbose.
* 18492: Doc/Zsh/expn.yo, Doc/Zsh/redirect.yo, Src/exec.c,
Src/jobs.c, Src/signals.c, Src/utils.c, Src/zsh.h,
Test/A04redirect.ztst, Test/D03procsubst.ztst: Work around long

View File

@ -51,13 +51,14 @@ Line editor:
- 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 @@ Local internal improvements:
- 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

View File

@ -95,7 +95,7 @@ for TCP_SESS in $sessions; do
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

4
README
View File

@ -35,6 +35,10 @@ up for bash-style word handling:
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
-------------