Re: various sundry things

2003-10-14 Thread Demmer, Thomas
Edward Peschenko wrote [...] >> >> Misconception: You thought that -mno-cygwin was a flag that needed >> to only be passed to the linker. > >true, but that is a conception that any user - especially newbies - could make. > >You've got to understand something. When I come across a project and >eva

Re: system() refuses to work!!! HELP

2003-10-14 Thread Moises D . Deangelo
It did not work. I do not manage to understand what happens of wrong. Em 14 Oct 2003, Andrew DeFaria escreveu: >Moises D. Deangelo wrote: > >> Yes. >> >> When entering with the command ls -l /bin/sh.exe, the appeared following: >> >> -rwxr-x---+ 1 Diego Usuários 83456 Aug 11 10:45 /bin/sh

Re: system() refuses to work!!! HELP

2003-10-14 Thread Moises D . Deangelo
It did not work. Will it be that I found a bug??? How much luck I have.. :-) It follows the source. that program does not do anything of important! It is alone a test. what we most can do? I changed the command for "DIR" who list the directories of the windows just to facilitate the comprehe

Errors when trying to access /dev/null

2003-10-14 Thread Sandy Pyke
Hello all, I am new to Cygwin and I've run across a problem. I have installed Cygwin on two different Windows XP Pro machines and one is working fine and the other is not. On both machines I did a Default installation plus some development packages (gcc, make, gtk2-win32, etc...) On the machine g

Re: system() refuses to work!!! HELP

2003-10-14 Thread Andrew DeFaria
Moises D. Deangelo wrote: Yes. When entering with the command ls -l /bin/sh.exe, the appeared following: -rwxr-x---+ 1 Diego Usuários 83456 Aug 11 10:45 /bin/sh.exe And now? what Do I do? Does that mean something? How I said, or the command system() works, or I learn to activate speaker throug

Re: system() refuses to work!!! HELP

