RE: Java (1 of 3): Gcj - Hello world exe (again)

2003-01-07 Thread Bruce Adams
>-Original Message- >From: Lapo Luchini [mailto:[EMAIL PROTECTED]] >Sent: 06 January 2003 11:11 >To: [EMAIL PROTECTED] >Subject: Re: Java (1 of 3): Gcj - Hello world exe (again) > > >Bruce Adams wrote: > >>Hello.java(note: case is important in this filename) >>== >> >>class He

Re: Java (1 of 3): Gcj - Hello world exe (again)

2003-01-07 Thread Lapo Luchini
Bruce Adams wrote: C:\BruceA\java>gcj --version gcj (GCC) 3.2 20020818 (prerelease) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Why does yo

Re: System() command

2003-01-07 Thread Michael A Chase
On Tue, 7 Jan 2003 12:55:09 +0200 Maor Avni <[EMAIL PROTECTED]> wrote: > I have this very simple C program: > > #include > > int main() > { > char a[] = "echo echo testing 123"; > system(a); > return 0; > } > > I compile it with gcc and everything works fine, until I run it under > Win2K

Re: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch

2003-01-07 Thread Corinna Vinschen
On Fri, Jan 03, 2003 at 08:32:22AM -0500, Jason Tishler wrote: > Corrina, s/rrin/rinn/ > 2003-01-03 Jason Tishler <[EMAIL PROTECTED]> > > * ftpd/ftpd.c (main): Add Cygwin guard to the conditional compilation > around fcntl(F_SETOWN) to prevent the Event Log from filling with >

Re: sed -i problem?

2003-01-07 Thread Corinna Vinschen
On Sat, Jan 04, 2003 at 01:20:51PM +0100, Bonzini wrote: > Ok, I tracked down the problem and it is because fopen is used for the file > instead of ck_fopen. Alas I don't have a patch ready (a nice solution would > be practically the diff from 4.0.5 to 4.0.6), but grepping for [^_]fopen.*"w > and

Re: Quirky Emacs behavior -- any ideas?

