Tip: making extra Cygwin shortcuts

2003-07-30 Thread luke . kendall
It wasn't clear to me from reading the man page for mkshortcut that there was a way to create other Cygwin shortcuts alongside the default Start->Program Files->Cygwin ones. So, FYI, when you specify the name with the -n option, you can name `directories' in the normal way. E.g.: mkshort

Re: linking with non-cygwin dll

2003-07-30 Thread vikramshrowty
Perfect. Thanks a lot. On Wed, 30 Jul 2003, Igor Pechtchanski wrote: > Vikram, > > Replies inline below. > > On Wed, 30 Jul 2003 [EMAIL PROTECTED] wrote: > > > You need this for linking with third-party dlls that dont have a > > cygwin version. > > Yes, you do. The suggestion of omitting m

Re: tcpflow under cygwin anybody?

2003-07-30 Thread Brian Dessent
Ralf Hauser wrote: > I need to find out what is sent by some forms to my httpd on a per port > basis. Under Linux, > http://www.circlemud.org/~jelson/software/tcpflow/ does an excellent job at > this. > > Did anybody get this to work under cygwin yet? I had not heard of it until now, but I had b

Re: "Using cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Rick Rankin
--- Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Wed, Jul 30, 2003 at 09:41:51PM -0500, Joshua Daniel Franklin wrote: > >On Wed, Jul 30, 2003 at 11:56:15PM +0200, Hannu E K Nevalainen wrote: > >> > From: Joshua Daniel Franklin > >> > >> > I've thrown together a prospective "Using Cygwin Eff

Re: "Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Rick Rankin
--- Joshua Daniel Franklin <[EMAIL PROTECTED]> wrote: > On Wed, Jul 30, 2003 at 11:56:15PM +0200, Hannu E K Nevalainen wrote: > > > From: Joshua Daniel Franklin > > > > > I've thrown together a prospective "Using Cygwin Effectively with > > > Windows" section for the User's Guide. > > > > > > If

Re: "Using cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Christopher Faylor
On Wed, Jul 30, 2003 at 09:58:44PM -0500, Joshua Daniel Franklin wrote: >By the way, this has nothing to do with the User's Guide, but I made >a script to download (using the mailing list archive) all the July >emails into mbox format. I thought it would be easier than asking someone >for the archi

Re: "Using cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Christopher Faylor
On Wed, Jul 30, 2003 at 09:41:51PM -0500, Joshua Daniel Franklin wrote: >On Wed, Jul 30, 2003 at 11:56:15PM +0200, Hannu E K Nevalainen wrote: >> > From: Joshua Daniel Franklin >> >> > I've thrown together a prospective "Using Cygwin Effectively with >> > Windows" section for the User's Guide. >>

Re: "Using cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Joshua Daniel Franklin
> On Wed, Jul 30, 2003 at 11:18:07AM -0700, Joshua Daniel Franklin wrote: > >If you'd like to look at it as a web page: > > > > > >I'm going to be leaving this broadband connection in under 48 hours, > >so I'll probably put this into CVS tomorrow

Re: "Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Igor Pechtchanski
On Wed, 30 Jul 2003, Joshua Daniel Franklin wrote: > On Wed, Jul 30, 2003 at 11:56:15PM +0200, Hannu E K Nevalainen wrote: > > > From: Joshua Daniel Franklin > > > > > I've thrown together a prospective "Using Cygwin Effectively with > > > Windows" section for the User's Guide. > > > > > > If you'

Re: "Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Joshua Daniel Franklin
On Wed, Jul 30, 2003 at 11:56:15PM +0200, Hannu E K Nevalainen wrote: > > From: Joshua Daniel Franklin > > > I've thrown together a prospective "Using Cygwin Effectively with > > Windows" section for the User's Guide. > > > > If you'd like to look at it as a web page: > >

Re: linking with non-cygwin dll

