Re: Setup of default configuration files

2003-01-07 Thread Jan Nieuwenhuizen
John Morrison [EMAIL PROTECTED] writes: Christopher and I had a little conversation at the beginning of December. It occured to me/us that a lot of cygwin packages have postinstall scripts which just copy default versions of configuration files into the correct location if they don't

Re: Setup of default configuration files

2003-01-07 Thread Max Bowsher
Christopher Faylor wrote: That is basically asking 27 package maintainers to change the way they do things rather than just changing setup.exe. No - the boilerplate Cygwin packaging script is quite popular. Admittedly, I'd forgotten that mknetrel would need similar automagic. Robert

Re: Setup of default configuration files

2003-01-07 Thread Christopher Faylor
On Tue, Jan 07, 2003 at 02:12:04PM -, Max Bowsher wrote: I think that for maximum immediate gain, it is worth considering this: Patch generic-build-script and mknetrel to detect certain files (/usr/info/*.info and /etc/defaults/*) in a package, and add a postinstall script if found. Note that

Re: Setup of default configuration files

2003-01-07 Thread Christopher Faylor
On Tue, Jan 07, 2003 at 10:16:20AM +0100, Jan Nieuwenhuizen wrote: John Morrison [EMAIL PROTECTED] writes: Christopher and I had a little conversation at the beginning of December. It occured to me/us that a lot of cygwin packages have postinstall scripts which just copy default versions of

Re: Setup of default configuration files

2003-01-07 Thread Max Bowsher
Christopher Faylor wrote: On Tue, Jan 07, 2003 at 02:12:04PM -, Max Bowsher wrote: I think that for maximum immediate gain, it is worth considering this: Patch generic-build-script and mknetrel to detect certain files (/usr/info/*.info and /etc/defaults/*) in a package, and add a

gcc and gcc-2 packages

2003-01-07 Thread Lapo Luchini
sdesc: C, C++, Fortran compilers. Isn't the short desc a bit, ehm, short? I'd add the fact it does compile Java too, as an example, and that it is the GNU Compiler Collection maybe. BTW: can a shared version of libstdc++ be generated? I guess the answer is not yet as it would be in the package

Re: xwinclip-Test07 does not work with XWin -query

2003-01-07 Thread Harold L Hunt II
Your advice consists of ``it would be better if someone had some time to polish some rough edges in xwinclip.'' Are you suggesting that you have some time to polish those rough edges? As you said yourself, none of it is hard to do. Harold Joo-won Jung wrote: Sanori, Let me tell you, I

Transparent term background

2003-01-07 Thread Cary Jamison
I have gnome-terminal's displayed from my Linux box. I can set the background transparent, but if I also click to make it shaded it just goes to black. Not sure what would cause this or where to even begin looking. Is it a missing extension in the server? Cary Cary Jamison [EMAIL

Re: [PATCH] export asprintf and friends

2003-01-07 Thread Charles Wilson
Okay, since newlib has accepted the Makefile patch, NOW it's okay to apply this change to cygwin. But, I've updated it to also fix version.h. Tested and everything. g 2003-01-01 Charles Wilson [EMAIL PROTECTED] * winsup/cygwin/cygwin.din: add asprintf and vasprintf, as well as the

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 Hello { public

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

2003-01-07 Thread Lapo Luchini
Bruce Adams wrote: C:\BruceA\javagcj --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

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 stdlib.h 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

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 without

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 file to

Re: System() command

2003-01-07 Thread Jim
I have this very simple C program: #include stdlib.h 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 //

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:\ using windows

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 I defined

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... *

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

[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

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

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. What

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 some

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. Anybody know

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 http://cygwin.com/contrib.html for patch conventions. Igor On Tue, 7 Jan 2003, Robert Bercik

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

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 be

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.

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

[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)

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 stdio.h void main() {

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 check the

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 example a.c.below:

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 stdlib.h 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

[[[ 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.