Gcc2 2.95.3-10

2004-07-01 Thread Oz Arad

Hi,
I am looking for gcc2 2.95.3-10 for cygwin environment, running on Win2k.
Where can I download it from ?
Do you happen to know ?
I can not find it anywhere...
Thanks,
Oz

http://www.mail-archive.com/[EMAIL PROTECTED]/msg00268.html




Re: Gcc2 2.95.3-10

2004-07-01 Thread Max Bowsher
Oz Arad wrote:
 Hi,
 I am looking for gcc2 2.95.3-10 for cygwin environment, running on Win2k.
 Where can I download it from ?
 Do you happen to know ?
 I can not find it anywhere...

It was found to be buggy, and because it is so old, was deemed to be not worth fixing, 
so it was deleted from the mirrors.

GCC 3 has been around a long time now, and has displaced GCC 2 as the standard 
compiler in most places. You should consider moving
to it instead.

Max.



RE: Gcc2 2.95.3-10

2004-07-01 Thread Oz Arad
Thanks.
Unfortunately I need that version, or at least for the time being.

I have found this.
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/rele
ase/gcc2/
I see it if will work for me...

Thanks again!
Oz

-Original Message-
From: Billinghurst, David (CALCRTS)
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 01, 2004 10:03 AM
To: Oz Arad
Subject: RE: Gcc2 2.95.3-10


It has been withdrawn.

http://www.cygwin.com/ml/cygwin/2003-10/msg01501.html



Problem exporting Java applications

2004-07-01 Thread k felipe
Hi I am using CygWin X server on an XP box.
I would like to export some Java Apps such us Netbackup java console and 
Oracle EM java console. Unfortunately everything seems to work on the x 
server but these programs.

I have been able to login throught the X server, open GNOME, etc... but 
these apps opened but I cannot login because the keyboard does not work.

I believe there must be some kind of parameter which tune the serve to solve 
this but I have no clue.

Any help will be very much appreciated,
K PIPE
_
Acepta el reto MSN Premium: Protección para tus hijos en internet. 
Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_proteccioninfantil



AntiVir ALERT [your mail: Re: Re: Thanks!]

2004-07-01 Thread AntiVir
* * * * * * * * * * * * * * * AntiVir ALERT * * * * * * * * * * * * * * *
This version of AntiVir is licensed and full featured.

AntiVir has detected the following in a mail from your address:

Worm/Netsky.D.Dam   

The mail was not delivered.

Please remove any potential malicious software from your computer before
sending a new mail with attachments.

Mail-Info:
--8--
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Thu, 1 Jul 2004 18:57:15 +0200
 Subject: Re: Re: Thanks!
--8--


--
AntiVir for UNIX
Copyright (C) 1994-2002 by H+BEDV Datentechnik GmbH. All rights reserved.
For more information see http://www.antivir.de/ or http://www.hbedv.com/


Updated/new: gcc 3.2-1, gcc2-2.95.3-10, gcc-mingw-3.2-20020817-1

2004-07-01 Thread Oz Arad
Hi,
I am looking for gcc2 2.95.3-10 for cygwin environment, running on Win2k.
Where can I download it from ?
Do you happen to know ?
I can not find it anywhere...
Thanks,
Oz



--
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/



Re: help me more :( , posix functions in cygwin1.dll and many questions

2004-07-01 Thread Reini Urban
rudolf wrote:
 I have asked more question about share memory and semaphore , 
 now I have further difficult quesions

no, no, no, no
http://cygwin.com/faq/faq_toc.html#TOC94
Can I build a Cygwin program that does not require cygwin1.dll at
runtime?
 No

look elsewhere for your MSVC-compatible IPC code.

 1) is there a way to  compile VC++ generated libraray in cygwin gcc?
 2) all  posix  IPC functions require cygserver?
 3) how to run cygwin gcc compiled apache2 (containing IPC functions) in a windows 
 machine without cygwin installed?
 4) is there a way to install cygserver indepentally of cygwin  independally ?
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


--
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/



