public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Freeze with the letter "e"
@ 2008-07-17  2:29 jrsyangl
  2008-07-17  2:48 ` Eric Blake
  0 siblings, 1 reply; 5+ messages in thread
From: jrsyangl @ 2008-07-17  2:29 UTC (permalink / raw)
  To: cygwin; +Cc: markjreed

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. # comment lines cause no problem. If  I source 
.inputrc, the commands (echo, etc) run fine. I saw a similar problem posted 
on a ubuntu forum, but no solution. My Google and other searches have not 
been helpful. Any help would be appreciated.

Lou

Mark, I hope you do not mind that I am CCing this to you. I think cygwin 
thinks I am a spammer for some reason and has been blocking me. 



--
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Freeze with the letter "e"
  2008-07-17  2:29 Freeze with the letter "e" jrsyangl
@ 2008-07-17  2:48 ` Eric Blake
  2008-07-17  3:03   ` Christopher Faylor
  2008-07-17 20:55   ` Freeze with the letter Lou Umscheid
  0 siblings, 2 replies; 5+ messages in thread
From: Eric Blake @ 2008-07-17  2:48 UTC (permalink / raw)
  To: cygwin, jrsy.angl

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
volunteer cygwin readline maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkh+ss0ACgkQ84KuGfSFAYAPvwCgrCyuK5hnRv1+/9CTKf1R2J/a
IcQAoMFM8P80bl4cvGDJxcrQh2WJeLVu
=HCnl
-----END PGP SIGNATURE-----

--
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Freeze with the letter "e"
  2008-07-17  2:48 ` Eric Blake
@ 2008-07-17  3:03   ` Christopher Faylor
  2008-07-17  3:24     ` Christopher Faylor
  2008-07-17 20:55   ` Freeze with the letter Lou Umscheid
  1 sibling, 1 reply; 5+ messages in thread
From: Christopher Faylor @ 2008-07-17  3:03 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Freeze with the letter "e"
  2008-07-17  3:03   ` Christopher Faylor
@ 2008-07-17  3:24     ` Christopher Faylor
  0 siblings, 0 replies; 5+ messages in thread
From: Christopher Faylor @ 2008-07-17  3:24 UTC (permalink / raw)
  To: cygwin

On Wed, Jul 16, 2008 at 11:03:31PM -0400, Christopher Faylor wrote:
>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.
                                             ^
                                            other

--
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Freeze with the letter
  2008-07-17  2:48 ` Eric Blake
  2008-07-17  3:03   ` Christopher Faylor
@ 2008-07-17 20:55   ` Lou Umscheid
  1 sibling, 0 replies; 5+ messages in thread
From: Lou Umscheid @ 2008-07-17 20:55 UTC (permalink / raw)
  To: cygwin

Eric Blake <ebb9 <at> byu.net> writes:


> 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.
> 
> --
> Don't work too hard, make some time for fun as well!
> 
> Eric Blake             ebb9 <at> byu.net
> volunteer cygwin readline maintainer

Thank you for the solution. Of course now I feel silly for what I did. I've 
been away from *nix for over 10 years, so I guess that makes me an old-newbie. 
On to the next problem.
Lou



--
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-17 20:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-17  2:29 Freeze with the letter "e" jrsyangl
2008-07-17  2:48 ` Eric Blake
2008-07-17  3:03   ` Christopher Faylor
2008-07-17  3:24     ` Christopher Faylor
2008-07-17 20:55   ` Freeze with the letter Lou Umscheid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).