[BusyBox 0000378]: ASH's read bug
bugs at busybox.net
bugs at busybox.net
Wed Sep 7 17:00:34 UTC 2005
The following issue has been set as DUPLICATE OF issue 0000242.
======================================================================
http://busybox.net/bugs/view.php?id=378
======================================================================
Reported By: swrh
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 378
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 08-11-2005 18:52 PDT
Last Modified: 09-07-2005 10:00 PDT
======================================================================
Summary: ASH's read bug
Description:
There is some bugs in ASH's read. I've fixed those that I found and added a
new feature. Here they are:
- Timeout:
- The timeout option counts only the first char: it will stop counting
the time after you press the first key;
- When the timeout option is used, the first char cannot be erased and
is handled wrongly if it is a backslash and/or with IFS environment
variable;
- Some special characters, when in the first field, cannot be shown or
are treated wrong;
- The exit code is wrong and the environment variable is empty when
the timeout is expired;
- Silent:
- I added a `silent' feature: when the -s argument is provided, the
characters are not echoed;
The comparisons made here was using `bash' and `zsh'. The patch is
attached.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
duplicate of 0000242 ash: read -t broken
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
08-11-05 18:52 swrh New Issue
08-11-05 18:52 swrh Status new => assigned
08-11-05 18:52 swrh Assigned To => BusyBox
08-11-05 18:52 swrh File Added: ash-read.patch
08-13-05 11:04 swth Issue Monitored: swth
09-07-05 10:00 pgf Relationship added duplicate of 0000242
======================================================================
More information about the busybox-cvs
mailing list