2003-10-14 Thread Christopher Faylor
On Wed, Oct 15, 2003 at 01:10:08AM -0300, Moises D. Deangelo wrote: >When entering with the command ls -l /bin/sh.exe, the appeared following: > >-rwxr-x---+ 1 Diego Usu?rios 83456 Aug 11 10:45 /bin/sh.exe Ok. The next question is if "sound.exe" is in your path. Does something like: system(

Re: system() refuses to work!!! HELP

2003-10-14 Thread Moises D . Deangelo
Yes. When entering with the command ls -l /bin/sh.exe, the appeared following: -rwxr-x---+ 1 Diego Usuários 83456 Aug 11 10:45 /bin/sh.exe And now? what Do I do? Does that mean something? How I said, or the command system() works, or I learn to activate speaker through cygwin. In ultimo

Re: various sundry things

2003-10-14 Thread Edward Peschko
> - Posting private email without permission is always bad. There is > no excuse for it. ... as is blocking people from personal communication, and giving them no retinue in which to respond ...as is dismissing someone and their ideas out of hand. no excuse for that, either. > - Yes, I know.

Re: various sundry things

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 05:16:12PM -0700, Edward Peschko wrote: >> Misconception: In your private email to me that the -mwin32 was a >> "use-win32 mode" flag. > >no, you mentioned -mwin32, I was wondering what the hell >you were talking about, and repeated it. I thought you were >discussing a pos

Re: system() refuses to work!!! HELP

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 10:50:35PM -0200, Moises D. Deangelo wrote: >Hi Personal. > >Please, my program keep working for several and several hours. >I want when he finish, which he warns me. To do not complicate my work wish >to activate speaker, but I do not have been having success. > >I use

system() refuses to work!!! HELP

2003-10-14 Thread Moises D . Deangelo
Hi Personal. Please, my program keep working for several and several hours. I want when he finish, which he warns me. To do not complicate my work wish to activate speaker, but I do not have been having success. I use platform w2k, and clear, cygwin. As I do not manage to activate speaker b

Re: various sundry things

2003-10-14 Thread Edward Peschko
> Misconception: In your private email to me that the -mwin32 was a > "use-win32 mode" flag. no, you mentioned -mwin32, I was wondering what the hell you were talking about, and repeated it. I thought you were discussing a possible solution. > > Misconception: You thought that -mno-cygwin was

Re: uw-imap tmail problem: "Unexpected file locking failure: Invalid argument"

2003-10-14 Thread Robert Schmidt
All right - I feel silly now. For some reason, /var/mail/robert was already a directory. Cleaning /var/mail enabled tmail to do its stuff, i.e. create and append to "robert" as a regular mailbox file. Sorry for the wasted bandwidth... Robert Robert Schmidt wrote: However, the feeding to tm

Re: Is multithreaded profiling on cygwin possible?

2003-10-14 Thread Brian Ford
Sorry for the delay. I've been swamped, both with the setup issue and work. I haven't had a chance to look at the actual patch you sent yet. On Tue, 14 Oct 2003, peter garrone wrote: > A list of active threads is maintained. A thread calling moncontrol(1) gets > put in the list. When a call to

uw-imap tmail problem: "Unexpected file locking failure: Invalid argument"

2003-10-14 Thread Robert Schmidt
Hi! I've been a happy cygwin user for many years, and recently decided to give uw-imap a shot, as I need a centralized e-mail storage for our home WLAN. I've got imapd running through inetd, and I've gotten fetchmail to poll my POP3 account. However, the feeding to tmail fails, apparently in t

Re: openssh package missing?

2003-10-14 Thread Larry Hall
At 05:38 PM 10/14/2003, jonathan zhang you wrote: >Hi folks, >I have just downloaded and installed cygwin on my win2k machine. However I >can't find the openssh package, it seems to be missing, why? how do I get >it and integrate it with cygwin? >thanks for the guidance >-jonathan Rerun setup

Re: cygpath hangings

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Brian Ford wrote: > On Tue, 14 Oct 2003, chris wrote: > > > If I comment out the call to SHGetPathFromIDList in this program, the > > program returns, else it hangs. > > > Confirmed. > > > Also, This program seems to be both valid c++ and c code. If it is > > compiled in gcc,

Exim: Protocol violation

2003-10-14 Thread Andrew DeFaria
I recently installed a new version of exim $ cygcheck -c exim Cygwin Package Information Package VersionStatus exim 4.24-1 OK and now I'm getting errors like: 2003-10-14 14:20:40 SMTP protocol violation: synchronization error (input sent without waiti

Re: cygpath hangings

2003-10-14 Thread Brian Ford
Chris, On Tue, 14 Oct 2003, chris wrote: > If I comment out the call to SHGetPathFromIDList in this program, the > program returns, else it hangs. > Confirmed. > Also, This program seems to be both valid c++ and c code. If it is > compiled in gcc, all is fine. In g++, it hangs. > Really? I see

openssh package missing?

2003-10-14 Thread jonathan zhang
Hi folks, I have just downloaded and installed cygwin on my win2k machine. However I can't find the openssh package, it seems to be missing, why? how do I get it and integrate it with cygwin? thanks for the guidance -jonathan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple P

Missing STDERR output from Cygwin make v3.79.1

2003-10-14 Thread Chris Whitehead
Hi, I've discovered some odd behaviour with make v3.79.1 as included with the CygWin development tools package. I've searched the web and checked the make manual, but have not been able to find anything helpful so far. When calling ccppc (a PowerPC cross-compiler supplied as part of the Tornado

Re: cygpath hangings

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Igor Pechtchanski wrote: > Does "cygcheck yourprog.exe" show both test_dll.dll and SHLWAPI.DLL? > [EMAIL PROTECTED] ~ $ cygcheck cyghan.exe Found: .\cyghan.exe cyghan.exe G:\cygwin\bin\cygwin1.dll D:\WINNT\System32\KERNEL32.dll D:\WINNT\System32\ntdll.dll .\cygl.d

RE: setup hangs during postinstall

2003-10-14 Thread Hannu E K Nevalainen
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Christopher Faylor > Sent: Tuesday, October 14, 2003 10:20 PM > To: [EMAIL PROTECTED] > Subject: Re: setup hangs during postinstall > > > On Tue, Oct 14, 2003 at 02:13:44PM -0500, Brian Ford wrote: > >FOO=`cygpath -S < /dev/null` > >do

Re: cygpath hangings

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Brian Ford wrote: > Igor, > > On Tue, 14 Oct 2003, Igor Pechtchanski wrote: > > > On Tue, 14 Oct 2003, chris wrote: > > > > > -- Code begins -- > > > > > > #include > > > > > > void fee (void) { > > > char *buf; > > > LPITEMIDLIST id; > > > SHGetPathFromIDList (id, buf)

Re: Multiple versions of MSVCRT.DLL (RE: setup hangs during postinstall)

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Hannu E K Nevalainen wrote: > > From: Christopher Faylor > > Sent: Tuesday, October 14, 2003 8:43 PM > > > Igor's theory about DLLs might also be the culprit here. I wonder if > > the PATH is different when run via the desktop and a different version > > of MSVCRT.DLL is bein

Re: various sundry things

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 12:20:12PM -0700, Edward Peschko wrote: >First of all, I'm looking at my email as/of last night, and although >given the circumstances I pretty much still think what I said is >accurate (although the pedant in me cringes at the misuse of the word >'disabuse'), disabuse:

Re: cygpath hangings

2003-10-14 Thread Brian Ford
Igor, On Tue, 14 Oct 2003, Igor Pechtchanski wrote: > On Tue, 14 Oct 2003, chris wrote: > > > -- Code begins -- > > > > #include > > > > void fee (void) { > > char *buf; > > LPITEMIDLIST id; > > SHGetPathFromIDList (id, buf); > > } > > > > int main (int argc, char **argv) > > { > > ret

Multiple versions of MSVCRT.DLL (RE: setup hangs during postinstall)

2003-10-14 Thread Hannu E K Nevalainen
> From: Christopher Faylor > Sent: Tuesday, October 14, 2003 8:43 PM > Igor's theory about DLLs might also be the culprit here. I wonder if > the PATH is different when run via the desktop and a different version > of MSVCRT.DLL is being pulled in or something. *SHUDDER* - I wasn't aware of this

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Christopher Faylor wrote: > On Tue, Oct 14, 2003 at 02:13:44PM -0500, Brian Ford wrote: > >FOO=`cygpath -S < /dev/null` > >does not hang. > > I forget have you tried making this: > > FOO=`strace -owhereever cygpath -S` > > I seem to recall that this worked ok but I can't find

Re: setup hangs during postinstall

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 02:13:44PM -0500, Brian Ford wrote: >FOO=`cygpath -S < /dev/null` >does not hang. I forget have you tried making this: FOO=`strace -owhereever cygpath -S` I seem to recall that this worked ok but I can't find this usage anywhere in this neverending thread. cgf -- Unsubs

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Christopher Faylor wrote: > On Tue, Oct 14, 2003 at 02:13:44PM -0500, Brian Ford wrote: > >BTW, when viewing cygpath's handles, I see two WinStation ones. Just > >wondering if that means anything given the recent xemacs issues. I think > >I have your patch for that in my Cyg

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Lee D. Rothstein wrote: > 'setup.exe' hangs during the posinstall phase, > regardless of whether 'setup.exe' is invoked from, any of the > following: > > 1. Double clicking the 'setup.exe' icon/item in Explorer folder > containing it > 2. Internet Explorer http://Cygw

Re: setup hangs during postinstall

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 02:13:44PM -0500, Brian Ford wrote: >BTW, when viewing cygpath's handles, I see two WinStation ones. Just >wondering if that means anything given the recent xemacs issues. I think >I have your patch for that in my Cygwin DLL, though. I wouldn't expect you to see two winst

Re: how do I use two versions of cygwin on one machine?

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 02:23:24PM -0400, Igor Pechtchanski wrote: >On Tue, 14 Oct 2003, Max Bowsher wrote: >>Jim Perkins wrote: >>>I looked in the FAQ, I searched the archives, and I searched on >>>deja.com with no luck. I have been using cygwin for quite a while and >>>I'm dependent on it. Rece

Re: setup hangs during postinstall

2003-10-14 Thread Lee D. Rothstein
In various posts over the last several days it has been implied that the Cygwin 'setup.exe' post-install hang only occurs when Cygwin 'setup.exe' is invoked from Explorer. I have now shown, on my two systems, running respectively Windows 2000 on an AMD Athlon, 1 GHz, and Windows XP on an Pentium 4

Re: cron and hibernate

2003-10-14 Thread Corinna Vinschen
On Tue, Oct 14, 2003 at 04:03:56PM -0230, Paul Y. Peng wrote: > I have two problems with cron: > > 1. Where can I get cron.README? I found several places where this file is >referred to. But I can't find it in my installation of cygwin. Running >setup.exe shows that I have all files in Adm

RE: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Robb, Sam wrote: > Hope this helps some... > > $ gdb --pid=1224 > At least the stack trace part doesn't. You attached to the bash exec stub of cygpath, not cygpath itself. There are already several of these back traces in the archives. The actual cygpath is here: > Process

cron and hibernate

2003-10-14 Thread Paul Y. Peng
I have two problems with cron: 1. Where can I get cron.README? I found several places where this file is referred to. But I can't find it in my installation of cygwin. Running setup.exe shows that I have all files in Admin and Doc installed on my PC. I thought this file may be important f

RE: setup hangs during postinstall

2003-10-14 Thread Robb, Sam
> I know this is acting a lot but would you be willing to use the > SysInternals "Process Explorer" process to see if you can see anything > funny about the DLLs that are loaded in the hung cygpath? > > http://sysinternals.com/ntw2k/freeware/procexp.shtml > > Or, actually anyone who's experienci

various sundry things

2003-10-14 Thread Edward Peschko
hey all, First of all, I'm looking at my email as/of last night, and although given the circumstances I pretty much still think what I said is accurate (although the pedant in me cringes at the misuse of the word 'disabuse'), I shouldn't have let my temper get the better of me. I have to pat m

Re: clock_t & return -1

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 02:04:39PM -0400, Igor Pechtchanski wrote: >IOW, this is not Cygwin specific. FWIW, you're welcome to submit a patch >to the cygwin-doc package. That is always a good suggestion, but this time it's not necessary. It was a newlib thing. I checked in a patch to fix it alre

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Christopher Faylor wrote: > Ok, so it is hanging in process initialization. Since it is single > threaded it can't be attached to. I've run into this from time to time. > It is really hard to debug. Maybe adding a small_printf in init.cc will > show what's going on. > Will

Re: Error: procedure entry point _getreent could not be located...

2003-10-14 Thread Brian Ford
Please keep replies on the list. If you had, your question would probably already have been answered. On Mon, 13 Oct 2003, Ravi Malghan wrote: > Brian: thanks for the response. How do I update the > dll? Is this something which is available on the > cygwin website I can replace my file with? > T

Re: setup hangs during postinstall

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 01:13:33PM -0500, Brian Ford wrote: >On Tue, 14 Oct 2003, Christopher Faylor wrote: >>4) exec (stub) waits for execed program to say "I'm here". >> >I'm sure this is where it hangs. > >>So, for a brief time there are two processes attached to the same >>pinfo. The task mana

Re: how do I use two versions of cygwin on one machine?

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Max Bowsher wrote: > Jim Perkins wrote: > > I looked in the FAQ, I searched the archives, and I searched on > > deja.com with no luck. I have been using cygwin for quite a while > > and I'm dependent on it. Recently I started working with a new > > single board computer. Th

Re: how do I use two versions of cygwin on one machine?

2003-10-14 Thread Max Bowsher
Jim Perkins wrote: > I looked in the FAQ, I searched the archives, and I searched on > deja.com with no luck. I have been using cygwin for quite a while > and I'm dependent on it. Recently I started working with a new > single board computer. The compile environment is an older version > of cygw

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Christopher Faylor wrote: > 4) exec (stub) waits for execed program to say "I'm here". > I'm sure this is where it hangs. > So, for a brief time there are two processes attached to the same pinfo. > The task manager (and maybe ps -W) will tell you the "real" windows > process

