Re: putting cygwin *installation* on CD

2005-01-20 Thread Joshua Daniel Franklin
On Fri, 21 Jan 2005 01:33:07 -0500, Chad J McQuinn wrote: > I'm try to put a cygwin installation (not the installer; a full-blown > installation) on CD. The basic idea is that I want to set up cygwin, > put it on CD, and then by means of a batch file, have that CD act as a > portable cygwin install

Re: cygwin bughunt (FAQ alert?)

2005-01-20 Thread Joshua Daniel Franklin
On Thu, 20 Jan 2005 19:24:03 -0500, Christopher Faylor wrote: > However, oops, this means that the advice of using a snapshot shouldn't > go into the FAQ since this isn't a permanent arrangement. Well, how about this then: I may have found a bug in Cygwin, how can I debug it (the symbols in gdb

putting cygwin *installation* on CD

2005-01-20 Thread Chad J McQuinn
Hi, I'm try to put a cygwin installation (not the installer; a full-blown installation) on CD. The basic idea is that I want to set up cygwin, put it on CD, and then by means of a batch file, have that CD act as a portable cygwin installation. I've got most of it worked out, including mounting

Hangs in fopen() in multi-threaded app

2005-01-20 Thread Brian C. Wiles
I am writing an app that for the most part uses only one thread but creates a temporary thread once in a while to generate reports and email them. The problem is when the second thread attempts to fopen() a file for writing, it hangs. The main thread continues to run until the next time it

bug in cygwin ?

2005-01-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When compiling coreutils/src/stty.c, I got a warning from this segment: /* ISC renamed swtch to susp for termios, but we'll accept either name. */ #if defined(VSUSP) && !defined(VSWTCH) # define VSWTCH VSUSP # define CSWTCH CSUSP #endif #if defined(V

RE: cygwin bughunt

2005-01-20 Thread Gary R. Van Sickle
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of David Dindorp > Sent: Thursday, January 20, 2005 1:13 PM > To: Cygwin List > Subject: Re: cygwin bughunt > > Larry Hall wrote: > > > I have the following suggestions/questions: > > > 1. Did you try

file name inconsistencies

2005-01-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First off, I knew that Windows does not allow trailing '.' in filenames (or rather, it strips them). But until today, I did not know that trailing spaces are also stripped. It would be nice if this were documented in the FAQ, maybe as an addition to

Re: cron problems with windows 2003 server

2005-01-20 Thread Pierre A. Humblet
On Thu, Jan 20, 2005 at 05:57:27PM -0800, Jay Patel wrote: > CYGWIN_NT-5.2 hal 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown > unknown Cygwin > > Logged in as Administrator I have installed the cron service with: > cygrunsrv -I cron -p /usr/sbin/cron -a '-D' -e CYGWIN="tty ntsec > binmode" -d

cron problems with windows 2003 server

2005-01-20 Thread Jay Patel
CYGWIN_NT-5.2 hal 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown unknown Cygwin Logged in as Administrator I have installed the cron service with: cygrunsrv -I cron -p /usr/sbin/cron -a '-D' -e CYGWIN="tty ntsec binmode" -d "CYGWIN cron" The process is running, but my cron jobs for Administrat

Re: update on hyperthreading system for cgf

2005-01-20 Thread Christopher Faylor
On Wed, Jan 19, 2005 at 09:16:51PM -0800, David Christensen wrote: >Christopher Faylor wrote: >> Hasn't anyone put together a nice $400 system? > >How about $417.50? > > http://secure.newegg.com/app/WishR.asp?ID=1251752 > > >You need to provide the hard drive, CD-ROM drive, floppy drive, key

Re: Can g++ DLLs and main program share variables?

2005-01-20 Thread Igor Pechtchanski
On Thu, 20 Jan 2005, svoboda wrote: > Thanks for the help re building DLL's with g++. I have DLLs which I > can build and link with my main code. But the DLLs seem to have > separate variables...how do I load a DLL so that it uses the same > 'namespace' as my main code? > > Here is a simple exampl

Re: cygwin bughunt (FAQ alert?)

2005-01-20 Thread Christopher Faylor
On Fri, Jan 21, 2005 at 12:56:14AM +0100, David Dindorp wrote: >David Dindorp wrote: >>Tracking it down with GDB to cygwin_split_path() : 0x61073e06 was easy. > >Christopher Faylor wrote: >>Since cygwin isn't built with debugging symbols, the symbols that you >>do see in gdb are basically meaningle

Re: cygwin bughunt (FAQ alert?)

2005-01-20 Thread David Dindorp
David Dindorp wrote: > Tracking it down with GDB to cygwin_split_path() : 0x61073e06 was easy. Christopher Faylor wrote: > Since cygwin isn't built with debugging symbols, the symbols that you do > see in gdb are basically meaningless. Isn't there any way to compile the debugging symbols into a s

Can g++ DLLs and main program share variables?

2005-01-20 Thread svoboda
Thanks for the help re building DLL's with g++. I have DLLs which I can build and link with my main code. But the DLLs seem to have separate variables...how do I load a DLL so that it uses the same 'namespace' as my main code? Here is a simple example I've built up. The main function calls the hel

Re: cygwin bash shell window can't open

2005-01-20 Thread Larry Hall
At 04:46 PM 1/20/2005, you wrote: >Thanks! > >When open DOS prompt first. Then type: >E:\cygwin\cgywin.bat > >Cygwin runs correctly. No complain. If that's the case then maybe the link on your desktop is bad somehow. Recreate one by dragging from the explorer the cygwin.bat file onto your deskto

Re: any fix for the c-c and backspace problem with emacs on cygwin.

2005-01-20 Thread Larry Hall
At 04:38 PM 1/20/2005, you wrote: >In both ssh sessions and working with cygwin locally, hitting backspace in >emacs >issues a c-h, the help command. In the local sessions of cygwin only, not >working on remote servers, c-c does not work. It does work over ssh. I do have >the cygwin termcap entr

Re: cygwin bughunt (FAQ alert?)

2005-01-20 Thread Pierre A. Humblet
On Thu, Jan 20, 2005 at 12:47:33PM -0800, Joshua Daniel Franklin wrote: > > Sure, how about this: > > I've found a bug in Cygwin, how can I debug it? > > Debugging symbols are stripped from distibuted Cygwin binaries, so any > symbols that you > see in gdb are basically meaningless. It is also a

make-3.80: Unpatched patchable bugs in cygwin

2005-01-20 Thread Stephen Warren
Hi. I recently hit a bug in the latest version of make-3.80 that's distributed by Cygwin. This bug, or something closely related has been reported to the cygwin list a couple of times before: http://sources.redhat.com/ml/cygwin/2004-09/msg01659.html http://sources.redhat.com/ml/cygwin/2003-12/ms

Re: cygwin bash shell window can't open

2005-01-20 Thread Yu Sun
Thanks! When open DOS prompt first. Then type: E:\cygwin\cgywin.bat Cygwin runs correctly. No complain. Try cygcheck -srv got: (Notice that there is "Warning: There are multiple cygwin1.dlls on your path", could this be a problem?) YU Cygwin Configuration Diagnostics Current System Time:

any fix for the c-c and backspace problem with emacs on cygwin.

2005-01-20 Thread Sean McMahon
In both ssh sessions and working with cygwin locally, hitting backspace in emacs issues a c-h, the help command. In the local sessions of cygwin only, not working on remote servers, c-c does not work. It does work over ssh. I do have the cygwin termcap entry on the remote server. backspacing als

Re: cygwin bughunt (FAQ alert?)

2005-01-20 Thread Christopher Faylor
On Thu, Jan 20, 2005 at 04:29:36PM -0500, Igor Pechtchanski wrote: >On Thu, 20 Jan 2005, Joshua Daniel Franklin wrote: > >> > On Thu, Jan 20, 2005 at 08:12:31PM +0100, David Dindorp wrote: >> > >Tracking it down with GDB to cygwin_split_path() : 0x61073e06 was easy. >> > >> On Thu, 20 Jan 2005 15:0

Re: cygwin bughunt (FAQ alert?)

2005-01-20 Thread Igor Pechtchanski
On Thu, 20 Jan 2005, Joshua Daniel Franklin wrote: > > On Thu, Jan 20, 2005 at 08:12:31PM +0100, David Dindorp wrote: > > >Tracking it down with GDB to cygwin_split_path() : 0x61073e06 was easy. > > > On Thu, 20 Jan 2005 15:04:55 -0500, Christopher Faylor wrote: > > Since cygwin isn't built with d

Re: cygwin bughunt (FAQ alert?)

2005-01-20 Thread Christopher Faylor
On Thu, Jan 20, 2005 at 12:47:33PM -0800, Joshua Daniel Franklin wrote: >> On Thu, Jan 20, 2005 at 08:12:31PM +0100, David Dindorp wrote: >> >Tracking it down with GDB to cygwin_split_path() : 0x61073e06 was easy. >> >On Thu, 20 Jan 2005 15:04:55 -0500, Christopher Faylor wrote: >> Since cygwin is

Re: cygwin bash shell window can't open

2005-01-20 Thread Larry Hall
At 04:04 PM 1/20/2005, you wrote: >Hi, cygwin users, > >I downloaded and installed cygwin in my window xp machine. When click >Cygwin icon on the desktop, Cygwin window opened but in less than 1 >second, it closed automatically. > >I have installed Cygwin in other machine before. No such problems.

cygwin bash shell window can't open

2005-01-20 Thread Yu Sun
Hi, cygwin users, I downloaded and installed cygwin in my window xp machine. When click Cygwin icon on the desktop, Cygwin window opened but in less than 1 second, it closed automatically. I have installed Cygwin in other machine before. No such problems. Can anyone help me to solve this problem

Re: cygwin bughunt (FAQ alert?)

2005-01-20 Thread Joshua Daniel Franklin
> On Thu, Jan 20, 2005 at 08:12:31PM +0100, David Dindorp wrote: > >Tracking it down with GDB to cygwin_split_path() : 0x61073e06 was easy. > On Thu, 20 Jan 2005 15:04:55 -0500, Christopher Faylor wrote: > Since cygwin isn't built with debugging symbols, the symbols that you do > see in gdb are ba

RE: bash not functional on laptop with wireless (VPN) connection

2005-01-20 Thread Browning, Jeff
All: Moving my home directory to a local directory (I used /home/browning) fixed the problem. Thanks. Regards, Jeff -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 3:04 PM To: Browning, Jeff Cc: cygwin@cygwin.com Subject: RE: bash n

Re: cygwin bughunt (FAQ alert?)

2005-01-20 Thread Christopher Faylor
On Thu, Jan 20, 2005 at 08:12:31PM +0100, David Dindorp wrote: >Larry Hall wrote: > >> I have the following suggestions/questions: > >> 1. Did you try a Cygwin 1.5.12 or even a snapshot? > >No. I'm using 1.5.10, and it still smells *real* fresh, I think ;-). > >Also, the problem only occurs on a

RE: home directory

2005-01-20 Thread Molle Bestefich
Keith Green wrote: > "The Sun will pass between the Earth and the Moon tonight for a total > Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT The universe do not work that way! Goodnight! --Molle === Morbo (shouting): "Windmills do not work that way! Goodnight!" -- Futurama

Re: cygwin bughunt

2005-01-20 Thread David Dindorp
Larry Hall wrote: > I have the following suggestions/questions: > 1. Did you try a Cygwin 1.5.12 or even a snapshot? No. I'm using 1.5.10, and it still smells *real* fresh, I think ;-). Also, the problem only occurs on a customer system which unfortunately I can't go around and upgrade all th

RE: home directory

2005-01-20 Thread Green, Keith
BTW, this is an easy enough problem to 'fix'. I just tell it to cd /home/kgreen at the end of .bashrc . That works fine. But I shouldn't have to do this. k > > BUT ... when I double click on icon (cygwin.bat), it keeps > bringing me > > up in /usr/bin. > > I've tried disabling ~/.bashrc and ~/

RE: home directory

2005-01-20 Thread Green, Keith
> On Wed, 19 Jan 2005, Green, Keith wrote: > > > New problem. Never had this one before. > > In Windows, I define the HOME variable to C:\etc. > > > > However, my cygwin.bat file reads > >@echo off > >set HOME=/home/kgreen (also tried set > HOME=H:\cygwin\home\kgreen ) > >H: > >

Re: Couple of scripts to remove duplicate packages

2005-01-20 Thread Christopher Faylor
On Thu, Jan 20, 2005 at 08:48:11AM -0500, Jonathan Arnold wrote: >Igor Pechtchanski wrote: >>On Wed, 19 Jan 2005, Alex wrote: >> >>>Hi, >>>I have a habit of keeping cygwin packages on my computer and updating >>>them from time to time using setup.exe. This saves me time when I need >>>to install on

Re: How do I get an old version of cygwin?

2005-01-20 Thread Christopher Faylor
On Thu, Jan 20, 2005 at 12:54:37PM -, Dave Korn wrote: >> -Original Message- >> From: cygwin-owner On Behalf Of Adrian Cox >> Sent: 20 January 2005 09:48 > >> On Wed, 2005-01-19 at 10:06 -0800, Yitzchak Scott-Thoennes wrote: >> >> > Gets kind of old to hear this "debated" over and over

Re: cygwin bughunt

2005-01-20 Thread Larry Hall
At 12:08 PM 1/20/2005, you wrote: >Does no-one have any information on this? Apparently not. ;-) I have the following suggestions/questions: 1. Did you try a Cygwin 1.5.12 or even a snapshot? 2. Is this a local debug build of Cygwin or stock 1.5.10. If the latter, you might find bui

