Re: progamming with Cygwin GNU Readline Library

2002-01-13 Thread Charles Wilson
Hiroo Hayashi wrote: > Charles, > > Thank you for your prompt reply. I've found my bug by your hint. > > Charles> Yes, that is correct. I am surprised that it isn't working > Charles> for you. I got the correct results -- but I was running in > Charles> an rxvt window. Are you running in a

Re: progamming with Cygwin GNU Readline Library

2002-01-13 Thread Hiroo Hayashi
Charles, Thank you for your prompt reply. I've found my bug by your hint. Charles> Yes, that is correct. I am surprised that it isn't working Charles> for you. I got the correct results -- but I was running in Charles> an rxvt window. Are you running in a command.com window or Charles> somet

Re: progamming with Cygwin GNU Readline Library

2002-01-13 Thread Charles Wilson
Yes, that is correct. I am surprised that it isn't working for you. I got the correct results -- but I was running in an rxvt window. Are you running in a command.com window or something? (BTW, rl_set_screen_size doesn't seem to actually CHANGE the physical size of my rxvt window -- should i

Re: progamming with Cygwin GNU Readline Library

2002-01-13 Thread Hiroo Hayashi
Charles, Charles> Try the readline-4.2a-1 package (along with libreadline5) which were Charles> just announced. With that package, your bug.c program returns the Charles> correct results... I've tried, but still have same wrong result. I installed on the next step; 1st setup

Re: progamming with Cygwin GNU Readline Library

2002-01-12 Thread Charles Wilson
Charles Wilson wrote: > Hiroo Hayashi wrote: > >> Charles> 'gcc -static' + -DREADLINE_STATIC >> >> Your answer solved my problems. Thank you very much. >> >> Charles> Or wait for the next release of cygwin readline, which should >> Charles> make all of these problems go away. >> >> Do you have

Re: progamming with Cygwin GNU Readline Library

2002-01-08 Thread Charles Wilson
Hiroo Hayashi wrote: > I don't have have the source code of Cygwin Readline Library. Use setup.exe to download the source, if you want to. However, none of my patches should have affected that function... > I took > a look on the official GNU sources. rl_set_screen_size and > rl_get_scree

Re: progamming with Cygwin GNU Readline Library

2002-01-08 Thread Hiroo Hayashi
Charles, Charles> Thanks for the test case. I'll look into it -- but I suspect Charles> it has already been fixed in the official GNU sources (4.2a). Charles> The next cygwin release will be based on that. When you Charles> tested bug.c on linux, what version of readline were you Charles> using?

Re: progamming with Cygwin GNU Readline Library

2002-01-08 Thread Charles Wilson
Hiroo Hayashi wrote: > Charles> 'gcc -static' + -DREADLINE_STATIC > > Your answer solved my problems. Thank you very much. > > Charles> Or wait for the next release of cygwin readline, which should > Charles> make all of these problems go away. > > Do you have a rough estimatation when will i

Re: progamming with Cygwin GNU Readline Library

2002-01-07 Thread Hiroo Hayashi
Charles, Charles> Please don't send cygwin related questions to me personal. Charles> This belongs on the cygwin list. I have copied the list and Charles> reset the Reply-To: appropriately. Sorry. I'm not sure I could post cygwin list or not. But I should try it. Charles> 'gcc -static' + -DRE

Re: progamming with Cygwin GNU Readline Library

2002-01-06 Thread Robert Collins
- Original Message - From: "Charles Wilson" <[EMAIL PROTECTED]> > > Yep, this is a windows DLL problem. You can't use the address of an > imported variable as a static initializer, because it isn't constant. > It will depend on where the DLL is loaded into memory at each runtime. > (I'm p

Re: progamming with Cygwin GNU Readline Library

2002-01-06 Thread Charles Wilson
Please don't send cygwin related questions to me personal. This belongs on the cygwin list. I have copied the list and reset the Reply-To: appropriately. Hiroo Hayashi wrote: > Dear Charles Wilson, > > I'm maintaining a perl module Term::Readline::Gnu. It is a wrapper > module of GNU Readli