Re: relocatable cygwin installation

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Daniel Edwards wrote: > hello, > > I have an installation of cygwin which for both convenice and consistency > reasons should be shared between multiple users on many machines. This is > under a source control system so that each user is guaranteed to use the > same utilities

Re: clock_t & return -1

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Alex Vinokur wrote: > # -- man clock (fragments) -- > # RETURNS > #The amount of processor time used so far by your program, in units > #defined by the machine-dependent macro `CLOCKS_PER_SEC'. > #If no measurement is available, the result is `-

Re: clock_t & return -1

2003-10-14 Thread Cliff Hones
Alex Vinokur wrote: >... > -- Compilation -- > > $ gcc -W -Wall t.c > > t.c: In function `main': > t.c:4: warning: comparison between signed and unsigned > > - > > So, clock() is unsigned and never returns -1 (?!) You can find the definition of the type clock_t

relocatable cygwin installation

2003-10-14 Thread Daniel Edwards
hello, I have an installation of cygwin which for both convenice and consistency reasons should be shared between multiple users on many machines. This is under a source control system so that each user is guaranteed to use the same utilities, on any machine, without having to undergo the install

What does clock() calculate?

2003-10-14 Thread Alex Vinokur
clock : "Calculates the best available approximation of the cumulative amount of time used by your program since it started." (From man clock). Does clock() calculate user-used-time + system-used-time? = Alex Vinokur mailto:[EMAIL PROTECTED] http

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Christopher Faylor wrote: > So it must not really be cygpath that is hanging, then. The stack trace that > you provided was more likely for an execed bash stub. You could try setting > CYGWIN_DEBUG=bash to test that theory. > Considering these things (cygpath, strace, etc.)

clock_t & return -1

2003-10-14 Thread Alex Vinokur
# -- man clock (fragments) -- # NAME #`clock'--cumulative processor time # # # SYNOPSIS # include # clock_t clock(void); # # RETURNS #The amount of processor time used so far by your program, in units #defined by the machine-dependent macro `CLOCKS_P

