Re: Is it possible to directly call a function in a dlopen library

2006-12-22 Thread Brian Dessent
andy wang wrote: > So maybe it is possible on Linux? I asked this question because I find > this kind of logic in asterisk! the main program will load the .so > using dlopen. i.e. module1.so and module2.so, and I notice that > module2.so will call directly (without dlsym, just func1( ... ) which >

Re: Is it possible to directly call a function in a dlopen library

2006-12-22 Thread andy wang
Hi, Brain: Your answer is always the guide. Thanks a lot! So maybe it is possible on Linux? I asked this question because I find this kind of logic in asterisk! the main program will load the .so using dlopen. i.e. module1.so and module2.so, and I notice that module2.so will call directly (witho

Re: Is it possible to directly call a function in a dlopen library

2006-12-22 Thread Brian Dessent
andy wang wrote: > On the module2.dll, I just want to directly call myfunc1 without using > dlsym(), is that possible? I was just wondering that I just dlopen > module1 and module2, then directly call the function without dlsym(). > I know that it is not a strictly cygwin-related question :-) It

Re: Is it possible to directly call a function in a dlopen library

2006-12-22 Thread andy wang
Hi, Larry, Thanks for the reply. > i.e. > module1.dll > { > int myfunc1() { do something; } > } > > module2.dll > { > int myfunc2() { myfunc1(); do other things;} > } > > main.exe > { > dlopen("module1.dll") > dlopen("module2.dll") > some tricky and mystery procedure. > myfunc2(); /

rsyncd prevents computer to enter Standby mode on XP

2006-12-22 Thread H.S.
Hello, I am running Cygwin on a machine running Windows XP Pro. I have noticed that if rsync service is running, the laptop does not go into standby mode. If I set the timeout for the machine to enter standby mode to 1 min, then all is fine. But anything larger than this does not work. Seems

Re: "more" equivalent in cygwin?

2006-12-22 Thread Larry Hall (Cygwin)
Igor Peshansky wrote: On Fri, 22 Dec 2006, Steven Buroff wrote: Apparently there is no "more" command in cygwin. Is there some other command that does the same job? Thanks. Yes. That would be the "more" command from the "util-linux" package, as shown by

Re: "more" equivalent in cygwin?

2006-12-22 Thread Igor Peshansky
On Fri, 22 Dec 2006, Steven Buroff wrote: > Apparently there is no "more" command in cygwin. Is there some other > command that does the same job? Thanks. Yes. That would be the "more" command from the "util-linux" package, as shown by

"more" equivalent in cygwin?

2006-12-22 Thread Steven Buroff
Apparently there is no "more" command in cygwin. Is there some other command that does the same job? Thanks. Steve -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: Need some help on a thread issue - is it application problem or cygthread or my installation

2006-12-22 Thread Brian Keener
Brian Keener wrote: > Loaded symbols for /cygdrive/c/WINDOWS/system32/dciman32.dll > Loaded symbols for /usr/local/bin/cygOpenThreads.dll > 4 [sig] osgversion 300 open_stackdumpfile: Dumping stack trace to > osgversi > on.exe.stackdump > 989547 [sig] osgversion 300 C:\cygwin\usr\local\b

Re: Is it possible to directly call a function in a dlopen library

2006-12-22 Thread Larry Hall (Cygwin)
andy wang wrote: Hi, All: Is it possible in cygwin to call a function in a dlopen library? i.e. module1.dll { int myfunc1() { do something; } } module2.dll { int myfunc2() { myfunc1(); do other things;} } main.exe { dlopen("module1.dll") dlopen("module2.dll") some tricky and mystery

RE: Newbie question - bad terminal configuration

2006-12-22 Thread Steven Buroff
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent > Sent: Thursday, December 21, 2006 5:41 PM > To: cygwin@cygwin.com > Subject: Re: Newbie question - bad terminal configuration > > Steven Buroff wrote: > > > $ echo $TERM > > nutc >