Mail Archives: cygwin/2008/07/16/23:03:55
On Wed, Jul 16, 2008 at 08:47:41PM -0600, Eric Blake wrote:
>According to jrsyangl on 7/16/2008 8:29 PM:
>>I have not been able to post to the list for some reason so I hope this
>>gets through. The problem does not seem to be simply one having to do
>>with CRLF, or the letter e. The problem occurs even after using
>>dos2unix. The problem occurs when the editing is done with SciTe (with
>>LF returns) and with vim. If an echo command is inserted in .inputrc,
>>the problem is with the letter e; for date, the letter d; and for pwd
>>the letter p. I have not run through the rest of the alphabet.
>
>And there's your problem. That is not the proper syntax for a .inputrc
>file (it is NOT for shell commands, but for readline commands, which
>have an entirely different syntax). Read 'man readline'. By starting
>a line with 'echo', you tried to define a macro for the key 'e',
>explaining why 'e' did nothing for you.
Yep. That's the other common problem with .inputrc. CRLF line endings
are the most common reason for this behavior but the misinterpretation
of what is supposed to be in .inputrc is the common reason. You don't
put shell commands in .inputrc. That's not what it is for.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -