Python/Tkinter bug on Cygwin

2003-01-14 Thread Eric McRae
Thousands of humble apologies, I don't know where to send this bug:

Running Python 2.2.2 under Cygwin,  if I do :

from Tkinter import *
t=Tk()
c=Canvas(t)
c.pack()
c.create_arc(88,88,112,112,style=ARC,start=-270,width=2,extent=-2)
t.mainloop()

I get a complete circle instead of a 2 degree (or thereabouts) arc. If I 
run the same Python code on Linux, I get the arc I expect.

This occurred with TK 8.0 as well. and  happens on both a Win2K and a 
WinXP machine.

If you can confirm or at least point me to the proper group to report 
this bug, I would appreciate it.

--
Eric McRae, Electro-Logic Machines, Inc.
511 Root St.,  Port Townsend WA, 98368
Phone/Fax: 360.379.0969, http://www.elmi.com



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: less-378-1 : ANSI escape sequences in perldoc output

2003-01-14 Thread Christopher Faylor
On Mon, Jan 13, 2003 at 03:32:43PM -0500, [EMAIL PROTECTED] wrote:
>Using the cygwin.com search of the email archives just now to verify
>the pointer has shown *something* is amiss at least.  Searching for
>'perldoc' in January returns:
>
>Christopher Faylor - Re: less-378-1 : ANSI escape sequences in perldoc
>output Re: less-378-1 : ANSI escape sequences in perldoc output *
>From: Christopher Faylor  * To: cygwin at
>cygwin dot com * Date: Fri, 10 Jan 2003 11:41:11 -0500 * Subject: Re:
>less-378-1 : ANSI escape sequences in perldoc output * References:
><123820-220031510155251826 ...
>http://sources.redhat.com/ml/cygwin/2003-01/msg00511.html 2003-01-10,
>4940 bytes
>
>However, following the link to msg00511.html doesn't correlate:

This should now be fixed.  We had a mysterious out-of-disk-space condition
that caused some archive corruption.

FYI,
cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: [Mingw-users] This -mno-cygwin question is on topic here

2003-01-14 Thread Christopher Faylor
On Tue, Jan 14, 2003 at 02:24:28PM -0500, Greg Chicares wrote:
>Norman Vine wrote:
>> 
>> Greg Chicares writes:
>> >
>> > [...] it has been proposed to use 'mno-cygwin'
>> > in the wxWindows makefiles by default for all cygwin
>> > and mingw builds (cygwin and mingw share the same
>> > makefiles).
>> 
>> As long as there is a 'standard' way of building a Cygwin
>> version this sounds fine.
>> 
>> ie
>> ./configure --host=cygwin
>> and
>> ./configure --host=mingw32
>> 
>> should 'just do' the 'right thing' *automagically*
>
>I guess that depends on what you think the right thing is.
>The person who submitted the patch says:
>
>| Default to using -mno-cygwin, it works best in mingw/cygwin/wine
>| mkdir() takes only one argument in msvcrt, and 2 in all other cases
>
>It looks like you could override this with make COMMON_FLAGS=''
>some-wxwindows-target And it appears that this change has no effect on
>'./configure', but affects only building with the canned makefiles.
>
>If you disagree with the change, here's what to do:
>
>| Patches item #667563, was opened at 2003-01-14 04:05 | You can
>respond by visiting: |
>https://sourceforge.net/tracker/?func=detail&atid=309863&aid=667563&group_id=9863
>
>Further discussion ought to go there or a cygwin list.  I don't have a
>personal interest in cygwin, and I'm not posting to their list because
>I'm not subscribed and wouldn't see any responses--so that would be
>rude.  But if you're interested in wxWindows on cygwin, feel free to
>quote this email anywhere else.

Is anyone in the cygwin list interested in wxWindows?  It seems like
defaulting to -mno-cygwin is the wrong thing to do to me but I'm not
familiar with wxWindows (please, I don't need an education, just
an informed opinion) so I don't know if this seemingly nonsensical
suggestion makes sense or not.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




urlview-0.9 problem

2003-01-14 Thread Ajay Simha
Hi,

When I execute urlview by doing ^B in mutt I get:

URLs found!
LINES value must be >= 2: got 0
initscr(): LINES=0 COLS=0: too small.
Press any key to continue..

any ideas what I may be missing?

Thanks,

-ajay

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: problems with the "%h" flag to the "date" command

2003-01-14 Thread Christopher Faylor
On Tue, Jan 14, 2003 at 08:37:54PM -0800, David A.  Case wrote:
>Several of my scripts are failing because "date" doesn't seem to properly
>recognize the "%h" flag.  According to the docs:
>
>% man date
>
>NAME
>   date - print or set the system date and time
>..
>
>   %b locale's abbreviated month name (Jan..Dec)
>..
>   %h same as %b
>..

Apparently newlib isn't implementing the '%h' option in its version of
strftime.  I'll submit a patch to newlib.

I'll also implement '%l' and '%k' while I'm at it.

A fix for this will be in 1.3.19, coming soon, to a...

No wait a minute, I forgot I was going to be mean and hold onto 1.3.19
for a while...

Bwaha, etc.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




qRE: problems with the "%h" flag to the "date" command

2003-01-14 Thread Robert McNulty Junior
Same results here.
Perhaps a bug in Date.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of David A. Case
Sent: Tuesday, January 14, 2003 10:38 PM
To: [EMAIL PROTECTED]
Subject: problems with the "%h" flag to the "date" command


Several of my scripts are failing because "date" doesn't seem to properly
recognize the "%h" flag.  According to the docs:

% man date

NAME
   date - print or set the system date and time
..

   %b locale's abbreviated month name (Jan..Dec)
..
   %h same as %b
..


But here is my experience:

% date +%d%b%y 
14Jan03

% date +%d%h%y
1403

The "%h" argument works as advertised on RedHat Linux, and on several
Unices.  So, this has the earmarks of a cygwin-specific problem.

I could not find any mention of this at the FAQ or mailing lists.  My
cygwin installation (Windows XP Pro) is no more than a few days old
(cygcheck output attached...)

There is an obvious work-around, but not one that I can see that avoids
propagating changes (%h -> %b) back to Unix origins of a reasonably large
number of scripts.

..thanks!...dave case




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




problems with the "%h" flag to the "date" command

2003-01-14 Thread David A. Case
Several of my scripts are failing because "date" doesn't seem to properly
recognize the "%h" flag.  According to the docs:

% man date

NAME
   date - print or set the system date and time
..

   %b locale's abbreviated month name (Jan..Dec)
..
   %h same as %b
..


But here is my experience:

% date +%d%b%y 
14Jan03

% date +%d%h%y
1403

The "%h" argument works as advertised on RedHat Linux, and on several
Unices.  So, this has the earmarks of a cygwin-specific problem.

I could not find any mention of this at the FAQ or mailing lists.  My
cygwin installation (Windows XP Pro) is no more than a few days old
(cygcheck output attached...)

There is an obvious work-around, but not one that I can see that avoids
propagating changes (%h -> %b) back to Unix origins of a reasonably large
number of scripts.

..thanks!...dave case



Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Jan 14 20:14:54 2003

Windows XP Professional Ver 5.1 Build 2600 

Path:   .
C:\cygwin\usr\local\aspell
C:\cygwin\home\case\bin
C:\cygwin\home\case\amber8\exe-3
C:\cygwin\home\case\nab5\bin
C:\cygwin\usr\local\wnprun\bin
C:\cygwin\usr\local\rdb
C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\Program Files\Intel\Compiler70\IA32\Bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\PROGRAM FILES\THINKPAD\UTILITIES
c:\MSDEV\BIN

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

CYGWIN = `ntsec'
HOME = `C:\cygwin\home\case'
MAKE_MODE = `unix'
PWD = `/home/case'
USER = `case'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
AMBERHOME = `/home/case/amber8'
APPDATA = `C:\Documents and Settings\case\Application Data'
COLORFGBG = `0;default'
COLORTERM = `rxvt-xpm'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `QUINE'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVSROOT = `gamow.scripps.edu:/thr/gamow/cvsroot'
CVS_RSH = `rsh'
CVS_SERVER = `/usr/local/bin/cvs'
CYGWIN_ROOT = `\cygwin'
DELDIR = `/usr/local/qnifft22'
DISPLAY = `127.0.0.1:0.0'
DMF_PRESERVE = `1'
DOMAIN = `.scripps.edu'
ECHONOCR = `-n'
EDITOR = `/usr/bin/vim'
GRACE_HOME = `/usr/local/grace'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\case'
INCLUDE = `C:\MSDEV\INCLUDE'
INTEL_LICENSE_FILE = `C:\Program Files\Common Files\Intel\Licenses'
LIB = `C:\MSDEV\LIB'
LOGNAME = `case'
LOGONSERVER = `\\QUINE'
MAILCHECK = `999'
MANPAGER = `less -R'
MANPATH = `:/usr/ssl/man:/usr/ssl/man'
NABHOME = `/home/case/nab5'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/home/case/amber8'
OS = `Windows_NT'
PALMTOPCENTERDIR = `C:\Program Files\Sharp\Qtopia Desktop'
PARBODY = `._A_a'
PARINIT = `Rgqr'
PARQUOTE = `_s>|'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 11 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0b01'
PROGRAMFILES = `C:\Program Files'
PROMPT = `quine%% '
RTF2LATEX2E_DIR = `/usr/local/rtf2latex2e'
SESSIONNAME = `Console'
SHELL = `/bin/zsh'
SHIFTSHOME = `/home/case/shifts'
SHLVL = `2'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\case\LOCALS~1\Temp'
TERM = `rxvt'
TMP = `c:\DOCUME~1\case\LOCALS~1\Temp'
TZ = `PST8PDT'
USERDOMAIN = `QUINE'
USERNAME = `case'
USERPROFILE = `C:\Documents and Settings\case'
VISUAL = `/usr/bin/vim'
WINDIR = `C:\WINDOWS'
WINDOWID = `8388611'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:/cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:/cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:/cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS   44725Mb  26% CP CS UN PA FC "@ <', '> D"

.  /cygdrive userbinmode,cygdrive
C:/cygwin  / system  binmode
C:/cygwin/bin  /usr/bin  system  binmode
C:/cygwin/lib  /usr/lib  system  binmode
C:\cygwin\usr\X11R6\lib\X1

Re: cygwin vsFTPd porting issues

2003-01-14 Thread Christopher Faylor
On Tue, Jan 14, 2003 at 08:08:34PM -0800, Karl M wrote:
>Hi Chris...
>
>Are you just depriving everyone of all of the cool new features in 1.3.19 
>to be mean, or is it that Cygwin is really a top secret[click]

I'm trying to release a new version but Corinna and others keep
insisting on cruelly fixing bugs and adding nifty new features, like
better mmap functionality, increased pthread compatibility, and improved
ntsec handling.

