Easy? sed syntax

2006-10-25 Thread fergus
Please can anybody help with a simply-stated sed problem? I realise this is not Cygwin-specific, but it is Cygwin-relevant because it is required in order to write a script to mount a portable Cygwin system on any host machine, so I hope it's all right to ask for help here. The problem reduces to:

Re: another cygport bug

2006-10-25 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yaakov S (Cygwin Ports) wrote: > Eric Blake wrote: >>> The check for config_h in cygautoreconf does not work when the >>> line requests a template by a different name, as is the case with >>> coreutils 6.4: >>> >>> $ grep CONFIG_HEADERS coreutils-6.4/

Re: Bash fails to run .bat file with spaces in pathname and argument

2006-10-25 Thread Greg Martyn
Hi Johnathon, This workaround worked for me: $ cmd /c test.bat "hello world" Cheers, Greg Martyn pgpfOZyZeA019.pgp Description: PGP signature

Re: How to go through a company proxy with ssh ?

2006-10-25 Thread DePriest, Jason R.
On 10/25/06, Wynfield Henman <> wrote: I don't know about corkscrew, but some variation of the below which I use may be helpful to you. Regards, Darel Henman -- # Example: ## Get connect (small yet good)

Re: Problem with Cygwin Installation

2006-10-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Champ Mendis on 10/25/2006 6:59 PM: > > I installed Cywin in my Desktop Windows XP SP2 last year. I used gcc > 3.3.3.3 to compile my code. It worked fine and I had more than > 20 of my systems running well. With XP Media Edition, I down

Re: Running a command on cygwin launch

2006-10-25 Thread Larry Hall (Cygwin)
. Reformatted. Wynfield Henman wrote: On 10/26/06, Larry Hall (Cygwin) cygwin com> wrote: ^^^ . Don't feed the spammers. Thanks. Ben Le

RE: device drivers - general info

2006-10-25 Thread Gary R. Van Sickle
> From: George Locke > Sent: Wednesday, October 25, 2006 1:48 PM > Subject: device drivers - general info > > Hi group, > > I am running windows 2k with the most recent Cygwin version > 1.5.21-1, just installed it last week. > > I wish to create a C++ program that communicates with a > windows

Re: igncr vs text mode mounts, performance vs compatibility

2006-10-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Lewis Hyatt on 10/25/2006 1:48 PM: > Below is a patch to shell.c which implements my suggestion (It is just the > output of diff -u, is that OK? The patch is relative to the 3.2-4 version.) I > just modified the open_shell_script() functio

Re: Running a command on cygwin launch

2006-10-25 Thread Wynfield Henman
Larry, at the prompt type: echo $HOME then put the BASH comnmands you want to be executed in the $HOME/.bash_profile file. If there isn't one, make one ( a plain text file with /n line endings). Normally this is were you set enviroment variables, etc. Cheers. On 10/26/06, Larry Hall (Cyg

Re: emacs hangs at start, or sometime later

2006-10-25 Thread Wynfield Henman
Eric, please give us the 1st line of the output of $ emacs --version. Was it downloaded using setup.exe? What OS and version are you using? Thanks. On 10/26/06, Eric Twietmeyer <[EMAIL PROTECTED]> wrote: > Subject: Re: emacs hangs at start, or sometime later > Eric Twietmeyer terrex.com>

Re: How to go through a company proxy with ssh ?

2006-10-25 Thread Wynfield Henman
I don't know about corkscrew, but some variation of the below which I use may be helpful to you. Regards, Darel Henman -- # Example: ## Get connect (small yet good) # wget http://www.taiyo.co.jp/~got

Problem with Cygwin Installation

2006-10-25 Thread Champ Mendis
Hi, I will state my problem in clear text this time. Problem: I installed Cywin in my Desktop Windows XP SP2 last year. I used gcc 3.3.3.3 to compile my code. It worked fine and I had more than 20 of my systems running well. With XP Media Edition, I downloaded Cygwin on 23rd October '06. It

Re: Problem reporting (was 1.5.21-1: CIFS symlinks on network share break Cygwin)

