bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What exactly does "read -e" do? bind weirdnesses


From: Chet Ramey
Subject: Re: What exactly does "read -e" do? bind weirdnesses
Date: Thu, 11 Sep 2008 14:58:44 -0400

> You are correct, here is no problem in bash-4.0 alpha. My apologies.
> 
> An error message when bind is used and line editing is not enabled would
> help.
> 
> Alas, I suspect many will not try to use bind but still use "read" or
> perhaps a set +o emacs and subsequently expecting some of default key
> bindings which no longer are in effect. I threw in the bind command just to
> try to help me see what was going on.

Bash will call the appropriate readline initialization hooks in the `read'
and `set' builtin code paths.  It's just the bind invocation that will fail
if line editing isn't active.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    address@hidden    http://tiswww.tis.case.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]