In this case, they are the mean ones, not me.  Not that I don't get a
perverse pleasure from seeing the same "title_mutex" bug being reported
over and over, though...

Oh, and of course there is the other thing, which you alluded to but
*NO CARRIER*

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




ImageMagik's convert.exe needs some cygwin dll's which appear to be missing from my install

2003-01-14 Thread Jeff Lucas
I'm trying to use ImageMagik's convert utility with
cygwin.  When I run ImageMagik's convert.exe within
cygwin, it complains of missing DLL's.

After running Dependency Walker, it looks like the
missing DLL's that convert.exe needs are:

CYGBZ2-1.DLL
CYGWIN1.DLL
CYGZ.DLL
EFSADU.DLL

I don't think it's a path issue cause I've searched
for these files under my c:\cygwin directory.

Attempting a re-install of cygwin (everything) which
looks like it could take a while.

Thanks in advance.

Regards,
Jeff


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin vsFTPd porting issues

2003-01-14 Thread Karl M
Hi Chris...

Are you just depriving everyone of all of the cool new features in 1.3.19 to 
be mean, or is it that Cygwin is really a top secret[click]






From: Corinna Vinschen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Cygwin vsFTPd porting issues
Date: Tue, 14 Jan 2003 21:42:57 +0100

On Tue, Jan 14, 2003 at 10:53:46AM -0500, Jason Tishler wrote:
> > And in this case it's definitely a Cygwin problem which I should have
> > a fix for pretty soon.
>
> Cool!

Hi Jason,

I've just commited a fix to the cvs repository.  Could you please test
it with vsftpd?  Your test application runs fine now.  If vsftpd runs
ok as well, I'm sure Chris will release 1.3.19 soon.

Corinna

--
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



_
Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: How do I start two commands in .bat ?

2003-01-14 Thread Karl M
Hi Igor...

I usually do the following (for Windows 2000/xp):

ssh -f -L 5907:LocalHost:5900 Coyote.Paguay sleep 30

/c/Program\ Files/RealVNC/VNCViewer.exe -fullscreen -noauto LocalHost:7

I put above two lines in a file and then launch an "sh" shell from a 
shortcut with this file as a command line argument.

The effect is to start ssh, prompt for a password and then detach and let 
vncviewer start. Then vncviewer starts and prompts for a password. When I 
exit vncviewer, the ssh tunnel closes automatically.

Hope this helps.

...Karl






From: a12 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: How do I start two commands in .bat ?
Date: Tue, 14 Jan 2003 21:22:28 +0100

Igor,

My deepest apology for not following the rules of this list.
I just say: mea culpa, mea maxima culpa.

Yes, I have followed your suggestions in your earlier reply:

rem @echo off
start "VNC" /D"C:\Program Files\RealVNC" /B vncviewer.exe
C:
chdir C:\cygwin\bin
bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp 
vncviewer.exe"

does start vncviewer.exe and shh. The only problem left is,
that the ssh window is in background, and vncviewer window is
in foreground, so I have move the ssh window to the foreground.
Then I enter the isoft's password, switch to the vncviewer
window, and establish vnc to derqjzp.
Is it possible to make the ssh window to the foreground ?

Your second suggestion:

@echo off
chdir C:\cygwin\bin
bash --login -i -c "(/cygdrive/c/program\ files/realvnc/vncviewer.exe" &); 
ssh -L 5901:derqjzp:5900 -C
isoft@derqjzp"

starts the vncviewer only. The ssh window does not appear at
all. When I connect to localhost:1, I get the following error:
Failed to connect to server.