2006-10-25 Thread Christopher Faylor
On Wed, Oct 25, 2006 at 06:28:37PM -0400, Larry Hall (Cygwin) wrote: >Christopher Faylor wrote: >>On Wed, Oct 25, 2006 at 03:07:19PM -0500, DePriest, Jason R. wrote: >>>On 10/25/06, DePriest, Jason R. <> wrote: On 10/25/06, Larry Hall (Cygwin) <> wrote: >Certainly this and quoting raw email

Re: Problem reporting (was 1.5.21-1: CIFS symlinks on network share break Cygwin)

2006-10-25 Thread Larry Hall (Cygwin)
Christopher Faylor wrote: On Wed, Oct 25, 2006 at 03:07:19PM -0500, DePriest, Jason R. wrote: On 10/25/06, DePriest, Jason R. <> wrote: On 10/25/06, Larry Hall (Cygwin) <> wrote: Certainly this and quoting raw email addresses could be offered as guidelines in .

RE: Installing packages from cygwin Command Line

2006-10-25 Thread Thrall, Bryan
DePriest, Jason R. wrote on Wednesday, October 25, 2006 3:01 PM: > On 10/25/06, JZA <> wrote: >> >> Hi everyone, well I have been looking into Cygwin, and I want to >> know if there is a command line tool to install some of this >> packages. > > setup.exe has some command-line switches you can u

Re: 1.5.21-1: CIFS symlinks on network share break Cygwin

2006-10-25 Thread Matthew Woehlke
DePriest, Jason R. wrote: On 10/25/06, Larry Hall (Cygwin) <> wrote: Certainly this and quoting raw email addresses could be offered as guidelines in . Care to offer a patch? The "submitting a patch" guidelines seem to refer to program patches... since this is

Re: Installing packages from cygwin Command Line

2006-10-25 Thread JZA
DePriest, Jason R. wrote: > > On 10/25/06, JZA <> wrote: >> >> Hi everyone, well I have been looking into Cygwin, and I want to know if >> there is a command line tool to install some of this packages. > > setup.exe has some command-line switches you can use to sort of automate > things. > >

Re: Problem reporting (was 1.5.21-1: CIFS symlinks on network share break Cygwin)

2006-10-25 Thread Christopher Faylor
On Wed, Oct 25, 2006 at 03:07:19PM -0500, DePriest, Jason R. wrote: >On 10/25/06, DePriest, Jason R. <> wrote: >>On 10/25/06, Larry Hall (Cygwin) <> wrote: >>> Certainly this and quoting raw email addresses could be offered as >>> guidelines in . Care to offer a >>

Problem reporting (was 1.5.21-1: CIFS symlinks on network share break Cygwin)

2006-10-25 Thread DePriest, Jason R.
On 10/25/06, DePriest, Jason R. <> wrote: On 10/25/06, Larry Hall (Cygwin) <> wrote: > Certainly this and quoting raw email addresses could be offered as > guidelines in . Care to offer a > patch The "submitting a patch" guidelines seem to refer to program patch

Re: Installing packages from cygwin Command Line

2006-10-25 Thread DePriest, Jason R.
On 10/25/06, JZA <> wrote: Hi everyone, well I have been looking into Cygwin, and I want to know if there is a command line tool to install some of this packages. setup.exe has some command-line switches you can use to sort of automate things. Command Line Options: -D --download

Re: 1.5.21-1: CIFS symlinks on network share break Cygwin

2006-10-25 Thread DePriest, Jason R.
On 10/25/06, Larry Hall (Cygwin) <> wrote: Certainly this and quoting raw email addresses could be offered as guidelines in . Care to offer a patch The "submitting a patch" guidelines seem to refer to program patches... since this is only an HTML update, here i

Installing packages from cygwin Command Line

2006-10-25 Thread JZA
Hi everyone, well I have been looking into Cygwin, and I want to know if there is a command line tool to install some of this packages. I wonder if there is something like apt-get for cygwin or maybe is cygget. Anyhow can someone give me input into this. -- View this message in context: http://w

Re: igncr vs text mode mounts, performance vs compatibility

2006-10-25 Thread Lewis Hyatt
> Propose a patch, and I will consider it. In my opinion, it was much > easier to do igncr as an all or none option than it was to parse the first > line and discard \r on a per-file basis, not to mention that all-or-none > is easily configurable so that those of us who WANT literal \r as required

Re: 1.5.21-1: CIFS symlinks on network share break Cygwin

