[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: read + ^V
From: |
Chet Ramey |
Subject: |
Re: read + ^V |
Date: |
Wed, 11 Nov 2009 22:27:31 -0500 |
User-agent: |
Thunderbird 2.0.0.23 (Macintosh/20090812) |
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 chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- read + ^V, Antonio Macchi, 2009/11/11
- Re: read + ^V,
Chet Ramey <=