bash --login -i -c "ssh -L 5901:derqjzp:5900 -C -N isoft@derqjzp ; 
(/cygdrive/c/progra~1/realvnc/vncviewer.exe" &)"

yields the same error.

Any more hints ?


Igor Pechtchanski wrote:

> Did you follow up on the original "hint" ("help start")?  If you did, 
you
> would have come up with:
>
> @echo off
> chdir C:\cygwin\bin
> start "C:\Program Files\realvnc\vncviewer.exe"
> bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp"
>
> As for backgrounding the program in bash, you should do it *before* you
> start ssh:
>
> @echo off
> chdir C:\cygwin\bin
> bash --login -i -c "(/cygdrive/c/program\ 
files/realvnc/vncviewer.exe" &); ssh -L 5901:derqjzp:5900 -C isoft@derqjzp"
>
> Either of the above should work.
>
> For the future: the cygwin at cygwin dot com is really the only cygwin
> list even remotely appropriate for this kind of query.  Also, if you 
start
> a thread on a mailing list, it's usually a good idea to continue that
> thread to its logical conclusion, as well as make sure the final 
solution
> is in the list archives (it will be in this case).
> Igor
>
> On Tue, 14 Jan 2003, a12 wrote:
>
> > Daniel,
> >
> > vnc server is run on derqjzp
> >
> > C:
> > chdir C:\cygwin\bin
> > bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp
> > /cygdrive/c/progra~1/realvnc/vncviewer.exe"
> >
> > requests isoft's password, and start ssh
> >
> > C:
> > chdir C:\cygwin\bin
> > bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp ;
> > /cygdrive/c/progra~1/realvnc/vncviewer.exe"
> >
> > requests isoft's password, and shuts down the cygwin window.
> >
> > Any more hints ?
> >
> > Daniel Bößwetter wrote:
> >
> > > Which machine is vnc supposed to run on? localhost or derqjzp?
> > >
> > > In the former case, you's say
> > >
> > > bash -c "ssh isoft@derqjzp ; vncviewer"
> > >
> > > in the latter case
> > >
> > > bash -c "ssh isoft@derqjzp vncviewer"
> > >
> > > What you wrote (below) looks like you tried to start vncviewer from 
the
> > > .bat-file. This line is never reached, because bash never returns
> > > (unless you terminate ssh and even then it wouldn'r work, because 
it's a
> > > cygwin virtual path).
> > >
> > > Hope it helps.
> > > Daniel
> > >
> > > a12 wrote:
> > >
> > > >Hello gurus,
> > > >
> > > >In my ongoing process of starting ssh and vncviewer in one .bat
> > > >file, I have created the following:
> > > >
> > > >rem @echo off
> > > >chdir C:\cygwin\bin
> > > >bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp"
> > > >"/cygdrive/c/program files/realvnc/vncviewer.exe" &
> > > >
> > > >I enter the isoft's password, and ssh is started.
> > > >vncviewer is not started.
> > > >How do I make vncviewer started ?
>
> --
> http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_[EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> Oh, boy, virtual memory! Now I'm gonna make myself a really *big* 
RAMdisk!
>   -- /usr/games/fortune


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin

Please munge addresses in old archives

2003-01-14 Thread Adam
Hello, I have a super-hyper-meta secret email address that appeared in
a mailing to the old cygwin mailing list in 1999.  I have received some
spam to this address as a result (it appears nowhere else on the web). 
I see you now munge email addresses on archived messages.  Could you
please do the same to the old archives?

Please send replies via email as I do not subscribe to this list.
Thanks,
Adam

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




configure panic with confdefs.h error results

2003-01-14 Thread -
i'm not sure how to resolve my problem and i'm sure
there are other people experiencing this similar
issue... ./configure displays up to a point where it
says it cannot create an executable...i look into
config.log to get...( i hope i'm writing to the
correct mailing list, i apologize for any
inconvenience if i'm not..)

---
---
...
gcc version 3.2 20020927 (prerelease)
configure:2084: $? = 0
configure:2086: /usr/bin/gcc -V &5
gcc: argument to `-V' is missing
configure:2089: $? = 1
configure:2109: checking for C compiler default output
configure:2112: /usr/bin/gcc conftest.c  >&5
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
cannot find -lcygwin
collect2: ld returned 1 exit status
configure:2115: $? = 1
configure: failed program was:
#line 2093 "configure"
#include "confdefs.h"

int
main ()
{

  ;
  return 0;
}
configure:2138: error: C compiler cannot create
executables
...
-
-

i've gotten this error with another configure for
another program i never had a chance to compile
either, i haven't been able to track what i'm missing?

do these matter? (from top of config.log)

...
---
/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

...

i have the latest cygwin and the latest tarballs
extracted (only stable binary packages) from cygwin
mirrors...but my configure errors always points out a
failed build for confdefs.h...i did spend the time of
research and trying to solve the problem for this and
i know someone here must know the answer to this.i
tried looking through the cygwin archives but haven't
been successful, sorry if this seems like a repeat but
too many ignorant people do not pay attention to the
mailing lists rules of sending PLAIN and not HTML
messages that it even harder for me and everybody
else.
so PLAIN TEXT and not HTML formatted messages
people!..or maybe its the way cygwin.com is archiving
its mailing lists...any help would greatly be
appreciated thx...

jagginess


__ 
Post your free ad now! http://personals.yahoo.ca

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Missed patch? (gettimeofday time travels V2)

2003-01-14 Thread Fish
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christopher Faylor wrote:

> On Mon, Jan 13, 2003 at 09:55:15PM -0800, Fish wrote:
> > 
> >Is there any reason why Philip Aston's 6 Jul 2002 patch to
> >gettimeofday et. al. logic to correct for WM_POWERBROADCAST events
> >(PBT_APMRESUMESUSPEND, PBT_APMRESUMEAUTOMATIC,
> >PBT_APMRESUMECRITICAL) hasn't made it into the sources yet?
> >
> >http://sources.redhat.com/ml/cygwin/2002-05/msg00962.html
> >
> >Was this perhaps just a simple oversight? Or was there another
> >reason for it not being applied?
> 
> Perhaps it would be instructive if you read the whole thread.

Perhaps I already did.

Perhaps it doesn't explain what is meant by "sacrific[ing] accuracy
for precision", nor precisely WHY "QueryPerformance* functions [is]
bad news", nor cite the vague "various references" mentioned.

AND PERHAPS you could just answer my question or perhaps point me to
a different thread instead (that perhaps DOES have the answers I
seek) instead of wasting my others' time with such unhelpful replies.

Do you think perhaps that is possible?

Or is that perhaps asking too much?

- -- 
"Fish" (David B. Trout)
   [EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4

iQA/AwUBPiTLhkj11/TE7j4qEQLVBwCdFFe/nmRUBU9AcrAOtwI4oeH4pqsAoLdR
qQYOSaG9Dra0JgJLC31AR12D
=StPp
-END PGP SIGNATURE-


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Move to Windows Recycle Bin instead of deleting

2003-01-14 Thread Igor Pechtchanski
Ralf,

Please keep the discussion on the list so other people have access to this
information and opportunity to share their experience.  That "Reply-To:"
is there for a reason.

It's quite possible that something like this would happen.  It makes sense
that some sort of versioning is used for the deleted files.  There might
also be a difference between recycle bins on NTFS and FAT32 filesystems.

I should probably have added a disclaimer that the script below is
untested, as I, myself, don't use this kind of trick.  The next place to
look would probably be MSDN ()...  You might
even need to resort to using rundll32 and calling a function that erases
the file.

I'm sorry I can't be of more help.
Igor
P.S. I don't know Michael Steiner, sorry.

On Tue, 14 Jan 2003, Ralf Hauser wrote:

> Igor,
>
> Thanks for the hint.
> My win2k doesn't know /cygdrive/c/RECYCLER/ but /cygdrive/c/Recycled
>
> When just moving to the latter, it gets there and can be seen via cygwin
> command line "ls" (I just see the correct extension, but not the filename -
> it comes like "Dc712".html), but when opening the windows recycle bin icon,
> I don't see it.
>
> Doing that "ls -t ... | head -1" yields INFO2 to me and that appears to be a
> binary info file about where the files were deleted from and when.
>
> Trying to redo your RECYCLE_BIN_PATH got me slightly into trouble because
> when I copied a test file to
> /cygdrive/c/RECYCLER/INFO2 going back to the windows representation of the
> Recycle bin, all information was wiped and it claims to only contain 0 files
> while under cygwin's "ls", still all the D###.* files are there.
> Right-mouse-click refresh unfortunately doesn't help.
>
> Any thoughts?
>
>   Ralf
>
> P.S.: Don't worry I don't think anything I desperately want to recover was
> in my recycle bin...
> P.P.S.: Say hello to Michael Steiner he just started to work at Watson
> too...
> > -Original Message-
> > From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]]
> > Sent: Dienstag, 14. Januar 2003 22:06
> > To: Ralf Hauser
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Move to Windows Recycle Bin instead of deleting
> >
> >
> > On Tue, 14 Jan 2003, Ralf Hauser wrote:
> >
> > > Is there a way to have the files moved to the windows recycle bin from
> > > the cygwin shell window/command line?
> >
> > Yes.  In your ~/.bashrc:
> >
> > RECYCLE_BIN_PATH=""
> > function rm() { mv "$@" "$RECYCLE_BIN_PATH" }
> >
> > The one gotcha of the above is that "mv" will get the options passed to
> > "rm" - not sure if there are any discrepancies.  However, if you stick to
> > "rm -r" and "rm -f", you should be fine.
> >
> > The procedure for finding the location of the recycle bin depends on your
> > operating system and your setup.  On my Win2k machine, I can simply use
> >
> > RECYCLE_BIN_PATH="/cygdrive/c/RECYCLER/`ls -t
> > /cygdrive/c/RECYCLER|head -1`"
> >
> > Igor

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Move to Windows Recycle Bin instead of deleting

2003-01-14 Thread Chris Polley
On Tue, 14 Jan 2003 20:42:45 +0100, you wrote:

>Is there a way to have the files moved to the windows recycle bin from 
>the cygwin shell window/command line?

AFAIK, there isn't, although the 
int SHFileOperation(LPSHFILEOPSTRUCT lpFileOp) function in
shell32.dll



might be useful in working out a way to do it.

HTH,
CHris


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin Exim

2003-01-14 Thread Pierre A. Humblet
"Gerrit P. Haase" wrote:

> > He was reading some advice to Gerrit Haase to put tabs instead of
> > spaces in /etc/services to get exim working on cygwin.
> 
> Yes, but that was not my problem and it didn't solved it.
> Unfortunately I cannot say what went wrong with my handcrafted
> build,

That's history, not worth worrying about. The /etc/services file on 
Windows can contain spaces. I wish messages with incorrect advice could
be purged!
Aldon's problem was due to running exim as a non-sufficiently privileged
exim user (details still missing). He is OK running as system.

Pierre

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin Exim

2003-01-14 Thread Gerrit P. Haase
Hallo Greg,

Am Montag, 13. Januar 2003 um 00:44 schriebst du:

> On Sun, 12 Jan 2003, Pierre A. Humblet wrote:

>> > http://www.exim.org/pipermail/exim-users/Week-of-Mon-2009/032420.html

>> The -oX 25 works fine here (WinME). At any rate you don't need it,
>> 25 is the default

>> I am not sure what you mean about "single tab" and why you want
>> to change /etc/services. 

> He was reading some advice to Gerrit Haase to put tabs instead of
> spaces in /etc/services to get exim working on cygwin.

Yes, but that was not my problem and it didn't solved it.
Unfortunately I cannot say what went wrong with my handcrafted
build, I used some command line switches more than usual and
some special configuration settings (hardcoded IP addresses
without DNS lookups) and then it worked for me.  Probably not
the fault of Exim, but my domain setup.


Gerrit
-- 
=^..^=


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Move to Windows Recycle Bin instead of deleting

2003-01-14 Thread Rolf Campbell
> -Original Message-
> From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, January 14, 2003 4:06 PM
> To: Ralf Hauser
> Cc: [EMAIL PROTECTED]
> Subject: Re: Move to Windows Recycle Bin instead of deleting
> 
> 
> On Tue, 14 Jan 2003, Ralf Hauser wrote:
> 
> > Is there a way to have the files moved to the windows 
> recycle bin from 
> > the cygwin shell window/command line?
> 
> Yes.  In your ~/.bashrc:
> 
> RECYCLE_BIN_PATH=""
> function rm() { mv "$@" "$RECYCLE_BIN_PATH" }
> 
I would speculate that another problem with this is that if you view the
recycling bin in explorer, then you will no see (or be able to restore)
the cygwin files.  Also, if you empty the bin using explorer, then you
will likely leave all cygwin-moved files.

-Rolf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: copy files to Solaris 2.x boxes

2003-01-14 Thread [EMAIL PROTECTED]
Goto www.cygwin.com/packages and type in 'scp.exe'.  Install the packages
that are reported (OK, there should only be 1 binary package).  This is 
a good general mechanism to find out if the Cygwin distribution contains
a needed utility and what package to install to get it.

Larry


Original Message:
-
From: Scott Purcell [EMAIL PROTECTED]
Date: Tue, 14 Jan 2003 14:59:44 -0600
To: [EMAIL PROTECTED]
Subject: copy files to Solaris 2.x boxes


Hello,

I am running the cygwin product and I would like to copy files from my pc
to a sun box.

Currently we have a couple of run boxes and I can do a scp between the
boxes. I would like to be able to take files from my pc and scp them to the
suns.

Can this be done? If so any information?

Thanks,
Scott

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



mail2web - Check your email from the web at
http://mail2web.com/ .



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: copy files to Solaris 2.x boxes

2003-01-14 Thread Max Bowsher
Scott Purcell wrote:
> Hello,
> 
> I am running the cygwin product and I would like to copy files from
> my pc to a sun box. 
> 
> Currently we have a couple of run boxes and I can do a scp between
> the boxes. I would like to be able to take files from my pc and scp
> them to the suns.  
> 
> Can this be done? If so any information?

Install Cygwin and the optional package openssh from setup.exe

Use scp as you normally would.

Max


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin vsFTPd porting issues

2003-01-14 Thread Jason Tishler
Corinna,

On Tue, Jan 14, 2003 at 09:57:15PM +0100, Corinna Vinschen wrote:
> On Tue, Jan 14, 2003 at 03:53:43PM -0500, Christopher Faylor wrote:
> > On Tue, Jan 14, 2003 at 09:42:57PM +0100, Corinna Vinschen wrote:
> > >On Tue, Jan 14, 2003 at 10:53:46AM -0500, Jason Tishler wrote:
> > >> > And in this case it's definitely a Cygwin problem which I
> > >> > should have a fix for pretty soon.
> > >> 
> > >> Cool!
> > >
> > >I've just commited a fix to the cvs repository.  Could you please
> > >test it with vsftpd?  Your test application runs fine now.  If
> > >vsftpd runs ok as well, I'm sure Chris will release 1.3.19 soon.
> > 
> > I'm generating a snapshot right now.  If this seems to work ok, I'll
> > release 1.3.19.
> 
> Oooh, wait!  I just found out that I missed a bit...

I just tried:

http://cygwin.com/ml/cygwin-cvs/2003-q1/msg00068.html

and vsFTPd seems to be OK.

Let me know when you are done with your tweak and I will try again.

I really appreciate your help resolving this problem.

Thanks,
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
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin vsFTPd porting issues

2003-01-14 Thread Corinna Vinschen
On Tue, Jan 14, 2003 at 09:57:15PM +0100, Corinna Vinschen wrote:
> On Tue, Jan 14, 2003 at 03:53:43PM -0500, Christopher Faylor wrote:
> > I'm generating a snapshot right now.  If this seems to work ok, I'll
> > release 1.3.19.
> 
> Oooh, wait!  I just found out that I missed a bit...

Ok, it should be better now.  I forgot to copy the page protection
to the child process.  Vsftpd protects these pages for security reasons
and if the child doesn't inherit this fact, the security is flawed.

There's a better way to get all this but it requires to change mmap
all over which isn't quite what I like to do for now.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Move to Windows Recycle Bin instead of deleting

2003-01-14 Thread Igor Pechtchanski
On Tue, 14 Jan 2003, Ralf Hauser wrote:

> Is there a way to have the files moved to the windows recycle bin from
> the cygwin shell window/command line?

Yes.  In your ~/.bashrc:

RECYCLE_BIN_PATH=""
function rm() { mv "$@" "$RECYCLE_BIN_PATH" }

The one gotcha of the above is that "mv" will get the options passed to
"rm" - not sure if there are any discrepancies.  However, if you stick to
"rm -r" and "rm -f", you should be fine.

The procedure for finding the location of the recycle bin depends on your
operating system and your setup.  On my Win2k machine, I can simply use

RECYCLE_BIN_PATH="/cygdrive/c/RECYCLER/`ls -t /cygdrive/c/RECYCLER|head -1`"

Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




copy files to Solaris 2.x boxes

2003-01-14 Thread Scott Purcell
Hello,

I am running the cygwin product and I would like to copy files from my pc to a sun box.

Currently we have a couple of run boxes and I can do a scp between the boxes. I would 
like to be able to take files from my pc and scp them to the suns.

Can this be done? If so any information?

Thanks,
Scott

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin vsFTPd porting issues

2003-01-14 Thread Corinna Vinschen
On Tue, Jan 14, 2003 at 03:53:43PM -0500, Christopher Faylor wrote:
> On Tue, Jan 14, 2003 at 09:42:57PM +0100, Corinna Vinschen wrote:
> >On Tue, Jan 14, 2003 at 10:53:46AM -0500, Jason Tishler wrote:
> >> > And in this case it's definitely a Cygwin problem which I should have
> >> > a fix for pretty soon.
> >> 
> >> Cool!
> >
> >I've just commited a fix to the cvs repository.  Could you please test
> >it with vsftpd?  Your test application runs fine now.  If vsftpd runs
> >ok as well, I'm sure Chris will release 1.3.19 soon.
> 
> I'm generating a snapshot right now.  If this seems to work ok, I'll
> release 1.3.19.

Oooh, wait!  I just found out that I missed a bit...

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin vsFTPd porting issues

2003-01-14 Thread Christopher Faylor
On Tue, Jan 14, 2003 at 09:42:57PM +0100, Corinna Vinschen wrote:
>On Tue, Jan 14, 2003 at 10:53:46AM -0500, Jason Tishler wrote:
>> > And in this case it's definitely a Cygwin problem which I should have
>> > a fix for pretty soon.
>> 
>> Cool!
>
>I've just commited a fix to the cvs repository.  Could you please test
>it with vsftpd?  Your test application runs fine now.  If vsftpd runs
>ok as well, I'm sure Chris will release 1.3.19 soon.

I'm generating a snapshot right now.  If this seems to work ok, I'll
release 1.3.19.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Fwd: Re: binutils/ld - Pls. reply.

2003-01-14 Thread DEEPA SIVASANKARANE


--- Begin Message ---

Well, if I run plain "ld"(with no emulation specified), in a 
cygwin environment,
on a ".o" generated form "as", I get this error:

ld: PE operatios on non PE File.

thanx,
Deepa

 Original message 
>Date: Tue, 14 Jan 2003 10:10:45 -0500
>From: Christopher Faylor <[EMAIL PROTECTED]>  
>Subject: Re: binutils/ld  
>To: [EMAIL PROTECTED]
>
>On Tue, Jan 14, 2003 at 07:39:15AM -0500, DEEPA 
SIVASANKARANE wrote:
>>i had installed binutils from setup.  does it support 
elf_i386
>>emulation ?  the only supported emulation seems to i386PE.  
When I run
>>ld, on a ".o" from "as" I get the message;
>>
>>ld: PE operatios on non PE File.
>
>I'm not sure why the above information isn't enough of a 
clue, but
>ld is built for Windows, so it doesn't include elf 
"emulation".
>
>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-
simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/
>

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--- End Message ---
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Cygwin vsFTPd porting issues

2003-01-14 Thread Corinna Vinschen
On Tue, Jan 14, 2003 at 10:53:46AM -0500, Jason Tishler wrote:
> > And in this case it's definitely a Cygwin problem which I should have
> > a fix for pretty soon.
> 
> Cool!

Hi Jason,

I've just commited a fix to the cvs repository.  Could you please test
it with vsftpd?  Your test application runs fine now.  If vsftpd runs
ok as well, I'm sure Chris will release 1.3.19 soon.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Missed patch? (gettimeofday time travels V2)

2003-01-14 Thread Christopher Faylor
On Mon, Jan 13, 2003 at 09:55:15PM -0800, Fish wrote:
> 
>Is there any reason why Philip Aston's 6 Jul 2002 patch to
>gettimeofday et. al. logic to correct for WM_POWERBROADCAST events
>(PBT_APMRESUMESUSPEND, PBT_APMRESUMEAUTOMATIC, PBT_APMRESUMECRITICAL)
>hasn't made it into the sources yet?
>
>http://sources.redhat.com/ml/cygwin/2002-05/msg00962.html
>
>Was this perhaps just a simple oversight? Or was there another reason
>for it not being applied?

Perhaps it would be instructive if you read the whole thread.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: How do I start two commands in .bat ?

2003-01-14 Thread a12
Igor,

My deepest apology for not following the rules of this list.
I just say: mea culpa, mea maxima culpa.

Yes, I have followed your suggestions in your earlier reply:

rem @echo off
start "VNC" /D"C:\Program Files\RealVNC" /B vncviewer.exe
C:
chdir C:\cygwin\bin
bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp vncviewer.exe"

does start vncviewer.exe and shh. The only problem left is,
that the ssh window is in background, and vncviewer window is
in foreground, so I have move the ssh window to the foreground.
Then I enter the isoft's password, switch to the vncviewer
window, and establish vnc to derqjzp.
Is it possible to make the ssh window to the foreground ?

Your second suggestion:

@echo off
chdir C:\cygwin\bin
bash --login -i -c "(/cygdrive/c/program\ files/realvnc/vncviewer.exe" &); ssh -L 
5901:derqjzp:5900 -C
isoft@derqjzp"

starts the vncviewer only. The ssh window does not appear at
all. When I connect to localhost:1, I get the following error:
Failed to connect to server.

bash --login -i -c "ssh -L 5901:derqjzp:5900 -C -N isoft@derqjzp ; 
(/cygdrive/c/progra~1/realvnc/vncviewer.exe" &)"

yields the same error.

Any more hints ?


Igor Pechtchanski wrote:

> Did you follow up on the original "hint" ("help start")?  If you did, you
> would have come up with:
>
> @echo off
> chdir C:\cygwin\bin
> start "C:\Program Files\realvnc\vncviewer.exe"
> bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp"
>
> As for backgrounding the program in bash, you should do it *before* you
> start ssh:
>
> @echo off
> chdir C:\cygwin\bin
> bash --login -i -c "(/cygdrive/c/program\ files/realvnc/vncviewer.exe" &); 
>ssh -L 5901:derqjzp:5900 -C isoft@derqjzp"
>
> Either of the above should work.
>
> For the future: the cygwin at cygwin dot com is really the only cygwin
> list even remotely appropriate for this kind of query.  Also, if you start
> a thread on a mailing list, it's usually a good idea to continue that
> thread to its logical conclusion, as well as make sure the final solution
> is in the list archives (it will be in this case).
> Igor
>
> On Tue, 14 Jan 2003, a12 wrote:
>
> > Daniel,
> >
> > vnc server is run on derqjzp
> >
> > C:
> > chdir C:\cygwin\bin
> > bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp
> > /cygdrive/c/progra~1/realvnc/vncviewer.exe"
> >
> > requests isoft's password, and start ssh
> >
> > C:
> > chdir C:\cygwin\bin
> > bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp ;
> > /cygdrive/c/progra~1/realvnc/vncviewer.exe"
> >
> > requests isoft's password, and shuts down the cygwin window.
> >
> > Any more hints ?
> >
> > Daniel Bößwetter wrote:
> >
> > > Which machine is vnc supposed to run on? localhost or derqjzp?
> > >
> > > In the former case, you's say
> > >
> > > bash -c "ssh isoft@derqjzp ; vncviewer"
> > >
> > > in the latter case
> > >
> > > bash -c "ssh isoft@derqjzp vncviewer"
> > >
> > > What you wrote (below) looks like you tried to start vncviewer from the
> > > .bat-file. This line is never reached, because bash never returns
> > > (unless you terminate ssh and even then it wouldn'r work, because it's a
> > > cygwin virtual path).
> > >
> > > Hope it helps.
> > > Daniel
> > >
> > > a12 wrote:
> > >
> > > >Hello gurus,
> > > >
> > > >In my ongoing process of starting ssh and vncviewer in one .bat
> > > >file, I have created the following:
> > > >
> > > >rem @echo off
> > > >chdir C:\cygwin\bin
> > > >bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp"
> > > >"/cygdrive/c/program files/realvnc/vncviewer.exe" &
> > > >
> > > >I enter the isoft's password, and ssh is started.
> > > >vncviewer is not started.
> > > >How do I make vncviewer started ?
>
> --
> http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_[EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
>   -- /usr/games/fortune


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Move to Windows Recycle Bin instead of deleting

2003-01-14 Thread Ralf Hauser
Is there a way to have the files moved to the windows recycle bin from 
the cygwin shell window/command line?



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Fw: [Mingw-users] This -mno-cygwin question is on topic here

2003-01-14 Thread Norman Vine
FYI

- Original Message - 
From: "Greg Chicares" <[EMAIL PROTECTED]>
To: "Norman Vine" <[EMAIL PROTECTED]>; "mingw-users" <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 2:24 PM
Subject: Re: [Mingw-users] This -mno-cygwin question is on topic here


> Norman Vine wrote:
> > 
> > Greg Chicares writes:
> > >
> > > [...] it has been proposed to use 'mno-cygwin'
> > > in the wxWindows makefiles by default for all cygwin
> > > and mingw builds (cygwin and mingw share the same
> > > makefiles).
> > 
> > As long as there is a 'standard' way of building a Cygwin
> > version this sounds fine.
> > 
> > ie
> > ./configure --host=cygwin
> > and
> > ./configure --host=mingw32
> > 
> > should 'just do' the 'right thing' *automagically*
> 
> I guess that depends on what you think the right thing is.
> The person who submitted the patch says:
> 
> | Default to using -mno-cygwin, it works best in mingw/cygwin/wine
> | mkdir() takes only one argument in msvcrt, and 2 in all other cases
> 
> It looks like you could override this with
>   make COMMON_FLAGS='' some-wxwindows-target
> And it appears that this change has no effect on
> './configure', but affects only building with the
> canned makefiles.
> 
> If you disagree with the change, here's what to do:
> 
> | Patches item #667563, was opened at 2003-01-14 04:05
> | You can respond by visiting: 
> | https://sourceforge.net/tracker/?func=detail&atid=309863&aid=667563&group_id=9863
> 
> Further discussion ought to go there or a cygwin list.
> I don't have a personal interest in cygwin, and I'm not
> posting to their list because I'm not subscribed and
> wouldn't see any responses--so that would be rude. But
> if you're interested in wxWindows on cygwin, feel free
> to quote this email anywhere else.
> 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: login from other m/c?

2003-01-14 Thread Andrew DeFaria
senthill wrote:


Hi All,

Is it possible to login to cygwin from other m/c in which cygwin is 
not installed? If so, I would appreciate the procedure to do the same. 
Is there any docs available?

Not sure what you mean by "m/c" but if you mean is it possible to log 
into a machine that has Cygwin from a machine that doesn't have Cygwin 
then the answer is yes - provided that the Cygwin machine has setup a 
service such as telnet/rlogin/ssh and that it's /etc/passwd is properly 
constructed so that you have an account there.

As for docs see /usr/doc/Cygwin/inetutils-1.3.2.README on the Cygwin 
machine.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



parts of man path not found with j1

2003-01-14 Thread Ralf Hauser
When I use man/man-1.5g-2 everything is fine.

If I use 	man/man-1.5j-1 , the second directory after the colon in my 
manp (i.e. MAN_PATH env variable) is no longer found?

Any idea why?



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problem with setup.exe

2003-01-14 Thread Max Bowsher
yann Bassing wrote:
> Under win2000, the setup.exe fails to launch :
> "setup.exe has generated errors and will be closed by windows"...
>
> What's wrong ? Help me please...

Most odd. For some reason, setup.exe works perfectly for the majority of
people, but a very few get bad misbehaviour.

I suggest you try the beta version of setup available at
http://cygwin.com/setup-snapshots/

Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin with ScrollWheel Mouse on Win XP

2003-01-14 Thread Abraham Backus
A common problem that I hit with mouse wheels is that the wheel often gets
assigned by default to a setting that is incompatible with a lot of
applications.  If you go into the Mouse control panel and assign your mouse
wheel to "Autoscroll" and check the "Use MS Office Compatible Scroll Only"
box, this should fix your problems.

-Abe

- Original Message -
> I have just installed Cygwin on my new XP system after being very happy
with
> Cygwin on Win2k. My problem at the moment is that my scrolling on my
scroll
> wheel mouse is not working - I have tried both bash and sh. Is there a
> specific package I need to install to support scrolling?



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Problem with setup.exe

2003-01-14 Thread yann Bassing
Under win2000, the setup.exe fails to launch :
"setup.exe has generated errors and will be closed by windows"...

What's wrong ? Help me please...
-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Meet Singles
http://corp.mail.com/lavalife


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Bug in g++: Testcase exits with segmentation fault

2003-01-14 Thread Igor Pechtchanski
On Tue, 14 Jan 2003, Chris January wrote:

> > The testcase attached to this mail compiled with g++ 2.95.3-10 or g++ 3.2
> > 20020927 under Cygwin 1.3.18 exits with segmentation fault. It seems to be
> > an error in g++ as the testcase doesn't work under Linux either.
> > Can anyone help or do I have to report this error to the GCC website?
> >
> > BTW I found two ways to make the testcase work:
> > 1) Change line 64 (and 70 respectively) and use "observer
> > *Observer" instead
> > of "std::list". I compiled the testcase with STLport-4.5.3 under
> > Linux to see if it's a bug in the Standard Library but got again
> > segmentation fault.
> > 2) Remove line 75 which is a simple "poll(NULL, 0, 2000)". It
> > works without
> > this line but I don't know why.
>
> The bug is actually in your testcase.
> The line:
> Observers.push_back(observer());
> creates a temporary observer object. So when the line
> observer::observer() { Select.give(this); }
> calls give(), it leaves a dangling pointer.
>
> Chris

True, but not the issue here.  Even buggy programs shouldn't *crash* the
compiler.  Just my 2c.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Bug in g++: Testcase exits with segmentation fault

2003-01-14 Thread Boris Schaeling


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Chris
> January
> Sent: Tuesday, January 14, 2003 6:01 PM
> To: Boris Schaeling
> Cc: [EMAIL PROTECTED]
> Subject: RE: Bug in g++: Testcase exits with segmentation fault

> [...]
> The bug is actually in your testcase.
> The line:
>   Observers.push_back(observer());
> creates a temporary observer object. So when the line
>   observer::observer() { Select.give(this); }
> calls give(), it leaves a dangling pointer.

Oh, you are right. I've forgotten to use a smart pointer ... thanks for your
feedback!

Boris


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: javac on cygwin

2003-01-14 Thread Shankar Unni
Christopher Faylor wrote:


Hmm.  Would that even work?



Yes.


Hmm again. It'll be interesting to see this in action..
--
Shankar.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Re: How export static const class members symbols?

2003-01-14 Thread Christopher Faylor
On Tue, Jan 14, 2003 at 06:07:11PM +0100, Jorge Dominguez Rodriguez wrote:
>On Tue, Jan 14, 2003 at 09:06:26AM +0100, Jorge Dominguez Rodriguez wrote:
>>I?m developing a Xerces 2.1.0 mingw port but when  I  try  to  compile  a
>>small  example  the  references  of  static  const  members  of several classes
>>cannot b =_blank>http://cygwin.com/docs.html
>FAQ: http://cygwin.com/faq/
>
>Mingw is part of cygwin too.  Why -mno-cygwin?

Mingw is a project with lots of people supporting it.  If you want help
with mingw, it makes logical sense to go to the project site rather than
asking in a project mailing list whose focus is not mingw.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Bug in g++: Testcase exits with segmentation fault

2003-01-14 Thread Chris January

> The testcase attached to this mail compiled with g++ 2.95.3-10 or g++ 3.2
> 20020927 under Cygwin 1.3.18 exits with segmentation fault. It seems to be
> an error in g++ as the testcase doesn't work under Linux either.
> Can anyone
> help or do I have to report this error to the GCC website?
>
> BTW I found two ways to make the testcase work:
> 1) Change line 64 (and 70 respectively) and use "observer
> *Observer" instead
> of "std::list". I compiled the testcase with STLport-4.5.3 under
> Linux to see if it's a bug in the Standard Library but got again
> segmentation fault.
> 2) Remove line 75 which is a simple "poll(NULL, 0, 2000)". It
> works without
> this line but I don't know why.

The bug is actually in your testcase.
The line:
Observers.push_back(observer());
creates a temporary observer object. So when the line
observer::observer() { Select.give(this); }
calls give(), it leaves a dangling pointer.

Chris


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: How do I start two commands in .bat ?

2003-01-14 Thread Igor Pechtchanski
Did you follow up on the original "hint" ("help start")?  If you did, you
would have come up with:

@echo off
chdir C:\cygwin\bin
start "C:\Program Files\realvnc\vncviewer.exe"
bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp"

As for backgrounding the program in bash, you should do it *before* you
start ssh:

@echo off
chdir C:\cygwin\bin
bash --login -i -c "(/cygdrive/c/program\ files/realvnc/vncviewer.exe" &); ssh 
-L 5901:derqjzp:5900 -C isoft@derqjzp"

Either of the above should work.

For the future: the cygwin at cygwin dot com is really the only cygwin
list even remotely appropriate for this kind of query.  Also, if you start
a thread on a mailing list, it's usually a good idea to continue that
thread to its logical conclusion, as well as make sure the final solution
is in the list archives (it will be in this case).
Igor

On Tue, 14 Jan 2003, a12 wrote:

> Daniel,
>
> vnc server is run on derqjzp
>
> C:
> chdir C:\cygwin\bin
> bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp
> /cygdrive/c/progra~1/realvnc/vncviewer.exe"
>
> requests isoft's password, and start ssh
>
> C:
> chdir C:\cygwin\bin
> bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp ;
> /cygdrive/c/progra~1/realvnc/vncviewer.exe"
>
> requests isoft's password, and shuts down the cygwin window.
>
> Any more hints ?
>
> Daniel Bößwetter wrote:
>
> > Which machine is vnc supposed to run on? localhost or derqjzp?
> >
> > In the former case, you's say
> >
> > bash -c "ssh isoft@derqjzp ; vncviewer"
> >
> > in the latter case
> >
> > bash -c "ssh isoft@derqjzp vncviewer"
> >
> > What you wrote (below) looks like you tried to start vncviewer from the
> > .bat-file. This line is never reached, because bash never returns
> > (unless you terminate ssh and even then it wouldn'r work, because it's a
> > cygwin virtual path).
> >
> > Hope it helps.
> > Daniel
> >
> > a12 wrote:
> >
> > >Hello gurus,
> > >
> > >In my ongoing process of starting ssh and vncviewer in one .bat
> > >file, I have created the following:
> > >
> > >rem @echo off
> > >chdir C:\cygwin\bin
> > >bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp"
> > >"/cygdrive/c/program files/realvnc/vncviewer.exe" &
> > >
> > >I enter the isoft's password, and ssh is started.
> > >vncviewer is not started.
> > >How do I make vncviewer started ?

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Support for DDWARF-2 debug info? (on Cygwin)

2003-01-14 Thread Brian Ford
On 14 Jan 2003, Nick Clifton wrote:

> Hi Brian,
>
> > I have built gcc 3.2.1 (just --enable-languages=c so far) with
> > "#define DWARF2_DEBUGGING_INFO 1" added to config/i386/cygwin.h.
> > The resulting compiler still produces stabs by default, but will
> > accept "-gdwarf-2".
> >
> > When using "-gdwarf-2", the debug information is, I believe,
> > correctly output, but the sections have incorrect attributes as
> > shown by the "objdump -h" output below.
>
> I believe that this is a gcc problem.  GCC generates ".section"
> assembler directives to create these sections and it assigns the
> attributes for the sections at the same time.
>
> I think that you need to define a "named_section" function for the
> gcc_target structure which will then add the necessary flags.  For an
> example of this see arm_elf_asm_named_section() in
> gcc/config/arm/arm.c.
>

While this may be partially true, it appears that there is no way for gcc
to tell gas that the section is a debugging section.  Thus, gas must key
off the section name to produce the appropriate flags.

The coff versions of sec_to_styp_flags and styp_to_sec_flag in bfd look to
see if the section name begins with .debug and modify the section flags
appropriately.  The PE versions do not even look at the section name.

/* The PE version; see above for the general comments.  The non-PE
   case seems to be more guessing, and breaks PE format; specifically,
   .rdata is readonly, but it sure ain't text.  Really, all this
   should be set up properly in gas (or whatever assembler is in use),
   and honor whatever objcopy/strip, etc. sent us as input.  */

And, I can't seem to figure out any better way for gas to detect this.
So, according to the above comment, there appears no "correct" way to do
this.

Any additional suggestions are more than welcome.  We are porting an
application that relies on reading DWARF2 debugging information to Cygwin.
This seems like an easier and more usefull route for the community than us
writing a stabs parser.  Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: binutils/ld

2003-01-14 Thread DEEPA SIVASANKARANE

Well, if I run plain "ld"(with no emulation specified), in a 
cygwin environment,
on a ".o" generated form "as", I get this error:

ld: PE operatios on non PE File.

thanx,
Deepa

 Original message 
>Date: Tue, 14 Jan 2003 10:10:45 -0500
>From: Christopher Faylor <[EMAIL PROTECTED]>  
>Subject: Re: binutils/ld  
>To: [EMAIL PROTECTED]
>
>On Tue, Jan 14, 2003 at 07:39:15AM -0500, DEEPA 
SIVASANKARANE wrote:
>>i had installed binutils from setup.  does it support 
elf_i386
>>emulation ?  the only supported emulation seems to i386PE.  
When I run
>>ld, on a ".o" from "as" I get the message;
>>
>>ld: PE operatios on non PE File.
>
>I'm not sure why the above information isn't enough of a 
clue, but
>ld is built for Windows, so it doesn't include elf 
"emulation".
>
>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-
simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/
>

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin vsFTPd porting issues

2003-01-14 Thread Jason Tishler
Corinna,

On Tue, Jan 14, 2003 at 04:13:21PM +0100, Corinna Vinschen wrote:
> On Tue, Jan 14, 2003 at 09:58:03AM -0500, Jason Tishler wrote:
> > Instead of the above, I have attached for a small testcase,
> > mmap-test.c, that reproduces the problem.  When mmap-test is run,
> > you should get something like the following output:
> 
> thanks, that's better than anything else!  I'm somewhat busy currently
> so, if you don't mind, could you check, if everything's ok when
> removing the calls to mprotect()?

Removing the calls to mprotect() eliminates the problem.

> I'm pretty sure they are the cause for the problem.

I was hypothesizing that they were causing the problem too.

> And in this case it's definitely a Cygwin problem which I should have
> a fix for pretty soon.

Cool!

Thanks,
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
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: binutils/ld

2003-01-14 Thread Christopher Faylor
On Tue, Jan 14, 2003 at 07:39:15AM -0500, DEEPA SIVASANKARANE wrote:
>i had installed binutils from setup.  does it support elf_i386
>emulation ?  the only supported emulation seems to i386PE.  When I run
>ld, on a ".o" from "as" I get the message;
>
>ld: PE operatios on non PE File.

I'm not sure why the above information isn't enough of a clue, but
ld is built for Windows, so it doesn't include elf "emulation".

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: msgget (IPC message queue) implementation

2003-01-14 Thread Jim
There is a addon library at
http://www.neuro.gatech.edu/users/cwilson/cygutils/cygipc/ cygipc which
supports the SysV Message queues, semaphores and shared memories... there is
supposedly a cygwin daemon which is supposed to replace this project but
noone has claimed to know anything about this status.  Also the message
queue implementation has bugs.  It is also significantly slower than the
equivalents under Linux (16000 CPU ticks instead of 2000).

- Original Message -
From: "gilles BOURGEOIS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 1:29 AM
Subject: msgget (IPC message queue) implementation


> hi folks,
> is msgget (cygipc package) still running , and I ran msgget which
return -1
> (and does not set errno) in my
> code.
> thanks for help
> gilles
>
>
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: How export static const class members symbols?

2003-01-14 Thread Christopher Faylor
On Tue, Jan 14, 2003 at 09:06:26AM +0100, Jorge Dominguez Rodriguez wrote:
>I?m developing a Xerces 2.1.0 mingw port but when I try to compile a
>small example the references of static const members of several classes
>cannot be resolved by the gcc.

The mingw site is http://www.mingw.org/ .

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: mkfifo implementation ?

2003-01-14 Thread Christopher Faylor
On Tue, Jan 14, 2003 at 09:47:36AM +0100, gilles BOURGEOIS wrote:
>is mkfifo still not implemented (I read mailing list archive fron end of
>2003) , and I ran mkfifo which return -1 (and does not set errno) in my
>code.

mkfifo is not implemented and it *does* set errno to ENOSYS.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin Install fails to install cygwin1.dll

2003-01-14 Thread Christopher Faylor
On Tue, Jan 14, 2003 at 05:08:28AM -0800, Ben Hutchison wrote:
>I have downloaded and run the Cygwin setup.exe installer. After a long period
>of downloading files, it created a directory tree containing ./bin, /lib, etc
>sub-dirs, with files, in the normal fashion.
>
>However, there was no cygwin1.dll on my disk at the end - big problem. No error
>message in the setup log either.
>
>I tried removing my install and reinstalling from the local cache dir. Failed
>again. Then I tried downloading a newer version of setup.exe, but no progress.
>
>Im not the only one having this problem: type "cygwin1.dll missing" or
>"cygwin1.dll 'not found'" into google and you will see this fault happens a
>bit. Unfortunate;y, no replies with any useful problem resolution.
>
>An attempt to search the cygwin mailing lists for clues got me a "500 Internal
>Server Error" - something is wrong there too.
>
>A complete re-download takes hours on my modem. I dont want to do this,
>download megs of files I have already, just because the installer got a bit
>braindead and forgot the most important file!
>
>Given that cygwin install docs basically say: "Download setup and run it.",
>setup had better *just work*. It didnt for me, and for a number of others.
>Right now, I have no idea why.

And neither do we.  I wonder if you actually have cygwin running and a
reboot of the system is all that is required.  Given that you think you
have to "re-download" the whole package to fix problems, I am assuming
that it is possible that you also missed messages about needing to
reboot in order to activate cygwin.  If this is not the case, then just
install or reinstall the cygwin package.  Run setup and when it gets to
"Packages to install", click on "Base" and then click on the "New"
column until it says either "reinstall" or "1.3.18-1".

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin vsFTPd porting issues

2003-01-14 Thread Corinna Vinschen
On Tue, Jan 14, 2003 at 09:58:03AM -0500, Jason Tishler wrote:
> Instead of the above, I have attached for a small testcase, mmap-test.c,
> that reproduces the problem.  When mmap-test is run, you should get
> something like the following output:

Jason,

thanks, that's better than anything else!  I'm somewhat busy currently
so, if you don't mind, could you check, if everything's ok when removing
the calls to mprotect()?  I'm pretty sure they are the cause for the
problem.  And in this case it's definitely a Cygwin problem which I
should have a fix for pretty soon.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin vsFTPd porting issues

2003-01-14 Thread Jason Tishler
Corinna,

On Mon, Jan 13, 2003 at 11:59:20PM +0100, Corinna Vinschen wrote:
> I guess it's actually a fault in Cygwin's mmap() implementation but I
> don't see the cause so far.  I'd greatly appreciate if you could put
> some effort into analyzing the problem.

Sure.  I'll do whatever I can to help.

> Could you send a fragment of the strace output grep'd for
> 'm\(un\)*map' in the meantime?

Instead of the above, I have attached for a small testcase, mmap-test.c,
that reproduces the problem.  When mmap-test is run, you should get
something like the following output:

$ mmap-test
190 [main] mmap-test 2592 fixup_mmaps_after_fork: ReadProcessMemory failed for 
MAP_PRIVATE address 0x64, Win32 error 299
C:\home\jt\src\vsftpd-1.1.3\test\mmap-test.exe: *** recreate_mmaps_after_fork_failed
  6 [main] mmap-test 660 sync_with_child: child 2592(0xF4) died before 
initialization with status code 0x1
   7139 [main] mmap-test 660 sync_with_child: *** child state child loading dlls

Thanks,
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

/*
 * Taken from Very Secure FTPd
 * Licence: GPL
 * Author: Chris Evans
 * Modified: Jason Tishler
 *
 * Here are some routines providing the (possibly silly) concept of a secure
 * buffer. A secure buffer may not be overflowed. A single byte overflow
 * will cause the program to safely terminate.
 */

#include 
#include 
#include 
#include 
#include 

void
vsf_secbuf_alloc(char** p_ptr, unsigned int size)
{
  unsigned int page_offset;
  unsigned int round_up;
  char* p_mmap;
  char* p_no_access_page;
  unsigned int page_size = getpagesize();

  /* Round up to next page size */
  page_offset = size % page_size;
  if (page_offset)
  {
unsigned int num_pages = size / page_size;
num_pages++;
round_up = num_pages * page_size;
  }
  else
  {
/* Allocation is on a page-size boundary */
round_up = size;
  }
  /* Add on another two pages to make inaccessible */
  round_up += page_size * 2;

  p_mmap = mmap(0, round_up, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON,
-1, 0);
  /* Map the first and last page inaccessible */
  p_no_access_page = p_mmap + round_up - page_size;
  mprotect(p_no_access_page, page_size, PROT_NONE);
  p_no_access_page = p_mmap;
  mprotect(p_no_access_page, page_size, PROT_NONE);

  p_mmap += page_size;
  if (page_offset)
  {
p_mmap += (page_size - page_offset);
  }
  *p_ptr = p_mmap;
}

int
main()
{
  char* p_sec_buf = 0;
  pid_t pid =0;

  vsf_secbuf_alloc(&p_sec_buf, 2000);
  pid = fork();
  if (pid > 0)
wait(0);

  exit(0);
}


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Cygwin Install fails to install cygwin1.dll

2003-01-14 Thread Max Bowsher
Ben Hutchison wrote:
> I have downloaded and run the Cygwin setup.exe installer. After a
> long period of downloading files, it created a directory tree
> containing ./bin, /lib, etc sub-dirs, with files, in the normal
> fashion.
>
> However, there was no cygwin1.dll on my disk at the end - big
> problem. No error message in the setup log either.
>
> I tried removing my install and reinstalling from the local cache
> dir. Failed again. Then I tried downloading a newer version of
> setup.exe, but no progress.
>
> Im not the only one having this problem: type "cygwin1.dll missing" or
> "cygwin1.dll 'not found'" into google and you will see this fault
> happens a bit. Unfortunate;y, no replies with any useful problem
> resolution.
>
> A complete re-download takes hours on my modem. I dont want to do
> this, download megs of files I have already, just because the
> installer got a bit braindead and forgot the most important file!
>
> Given that cygwin install docs basically say: "Download setup and run
> it.", setup had better *just work*. It didnt for me, and for a number
> of others. Right now, I have no idea why.

Well, we can't fix what we don't understand. Setup does work for the vast
majority of people.

Is there a cygwin-1.3.18-1.tar.bz2 file in your cache directory?

Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sort kills cygwin

2003-01-14 Thread fergus
There are a number of commands with names common both to Windows and to
Cygwin. One example is "sort"; others are "find" and "more" and maybe "ftp"
and "telnet".

If /cygdrive/c/WINDOWS/ and /cygdrive/c/WINDOWS/COMMAND/ precede /usr/bin/
or /bin/ on your PATH then it is the Windows version of the executable, not
the Cygwin version, that will be picked up. I tried sort --version with the
Windows executable and got exactly the "not found" message you have
described.

Solution: either alter the order of the entries on your PATH or (which I
have done, not to any identifiable disadvantage) delete all Windows
references from your path. (So this is my Cygwin path:
~/bin:/usr/local/bin:/usr/bin:/bin:)

Fergus


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sort kills cygwin

2003-01-14 Thread Max Bowsher
Bhiksha Raj wrote:
> Hi All,
>
> Im having blue screen of death problems all around.
> I thought I had this beat, but no..
>
> Anyway, Id been having BSOD problems when I ran "configure"
> for the guile packages. The machine only died when I ran
> the script, but I could not kill it by running any commands
> from commmand line.
>
> Ive finally isolated a command that kills my machine.
> Everytime I run "sort" on any data, the machine dies.
> sort --version does not give me a version number, but
> rather the node that <-VERSION> is not a file.
>
> Any idea why "sort" would cause problems? I have the latest
> texttools, and most system libraries are new, although I
> may have some old ones (older than 3 months)

Do you mean textutils?

Anyway, what you say about --version suggests that Windows sort is being run
instead of Cygwin sort.

You know, with the amount of BSODs your getting, I'd be thinking about
reinstalling Windows.

Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: 1.3.18-1: "can't create title mutex"

2003-01-14 Thread Patrick J. LoPresti
"Patrick J. LoPresti" <[EMAIL PROTECTED]> writes:

> While running a big recursive make under Cygwin 1.3.18-1 on an SMP
> system, I am getting occasional failures like these:
> 
>   C:\cygwin\bin\cygpath.exe: *** can't create title mutex, Win32 error 6
>   C:\cygwin\bin\sh.exe: *** can't create title mutex, Win32 error 6

I too can confirm that this error no longer happens with the 20030103
snapshot.

 - Pat

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




sort kills cygwin

2003-01-14 Thread Bhiksha Raj
Hi All,

Im having blue screen of death problems all around.
I thought I had this beat, but no..

Anyway, Id been having BSOD problems when I ran "configure"
for the guile packages. The machine only died when I ran
the script, but I could not kill it by running any commands
from commmand line.

Ive finally isolated a command that kills my machine.
Everytime I run "sort" on any data, the machine dies.
sort --version does not give me a version number, but
rather the node that <-VERSION> is not a file.

Any idea why "sort" would cause problems? I have the latest
texttools, and most system libraries are new, although I
may have some old ones (older than 3 months)

Many thanks,
Bhiksha

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




sshd propogate all users

2003-01-14 Thread eramm
this addresses these errors :
Failed password for illegal user 
authentication refused
Illegal User Error Attempting to Authenticate in sshd

I followed  instructions for setting sshd as a win2k service and it 
worked great.

what did cause me a day of hardship was the fact that i did not do 
mkpasswd -l (or d for domain) >> /etc/passwd to propogate all my 
users.

i didn't find this in all my searches for cygwin ssh help and only 
found this refferenced in an email dealing w/ a different sshd 
problem.

i just wanted to mail it to you so in case it wasn't already posted 
in a million places you could post this tip.

eramm

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: How do I start two commands in .bat ?

2003-01-14 Thread a12
Daniel,

vnc server is run on derqjzp

C:
chdir C:\cygwin\bin
bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp
/cygdrive/c/progra~1/realvnc/vncviewer.exe"

requests isoft's password, and start ssh

C:
chdir C:\cygwin\bin
bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp ;
/cygdrive/c/progra~1/realvnc/vncviewer.exe"

requests isoft's password, and shuts down the cygwin window.

Any more hints ?

Daniel Bößwetter wrote:

> Which machine is vnc supposed to run on? localhost or derqjzp?
>
> In the former case, you's say
>
> bash -c "ssh isoft@derqjzp ; vncviewer"
>
> in the latter case
>
> bash -c "ssh isoft@derqjzp vncviewer"
>
> What you wrote (below) looks like you tried to start vncviewer from the
> .bat-file. This line is never reached, because bash never returns
> (unless you terminate ssh and even then it wouldn'r work, because it's a
> cygwin virtual path).
>
> Hope it helps.
> Daniel
>
> a12 wrote:
>
> >Hello gurus,
> >
> >In my ongoing process of starting ssh and vncviewer in one .bat
> >file, I have created the following:
> >
> >rem @echo off
> >chdir C:\cygwin\bin
> >bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp"
> >"/cygdrive/c/program files/realvnc/vncviewer.exe" &
> >
> >I enter the isoft's password, and ssh is started.
> >vncviewer is not started.
> >How do I make vncviewer started ?
> >
> >
>
> --
> Daniel Boesswetter, mailto:[EMAIL PROTECTED]
> peppermind - Network Neue Medien, http://www.peppermind.de
> Hirschgartenallee 25, D-80639 Muenchen
> Tel. +49 89 17860 352, Fax. +49 89 178 1235


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Cygwin Install fails to install cygwin1.dll

2003-01-14 Thread Ben Hutchison
I have downloaded and run the Cygwin setup.exe installer. After a long period
of downloading files, it created a directory tree containing ./bin, /lib, etc
sub-dirs, with files, in the normal fashion.

However, there was no cygwin1.dll on my disk at the end - big problem. No error
message in the setup log either.

I tried removing my install and reinstalling from the local cache dir. Failed
again. Then I tried downloading a newer version of setup.exe, but no progress.

Im not the only one having this problem: type "cygwin1.dll missing" or
"cygwin1.dll 'not found'" into google and you will see this fault happens a
bit. Unfortunate;y, no replies with any useful problem resolution.

An attempt to search the cygwin mailing lists for clues got me a "500 Internal
Server Error" - something is wrong there too.

A complete re-download takes hours on my modem. I dont want to do this,
download megs of files I have already, just because the installer got a bit
braindead and forgot the most important file!

Given that cygwin install docs basically say: "Download setup and run it.",
setup had better *just work*. It didnt for me, and for a number of others.
Right now, I have no idea why.

Regards
Ben

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Bugs in Rsync?

2003-01-14 Thread Max Bowsher
Michael Hipp wrote:
> I'm trying to use Rsync to back up this system to a remote across the
> network. I'm butting my head against 2 probs:
>
> - When rsync is given a source of /, it absolutely refuses to descend
> into /cygdrive. It's as if the -x (one fs only) is set.

Do "ls /". In common with /dev, and mounts over nonexistent dirs, Cygwin's
virtualized folders do not appear in directory listings.

If you want this, you can create a cygdrive folder in the cygwin root with
non-Cygwin tools.

> - When rsync is given a source of /cygdrive/c/ it will attempt to read
> pagefile.sys (the NT swap file) and always reports an IO error and
> this causes it to change its behavior (doesn't quite die). It does
> this regardless of all-powerful exclusions that would cause it to
> skip over pagefile.sys. Even touching that file enough to realize to
> exclude it evidently causes it problems.

Ouch. That's a bug, obviously, but whether in Cygwin or rsync, I don't know.

Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Make fails for various programs

2003-01-14 Thread Max Bowsher
Petrik Galvosas wrote:
> With the latest CygWin release I try to compile programs like gnuplot,
> gamma, emacs, aspell etc. I did this successfully in the past with a
> older CygWin release.
>
> The story is always the same ./configure works (at least in my
> opinion)- make fails with messages like:
>
> $ ./missing --run autoconf
> Can't find /usr/autotool/stable/bin/autoconf

Try reinstalling autoconf-stable.

Whilst your at it, you might as well reinstall autoconf*, automake*, and
libtool* (all 9 autotool packages).

Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




binutils/ld

2003-01-14 Thread DEEPA SIVASANKARANE
hi folks,

  i had installed binutils from setup. does it support
elf_i386 emulation ? the only supported emulation seems to
i386PE.
When I run ld, on a ".o" from "as"
I get the message;

ld: PE operatios on non PE File.

Could somebody please help ?


Thanx in advance,
Deepa


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: problem with a ssh server under cygwin

2003-01-14 Thread Frank-Michael Moser
Andre Willkowsky wrote:


Finally after installing a fresh cygwin from internet i got sshd with 
authorizing working. It seems to me that some dependencies were broken in my 
first installation.


When did you reinstall your cygwin and when did sshd with auth work for 
the first time? With the new version of sshd compiled against OpenSSL 
0.9.7 which came out the 10th of January everything works fine with me too.

Frank-Michael


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Make fails for various programs

2003-01-14 Thread Petrik Galvosas
Hello,

With the latest CygWin release I try to compile programs like gnuplot,
gamma, emacs, aspell etc. I did this successfully in the past with a
older CygWin release.

The story is always the same ./configure works (at least in my opinion)-
make fails with messages like:

$ ./missing --run autoconf
Can't find /usr/autotool/stable/bin/autoconf
WARNING: `autoconf' is missing on your system.  You should only need it
if
 you modified `configure.in'.  You might want to install the
 `Autoconf' and `GNU m4' packages.  Grab them from any GNU
 archive site.

although 'which' tells me: /bin/autoconf

Yesterday I have read the discussion about the autotools (end of
November, begin of December
http://cygwin.com/ml/cygwin/2002-11/msg01789.html). Unfortunately I'm
only a 'user'. I just need the programs for my work. I did not really
understood the discussion between Robert Collins and Soren A.

However, I have checked the versions of autoconf-devel (2.57-1) and
automake (1.7.1-1) and also find a line like
AC_PREREQ(2.13)
in the configure.in (for gnuplot 3.8i.0 for instance) as suggested by
Charles Wilson (http://cygwin.com/ml/cygwin/2002-11/msg01793.html). All
looks appropriate.

BTW: The Windows binary of gnuplot I can build with CygWin (most likely
because configure is not used). Only the compilation for the CygWin
environment itself (for use with X11) fails.

Is there anybody who could try my to explain how I can get all this
stuff compiled? Sorry, if it obvious, but I have spend hours already...

Many thanks for help
Petrik

 below just the output of cygcheck -s -v ###

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Jan 13 23:29:11 2003

Windows 2000 Professional Ver 5.0 Build 2195 

Path:   C:\Programme\cygwin\bin
C:\Programme\cygwin\bin
C:\Programme\cygwin\usr\local\bin
C:\Programme\cygwin\usr\X11R6\bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `d:\Administrator\Eigene_Dateien\Home'
MAKE_MODE = `unix'
PWD = `/cygdrive/d/Administrator/Eigene_Dateien/Home/gnuplot-3.8i.0'
USER = `PetrikAdmin'

ALLUSERSPROFILE = `D:\All Users'
APPDATA = `D:\Administrator\Anwendungsdaten'
COMMONPROGRAMFILES = `C:\Programme\Gemeinsame Dateien'
COMPUTERNAME = `PGAL'
COMSPEC = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\'
LOGONSERVER = `\\PGAL'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/cygdrive/d/Administrator/Eigene_Dateien/Home'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0801'
PROGRAMFILES = `C:\Programme'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `d:\ADMINI~2\LOKALE~1\Temp'
TERM = `cygwin'
TMP = `d:\ADMINI~2\LOKALE~1\Temp'
USERDOMAIN = `PGAL'
USERNAME = `PetrikAdmin'
USERPROFILE = `D:\Administrator'
WINDIR = `C:\WINNT'
_ = `/bin/cygcheck'

Use `-r' to scan registry

a:  fd   N/AN/A
b:  fd   N/AN/A
c:  hd  NTFS4188Mb  58% CP CS UN PA FC Programme
d:  hd  NTFS   15343Mb  78% CP CS UN PA FC DATEN
e:  cd  CDFS   0Mb -2147483548%CS  Audio CD
f:  hd  NTFS   19524Mb  45% CP CS UN PA FC Backup
g:  cd   N/AN/A

C:\Programme\cygwin  /
system  binmode
C:\Programme\cygwin/bin  /usr/bin 
system  binmode
C:\Programme\cygwin/lib  /usr/lib 
system  binmode
C:\Programme\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts 
system  binmode
./cygdrive
userbinmode,cygdrive

Found: C:\Programme\cygwin\bin\bash.exe
Found: C:\Programme\cygwin\bin\cat.exe
Found: C:\Programme\cygwin\bin\cpp.exe
Found: C:\Programme\cygwin\bin\find.exe
Found: C:\Programme\cygwin\bin\gcc.exe
Found: C:\Programme\cygwin\bin\gdb.exe
Found: C:\Programme\cygwin\bin\ld.exe
Found: C:\Programme\cygwin\bin\ls.exe
Found: C:\Programme\cygwin\bin\make.exe
Found: C:\Programme\cygwin\bin\sh.exe

   58k 2002/05/07 C:\Programme\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0
sys=4.0
  "cygbz2-1.dll" v0.0 ts=2002/5/7 8:33
   54k 2002/01/27 C:\Programme\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0
sys=4.0
  "cygbz21.0.dll" v0.0 ts=2002/1/27 2:07
6k 2002/06/24 C:\Programme\cygwin\bin\cygcharset-1.dll - os=4.0
img=1.0 sys=4.0
  "cygcharset-1.dll" v0.0 ts=2002/6/24 20:23
  847k 2003/01/09 C:\Programme\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0
img=1.0 sys=4.0
  "cygcrypto-0.9.7.dll" v0.0 ts=2003/1/9 21:41
  644k 2002/12/08 C:\Programme\cygwin\bin\cygcrypto.dll - os=4.0 img=1.

Re: Support for DDWARF-2 debug info? (on Cygwin)

2003-01-14 Thread Nick Clifton
Hi Brian,

> I have built gcc 3.2.1 (just --enable-languages=c so far) with
> "#define DWARF2_DEBUGGING_INFO 1" added to config/i386/cygwin.h.
> The resulting compiler still produces stabs by default, but will
> accept "-gdwarf-2".
> 
> When using "-gdwarf-2", the debug information is, I believe,
> correctly output, but the sections have incorrect attributes as
> shown by the "objdump -h" output below.

I believe that this is a gcc problem.  GCC generates ".section"
assembler directives to create these sections and it assigns the
attributes for the sections at the same time.

I think that you need to define a "named_section" function for the
gcc_target structure which will then add the necessary flags.  For an
example of this see arm_elf_asm_named_section() in
gcc/config/arm/arm.c.

Cheers
Nick


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: How do I start two commands in .bat ?

2003-01-14 Thread Corinna Vinschen
Wrong list, redirected to [EMAIL PROTECTED]

Corinna

On Tue, Jan 14, 2003 at 10:28:11AM +0100, a12 wrote:
> Hello gurus,
> 
> In my ongoing process of starting ssh and vncviewer in one .bat
> file, I have created the following:
> 
> rem @echo off
> chdir C:\cygwin\bin
> bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp"
> "/cygdrive/c/program files/realvnc/vncviewer.exe" &
> 
> I enter the isoft's password, and ssh is started.
> vncviewer is not started.
> How do I make vncviewer started ?

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




msgget (IPC message queue) implementation

2003-01-14 Thread gilles BOURGEOIS
hi folks,
is msgget (cygipc package) still running , and I ran msgget which return -1
(and does not set errno) in my
code.
thanks for help
gilles



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: mkfifo implementation ?

2003-01-14 Thread gilles BOURGEOIS
And what about IPC message queue (msgget) ?
It does returns -1 too, but may be error handling is not implemented ?

- Original Message -
From: "Pavel Tsekov" <[EMAIL PROTECTED]>
To: "gilles BOURGEOIS" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 10:05 AM
Subject: Re: mkfifo implementation ?


> On Tue, 14 Jan 2003, gilles BOURGEOIS wrote:
>
> > hi folks,
> > is mkfifo still not implemented (I read mailing list archive fron end of
> > 2003) , and I ran mkfifo which return -1 (and does not set errno) in my
> > code.
>
> Yes.
>
>
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>
>
>



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: GCC bug with strftime

2003-01-14 Thread Richard Troy

Thanks, Corinna,

...Good thing I've already written a work-around! -smile-

Gee, you never know what you might learn by posting on the wrong list!
-wink-

RT

-- 
Richard Troy, Chief Scientist
Science Tools Corporation
[EMAIL PROTECTED], 510-567-9957, http://ScienceTools.com/

On Tue, 14 Jan 2003, Corinna Vinschen wrote:

> Date: Tue, 14 Jan 2003 10:05:46 +0100
> From: Corinna Vinschen <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: Cygwin <[EMAIL PROTECTED]>
> Subject: Re: GCC bug with strftime
>
> On Mon, Jan 13, 2003 at 07:00:07PM -0800, Richard Troy wrote:
> > > > The problem is that this call fails to return an hour:
> > > >
> > > > strftime(IT,key,"%m/%d/%y %l:%M %p", brokentime);
>
> I'm sorry to say that but...
>
> > The answer is yes, I have checked. The code works in my various RedHat
> > environments and has been for a long time. Also capital I is not what I
>
> ...just because it works under RH Linux it doesn't mean it's correct code.
> The %l specifier character is not covered by SUSv3:
>
> http://www.opengroup.org/onlinepubs/007904975/functions/strftime.html
>
> which means, your usage of %l is non-portable.
>
> Corinna
>
>


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: login from other m/c?

2003-01-14 Thread senthill

- Original Message - 
From: "David Starks-Browning" <[EMAIL PROTECTED]>
To: "senthill" <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 1:40 PM
Subject: login from other m/c?


> On Tuesday 14 Jan 03, senthill writes:
> > Hi All,
> > 
> > Is it possible to login to cygwin from other m/c in which cygwin is not
> > installed?
> 
> "m/c"?
> 
> Hmm... "motorcycle"?
> 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Tab completion list takes enormously long time to generate from empty string

2003-01-14 Thread Corinna Vinschen
On Mon, Jan 13, 2003 at 04:28:00PM -0800, Randall R Schulz wrote:
> It's too bad so many DLLs are produced in this list. Must they have execute 
> bits set to be loaded?

Yes, unfortunately.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: current state of credential hopping?

2003-01-14 Thread Corinna Vinschen
On Mon, Jan 13, 2003 at 10:16:57PM -0500, Igor Pechtchanski wrote:
> Technically, nothing prevents an administrator on a machine from giving
> this permission (called, I *think*, 'Create a token object') to a user
> other than LocalSystem, which will then allow that user to run 'login'
> successfully.  It is impractical from a security standpoint, however, to
> give this permission to all users.

Giving it even to one single user is a wide open security hole.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: GCC bug with strftime

2003-01-14 Thread Corinna Vinschen
On Mon, Jan 13, 2003 at 07:00:07PM -0800, Richard Troy wrote:
> > > The problem is that this call fails to return an hour:
> > >
> > > strftime(IT,key,"%m/%d/%y %l:%M %p", brokentime);

I'm sorry to say that but...

> The answer is yes, I have checked. The code works in my various RedHat
> environments and has been for a long time. Also capital I is not what I

...just because it works under RH Linux it doesn't mean it's correct code.
The %l specifier character is not covered by SUSv3:

http://www.opengroup.org/onlinepubs/007904975/functions/strftime.html

which means, your usage of %l is non-portable.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Cygwin with ScrollWheel Mouse on Win XP

2003-01-14 Thread Robert Mark Bram
Howdy all!

I have just installed Cygwin on my new XP system after being very happy with
Cygwin on Win2k. My problem at the moment is that my scrolling on my scroll
wheel mouse is not working - I have tried both bash and sh. Is there a
specific package I need to install to support scrolling?

Thanks for any help!

Rob
:)
:->
:-}



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: mkfifo implementation ?

2003-01-14 Thread Pavel Tsekov
On Tue, 14 Jan 2003, gilles BOURGEOIS wrote:

> hi folks,
> is mkfifo still not implemented (I read mailing list archive fron end of
> 2003) , and I ran mkfifo which return -1 (and does not set errno) in my
> code.

Yes.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: SSH start in .bat ?

2003-01-14 Thread a12
Igor,

Thank you for your invaluable help.


Igor Pechtchanski wrote:

> This really isn't a correct mailing list for this question, but, since
> it's been asked here before, and will, undoubtedly, be asked here again, I
> will pretend it's about "the interaction of windows programs and Cygwin
> programs" and answer it:
>
> At a command (DOS) prompt, type "help start".
>
> As an alternative, consider starting windows programs from bash and
> backgrounding them (e.g., "vncviewer.exe &").
> Igor
>
> On Mon, 13 Jan 2003, a12 wrote:
>
> > Igor,
> > Thank you for your quick reply.
> >
> > It works perfectly.
> >
> > Now I would like to incorporate a start of vncviewer.exe after the bash
> > command into the same .bat file. I have tried:
> >
> > C:
> > chdir C:\Program Files\RealVNC
> > vncviewer.exe
> > chdir C:\cygwin\bin
> > bash --login -c "ssh -T -L 5901:derqjzp:5900 -C -N isoft@derqjzp"
> >
> > but this start vncviewer, and waits until I enter hostid. bash
> > is never started.
> >
> > Any hints here ?
> >
> > Pardon me if this question does not belong to this mailing
> > list.
> >
> > Igor Pechtchanski wrote:
> >
> > > On Mon, 13 Jan 2003, a12 wrote:
> > >
> > > > Hello gurus,
> > > >
> > > > For the time being I start SSH manually:
> > > > open DOS window
> > > > C:\cygwin\cygwin.bat
> > > > ssh -T -L 5901:derqjzp:5900 -C -N isoft@derqjzp
> > > > 
> > > >
> > > > I have tried to include the ssh command above in cygwin.bat but
> > > > obviously bash does not read it.
> > > > How do I make bash to read the ssh command in cygwin.bat ?
> > >
> > > 'bash --login -c "ssh -T -L 5901:derqjzp:5900 -C -N isoft@derqjzp"'
> > > Try "man bash" for details.
> > > Igor
>
> --
> http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_[EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
>   -- /usr/games/fortune
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




mkfifo implementation ?

2003-01-14 Thread gilles BOURGEOIS
hi folks,
is mkfifo still not implemented (I read mailing list archive fron end of
2003) , and I ran mkfifo which return -1 (and does not set errno) in my
code.
thanks
gilles



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




How export static const class members symbols?

2003-01-14 Thread Jorge Dominguez Rodriguez

I´m developing a Xerces 2.1.0 mingw port but when I try to
compile a small example the references of static const members
of several classes cannot be resolved by the gcc.

I think that the Import library of the DLL don´t export
references of static const class members and the gcc cannot
resolve them when the sample link against the library.

Someone knows how export static const symbols of a DLL?
Why the Import Library don´t export this symbols automatically?


-
Tu cuenta de correo gratuita Mixmail http://mixmail.ya.com
Ya.com ADSL, Router 3Com ¡Gratis! http://acceso.ya.com/adsl

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Bugs in Rsync?

2003-01-14 Thread David Starks-Browning
On Monday 13 Jan 03, Michael Hipp writes:
> I'm trying to use Rsync to back up this system to a remote across the
> network. I'm butting my head against 2 probs:
> 
> - When rsync is given a source of /, it absolutely refuses to descend into
> /cygdrive. It's as if the -x (one fs only) is set.

I think you are expecting too much of rsync to know that from /, you
want it to traverse into /cygdrive/X.

Try mounting C: to /c, make sure you create the directory /c to go
with it first (UNIX demands this, Cygwin will just issue a warning).
Rsync might descend into /c in that case (though I haven't tried it myself).

Regards,
David


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/