2006-10-25 Thread Matthew Woehlke
Jonathan Lanier wrote: If anyone could direct me to an ftp or http archive of the older Cygwin distributions, it would be much appreciated. Thanks! See: http://www.google.com/search?hl=en&lr=&q=%22cygwin+time+machine%22&btnG=Search Particularly: http://www.fruitbat.org/Cygwin/index.html#cygwi

Re: TOFU (was: 1.5.21-1: CIFS symlinks on network share break Cygwin)

2006-10-25 Thread Matthew Woehlke
DePriest, Jason R. wrote: On 10/24/06, Larry Hall (Cygwin) <> wrote: I'm not sure everyone is paying full attention here. again. Reformatted. The entry just defines TOFU: Text Over, Full-quote Under (or, in the original German, "Text Oben, Fullquote Unten").

RE: 1.5.21-1: CIFS symlinks on network share break Cygwin

2006-10-25 Thread Jonathan Lanier
(PCYMTNQREAIYR, TOFU, grokked; apologies - haven't been on this list for about 9 years...) >> One completely wild guess would be that there is some attribute >> associated with the process that might expose the native symlinks, >> possibly for improved compatibility with SFU/Posix and CIFS; > > C

device drivers - general info

2006-10-25 Thread George Locke
Hi group, I am running windows 2k with the most recent Cygwin version 1.5.21-1, just installed it last week. I wish to create a C++ program that communicates with a windows device driver (for a PCI card that interfaces with external electronics). The maker of the driver has provided a C++ librar

Re: cygwin out of sync with version?

2006-10-25 Thread Joey Officer
Well whether it was due to disk caching or the modification of the script the following were my results, thanks for the tip! modified version: time ./findme.bash 10.65.118. real21m38.537s user11m57.334s sys 7m33.675s original version: time ./findme.bash 10.65.118. real22m0.749s

Re: 1.5.21-1: CIFS symlinks on network share break Cygwin

2006-10-25 Thread Larry Hall (Cygwin)
DePriest, Jason R. wrote: On 10/24/06, Larry Hall (Cygwin) <> wrote: I'm not sure everyone is paying full attention here. again. Reformatted. The entry just defines TOFU: Text Over, Full-quote Under (or, in the original German, "Text Oben, Fullquote Unten").

Re: [ANNOUNCEMENT] Updated [experimental]: bash-3.2-4

2006-10-25 Thread Keith Christian
Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new release of bash, 3.2-4, is now available for experimental use, replacing 3.2-3. Version 3.1-9 remains as the current version for now. PROMISING - for the first time since January, the completion works without duplicating t

Re: SanDisk U3

2006-10-25 Thread Thorsten Kampe
* Newton Robinson (Tue, 24 Oct 2006 20:51:15 -0400) > I see your point. Has anyone created a distribution for a Flash Drive? Has > anyone created a start script that will remount for any Windows system? REM or alternatively "umount -c; umount -uc; umount -A" reg delete "hklm\software\cygnus so

Re: 1.5.21-1: CIFS symlinks on network share break Cygwin

2006-10-25 Thread DePriest, Jason R.
On 10/24/06, Larry Hall (Cygwin) <> wrote: I'm not sure everyone is paying full attention here. again. Reformatted. The entry just defines TOFU: Text Over, Full-quote Under (or, in the original German, "Text Oben, Fullquote Unten"). A combination of top posti

Re: cygwin out of sync with version?

2006-10-25 Thread Joey Officer
I can certainly update the script, and will let you know how it runs... Thanks for the input, joey Brian Dessent wrote: Joey Officer wrote: for i in $( ls *.gz ); do This needlessly forks a subshell process and a /bin/ls process for no apparent reason. For better performan

Re: How to go through a company proxy with ssh ?

2006-10-25 Thread DePriest, Jason R.
On 10/25/06, Teggy P Veerapen <> wrote: Hello, I am trying to figure out how to connect to a remote ssh server (in fact to my home pc which is hosting cygwin/sshd server) with the standard ssh client coming with cygwin and I need to go through my company proxy. ... I have done some search on t

Re: using sshd as a non-administrator: minor issues and an aliasing question

2006-10-25 Thread Thorsten Kampe
* eyalroz (Wed, 25 Oct 2006 03:18:26 -0700 (PDT)) > I just installed cygwin with the sshd package on a machine on which I do not > have admin privileges. The installation of cygwin went fine, and I'm having > (minor) trouble with sshd: > > 1. (minor issue) When I run ssh-host-config I get a pletho

Re: SanDisk U3

2006-10-25 Thread Svend Sorensen
On 10/24/06, Newton Robinson wrote: I see your point. Has anyone created a distribution for a Flash Drive? Has anyone created a start script that will remount for any Windows system? I have seen a couple older posts talking about compressed executables (upx I think), but no follow-ups. I us

Re: cygwin out of sync with version?

2006-10-25 Thread Brian Dessent
Joey Officer wrote: > for i in $( ls *.gz ); do This needlessly forks a subshell process and a /bin/ls process for no apparent reason. For better performance and readability just let the shell do the globbing: for i in *.gz; do Brian -- Unsubscribe info: http://cygwin.com/ml/#uns

How to go through a company proxy with ssh ?

2006-10-25 Thread Teggy P Veerapen
Hello, I am trying to figure out how to connect to a remote ssh server (in fact to my home pc which is hosting cygwin/sshd server) with the standard ssh client coming with cygwin and I need to go through my company proxy. In fact I have happily been using the cygwin/ssh client and cygwin/sshd serv

RE: emacs hangs at start, or sometime later

2006-10-25 Thread Eric Twietmeyer
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Peter Brown > Sent: Thursday, October 19, 2006 10:08 AM > To: cygwin@cygwin.com > Subject: Re: emacs hangs at start, or sometime later > > Eric Twietmeyer terrex.com> writes: > > > > > Wow, quite st

Re: cygwin out of sync with version?

2006-10-25 Thread Joey Officer
Actually, I just found the specific reference under the experimental bash release, I see the notes now. Thanks for the quick response, my script is running as intended, I can actually get some work done today ;) Thanks again, joey Larry Hall (Cygwin) wrote: Joey Officer wrote: I have a scr