Re: Technical support

2005-01-20 Thread Lionel B
"Cynthia Martinez Cisneros" wrote in message news:[EMAIL PROTECTED] > Hello, my name is Cynthia and I'd like to know if installing cygwin is > gonna cause any trouble to my pc, my system is WindowsXp. I need > cygwin in order to install ASITIC, could you help me? Cynthia, when you got your pc did

Re: Using rsync to sync to NTFS: permission issues

2005-01-20 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Warren Young wrote: > If you don't compress the tar file, > there's a nonzero chance that rsync can still save some I/O when > synchronizing after the first copy. There's a quite high chance that it would transfer only the modified bytes with some mar

Re: Technical support

2005-01-20 Thread Corinna Vinschen
On Jan 20 11:07, Cynthia Martinez Cisneros wrote: > Hello, my name is Cynthia and I'd like to know if installing cygwin is > gonna cause any trouble to my pc, my system is WindowsXp. I need > cygwin in order to install ASITIC, could you help me? Honestly, are you expecting us to create and maintai

Re: Technical support

2005-01-20 Thread David Dindorp
From what I've seen, it's a very clean install, also easily removable. It might mess up existing applications which use cygwin though. To see if you've got any such you could try and scan your harddrive for "cygwin1.dll", or check the registry for the existance of these keys: HKEY_LOCAL_MACHINE/S

