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/




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/




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/




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




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




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

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/



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




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/




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




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/




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/




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/




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: 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: 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: 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 unistd.h
#include sys/mman.h
#include sys/types.h
#include sys/wait.h
#include stdlib.h

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 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 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: 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: 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: 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: 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: 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 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: 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: 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: 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::listobserver. 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: 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 =_blankhttp://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: 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: 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: 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::listobserver. 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/




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




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



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=detailatid=309863aid=667563group_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/




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/



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 /DC:\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/




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




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

2003-01-14 Thread DEEPA SIVASANKARANE


---BeginMessage---

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




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/




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: 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=location of your recycle bin
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: 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: 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: 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: 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: 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=location of your recycle bin
 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: 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: 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: 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

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shfileoperation.asp

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: 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 (http://msdn.microsoft.com/)...  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=location of your recycle bin
  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: 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/




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




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/




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 /DC:\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/


_
STOP MORE SPAM with the new MSN 8 and get 2 months 

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/



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/




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\X11\fonts  

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/




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/




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: [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=detailatid=309863aid=667563group_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/




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 lt;cgf at redhat dot comgt; * 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:
lt;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/




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/



How do I start two commands in .bat ?

2003-01-14 Thread a12
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 ?




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

2003-01-14 Thread Corinna Vinschen
On Tue, Jan 14, 2003 at 10:42:39AM +0100, Daniel Bößwetter wrote:
 Which machine is vnc supposed to run on? localhost or derqjzp?
 [...]

Could you please move your discussion to [EMAIL PROTECTED]?  It's
OT here.

Corinna

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



new version of cygwin-doc available for upload

2003-01-14 Thread Joshua Daniel Franklin
http://ns1.iocc.com/~joshua/cygwin/cygwin-doc-1.3-1.tar.bz2
http://ns1.iocc.com/~joshua/cygwin/cygwin-doc-1.3-1-src.tar.bz2

No setup.hint changes.

This updates to the latest stuff from CVS and fixes the packaging
error. Just this didn't really take me 2 weeks. :) I had hard drive
problems and then also did something I'd been meaning to do to make
it easier for myself (when I, say, had to reinstall Windows) or others
to build the cygwin docs. From /usr/doc/Cygwin/cygwin-doc-1.3-1.README:
---
(cygwin-users-guide)
The packages required to build the Cygwin user's guide are unfortunately
not yet part of the Cygwin distribution. For a time, there were testing
packages available for DocBook on Cygwin, but they are no longer available.
For a limited time only, they can be downloaded by adding as a mirror:

http://ns1.iocc.com/~joshua/cygwin/docbook/

and selecting cygwin-doc-build from the Doc category.
This will pull in all required packages. (Warning: this includes
some large packages, including binutils, gcc, perl, and tetex).

Then, run /usr/bin/cygwin-doc-build and follow the instructions.

---

This script is really meant to be run from a totally clean system
but should work correctly if you already have a CVS tree. Naturally
running the script is totally optional but installing the 
cygwin-doc-build package will still pull in all the necessary stuff
to build src/winsup/doc/*


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



Re: new version of cygwin-doc available for upload

2003-01-14 Thread Pavel Tsekov
On Tue, 14 Jan 2003, Joshua Daniel Franklin wrote:

 http://ns1.iocc.com/~joshua/cygwin/cygwin-doc-1.3-1.tar.bz2
 http://ns1.iocc.com/~joshua/cygwin/cygwin-doc-1.3-1-src.tar.bz2
 
 No setup.hint changes.

Uploaded.




Re: multiwindow segmentation fault

2003-01-14 Thread Harold L Hunt II
You are taking care not to run any other window manager, right?  (don't 
run twm, mwm, openbox, etc. since -multiwindow invokes its own window 
manager)

Harold

J S wrote:

Hi,

I downloaded all the XFree packages off cygwin today on to my W2K box, 
and I'm still getting the segmentation fault when I run 'xwin 
-multiwindow'. All the other xwin features work fine. I am using 
version -18 also. Here's some information from xwinrl.log and cygcheck:

$ cat /tmp/xwinrl.log
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1152 h 864
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Multi Window = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 24 bits 
per pixel
winCreateBoundingWindowWindowed - Initial w: 1152 h: 864
winAdjustForAutoHide - Original WorkArea: 0 0 836 1152
winAdjustForAutoHide - Adjusted WorkArea: 0 0 836 1152
winCreateBoundingWindowWindowed - WindowClient w 1152 h 836 r 1152 l 0 
b 836 t 0
winCreateBoundingWindowWindowed -  Returning
winQueryRGBBitsAndMasks - GetDeviceCaps (BITSPIXEL) returned 24 for 
the screen.  Using default 24bpp
masks.
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 
24 bpp 24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winScreenInit - returning
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = xfree86 Model = pc101 Layout = us Variant = (null) 
Options = (null)
DISPLAY=:0.0


$ cygcheck -s

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Jan 14 10:46:13 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 1

Path:   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\bin
   .
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\usr\X11R6\bin
   C:\Program Files\cygwin\usr\local\wmaker\bin
   c:\WINNT\system32
   c:\WINNT
   c:\WINNT\System32\Wbem
   c:\ora8i\bin
   c:\Program Files\Oracle\jre\1.1.7\bin
   c:\PROGRA~1\E!PC
   c:\ACE\rdbms32\bin
   c:\Program Files\Attachmate\E!E2K\
   c:\PROGRA~1\ULTRAE~1

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

CYGWIN = `ntea nontsec'
HOME = `d:\Documents and Settings\u752359'
MAKE_MODE = `unix'
PWD = `/home/u752359'
USER = `u752359'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS4094Mb  77% CP CS UN PA FC CDRIVE
d:  hd  NTFS3004Mb  69% CP CS UN PA FC DATA STORE
f:  cd   N/AN/ACDRIVE

d:\Documents and Settings  /home  userbinmode
D:\DOCUME~1\u752359\LOCALS~1\Temp  /tmp   userbinmode
C:\Program Files\cygwin/  system  binmode
C:\Program Files\cygwin/bin/usr/bin   system  binmode
C:\Program Files\cygwin/lib/usr/lib   system  binmode
.  /cygdrive  userbinmode,cygdrive

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

  54k 2002/01/27 C:\Program Files\cygwin\bin\cygbz21.0.dll
  45k 2001/04/25 C:\Program Files\cygwin\bin\cygform5.dll
  35k 2002/01/09 C:\Program Files\cygwin\bin\cygform6.dll
  19k 2002/02/20 C:\Program Files\cygwin\bin\cyggdbm.dll
  17k 2001/06/28 C:\Program Files\cygwin\bin\cyghistory4.dll
  20k 2002/10/10 C:\Program Files\cygwin\bin\cyghistory5.dll
 929k 2002/06/24 C:\Program Files\cygwin\bin\cygiconv-2.dll
  22k 2001/12/13 C:\Program Files\cygwin\bin\cygintl-1.dll
  28k 2002/09/20 C:\Program Files\cygwin\bin\cygintl-2.dll
 119k 2002/02/09 C:\Program Files\cygwin\bin\cygjpeg6b.dll
  26k 2001/04/25 C:\Program Files\cygwin\bin\cygmenu5.dll
  20k 2002/01/09 C:\Program Files\cygwin\bin\cygmenu6.dll
 156k 2001/04/25 C:\Program Files\cygwin\bin\cygncurses++5.dll
 175k 2002/01/09 C:\Program Files\cygwin\bin\cygncurses++6.dll
 226k 2001/04/25 C:\Program Files\cygwin\bin\cygncurses5.dll
 202k 2002/01/09 C:\Program Files\cygwin\bin\cygncurses6.dll
  15k 2001/04/25 C:\Program Files\cygwin\bin\cygpanel5.dll
  12k 2002/01/09 C:\Program 

4.3.0 status update

2003-01-14 Thread Alan Hourihane
This is what David Dawes wrote about the forthcoming 4.3.0 release.

Harold, Alex, and others. Can you take the time to really test the
current CVS and get patches in now. 

Thanks.

Alan.

- Forwarded message from David Dawes [EMAIL PROTECTED] -

Here's a quick status update regarding the 4.3.0 release.

With one or two exceptions, most of the submissions that came in before
the feature freeze have been integrated.  The remaining ones should be
done over the next week, and the next snapshot tagged (4.2.99.4).  Also,
the bug fixes submitted in the last few days should be reviewed and
integrated soon.

There have been some unavoidable delays related to a combination of
unresolved bugs, the Holidays, and day job commitments that some of us
have, so it's looks like the release date will slip by 2-3 weeks.

The current tentative schedule is:

   Last submission date for non-critical fixes1 February 2003
   End of integration of non-critical fixes   5 February 2003
   Last submission date for documentation(*) 10 February 2003
   Last submission date for release notes14 February 2003
   4.3.0 tagged for release   15-16 February 2003
   4.3.0 available from ftp.xfree86.org  17 February 2003

   4.2.99.4 snapshot tagged   17-19 January 2003
   4.2.99.901 (RC1) tagged25-26 January 2003
   other release candidates tagged as-needed

Note the usual disclaimers:  This is a tentative schedule only, and may
change without notice.  It's as accurate as I can make it, but don't
plan your life around it!  Most of the XFree86 release work is handled
by volunteers on their own time, and most of us have day jobs that have
to take priority over spare-time work like this.



Re: 4.3.0 status update

2003-01-14 Thread Alexander Gottwald
On Tue, 14 Jan 2003, Alan Hourihane wrote:

 This is what David Dawes wrote about the forthcoming 4.3.0 release.
 
 Harold, Alex, and others. Can you take the time to really test the
 current CVS and get patches in now. 

Will we include the pseudo relocation patches? I've not received a comment
to my last patch.

I think the rootless (not multiwindow) mode and multimonitor are nice features 
for 4.3.0 too

bye
ago




Re: 4.3.0 status update

2003-01-14 Thread Harold L Hunt II
Once I make an official release of the multi-monitor patch I can submit 
both the multi-window and multi-monitor patches.

There were also some cross-compiling build warnings that I had written 
in about, but no one had commented on.  I will see if I can dig them up 
again.

Basically, we need to get things in before Jan 17, right?  After that it 
means that we will have two distinctly different versions in the 
branches, right?  That has always been a pain in the past.

Harold

Alan Hourihane wrote:

This is what David Dawes wrote about the forthcoming 4.3.0 release.

Harold, Alex, and others. Can you take the time to really test the
current CVS and get patches in now. 

Thanks.

Alan.

- Forwarded message from David Dawes [EMAIL PROTECTED] -

Here's a quick status update regarding the 4.3.0 release.

With one or two exceptions, most of the submissions that came in before
the feature freeze have been integrated.  The remaining ones should be
done over the next week, and the next snapshot tagged (4.2.99.4).  Also,
the bug fixes submitted in the last few days should be reviewed and
integrated soon.

There have been some unavoidable delays related to a combination of
unresolved bugs, the Holidays, and day job commitments that some of us
have, so it's looks like the release date will slip by 2-3 weeks.

The current tentative schedule is:

  Last submission date for non-critical fixes1 February 2003
  End of integration of non-critical fixes   5 February 2003
  Last submission date for documentation(*) 10 February 2003
  Last submission date for release notes14 February 2003
  4.3.0 tagged for release   15-16 February 2003
  4.3.0 available from ftp.xfree86.org  17 February 2003

  4.2.99.4 snapshot tagged   17-19 January 2003
  4.2.99.901 (RC1) tagged25-26 January 2003
  other release candidates tagged as-needed

Note the usual disclaimers:  This is a tentative schedule only, and may
change without notice.  It's as accurate as I can make it, but don't
plan your life around it!  Most of the XFree86 release work is handled
by volunteers on their own time, and most of us have day jobs that have
to take priority over spare-time work like this.
 





Re: 4.3.0 status update

2003-01-14 Thread Alan Hourihane
On Tue, Jan 14, 2003 at 04:13:49 +0100, Alexander Gottwald wrote:
 On Tue, 14 Jan 2003, Alan Hourihane wrote:
 
  This is what David Dawes wrote about the forthcoming 4.3.0 release.
  
  Harold, Alex, and others. Can you take the time to really test the
  current CVS and get patches in now. 
 
 Will we include the pseudo relocation patches? I've not received a comment
 to my last patch.
 
No. I think it's too early for that patch anyway. I was hoping the pseudo
reloc stuff would just work without any intervention, but alas it doesn't
so I wouldn't want to make such intrusive changes at this stage.

Alan.



Re: 4.3.0 status update

2003-01-14 Thread Alexander Gottwald
On Tue, 14 Jan 2003, Harold L Hunt II wrote:

 Once I make an official release of the multi-monitor patch I can submit 
 both the multi-window and multi-monitor patches.

Is the multi-window feature ready for an official release? Esp. the WM 
functions? 

 There were also some cross-compiling build warnings that I had written 
 in about, but no one had commented on.  I will see if I can dig them up 
 again.

It seemd ok. I don't use UseInstalled, so I never saw these warnings.

 Basically, we need to get things in before Jan 17, right?  

Feb 1

 After that it 
 means that we will have two distinctly different versions in the 
 branches, right?  

No. A new branch will be created for bugfixes for 4.3.0 and new features
will only go to the main branch. 

 That has always been a pain in the past.

Depends on how you use it. If we get a lot of patches for 4.3.0 and apply 
these and also get a lot of new features for the main branch, we'll get 
very different branches. But if we fix bugs only in the main branch, then we 
don't need the branch.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723




Re: 4.3.0 status update

2003-01-14 Thread Harold L Hunt II


Alexander Gottwald wrote:

On Tue, 14 Jan 2003, Harold L Hunt II wrote:



Once I make an official release of the multi-monitor patch I can submit 
both the multi-window and multi-monitor patches.


Is the multi-window feature ready for an official release? Esp. the WM 
functions? 


Nope.  It is still experimental.  But it doesn't seem to have any 
detrimental effect when you aren't using it, so why not include it?



There were also some cross-compiling build warnings that I had written 
in about, but no one had commented on.  I will see if I can dig them up 
again.


It seemd ok. I don't use UseInstalled, so I never saw these warnings.



Hmm... I was getting problems with symbols in the Makefiles being 
redefined.  I didn't think it was related to UseInstalled, but that is a 
possibility.



Basically, we need to get things in before Jan 17, right?  


Feb 1



Right, but I am being very pragmatic here.  In the past it has been 
difficult to submit, and get Alan to commit, dual patches for both head 
and a branch.  After about a month, I think Alan deletes the branch, so 
patches to it seem to go to lala land.  So my point is pretty much: 
January 17 for fewer headaches.  :)

Harold



After that it 
means that we will have two distinctly different versions in the 
branches, right?  


No. A new branch will be created for bugfixes for 4.3.0 and new features
will only go to the main branch. 


That has always been a pain in the past.



Depends on how you use it. If we get a lot of patches for 4.3.0 and apply 
these and also get a lot of new features for the main branch, we'll get 
very different branches. But if we fix bugs only in the main branch, then we 
don't need the branch.

bye
	ago




Re: 4.3.0 status update

2003-01-14 Thread Alan Hourihane
On Tue, Jan 14, 2003 at 11:02:37 -0500, Harold L Hunt II wrote:
 Right, but I am being very pragmatic here.  In the past it has been 
 difficult to submit, and get Alan to commit, dual patches for both head 
 and a branch.  After about a month, I think Alan deletes the branch, so 
 patches to it seem to go to lala land.  So my point is pretty much: 
 January 17 for fewer headaches.  :)

All patches you've submitted for head or branch should be there. If they're not
then ping me with the patch number.

If there's a delay in committing, then it's nothing to do with deleting
branches etc. It's to do with my time.

Alan.



Re: multiwindow segmentation fault

2003-01-14 Thread J S





Sure. If you just run the command 'xwin -multiwindow' from a bash prompt 
then the only thing you're running is xwin anyway isn't it?

$ ps -ef
UID PIDPPID TTY STIME COMMAND
U752359 836   1 con  16:46:30 /usr/bin/bash
U752359 868 836 con  16:46:41 /usr/bin/ps

U752359@A217447D ~
$ xwin -multiwindow
Segmentation fault (core dumped)

U752359@A217447D ~
$

You are taking care not to run any other window manager, right?  (don't run 
twm, mwm, openbox, etc. since -multiwindow invokes its own window manager)

Harold

J S wrote:

Hi,

I downloaded all the XFree packages off cygwin today on to my W2K box, and 
I'm still getting the segmentation fault when I run 'xwin -multiwindow'. 
All the other xwin features work fine. I am using version -18 also. Here's 
some information from xwinrl.log and cygcheck:

$ cat /tmp/xwinrl.log
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1152 h 864
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Multi Window = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 24 bits per 
pixel
winCreateBoundingWindowWindowed - Initial w: 1152 h: 864
winAdjustForAutoHide - Original WorkArea: 0 0 836 1152
winAdjustForAutoHide - Adjusted WorkArea: 0 0 836 1152
winCreateBoundingWindowWindowed - WindowClient w 1152 h 836 r 1152 l 0 b 
836 t 0
winCreateBoundingWindowWindowed -  Returning
winQueryRGBBitsAndMasks - GetDeviceCaps (BITSPIXEL) returned 24 for the 
screen.  Using default 24bpp
masks.
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 
bpp 24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winScreenInit - returning
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options 
= (null)
DISPLAY=:0.0


$ cygcheck -s

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Jan 14 10:46:13 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 1

Path:   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\bin
   .
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\usr\X11R6\bin
   C:\Program Files\cygwin\usr\local\wmaker\bin
   c:\WINNT\system32
   c:\WINNT
   c:\WINNT\System32\Wbem
   c:\ora8i\bin
   c:\Program Files\Oracle\jre\1.1.7\bin
   c:\PROGRA~1\E!PC
   c:\ACE\rdbms32\bin
   c:\Program Files\Attachmate\E!E2K\
   c:\PROGRA~1\ULTRAE~1

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

CYGWIN = `ntea nontsec'
HOME = `d:\Documents and Settings\u752359'
MAKE_MODE = `unix'
PWD = `/home/u752359'
USER = `u752359'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS4094Mb  77% CP CS UN PA FC CDRIVE
d:  hd  NTFS3004Mb  69% CP CS UN PA FC DATA STORE
f:  cd   N/AN/ACDRIVE

d:\Documents and Settings  /home  userbinmode
D:\DOCUME~1\u752359\LOCALS~1\Temp  /tmp   userbinmode
C:\Program Files\cygwin/  system  binmode
C:\Program Files\cygwin/bin/usr/bin   system  binmode
C:\Program Files\cygwin/lib/usr/lib   system  binmode
.  /cygdrive  userbinmode,cygdrive

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

  54k 2002/01/27 C:\Program Files\cygwin\bin\cygbz21.0.dll
  45k 2001/04/25 C:\Program Files\cygwin\bin\cygform5.dll
  35k 2002/01/09 C:\Program Files\cygwin\bin\cygform6.dll
  19k 2002/02/20 C:\Program Files\cygwin\bin\cyggdbm.dll
  17k 2001/06/28 C:\Program Files\cygwin\bin\cyghistory4.dll
  20k 2002/10/10 C:\Program Files\cygwin\bin\cyghistory5.dll
 929k 2002/06/24 C:\Program Files\cygwin\bin\cygiconv-2.dll
  22k 2001/12/13 C:\Program Files\cygwin\bin\cygintl-1.dll
  28k 2002/09/20 C:\Program Files\cygwin\bin\cygintl-2.dll
 119k 2002/02/09 C:\Program Files\cygwin\bin\cygjpeg6b.dll
  26k 2001/04/25 C:\Program Files\cygwin\bin\cygmenu5.dll
  

Re: multiwindow segmentation fault

2003-01-14 Thread Harold L Hunt II
Since I don't have any ideas on how to progress, please do a search for 
cygwin1.dll files on your computer.  Report if you find more than one copy.

Harold

J S wrote:





Sure. If you just run the command 'xwin -multiwindow' from a bash prompt 
then the only thing you're running is xwin anyway isn't it?

$ ps -ef
UID PIDPPID TTY STIME COMMAND
U752359 836   1 con  16:46:30 /usr/bin/bash
U752359 868 836 con  16:46:41 /usr/bin/ps

U752359@A217447D ~
$ xwin -multiwindow
Segmentation fault (core dumped)

U752359@A217447D ~
$

You are taking care not to run any other window manager, right?  
(don't run twm, mwm, openbox, etc. since -multiwindow invokes its own 
window manager)

Harold

J S wrote:

Hi,

I downloaded all the XFree packages off cygwin today on to my W2K 
box, and I'm still getting the segmentation fault when I run 'xwin 
-multiwindow'. All the other xwin features work fine. I am using 
version -18 also. Here's some information from xwinrl.log and cygcheck:

$ cat /tmp/xwinrl.log
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1152 h 864
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Multi Window = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 24 bits 
per pixel
winCreateBoundingWindowWindowed - Initial w: 1152 h: 864
winAdjustForAutoHide - Original WorkArea: 0 0 836 1152
winAdjustForAutoHide - Adjusted WorkArea: 0 0 836 1152
winCreateBoundingWindowWindowed - WindowClient w 1152 h 836 r 1152 l 
0 b 836 t 0
winCreateBoundingWindowWindowed -  Returning
winQueryRGBBitsAndMasks - GetDeviceCaps (BITSPIXEL) returned 24 for 
the screen.  Using default 24bpp
masks.
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 
24 bpp 24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winScreenInit - returning
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = xfree86 Model = pc101 Layout = us Variant = (null) 
Options = (null)
DISPLAY=:0.0


$ cygcheck -s

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Jan 14 10:46:13 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 1

Path:   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\bin
   .
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\usr\X11R6\bin
   C:\Program Files\cygwin\usr\local\wmaker\bin
   c:\WINNT\system32
   c:\WINNT
   c:\WINNT\System32\Wbem
   c:\ora8i\bin
   c:\Program Files\Oracle\jre\1.1.7\bin
   c:\PROGRA~1\E!PC
   c:\ACE\rdbms32\bin
   c:\Program Files\Attachmate\E!E2K\
   c:\PROGRA~1\ULTRAE~1

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

CYGWIN = `ntea nontsec'
HOME = `d:\Documents and Settings\u752359'
MAKE_MODE = `unix'
PWD = `/home/u752359'
USER = `u752359'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS4094Mb  77% CP CS UN PA FC CDRIVE
d:  hd  NTFS3004Mb  69% CP CS UN PA FC DATA STORE
f:  cd   N/AN/ACDRIVE

d:\Documents and Settings  /home  userbinmode
D:\DOCUME~1\u752359\LOCALS~1\Temp  /tmp   userbinmode
C:\Program Files\cygwin/  system  binmode
C:\Program Files\cygwin/bin/usr/bin   system  binmode
C:\Program Files\cygwin/lib/usr/lib   system  binmode
.  /cygdrive  userbinmode,cygdrive

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

  54k 2002/01/27 C:\Program Files\cygwin\bin\cygbz21.0.dll
  45k 2001/04/25 C:\Program Files\cygwin\bin\cygform5.dll
  35k 2002/01/09 C:\Program Files\cygwin\bin\cygform6.dll
  19k 2002/02/20 C:\Program Files\cygwin\bin\cyggdbm.dll
  17k 2001/06/28 C:\Program Files\cygwin\bin\cyghistory4.dll
  20k 2002/10/10 C:\Program Files\cygwin\bin\cyghistory5.dll
 929k 2002/06/24 C:\Program Files\cygwin\bin\cygiconv-2.dll
  22k 2001/12/13 C:\Program Files\cygwin\bin\cygintl-1.dll
  28k 

Re: 4.3.0 status update

2003-01-14 Thread Harold L Hunt II
Alan,

No recent patches were lost.  I am talking about patches that I 
submitted after the 4.2.0 branch.  After about two weeks you stopped 
committing them to both trees, even though I noted that they should be 
committed to both trees.  I thought I remember you telling me at one 
point that you didn't have a local 4.2.0 tree anymore... I could be 
wrong, but I got the impression that I shouldn't waste more time with 
4.2.0 patches, so that's what I did.

Are you telling me instead that you will be able to apply bug fixes to a 
stable 4.3.0 tree for the life cycle of that version?  That would be 
nice indeed.

Harold

Alan Hourihane wrote:
On Tue, Jan 14, 2003 at 11:02:37 -0500, Harold L Hunt II wrote:


Right, but I am being very pragmatic here.  In the past it has been 
difficult to submit, and get Alan to commit, dual patches for both head 
and a branch.  After about a month, I think Alan deletes the branch, so 
patches to it seem to go to lala land.  So my point is pretty much: 
January 17 for fewer headaches.  :)


All patches you've submitted for head or branch should be there. If they're not
then ping me with the patch number.

If there's a delay in committing, then it's nothing to do with deleting
branches etc. It's to do with my time.

Alan.





Re: 4.3.0 status update

2003-01-14 Thread Alan Hourihane
On Tue, Jan 14, 2003 at 01:42:46 -0500, Harold L Hunt II wrote:
 Alan,
 
 No recent patches were lost.  I am talking about patches that I 
 submitted after the 4.2.0 branch.  After about two weeks you stopped 
 committing them to both trees, even though I noted that they should be 
 committed to both trees.  I thought I remember you telling me at one 
 point that you didn't have a local 4.2.0 tree anymore... I could be 
 wrong, but I got the impression that I shouldn't waste more time with 
 4.2.0 patches, so that's what I did.
 
Well, it doesn't take me two seconds to get another 4.2.0 tree, if you
really want stuff committing there. I have to draw the line at fixes
to the 4.2.0 branch as purely fixes for bugs though. So if there's
still something missing, let me know.

 Are you telling me instead that you will be able to apply bug fixes to a 
 stable 4.3.0 tree for the life cycle of that version?  That would be 
 nice indeed.

Yes. But again, purely bug fixes - no features.

Alan.



Xinit Error-Remote Host

2003-01-14 Thread vedanth
Hello
 I had installed Xfree86 for connecting to a remote host , for 
simulation as a foreground job in my PC. I  have been noticing that the 
X window remains open for about 6 hrs , after which it disconnects 
itself automatically(the Screen is Still and doesnt work ..if i move the 
mouse of the X window the applications inside disappear and no X window 
Icon is found .) from the server and my Job is lost.
Also,interestingly ..my internet stops functioniing at the same time 
..the X server connection is lost.
so..I have to close the X window of the cygwin to make my internet work 
again

I tried downloading the new versions of cygwin, reinstalling X free86 
and window Makes 0.80 thats available...but couldnt resolve the problem
Do you see the problem ?

Thanks

Vedanth



Re: Xinit Error-Remote Host

2003-01-14 Thread Andrew Markebo
/ vedanth [EMAIL PROTECTED] wrote:
[...]
| Also,interestingly ..my internet stops functioniing at the same time
| ..the X server connection is lost.

If you do it again, wait idle in 6 hours, without X connections, do
you loose internet then also?

Do you have any firewalls running on the PC, just phatasizing that it
might kill the dhcp request.. 

/Andy

-- 
 The eye of the beholder rests on the beauty!




Re: multiwindow segmentation fault

2003-01-14 Thread J S
Harold,

Are you going to apply this patch to the cygwin XFree experimental package?

JS.



Cary,

Thanks for the heads-up.  I am always missing Kensuke's patches for some 
reason.  I will have to ask him to send them in a seperate email with a new 
subject line, prefixed with [PATCH] (Kensuke, did you see that?  If not, I 
will email you directly)

Harold

Cary Jamison wrote:
Harold L Hunt II [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...


Since I don't have any ideas on how to progress, please do a search for
cygwin1.dll files on your computer.  Report if you find more than one


copy.


Harold

J S wrote:


Sure. If you just run the command 'xwin -multiwindow' from a bash prompt
then the only thing you're running is xwin anyway isn't it?

$ ps -ef
   UID PIDPPID TTY STIME COMMAND
U752359 836   1 con  16:46:30 /usr/bin/bash
U752359 868 836 con  16:46:41 /usr/bin/ps

U752359@A217447D ~
$ xwin -multiwindow
Segmentation fault (core dumped)

U752359@A217447D ~
$



You are taking care not to run any other window manager, right?
(don't run twm, mwm, openbox, etc. since -multiwindow invokes its


own


window manager)

Harold

J S wrote:



Hi,

I downloaded all the XFree packages off cygwin today on to my W2K
box, and I'm still getting the segmentation fault when I run 'xwin




-multiwindow'. All the other xwin features work fine. I am using 
version -18 also. Here's some information from xwinrl.log and

cygcheck:


Try Kensuke's latest patch (dated last night).  (Haven't tried it
myself, just noticed that you guys hadn't seemed to have noticed it
yet.)

Cary



_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



Use XFree86 on W98 to connect to Linux

2003-01-14 Thread fchi
Is it possible to run XFree86 on W98 under Cygwin to connect to a Linux in 
X11 sessions? We are very interested in setting up a lab where various 
Linux boxes are clusted and the personal workstations (for various reasons) 
are MS W98 or Windows XP.

Any insight that you can provide will be appreciated.

Frank Chi




Re: multiwindow segmentation fault

2003-01-14 Thread Kensuke Matsuzaki
Harold,

I see.

Sorry, I can't find what makes segv yet.

Kensuke Matsuzaki




DirectColor visuals

2003-01-14 Thread Francisco Rojas

Thanks for taking time to address my issue.

Francisco,

Do you know what a DirectColor visual is?
 I believe so.  Officially, direct color is the superset for
colormaps excluding TrueColor. Unofficially, it allows for simultaneous
usage of several colormaps, normally Xservers allow (3 simultanous
colormaps-read/write (dynamic) based on Xlib books).

Do you know why you would need a DirectColor visual?
 We have a pseudo-color application in-which we update the bitmaps
using the colormap table, which are updated through mouse events. The
bitmaps are typically on the order of 1024x1024.
(Without the read/write colormaps we would have to
redraw the pixmaps everytime, too much to update. I have tried this
using TrueColor already. We can get redraw update delays on the order of
several seconds and get performance issues with X)

The problem with this program is the flickering in 8 bit mode. Most of the
window managers want to use a wide range of colors (openbox, afterstep,
etc..). To minimize the flickering, we attempt to take over the screen
and switch the Xserver and window manager to 8 bits. (We still get
flickering)

Ideally, I would like do be able to allocate a dynamic colormap without
all the flickering associated in 8 bit by running in 24 bit, thus
directcolor, and be able to do the same updates without redrawing the
pixmaps as we currently do.

Actually, I would be satisfied, if the XFree86 running 24 bit True color
would have a 8 bit pseudocolor visual available and be reported by
xdpyinfo. Then I could match the visual and be happy..:)

--I am not sure how to enable backingstore with cygwin/XFree86 either.


Do you know of any Windows-based graphics cards that actually support
DirectColor?

--Actually, I do not know. I have only seen DirectColor visuals reported
on some of the emails on the internet by searching directcolor xfree86


My understanding of DirectColor is that it allows you to specify the
range of colors that will be used in a mode that is similar to TrueColor...
however, I don't know of a single Windows graphics card that allows you
to do that. I don't know of any program that utilizes such a visual either.
As such, there is no support for DirectColor in Cygwin/XFree86. I don't
expect that there will ever be DirectColor support in Cygwin/XFree86
unless someone can explain to me that I am way wrong.

DirectColor seems like a lot of things in X: it was thought to be REALLY
useful when X was designed, but it turned out to be anything but useful.
I read about those things once, then I ignore them after that.
So, anyone else know what DirectColor is?
Harold

So inconclusion, DirectColor is not available to cygwin/XFree86 ?

Are there cases where I can run TrueColor and have a pseudocolor visual
available with/or without a different graphics card. I'll buy one ?


Thanks again for your time.


Francisco Rojas
Electrical and Computer Engineering Department
University of Arizona, Tucson, Arizona
OFFICE: ECE 408, 520.621.4554
FAX   :  520.621.8076


On Mon, 13 Jan 2003, Francisco Rojas wrote:


 I am running the lastest cygwin and xfree86.
 In 24 bit mode, I only get the TrueColor Visual.
 What I do I need to do to get a DirectColor Visual
  listed using xdpyinfo ?

 Currently, I am running a NVIDIA Gforce2 400?
 If I need to change videocards what are the recommended cards?
 I have not seen anything in the documentation or mailing lists.




 $ xdpyinfo
 name of display::0.0
 version number:11.0
 vendor string:The XFree86 Project, Inc
 vendor release number:4020
 XFree86 version: 4.2.0
 maximum request size:  4194300 bytes
 motion buffer size:  256
 bitmap unit, bit order, padding:32, LSBFirst, 32
 image byte order:LSBFirst
 number of supported pixmap formats:7
 supported pixmap formats:
 depth 1, bits_per_pixel 1, scanline_pad 32
 depth 4, bits_per_pixel 8, scanline_pad 32
 depth 8, bits_per_pixel 8, scanline_pad 32
 depth 15, bits_per_pixel 16, scanline_pad 32
 depth 16, bits_per_pixel 16, scanline_pad 32
 depth 24, bits_per_pixel 32, scanline_pad 32
 depth 32, bits_per_pixel 32, scanline_pad 32
 keycode range:minimum 8, maximum 255
 focus:  window 0x42, revert to PointerRoot
 number of extensions:21
 BIG-REQUESTS
 DEC-XTRAP
 DOUBLE-BUFFER
 Extended-Visual-Information
 FontCache
 GLX
 LBX
 MIT-SUNDRY-NONSTANDARD
 RECORD
 RENDER
 SECURITY
 SGI-GLX
 SHAPE
 SYNC
 TOG-CUP
 XC-APPGROUP
 XC-MISC
 XFree86-Bigfont
 XKEYBOARD
 XTEST
 XVideo
 default screen number:0
 number of screens:1


 screen #0:
   dimensions:1274x961 pixels (431x325 millimeters)
   resolution:75x75 dots per inch
   depths (7):24, 1, 4, 8, 15, 16, 32
   root window id:0x36
   depth of root window:24 planes
   number of colormaps:minimum 1, maximum 1
   default colormap:0x20
   default number of colormap cells:256
   

src/winsup/testsuite ChangeLog winsup.api/pthr ...

2003-01-14 Thread tpfaff
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-01-14 12:09:13

Modified files:
winsup/testsuite: ChangeLog 
Added files:
winsup/testsuite/winsup.api/pthread: cancel7.c cancel8.c 

Log message:
Add winsup.api/pthread/cancel7.c and winsup.api/pthread/cancel8.c

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/testsuite/ChangeLog.diff?cvsroot=srcr1=1.36r2=1.37
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/testsuite/winsup.api/pthread/cancel7.c.diff?cvsroot=srcr1=NONEr2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/testsuite/winsup.api/pthread/cancel8.c.diff?cvsroot=srcr1=NONEr2=1.1




src/winsup/cygwin ChangeLog thread.cc wait.cc

2003-01-14 Thread tpfaff
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-01-14 12:13:11

Modified files:
winsup/cygwin  : ChangeLog thread.cc wait.cc 

Log message:
Apply wait_cancel patch

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.1683r2=1.1684
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=srcr1=1.111r2=1.112
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wait.cc.diff?cvsroot=srcr1=1.18r2=1.19




src/winsup/cygwin ChangeLog mmap.cc

2003-01-14 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]  2003-01-14 12:40:10

Modified files:
winsup/cygwin  : ChangeLog mmap.cc 

Log message:
* mmap.cc (mmap_record::access): Change argument type to caddr_t
for strictness.
(mprotect): Protect against calling VirtualProtect() for shared
pages on 9x/Me.
(fixup_mmaps_after_fork): If ReadProcessMemory() fails, try to
change protection of parent page to PAGE_READONLY, then try again.
Revert protection afterwards.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.1685r2=1.1686
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mmap.cc.diff?cvsroot=srcr1=1.65r2=1.66




src/winsup/cygwin ChangeLog

2003-01-14 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]  2003-01-14 20:39:35

Modified files:
winsup/cygwin  : ChangeLog 

Log message:
fix minor typo.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.1687r2=1.1688




  1   2   >