Usually, the 'find ... -exec cmd ...' idiom makes a lot of sense -- it's
faster, one fewer forks (maybe MANY fewer), etc.
However, you sometimes run into troubles with extremely long filelists.
As I did with ncurses (1183 files in the build/ directory) -- and I got
a 'too many files' error fro
Hello,
I cannot use /dev/stdout with a bash-3.2.3-5.
For example, 'echo hi >/dev/stdout' failed.
It works fine after I reverted to bash-3.1-6.
Thanks.
namsh
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentatio
Brian Dessent wrote:
Yuck. Why don't you just use iconv instead?
Cuz, I thought it was only a library? :-?
Cuz I already know windows starts in UCS-2 and know the codepage
for UTF-8 (65001). With iconv, I don't know off the top of my head
where to look for what document that specifies the
I tried your program as is:
~/test> cygthrash
0.000 Before std
0.781 After std
0.828 Result: Tue Nov 14 20:51:52 PST 2006
0.828 After close std
0.000 Before new
0.015 After new
0.062 Result: Tue Nov 14 20:51:52 PST 2006
0.062 After close new
0.000 Before std
0.766 After std
0.797 Resul
On Tue, Nov 14, 2006 at 07:19:21PM -0800, Gordon Prieur wrote:
>Hi,
>
>I've got several questions relating to gdb (as distribited by
>Cygwin.com) for Windows. I'm the team lead for the NetBeans C/C++
>Developer pack (C/C++ support on NetBeans). We're doing a gdb-based
>debug module and I've got s
Hi,
I've got several questions relating to gdb (as distribited by
Cygwin.com) for Windows.
I'm the team lead for the NetBeans C/C++ Developer pack (C/C++ support
on NetBeans).
We're doing a gdb-based debug module and I've got some questions
pertaining to signal
handling and the exception s
Lester Ingber wrote:
Larry:
I couldn't use Cygwin to send an email until after I remamed
cygwin1.dll.new; otherwise cygcheck would not have registered any
cygwin1.dll.
Sounds to me like you had cygwin1.dll loaded by some Cygwin app
while you were installing and that you didn't reboot as reque
Larry:
I couldn't use Cygwin to send an email until after I remamed
cygwin1.dll.new; otherwise cygcheck would not have registered any
cygwin1.dll.
Yes, as the poster after you in this thread noticed, I forgot to add
the cygcheck.out in the first email, so I quickly resent it with the
attachment.
On Tue, Nov 14, 2006 at 02:58:15PM -0800, Brian Dessent wrote:
>Linda Walsh wrote:
>>Right now, to convert an NT text file in UCS-2 format, in bash, I use:
>>
>>mode.com codepage select=65001 reg export hklm\\software hklm-sw.reg5
>>cmd /c type hklm-sw.reg5 > hklm-sw-utf8.txt
>
>Yuck. Why don't yo
Larry Hall (Cygwin) wrote:
Lester Ingber wrote:
I just used setup.exe to upgrade to cygwin-1.5.22-1. I rebooted, and I
got a error that cygwin1.dll could not be found. Under Windows Explorer
I saw /bin/cygwin1.dll.new (no other cygwin1.dll[.] file), so I renamed
it to cygwin1.dll, and now ever
Linda Walsh wrote:
> Right now, to convert an NT text file in UCS-2 format, in bash,
> I use:
>
> mode.com codepage select=65001
> reg export hklm\\software hklm-sw.reg5
> cmd /c type hklm-sw.reg5 > hklm-sw-utf8.txt
Yuck. Why don't you just use iconv instead?
> What ever happened to the UTF-8
Bodger wrote:
How possible would it be to:
1) Install a Cygwin environment into a Thumbdrive, including /home, /usr
etc.
2) With the help of some crafty shell scripts, be available from most
Windows boxes by plugging the thumb drive in and running the environment
from there?
Google much?
Right now, to convert an NT text file in UCS-2 format, in bash,
I use:
mode.com codepage select=65001
reg export hklm\\software hklm-sw.reg5
cmd /c type hklm-sw.reg5 > hklm-sw-utf8.txt
It isn't perfect -- any UCS-2 entries that are not valid UTF-16
won't get converted properly (since they don't
Lester Ingber wrote:
I just used setup.exe to upgrade to cygwin-1.5.22-1. I rebooted, and I
got a error that cygwin1.dll could not be found. Under Windows Explorer
I saw /bin/cygwin1.dll.new (no other cygwin1.dll[.] file), so I renamed
it to cygwin1.dll, and now everything seems to be working O
How possible would it be to:
1) Install a Cygwin environment into a Thumbdrive, including /home, /usr
etc.
2) With the help of some crafty shell scripts, be available from most
Windows boxes by plugging the thumb drive in and running the environment
from there?
Thanx
Julian
--
View this messag
Frank Fesevur wrote:
Linda Walsh wrote:
Yes...it requires installing a separate executable program.
This "add bash prompt" requires no 3rd party binary and
uses programs already included in the cygwin base package.
The installable program also has a bug in that it invokes each
shell window a
Exchange Service from Paypal to e-gold, from StormPay to e-gold, from
Moneybookers to e-gold
SERVICE FEES:
PayPal to E-Gold: 5% - 10%
StormPay to E-Gold: 5% - 10%
Moneybookers to E-Gold: 4%-7%
PayExchange.net
www.PayExchange.net
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-s
On 14 November 2006 20:06, Eric Monsler wrote:
> All,
>
> I have installed the xemacs as part of the cygwin setup.
>
> When trying to print from within xemacs, xemacs crashes and fails.
> This occurs either when selecting File->Print... or File->Page Setup.
> The full xemacs output is below.
>
If I set my shell to "/bin/id -a" in /etc/passwd, I'm never able to log
in successfully (I'm sure I typed my password correctly):
C:\cygwin\etc>ssh localhost
[EMAIL PROTECTED]'s password:
Permission denied, please try again.
[EMAIL PROTECTED]'s password:
If I set my shell to "/bin/id", I see th
Arto Stimms wrote:
I would like to run a bash script with a few changes in the environment. I
would expect this to work:
[snip]
As a small example I have tried using these two minimal files
init.sh:
hello () { echo "hello world"; }
alias listdir=ls
script:
hello
listdir
I get
On 14 November 2006 18:30, Brian Kasper wrote:
> Here's the text of my most recent login attempt:
>
> >kasper 509 $ ssh localhost
> >[EMAIL PROTECTED]'s password:
> >Warning: No xauth data; using fake authentication data for X11
> >forwarding.
> >Last login: Tue Nov 14 10:00:34 2006 from 127
I am running cygwin on a Windows 2000 machine.
I would like to run a bash script with a few changes in the environment. I
would expect this to work:
bash --rcfile init.sh script
But it does not seem that bash retain any of the changes I have made in init.sh?
As a small example I have tried
Dave you're right. I forgot to add -r.
Thanks a lot. Your solution work fine.
The problem now is that I should change the Makefile in order to have
two different behaviour in CYGWIN and linux.
The solutions are:
1. use if statements in order to execute different statements on linux
and cygwi
I'm having Perl I/O problems on one machine that keep me from getting
CPAN installations to work. On this machine if I execte:
perl -e 'print `perl -e "require 5; print qq{VER_OK\n}"`;'
from bash there is no output. On all my other machines it prints
VER_OK. ExtUtils::MM_Unix does this t
Thanks for the tips Brian. I have updated my script accordingly but (as
you
guessed) this has made no difference when run via cron. :(
-Original Message-
From: Brian Dessent [mailto:[EMAIL PROTECTED]
Sent: 14 November 2006 11:12
To: cygwin@cygwin.com
Subject: Re: Cron and find
[EMAIL PRO
On Tue Nov 14 15:53:36 2006, Eric Blake ([EMAIL PROTECTED] ) wrote:
> According to Loic Grenie on 11/14/2006 4:12 AM:
>>The subjects says it all: when a process has a large memory space,
>> a popen() triggers a long disk thrashing. The result can clearly be
>> seen iwth the allegated cygtha
Thanks for the tips Brian. I have updated my script accordingly but (as you
guessed) this has made no difference when run via cron. :(
___
Tiscali Unlimited Broadband with FREE weekend calls only 12.99!
http://www.tiscali.co.uk/products/broa
Davin Pearson wrote:
I sent this message to comp.windows.cygwin but received no reply.
I have just installed Cygwin on my Mum's Windows XP Home computer and I
noticed that it rebinds some of the keys, such as
Sorry, but I'm not sure what you mean by "it". What exactly are you
using that has t
I just used setup.exe to upgrade to cygwin-1.5.22-1. I rebooted, and I
got a error that cygwin1.dll could not be found. Under Windows Explorer
I saw /bin/cygwin1.dll.new (no other cygwin1.dll[.] file), so I renamed
it to cygwin1.dll, and now everything seems to be working OK.
Is the postinstall
sorry forgot to mention to put my address in cc since I am not
subscribed to the list
--- Begin Message ---
Brian and Dave,
thank for your answer. I will try both solutions. It seems to me that if
I install binutils-cross, then I could use the same Makefile for Linux
and CygWin. The only chan
I saw a couple of posts mentioning a problem with /bin/sh not being
updated and replaced with a copy of /bin/bash.
I had the same problem here yesterday/today, when I discovered that none
of my #!/bin/sh scripts was working. In fact, they did nothing!
I tried re-installing bash-3.2.3-5, I tried r
Hi,
I have a problem getting a find command which works fine on the command line
to work when run via cron.
The command is:
4 10 * * 1-5 find /cygdrive/d/Apps_v8p4//Bridge/DataFeed/deploy//quotefeed/logs
-type f -name stdout.log\.* -mtime +2 >
/cygdrive/d/Apps_v8p4/Bridge/DataFeed/deploy/bin/te
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Loic Grenie on 11/14/2006 4:12 AM:
>The subjects says it all: when a process has a large memory space,
> a popen() triggers a long disk thrashing. The result can clearly be
> seen iwth the allegated cygtharsh program (running with
[EMAIL PROTECTED] wrote:
> 4 10 * * 1-5 find
> /cygdrive/d/Apps_v8p4//Bridge/DataFeed/deploy//quotefeed/logs
> -type f -name stdout.log\.* -mtime +2 >
> /cygdrive/d/Apps_v8p4/Bridge/DataFeed/deploy/bin/testfind.log
The need for quoting the argument to -name is to keep the shell from
expanding g
Also, I would applogized here thar for submit questions without
reading the release annoucement first.
I reply it for any latter reference.
Regards,
Zhenghui Zhou
2006/11/14, Zhenghui Zhou <[EMAIL PROTECTED]>:
Thanks,
Zhenghui Zhou
2006/11/14, Dave Korn <[EMAIL PROTECTED]>:
> On 14 November
On 14 November 2006 07:40, Zhenghui Zhou wrote:
> When execute makefile through make command, any compile line contains
> the executive operator `(backquote), likes `pkg-config --cflags
> gtk+-2.0`, would result in a compile error, reported by gcc/g++, which
> said ": No such file or directory".
>
Linda Walsh wrote:
Yes...it requires installing a separate executable program.
This "add bash prompt" requires no 3rd party binary and
uses programs already included in the cygwin base package.
The installable program also has a bug in that it invokes each
shell window as a separate user login,
Yes...it requires installing a separate executable program.
This "add bash prompt" requires no 3rd party binary and
uses programs already included in the cygwin base package.
The installable program also has a bug in that it invokes each
shell window as a separate user login, breaking the normal
I've made a new version of the Cygwin DLL and associated utilities
available for download. This is a bug fix release. Only one minor
functional change has been made since 1.5.21-1. As usual, a list
of what has changed is below.
To update your installation, click on the "Install Cygwin now" lin
The subjects says it all: when a process has a large memory space,
a popen() triggers a long disk thrashing. The result can clearly be
seen iwth the allegated cygtharsh program (running with 1GB of memory,
change the size of the malloc to roughly half your memory size):
% ./cygthrash
0.
Thanks,
Zhenghui Zhou
2006/11/14, Dave Korn <[EMAIL PROTECTED]>:
On 14 November 2006 07:40, Zhenghui Zhou wrote:
> When execute makefile through make command, any compile line contains
> the executive operator `(backquote), likes `pkg-config --cflags
> gtk+-2.0`, would result in a compile error
On 14 November 2006 09:58, Salvatore D'Angelo wrote:
> In the Dave solution I noticed the size of final image is 528 instead of
> 512 (the size of the bootsector) as in Linux. Why?
Seems like your bootsect.out ended up containing __CTOR_LIST__ and
__DTOR_LIST__. Are you /absolutely/ sure you
Brian and Dave,
thank for your answer. I will try both solutions. It seems to me that if
I install binutils-cross, then I could use the same Makefile for Linux
and CygWin. The only change should be
LD=...
AS=...
I tried to install this package from Internet setup, but I do not find
it. I se
> -Original Message-
> From: Corinna Vinschen
> Sent: Wednesday, October 18, 2006 10:28 AM
> To: cygwin@cygwin.com
> Subject: Re: mount usb drive for all user
>
> On Oct 16 17:01, [EMAIL PROTECTED] wrote:
> > After the USB-Drive is connected I could cd to the root
> directory of
> > th
44 matches
Mail list logo