HELP: how do I use two versions of cygwin on one machine?

2003-10-14 Thread Jim Perkins
I looked in the FAQ, I searched the archives, and I searched on deja.com with no luck. I have been using cygwin for quite a while and I'm dependent on it. Recently I started working with a new single board computer. The compile environment is an older version of cygwin. More recent versions of

Re: 7-Zip

2003-10-14 Thread Lapo Luchini
Lapo Luchini wrote: Biju G C wrote: I wish there is somebody to port this. As per Igor Standalone command line version in folder Project\archiver\bundle\Alone\ will be easy to port I made a try at it, once.. but it has lotsa subdirectories and libraries... without working Makefiles is not-

Re: setup hangs during postinstall

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 05:28:41PM +0100, Steve Fairbairn wrote: >Just trying to either re-enforce or counter Brian's debug info, I have done >the same thing Chris requested of him with my hung cygpath process. > >(gdb) info threads > 3 thread 164.0xd88 0x77f75a59 in ntdll!DbgUiConnectToDbg () >

Re: setup hangs during postinstall

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 10:27:45AM -0500, Brian Ford wrote: >On Mon, 13 Oct 2003, Christopher Faylor wrote: > >> On Mon, Oct 13, 2003 at 12:22:12PM -0500, Brian Ford wrote: >> >Since setup must be launched from explorer to hang, I set >> >CYGWIN_DEBUG=cygpath in my system environment variables and