Re: cygwin out of sync with version?

2006-10-25 Thread Joey Officer
Larry, Thankyou! That indeed did solve my problem. I did a quick glance in the direction over at cygwin.com but did not see a specific reference to the recent bash release. Do you have a link I could read? Joey Larry Hall (Cygwin) wrote: Joey Officer wrote: I have a script that I run, th

Re: Updated: fontconfig-2.4.1-1

2006-10-25 Thread Matt Seitz
Jan Nieuwenhuizen wrote: The project web page has more details: http://sourceware.org/fontconfig/ . I tried accessing this page and received the following error: Not Found The requested URL /fontconfig/ was not found on this server. Apache/2.0.52 (Red Hat) Server at sourceware.org Port 80 --

Re: cygwin out of sync with version?

2006-10-25 Thread Larry Hall (Cygwin)
Joey Officer wrote: I have a script that I run, the script is: findme.bash: #!/bin/bash for i in $( ls *.gz ); do echo Searching $i zcat -c $i | grep $1 >> searchresults.txt echo Finsihed searching $i , moving on to the next file... done

Re: Running a command on cygwin launch

2006-10-25 Thread Larry Hall (Cygwin)
Ben LeBar wrote: Hi, I was wondering if there was any way to run a command on cygwin either through a batch file while launching cygwin or once launched. I heard that I could use a .batchrc file to do this, so I created one containing the command I wanted executed and put it in my home director

cygwin out of sync with version?

2006-10-25 Thread Joey Officer
I have a script that I run, the script is: findme.bash: #!/bin/bash for i in $( ls *.gz ); do echo Searching $i zcat -c $i | grep $1 >> searchresults.txt echo Finsihed searching $i , moving on to the next file... done Now, this used to w

Re: Running a command on cygwin launch

2006-10-25 Thread Andrew DeFaria
Ben LeBar wrote: Disregard my previous email - I figured out that i needed .bash_profile in my home directory instead of .bashrc Actually you typed .batchrc not .bashrc, which would explain it. .bash_profile get's executed when you "login" whereas .bashrc get's executed when you start bash. So,

[ANNOUNCEMENT] Updated: tar-1.16-1

