RE: _stderr, _stdout, _errno etc.

2003-06-28 Thread Elfyn McBratney
[ Please keep replies on list. I set the Reply-to for a reason ] On Sat, 28 Jun 2003, Vikram Mehta wrote: > Hi Elfyn, > > Thanx. > > Reinstalled gcc and it works > > Now can u suggest what I do abt dirname and getline For dirname, wait. We don't have it, do it's not there (yet). getline, on the

Here is code for dirname basename and getline

2003-06-28 Thread Vikram Mehta
Hi Elfyn, Thanx again, Anyways I have added code for thse three functions incase somebody needs them This code is not mine but i thought, incase soembody needs it, he will have to spent less time on this issue /*Code starts here*/ ssize_t getdelim(char **linebuf, size_t *linebufsz, int deli

Re: How display graphic by cygwin

2003-06-28 Thread Brian Dessent
Peng Yu wrote: > I just installed the minimum set of cygwin and Cygwin/XFree86 on a > Window XP. I can startx at the localhost(my Window XP machine). > Then I sshed to a remote Linux host and ran acroread. "Error: Can't not > open display:" was displayed. Could somebody help me to fix this

Re: Here is code for dirname basename and getline

2003-06-28 Thread Elfyn McBratney
On Sat, 28 Jun 2003, Vikram Mehta wrote: > > Hi Elfyn, > > Thanx again, > > Anyways I have added code for thse three functions incase somebody needs > them > This code is not mine but i thought, incase soembody needs it, he will > have to spent less time on this issue I wished I hadn't looked a

Re: docbook: dvips says "Font ecrm1000 not found, characters will be left blank." and "LaTeX Error: File `nameref.sty' not found"

2003-06-28 Thread Jan Nieuwenhuizen
"Ralf Hauser" <[EMAIL PROTECTED]> writes: > Any hints would be highly appreciated. You did install tetex-extra, I presume? Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org -- Unsubscribe info:

Re: CygWin adding CRs, hurting CVS client/server communications?

2003-06-28 Thread Patrick Eisenacher
Works like a charm here, both for binmode and textmode mounts. My system: Win2k, WinCVS and Cygwin SSH The problem mentioned in your mailing list reference was fixed long time ago. Do your line endings change as well if you scp a textfile from your client to your server? If yes, then we have i

autoconf mmap problem -- XP-specific?

2003-06-28 Thread andrew brian clegg
Hi folks, A couple of days ago I built the cdrtools suite at work with no problems, on a Windows 2000 Pro machine. Today I am trying to build it at home on my Windows XP Pro box, but autoconf hangs so it never even gets to the compilation stage. Autoconf gets as far as "checking if mmap works to

Re: CygWin adding CRs, hurting CVS client/server communications?

2003-06-28 Thread Van Rooyen G-J <[EMAIL PROTECTED]>
I have exactly the same problem as Toscani describes. Last week I did a routine update on my Cygwin packages, and my Cygwin CVS client (which worked fine the previous day) could not authenticate with the server any more. The "login" command works fine, but any subsequent operations fail to authe

RE: docbook: dvips says "Font ecrm1000 not found, characters will be left blank." and "LaTeX Error: File `nameref.sty' not found"

2003-06-28 Thread Ralf Hauser
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jan > Nieuwenhuizen > Sent: Samstag, 28. Juni 2003 12:37 > > You did install tetex-extra, I presume? No, that solved both problems (nameref.sty and dvips). Going back to Hoenicka's instructions, I see that

Re: How display graphic by cygwin

2003-06-28 Thread Peng Yu
I use command ssh -X [EMAIL PROTECTED] then acroread. But it dosen't work. Peng - Original Message - From: "Brian Dessent" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 28, 2003 1:26 AM Subject: Re: How display graphic by cygwin > Peng Yu wrote: > > > I just instal

Re: How display graphic by cygwin

2003-06-28 Thread Brian Dessent
Peng Yu wrote: > > I use command > ssh -X [EMAIL PROTECTED] > then acroread. > But it dosen't work. You're still getting "Can't open display"? What is the value of the DISPLAY variable once you've logged in to the remote host? You may have to set it before running ssh, i.e. export DISPLAY=loca

Re: install

2003-06-28 Thread Larry Hall
Julien VARLET wrote: Hi, I have just installed cywin, but some commands are no found, like ls,... my installation is in c:\cygwin. all it's ok. it works with tclsh but i need bash. Can you help me ? To some extent, yes. First question to ask yourself is "Did you install these?". To help answe

Re: How display graphic by cygwin

2003-06-28 Thread Peng Yu
Yes, after I export DISPLAY=localhost:0.0 It works. But I have to startx first. Must I startx before I want to display any graphics? Can it automaticly start? Thanks. Peng - Original Message - From: "Brian Dessent" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 28, 2003 8

g++ error

2003-06-28 Thread Peng Yu
Hi, When I tried to compile this file by g++, I got a error. #include int main(){ cout << "Hello World" << endl; } errors are: test.C: In function `int main()': test.C:3: `cout' undeclared (first use this function) test.C:3: (Each undeclared identifier is reported only once for each functio

Fwd: Re: CygWin adding CRs, hurting CVS client/server communications?

2003-06-28 Thread toscani
Forgot to CC this to the list. Date: Sat, 28 Jun 2003 10:34:52 -0600 To: Patrick Eisenacher <[EMAIL PROTECTED]> From: [EMAIL PROTECTED] Subject: Re: CygWin adding CRs, hurting CVS client/server communications? I've just tried scp'ing a text file containing CRNL line terminators...the copy of the

Fwd: Re: CygWin adding CRs, hurting CVS client/server communications?

2003-06-28 Thread toscani
Forgot to CC this to the list. Date: Sat, 28 Jun 2003 10:37:51 -0600 To: "Van Rooyen G-J <[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> From: [EMAIL PROTECTED] Subject: Re: CygWin adding CRs, hurting CVS client/server communications? I've seen the same symptoms...output is garbled because CRs are left i

Re: g++ error

2003-06-28 Thread Markus Schönhaber
Peng Yu wrote: Hi, When I tried to compile this file by g++, I got a error. #include int main(){ cout << "Hello World" << endl; } errors are: test.C: In function `int main()': test.C:3: `cout' undeclared (first use this function) test.C:3: (Each undeclared identifier is reported only once for

Re: Here is code for dirname basename and getline

2003-06-28 Thread Christopher Faylor
On Sat, Jun 28, 2003 at 09:44:42AM +0100, Elfyn McBratney wrote: >On Sat, 28 Jun 2003, Vikram Mehta wrote: >>Anyways I have added code for thse three functions incase somebody >>needs them This code is not mine but i thought, incase soembody needs >>it, he will have to spent less time on this issue

Re: Mail to cygwin generating subscription requests

2003-06-28 Thread Gerrit P. Haase
Hallo Igor, >>> We have received your request to join the kde-nl >>> group hosted by Yahoo! Groups, a free, easy-to-use community service. [...] > FWIW, I'm not getting these, but in theory, all it takes is one of those > administrative addresses being subscribed to ... > Perhaps the subscriber

example needed pls: `cygpath -c '

2003-06-28 Thread Soren A
[posted and mailed] Hi! The ever-fascinating "cygpath" tool once again beckons to me to plumb its depths ... I am trying to finish a test script that uses ActivePerl to call `cygpath` from itself (a system call, by open()-ing a pipe to capture the output of the tool ... {... stuff ...} op

example needed pls: `cygpath -c '

2003-06-28 Thread Soren A
[posted and mailed] Hi! The ever-fascinating "cygpath" tool once again beckons to me to plumb its depths ... I am trying to finish a test script that uses ActivePerl to call `cygpath` from itself (a system call, by open()-ing a pipe to capture the output of the tool ... {... stuff ...} op

Re: pine access problem

2003-06-28 Thread Eduardo Chappa
*** Elfyn McBratney ([EMAIL PROTECTED]) wrote on Jun 27, 2003: :) On Fri, 27 Jun 2003, alex hardy wrote: :) :) > Thanks for your post Elfyn. :) > :) > I already have the ssmtp package installed and the ssmtp application :) > is in `/usr/sbin/sendmail' (in the sbin folder). :) > :) :) Then, if it's

Re: example needed pls: `cygpath -c '

2003-06-28 Thread Brian Dessent
Soren A wrote: > I am trying to finish a test script that uses ActivePerl to call `cygpath` > from itself (a system call, by open()-ing a pipe to capture the output of > the tool ... > > {... stuff ...} > open(CTH, '-|', "C:/cygwin/bin/cygpath $MS_path_filename") > or die "Could not open(

Re: example needed pls: `cygpath -c '

2003-06-28 Thread Brian Dessent
Brian Dessent wrote: > my $foo = quotemeta($MS_path_filename); > chomp (my $cygpath = chomp `cygpath -u $foo`); > # now $cygpath should be usable Whoops, that second line should be: chomp (my $cygpath = `cygpath -u $foo`); I sure wish you could just do something like `"cygpath -u" . quotemeta

Re: example needed pls: `cygpath -c '

2003-06-28 Thread Soren A
Brian Dessent <[EMAIL PROTECTED]> wrote around 28 Jun 2003 news:[EMAIL PROTECTED]: [Soren A.:] >> I am trying to finish a test script that uses ActivePerl to call >> `cygpath` from itself (a system call, by open()-ing a pipe to capture >> the output of the tool ... >> >> {... stuff ...} >> op

Re: example needed pls: `cygpath -c '

2003-06-28 Thread Soren A
Soren A <[EMAIL PROTECTED]> wrote around 28 Jun 2003 news:[EMAIL PROTECTED]: > [posted and mailed] > > Hi! The ever-fascinating "cygpath" tool once again beckons to me to > plumb its depths ... Sorry for the dup posting. Please follow-up to the other twin if possible. Explanation: well, I seem

ssmtp -t issues

2003-06-28 Thread Robert R Schneck
Hello, I'm using ssmtp 2.38. I use Pine as my mail agent and ssmtp to actually send the mail out. Thus I use ssmtp -t (which searches through the message headers to find all the recipients). Two bugs: * The big one: ssmtp -t accidentally overwrites the headers so that the To: line only has the

Re: Fwd: Re: CygWin adding CRs, hurting CVS client/server communications?

2003-06-28 Thread Charles Wilson
Sorry, guys, but I can't reproduce this. Client: openssh 3.6.1p1-2 cvs 1.11.5-1 cygwin 1.3.22-1 :pserver: and :ext:(CVS_RSH=ssh) mode, with server sources.redhat.com Server is running: Concurrent Versions System (CVS) 1.11.1p1 (client/server) (with loc

Re: Output suppressed with ssh or telnet

2003-06-28 Thread Peter Wohlers
Subject: Output suppressed with ssh or telnet From: "Marco Marcantelli" <[EMAIL PROTECTED]> Date: Fri, 27 Jun 2003 17:35:53 +0200 To: [EMAIL PROTECTED] when I'm in telnet or ssh and run Dos programs like Word Star, Norton

Re: How display graphic by cygwin

2003-06-28 Thread Igor Pechtchanski
Peng, Brian, IMO, this question (in fact, the whole thread) belongs on the cygwin-xfree list, which specializes on all Xwindows questions. People there are much more likely to know the answer to this and other X queries you might have. I've forwarded this message there, and set the Reply-To accor

Re: example needed pls: `cygpath -c '

2003-06-28 Thread Brian Dessent
Soren A wrote: > * yeah, am using AS Perl, that's because this is a piece of > a WSH script. > * what I'd like to end up with is a way to context|alternate-click > on any filename in MSWindows Explorer and place the filename as > *cygwin*, not the OS, will see it, on the clipboard

Cygwin uses wrong make tool on my system.

2003-06-28 Thread Harald Houppermans
Hi, For some reason cygwin uses the wrong make tool on my (windows xp) system. I also have c builder stuff installed. Cygwin calls the make tool of c builder and not the cygwin make. How do I tell cygwin to use the cygwin make tool ? Bye, Skybuck. -- Unsubscribe info: http://cygwin.co

Re: Cygwin uses wrong make tool on my system.

2003-06-28 Thread Harald Houppermans
The problem is a bit bigger. Delphi 5 is also installed on my system and also has a tool called make.exe. Delphi 6 is also installed on my system and also has a tool called make.exe. Eh, oops. Oh well I ll have to rename then for now... Unless somebody knows how to call cygwin's make ? :D -

Re: Cygwin uses wrong make tool on my system.

2003-06-28 Thread Elfyn McBratney
On Sun, 29 Jun 2003, Harald Houppermans wrote: > The problem is a bit bigger. > > Delphi 5 is also installed on my system and also has a tool called make.exe. > > Delphi 6 is also installed on my system and also has a tool called make.exe. > > Eh, oops. > > Oh well I ll have to rename then for now

binutils, windows to linux compile troubles.

2003-06-28 Thread Harald Houppermans
Hi, I think I am now using the right make of cygwin I get these errors: Now I get this error: Using the right make of cygwin I think. $ make Configuring in intl loading cache .././config.cache checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor...

Re: Cygwin uses wrong make tool on my system.

2003-06-28 Thread Brian Dessent
Harald Houppermans wrote: > > The problem is a bit bigger. > > Delphi 5 is also installed on my system and also has a tool called make.exe. > > Delphi 6 is also installed on my system and also has a tool called make.exe. > > Eh, oops. > > Oh well I ll have to rename then for now... > > Unless

Re: binutils, windows to linux compile troubles.

2003-06-28 Thread Harald Houppermans
The configure process went like this: $ ../configure --target=i686-linux loading cache ./config.cache checking host system type... i686-pc-cygwin checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-cygwin checking for i686-pc-cygwin-ar... no checking for ar... (c

Re: Cygwin uses wrong make tool on my system.

2003-06-28 Thread Harald Houppermans
- Original Message - From: "Brian Dessent" <[EMAIL PROTECTED]> To: "Cygwin mailing list" <[EMAIL PROTECTED]> Sent: Sunday, June 29, 2003 12:55 AM Subject: Re: Cygwin uses wrong make tool on my system. > Harald Houppermans wrote: > > > > The problem is a bit bigger. > > > > Delphi 5 is als

Re: Cygwin uses wrong make tool on my system.

2003-06-28 Thread Harald Houppermans
- Original Message - From: "Elfyn McBratney" <[EMAIL PROTECTED]> To: "Harald Houppermans" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, June 29, 2003 12:54 AM Subject: Re: Cygwin uses wrong make tool on my system. > On Sun, 29 Jun 2003, Harald Houppermans wrote: > > > The pro

Re: Cygwin uses wrong make tool on my system.

2003-06-28 Thread Harald Houppermans
I tried looking in the cygwin/bin folder I don't see any make.exe What is it's exact name ? I think maybe make is inside some other executables ? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: htt

Re: Cygwin uses wrong make tool on my system.

2003-06-28 Thread Harald Houppermans
Sorry to burst your bubble ?!?!?!? That does not work: C:\Documents and Settings\Skybuck\Desktop>rem @echo off C:\Documents and Settings\Skybuck\Desktop>set PATH=C:\WINDOWS\system32;C:\WINDOW S;C:\WINDOWS\System32\Wbem;c:\cygwin\bin; C:\Documents and Settings\Skybuck\Desktop>C: C:\Documents an

Re: Cygwin uses wrong make tool on my system.

2003-06-28 Thread Harald Houppermans
Lol How funny... I installed all cygwin developer packages except the gnu make ?!?!?! Did I accidently skip it ? or was it disabled by cygwin... ? lol. Anyway going to re-install it... Thank god I dont have to re-install cygwin completely... that should be mentioned somewhere in the instal

Re: Cygwin uses wrong make tool on my system.

2003-06-28 Thread Harald Houppermans
I checked it. Setting path in cygwin.bat is ok... it won't harm original path settings... making a backup of path settings can't hurt. binutils-2.14 is compiling nicely now :) I am curious how far it will go :) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

firewall going bezerk.

2003-06-28 Thread Harald Houppermans
Yo, Cygwin is constantly performing DNS lookup's My zone alarm firewall is going nuts. I think cygwin even turned my firewall off... the true vector engine. Anyway I decided to turn the firewall off completely... Cygwin is not the only app going nuts with dns... also windows xp is going nuts w

Procedure entry not found in cygwin1.dll

2003-06-28 Thread Harald Houppermans
Hi, I compiled binutils 2.14 with the latest cygwin. ld-new.exe seems to be working ok. as-new.exe reports this error message when I start it: 'The procedure entry point asprintf could not be located in the dynamic link library cygwin1.dll" At one point during the build of binutils my firewall

Re: Procedure entry not found in cygwin1.dll

2003-06-28 Thread Christopher Faylor
On Sun, Jun 29, 2003 at 03:00:03AM +0200, Harald Houppermans wrote: >Hi, > >I compiled binutils 2.14 with the latest cygwin. > >ld-new.exe seems to be working ok. > >as-new.exe reports this error message when I start it: > >'The procedure entry point asprintf could not be located in the dynamic lin

Re: Procedure entry not found in cygwin1.dll

2003-06-28 Thread Harald Houppermans
- Original Message - From: "Christopher Faylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "BinUtils mailing list" <[EMAIL PROTECTED]> Sent: Sunday, June 29, 2003 3:14 AM Subject: Re: Procedure entry not found in cygwin1.dll > On Sun, Jun 29, 2003 at 03:00:03AM +0200, Harald Houppermans

Re: Procedure entry not found in cygwin1.dll

2003-06-28 Thread Harald Houppermans
Shit When I set the path via a batch file on windows xp. As soon as the batch file ends the path returns to normal... Hmmm -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.htm

Re: Procedure entry not found in cygwin1.dll

2003-06-28 Thread Harald Houppermans
Well I copied the cygwin1.dll to the as-new.exe folder to see if it would work. And it works, everything looking fine to me :) C:\binutils-2.14\build\gas>as-new.exe -V GNU assembler version 2.14 (i686-linux) using BFD version 2.14 20030612 -- Unsubscribe info: http://cygwin.com/ml/#unsubscr

free pascal cross compiler from windows to linux working.

2003-06-28 Thread Harald Houppermans
The free pascal 1.0.6 cross compiler host windows target linux is now working. I used cygwin, binutils-2.14 and free pascal. ( mingw unfortunately did not working: missing bison, flex, etc :) ) I tested a simple hello world program with knoppix ( linux running from cd-rom ). Then I also tested

Re: Procedure entry not found in cygwin1.dll

2003-06-28 Thread Brian Dessent
Harald Houppermans wrote: > > Shit > > When I set the path via a batch file on windows xp. > > As soon as the batch file ends the path returns to normal... If you want changes to be persistent, look into either the "Setx" tool or "Pathman" tool, both from the Windows resource kit. http://www.m

Re: example needed pls: `cygpath -c '

2003-06-28 Thread Igor Pechtchanski
On Sat, 28 Jun 2003, Brian Dessent wrote: > Soren A wrote: > > > * yeah, am using AS Perl, that's because this is a piece of > > a WSH script. > > * what I'd like to end up with is a way to context|alternate-click > > on any filename in MSWindows Explorer and place the filename as > >

Re: firewall going bezerk.

2003-06-28 Thread Igor Pechtchanski
On Sun, 29 Jun 2003, Harald Houppermans wrote: > Yo, > > Cygwin is constantly performing DNS lookup's > > My zone alarm firewall is going nuts. > > I think cygwin even turned my firewall off... the true vector engine. > > Anyway I decided to turn the firewall off completely... > > Cygwin is not th

Re: free pascal cross compiler from windows to linux working.

2003-06-28 Thread Igor Pechtchanski
Harald, Replies inline below. On Sun, 29 Jun 2003, Harald Houppermans wrote: > The free pascal 1.0.6 cross compiler host windows target linux is now > working. > > I used cygwin, binutils-2.14 and free pascal. > > ( mingw unfortunately did not working: missing bison, flex, etc :) ) > > I tested

Re: Procedure entry not found in cygwin1.dll

2003-06-28 Thread Larry Hall
Harald Houppermans wrote: Well I copied the cygwin1.dll to the as-new.exe folder to see if it would work. And it works, everything looking fine to me :) C:\binutils-2.14\build\gas>as-new.exe -V GNU assembler version 2.14 (i686-linux) using BFD version 2.14 20030612 It would be best to remove thi

Re: firewall going bezerk.

2003-06-28 Thread Harald Houppermans
- Original Message - From: "Igor Pechtchanski" <[EMAIL PROTECTED]> To: "Harald Houppermans" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, June 29, 2003 4:52 AM Subject: Re: firewall going bezerk. > On Sun, 29 Jun 2003, Harald Houppermans wrote: > > > Yo, > > > > Cygwin is con

Re: free pascal cross compiler from windows to linux working.

2003-06-28 Thread Harald Houppermans
> > I am just wondering if the free pascal compiler can set these permission > > automatically for the linux executables. > > The permissions probably *are* set by the compiler, but copying the files > to Linux destroys permissions unless you give the "-p" option to cp/scp. > Transferring executabl

Re: example needed pls: `cygpath -c '

2003-06-28 Thread Brian Dessent
Igor Pechtchanski wrote: > Umm, guys, aren't we getting carried away here? I mean, perl is a great > tool, but wouldn't something simpler, like > > c:\cygwin\bin\bash -c "echo -n `/bin/cygpath -u '%1'` > /dev/clipboard" Jeez, I had no idea /dev/clipboard existed. Is there a list of supported d

Re: example needed pls: `cygpath -c '

2003-06-28 Thread Igor Pechtchanski
On Sat, 28 Jun 2003, Brian Dessent wrote: > Igor Pechtchanski wrote: > > > Umm, guys, aren't we getting carried away here? I mean, perl is a great > > tool, but wouldn't something simpler, like > > > > c:\cygwin\bin\bash -c "echo -n `/bin/cygpath -u '%1'` > /dev/clipboard" > > Jeez, I had no idea

request: add hive unload functionality

2003-06-28 Thread micah
after browsing the source, I gathered that whenever a new process is spawned(spawn.cc) the user's hive is loaded and linked to HKEY_CURRENT_USER. but, the user's hive is never unloaded i.e. whenever the last process running as that user terminates. so I humbly suggest adding an unload function