Re: help me more :( , posix functions in cygwin1.dll and many questions

2004-07-01 Thread Corinna Vinschen
On Jul  1 09:06, Reini Urban wrote:
 rudolf wrote:
  I have asked more question about share memory and semaphore , 
  now I have further difficult quesions
 
 no, no, no, no
 http://cygwin.com/faq/faq_toc.html#TOC94
 Can I build a Cygwin program that does not require cygwin1.dll at
 runtime?

Cool, that's the essence of an answer.

And since I have a gut feeling that this point is most important,
I'd like to place emphasis on http://cygwin.com/licensing.html


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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/



[Fwd: Gcc2 2.95.3-10]

2004-07-01 Thread Corinna Vinschen
Wrong mailing list.  Redirected to [EMAIL PROTECTED]

- Forwarded message from Oz Arad -
 Date: Thu, 1 Jul 2004 09:59:26 +0300
 From: Oz Arad
 Subject: Gcc2 2.95.3-10
 To: [EMAIL PROTECTED]
 
 Hi,
 I am looking for gcc2 2.95.3-10 for cygwin environment, running on Win2k.
 Where can I download it from ?
 Do you happen to know ?
 I can not find it anywhere...
 Thanks,
 Oz
 
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg00268.html
- End forwarded message -

This is a very old release and I'm not sure you'll find it anywhere.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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/



Re: Can i build Kernel Modules using cygwin and test them

2004-07-01 Thread Saurabh Agarwal
On Thu, 1 Jul 2004 13:42:30 +0530, Saurabh Agarwal
[EMAIL PROTECTED] wrote:
 
 
 On Thu, 1 Jul 2004 13:02:39 +0530, Saurabh Agarwal
 [EMAIL PROTECTED] wrote:
 
  Hi All,
  I want to write Kernel Modules and test them using cygwin as most of
  time i have windows machine.
  Can i make kernel modules in cygwin and test the.
  I tried it but Module.h, kernel.h were not present in cygwin.
  Please Help
  -
  Saurabh Agarwal
 
 
 
 --
 Saurabh Agarwal
 9868358071
 


-- 
Saurabh Agarwal
9868358071

--
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/



Re: [Fwd: Gcc2 2.95.3-10]

2004-07-01 Thread Reini Urban
Corinna Vinschen wrote:
Wrong mailing list.  Redirected to [EMAIL PROTECTED]
- Forwarded message from Oz Arad -
Date: Thu, 1 Jul 2004 09:59:26 +0300
From: Oz Arad
Subject: Gcc2 2.95.3-10
To: [EMAIL PROTECTED]
Hi,
I am looking for gcc2 2.95.3-10 for cygwin environment, running on Win2k.
Where can I download it from ?
Do you happen to know ?
I can not find it anywhere...
Thanks,
Oz
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00268.html
- End forwarded message -
This is a very old release and I'm not sure you'll find it anywhere.
Corinna
http://kde-cygwin.sourceforge.net/snapshots/
(Googled for: gcc2-2.95.3-10 cygwin to look for stale mirrors)
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
--
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/


Re: Can i build Kernel Modules using cygwin and test them

2004-07-01 Thread bertrand marquis
Saurabh Agarwal a écrit:
On Thu, 1 Jul 2004 13:42:30 +0530, Saurabh Agarwal
[EMAIL PROTECTED] wrote:
 

On Thu, 1 Jul 2004 13:02:39 +0530, Saurabh Agarwal
[EMAIL PROTECTED] wrote:
   

Hi All,
I want to write Kernel Modules and test them using cygwin as most of
time i have windows machine.
Can i make kernel modules in cygwin and test the.
I tried it but Module.h, kernel.h were not present in cygwin.
Please Help
-
Saurabh Agarwal
 

--
Saurabh Agarwal
9868358071
   


 

Yes it is possible to build kernel module under cygwin but you have to 
use a cross compiler and you will also need to have the kernel sources
you can use the crosstool to do that:
http://kegel.com/crosstool/

Bertrand

--
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/


[CYGWIN SETUP 2.427] Proxy port not saved

2004-07-01 Thread Emmanuel Engelhart
Hi

Exactly the same problem as described as follow:
http://sources.redhat.com/ml/cygwin/2001-10/msg01161.html

Regards
Emmanuel Engelhart


--
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/



Re: Bug affecting postgres now() function - more info and offer to fix cygwin bug...

2004-07-01 Thread Corinna Vinschen
On Jun 28 23:04, Sean McCune wrote:
 More useful info: (and yes I'm replying to my own message)
 
 I spelunked through the source code and found this in times.cc:
 
 LONGLONG
 hires_ms::usecs (bool justdelta)
 {
   if (!minperiod) /* NO_COPY variable */
 prime ();
   DWORD now = timeGetTime ();
   // FIXME: Not sure how this will handle the 49.71 day wrap around
   LONGLONG res = initime_us.QuadPart + ((LONGLONG) (now - initime_ms) *
 1000);
   return res;
 }

I've checked in a potential fix.  Could you try the latest Cygwin snapshot
from http://cygwin.com/snapshots.html ?

Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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/



Re: Using GDB to debug ia64 files

2004-07-01 Thread Ashwin N
Larry Hall wrote:

 At 06:39 AM 6/30/2004, you wrote:

[...]

I'de like to add PDB support to the BFD library, but I have problems finding
my way into the code. Have an idea of what to read/do first ?
If I can manage to add support of the PDB format to BFD, do you think I will
be able to do what I'de like to ? Is there a sufficient support in GDB for
doing what I'de like to ?
 
 That's a question for the GDB folks so I'll leave that for them.  I'm not
 sure if there's a patent issue with PDB though.

The Wine folk seem to be interested in implementing this feature:
http://www.winehq.org/site/status_todo

-snip--
GDB
 * Add the MSC/PDB info support to gdb
-snip-

Couldn't find the current status of this work.


~ash
-- 
Ashwin N
http://ash.webhop.net/




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

--
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/



ls -l | less shows escape chars

2004-07-01 Thread geneSmith
When I do ls -l | less a typical line looks like this with ESC in 
reverse video and other weird chars. What causes this? Can it be fixed?

-rwx--+   1 Administ   1392640 Jul  1 08:31 
ESC[01;32mNTUSER.DATESC[0m

--
Lit up like Levy's
--
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/


RE: ls -l | less shows escape chars

2004-07-01 Thread Clemson, Chris
 When I do ls -l | less a typical line looks like this with ESC in 
 reverse video and other weird chars. What causes this? Can it 
 be fixed?
 
 -rwx--+   1 Administ   1392640 Jul  1 08:31 
 ESC[01;32mNTUSER.DATESC[0m

that looks suspiciously like ANSI (colour) escape codes.
is your terminal setting correct?

-- 
The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail.

Software AG (UK) Limited
Registered in England  Wales 1310740
Registered Office: Hudson House, Hudson Way,
Pride Park, Derby DE24 8HS

--
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/



Re: ls -l | less shows escape chars

2004-07-01 Thread Joe
Do you have ls aliased to ls --color?

Try:  /bin/ls | less

geneSmith [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 When I do ls -l | less a typical line looks like this with ESC in
 reverse video and other weird chars. What causes this? Can it be fixed?

 -rwx--+   1 Administ   1392640 Jul  1 08:31
 ESC[01;32mNTUSER.DATESC[0m

 -- 
 Lit up like Levy's






--
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/



Re: ls -l | less shows escape chars

2004-07-01 Thread geneSmith
Clemson, Chris wrote, On 7/1/2004 8:50 AM:
When I do ls -l | less a typical line looks like this with ESC in 
reverse video and other weird chars. What causes this? Can it 
be fixed?

-rwx--+   1 Administ   1392640 Jul  1 08:31 
ESC[01;32mNTUSER.DATESC[0m

that looks suspiciously like ANSI (colour) escape codes.
is your terminal setting correct?
$ echo $TERM
xterm
$ env | grep -i term
COLORTERM=rxvt-xpm
TERM=xterm
$ env | grep -i less
LESSCHARSET=latin1
What are the correct setting and how do you set them?
Also, my less man page is totally messed up. All other man pages seem to 
work.

Thanks,
-gene
--
Lit up like Levy's
--
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/


Re: ls -l | less shows escape chars

2004-07-01 Thread geneSmith
Joe wrote, On 7/1/2004 9:02 AM:
Do you have ls aliased to ls --color?
Try:  /bin/ls | less
That fixes it. Should I not use color?
geneSmith [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
When I do ls -l | less a typical line looks like this with ESC in
reverse video and other weird chars. What causes this? Can it be fixed?
-rwx--+   1 Administ   1392640 Jul  1 08:31
ESC[01;32mNTUSER.DATESC[0m
--
Lit up like Levy's

--
Lit up like Levy's
--
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/


RE: ls -l | less shows escape chars

2004-07-01 Thread Clemson, Chris
  that looks suspiciously like ANSI (colour) escape codes.
  is your terminal setting correct?
  
 $ echo $TERM
 xterm

hmm, try setting TERM to vt100 or something, as that's quite a simple
terminal type and doesn't do anything fancy other than bold and underline.
of course, if your terminfo/termcap stuff knows about cygwin, you could set
TERM=cygwin instead.

chris

-- 
The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail.

Software AG (UK) Limited
Registered in England  Wales 1310740
Registered Office: Hudson House, Hudson Way,
Pride Park, Derby DE24 8HS

--
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/



Re: ls -l | less shows escape chars

2004-07-01 Thread Luc Hermitte
Hello,

* On Thu, Jul 01, 2004 at 09:06:16AM -0400, geneSmith [EMAIL PROTECTED] wrote:
 Also, my less man page is totally messed up. All other man pages seem
 to work.

I have 
export PAGER='less -R'
in my .bashrc

HTH,
-- 
Luc Hermitte

--
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/



RE: ls -l | less shows escape chars

2004-07-01 Thread Buchbinder, Barry (NIH/NIAID)
or switch the alias to ls --color=auto, which will color for a simple ls
but not when redirecting stdout.

-Original Message-
From: Joe
Sent: Thursday, July 01, 2004 9:03 AM
To: [EMAIL PROTECTED]
Subject: Re: ls -l | less shows escape chars

Do you have ls aliased to ls --color?

Try:  /bin/ls | less

geneSmith [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 When I do ls -l | less a typical line looks like this with ESC in
 reverse video and other weird chars. What causes this? Can it be fixed?

 -rwx--+   1 Administ   1392640 Jul  1 08:31
 ESC[01;32mNTUSER.DATESC[0m

--
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/



Re: ls -l | less shows escape chars

2004-07-01 Thread geneSmith
Luc Hermitte wrote, On 7/1/2004 9:14 AM:
Hello,
* On Thu, Jul 01, 2004 at 09:06:16AM -0400, geneSmith [EMAIL PROTECTED] wrote:
Also, my less man page is totally messed up. All other man pages seem
to work.

I have 
export PAGER='less -R'
in my .bashrc

HTH,
man less started working again. I don't know why.
Anyhow, when I do
ls -l | less -R
it works fine and I see correct colors and no ESC chars.
Without the -R it is it is messed up.
--
Lit up like Levy's
--
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/


Re: ls -l | less shows escape chars

2004-07-01 Thread geneSmith
Clemson, Chris wrote, On 7/1/2004 9:13 AM:
that looks suspiciously like ANSI (colour) escape codes.
is your terminal setting correct?
$ echo $TERM
xterm

hmm, try setting TERM to vt100 or something, as that's quite a simple
terminal type and doesn't do anything fancy other than bold and underline.
of course, if your terminfo/termcap stuff knows about cygwin, you could set
TERM=cygwin instead.
chrisb
export TERM=vt100
had no effect.
Where is the terminfo/termcap stuff?
Could it be significant that I installed and am using rxvt shell? 
However, when I use the default cygwin terminal I see the same thing.

--
Lit up like Levy's
--
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/


Re: ls -l | less shows escape chars

2004-07-01 Thread geneSmith
Luc Hermitte wrote, On 7/1/2004 9:14 AM:
Hello,
* On Thu, Jul 01, 2004 at 09:06:16AM -0400, geneSmith
[EMAIL PROTECTED] wrote:
Also, my less man page is totally messed up. All other man pages
seem to work.

I have export PAGER='less -R' in my .bashrc
HTH,
Oops, I misspoke. It is my rxvt man page that is messed up. I see stuff 
like this when I do
man rxvt
I see stuff like this:

.YODLTAGSTART.  roffcmd  .SH  NAME  .YODLTAGEND.  rxvt (ouR
XVT) - a VT102 emulator for  the  X  window  system.YODLTAGSTART.
roffcmd .PP .YODLTAGEND.
Setting PAGER does not seem to affect anything for me.
Anyhow,when I do
alias less=less -R
My ls -l | less problem is solved.
Thanks,
-gene
--
Lit up like Levy's
--
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/


Re: IPC over PTY

2004-07-01 Thread Christopher Faylor
On Thu, Jul 01, 2004 at 12:18:58PM +0200, Branko on dkts wrote:
I would be most grateful for your help.

I am having trouble transferring data between two processes over pseudo
terminal (PTY) master/slave connection. I send data from the slave process
to the master process with no problem. However, when I try to send data in
the opposite direction, the data sent from the master process ends up in the
receiver thread of the master process while the slave receiver thread
remains blocked. I found one of the earlier discussions on pseudo terminals
(http://www.cygwin.com/ml/cygwin/2003-07/msg01270.html), but I didn't find
any replies to this question.

I would appreciate it very much if someone could say something on this
problem or send a code example of a working master/slave PTY connection.

Cygwin comes with many examples of successful uses of ptys.  telnet,
ssh, rxvt, xterm spring to mind.

--
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/



Re: Bug affecting postgres now() function - more info and offer to fix cygwin bug...

2004-07-01 Thread Sean McCune
Great!  I was going to start work on a fix, too, but ran into cygwin
building problems, so you beat me to it.  Thanks!

I have the snapshot running.  And postgres is keeping time.  I haven't
looked at your source yet, but I assume there's still an independent
counter running and you're resetting the base time it counts from.  If
this is so, I don't really have a way to test the wrap-around other than
to let it run for 50 days and see if it works.  :) 


On Thu, 2004-07-01 at 07:37, Corinna Vinschen wrote:
 On Jun 28 23:04, Sean McCune wrote:
  More useful info: (and yes I'm replying to my own message)
  
  I spelunked through the source code and found this in times.cc:
  
  LONGLONG
  hires_ms::usecs (bool justdelta)
  {
if (!minperiod) /* NO_COPY variable */
  prime ();
DWORD now = timeGetTime ();
// FIXME: Not sure how this will handle the 49.71 day wrap around
LONGLONG res = initime_us.QuadPart + ((LONGLONG) (now - initime_ms) *
  1000);
return res;
  }
 
 I've checked in a potential fix.  Could you try the latest Cygwin snapshot
 from http://cygwin.com/snapshots.html ?
 
 Thanks,
 Corinna
-- 
Sean McCune
Red Hand Software, Inc.
[EMAIL PROTECTED]


--
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/



Re: ls -l | less shows escape chars

2004-07-01 Thread geneSmith
Joe wrote, On 7/1/2004 11:09 AM:
Either don't use color or change it to --color=auto.
I alias ls to ls -x -color=auto.
Then ls | less gives you columns without escape codes.
If you want a single column, use ls -1 | less.  The -1 overrides the -x in
the alias and gives one column.  Or leave out the -x if you never want
columns when piping to less.
Thanks for the info. However when I put
alias less=less -R
in my ~/.bash_profile it seem to work and and still get colors when I do 
ls -l | less.

-gene
--
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/


Re: Does Cygwin can run sql queries to MS SQL server ?

2004-07-01 Thread Larry Hall
At 12:40 PM 7/1/2004, you wrote:

Hello everybody,

about Cygwin  MS SQL :

if a database runs on a MS SQL server,
and that I want to run queries from a Win Workstation with Cygwin,
do you thing it's possible ?
I'm afraid it can't be done...

 Win Workstation  W2K Server 
  with CywinMS SQL 2000

$ telnet W2K_Server 1433
Trying 10.165.xx.xxx...
Connected to 10.165.xx.xxx2.
Escape character is '^]'.
== The network connexion seems to be OK

But the command psql -h W2K_Server -p 1433 -l returns 
psql: could not receive server response to SSL negotiation packet: Connection reset 
by peer

Is there no way to use ODBC (or equivalent) to pass SQL queries througt the net via 
Cygwin to a SQl Server ?


Sorry, can't help you there.


Thanks,
Frederic



Please don't commandeer an existing thread for your own purposes.
Start a new one instead.
 


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part
de geneSmith
Envoye : jeudi 1 juillet 2004 18:24
A : [EMAIL PROTECTED]
Objet : Re: ls -l | less shows escape chars


Clemson, Chris wrote, On 7/1/2004 10:17 AM:
 what OS are you actually connected to via your terminal?

I am just running cygwin via a rxvt terminal on win2k.

I fixed it by putting
alias less=less -R
in ~/.bash_profile.

-gene
-- 
Lit up like Levy's


--
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/


--
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/


--
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/



RE: Does Cygwin can run sql queries to MS SQL server ?

2004-07-01 Thread PLAN Frdric URS Lyon

Just a mistake.. sorry  :(

Please don't commandeer an existing thread for your own 
purposes.
Start a new one instead.
 



--
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/



Re: Does Cygwin can run sql queries to MS SQL server ?

2004-07-01 Thread Jason Tishler
Frederic,

On Thu, Jul 01, 2004 at 06:40:12PM +0200, Frederic wrote:
 if a database runs on a MS SQL server,
 and that I want to run queries from a Win Workstation with Cygwin, do
 you thing it's possible ?

Yes, sqsh and FreeTDS run very nicely under Cygwin:

http://www.sqsh.org/
http://www.freetds.org/

 I'm afraid it can't be done...

See above.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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/



Re: ls -l | less shows escape chars

2004-07-01 Thread Joe
The only downside is if you need the output to go to a file or a pipe to a
different program.

If you still have ls aliased to ls --color, then this:

ls  /tmp/filelist

will still put escape codes in filelist.  ls --color=auto won't - it will
keep it plain ascii text.

If you never do that, then it's not an issue though.

geneSmith [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Joe wrote, On 7/1/2004 11:09 AM:

  Either don't use color or change it to --color=auto.
 
  I alias ls to ls -x -color=auto.
 
  Then ls | less gives you columns without escape codes.
 
  If you want a single column, use ls -1 | less.  The -1 overrides
the -x in
  the alias and gives one column.  Or leave out the -x if you never want
  columns when piping to less.

 Thanks for the info. However when I put
 alias less=less -R
 in my ~/.bash_profile it seem to work and and still get colors when I do
 ls -l | less.

 -gene






--
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/



Re: Bug: cygpath -w . returns .\ instead of .

2004-07-01 Thread Luc Hermitte
Hello,

* On Thu, Jul 01, 2004 at 02:42:46PM -0700, Trevor Baker [EMAIL PROTECTED] wrote:
 Now in cygwin this may cause problems elsewhere, such as in the following
 trivial script:
 #--
 #!/bin/sh
 
 BASEDIR=`cygpath -w .`
 FILE=$BASEDIR/out.txt
 
 touch $FILE
 #--

use -m instead of -w

 I'm using the latest cygwin v1.5.10-3 on NT2k. Don't know cygpath
 version...sorry.

cygpath -v

-- 
Luc Hermitte
http://hermitte.free.fr/cygwin/

--
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/



Larry Hall ,One more qeustion,

2004-07-01 Thread rudolf
Hi,

I got the answers from Larry Hall about cygwin posix functions.

Then I have the last question.

Is there any way to invoke posix functions from cygwin1.dll under MSVC without cygwin 
installed and only run cygserver ?

Rudolf







--
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/



Re: Larry Hall ,One more qeustion,

2004-07-01 Thread Christopher Faylor
On Fri, Jul 02, 2004 at 09:58:23AM +0800, rudolf wrote:
I got the answers from Larry Hall about cygwin posix functions.

Then I have the last question.

Is there any way to invoke posix functions from cygwin1.dll under MSVC
without cygwin installed and only run cygserver ?

I guess it doesn't occur to you that you are basically asking the same
question over and over again does it?

The answer is:  No.  cygserver is a cygwin program.  You need cygwin
to run it.

Now, I would like to kindly ask you to go elsewhere in your quest not to
use cygwin.  As has been pointed out before, this mailing list is for
discussing how to use cygwin not how not to use cygwin.

--
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/



RE: ls -l | less shows 'escape' chars

2004-07-01 Thread Chris Taylor

On Thu, July 1, 2004 6:08 pm, Hannu E K Nevalainen said:
 

 For man rxvt:
 
 
 Use google on YODLTAGSTART and you'll eventually find a sed script and
 how to use it. It was posted very recently to this list.
 
 /Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E
 --76--
 
 
 ** on a mailing list; please keep replies on that particular list **
 
 

Specifically, the message you want is
http://www.cygwin.com/ml/cygwin/2004-06/msg00731.html

Chris

-- 
Your mode of life will be changed to EBCDIC.


--
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/