cygwin bughunt

2005-01-20 Thread David Dindorp
Does no-one have any information on this? Have I failed to follow the cygwin.com posting guidelines properly? Too little information? Help! :-) Regards /david -Original Message- Hi I need some information on how to debug Cygwin processes. We have a partially cygwin-based project, w

Technical support

2005-01-20 Thread Cynthia Martinez Cisneros
Hello, my name is Cynthia and I'd like to know if installing cygwin is gonna cause any trouble to my pc, my system is WindowsXp. I need cygwin in order to install ASITIC, could you help me? Sincerely Cynthia Martinez -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem repo

RE: bash not functional on laptop with wireless (VPN) Connection

2005-01-20 Thread Lino Miguel Martins Tinoco
Cisco VPN Client has a built-in firewall. Open VPN Client and uncheck Options -> Stateful Firewall (Always On). HTW, --Lino Tinoco -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/doc

Re: pdksh not setting $? with exit status of commands

2005-01-20 Thread David Kramer
Igor Pechtchanski cs.nyu.edu> writes: > > Cygwin Configuration Diagnostics > > Current System Time: Wed Jan 19 16:13:42 2005 > > > > Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 > > [snip] > > Found: C:\cygwin\bin\grep.exe > > Found: c:\SFU\common\grep.exe > > Warning: C:\cygwin\bin\g

