22065: starts with "--".

This commit is contained in:
Clint Adams 2005-12-09 19:04:26 +00:00
parent 405fd07656
commit b9262b0cbb
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-12-09 Clint Adams <clint@zsh.org>
* 22065: Functions/TCP/tcp_read: cope with TCP output that
starts with "--".
2005-12-09 Peter Stephenson <pws@csr.com>
* 22058: NEWS, Doc/Zsh/roadmap.yo: tweak docs for release.

View file

@ -216,7 +216,7 @@ while (( ${#read_fds} )); do
fi
tcp_output -P "${TCP_PROMPT=<-[%s] }" -S $sess -F $read_fd \
$noprint "$line"
$noprint -- "$line"
# REPLY is now set to the line with an appropriate prompt.
tcp_lines+=($REPLY)
typeset -g TCP_LINE="$REPLY" TCP_LINE_FD="$read_fd"