Dear All,
Please, can someone help me with a running program on
how to read and output to texfile in gcc using c
language.
Best wishes,
Olorunfemi, Temitope
--- Eric Blake <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> According to estech users on 10/22/2005
estech users wrote:
> Please, can someone help me with a running program on
> how to read and output to texfile in gcc using c
> language.
That's off-topic for this mailing list because it's not Cygwin
specific. This is not a list about how to program in C, there are
plenty of those elsewhere.
Kevin Autrey wrote:
I tried the lastest snapshot cygwin.dll - no changes - find still failed.
So, I bit the bullet and re-installed my Cygwin installation. Same
problem: I can't do a 'find' from a top-level /cygdrive/X directory
(and it seems to affect ONLY 'find' when searching from the top
Hello Subversion maintainer,
the subversion client does unfortunately not respect text mounts. Checking out
form a remote repository all text files have unix line endings although they
have the property svn:eol-style set to native. This is a major hassle in a
build environment where also a lot
On Oct 23 20:25, Fernando Barsoba wrote:
> Hi all,
>
> I'm working with raw sockets and I get the following error: `IP_HDRINCL'
> undeclared (first use in this function)
This definition is missing up to 1.5.18 but has been added to Cygwin
in CVS already. Try the latest snapshot from http://cygw
I would like to have on my Windoze desktop an Icon for zsh running under
Cygwin, similar to the standard Cygwin Icon which runs a bash login
shell,
so that I can choose whether to get a window using bash or using zsh.
It works kind of, but I can't get zsh executed as login shell. The BAT
file
inv
Hello,
http://cygwin.mirrors.pair.com/jffs2/mkfs.jffs2 appears to be a Linux
executable. Is there a version for cygwin that runs on a Windows
platform?
Thanks in advance for any help .
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwi
Hi all,
Updating cygwin two days ago revealed two problems with cywings setup.exe
1) corrupted /etc/setup/.lst.gz
setup tries to read the file and stops. The error message in the logfile
did not mention the filename. Deleting the broken file solved the problem
2) insufficent file permissions
On Sun, 23 Oct 2005 17:26:50 -0700, wrote:
>zzapper wrote:
>
>Sometimes it can be hard, especially when you are dealing with both
>Cygwin and non-Cygwin programs, because the quoting rules differ. But
>it is always possible, and I can't believe that there exists a situation
>where you are actua
zzapper wrote:
On Sun, 23 Oct 2005 17:26:50 -0700, wrote:
zzapper wrote:
Sometimes it can be hard, especially when you are dealing with both
Cygwin and non-Cygwin programs, because the quoting rules differ. But
it is always possible, and I can't believe that there exists a situation
wher
zzapper wrote:
> See script below sja.exe is actually in program files, my kludge below was to
> use a mount (rather
> than the short name)
I don't see anything here that necessitates using a mount or 8.3.
> sjaprog="/sqlyog/sja.exe"
sjaprog="/cygdrive/c/program\ files/whatever/sja.exe"
> sja
On Mon, 24 Oct 2005 12:09:41 +0100, wrote:
>One question.. When you were trying with spaces.. Did you try escaping
>the \ ? (as in Program\\ Files)
>I've found this to be necessary at times, though I can't remember an
>instance at the moment.
>Does the command run from the console if you start
zzapper wrote:
On Mon, 24 Oct 2005 12:09:41 +0100, wrote:
One question.. When you were trying with spaces.. Did you try escaping
the \ ? (as in Program\\ Files)
I've found this to be necessary at times, though I can't remember an
instance at the moment.
Does the command run from the console
On Mon, 24 Oct 2005 04:28:37 -0700, wrote:
Whatever I try I get
/usr/local/sbin/jraynersqlzip: line 14: /cygdrive/c/Program\ Files/SQLyog\
Enterprise/sja.exe: No
such file or directory
But a ls is just dandy
ls -l /cygdrive/c/Program\ Files/SQLyog\ Enterprise/sja.exe
-rwx--+ 1 davidr None
zzapper wrote:
On Mon, 24 Oct 2005 04:28:37 -0700, wrote:
Whatever I try I get
/usr/local/sbin/jraynersqlzip: line 14: /cygdrive/c/Program\ Files/SQLyog\
Enterprise/sja.exe: No
such file or directory
But a ls is just dandy
ls -l /cygdrive/c/Program\ Files/SQLyog\ Enterprise/sja.exe
-rwx
On Mon, 24 Oct 2005 13:02:31 +0100, wrote:
>zzapper wrote:
>> On Mon, 24 Oct 2005 04:28:37 -0700, wrote:
>>
>> Whatever I try I get
>>
>> /usr/local/sbin/jraynersqlzip: line 14: /cygdrive/c/Program\ Files/SQLyog\
>> Enterprise/sja.exe: No
>> such file or directory
>>
>> But a ls is just dand
Hi Chris -
I always put "." in the front of my path so that as I'm developing an app,
I always pick up the devel version in my current working directory instead
of /usr/local/bin. I know it's not the most secure thing in the world, but
I'm on a stand-alone, single-user system, so the security
What about editing /etc/passwd? Pesonally, I use customized cygwin.bat.
Václav Hasiman
Com MN PG P E B Consultant 3 wrote:
> I would like to have on my Windoze desktop an Icon for zsh running under
>
> Cygwin, similar to the standard Cygwin Icon which runs a bash login
> shell,
> so that I can
> What about editing /etc/passwd? Pesonally, I use customized
> cygwin.bat.
How exactly would this work? After all, we are talking about Windows
Batch skripts,
don't we? And they are not aware of /etc/passwd.
But maybe I didn't get your point. How do you suggest that I should
modify my /etc/pas
zzapper wrote:
On Mon, 24 Oct 2005 13:02:31 +0100, wrote:
zzapper wrote:
On Mon, 24 Oct 2005 04:28:37 -0700, wrote:
Whatever I try I get
/usr/local/sbin/jraynersqlzip: line 14: /cygdrive/c/Program\ Files/SQLyog\
Enterprise/sja.exe: No
such file or directory
But a ls is just dandy
ls -
Kevin Autrey wrote:
Hi Chris -
I always put "." in the front of my path so that as I'm developing an
app, I always pick up the devel version in my current working directory
instead of /usr/local/bin. I know it's not the most secure thing in the
world, but I'm on a stand-alone, single-user sy
On Mon, 24 Oct 2005 13:49:45 +0100, wrote:
>>
>
>Please attach the script in question verbatim (ie don't edit it) so that
>we can have a look and see what's going on. :)
>Obviously, if there are passwords, or server names, or ip address, you
>can mask those..
>Just don't change the script its
begin 644 jraynersqlzip
M(R$O8FEN+V)A<[EMAIL PROTECTED]"B,@:G)A>6YE7-Q;"!U&4@)RLE9"5B)7DG*0T*;',@+6P@)&1I6]G+W-J
M82YE>&4B#0IS:F%P6]G
M7"!%;G1E&4B#0IS:F%S8W)I<'0](F,Z+V-Y9W=I;B]U
M6YE6YEhttp://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation:
Corinna Vinschen wrote:
On Oct 23 20:25, Fernando Barsoba wrote:
Hi all,
I'm working with raw sockets and I get the following error: `IP_HDRINCL'
undeclared (first use in this function)
This definition is missing up to 1.5.18 but has been added to Cygwin
in CVS already. Try the l
Hi Chris -
At 07:54 10/24/2005 (Monday), you wrote:
Could you paste the current output of mount ?
Sure:
tka-16:/cygdrive/p> mount
D:\CygWIN\bin on /usr/bin type system (binmode)
D:\CygWIN\lib on /usr/lib type system (binmode)
D:\CygWIN on / type system (binmode)
c: on /cygdrive/c type syste
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to zzapper on 10/24/2005 6:56 AM:
Please convince your mailer to send text files with a text mime-type, not
application/octet-stream. Reposting here for convenience:
#!/bin/bash
# jraynersqlzip
# description : backup Mysql using sja.exe
# d
On Oct 20 14:16, Shankar Unni wrote:
> Christopher Faylor wrote:
> >On Thu, Oct 20, 2005 at 04:15:34PM +0200, Christoph Jeksa wrote:
>
> >>Supposed, you have a file X.sh ( exactly in this spelling ). If you
> >>enter:
> >>
> >>vim x.sh ( also exactly in this spelling )
> >>
> >>and write it back
On Oct 24 09:05, Fernando Barsoba wrote:
> Corinna Vinschen wrote:
> >On Oct 23 20:25, Fernando Barsoba wrote:
> >>I'm working with raw sockets and I get the following error: `IP_HDRINCL'
> >>undeclared (first use in this function)
> >
> >This definition is missing up to 1.5.18 but has been added
On Oct 24 14:49, Com MN PG P E B Consultant 3 wrote:
> > What about editing /etc/passwd? Pesonally, I use customized
> > cygwin.bat.
>
> How exactly would this work? After all, we are talking about Windows
> Batch skripts,
> don't we? And they are not aware of /etc/passwd.
>
> But maybe I didn'
On Oct 23 05:45, Johan De Taeye wrote:
>
> My multi-threaded application is creating a lot of
> pthread_rwlock objects to protect access to my objects.
> I am noticing that this doesn't scale up well. As the number
> of active objects being created/changed/deleted increases
> into the thousands, t
Corinna Vinschen wrote:
On Oct 24 14:49, Com MN PG P E B Consultant 3 wrote:
What about editing /etc/passwd? Pesonally, I use customized
cygwin.bat.
How exactly would this work? After all, we are talking about Windows
Batch skripts,
don't we? And they are not aware of /etc/passwd.
But mayb
zzapper wrote:
> /usr/local/sbin/jraynersqlzip: line 14: /cygdrive/c/Program\ Files/SQLyog\
> Enterprise/sja.exe: No
> such file or directory
>
> But a ls is just dandy
There's double quoting now. My email wasn't quite correct, use one or
the other but not both:
foo=/path\ with\ spaces
or
f
Dave Korn artimi.com> writes:
> Report a bug in FRITZ!DSL to avm.de and offer to test the patch for them?
> Cygwin doesn't do anything in the least unusual with sockets, so if their
> LSP breaks cygwin, it must be that cygwin is exposing a bug in their code.
>
> cheers,
> DaveK
Than
$ df -l -h
FilesystemSize Used Avail Use% Mounted on
D:\cygwin\bin 11G 1.6G 8.6G 16% /usr/bin
D:\cygwin\lib 11G 1.6G 8.6G 16% /usr/lib
D:\cygwin 11G 1.6G 8.6G 16% /
c:4.0G 2.6G 1.5G 65%
/cygdrive/c
d: 11
Hi,
I've just installed the latest version of cygwin, that I use to connect
from my WindowsXP laptop to our linux farms at the university. I run
startxwin.bat (as a shortcut from my desktop) and, from the cygwin
terminal window I then jump to wherever I need to. My startxwin.bat is
the defaul
On Fri, 21 Oct 2005, Lemke, Michael IZ/HZA-IOM wrote:
> This is my current mount table:
>
> pc00626> mount -m
> mount -f -s -b "c:/MyStuff/cygwin/bin" "/usr/bin"
> mount -f -s -b "c:/MyStuff/cygwin/lib" "/usr/lib"
> mount -f -s -b "c:/MyStuff/cygwin" "/"
> mount -f -s -t -E "u:" "/u"
> mount -s
On Mon, Oct 24, 2005 at 04:01:36PM +0100, Fabrizio Salvatore wrote:
>I've just installed the latest version of cygwin, that I use to connect
>from my WindowsXP laptop to our linux farms at the university. I run
>startxwin.bat (as a shortcut from my desktop) and, from the cygwin
>terminal window
On Sun, 23 Oct 2005, tns1 wrote:
> tns1 wrote:
>
> > Is is possible to redirect the serial comms of a program after it has
> > already launched and opened /dev/com1?
>
> If not, is it possible to create virtual serial ports under cygwin? To
> do this under linux I believe you need to add a kernel
On Sun, 23 Oct 2005, Alastair Burnett wrote:
> Hi,
>
> I have an 'interesting' problem - we have some software tools which
> require cygwin. For various reasons, we can't install cygwin on a local
> machine - all that the tools require is the cygwin1.dll and bash.exe, in
> theory at least.
>
> The
On Oct 24 07:49, bill test wrote:
> $ df -l -h
> FilesystemSize Used Avail Use% Mounted on
> D:\cygwin\bin 11G 1.6G 8.6G 16% /usr/bin
> D:\cygwin\lib 11G 1.6G 8.6G 16% /usr/lib
> D:\cygwin 11G 1.6G 8.6G 16% /
> c:4.0G 2.6G 1
On Mon, 24 Oct 2005, Com MN PG P E B Consultant 3 wrote:
> I would like to have on my Windoze desktop an Icon for zsh running under
> Cygwin...
> [snip]
> Zsh considers itself a login shell iff it is called under a name
> starting with a dash.
> [snip]
> Another possibility would be to execute a s
* Com MN PG P E B Consultant 3 (2005-10-24 11:11 +0100)
> I would like to have on my Windoze desktop an Icon for zsh running under
>
> Cygwin, similar to the standard Cygwin Icon which runs a bash login
> shell,
> so that I can choose whether to get a window using bash or using zsh.
mkzsh
> It
I am not sure what else you want based on reporting guidelines. I
attached the cygcheck file though.
As for what I am trying to do:
We have a bunch of old Unix scripts and software that we need to keep
running for awhile.
These need to run every x minutes for y range of hours during the day.
Th
Urgh, /top-posting/,
* Václav Haisman (2005-10-24 13:35 +0100)
> What about editing /etc/passwd?
That's only used for remote logins (ssh, etc.)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http:/
* Com MN PG P E B Consultant 3 (2005-10-24 13:49 +0100)
>> What about editing /etc/passwd? Pesonally, I use customized
>> cygwin.bat.
>
> How exactly would this work? After all, we are talking about Windows
> Batch skripts,
> don't we? And they are not aware of /etc/passwd.
>
> But maybe I didn
Hi folks
I have the problem that I like to use read -u to read from file.
The following script was stored under $HOME/bin/h
--
#!/bin/bash
set -xv
ls -l $HOME/bin/h
3<$HOME/bin/h
while read -u 3
do
echo $REPLY
done
--
The outpu
> Hello,
>
> http://cygwin.mirrors.pair.com/jffs2/mkfs.jffs2 appears to
> be a Linux executable.
Actually, it doesn't appear to be anything at all:
$ wget http://cygwin.mirrors.pair.com/jffs2/mkfs.jffs2
--12:16:28-- http://cygwin.mirrors.pair.com/jffs2/mkfs.jffs2
=> `mkfs.jf
On Mon, 24 Oct 2005, cygwin.20.maillinglist wrote:
> Hi folks
>
> I have the problem that I like to use read -u to read from file.
> The following script was stored under $HOME/bin/h
> --
> #!/bin/bash
> set -xv
> ls -l $HOME/bin/h
> 3<$HOME/bin/h
>
> while read -u
At 11:27 2005-10-24 +0200, Joerg Schaible wrote:
>Hello Subversion maintainer,
>
>the subversion client does unfortunately not respect text mounts. Checking =
>out form a remote repository all text files have unix line endings although=
> they have the property svn:eol-style set to native. This is
* Igor Pechtchanski (2005-10-24 16:36 +0100)
> On Mon, 24 Oct 2005, Com MN PG P E B Consultant 3 wrote:
>> I would like to have on my Windoze desktop an Icon for zsh running under
>> Cygwin...
>> [snip]
>> Zsh considers itself a login shell iff it is called under a name
>> starting with a dash.
>>
On Mon, 24 Oct 2005, Thorsten Kampe wrote:
> * Igor Pechtchanski (2005-10-24 16:36 +0100)
> > On Mon, 24 Oct 2005, Com MN PG P E B Consultant 3 wrote:
> >> I would like to have on my Windoze desktop an Icon for zsh running under
> >> Cygwin...
> >> [snip]
> >> Zsh considers itself a login shell if
I don't see any FAQ regarding rebaseall - hence this post.
It appears that rebaseall is required ocassionally to get cygwin [esp
python] working. [having been bitten by this a few times,] Each time I
do any cygwin updates - I make sure I run 'rebaseall' before doing
anything else.
Q: Does cygwin
On Mon, Oct 24, 2005 at 11:05:13AM -0400, Igor Pechtchanski wrote:
> On Fri, 21 Oct 2005, Lemke, Michael IZ/HZA-IOM wrote:
>
> > This is my current mount table:
> >
> > pc00626> mount -m
> > mount -f -s -b "c:/MyStuff/cygwin/bin" "/usr/bin"
> > mount -f -s -b "c:/MyStuff/cygwin/lib" "/usr/lib"
>
Fabrizio Salvatore wrote:
> I also noticed that for some graphical programs (like PAW, for
> example, the physics analysis workstatio developed at CERN), when an
> xterm window is overlapped to the graphics window, the part of the
> plot that is covered by the xterm is cancelled and when I focus
On Mon, 24 Oct 2005, Com MN PG P E B Consultant 3 wrote:
Greetings, Ronald,
I would like to have on my Windoze desktop an Icon for zsh running under
Cygwin, similar to the standard Cygwin Icon which runs a bash login
shell, so that I can choose whether to get a window using bash or using
zsh.
On Mon, 24 Oct 2005, Yitzchak Scott-Thoennes wrote:
> On Mon, Oct 24, 2005 at 11:05:13AM -0400, Igor Pechtchanski wrote:
> > On Fri, 21 Oct 2005, Lemke, Michael IZ/HZA-IOM wrote:
> >
> > > This is my current mount table:
> > >
> > > pc00626> mount -m
> > > mount -f -s -b "c:/MyStuff/cygwin/bin"
On Sat, 22 Oct 2005 20:46:04 +0100, wrote:
>Hi
>
>$ cygpath -d c:/Program\ Files/Internet\ Explorer
>c:\PROGRA~1\INTERN~1
>
>I've just had another case where the I had to use the short form, is the short
>form the "real name"?
Hi just solved my problem:-
sjaprog='/cygdrive/c/Program Files/SQLy
Satish Balay wrote:
> Q: Does cygwin setup run rebaseall either during initial install or
> during subsequent updates? [guessing no]
No, setup has no clue about rebaseall.
> Q: Is it safe to say: 'if cygwin is installed from scratch - rebaseall
> is not required'
That's not quite correct. Whet
On Mon, Oct 24, 2005 at 05:56:36PM -0400, Igor Pechtchanski wrote:
> On Mon, 24 Oct 2005, Yitzchak Scott-Thoennes wrote:
>
> > On Mon, Oct 24, 2005 at 11:05:13AM -0400, Igor Pechtchanski wrote:
> > > Looks like the cygdrive prefix takes precedence over explicit mounts.
> > > This is arguably a bug
> <http://cygwin.com/problems.html>.
Here's a success story:
1.5.18-1 failed to start the sshd service (with privilege separation)
correctly on a brand new installation on XP Home (cygrunsrv reports Win32
error 1062, but the sshd process starts nonetheless). The latest snapshot
(1.5
The questions about creating SSH2 RSA and DSA identities contain a
"(yes/no)" within the question. Since the request function also appends
"(yes/no)" to the message, this results in "(yes/no) (yes/no)" at the end
of those two questions. Not a bug, but worth fixing.
Igor
--
On Mon, 24 Oct 2005, Yitzchak Scott-Thoennes wrote:
> On Mon, Oct 24, 2005 at 05:56:36PM -0400, Igor Pechtchanski wrote:
> > On Mon, 24 Oct 2005, Yitzchak Scott-Thoennes wrote:
> >
> > > On Mon, Oct 24, 2005 at 11:05:13AM -0400, Igor Pechtchanski wrote:
> > > > Looks like the cygdrive prefix takes
CWS Informatics [Sas] wrote:
I am not sure what else you want based on reporting guidelines. I
attached the cygcheck file though.
Thanks. I was also looking for details about your failing cron commands.
As for what I am trying to do:
We have a bunch of old Unix scripts and software that
Hi all,
I'm stuck trying to send an IP header through raw sockets. I'm using
Eclipse and cygwin.. but I have been told that raw sockets should work
with cygwin.. I got the definition for IP_HDRINCL from the last
snapshot. I only got the socket.h header file from the snapshot... and
not the wh
Fernando Barsoba wrote:
> snapshot. I only got the socket.h header file from the snapshot... and
> not the whole thing. I have been able to build the program, but I am not
> sure if using only the socket.h could be the problem...
Using a modified header with the old 1.5.18 cygwin1.dll is probably
Larry Hall (Cygwin) wrote:
[snip]
> 1 * * * * /bin/echo "hi" >/tmp/cron.out
You meant:
* * * * * /bin/echo :hi: >/tmp/cron.out
--
R. Berber
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: h
Corinna Vinschen cygwin.com> writes:
> You should nevertheless use /dev/com4 or /dev/ttyS3. I might be wrong
> but it still looks like you don't quite see what Brian was up to.
>
> Corinna
>
Hmm...I think I see what you're getting at. I'm (obviously) not really all that
knowledgeable of seri
On Mon, 24 Oct 2005, Brian Dessent wrote:
> Additionally, maintainers of these packages have (I believe) recently
> started compiling them with --enable-auto-image-base which should
> eliminate (or reduce) the need to rebase.
Ok so the problem is likely to go away for python users.
>
> > [for o
Eric,
Thanks for the offer to help.
I am attaching cygcheck.out
If you need me to carry out some more investigations, please let me
know.
--
Shourya
-Original Message-
From: Eric Blake [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 18, 2005 8:29 PM
To: Sarcar, Shourya C (GE Healthca
Satish Balay wrote:
> Ok so the problem is likely to go away for python users.
I don't know if Jason has started compiling Python with
--enable-auto-image-base or not. It will also depend on the maintainers
of any libraries that are dynamically loaded by a python module using
the flag as well.
> Use mkzsh to do this. For help, type 'mkzsh --help'
Thank you, this is exactly what I was looking for.
> > It works kind of, but I can't get zsh executed as login
> shell. The BAT
> > file invoking the bash login shell calls bash using
> >
> > bash --login -i
>
> See the '-l' option of zs
Arend-Jan Westhoff wrote on Monday, October 24, 2005 6:38 PM:
> At 11:27 2005-10-24 +0200, Joerg Schaible wrote:
>> Hello Subversion maintainer,
>>
>> the subversion client does unfortunately not respect text mounts.
>> Checking = out form a remote repository all text files have unix line
>> endi
72 matches
Mail list logo