Re: mt: DDS-3 density unknown

2005-01-20 Thread Corinna Vinschen
On Jan 20 13:30, Walter Haidinger wrote: > On Thu, 20 Jan 2005, Corinna Vinschen wrote: > > > thanks for the patch, but I'm not exactly happy with it. It removes > > some density codes, e.g. 0x32 and 0x36, and it removes some information > > by replacing strings. For instance, "MLR3 (SLR 50)" is

Re: update on hyperthreading system for cgf

2005-01-20 Thread Reid Thompson
David Christensen wrote: Christopher Faylor wrote: Hasn't anyone put together a nice $400 system? How about $417.50? http://secure.newegg.com/app/WishR.asp?ID=1251752 You need to provide the hard drive, CD-ROM drive, floppy drive, keyboard, mouse, and operating system. David -- Unsubscr

Re: Couple of scripts to remove duplicate packages

2005-01-20 Thread Jonathan Arnold
Igor Pechtchanski wrote: On Wed, 19 Jan 2005, Alex wrote: Hi, I have a habit of keeping cygwin packages on my computer and updating them from time to time using setup.exe. This saves me time when I need to install on another computer. This creates a problem of old versions of packages accumulating

Re: looking for shell program to retrieve property info from windows files

2005-01-20 Thread Jason Tishler
Igor, On Wed, Jan 19, 2005 at 03:19:35PM -0500, Igor Pechtchanski wrote: > On Wed, 19 Jan 2005, Jason Tishler wrote: > > On Tue, Jan 18, 2005 at 07:15:09PM -0500, Jaye Speaks wrote: > > > does anyone know of a shell program to retrieve the property info > > > from windows files. I need info like