libgen (was: Re: Here is code for dirname basename and getline)

2003-10-14 Thread Gerrit P. Haase
Gerrit wrote: > What is/was the status of including libgen into Cygwin/newlib? Replying myself. I found basename() and dirname() sources in the Cygwin openssh sources (openbsd-compat directory). Compiles ok. License is probably OpenBSD, in doubt the same as OpenSSH. In case someone is intere

RE: setup hangs during postinstall

2003-10-14 Thread Steve Fairbairn
All, Just trying to either re-enforce or counter Brian's debug info, I have done the same thing Chris requested of him with my hung cygpath process. (gdb) info threads 3 thread 164.0xd88 0x77f75a59 in ntdll!DbgUiConnectToDbg () from /cygdrive/c/WINDOWS/System32/ntdll.dll 2 thread 164.0x1

RE: setup hangs during postinstall

2003-10-14 Thread Steve Fairbairn
All, Using the script below, provided by Hannu E K Nevalainen. -- $ cat /etc/postinstall/t3.sh #!/bin/bash -x # CYGWIN_DEBUG=/bin/cygpath # set CYGWIN_SLEEP=2 echo -e "CYGWIN_DEBUG=${CYGWIN_DEBUG}\tCYGWIN_SLEEP=${CYGWIN_SLEEP}" TOPFOLDER="$(cygpath -A -P)/Cygwin-XFree86" echo $TOPFOLDER -

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Mon, 13 Oct 2003, Christopher Faylor wrote: > On Mon, Oct 13, 2003 at 12:22:12PM -0500, Brian Ford wrote: > >Since setup must be launched from explorer to hang, I set > >CYGWIN_DEBUG=cygpath in my system environment variables and rebooted. To > >make sure it worked, I launched a bash under rxv

Indication of FTP activity

2003-10-14 Thread Menon, Girish (MED, WIPRO-GE MED)
Hi, I would like to know when a FTP connection is active from a remote server. Basically, I have two types of icon. One icon showing that the remote connection is idle and another showing that the remote connection is active. When I had only telnet server active it used to be fine

RE: [PATCH] : make cygpath use multiple filename arguments

