Re: create installation using installed.db

2005-04-25 Thread Brian Dessent
Hans Horn wrote: > I'd like to create a distribution media that allows my group to do custom > offline installations of cygwin. > I want this distribution to contain EXACTLY what is currently installed on a > master machine, plus ALL the corresponding src packages. > > Now, I know that I can have

Re: create installation using installed.db

2005-04-25 Thread Hans Horn
Joshua Daniel Franklin wrote: > On 4/24/05, Hans Horn wrote: >> I'd like to create a distribution media that allows my group to do >> custom offline installations of cygwin. >> I want this distribution to contain EXACTLY what is currently >> installed on a master machine, plus ALL the corresponding

Re: crash - cygheap - longjmp

2005-04-25 Thread Hans Horn
Brian, my max paging file size is 1.5GByte. While I was running the offending script, I was watching the current paging file size in the task manager. It is rock-solid at around 590MByte and doesn't even change when the script barfs as I'd described in my orig. posting! Insufficient paging fil

Re: system() fails on pristine Windows systems

2005-04-25 Thread Brian Dessent
Archie Warnock wrote: > > You could fork() and exec(), or just call one of the spawn() family of > > functions. This is all open source you know, you could look and see how > > system() is implemented in winsup/cygwin/syscalls.cc. > > I'll have to look and see there. The fork()/exec()/spawn() f

Re: system() fails on pristine Windows systems

2005-04-25 Thread Archie Warnock
Archie Warnock wrote: >>The path is irrelevent because it's called as "/bin/sh -c cmd", and the >>location of /bin is taken from the mount table. On your systems without > > Ummm... are you saying that I have a Cygwin mount table outside of Cygwin? Ahh... I see it now. Thanks for the pointer.

Re: cygrunsrv

2005-04-25 Thread Karl M
Hi Brian... Installing the service as a specific user works, and I have used it that way for a long time. However, to do that I add rights to the users to log on as a service. Given that there has been questions from time to time about what rights and how to set them, I wondered if giving cygrun

Re: system() fails on pristine Windows systems

2005-04-25 Thread Archie Warnock
Brian Dessent wrote: > That is how system() works on every unix platform: "/bin/sh -c %s" Yep. Got it. > You could fork() and exec(), or just call one of the spawn() family of > functions. This is all open source you know, you could look and see how > system() is implemented in winsup/cygwin/sy

Re: system() fails on pristine Windows systems

2005-04-25 Thread Archie Warnock
René Berber wrote: > I don't know if it works but I would try to use popen(), there's also > exec() and all it's relatives. I'll try popen. I'm not inclined to use anything from exec or spawn - I don't want to replace the program. I just need to run an external program and read the results back

Re: system() fails on pristine Windows systems

2005-04-25 Thread Brian Dessent
Archie Warnock wrote: > Hmmm... you're right. Thanks. I was hoping the mention of /bin/sh was > more figurative - ie, just _a_ command interpreter. Guess not, eh? That is how system() works on every unix platform: "/bin/sh -c %s" > So, what would be the right way to call an external program

Re: system() fails on pristine Windows systems

2005-04-25 Thread =?ISO-8859-1?Q?Ren=E9_Berber?=
Archie Warnock wrote: [snip] > So, what would be the right way to call an external program from a > Cygwin program without installing Cygwin, if not system()? I don't know if it works but I would try to use popen(), there's also exec() and all it's relatives. > I also find it somewhat puzzling t

Re: system() fails on pristine Windows systems

2005-04-25 Thread Archie Warnock
René Berber wrote: > Yes, you are missing something really simple... have you seen the man > page for system()? Of course not, "Use `system' to pass a command > string `*S' to `/bin/sh'..." Hmmm... you're right. Thanks. I was hoping the mention of /bin/sh was more figurative - ie, just _a_ c

Re: create installation using installed.db

2005-04-25 Thread Joshua Daniel Franklin
On 4/24/05, Hans Horn wrote: > I'd like to create a distribution media that allows my group to do custom > offline installations of cygwin. > I want this distribution to contain EXACTLY what is currently installed on a > master machine, plus ALL the corresponding src packages. Sounds like you want

Re: installation

2005-04-25 Thread Larry Hall
At 05:43 PM 4/25/2005, you wrote: >Ýf we select "default" packages they are only about 13 >Mbyte.Ýs it right?This package size seems too little >for installation.Is there a problem here? If by "select "default"" you mean that you don't make make any changes at the "Select Packages" page, then yo

Re: system() fails on pristine Windows systems

2005-04-25 Thread =?ISO-8859-1?Q?Ren=E9_Berber?=
Archie Warnock wrote: [snip] > It seems obvious to me that system() is not finding a command > interpreter on the machine, Exactly! > although they are correctly listed in the > path for the command window. Am I missing something really stupid that > needs to be included in the distribution or s

Re: scp/ssh between two cygwin installations very slow