2003-01-07 Thread Shin'ichi Matsuo
"Andrew Mayer" <[EMAIL PROTECTED]> writes: > Well, when I try: > > M-x describe-function RET documentation RET > > I get: > > Debugger entered--Lisp error: (wrong-number-of-arguments #[(new-pos old-pos At this point, the "documentation" function has already replaced by wrapper. To invoke EMACS

Re: bash 2.05b-8 doesnot execute .bashrc even if HOME is defined and .bashrc is under both ~/ and /

2003-01-07 Thread Max Bowsher
Original Message From: "Tianming Kong" <[EMAIL PROTECTED]> > I'm using cygwin v1.3.18 under Windows XP > Professional. Unfortunately bash 2.05b-8 does not > exectute my startup script ~/.bashrc > > I defined environement variable HOME as "d:\" using > windows control panel. I also copy my .bashrc f

Re: System() command

2003-01-07 Thread Jim
I have this very simple C program: #include int main() { char a[] = "echo echo testing 123"; -- char a[] = "cmd.exe -c echo echo test 123"; // I thought there was a shell( char* ) which invoked the command in the // current shell? system just forks and execs a process, though hmm // I sup

Re: bash 2.05b-8 doesnot execute .bashrc even if HOME is defined and .bashrc is under both ~/ and /

2003-01-07 Thread Tianming Kong
--- Max Bowsher <[EMAIL PROTECTED]> wrote: > Original Message From: "Tianming Kong" > <[EMAIL PROTECTED]> > > I'm using cygwin v1.3.18 under Windows XP > > Professional. Unfortunately bash 2.05b-8 does not > > exectute my startup script ~/.bashrc > > > > I defined environement variable HOME as "d:

Re: bash 2.05b-8 doesnot execute .bashrc even if HOME is definedand .bashrc is under both ~/ and /

2003-01-07 Thread Igor Pechtchanski
On Tue, 7 Jan 2003, Tianming Kong wrote: > --- Max Bowsher <[EMAIL PROTECTED]> wrote: > > Original Message From: "Tianming Kong" <[EMAIL PROTECTED]> > > > I'm using cygwin v1.3.18 under Windows XP > > > Professional. Unfortunately bash 2.05b-8 does not > > > exectute my startup script ~/.bashrc >

Re: Where did nohup go?

2003-01-07 Thread Mack Lobell
After upgrade to 2.0.15-3 i get the following error: KeyChain 1.9; http://www.gentoo.org/projects/keychain Copyright 2001 Gentoo Technologies, Inc.; Distributed under the GPL * All previously running ssh-agent(s) have been stopped. * Initializing /home/lobell/.ssh-agent-VOLVO file... * Initializin

login problems... telnet etc.

2003-01-07 Thread Robert Bercik
Hi, I'm trying to use login on cygwin, but it's not working. I have done pretty much everything in the login.README file and its still not functioning properly. The output of various programs are included below: -- Creating files for login: -- mkpasswd -l -d > /etc/passwd mkgroup -l -d > /

Re: Cygwin gcc 3.2 seems to break fetchmail

2003-01-07 Thread Jason Tishler
On Mon, Jan 06, 2003 at 02:00:25PM -0500, Jason Tishler wrote: > Any suggestions on how to best debug this problem or potential root > causes will be greatly appreciated. A friend of mine suggested using -Wall to find questionable fetchmail code that could behave differently under gcc 3.2. The go

[ANNOUNCEMENT] Updated Cygwin Package: fetchmail-6.2.0-3

2003-01-07 Thread Jason Tishler
New News: === I have updated the version of fetchmail to 6.2.0-3. The tarballs should be available on a Cygwin mirror near you shortly. Note that this package also fixes a Cygwin specific bug that could cause message corruption: http://cygwin.com/ml/cygwin/2003-01/msg00277.html AFAICT,

where the %^$ is dirname() and basename()

2003-01-07 Thread Robert Bercik
Alright, Cygwin must have these functions somewhere, but for the life of me i can't find the libs or headers. Anybody know where dirname() or basename() are located? thanks, -Rob __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign

Re: where the %^$ is dirname() and basename()

2003-01-07 Thread wayne
Have you looked in /usr/bin? That is where it is on my systems.. maybe youdid not install them? On Tue, Jan 07, 2003 at 01:37:03PM -0800, Robert Bercik wrote: > Alright, > > Cygwin must have these functions somewhere, but > for the life of me i can't find the libs or headers. > Anybody know

Re: where the %^$ is dirname() and basename()

2003-01-07 Thread Elfyn McBratney
>From your subject I'm wondering if your talking about syscalls? If you are then they do not exist. If you're not, and your talking about programs (basename|dirname.exe), then you'll need to install the sh-utils package (install via setup.exe) to get them. Elfyn [EMAIL PROTECTED] --- Robert Berc

Re: where the %^$ is dirname() and basename()

2003-01-07 Thread Faylor
On Tue, Jan 07, 2003 at 01:37:03PM -0800, Robert Bercik wrote: >Cygwin must have these functions somewhere, but for the life of me i >can't find the libs or headers. Anybody know where dirname() or >basename() are located? Let me say it again: There is no mystery here. If you get a linker error

Re: where the %^$ is dirname() and basename()

2003-01-07 Thread Elfyn McBratney
>From your subject I'm wondering if your talking about syscalls? If you >are then they do not exist. If you're not, and your talking about >programs (basename|dirname.exe), then you'll need to install the >sh-utils package (install via setup.exe) to get them. I should have been a bit more clear. W

RE: bash 2.05b-8 doesnot execute .bashrc even if HOME is defined and .bashrc is under both ~/ and /

2003-01-07 Thread Todorovic Vladica-VTODORO1
Sourcing $HOME/.bashrc explicitly in /etc/profile can also force bash to read user's .bashrc. For example, # make sure we start in home cd "$HOME" # Make sure user's .bashrc is executed. test -f ./.bashrc && . ./.bashrc It is not preferred way to execute ~/.bashrc, but it may be helpful in so

Re: where the %^$ is dirname() and basename()

2003-01-07 Thread Robert Bercik
crap, they're so damn simple, I'll write the damn things... thanks, -Rob --- Faylor <[EMAIL PROTECTED]> wrote: > On Tue, Jan 07, 2003 at 01:37:03PM -0800, Robert > Bercik wrote: > >Cygwin must have these functions somewhere, but for > the life of me i > >can't find the libs or headers. Anybo

Re: where the %^$ is dirname() and basename()

2003-01-07 Thread Igor Pechtchanski
Robert, When you do implement them, you might as well help other programmers in need of them by submitting them as patches against the current cygwin CVS to cygwin-patches at cygwin dot com. See for patch conventions. Igor On Tue, 7 Jan 2003, Robert Berci

Re: where the %^$ is dirname() and basename()

2003-01-07 Thread Elfyn McBratney
Igor, I've just written a basename function, but I've never had to create a patch before... (OT) What patch command line should I use? Or should I use `cvs diff'? Elfyn [EMAIL PROTECTED] --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote: >Robert, > >When you do implement them, you might as well he

Re: Where did nohup go?

2003-01-07 Thread Hack Kampbjorn
Mack Lobell wrote: After upgrade to 2.0.15-3 i get the following error: KeyChain 1.9; http://www.gentoo.org/projects/keychain Copyright 2001 Gentoo Technologies, Inc.; Distributed under the GPL * All previously running ssh-agent(s) have been stopped. * Initializing /home/lobell/.ssh-agent-VOLVO f

2 GB file limit when using "rcp" to a PC running cygwin RSHD

2003-01-07 Thread Stephen Meratla
I am unable to transfer files via rcp larger than 2 GB from an IRIX host to a NT PC running Cygwin RSHD. The transfer immediately fails with a "lost connection" error message. There is no problem transferring files smaller than 2 GB. I am able to FTP file to the PC so the file size limit seems to b

Re: 2 GB file limit when using "rcp" to a PC running cygwin RSHD

2003-01-07 Thread Elfyn McBratney
Cygwin cannot handle files that are 2GB or over in size. Thise question (about large files) has come up in the mailing list a few times in the last couple of months so it's always a good idea to search the archives and check the FAQ before posting as your question in case it may have, and in thi

Re: bash 2.05b-8 doesnot execute .bashrc even if HOME is definedand .bashrc is under both ~/ and /

2003-01-07 Thread Andrew DeFaria
Tianming Kong wrote: I'm using cygwin v1.3.18 under Windows XP Professional. Unfortunately bash 2.05b-8 does not exectute my startup script ~/.bashrc -- I have to manually run it every time I start a new cygwin window. I defined environement variable HOME as "d:\" using windows control panel.

Re: bash 2.05b-8 doesnot execute .bashrc even if HOME is defined and .bashrc is under both ~/ and /

2003-01-07 Thread Tianming Kong
Both Andrew's method (renaming .bashrc to .bash_login) and Todorovic's method (explictly sourcing .bashrc in .profile) worked. Thanks for all your help, -Tim __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.

Re: [ANNOUNCEMENT] Updated cygwin package rxvt-2.7.9-3

2003-01-07 Thread Rui Carmo
Hi there, just add the line: rxvt*scrollstyle: next to your ~/.Xresources file. (You might want to run "rxvt --help" or check the man page for other valid resources you can set this way, since it is far preferable to adding command-line switches to rxvt) Works perfectly in Win32 (so much so

Re: where the %^$ is dirname() and basename()

2003-01-07 Thread Christopher Faylor
On Tue, Jan 07, 2003 at 04:08:13PM -0800, Elfyn McBratney wrote: >I've just written a basename function, but I've never had to create a >patch before... (OT) What patch command line should I use? Or should >I use `cvs diff'? This information is available on the cygwin web page. Click on "Contri

[ANNOUNCEMENT] Updated: sh-utils-2.0.15-3

2003-01-07 Thread Christopher Faylor
I've made a new version of the sh-utils available for download. The only change is modifying the first line in the nohup script from '#!/bin/sh' to '#!/bin/bash'. To update your installation, blah, blah, blah... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:

Re: Difficulties to download Cygwin when no Windows machine isavailable...

2003-01-07 Thread Peter A. Castro
On Mon, 30 Dec 2002, [ISO-8859-15] Brent Frère wrote: > Cygwin is marvelous. Thank you for maintaining it. It's so powerful to > convince our customers to migrate to open-source software and finally OS... > > I just have to face a problem: I wish to download the entire CygWin > distribution in

night of the living dead - gdb won't let me kill!

2003-01-07 Thread Ed
Howdy all! I'm using the latest cygwin gdb, g++, and emacs to port some complex code from windows to linux. First I ported to cygwin, then to linux. Worked great! But there was one fly in the ointment. While using gdb I did a kill so that I could rebuild the app. Make (or rather the linker) would

help...

2003-01-07 Thread top_general
I have a question . Firstly: I make a "C library".The "C library" source code is below: http://www.uclinux.org/pub/uClinux/libraries/ uC-libc-310899.tar.gz. I build a "libc.a" using "make " in cygwin. secondly: I do an example "a.c".below: //a.c #include void main() { pri

Re: 2 GB file limit when using "rcp" to a PC running cygwin RSHD

2003-01-07 Thread Stephen Meratla
Thank you Elfyn. --- Elfyn McBratney <[EMAIL PROTECTED]> wrote: > Cygwin cannot handle files that are 2GB or over in > size. Thise question (about large files) has come up > in the mailing list a few times in the last couple > of months so it's always a good idea to search the > archives and chec

Re: help...

2003-01-07 Thread Christopher Faylor
On Wed, Jan 08, 2003 at 11:23:28AM +0800, top_general wrote: >I have a question . >Firstly: >I make a "C library".The "C library" source code is below: >http://www.uclinux.org/pub/uClinux/libraries/ >uC-libc-310899.tar.gz. >I build a "libc.a" using "make " in cygwin. > >secondly: >I do an ex

RE: Repost, different list...File::Spec, cygwin, Syntactic vs. Semantic path analysis

2003-01-07 Thread linda w \(cyg\)
> From: Christopher Faylor > I am not clear on why we are devoting so much time to what is > required for a straight win32 environment in a cygwin mailing > list. As odd as it sounds, this seems somewhat off-topic to > me. Or at least uninteresting. === I'm sorry. I thought the cygwin

Re: Repost, different list...File::Spec, cygwin, Syntactic vs. Semantic path analysis

2003-01-07 Thread Christopher Faylor
On Tue, Jan 07, 2003 at 07:44:42PM -0800, linda w (cyg) wrote: >> From: Christopher Faylor >>I am not clear on why we are devoting so much time to what is required >>for a straight win32 environment in a cygwin mailing list. As odd as >>it sounds, this seems somewhat off-topic to me. Or at least

System() command

2003-01-07 Thread Maor Avni
Hi, I have this very simple C program: #include int main() { char a[] = "echo echo testing 123"; system(a); return 0; } I compile it with gcc and everything works fine, until I run it under Win2K's cmd.exe: the program just exits and does nothing. I have set up the PATH environment var

[[[ Asking for Permission ]]]

2003-01-07 Thread Kazuya Ohtomo
Dear Sir. This is Obscure inc. a editorial office in Japan. We are now working to publish a book about Personal Web Server . We intend to attach a CD-ROM, which contains many software, to our book. We would like to include the following software in the CD-ROM with your permission. Soft