2003-10-14 Thread Hannu E K Nevalainen
> From: Mark Blackburn > Sent: Friday, July 18, 2003 4:03 PM (Reply on original posting containing the patch) I've found this patch to be a nice addition. It seems not have "made it" into cygpath.cc, was there a cause for that? /Hannu E K Nevalainen, B.Sc. EE - 59°16.37'N, 17°12.60'E -- UTC+01,

RE: cygwin window size

2003-10-14 Thread Hannu E K Nevalainen
> From: Thorsten Kampe > Sent: Tuesday, October 14, 2003 11:24 AM > * <[EMAIL PROTECTED]> (2003-10-13 23:37 +0200) > > I wish that the max size of my cygwin window will be full screen. > > currently it is only 3/4 screen. > > > I do'nt want to use the X - xterm for this purpose because it > slows

RE: cygpath hangings

2003-10-14 Thread Hannu E K Nevalainen
> From: Igor Pechtchanski > Sent: Tuesday, October 14, 2003 3:38 PM > FWIW, I've posted instructions on how to run a program from setup recently > (but can't find the actual message at the moment). To summarize, simply > create a shell script named BLAH.sh that calls that program (you may need >

Print postscript from cygwin

2003-10-14 Thread Robert Mecklenburg
Please forgive this post if I'm blind here, but I can't figure out how to print a postscript (or pdf) file using cygwin. Normally (I believe), I would use gs with: gs -sDEVICE=mswinpr2 -sOutputFile=spool\\MyPrinter foo.ps However neither the "native" /bin/gs or /usr/X11R6/bin/gs suppor

Re: Starting postgres as root

2003-10-14 Thread Corinna Vinschen
On Tue, Oct 14, 2003 at 07:01:38PM +0530, Mahesh Pawar wrote: > Hi, > > I would like to start postgres while my linux m/c is booting. > For testing I checked following commnd as root . > > /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data > > and got error > > You cannot run initdb as root.

Re: Cygwin setup stopped @99%

2003-10-14 Thread Dr.D.J.Picton
> Date: Tue, 14 Oct 2003 15:51:24 +0100 (BST) > From: "Dr.D.J.Picton" <[EMAIL PROTECTED]> > Subject: Re: Cygwin setup stopped @99% > To: [EMAIL PROTECTED] > Mime-Version: 1.0 > Content-MD5: DsCNL7oYTQKmOyN7mUCpjA== > > > To complete the installation, start up cygwin and manually run any outstan

Re: Cygwin setup stopped @99%

2003-10-14 Thread Dr.D.J.Picton
> From: "G. Oto" > To: cygwin at cygwin dot com, cygwin-developers at cygwin dot com > Date: Sun, 12 Oct 2003 16:04:38 +0900 (JST) > Subject: Cygwin setup stopped @99% > I followed the instructions on www.cygwin.com on how to install the current > Cygwin, downloaded the setup.exe and ra

Re: Gtk+-2.0

2003-10-14 Thread Mark Blackburn
Bhasker C V wrote: Hi the gtk+-2.0 package is available at many places but there is no consolidated effort where things work. I downloaded some packages and corrected them so that they work in my system the tar.bz2 is available - how to upload it so that people can make use of this ? You shoul

Re: cygpath hangings

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, chris wrote: > Chris, > > >I suspect that this hang might be happening while loading the DLL. Could > >you try to link your program with something like below and see if it still > >hangs, and what it outputs? If it doesn't hang, try renaming > >SHGetPathFromIDList below to s

Re: merging mingw and cygwin

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 09:08:56AM -0400, Igor Pechtchanski wrote: >On Mon, 13 Oct 2003, Edward Peschko wrote: >> On Mon, Oct 13, 2003 at 10:19:08PM -0400, Christopher Faylor wrote: >>>[snip] >>>Do not send me personal email about cygwin again. >> [snip] >>You hold the keys to some sort of power, t

Re: cygpath hangings

2003-10-14 Thread chris
Steve Fairbairn wrote: -Original Message- From: Cliff Hones Sent: 14 October 2003 15:03 Subject: Re: cygpath hangings Running cygcheck -vs (and/or some other such utility) from a hanging and non-hanging postinstall shell might come up with something. As in set up a script in /etc/p

Re: cygpath hangings

2003-10-14 Thread chris
Chris, I suspect that this hang might be happening while loading the DLL. Could you try to link your program with something like below and see if it still hangs, and what it outputs? If it doesn't hang, try renaming SHGetPathFromIDList below to something else (e.g., foo) that calls the real SHGe

Re: cygpath hangings

2003-10-14 Thread Cliff Hones
Steve Fairbairn wrote: > As in set up a script in /etc/postinstall that runs cygcheck -vs to a file, > and send that in? I would suggest setting up the script to send to a file, invoking it twice by running setup from explorer and from a command line, and if there is any difference send that in.

RE: cygpath hangings

2003-10-14 Thread Steve Fairbairn
> -Original Message- > From: Cliff Hones > Sent: 14 October 2003 15:03 > Subject: Re: cygpath hangings > > Running > cygcheck -vs (and/or some other such utility) from > a hanging and non-hanging postinstall shell might come > up with something. > As in set up a script in /etc/postinst

Re: cygpath hangings

2003-10-14 Thread Cliff Hones
I'm surprised that this problem seems so intractable. While careful debugging and analysis ought to get to the root of the problem eventually, there is clearly some difficulty in getting a suitable debug session without upsetting what is being examined. [Heisenberg at work.] So alternate approach

wrong pthread_mutexattr_init value bug?

2003-10-14 Thread Joost Kraaijeveld
According to the Cygwin sources the function pthread_mutexattr_init (see below) can return EBUSY. As far as I can see in several docs, this is not a valid return value. According to the IEEE Std 1003.1 online docs only ENOMEM or 0 are valid return values. Besides this, why should this function re

Re: Some questions about the time and times utilities

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Alex Vinokur wrote: > $ man times > No manual entry for times > > $ info times > dummy > info: No menu item `times' in node `(dir)Top'. > > $ times --help > bash: times: --: invalid option > times: usage: times $ type -a times times is a shell builtin $ type -a time time is a

RE: cygpath hangings

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Steve Fairbairn wrote: > [snip] > I have suffered from the hanging cygpath issue, I did a clean install (new > box) and have since not changed the installation. If you could supply me > with an exe for this code (private email) or the flags used when building > that code and

Starting postgres as root

2003-10-14 Thread Mahesh Pawar
Hi, I would like to start postgres while my linux m/c is booting. For testing I checked following commnd as root . /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data and got error You cannot run initdb as root. Please log in (using, e.g., 'su') as the (unprivileged) user that will own the ser

Re: cygpath hangings

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, chris wrote: > I decided to try to put some investigation into the cygpath crashings > that have been reported so much. Here are my findings.. I hope this > helps! I'd be happy to try further debuggings, except I couldn't figure > out how to attach a debugger to the program (b

Re: FOREIGN TRUSTEE

2003-10-14 Thread Pavel Rosenboim
Agrerralle wrote: Dear Sir, I am an Administrative Staff of the Ministry Works and Housing, and I represent a group that is interested in engaging your service as Manager for investment purpose, of a large volume of fund. If this proposal is acceptable to you, please get back to me, so that I can

FOREIGN TRUSTEE

2003-10-14 Thread Agrerralle
Dear Sir, I am an Administrative Staff of the Ministry Works and Housing, and I represent a group that is interested in engaging your service as Manager for investment purpose, of a large volume of fund. If this proposal is acceptable to you, please get back to me, so that I can work out a remune

RE: cygpath hangings

2003-10-14 Thread Steve Fairbairn
> From: chris > Sent: 14 October 2003 13:33 > Subject: Re: cygpath hangings > > Corinna Vinschen wrote: > > > > >Nope, not for me. Are you, by any chance, still using gcc2? > > > > > Nope, using gcc 3.3.1 (cygming special) > > Just checking... have you been suffering from the "cygpath" crash

Re: cygpath hangings

2003-10-14 Thread Corinna Vinschen
On Tue, Oct 14, 2003 at 01:33:03PM +0100, chris wrote: > Corinna Vinschen wrote: > >Nope, not for me. Are you, by any chance, still using gcc2? > > > Nope, using gcc 3.3.1 (cygming special) > > Just checking... have you been suffering from the "cygpath" crashing > during setup? If not I imagine

Re: merging mingw and cygwin

2003-10-14 Thread Igor Pechtchanski
On Mon, 13 Oct 2003, Edward Peschko wrote: > On Mon, Oct 13, 2003 at 10:19:08PM -0400, Christopher Faylor wrote: > > [snip] > > Do not send me personal email about cygwin again. > [snip] > You hold the keys to some sort of power, the power to enter the > developer's list, the power to patch cygwin

Some questions about the time and times utilities

2003-10-14 Thread Alex Vinokur
= Windows 2000 Professional CYGWIN_NT-5.0 1.5.4(0.94/3/2) = -- $ time ls real0m0.038s user0m0.020s sys 0m0.040s $ time -v ls bash: -v: command not found real0m0.039s user0m0.010s sys

Re: cygpath hangings

2003-10-14 Thread chris
Corinna Vinschen wrote: On Tue, Oct 14, 2003 at 12:44:57PM +0100, chris wrote: Also, This program seems to be both valid c++ and c code. If it is compiled in gcc, all is fine. In g++, it hangs. [...] If there is anything else anyone would like me to try (like taking a -E and picking out all t

Re: cygpath hangings

2003-10-14 Thread Corinna Vinschen
On Tue, Oct 14, 2003 at 12:44:57PM +0100, chris wrote: > Also, This program seems to be both valid c++ and c code. If it is > compiled in gcc, all is fine. In g++, it hangs. > [...] > If there is anything else anyone would like me to try (like taking a -E > and picking out all the useless bits of

cygpath hangings

2003-10-14 Thread chris
I decided to try to put some investigation into the cygpath crashings that have been reported so much. Here are my findings.. I hope this helps! I'd be happy to try further debuggings, except I couldn't figure out how to attach a debugger to the program (because as previously noted the hang onl

Re: [ANNOUNCEMENT] Updated: uw-imap and c-client 2002e-2

2003-10-14 Thread Patrick Eisenacher
This fixes the problems reported here: http://cygwin.com/ml/cygwin/2003-10/msg00093.html Thank you, Patrick Backus, Abe schrieb: An updated version of the uw-imap-util, uw-imap-imapd, and c-client = packages has been uploaded to the mirror sites. Changes in 2002e-2 since 2002e-1: Updated the REA

Re: Here is code for dirname basename and getline

2003-10-14 Thread Gerrit P. Haase
Hello Vikram, you wrote: > Anyways I have added code for thse three functions incase somebody needs > them > This code is not mine but i thought, incase soembody needs it, he will > have to spent less time on this issue May I ask you were you found the code? I'm searching a tarball of libgen,

Re: rwho in cygwin?

2003-10-14 Thread Christian Joensson
On Tue, Oct 14, 2003 at 10:51:38AM +0200, Corinna Vinschen wrote: > On Tue, Oct 14, 2003 at 10:02:30AM +0200, Christian Joensson wrote: > > Would it be possible/desirable to have the rwho package under cygwin? > > Did you try to build it? Does it work? Are you volunteering as a > package maintai

Re: Gtk+-2.0

2003-10-14 Thread Lapo Luchini
Bhasker C V wrote: Hi the gtk+-2.0 package is available at many places but there is no consolidated effort where things work. I downloaded some packages and corrected them so that they work in my system the tar.bz2 is available - how to upload it so that people can make use of this ? I guess y

Gtk+-2.0

2003-10-14 Thread Bhasker C V
Hi the gtk+-2.0 package is available at many places but there is no consolidated effort where things work. I downloaded some packages and corrected them so that they work in my system the tar.bz2 is available - how to upload it so that people can make use of this ? -- bye Bhasker C V To

Re: cygwin window size

2003-10-14 Thread Thorsten Kampe
* <[EMAIL PROTECTED]> (2003-10-13 23:37 +0200) > I wish that the max size of my cygwin window will be full screen. > currently it is only 3/4 screen. > I do'nt want to use the X - xterm for this purpose because it slows the computer. > Is there a way to config the max cygwin window size ? There

RE: windows to linux cross compiler under cygwin

2003-10-14 Thread Hannu E K Nevalainen
> From: mohanlal jangir > Sent: Tuesday, October 14, 2003 8:52 AM > > I am looking for windows to linux cross compiler under cygwin. I want to > know if any binary distribution available, before I go for building the > tool-chian. I'd use Google, possibly 'concentrating' on sourceforge a bit too..

Re: rwho in cygwin?

2003-10-14 Thread Carlo Florendo
From: "Christian Joensson" > Would it be possible/desirable to have the rwho package under cygwin? Yes. If someone would volunteer to contribute and maintain it. Thanks! Best Regards, Carlo -- Carlo Florendo Astra Philippines Inc. http://www.hq.astra.ph -- Unsubscribe info: htt

  1   2   >