2005-04-25 Thread Bernhard Ege
Christopher Faylor wrote: On Mon, Apr 25, 2005 at 09:45:56PM +0200, Bernhard Ege wrote: Bernhard Ege wrote: I am trying to copy an 800MB file from my pc to my laptop. The pc has cygwin and cygwins sshd running and from the laptop I use the scp command to copy the file. Result: 190kB/s with low (

installation

2005-04-25 Thread Ergun UYAR
Ýf we select "default" packages they are only about 13 Mbyte.Ýs it right?This package size seems too little for installation.Is there a problem here? Secondly,if there is no problem with the size of default packages,how will I install downloaded part?There is no installation icon in the file that

CDDB and DiscID for Python

2005-04-25 Thread Jeffrey Barish
I am trying to install CDDB and DiscID so that I can import them into Python. Following the directions for win32, I put CDDB.py, DiscID.py, win32/cdrom.py, and win32/mci.dll in /lib/python2.4/site-packages. import CDDB works fine, but import DiscID produces the error ImportError: dlopen, Win21er

system() fails on pristine Windows systems

2005-04-25 Thread Archie Warnock
Hi all, I've been through the FAQ and 2 years worth of archives, trying every trick I could find there, but I cannot make this work. I have a program which calls Cygwin's system() function. It works reliably from the Windows command line (outside of Cygwin) on machines that have Cygwin installed

Re: crash - cygheap - longjmp

2005-04-25 Thread Brian Dessent
Hans Horn wrote: > c:\cygwin\bin\bash.exe (1104): *** couldn't map space for new cygheap, Win32 > error 1455 $ net helpmsg 1455 The paging file is too small for this operation to complete. > c:\cygwin\bin\bash.exe (4060): *** couldn't create signal pipe, Win32 error > 1816 $ net helpmsg 1816

Re: cygrunsrv

2005-04-25 Thread Brian Dessent
Karl M wrote: > In testing out my keychain service on a new XP system, I was thinking about > all of the questions > that have shown up on the [EMAIL PROTECTED] list in the past about launching a > service from a user-id other than SYSTEM. And...I was wondering how you(s) > felt about adding the a

Re: eclipse on cygwin/x

2005-04-25 Thread Christopher Faylor
On Mon, Apr 25, 2005 at 03:57:04PM -0400, Levent Yilmaz wrote: >Hi, > >I experience major problems with Eclipse (release 3.0.2 from >eclipse.org) when I use it thru the cygwin/X server (version info for my >cygwin setup is here: http://www.pitt.edu./~sly5/cygcheck.txt). The >program runs normall

eclipse on cygwin/x

2005-04-25 Thread Levent Yilmaz
Hi, I experience major problems with Eclipse (release 3.0.2 from eclipse.org) when I use it thru the cygwin/X server (version info for my cygwin setup is here: http://www.pitt.edu./~sly5/cygcheck.txt). The program runs normally otherwise -- directly on the Linux box or with other X servers (suc

Re: scp/ssh between two cygwin installations very slow

2005-04-25 Thread Christopher Faylor
On Mon, Apr 25, 2005 at 09:45:56PM +0200, Bernhard Ege wrote: >Bernhard Ege wrote: >>I am trying to copy an 800MB file from my pc to my laptop. The pc has >>cygwin and cygwins sshd running and from the laptop I use the scp >>command to copy the file. >> >>Result: 190kB/s with low (1-5%) cpu usage

Re: scp/ssh between two cygwin installations very slow

2005-04-25 Thread Bernhard Ege
Bernhard Ege wrote: I am trying to copy an 800MB file from my pc to my laptop. The pc has cygwin and cygwins sshd running and from the laptop I use the scp command to copy the file. Result: 190kB/s with low (1-5%) cpu usage on both machines. Expected result: at least 2-3MBps with somewhat higher

Re: packages..

2005-04-25 Thread Larry Hall
At 03:05 PM 4/25/2005, you wrote: >Hello! > >I will install cygwin but I need to know which >packages I will download. >to my computer with Cygwin setup helper. > >I want to download a setup file and install it but >there are a lot of packages. > >I dont know which one is solution to my problem.Li

packages..

2005-04-25 Thread Ergun UYAR
Hello! I will install cygwin but I need to know which packages I will download. to my computer with Cygwin setup helper. I want to download a setup file and install it but there are a lot of packages. I dont know which one is solution to my problem.List says: 1-Admin 2-Archive 3-Base 4-Databas

scp/ssh between two cygwin installations very slow

2005-04-25 Thread Bernhard Ege
I am trying to copy an 800MB file from my pc to my laptop. The pc has cygwin and cygwins sshd running and from the laptop I use the scp command to copy the file. Result: 190kB/s with low (1-5%) cpu usage on both machines. Expected result: at least 2-3MBps with somewhat higher cpuusage on both m

RE: Wrong PATH and other env after starting bash

2005-04-25 Thread Dave Korn
Original Message >From: David Balažic >Sent: 25 April 2005 16:39 > Dave Korn artX_good_enough_?_Ximi.com> writes: Sure is, thanks! > I uninstalled cygwin and reinstalled with defaults settings. > The I run the two mk* commands. > Now everything seems to work as it should :-P Hooray

Re: Wrong PATH and other env after starting bash

2005-04-25 Thread David =?utf-8?b?QmFsYcW+aWM=?=
Dave Korn artX_good_enough_?_Ximi.com> writes: > > Original Message > >From: David Balazic > >Sent: 25 April 2005 11:36 > > > "Dave Korn" wrote in message > > David, please read http://cygwin.com/acronyms#PCYMTNQREAIYR, thanks! > > >> If that still doesn't work, you're going to ne

Re: Wrong PATH and other env after starting bash

2005-04-25 Thread Larry Hall
At 03:56 AM 4/25/2005, you wrote: >Dave Korn artimi.com> writes: > >> >> Original Message >> >From: david.balazic >> >Sent: 22 April 2005 16:12 > >> > Besides, now I reinstalled base-passwd and have a good /etc/passwd >> >> No, you don't. If all your files are listed as having group o

Re: ioperm - ioperm.sys is not installed.

2005-04-25 Thread Tony Richardson
"Simon" wrote > Hello, > > Trying to get JTAG working, but am getting parport open error. My IOPERM > output says ioperm is not installed. There is no man page > for ioperm. Can anyone point me in the right direction for getting ioperm > installed? Using "cygcheck -l ioperm" will list the files in

ioperm - ioperm.sys is not installed.

2005-04-25 Thread Simon
Hello, Trying to get JTAG working, but am getting parport open error. My IOPERM output says ioperm is not installed. There is no man page for ioperm. Can anyone point me in the right direction for getting ioperm installed? [EMAIL PROTECTED] ~ $ ioperm Usage: ioperm [--usage] [--help] [-V] [-v]

RE: Wrong PATH and other env after starting bash

2005-04-25 Thread Dave Korn
Original Message >From: David Balazic >Sent: 25 April 2005 11:36 > "Dave Korn" wrote in message David, please read http://cygwin.com/acronyms#PCYMTNQREAIYR, thanks! >> If that still doesn't work, you're going to need to get your cygcheck >> output and post it **as an attachment** to

Re: Wrong PATH and other env after starting bash

2005-04-25 Thread Christopher Faylor
On Mon, Apr 25, 2005 at 12:36:26PM +0200, David Balazic wrote: >"Dave Korn" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] > >>If that still doesn't work, you're going to need to get your cygcheck >>output and post it **as an attachment** to the list; see >>http://cygwin.com/problems

cygrunsrv

2005-04-25 Thread Karl M
Hi All... In testing out my keychain service on a new XP system, I was thinking about all of the questions that have shown up on the [EMAIL PROTECTED] list in the past about launching a service from a user-id other than SYSTEM. And...I was wondering how you(s) felt about adding the ability for c

Re: Trouble starting 'wmaker' on fresh 'cygwin' installation

2005-04-25 Thread Alan Ning
I usually use the command "startx" or "startx.sh" to start wmaker. I have your problem when I update cygwin and the overwrite my startx file. For the XWin line in the startx file, I need to take out the -multiwindow arg. #XWin -multiwindow -clipboard -silent-dup-error & XWin -nodecoration -clipboa

Trouble starting 'wmaker' on fresh 'cygwin' installation

2005-04-25 Thread Mills, John M.
All - I just (Friday-20050423) downloaded and installed a set of Cygwin files into a freshly laundered Win2k PC. Installation went fine, but when I use 'xinit' to start 'wmaker' from my '.xinitrc' I see: 1) normal-looking startup of X11, except for some missing fonts, 2) normal-looking screen w

