On 6/20/14, 7:12 PM, Scott Bertilson wrote:
> Seems to me that the terminal mode adjustment applied when meta_flag is
> non-zero ought to also determine whether the escape sequence is sent.
>
> Wondering if it makes sense for readline not to send out the meta_on escape
> sequence if rl_prep_terminal is called with a meta_flag of 0 since that
> disables the terminal mode adjustments for 8 bit input.
They're both user-controlled settings, though they default differently.
I think it's fine to leave them under the user's control. Most systems
default to stty -istrip cs8, which means that the terminal gets eight
bits regardless of the state of input-meta anyway. This means that the
enable-meta-key default is usually correct.
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/
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline