RE: Errors in #include files when compiling a Legacy C++ Application

2005-03-25 Thread Brian K. Whatcott
Tim, I did install the gcc C compiler. What switches need to be set with cygcheck? I'll run it and forward the results. Brian K. Whatcott Senior Software and Systems Engineer Millennium Engineering Integration (719) 264-4310, FAX (719) 264-4318 (719) 331-5100 (Cell) [EMAIL PROTECTED] -Or

Re: Using ssmtp to send email as a different user (-f doesn't seem to be working)

2005-03-25 Thread Robert R Schneck-McConnell
thomas revell wrote: > Apologies if I'm missing something really obvious here, but I can't seem > to get ssmtp to use the -f option, to change the address to send from. My > situation is like this: >From a glance at the code without any real testing, it looks like it changes the From: header co

Re: rxvt problem: Prompt doesn't look very nice [FAQ alert]

2005-03-25 Thread Joshua Daniel Franklin
On Fri, 25 Mar 2005 07:33:54 -0700, Eric Blake wrote: > Also, check out the generic build script, it automates several of the > steps in Chuck's email as listed in the FAQ (can we get FAQ 88 updated to > add a link to the latest version of the GBS?). It is covered in more > detail near the end of

Re: cygwin1.dll

2005-03-25 Thread Brian Dessent
Âèòàëèé Ñòàñþê wrote: > cygwin-1.5.13-1 > > give me "cygwin1.dll" plz This list only supports installations of Cygwin done with the setup.exe installer from cygwin.com. If you used that you'd have cygwin1.dll already, so it's likely that you're using someone else's packaged binaries. Ask them.

Re: Errors in #include files when compiling a Legacy C++ Application

2005-03-25 Thread Tim Prince
At 03:19 PM 3/25/2005, Brian K. Whatcott wrote: I am confused, because the two flavors of SuSe use g++ 3.2 and 3.3.4, and there wasn't a big problem going from 3.2 to 3.3.4. Since Cygwin uses g++ 3.3.3, I would think that the code that works on 3.3.4 (SuSe 9.1) would be a no brainer. I think the

cygwin1.dll

2005-03-25 Thread Виталий Стасюк
cygwin-1.5.13-1 give me "cygwin1.dll" plz -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Errors in #include files when compiling a Legacy C++ Application

2005-03-25 Thread Brian K. Whatcott
Hi! Our legacy C++ application was written on SGI IRIX using older compiler features. Last year, we ported it to SuSe Linux (both 8.2 and 9.1). We have had a few challenges, but nothing big. Recently, I have been asked to get the application to run on MS-Windows, with very little time. I looke

RE: recv and errno during a connection reset/closed by peer

2005-03-25 Thread Peter Stephens
I boiled this down to nothing(see below). I must be missing something basic. I tried the suggestions made so far and it never gets to: printf(" >>> ERRNO %i\n", errno); I would expect that on a disconnect (I use putty in telnet or raw mode) it would return -1 whether it is doing MSG_PEE

RE: package for netstat?

2005-03-25 Thread Shapiro, Jonathan
At 04:31 PM 3/25/2005, you wrote: >Pardon if this is mis-posted. I'm a long-time cygwin user and fan, but not >very good at usenet. > >Which package do I get to get 'netstat'? > >I found this (slightly silly) thread: > >http://sourceware.org/ml/cygwin/2004-06/msg00959.html > >titled "yes -- nets

Re: package for netstat?

2005-03-25 Thread Larry Hall
At 04:31 PM 3/25/2005, you wrote: >Pardon if this is mis-posted. I'm a long-time cygwin user and fan, but not >very good at usenet. > >Which package do I get to get 'netstat'? > >I found this (slightly silly) thread: > >http://sourceware.org/ml/cygwin/2004-06/msg00959.html > >titled "yes -- netsta

package for netstat?

2005-03-25 Thread Shapiro, Jonathan
Pardon if this is mis-posted. I'm a long-time cygwin user and fan, but not very good at usenet. Which package do I get to get 'netstat'? I found this (slightly silly) thread: http://sourceware.org/ml/cygwin/2004-06/msg00959.html titled "yes -- netstat (was Re: is there any command to see all t

Re: base-files patch

2005-03-25 Thread Eric Blake
> On Fri, 25 Mar 2005, Eric Blake wrote: > > No, "`echo $0|tr ...`" does the wrong thing if $0 is "two spaces/sh" (it > > passes just one space to tr, instead of two), while `echo "$0"|tr ...` > > works correctly. > > In *this particular* case, the value will be compared with a constant set > of s

Re: base-files patch

2005-03-25 Thread Igor Pechtchanski
On Fri, 25 Mar 2005, Eric Blake wrote: > > In fact, in this particular case, > > it's probably better to use "``" instead of `""`, IMO. > > No, "`echo $0|tr ...`" does the wrong thing if $0 is "two spaces/sh" (it > passes just one space to tr, instead of two), while `echo "$0"|tr ...` > works cor

Re: base-files patch

2005-03-25 Thread Eric Blake
> On Fri, 25 Mar 2005, Eric Blake wrote (snipped): > > > Most shells understand "`""`" (particularly, all official shells on > Cygwin, which is what's important). True enough, and I concede that POSIX requires it to work. > In fact, in this particular case, > it's probably better to use "``" i

No /dev/parport0

2005-03-25 Thread Mary Cuper
Hi, I´m trying the whole time to get my /dev directory work. There is no /dev/parport0, so I tried to install one with mknod /dev/parport0 c 99 0 but it doesn´t help. I need it for programming my ATmega16 microcontroller with uisp. I always get /dev/parport0: No such device or address Failed to

Re: base-files patch

2005-03-25 Thread Igor Pechtchanski
On Fri, 25 Mar 2005, Eric Blake wrote (snipped): > In addition to fixing the default PS1 for bash to correctly delineate > non-printing characters, One thing that bash does is *deliberately* compute the line break one character *before* the edge of the screen. You can see what happens when it is

RE: test -f occasionally fails on sym links (keychain related)

2005-03-25 Thread Karl M
Hi All... Cut and paste error...I wanted to say execute while :; do rm foo; ln -s $$ foo; done in the first one. The line I used was part of furhter debugging work. From: "Karl M" Subject: test -f occasionally fails on sym links (keychain related) Date: Fri, 25 Mar 2005 09:37:30 -0800 Hi All... Whi

test -f occasionally fails on sym links (keychain related)

2005-03-25 Thread Karl M
Hi All... While doing some testing with keychain and the snapshots while getting ready to release a keychain service package (still working on it)...I noticed the following Sometimes doing a [ -f foo ]; will show a false true while the symlink is being created. You can see this by opening two b

Re: base-files patch

2005-03-25 Thread Christopher Faylor
On Fri, Mar 25, 2005 at 05:14:49PM +, Eric Blake wrote: >> On Fri, Mar 25, 2005 at 04:37:26PM +, Eric Blake wrote: >> I'm not sure I understand the removal of "``" for "portability" in the >> same patch which changes >> >> A=foo >> export A >> >> to >> export A=foo > >Yes, export A=

Re: base-files patch

2005-03-25 Thread Eric Blake
> On Fri, Mar 25, 2005 at 04:37:26PM +, Eric Blake wrote: > I'm not sure I understand the removal of "``" for "portability" in the > same patch which changes > > A=foo > export A > > to > export A=foo Yes, export A=foo is nonportable (/bin/sh, which is ash, does not like it, even thou

Re: base-files patch

2005-03-25 Thread Christopher Faylor
On Fri, Mar 25, 2005 at 04:37:26PM +, Eric Blake wrote: >Considering the recent thread on rxvt and PS1, I propose the following >patches to /etc/default/etc/profile. In addition to fixing the default >PS1 for bash to correctly delineate non-printing characters, it fixes >the following addition

base-files patch

2005-03-25 Thread Eric Blake
Considering the recent thread on rxvt and PS1, I propose the following patches to /etc/default/etc/profile. In addition to fixing the default PS1 for bash to correctly delineate non-printing characters, it fixes the following additional bugs: When using case, you do not need to quote a command

Re: rxvt problem: Prompt doesn't look very nice [FAQ alert]

2005-03-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jonathan Arnold on 3/25/2005 7:16 AM: >> I would prefer the cygwin default for bash to be: >> >> PS1='\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ ' > > > Well, I'm hoping I can find the time to propose a bash update this weekend >

Re: rxvt problem: Prompt doesn't look very nice

2005-03-25 Thread Igor Pechtchanski
On Fri, 25 Mar 2005, Jonathan Arnold wrote: > Eric Blake wrote: > > > And this is an evil default in /etc/profile, > > [snip] > > I would prefer the cygwin default for bash to be: > > > > PS1='\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ ' > > Well, I'm hoping I can find the time to propose

Re: recv and errno during a connection reset/closed by peer

2005-03-25 Thread Igor Pechtchanski
On Thu, 24 Mar 2005, Brian Dessent wrote: > Peter Stephens wrote: > > > When in non-blocking mode I thought I would be able to get a return > > from recv of '-1' and then check errno, but it never seems to be > > anything but '11', or EAGAIN. This seems to be true whether I > > MSG_PEEK or not. >

RE: Postgres 7.2

2005-03-25 Thread Reid Thompson
there id the option of just downloading the srcs from www.postgresql.org for 7.2.X and building them yourself. reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: rxvt problem: Prompt doesn't look very nice

2005-03-25 Thread Jonathan Arnold
Eric Blake wrote: According to Brian Dessent on 3/25/2005 1:00 AM: The first line above of PS1 is an escape sequence that tells the terminal to change the window title to the given string. Emacs apparently does not support that escape sequence, so you'll have to modify your prompt. The Cygwin def

Re: rxvt problem: Prompt doesn't look very nice

2005-03-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Brian Dessent on 3/25/2005 1:00 AM: > > The first line above of PS1 is an escape sequence that tells the > terminal to change the window title to the given string. Emacs > apparently does not support that escape sequence, so you'll have

[ANNOUNCEMENT] Updated: autossh-1.3-1

2005-03-25 Thread Schulman . Andrew
A new version of the autossh package is available in the Cygwin distribution. Changes in version 1.3-1: * New upstream release: - You can now use a remote echo server, instead of a loop of port forwardings, to monitor the ssh connection. See the man page for details. - Several bug fixes. Andre

Running Cygwin on Windows 2003 Server via remote desktop

2005-03-25 Thread Lode Nachtergaele
Hi, we installed cygwin (version 1.5.13-1) on a Windows Server 2003 (Windows .NET Server Ver 5.2 Build 3790). Locally on the machine everything is running fine. When I remote connect from a Windows XP machine (runnige XP Professional SP2) via Windows Remote Desktop and I start up a bash shell I get

Re: rxvt problem: Prompt doesn't look very nice

2005-03-25 Thread Mikael
"Brian Dessent" wrote: > Mikael wrote: > >> Thanks Michael. I am using the CVS-version (dated early febraury) of >> Emacs. >> I removed the lines I added to my .bashrc and added what you showed to my >> .emacs. Now my bash shell inside emacs looks nice (and in color), but >> it's >> not perfect.

Re: Cygwin Dlls

2005-03-25 Thread Brian Dessent
Ravi Prasad wrote: >I am using cygwin for tinyos. I installed > Tinyos1.1.0 in directory C:\tinyos\ and later upgraded > to 1.1.7. I have installed arm-gcc from > http://www.gnuarm.com/bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.exe > > to the directory C:\tinyos\cygwin\arm-gcc\GNUARM > >