RE: a standard place to get cygwin

2005-01-20 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Green, Keith > Sent: 19 January 2005 21:44 > Also, it turns out there was indeed a cygwin1.dll loaded with xgobi > (an app I only used a short while and then forgot about). > > k So how about retracting some of those over-hasty

RE: How do I get an old version of cygwin?

2005-01-20 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Adrian Cox > Sent: 20 January 2005 09:48 > On Wed, 2005-01-19 at 10:06 -0800, Yitzchak Scott-Thoennes wrote: > > > Gets kind of old to hear this "debated" over and over again > when it's > > clear that the developers are not interest

Re: Sharing zsh history in cygwin.

2005-01-20 Thread Andrew Markebo
A quick note, it works in zsh 4.2.3 compiled on linux. No changes. /Andy -- The eye of the beholder rests on the beauty! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.htm

Re: mt: DDS-3 density unknown

2005-01-20 Thread Walter Haidinger
On Thu, 20 Jan 2005, Corinna Vinschen wrote: > thanks for the patch, but I'm not exactly happy with it. It removes > some density codes, e.g. 0x32 and 0x36, and it removes some information > by replacing strings. For instance, "MLR3 (SLR 50)" is replaced by > "AIT-1 or MLR3", which drops the "SL

Sharing zsh history in cygwin.

2005-01-20 Thread Andrew Markebo
Anyone managed to share command line history between running zsh's in latest cygwin's? In old times I have done it, unfortunetaly bad tracking when I lost it. (Cywgin & zsh 4.2) (think it works with Linux-compiled zsh, doublechecking) Mainly my sharing is decided by: # History ##