2003-07-30 Thread Igor Pechtchanski
Vikram, Replies inline below. On Wed, 30 Jul 2003 [EMAIL PROTECTED] wrote: > You need this for linking with third-party dlls that dont have a > cygwin version. Yes, you do. The suggestion of omitting msvcrt.dll is bogus. > I was looking through some documentation for the MKS toolkit (it's lik

Re: linking with non-cygwin dll

2003-07-30 Thread vikramshrowty
You need this for linking with third-party dlls that dont have a cygwin version. I was looking through some documentation for the MKS toolkit (it's like a commercial alternative to cygwin) and according to it, a program that uses the MKS c-library can link with dlls that are in turn linked to msvc

Re: linking with non-cygwin dll

2003-07-30 Thread Martin Gainty
I would go so far as to suggest taking MSVCRT.dll off the path altogether After all why have 2 runtimes? -Martin - Original Message - From: "Igor Pechtchanski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 30, 2003 6:03 PM Subject: Re: linking wit

Re: linking with non-cygwin dll

2003-07-30 Thread Igor Pechtchanski
On Wed, 30 Jul 2003 [EMAIL PROTECTED] wrote: > Hi, > I had posted a query earlier about a cygwin program linking > with a non-cygwin dll. Based on the very helpful responses and some googling > around, I learnt that this is possible. But... > > heres a main.c that links with cygwin1.dll >

Re: "Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Joshua Daniel Franklin
On Wed, Jul 30, 2003 at 02:55:13PM -0400, Igor Pechtchanski wrote: > > On Wed, 30 Jul 2003, Joshua Daniel Franklin wrote: > > > --Q: Does anyone know of a page that lists command line configuration > > utilities included with Windows 95/98/ME vs. Windows NT4/2000/XP? > > Try >

linking with non-cygwin dll

2003-07-30 Thread vikramshrowty
Hi, I had posted a query earlier about a cygwin program linking with a non-cygwin dll. Based on the very helpful responses and some googling around, I learnt that this is possible. But... heres a main.c that links with cygwin1.dll int main(void) { printf("CYGWIN\n"); test_dll(); ret

Re: Old releases download

2003-07-30 Thread Max Bowsher
Menon, Girish (MED, WIPRO-GE MED) wrote: > How can I get an older version of the cygwin component? Right now, I am > able to get only the 1.3.22 release. I would like to get the 1.3.20 > release to test out something. You can't. There is no official archive of old releases. Max. -- Unsubscribe

RE: "Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Joshua Daniel Franklin
> I would suggest adding a section on the PATH environment and its use > when invoking bash from DOS. I'm not sure what this means... maybe that you need to add c:\cygwin\bin to your DOS PATH to use the binaries from DOS? Could you provide a sample of what you mean? -- Unsubscribe info: ht

Old releases download

2003-07-30 Thread Menon, Girish (MED, WIPRO-GE MED)
How can I get an older version of the cygwin component? Right now, I am able to get only the 1.3.22 release. I would like to get the 1.3.20 release to test out something. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Docum

Re: "Using cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Christopher Faylor
On Wed, Jul 30, 2003 at 11:18:07AM -0700, Joshua Daniel Franklin wrote: >I've thrown together a prospective "Using Cygwin Effectively with Windows" >section for the User's Guide. > >If you'd like to look at it as a web page: > > >I'm going to be

RE: tcpflow under cygwin anybody?

2003-07-30 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Ralf Hauser > I need to find out what is sent by some forms to my httpd on a per port > basis. Under Linux, > http://www.circlemud.org/~jelson/software/tcpflow/ does an > excellent job at > this. > > Did anybody get this to work under

RE: Local printer access question..

2003-07-30 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Jason Tishler > On Wed, Jul 30, 2003 at 07:47:53PM +0200, Hannu E K Nevalainen wrote: > > Now all I'll have to do is find a replacement for a2ps/enscript that > > creates PCL-stuff instead of postscript. I believe there is some sort >

RE: "Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Joshua Daniel Franklin > Sent: Wednesday, July 30, 2003 8:18 PM > I've thrown together a prospective "Using Cygwin Effectively with > Windows" > section for the User's Guide. > > If you'd like to look at it as a web page: >

Re: apache problems gone with 1.50

2003-07-30 Thread Stipe Tolj
Sam Edge wrote: > > Andrew might want to consider compiling Cygwin-Apache with the native > Winsock option. This way it still lives in the Cygwin file system > space so has the POSIX/Linux style configuration files but bypasses > the Cygwin Berkeley->Winsock socket API translation. Apparently this

RE: "Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Lisbeth Kellogg
I would suggest adding a section on the PATH environment and its use when invoking bash from DOS. --- Lisbeth Kellogg Office: 651-675-2610 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Daniel Franklin Sent: Wednesday, July 30, 2003 1:18 PM To:

Re: no path set after installation on win2k

2003-07-30 Thread Lucas Gonze
Thanks, Larry and Igor. Following up on your suggestions I was able to find a workaround. cygcheck (and all programs in /cygwin/bin) reported "The dynamic link library cygintl-2.dll could not be found in the specified path ..." Since this should be in the base install, I figured that it was

ircd doesn't compile

2003-07-30 Thread Krzysztof Dulęba
I have a problem compiling irc2.10.3p3 under Cygwin. Configure runs fine, but then I see error messages like "../ircd/res.c:1515: warning: passing arg 1 of `hash_name' discards qualifiers from pointer target type" I found a patch on http://utopia.pilsedu.cz/irc/cygwin.diff, but it doesn't help.

fd --> handle?

2003-07-30 Thread Sam Steingold
how do I convert a cygwin file descriptor (int) to an underlying win32 HANDLE? (i.e., reverse cygwin_attach_handle_to_fd()). -- Sam Steingold (http://www.podval.org/~sds) running w2k

Re: Bash traps - while emitting ERR trap

2003-07-30 Thread Christopher Faylor
On Wed, Jul 30, 2003 at 12:15:07PM -0700, Andrew DeFaria wrote: >Given the following script: > >#!/bin/bash >function cleanup {echo "ENTER cleanup" >} # cleanup > trap cleanup EXIT ERR > declare -i i=4 echo "Entering while loop" >while [ $i -gt 0 ]; do >echo

Re: no path set after installation on win2k

2003-07-30 Thread Igor Pechtchanski
On Wed, 30 Jul 2003, Lucas Gonze wrote: > Bug: > * Run a fresh install on Windows 2000 5.00.2195. > * Start a shell > * Do "ls" or any other standard command from /cygwin/bin. > * Command not found. > > It's probably relevant that the runtime environment hasn't been > initialized -- there's no ~/.

Re: no path set after installation on win2k

2003-07-30 Thread Larry Hall
Lucas Gonze wrote: Bug: * Run a fresh install on Windows 2000 5.00.2195. * Start a shell * Do "ls" or any other standard command from /cygwin/bin. * Command not found. It's probably relevant that the runtime environment hasn't been initialized -- there's no ~/.bashrc and no /etc/.bash_profile. T

Bash traps - while emitting ERR trap

2003-07-30 Thread Andrew DeFaria
Given the following script: #!/bin/bash function cleanup {echo "ENTER cleanup" } # cleanup trap cleanup EXIT ERR declare -i i=4 echo "Entering while loop" while [ $i -gt 0 ]; do echo "In while loop" let i=i-1 done echo "After trap is set

Re: Local printer access question..

2003-07-30 Thread Jason Tishler
On Wed, Jul 30, 2003 at 07:47:53PM +0200, Hannu E K Nevalainen wrote: > Now all I'll have to do is find a replacement for a2ps/enscript that > creates PCL-stuff instead of postscript. I believe there is some sort > of support for deskjets in ghostscript, but that seems to be a long > way to go. Th

no path set after installation on win2k

2003-07-30 Thread Lucas Gonze
Bug: * Run a fresh install on Windows 2000 5.00.2195. * Start a shell * Do "ls" or any other standard command from /cygwin/bin. * Command not found. It's probably relevant that the runtime environment hasn't been initialized -- there's no ~/.bashrc and no /etc/.bash_profile. The specific source

Re: Local printer access question..

2003-07-30 Thread Cary Jamison
"Hannu E K Nevalainen (garbage mail)" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > > Of Rick Rankin > --8<-- > > > Using a single page HTML print from IE6 in "zz.prn" > > > > > > These do "work": > > > D:\>print /

Re: "Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Igor Pechtchanski
Joshua, Thanks for doing this. I'll take a look at the document itself later on. For now, a few quick comments (inline below). On Wed, 30 Jul 2003, Joshua Daniel Franklin wrote: > I've thrown together a prospective "Using Cygwin Effectively with Windows" > section for the User's Guide. > > If y

Re: cygwin.com unavailable from blueyonder/telewest uk

2003-07-30 Thread Matt Fairtlough
On Wed, 2003-07-30 at 13:19, Bill C Riemers wrote: > > > My question is: can I install cygwin without access to cygwin.com, and > > > if so, how? Here is what I've done: > > > > Unfortunately not as you have noticed below, setup.exe requires the file > > mirrors.lst, which is located on cygwin.com

Re: Problem call a cygwin command from a dos batch file

2003-07-30 Thread Shankar Unni
Lisbeth Kellogg wrote: > Yes. Now I get the same thing. But why don't I have to do it that way > in XP? It's nothing to do with the OS or Bill Gates' conspiracies. Consider the two *machines* as distinct entities, and examine their configurations (all environment variables, all .rc scripts) to

"Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-30 Thread Joshua Daniel Franklin
I've thrown together a prospective "Using Cygwin Effectively with Windows" section for the User's Guide. If you'd like to look at it as a web page: I'm going to be leaving this broadband connection in under 48 hours, so I'll probably put this

tcpflow under cygwin anybody?

2003-07-30 Thread Ralf Hauser
Hi, I need to find out what is sent by some forms to my httpd on a per port basis. Under Linux, http://www.circlemud.org/~jelson/software/tcpflow/ does an excellent job at this. Did anybody get this to work under cygwin yet? Many thanks for any hints in advance! Ralf -- Unsubscribe in

RE: Local printer access question..

2003-07-30 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Rick Rankin --8<-- > > Using a single page HTML print from IE6 in "zz.prn" > > > > These do "work": > > D:\>print /D:LPT1: zz.prn > > D:\zz.prn is currently being printed > > > > D:\>print /D:\\P450\DJ720C zz.prn > > D

Re: cygwin and NTFS

2003-07-30 Thread Larry Hall
Elfyn McBratney wrote: On Wed, 30 Jul 2003, Menon, Girish (MED, WIPRO-GE MED) wrote: Does anybody know of any issues that cygwin 1.3.22 has with NTFS? Here's what happened. So far, I have been using cygwin 1.3.10 on NTFS with no problems. Recently, I upgraded cygwin to 1.3.22 and all of a sudd

Re: cygwin and NTFS

2003-07-30 Thread Elfyn McBratney
On Wed, 30 Jul 2003, Menon, Girish (MED, WIPRO-GE MED) wrote: > Does anybody know of any issues that cygwin 1.3.22 has with NTFS? > > Here's what happened. > > So far, I have been using cygwin 1.3.10 on NTFS with no problems. > Recently, I upgraded cygwin to 1.3.22 and all of a sudden I am start

RE: funktion itoa

2003-07-30 Thread Bill McCormick
> > I need to convert a integer to a string and in this case I want to use the > itoa funktion call. > I found a description of this funktion that explains: > > char * itoa ( int value, char * buffer, int radix ); > > Wich is defined in stdlib.h. > > When I try to compile I get the follwing error:

cygwin and NTFS

2003-07-30 Thread Menon, Girish (MED, WIPRO-GE MED)
Does anybody know of any issues that cygwin 1.3.22 has with NTFS? Here's what happened. So far, I have been using cygwin 1.3.10 on NTFS with no problems. Recently, I upgraded cygwin to 1.3.22 and all of a sudden I am starting to get permission errors with NTFS. I then reloaded by system and confi

funktion itoa

2003-07-30 Thread Frank Wagner
Hello, I need to convert a integer to a string and in this case I want to use the itoa funktion call. I found a description of this funktion that explains: char * itoa ( int value, char * buffer, int radix ); Wich is defined in stdlib.h. When I try to compile I get the follwing error: implic

Re: cygwin.com unavailable from blueyonder/telewest uk

2003-07-30 Thread Christopher Faylor
On Wed, Jul 30, 2003 at 09:19:10AM -0400, Bill C Riemers wrote: >> > My question is: can I install cygwin without access to cygwin.com, and >> > if so, how? Here is what I've done: >> >> Unfortunately not as you have noticed below, setup.exe requires the file >> mirrors.lst, which is located on cy

Re: cygwin.com unavailable from blueyonder/telewest uk

2003-07-30 Thread Bill C Riemers
> > My question is: can I install cygwin without access to cygwin.com, and > > if so, how? Here is what I've done: > > Unfortunately not as you have noticed below, setup.exe requires the file > mirrors.lst, which is located on cygwin.com . Sure you can. Just convince someone to snail mail you a

Re: invalid libname

2003-07-30 Thread Elfyn McBratney
On Wed, 30 Jul 2003, Ariz Jacinto wrote: > i'm porting applications to cygwin, everything > builds just fine except when i execute the > application, an error(?) msg appears: "invalid libname" > what does it mean? how do i fix it? > > i've searched the mailing list for info but > i've haven't see

Re: pclose without return???

2003-07-30 Thread Elfyn McBratney
On Wed, 30 Jul 2003 [EMAIL PROTECTED] wrote: > My partner find a problem:When he executes the syscall pclose to close a > pipe, the system suspend without return. What is more, if his program > popens only one pipe, the pclose is executed successfully. If the program > popens two pipes, the pclose

Re: 1.5.1-1 unzip broken

2003-07-30 Thread David Rothenberger
bob sandefur wrote: > > Hi-- > > I went to the exp 1.5.1-1 release because ls -lt was confused on size and > tar didn't work on big files; ls +tar worked fine but unzip was broken; went > back to current and unzip is fine. > Sorry If i shouldn't have reported this to you This was already report

1.3.22: executing relative symlinks on network shares

2003-07-30 Thread Daniel Villeneuve
Hi, I have a problem when trying to execute relative symlinks located on network shares: when I create such a symlink, Cygwin does not find the pointed-to executable and continues down the PATH. Bash does not have the problem because I think it does not rely on find_exec to find executables, but

1.5.1-1 unzip broken

2003-07-30 Thread bob sandefur
Hi-- I went to the exp 1.5.1-1 release because ls -lt was confused on size and tar didn't work on big files; ls +tar worked fine but unzip was broken; went back to current and unzip is fine. Sorry If i shouldn't have reported this to you Regards Robert (Bob) L. Sandefur PE Geostatistical Assoc

Re: pclose without return???

2003-07-30 Thread Igor Pechtchanski
On Wed, 30 Jul 2003 [EMAIL PROTECTED] wrote: > My partner find a problem:When he executes the syscall pclose to close a > pipe, the system suspend without return. What is more, if his program > popens only one pipe, the pclose is executed successfully. If the program > popens two pipes, the pclose

Re: And now a problem with tcl

2003-07-30 Thread Igor Pechtchanski
No, that's not what I said. You can call *any* script (by specifying a full path to it), but be aware of two things: 1) tcl will not understand POSIX paths, so you have to use Win32 paths, and 2) Windows doesn't treat shell scripts as executable, so you have to use 'sh' to move over to the Cygwin

memset manpage error

2003-07-30 Thread Martin Lindhe
It now says: RETURNS `memset' returns the value of M. it should instead say: RETURNS `memset' returns the value of DST. see http://www.fifi.org/cgi-bin/man2html/usr/share/man/man3/memset.3.gz -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: apache problems gone with 1.50

2003-07-30 Thread Sam Edge
Stipe Tolj <[EMAIL PROTECTED]> wrote in <[EMAIL PROTECTED]> in gmane.os.cygwin on Wed, 30 Jul 2003 00:51:18 +0200: Andrew DeFaria <[EMAIL PROTECTED]>: > > This is good to hear. Perhaps I will switch from Apache for Windows -> > > Apache under Cygwin. Only problem is I also trying to move my web si

invalid libname

2003-07-30 Thread Ariz Jacinto
i'm porting applications to cygwin, everything builds just fine except when i execute the application, an error(?) msg appears: "invalid libname" what does it mean? how do i fix it? i've searched the mailing list for info but i've haven't seen anything similar. -- Unsubscribe info: http://

pclose without return???

2003-07-30 Thread xuzhd
My partner find a problem:When he executes the syscall pclose to close a pipe, the system suspend without return. What is more, if his program popens only one pipe, the pclose is executed successfully. If the program popens two pipes, the pclose is executed without return. -*-*-*-*-*-*-*-*-*-*-*-*-

[ANNOUNCEMENT] psutils-1.17-1

2003-07-30 Thread Daniel Bößwetter
psutils-1.17-1 for Cygwin is now available. PSUtils is a collection of useful utilities for manipulating PostScript documents. Programs included are psnup, for placing out several logical pages on a single sheet of paper, psselect, for selecting pages from a document, pstops, for general imposi

Re: gcj-3.3 with Cygwin?

2003-07-30 Thread Jørgen Nørgaard
Hello, we have used gcj (gcj (GCC) 3.2 20020927 (prerelease)) as installed by the network installer without problems. Try a small hello.java to test things. There is a problem with 'available' on FileInputStream but it can be coded around, see separate post on this. Hallo, I'm getting: $

Re: And now a problem with tcl

2003-07-30 Thread philippe guillaume
So i can't call a script whose directory is not in the path ...? Damned !!! ;) Thanks a lot Igor --- Igor Pechtchanski <[EMAIL PROTECTED]> a écrit : > On Tue, 29 Jul 2003, philippe guillaume wrote: > > > I've been searching for a long time about this > > problem. > > The command runs normally