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

"read" broken in 2.6-beta21?



This has been affecting me recently; I just tracked it down to the
following:

The "read" command in zsh2.6-beta21 behaves strangely when the input
exceeds 63 characters; the remaining characters in the line are
truncated.  For example :

$ read x
1234567890123456789012345678901234567890123456789012345678901234567890
$ echo $x
123456789012345678901234567890123456789012345678901234567890123
$

I don't *think* this affected previous versions of zsh.  If a static
buffer is being used for "read", might I suggest that it be increased in
size to something greater than 64 bytes?

(Apologies if this has been pointed out already; I don't subscribe to
zsh-workers any more so I'm not up to speed on the current discussion.
Please e-mail me with comments.)

           Colm

-- 
Colm Buckley B.F. | EMail : Colm.Buckley@xxxxxx or colm@xxxxxxxxxx
Computer Science  | WWW   : http://isg.cs.tcd.ie/cbuckley/
Trinity College   | Phone : +353 87 469146 (087-469146 within Ireland)
Dublin 2, Ireland | "Microsoft : Where do you want to crash today?"




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