Antonio Macchi wrote:
> using ^V to pass an ascii character to read, the behavior is incoherent
> beetween simple read, and read -nx
When using the -n option, bash puts the terminal into character-at-a-time
non-canonical mode, which disables the tty special characters. When
using read without that option, the terminal stays in canonical mode and
does erase, kill, and literal-next processing.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/