DLLs that can be used with MS C++

2002-02-20 Thread Miodrag Dimitrijevic
Hello, I managed to make an dll under cygwin and link it with a program, but everything works only within Cygwin. Is it possible to make a dll and .lib file which can be used under pure windows (e.g. to make .dll and .lib and link them to MS VC++ application)? Thanks in advance. Regards, Miodra

Re: How to create a windows link in script?

2002-02-20 Thread Robert Collins
=== - Original Message - From: "Joshua Franklin" <[EMAIL PROTECTED]> > I've written a program that does just this. It's a > fully scriptable and can set icons. I'm > hoping to get it included in cygwin sometime, but > I'm waiting until the new setup.exe comes out to > bother developer

undefined reference to `__gxx_personality_sj0'

2002-02-20 Thread Dan Kyhl
Hi, I get a lot of these (and some others) and suppose that I'm missing a library. I'm already using -lc -lstdc++ as is used in Linux. So what am I missing here? Dan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documen

Inquiry

2002-02-20 Thread unni
Hello, I represent Enventure Technologies, a leading IT solutions company. I am trying to get in touch with your Chief Technical Officer (CTO), to discuss a business proposal. Can you please send me the CTO's e-mail address, so that I can e-mail a detailed proposal? Best regards, Unni [EMAI

[ANNOUNCEMENT] Updated: tcsh-6.11.00-4

2002-02-20 Thread Corinna Vinschen
I've updated the version of tcsh to 6.11.00-4. This version has a changed /etc/csh.cshrc file only: - If it finds $HOME/.cshrc or $HOME/.tcshrc, it will skip the default settings for interactive shells. - Evaluation of $HOME is quoted to allow spaces in $HOME. - 'set noglob' eliminated from

[ANNOUNCEMENT] Updated: bash-2.05a-3

2002-02-20 Thread Corinna Vinschen
I've updated the version of bash in cygwin/latest to 2.05a-3. This version fixes a serious problem with completion. To update your installation, click on the "Install Cygwin now" link on the http://sources.redhat.com/cygwin web page. This downloads setup.exe to your system. The, run setup an

RE: DLLs that can be used with MS C++

2002-02-20 Thread Stephano Mariani
Have you built all objects using -mno-cygwin? Stephano Mariani > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Miodrag Dimitrijevic > Sent: Wednesday, 20 February 2002 9 30 > To: [EMAIL PROTECTED] > Subject: DLLs that can be used with MS C++ > > He

[Patch] added sh-utils/dirname backslash support

2002-02-20 Thread Ralf Habacker
Hi all, the current dirname tool does not support backslash support. This patch fixes this. Regards Ralf Habacker dirname.patch Description: Binary data dirname.ChangeLog Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: h

Re: recvfrom and timeout signal

2002-02-20 Thread Corinna Vinschen
On Tue, Feb 19, 2002 at 10:28:02PM +0100, Piotr St?pie? wrote: > Hi All, > > I try to implement timeout for recvfrom: > > struct sigaction action; > action.sa_handler = alarm_signal; > action.sa_flags = 0; > sigemptyset(&(action.sa_mask)); /* ignore all known sig

1.3.9: running lynx gives error about cygintl.dll not found

2002-02-20 Thread Ernie Soffronoff
I'm only an occasional user, so I hope this isn't a user-training issue vs. a real bug, but here goes... If I try to run lynx, I get a box (looks like it's from Windows) saying: lynx.exe - unable to local component This application has failed to start because cygintl.dll was not found. Re-instal

Re: 1.3.9: running lynx gives error about cygintl.dll not found

2002-02-20 Thread Larry Hall (RFK Partners, Inc)
At 09:30 AM 2/20/2002, Ernie Soffronoff wrote: >I reinstalled (reran setup, set everything to reinstall) but it still >didn't find it. Looking at cygcheck's output, it looks like the DLL is >really there. Is there a more aggressive version of reinstalling that I >should try? If it's really there

RE: Using windows graphics routines from cygwin

2002-02-20 Thread Paul Dilip K NPRI
    I am trying to use windows library specifically graphics library for plotting from my cygwin program. I need to use windows routines like: GETWINDOWCONFIG, DFLIB, SETCOLORRGB, $GCLEARSCREEN. I have a folder wich is called visual. How to go about linking the required windows

Re: DLLs that can be used with MS C++

2002-02-20 Thread Warren Young
Stephano Mariani wrote: > > Have you built all objects using -mno-cygwin? Also, you can't do a C++ DLL -- only C or some other "unmangled" language. And you might have to build the import library with MS tools. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:

Re: [Patch] added sh-utils/dirname backslash support

2002-02-20 Thread Christopher Faylor
On Wed, Feb 20, 2002 at 02:21:33PM +0100, Ralf Habacker wrote: >Hi all, > >the current dirname tool does not support backslash support. This patch fixes this. As I've previously stated, I don't want to maintain a fork of GNU tools unless it is absolutely necessary. Scanning the groups at http:/

Re: DLLs that can be used with MS C++

2002-02-20 Thread Larry Hall (RFK Partners, Inc)
At 10:39 AM 2/20/2002, Warren Young wrote: >And you might have to build the import library with MS tools. Not unless there's a bug in the current stuff. If anyone finds that they need to build an import library using MS tools to get things working, please send the bug report here with details.

RE: recvfrom and timeout signal

2002-02-20 Thread Piotr Stepien
I use tho most recent 1.3.9. You are probably using another version of Windows. I did several tests and discovered different action depending on Windows version: Win 95/98/ME- fails (signal never received) Win NT4 - OK (signal is serviced) Is it bug in Cygwin or bug/misconfiguration of Wind

Re: recvfrom and timeout signal

2002-02-20 Thread Corinna Vinschen
On Wed, Feb 20, 2002 at 04:48:42PM +0100, Piotr Stepien wrote: > I use tho most recent 1.3.9. You are probably using another > version of Windows. I did several tests and discovered different > action depending on Windows version: > > Win 95/98/ME - fails (signal never received) Does it fail o

Re: [BUG] Patch.exe problem report

2002-02-20 Thread Corinna Vinschen
On Thu, Feb 14, 2002 at 01:46:16PM +0100, Pierre Muller wrote: > > > I already mentioned the following bug some time ago, > but I now took the time to identify the problem. > [...] I've just uploaded a new version of patch to cygwin.com. It should arrive on the mirrors at least tomorrow. It no

RE: [ANNOUNCEMENT] Updated: ghostscript-6.51-3

2002-02-20 Thread Peter Ring
Please forgive a silly question. I've rebuild the previous release (ghostscript-6.51-1) with X support (mainly for use with xdvik in order to view dvi's with postscript illustrations). While this were not a major hassle (just patch src/unix-gcc.mak a little, don't forget to set XLIBS=Xt SM ICE

regtool doesn't support REG_BINARY?

2002-02-20 Thread Robert Mecklenburg
I'm trying to use the regtool to swap caps-lock and control using this incantation: regtool -m set \ "machine\SYSTEM\CurrentControlSet\Control\Keyboard Layout\Scancode Map" \ 00 00 00 00 00 00 00 00 03 00 00 00 1d 00 3a 00 3a 00 1d 00 00 00 00 00 Unfortunately this produces a value of type

Re: 1.3.9: running lynx gives error about cygintl.dll not found

2002-02-20 Thread Hack Kampbjørn
Ernie Soffronoff wrote: > > I'm only an occasional user, so I hope this isn't a user-training issue > vs. a real bug, but here goes... > > If I try to run lynx, I get a box (looks like it's from Windows) saying: > > lynx.exe - unable to local component > This application has failed to start bec

Make 3.79.1 - dependency checking & previous versions

2002-02-20 Thread John Segrave \(x3254\)
We've recently moved to GNU Make 3.79.1 (from 3.77) on Windows NT and have noticed that on a large project there is a noticeable drop in speed during the automatic dependency checking which is done at the beginning of a build. Our dependency checking is done in a standard enough way (a .d file fo

Re: Make 3.79.1 - dependency checking & previous versions

2002-02-20 Thread Larry Hall (RFK Partners, Inc)
At 12:39 PM 2/20/2002, John Segrave \(x3254\) wrote: >We've recently moved to GNU Make 3.79.1 (from 3.77) on Windows NT and >have noticed that on a large project there is a noticeable drop in speed >during the automatic dependency checking which is done at the beginning >of a build. > >Our depende

Re: 1.3.9: running lynx gives error about cygintl.dll not found

2002-02-20 Thread Charles Wilson
I've uploaded the following setup.hint to sources... category Web requires cygwin libintl libncurses5 openssl zlib sdesc "Text-mode WWW Browser" ldesc "Lynx is a terminal based WWW browser. While it does not make any attempt at displaying graphics, it has good support for HTML text formatting, f

Re: [ANNOUNCEMENT] Updated: ghostscript-6.51-3

2002-02-20 Thread Charles Wilson
Peter Ring wrote: > Please forgive a silly question. > > I've rebuild the previous release (ghostscript-6.51-1) with X support > (mainly for use with xdvik in order to view dvi's with postscript > illustrations). > > While this were not a major hassle (just patch src/unix-gcc.mak a little, >

Re: [BUG] Patch.exe problem report

2002-02-20 Thread Charles Wilson
Corinna Vinschen wrote: > On Thu, Feb 14, 2002 at 01:46:16PM +0100, Pierre Muller wrote: > >> >>I already mentioned the following bug some time ago, >>but I now took the time to identify the problem. >>[...] >> > > I've just uploaded a new version of patch to cygwin.com. > It should arrive on t

Getting all "man" pages?

2002-02-20 Thread Alan Huang
Dear all, May I ask that how do I obtain most other "man" pages that exist in Linux but not in Cygwin when you install Cygwin? I'm especially looking for "man" documents for most C functions. eg. gethostbyname() I'm sorry that I might be asking stupid, newbie questions, but I really couldn't

Re: [BUG] Patch.exe problem report

2002-02-20 Thread Christopher Faylor
On Wed, Feb 20, 2002 at 02:27:00PM -0500, Charles Wilson wrote: >>It now opens the source file in O_TEXT mode and writes >>it in O_BINARY so that the destination file is always >>written out with UNIX LFs. > >Ummm...is that really a good idea? patch will now autoconvert every >"dosmode" file to

Re: Getting all "man" pages?

2002-02-20 Thread Larry Hall (RFK Partners, Inc)
At 02:33 PM 2/20/2002, Alan Huang wrote: >Dear all, > May I ask that how do I obtain most other "man" pages that exist in >Linux but not in Cygwin when you install Cygwin? I'm especially looking for >"man" documents for most C functions. eg. gethostbyname() I'm sorry that I >might be asking s

Re: [ANNOUNCEMENT] Updated: ghostscript-6.51-3

2002-02-20 Thread Dario Alcocer
> "Peter" == Peter Ring <[EMAIL PROTECTED]> writes: Peter> Please forgive a silly question. Peter> I've rebuild the previous release (ghostscript-6.51-1) with Peter> X support (mainly for use with xdvik in order to view dvi's Peter> with postscript illustrations). Peter>

Re: /usr/bin/env - Incorrect parsing of #! line?

2002-02-20 Thread Peter J. Acklam
"Chris January" <[EMAIL PROTECTED]> wrote: > Peter J. Acklam wrote: > > > [...] on Cygwin I get > > > > /usr/bin/env: perl -w: No such file or directory > > > > why does Cygwin look for the file "perl -w". No UNIX I have > > worked on would parse the shebang line that way. > > Linux parses t

Re: /usr/bin/env - Incorrect parsing of #! line?

2002-02-20 Thread Peter J. Acklam
Charles Wilson <[EMAIL PROTECTED]> wrote: > Peter J. Acklam wrote: > > > Christopher Faylor <[EMAIL PROTECTED]> wrote: > > > > > Peter J. Acklam wrote: > > > > > > > [...] > > > > why does Cygwin look for the file "perl -w". No UNIX I > > > > have worked on would parse the shebang line that w

Re: /usr/bin/env - Incorrect parsing of #! line?

2002-02-20 Thread Larry Hall (RFK Partners, Inc)
At 03:35 PM 2/20/2002, Peter J. Acklam wrote: >Christopher Faylor <[EMAIL PROTECTED]> wrote: > > > If it works the same way on linux and on cygwin, then there is > > nothing to fix. > >Ok. But where is this documented? > >I expected "#!/usr/bin/env perl -w" to work because I thought the >line wou

Re: /usr/bin/env - Incorrect parsing of #! line?

2002-02-20 Thread Peter J. Acklam
Christopher Faylor <[EMAIL PROTECTED]> wrote: > If it works the same way on linux and on cygwin, then there is > nothing to fix. Ok. But where is this documented? I expected "#!/usr/bin/env perl -w" to work because I thought the line would be interpreted as on the command line (shell) and as i

how do i simulate a null character from the keyboard?

2002-02-20 Thread Ethan Mallove
how do i simulate a null character from the keyboard within an a.exe? why is ctrl-d a logout command instead of NULL? -ethan __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- Unsubscribe info:

Re: how do i simulate a null character from the keyboard?

2002-02-20 Thread Larry Hall (RFK Partners, Inc)
At 04:37 PM 2/20/2002, Ethan Mallove wrote: >how do i simulate a null character from the keyboard >within an a.exe? Sorry I don't know. To be honest I don't understand enough about what you're asking to even guess at a possible solution. >why is ctrl-d a logout command >instead of NULL?

Re: how do i simulate a null character from the keyboard?

2002-02-20 Thread James Garrison
Ctrl-space seems to work. Try od -xc and then press Ctrl-space a few times, followed by some characters, ENTER and Ctrl-D. Here's what happens when I enter the characters a a Ctrl-space Ctrl-space Ctrl-space Ctrl-space z ^D $ od -xc aaz 000 6161 0a7a a a \0

BSD Style ping for Cygwin

2002-02-20 Thread Majid Ansari
Is the UNIX style ping available for Cygwin ? I am looking for a ping with a feature to specify source address on windows ... please let me know if any other tool doing that on windows. Rgds AMS _ Do You Yahoo!? Get your free @yahoo.com

Re: Getting all "man" pages?

2002-02-20 Thread Brett Porter
Is there any reason this isn't part of the cygwin distro.? I would have thought they went along with libc, etc. I can think of a couple of reasons: size, extra maintenance time. Both fair enough. But I wonder if it isn't a hassle if it might be a good idea. I remember back to my DJGPP days where

Re: how do i simulate a null character from the keyboard?

2002-02-20 Thread Randall R Schulz
Larry, Ethan, It's not quite that simple. CTRL-D is the (default) end-of-file generating character (more on what that means later). By a very long-standing convention in Unix that predates the existence of _any_ "visual" mode programs like Vi / Vim or (non-GUI) Emacs, an end-of-file causes vi

Re: Getting all "man" pages?

2002-02-20 Thread Larry Hall (RFK Partners, Inc)
It's mostly resource I'd say. Keep in mind however that Cygwin has it's own C runtime and there's not necessarily a 1-to-1 mapping of C runtime functions in Cygwin to man pages that come with libc, etc. Still, if you're interesting in contributing a package which contains any or all of the "miss

Re: Creating a local mirror for setup.exe

2002-02-20 Thread Earnie Boyd
Wrong list! CCed [EMAIL PROTECTED] "Gerald S. Williams" wrote: > > We've been creating a local Cygwin package "mirror" by > downloading to a networked directory and installing from > there. This seems to work, but you have to be careful to > prevent setup.exe from getting confused. > > But now

Question about writing reports

2002-02-20 Thread Jonathan Hayward
I posted an apparent bug report about gcc/Cygwin 1.3.9 aborting on function prototypes that worked flawlessly under gcc/RH. I tried to write a descriptive statement and included cygcheck output. It was posted about a week ago, and I haven't seen a reply yet. Is there further information I can post

RE: Updated: bash-2.05a-3

2002-02-20 Thread Alejandro Allievi
Hi, After this install, vi editor does work. Insert using i types the string of characters on the same spot on the screen. Any known reasons? Thanks Alejandro Allievi >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]]On Behalf Of Corinna Vinschen >Sent: Wednesday, Fe

sshd makeing noisy shells

2002-02-20 Thread Lucas Smith
i have gotten sshd running as a service on a win2k box, with RSA authentication. however i have run into two problems. 1) i had to let sshd log itself in on the win2k using my normal user acount to that the RSA authentication would work. why is this? is there a more elegent work around? (like

Re: /usr/bin/env - Incorrect parsing of #! line?

2002-02-20 Thread Christopher Faylor
On Wed, Feb 20, 2002 at 09:35:16PM +0100, Peter J. Acklam wrote: >Christopher Faylor <[EMAIL PROTECTED]> wrote: >>If it works the same way on linux and on cygwin, then there is >>nothing to fix. > >Ok. But where is this documented? > >I expected "#!/usr/bin/env perl -w" to work because I thought

Re: clisp as a shell

2002-02-20 Thread Guy Worthington
>> I wrote: > Neil Zanella wrote: >> I'd like to try clisp as a shell and am just fishing in the hope, >> that this has already been done. > I think you can just add it to /etc/shells and run chsh to set > it as your default shell. Why do you want to do this? Just perversity. Before I could ru

Re: sshd makeing noisy shells

2002-02-20 Thread Bob George
"Lucas Smith" <[EMAIL PROTECTED]> wrote: > [...] > 2) when i log in from a linux (debian) box all is well and i get access but > then the strangness begins. what ever command i type the consol beeps, > though it does complete the command. and if i type ls for example i get > ;/ I had that as wel