Re: Readline not working anymore in interactive interpreters

2009-07-23 Thread Dave Korn
Olivier Lefevre wrote: >> From your normal bash prompt, type >> echo $CYGWIN >> >> If 'tty' is there [...] > > Actually CYGWIN is undefined. Is this as it should be? Yes, that's certainly best when running a plain win32 app from a Cygwin shell; you *definitely* don't want 'tty' set. ch

Re: Readline not working anymore in interactive interpreters

2009-07-23 Thread Olivier Lefevre
From your normal bash prompt, type echo $CYGWIN If 'tty' is there [...] Actually CYGWIN is undefined. Is this as it should be? -- O.L. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.htm

Re: Readline not working anymore in interactive interpreters

2009-07-23 Thread Olivier Lefevre
Have you tried holding down the shift keys when using the arrow key to recall previous commands? I tried that suggestion, to no avail. -- O.L. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.

Re: Readline not working anymore in interactive interpreters

2009-07-23 Thread Olivier Lefevre
But your question is how readline is not working, and yet your cygcheck shows that q is not even using readline (unless it is loading it dynamically after the fact, as if by dlsym). So you're probably asking the wrong question. OK, fair enough. I should have said "readline-like behaviour". Ha

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Christopher Faylor
On Wed, Jul 22, 2009 at 03:01:44PM +0200, Olivier Lefevre wrote: >I was hoping we would not be playing ye olde finger-pointing >game. It used to work and it no longer does yet the interpreter >has not changed. How could it not be an issue within Cygwin? > >I am not asking to take responsibility for

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Charles Wilson
Olivier Lefevre wrote: > By the way, this still works fine from cmd.com, so it > really is a Cygwin issue. This sounds suspiciously like a pty issue. Please try the following: >From your normal bash prompt, type echo $CYGWIN If 'tty' is there, then figure out why and remove it at the source

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Olivier Lefevre on 7/22/2009 7:01 AM: > I was hoping we would not be playing ye olde finger-pointing > game. It used to work and it no longer does yet the interpreter > has not changed. How could it not be an issue within Cygwin? But your

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Dave Korn
Olivier Lefevre wrote: > I was hoping we would not be playing ye olde finger-pointing > game. It used to work and it no longer does yet the interpreter > has not changed. How could it not be an issue within Cygwin? Because no Cygwin code is running in this application. Code that is not running

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Olivier Lefevre
I was hoping we would not be playing ye olde finger-pointing game. It used to work and it no longer does yet the interpreter has not changed. How could it not be an issue within Cygwin? I am not asking to take responsibility for non-Cygwin executables but to offer a hint as to what could possibly

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Olivier Lefevre
By the way, this still works fine from cmd.com, so it really is a Cygwin issue. -- O.L. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubsc

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Olivier Lefevre on 7/22/2009 6:45 AM: >> But I would be interested in seeing the output of 'cygcheck Q.exe' > > c:\Programme/Kx/q/w32/q.exe > C:\WINDOWS\system32\WS2_32.dll > C:\WINDOWS\system32\ADVAPI32.dll > C:\WINDOWS\syst

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Olivier Lefevre
But I would be interested in seeing the output of 'cygcheck Q.exe' c:\Programme/Kx/q/w32/q.exe C:\WINDOWS\system32\WS2_32.dll C:\WINDOWS\system32\ADVAPI32.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\RPCRT4.dll C:\WINDOW

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Olivier Lefevre on 7/22/2009 6:28 AM: >> That's your bash version. What are your cygwin, libreadline6 and >> libreadline7 versions? > > I have attached the output of 'cygcheck -svr' Nothing out of the ordinary jumped out at me. But you

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Olivier Lefevre
That's your bash version. What are your cygwin, libreadline6 and libreadline7 versions? I have attached the output of 'cygcheck -svr' And an example of a failing interpreter would be...? You most likely haven't heard of it: Q (available from www.kx.com) Free download but need to register.

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Olivier Lefevre on 7/22/2009 6:12 AM: > Since the last Cygwin update (I am now at 3.2.49(22)-release) That's your bash version. What are your cygwin, libreadline6 and libreadline7 versions? > readline is no longer working in some interp