Re: mt: DDS-3 density unknown

2005-01-20 Thread Corinna Vinschen
Hi Walter, On Jan 20 12:10, Walter Haidinger wrote: > Corinna Vinschen wrote: > > I'm sorry but I just don't know all the density codes. If you think > > that's important (or even fun), why not create a patch which adds the > > bulk? I'll happily incorporate them in a new version of mt. > > H

Re: mt: DDS-3 density unknown

2005-01-20 Thread Walter Haidinger
Hi! Corinna Vinschen wrote: > I'm sorry but I just don't know all the density codes. If you think > that's important (or even fun), why not create a patch which adds the > bulk? I'll happily incorporate them in a new version of mt. Here is the simple patch vs mt-2.3-1 which adds some density

Re: How do I get an old version of cygwin?

2005-01-20 Thread Corinna Vinschen
On Jan 20 09:47, Adrian Cox wrote: > On Wed, 2005-01-19 at 10:06 -0800, Yitzchak Scott-Thoennes wrote: > > > Gets kind of old to hear this "debated" over and over again when it's > > clear that the developers are not interested in the work involved. > > > > Time for a cygwin-multi-versions (moder

Re: cygwin programs called from non-cygwin programs mauling \" in args

2005-01-20 Thread Corinna Vinschen
On Jan 20 01:41, Yitzchak Scott-Thoennes wrote: > On Thu, Jan 20, 2005 at 10:26:13AM +0100, Corinna Vinschen wrote: > > Yitzchak, > > > > On Jan 19 15:34, Yitzchak Scott-Thoennes wrote: > > > > $ ./nocygparent cygchild > > > > [a\b"c] > > > > > > Can anybody else confirm this? > > > > I can. I

Re: How do I get an old version of cygwin?

2005-01-20 Thread Adrian Cox
On Wed, 2005-01-19 at 10:06 -0800, Yitzchak Scott-Thoennes wrote: > Gets kind of old to hear this "debated" over and over again when it's > clear that the developers are not interested in the work involved. > > Time for a cygwin-multi-versions (moderated?) list? cygwin-licensing > was very succe

Re: cygwin programs called from non-cygwin programs mauling \" in args

2005-01-20 Thread Yitzchak Scott-Thoennes
On Thu, Jan 20, 2005 at 10:26:13AM +0100, Corinna Vinschen wrote: > Yitzchak, > > On Jan 19 15:34, Yitzchak Scott-Thoennes wrote: > > > $ ./nocygparent cygchild > > > [a\b"c] > > > > Can anybody else confirm this? > > I can. I already had a look into this. Wonderful! Thanks a lot! > The comm

Re: _beginthreadex

2005-01-20 Thread Corinna Vinschen
On Jan 19 22:00, Gary R. Van Sickle wrote: > Corinna Vinschen wrote: > > Or even better, use posix threads. > > This sort of begs the question: is it actually safe to use CreateThread() et > al when you're linking to Cygwin's CRT, or are you asking for trouble? I'm > pretty sure I know the answer

Re: cygwin programs called from non-cygwin programs mauling \" in args

2005-01-20 Thread Corinna Vinschen
Yitzchak, On Jan 19 15:34, Yitzchak Scott-Thoennes wrote: > > $ ./nocygparent cygchild > > [a\b"c] > > Can anybody else confirm this? I can. I already had a look into this. The command line handling in Cygwin is different from the command line handling in MingW or, FWIW, VC++ CLI applications.

Re: cygwin programs called from non-cygwin programs mauling \" in args

2005-01-20 Thread Yitzchak Scott-Thoennes
On Wed, Jan 19, 2005 at 09:08:13PM -0600, Gary R. Van Sickle wrote: > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Yitzchak Scott-Thoennes > > Sent: Wednesday, January 19, 2005 5:34 PM > > To: cygwin@cygwin.com > > Subject: Re: cygwin progr