2006-10-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new release of tar, 1.16-1, is available, replacing 1.15.91-4 as the current version. 1.15.1-4 remains as the previous version. NEWS: = This is a new stable upstream release. This release requires cygwin-1.5.21 or later. A list of changes fro

Re: another cygport bug

2006-10-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Yaakov S (Cygwin Ports) on 10/24/2006 8:24 PM: > > Thanks for the patch; cygautoreconf() and gnome2_autoreconf() are now > fixed in CVS. How about this fix to __list_deps, too, so that the depend action works again? @@ -1121,7 +1121,7 @

GCC-3.4.4-2(exp) problems ? (was Re: Debugging symbols with GDB)

2006-10-25 Thread Angelo Graziosi
Building $ cat hello.c #include int main() { printf("Hello, World!"); return 0; } gcc -g hello.c -o hello with gcc-3.4.4-2 (EXP) causes GDB ignoring the debug symbols: -

Re: Debugging symbols with GDB

2006-10-25 Thread Angelo Graziosi
Christopher Faylor wrote: > Maybe you should be specifying an explicit ".exe" when you build. On Cygwin $ gcc -g hello.c -o hello produces 'hello.exe': $ ls -lrt -rwxr-xr-x 1 Angelo Administrators8873 Oct 25 14:27 hello.exe i.e. the same result of $ gcc -g hello.c -o hello.ex

Re: Bash 3.1.17(8): Scripts on textmode mount get problems with CR characters

2006-10-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://cygwin.com/acronyms/#PPIOSPE - redirecting to the list. According to Bruun, Peter Michael (HP C&I CME OSS CoE) on 10/25/2006 1:18 AM: > Hello Eric, > > Thanks for the thorough explanation. > > Yes, the missing handling of CRLF in `` and $() i

Re: Debugging symbols with GDB

2006-10-25 Thread Christopher Faylor
On Wed, Oct 25, 2006 at 10:15:02AM +0200, Angelo Graziosi wrote: >Try to debug the segment faults of Emacs-cvs buildings I have observed the >following on which I would ask some comment. > > >When one build the following test case with -g option > >$ cat hell

[ANNOUNCEMENT] Updated: lilypond-2.8.7-2

2006-10-25 Thread Jan Nieuwenhuizen
I've made a new version of lilypond available for installation. This is a major new upstream release. For a brief description of this package, and a listing of the files it contains, see http://cygwin.com/packages/lilypond . The project web page has more details: http://sourceware.org/lilypond/

[ANNOUNCEMENT] Updated: fontconfig-2.4.1-1

2006-10-25 Thread Jan Nieuwenhuizen
I've made a new version of fontconfig available for installation. This is new upstream release. For a brief description of this package, and a listing of the files it contains, see http://cygwin.com/packages/fontconfig . The project web page has more details: http://sourceware.org/fontconfig/ .

using sshd as a non-administrator: minor issues and an aliasing question

2006-10-25 Thread eyalroz
I just installed cygwin with the sshd package on a machine on which I do not have admin privileges. The installation of cygwin went fine, and I'm having (minor) trouble with sshd: 1. (minor issue) When I run ssh-host-config I get a plethora of error messages, but they seem mostly harmless, i.e. t

Re: 1.5.21-1: CIFS symlinks on network share break Cygwin

2006-10-25 Thread Corinna Vinschen
On Oct 24 11:08, Jonathan Lanier wrote: > One completely wild guess would be that there is some attribute > associated with the process that might expose the native symlinks, > possibly for improved compatibility with SFU/Posix and CIFS; Cygwin processes are ordinary Win32 processes, just linked a

Debugging symbols with GDB

2006-10-25 Thread Angelo Graziosi
Try to debug the segment faults of Emacs-cvs buildings I have observed the following on which I would ask some comment. When one build the following test case with -g option $ cat hello.c #include int main() { printf("Hello, World!"); return 0;

Re: Running a command on cygwin launch

2006-10-25 Thread Ben LeBar
Disregard my previous email - I figured out that i needed .bash_profile in my home directory instead of .bashrc -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Running a command on cygwin launch

2006-10-25 Thread Ben LeBar
Hi, I was wondering if there was any way to run a command on cygwin either through a batch file while launching cygwin or once launched. I heard that I could use a .batchrc file to do this, so I created one containing the command I wanted executed and put it in my home directory - it didn't work