Re: Wrong PATH and other env after starting bash

2005-04-25 Thread David Balazic
"Dave Korn" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > If that still doesn't work, you're going to need to get your cygcheck > output and post it **as an attachment** to the list; see > http://cygwin.com/problems.html Here it is. begin 666 cygcheck.out M#0I#>6=W:[EMAIL PR

mount -m does not honor -X

2005-04-25 Thread Reini Urban
After setting -X to any mount (/usr/bin in my testcase) mount displays the cygexec option correctly, but mount -m forgets to display the -X switch. compare these results: mount -m | grep "/usr/bin" | sed 's,-f ,-f -X ,' | sh mount mount -m -- Reini Urban http://phpwiki.org/ http://xarch.tu-gr

Rebase dlls not from cygwin

2005-04-25 Thread Selin 428
Hi, i have a problem with rebasing dlls not from cygwin. I like the switch for setting offset so i don't want to use M$ rebase which works for me but cygwins rebase always writes: .dll: skipped because not rebaseable i call it outside of cygwin, but it writes the message for every dll. Am i doi

Re: Wrong PATH and other env after starting bash

2005-04-25 Thread David =?utf-8?b?QmFsYcW+aWM=?=
Dave Korn artimi.com> writes: > > Original Message > >From: david.balazic > >Sent: 22 April 2005 16:12 > > Besides, now I reinstalled base-passwd and have a good /etc/passwd > > No, you don't. If all your files are listed as having group ownership > "mkgroup_l_d", that means that th