Re: [Fwd: Updated: XFree86-xserv-4.3.0-48]

2004-02-29 Thread Colin Harrison
Hi,

Test 48 looks good to me.
Ran all my usual junk on it..no problems.

(WinXP + UK keyboard with mutltiwindow remote to linux or XDMCP)

Thanks

Colin



Re: [Fwd: Updated: XFree86-xserv-4.3.0-48]

2004-02-29 Thread Alexander Gottwald
Harold L Hunt II wrote:

 I forgot to mention that XF86Config support is disabled in this release.
   It may be possible to get XF86Config support building again, but
 Alexander recently added some command-line options that should be a
 useable replacement for most users.  In addition, the keyboard
 autoconfiguration seems to be working for nearly all users, so there may
 be little need for re-enabling the XF86Config support ever.

This means I have to update some FAQ sections.

bye
ago

NP: grauzone.03-10-12
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: [Fwd: Updated: XFree86-xserv-4.3.0-48]

2004-02-29 Thread Alexander Gottwald
Harold L Hunt II wrote:

 I forgot to mention that XF86Config support is disabled in this release.
   It may be possible to get XF86Config support building again, but
 Alexander recently added some command-line options that should be a
 useable replacement for most users.  In addition, the keyboard
 autoconfiguration seems to be working for nearly all users, so there may
 be little need for re-enabling the XF86Config support ever.

Some people are still using the config file eg. for setting another keyboard
variant like the german nodeadkeys variant.  This can now be done on the
commandline.

These options from the configfile are now available on the commandline

XF86Config option   commandlien option

Fontpath-fp
RgbPath -co
XKBLayout   -xkblayout
XKBModel-xkbmodel
XKBRules-xkbrules
XKBVariant  -xkbvariant
XKBOptions  -xkboptions  (note: I've never used this and
   I'm not sure this was correctly implememted)

So if you had  these entries in the configfile:

XKBLayout de
XKBVariant nodeadkeys

then it's now

XWin -xkblayout de -xkbvariant nodeadkeys

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


Re: reset/terminate problems; preventing multiple XWin instances

2004-02-29 Thread Alexander Gottwald
Eran Tromer wrote:

 BTW, -nounixkill seems to to be broken (Ctrl-Alt-Backspace still
 terminates XWin).

This is a known problem and is already covered in the FAQ:
http://x.cygwin.com/docs/faq/cygwin-xfree-faq.html#disable-terminate-server

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


Re: clipboard integration still failing

2004-02-29 Thread Harold L Hunt II
By latest version do you mean that you manually selected 
XFree86-xserv-4.3.0-48?  It is a test package, so it has to be 
manually selected *everytime* that you run setup.exe.  If you install 
it, then run setup.exe again, it will downgrade you back to 4.3.0-47.

Harold

Michael Bennett wrote:
i've downloaded the latest X server, and clipboard integration
is still failing for me, hanging my X application (xmh on a
remote machine) as soon as i select something.  if i don't
use -clipboard, then xwinclip still works ok, with it's known
problems.
let me know if i can provide more info to anyone interested
in tracking down the problem.  i'm on win xp.
mike


Re: [Fwd: Updated: XFree86-xserv-4.3.0-48]

2004-02-29 Thread Harold L Hunt II
Might be a good idea to stick those parameters in the User's Guide 
section on command line parameters, even if they are covered by the 
generic documentation.

Harold

Alexander Gottwald wrote:

Harold L Hunt II wrote:


I forgot to mention that XF86Config support is disabled in this release.
 It may be possible to get XF86Config support building again, but
Alexander recently added some command-line options that should be a
useable replacement for most users.  In addition, the keyboard
autoconfiguration seems to be working for nearly all users, so there may
be little need for re-enabling the XF86Config support ever.


Some people are still using the config file eg. for setting another keyboard
variant like the german nodeadkeys variant.  This can now be done on the
commandline.
These options from the configfile are now available on the commandline

XF86Config option   commandlien option

Fontpath-fp
RgbPath -co
XKBLayout   -xkblayout
XKBModel-xkbmodel
XKBRules-xkbrules
XKBVariant  -xkbvariant
XKBOptions  -xkboptions  (note: I've never used this and
   I'm not sure this was correctly implememted)
So if you had  these entries in the configfile:

XKBLayout de
XKBVariant nodeadkeys
then it's now

XWin -xkblayout de -xkbvariant nodeadkeys

bye
ago


Website update - favorites icon

2004-02-29 Thread Harold L Hunt II
I added a favicon.ico file to the root of x.cygwin.com.  I also manually 
added tags to most of the non-documentation HTML files to point to icon, 
in case people still come into the site through the cygwin.com/xfree, in 
which case our favicon.ico will not be in the root.

You should be seeing the X icon from XWin.exe in your web browser if it 
supports these icons.  Be aware that all web browsers have some weird 
issues with favorites icons, with most not showing the new icon unless 
you close and open the browser.

Hope you enjoy it :)

Harold


Re: Website update - favorites icon

2004-02-29 Thread Igor Pechtchanski
On Sun, 29 Feb 2004, Harold L Hunt II wrote:

 I added a favicon.ico file to the root of x.cygwin.com.  I also manually
 added tags to most of the non-documentation HTML files to point to icon,
 in case people still come into the site through the cygwin.com/xfree, in
 which case our favicon.ico will not be in the root.

 You should be seeing the X icon from XWin.exe in your web browser if it
 supports these icons.  Be aware that all web browsers have some weird
 issues with favorites icons, with most not showing the new icon unless
 you close and open the browser.

 Hope you enjoy it :)
 Harold

Harold,

Is text/ico the right MIME type for icon files?  I was under the
impression that it should be image/ico (or even image/x-ico)...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Re: Website update - favorites icon

2004-02-29 Thread Harold L Hunt II
Igor Pechtchanski wrote:

On Sun, 29 Feb 2004, Harold L Hunt II wrote:


I added a favicon.ico file to the root of x.cygwin.com.  I also manually
added tags to most of the non-documentation HTML files to point to icon,
in case people still come into the site through the cygwin.com/xfree, in
which case our favicon.ico will not be in the root.
You should be seeing the X icon from XWin.exe in your web browser if it
supports these icons.  Be aware that all web browsers have some weird
issues with favorites icons, with most not showing the new icon unless
you close and open the browser.
Hope you enjoy it :)
Harold


Harold,

Is text/ico the right MIME type for icon files?  I was under the
impression that it should be image/ico (or even image/x-ico)...
Igor
Nice catch.  Little cut and paste error on my part.  I had it setup as 
image/ico, removed it, then I think I screwed it up when I added it a 
second time.  Oh well, I fixed it with a little sed magic.

Harold


Indirect OpenGL acceleration - New notes

2004-02-29 Thread Harold L Hunt II
I posted some new and simplified notes on how to add indirect OpenGL 
acceleration to Cygwin/X:

http://msu.edu/~huntharo/xwin/devel/server/CygwinX-Accelerated-OpenGL-Support-20040229.pdf

In addition, I have checked in the build framework for this into our 
tree on freedesktop.org.  You can find more information about our tree 
on fd.o from this page:

http://x.cygwin.com/devel/server/

All you have to do to enable the indirect OpenGL acceleration build 
framework is to edit xc/config/cf/cygwin.cf and change GlxUseWindows 
from NO to YES.  Then, if you don't want to rebuild the entire tree, 
just do the following:

cd programs/Xserver
make Makefile
cd GL
make Makefile
make Makefiles
cd ..
make XWin.exe
That should result in a compilation of the currently empty 
GL/windows/indirect.c file, which will cause XWin.exe to fail to link 
since it can't find the OpenGL functions.  I am a little confused about 
why XWin.exe fails to link on so many functions, since it seems that 
-lopengl32 is providing those functions (look some of them up via 'nm -g 
/usr/lib/w32api/opengl32.a | grep function_name')... I could use a few 
pointers on what is happening there.

Implementing indirect acceleration is a required first step to 
implementing direct (DRI) acceleration because indirect acceleration is 
used by clients that are across the network from the X Server, so you 
always have to provide an indirect interface for network clients to fall 
back on.  DRI could come later if we find that the performance of the 
indirect rendering is not acceptable.  However, DRI will be considerably 
more complex since both the X Server process and the client application 
process will need to be able to write to the same OpenGL surface (as 
explained to me by Torrey Lyons of X on X fame).  X on X got lucky: 
Apple wrote them an extension to the OS to provide this functionality :) 
 We may or may not have a problem with two applications trying to write 
to the same surface in Windows; if it is not possible, then there may be 
nothing we can do to work around it.  Thus, indirect rendering is now 
doubly attractive as a starting point since we know it is possible.

Harold


OpenGL header problems

2004-02-29 Thread Harold L Hunt II
As I mentioned in my email about enabling indirect OpenGL acceleration, 
there are some problems when trying to link to -lopengl32.

I tracked this down to problems with the way that 
/usr/include/w32api/GL/gl.h decorates the function declarations for the 
gl* functions.  There are some collisions between the way that the 
standard windows headers define WINGDIAPI and APIENTRY and the way that 
gl.h expects them to be.

However, the problem is a little trickier than just that: I added a call 
to glPixelStorei in Xserver/hw/xwin/InitOutput.c (without #including any 
opengl headers) and instead made my own prototype for glPixelStorei.  If 
I made it:

void __stdcall glPixelStorei (unsigned int, int);

then the linker would complain about how it had to fixup a reference to 
glPixelStorei as [EMAIL PROTECTED]  But that is exactly what the 
__stdcall was supposed to do, so I am getting a little confused about 
why the prototype was being ignored.

I need an expert on __stdcall and w32api headers to give me a hand here. 
 Igor, I saw a post you made on this subject before, so I am counting 
on you :)

Once this little trick is solved we will have to figure out how to get 
the proper headers in exports/include/GL/; that directory currently 
getes some Mesa headers in it.  I'm not sure if we can cleanly disable 
that and point to the w32api OpenGL headers instead.

Harold


Re: cygcheck

2004-02-29 Thread George Hester
Sorry about that.  Tell me if this is better.
Yes I could tell Cygwin under cygcheck -s was retrieving more information
then was in the download.  I did have it set to full.
So I don't know what more I could have gotten.
The result was as I showed.  So you think some of the items
I mentioned as Not Found should have been found choosing Full
in the Setup?  Hmmm

-- 
George Hester
__
Igor Pechtchanski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
 George,
 
 Please instruct your mailer to wrap long lines, otherwise it's very hard
 to read the messages in the archives.  Thanks.  More below.
 
 On Sat, 28 Feb 2004, George Hester wrote:
 
  I've installed the latest cygwin.  That seemed to go OK in Windows 2000
  Server SP3.
 
  I started cygwin from the desktop icon made during the install process.
 
  I ran cygcheck -s
 
  I find there are a few things not found.
 
  1) cpp (good!)
  2) gcc
  3) gdb
  4) ld
 
  What are these?  Why is cpp Not found (good)?  What does that mean?
 
  I downloaded and installed all the options so why are some things Not
  found?  Can I find them somewhere?  Should I find them?  Thanks.
 
 The cygcheck program in its -s mode (system information) was designed to
 cram as much useful information about your Cygwin installation as possible
 into its output, to help others in diagnosing and/or reproducing your
 problems (and, hopefully, eventually fixing them).
 
 The installed programs part of the output attempts to list some common
 programs that people usually ask about.  This helps in situations where
 some other version of gcc hides the Cygwin version, for example, and
 people complain that gcc doesn't work.  The fact that the programs are or
 aren't found on your system shouldn't bother you unless you need to use
 one of them.  All four of the programs that you listed are development
 tools to let you build and debug programs.
 
 Frankly, I have no idea why cpp not found is (good!).  Perhaps it used
 to be that the gcc package hid cpp in its special directory, and you
 weren't supposed to invoke it directly, but rather by passing an option to
 gcc.  AFAICS, the current package ships with that program, so perhaps that
 note is outdated and should be removed.
 
 Since these programs are in the official Cygwin packages, you, apparently,
 haven't installed everything (which is what I read your all the options
 to mean).  If you want to see exactly what you've installed and what's
 available, run setup.exe and switch the view to Full (using the button
 on the top right of the package selection page).  You will see information
 about all the packages in the distribution.  I can't really tell you more
 about your system, since you haven't attached the output of cygcheck
 -svr as requested in http://cygwin.com/problems.html.
 
 As for whether you *should* find them, that's entirely up to you.  If
 you don't know what gcc is, likely you won't need it.  If you install a
 package that requires it, hopefully that package will either pull it in or
 complain the first time it tries to use it, at which point you'll know you
 need to install it (and will be able to find it on the Cygwin package
 search page at http://cygwin.com/packages/).  Until then, don't bother.
 
 HTH,
 Igor
 -- 
 http://cs.nyu.edu/~pechtcha/
   |\  _,,,---,,_ [EMAIL PROTECTED]
 ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
 '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
 
 I have since come to realize that being between your mentor and his route
 to the bathroom is a major career booster.  -- Patrick Naughton



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: localtime() acting like gmtime() in Perl

2004-02-29 Thread Yitzchak Scott-Thoennes
On Sat, Feb 28, 2004 at 08:13:39PM -0500, Brian Kelly [EMAIL PROTECTED] wrote:
 A cursory check of the archives would have dug up this exchange:
 
 http://sources.redhat.com/ml/cygwin/2004-02/msg00582.html
 
 Sooo - either try the latest snapshot of the cygwin1.dll, or
 wait for release 1.5.8.

Or see if you can find a mirror with perl-5.8.0 still (which wasn't built
threaded and doesn't have the problem) or even perl-5.6.1.

Or do at the beginning of your Perl program: use POSIX tzset; tzset();

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: localtime() acting like gmtime() in Perl

2004-02-29 Thread Yitzchak Scott-Thoennes
On Sun, Feb 29, 2004 at 02:52:34AM -0800, Yitzchak Scott-Thoennes wrote:
 On Sat, Feb 28, 2004 at 08:13:39PM -0500, Brian Kelly xxx wrote:
 ^^^
Sorry about that; I *thought* I had it set up to not include email addrs.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Crash of mysql under cygwin with g++ 3.3.1

2004-02-29 Thread Gerrit P. Haase
Hallo Fabrice,

Am Samstag, 28. Februar 2004 um 13:38 schriebst du:


 Hallo Gerrit,

 thanks for your help. I think I will now use your compiled libs instead of
 those provided by the MYSQL installer.

 I still have a couple question if I want to recompile myself the 
 libraries:

 1) as I understand, the mysqlclient.a are compiled from the MYSQL source
 tree

Yes.

 2) where does the cygmysqlclient.dll library come from? Is it also
 compiled from the MYSQL source tree?

Yes, this is the shared library which is created from the MySQL
sources, the libmysqlclient.a is the static archive created from the
same sources and the libmysqlclient.dll.a is the import library used
to link executables against the shared runtime library.

 3) if I want to ship my MYSQL client that has been linked with 
 libmysqlclient.a, I need cygwin.dll because my client is compiled under
 cygwin. If I am right I need to ship also cygmysqlclient.dll. Since the
 customer will have MYSQL installed, I am afraid that there could be a
 conflict with HIS libMySQL.dll, is that possible?

If you link against the static archive (libmysqlclient.a), you won't
need the DLL, if you link with `-L/usr/lib/mysql -lmysqlclient`, the
import library (libmysqlclient.dll.a) is picked at first by the linker
and the executable is finally linked against the shared library.
There should be no conflicts.  To be safe, tell your users that you
deliver a cygwin1.dll and that it is not possible to use two Cygwin
runtime libraries at the same time.


Gerrit
-- 
=^..^=



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Crash of mysql under cygwin with g++ 3.3.1

2004-02-29 Thread Fabrice Marchal
Hallo Gerrit,

thanks a lot for your help, now I have it working properly, with a 
statically
linked client and I only need to tell users to use the cygwin1.dll.

I only had to do a small work-around because my client keeps telling me 
that it
cannot connect through /var/mysql/mysql.sock. The workaround is
to use mysql_real_connect with host=127.0.0.1 because if I use
localhost it turns to named pipes instead of using TCP. Any idea why it
is that way?

Reagrds,
Fabrice
Gerrit P. Haase wrote:

Hallo Fabrice,

Am Samstag, 28. Februar 2004 um 13:38 schriebst du:

 

Hallo Gerrit,
   

 

thanks for your help. I think I will now use your compiled libs instead of
those provided by the MYSQL installer.
   

 

I still have a couple question if I want to recompile myself the 
libraries:
   

 

1) as I understand, the mysqlclient.a are compiled from the MYSQL source
tree
   

Yes.

 

2) where does the cygmysqlclient.dll library come from? Is it also
compiled from the MYSQL source tree?
   

Yes, this is the shared library which is created from the MySQL
sources, the libmysqlclient.a is the static archive created from the
same sources and the libmysqlclient.dll.a is the import library used
to link executables against the shared runtime library.
 

3) if I want to ship my MYSQL client that has been linked with 
libmysqlclient.a, I need cygwin.dll because my client is compiled under
cygwin. If I am right I need to ship also cygmysqlclient.dll. Since the
customer will have MYSQL installed, I am afraid that there could be a
conflict with HIS libMySQL.dll, is that possible?
   

If you link against the static archive (libmysqlclient.a), you won't
need the DLL, if you link with `-L/usr/lib/mysql -lmysqlclient`, the
import library (libmysqlclient.dll.a) is picked at first by the linker
and the executable is finally linked against the shared library.
There should be no conflicts.  To be safe, tell your users that you
deliver a cygwin1.dll and that it is not possible to use two Cygwin
runtime libraries at the same time.
Gerrit
 



--

Fabrice Marchal   http://www.inf.ethz.ch/~marchal 
[EMAIL PROTECTED]  [EMAIL PROTECTED] +41-(0)1-632-56-79
ETH Zurich, CoLab Computational LaboratoryFAX:+41-(0)1-632-17-03




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Crash of mysql under cygwin with g++ 3.3.1

2004-02-29 Thread Gerrit P. Haase
Hallo Fabrice,

Am Sonntag, 29. Februar 2004 um 12:11 schriebst du:

 Hallo Gerrit,

 thanks a lot for your help, now I have it working properly, with a 
 statically
 linked client and I only need to tell users to use the cygwin1.dll.

 I only had to do a small work-around because my client keeps telling me
 that it
 cannot connect through /var/mysql/mysql.sock. The workaround is
 to use mysql_real_connect with host=127.0.0.1 because if I use
 localhost it turns to named pipes instead of using TCP. Any idea why it
 is that way?

No, sorry.  It never worked with TCP/IP when using host=localhost, I
always use the IP address of the host where the server is running,
only exception is when I use the Cygwin-MySQL server running at my
local box where it also works via /var/mysql/mysql.sock.


Gerrit
-- 
=^..^=



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Crash of mysql under cygwin with g++ 3.3.1

2004-02-29 Thread Fabrice Marchal
Gerrit P. Haase wrote:

Hallo Fabrice,

Am Sonntag, 29. Februar 2004 um 12:11 schriebst du:

 

Hallo Gerrit,
   

 

thanks a lot for your help, now I have it working properly, with a 
statically
linked client and I only need to tell users to use the cygwin1.dll.
   

 

I only had to do a small work-around because my client keeps telling me
that it
cannot connect through /var/mysql/mysql.sock. The workaround is
to use mysql_real_connect with host=127.0.0.1 because if I use
localhost it turns to named pipes instead of using TCP. Any idea why it
is that way?
   

No, sorry.  It never worked with TCP/IP when using host=localhost, I
always use the IP address of the host where the server is running,
only exception is when I use the Cygwin-MySQL server running at my
local box where it also works via /var/mysql/mysql.sock.
Gerrit
 

Well, I wonder how the mysql client manage to connect: for instance 
the client
which is compiled in you binaries doesnt work (i.e. cannot connet 
throuch socket)
while the mysql clientprovided in Mysql-4.0.18 for windows work.

Fabrice

--

Fabrice Marchal   http://www.inf.ethz.ch/~marchal 
[EMAIL PROTECTED]  [EMAIL PROTECTED] +41-(0)1-632-56-79
ETH Zurich, CoLab Computational LaboratoryFAX:+41-(0)1-632-17-03




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


RE : 1.0.0 : Installing Apache as a new Service = Win32 error 1062 (Windows XP Pro)

2004-02-29 Thread Flo

I found nothing in the doc.
Does anybody has already installed Apache as a service in this mailing
list?


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part
de Stipe Tolj
Envoyé : vendredi 27 février 2004 01:30
À : [EMAIL PROTECTED]
Cc : [EMAIL PROTECTED]
Objet : Re: 1.0.0 : Installing Apache as a new Service = Win32 error
1062 (Windows XP Pro)

 According to this doc :
 
 Installing Apache as a new Service
 Use the following statement to install httpd.exe as a new service:
 
   $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a
 arguments] \
   [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd] Where -a
is
 used to pass command line arguments (such as -DFOO defines) to
 httpd.exe, and -e is used to pass environment variables. If necessary
 you may
 use the -t options to set the autostart configuration for the service.
 If you
 want the new service to run under a different userid, you will have to
 supply
 the -u and -w options.
 
 When i start apache as this : /usr/sbin/httpd.exe
 apache is running ok
 
 but when i install it as service with : cygrunsrv -I apache -p
 /usr/sbin/httpd.exe
 and i try to start the service with :
 $ cygrunsrv -S apache
 i get :
 cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
 1062: Le service n'a pas été démarré.
 
 Then when i start is with Windows i get this :
 Erreur 1067 : le processus s'est arrêté inopinément
 (Error 1067 : the process sudenly stopped)
 
 My windows XP session is running as the Flo user from
 Administrateurs group, so I updated the httpd.conf :
 User Flo
 Group Administrateurs
 
 I also tried this :
 
 [EMAIL PROTECTED] ~/temp
 $ cygrunsrv -I apache -p /usr/sbin/httpd.exe -u Flo -w flo
 
 [EMAIL PROTECTED] ~/temp
 $ cygrunsrv -S apache
 cygrunsrv: Error starting a service: StartService:  Win32 error 1069:
 L'échec d'une ouverture de session a empêché le démarrage du service.
 
 I think there is other thing to do but what ?

when invoking apache's httpd via cygrunsrv you will have to tell httpd
to not detach from the calling shell (which is in fact the cygrunsrv
process itself). Otherwise the binding gets loose.

Please check /usr/share/doc/Cygwin/apache* for a manual and section on
how to correctly install the httpd as service.

Stipe

mailto:[EMAIL PROTECTED]
---
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:[EMAIL PROTECTED]
http://www.wapme-systems.de/
---

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.2.2 (Cygwin)

mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS
OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2
nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT
dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv
bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID
AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl
OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ
K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H
g2HyLAEKQIp30Q==
=aYCI
-END PGP PUBLIC KEY BLOCK-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Issue with rxvt

2004-02-29 Thread Gregory Borota
I am just guessing here, but I might be right (You may check with rxvt 
source code and/or 'man rxvt', I no time and don't use it).

Without '-e bash', rxvt calls the much simpler, scaled-down 'ash' which 
is not able to understand more advanced terminal control escape 
sequences but bash is. And see to it that '- e bash' is always the last 
on command line (if you give rxvt other options, that's how xterm 
behaves I guess rxvt follows that too)

Glad it helps,
Greg
Jonathan E. Brickman wrote:

Thank you very much, Gregory!

What is different about a -e that turns on the escape-code
recognition?

What about trying?:


rxvt -e bash


Greg




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Crash of mysql under cygwin with g++ 3.3.1

2004-02-29 Thread Gerrit P. Haase
Hallo Fabrice,


I only had to do a small work-around because my client keeps telling me
that it cannot connect through /var/mysql/mysql.sock. The
workaround is to use mysql_real_connect with host=127.0.0.1 because
if I use localhost it turns to named pipes instead of using TCP.
Any idea why it is that way?

No, sorry.  It never worked with TCP/IP when using host=localhost, I
always use the IP address of the host where the server is running,
only exception is when I use the Cygwin-MySQL server running at my
local box where it also works via /var/mysql/mysql.sock.

 Well, I wonder how the mysql client manage to connect: for instance
 the client which is compiled in you binaries doesnt work (i.e.
 cannot connet throuch socket) while the mysql clientprovided
 in Mysql-4.0.18 for windows work. 

The native Windows server and clients default to TCP/IP, the Cygwin
versions default to using /var/mysql/mysql.sock, if you specify
`host=127.0.0.1` it will work with the Cygwin client too because it
will use TCP/IP then.

Look in the source where it is specified what to use as default,
or there should be a part guarded with `#ifdef WIN32` where is
specified to use TCP/IP.


Gerrit
-- 
=^..^=



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



New Email

2004-02-29 Thread Ed
This email is no longer valid.  Please direct all inquiries to [EMAIL PROTECTED]



Thanks



Ed Robinson

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [Fwd: Bug: Perl:IsWinNT undefined RFE, only use / in reg values, not names..?]

2004-02-29 Thread Yitzchak Scott-Thoennes
On Sat, Feb 28, 2004 at 10:29:01AM -0800, linda w [EMAIL PROTECTED] wrote:
 I still haven't figured out how to get Tk to build from cpan
 w/o the x param.  It builds when I drop into the build
 dir view Tk from in cpan, and build it w/the x, but
 to install, I finally just ignore the makefile which seems
 to have the target:
 install:
all pure_install pure_doc_install.
 
 The all goes off and starts building things again -- if
 I just do a make install, it goes off and starts compiling
 things even though, supposedly it's already been built.

Some kind of clock problem confusing make?  Or is this just the
normal stuff you see with nested makefiles, where the top-level
makefile has to invoke the others to see if they are up-to-date?
(Lots of entering directory/leaving directory messages.)
The actual make commands you are using and their output would be helpful.

Last time you asked, I think you got the answer: Tk-804* builds
successfully only with the x option, Tk800* will build without.  I
just tried most recent versions of both and also see that (though
even Tk800.025 gets a number of test failures, so you would need to
use the force command from the cpan shell).

I see brief mention of this on the pTK list:
   http://lists.perl.org/showlist.cgi?name=ptk

anwered by Nick Ing-Simmons (the perl/Tk maintainer) with an request
for someone more familiar with cygwin to help out:
   http://www.xray.mpe.mpg.de/mailing-lists/ptk/2003-12/msg00296.html

But when I try Tk-804.025-beta15, I get a lot farther than that before
it fails:
gcc -c  -I.. -I../pTk/mTk/xlib -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing 
-DUSEIMPORTLIB -O2   -DVERSION=\804.025\ -DXS_VERSION=\804.025\  
-I/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE  -D__WIN32__ -D_WIN32 -Wall 
-Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ Xlib.c
Xlib.xs:13: error: syntax error before '*' token
Xlib.xs:13: warning: data definition has no type or storage class
Xlib.xs: In function `boot_Tk__Xlib':
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: error: `XlibVtab' undeclared (first use in this function)
Xlib.xs:378: error: (Each undeclared identifier is reported only once
Xlib.xs:378: error: for each function it appears in.)
Xlib.xs:378: error: syntax error before ')' token
make[1]: *** [Xlib.o] Error 1
make[1]: Leaving directory `/home/sthoenna/dl/tmp/Tk-804.025_beta15/Xlib'
make: *** [subdirs] Error 2


 What is lost by allowing perl to make libwin32 calls, in
 this case, is not violating the principle of least surprise.

Again, the perl-libwin32 package containing the Win32 calls
first became available via setup *after* the most recent perl
package.  I expect perl will automatically load the Win32::
stuff (at least to the extent the native win32 port does) with
the next release or two.

In the meantime, you will either need to patch perl to do this
yourself or set PERL5OPT=-MWin32CORE, as I believe was previously
mentioned.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: cygcheck

2004-02-29 Thread Igor Pechtchanski
George,

FYI, I had to jump through hoops to get the full message quoted.  Top
posting and signatures don't mix well, especially with mail clients that
recognize the --  sigdashes syntax: either change your signature to not
start with -- , or make sure your signature follows the quoted message,
rather than precedes it.

Also, please instruct your mailer to not quote raw e-mail addresses in
replies -- they're just fodder for spam harvesters.

More comments inline below.

On Sun, 29 Feb 2004, George Hester wrote:

 Sorry about that.  Tell me if this is better.

If you mean the linewrap, then thanks, yes, this is much better.  You
still didn't include any information about your system, though (i.e., the
output of cygcheck -svr).

 Yes I could tell Cygwin under cygcheck -s was retrieving more information
 then was in the download.  I did have it set to full.
 So I don't know what more I could have gotten.
 The result was as I showed.  So you think some of the items
 I mentioned as Not Found should have been found choosing Full
 in the Setup?  Hmmm
 --
 George Hester

Setting the *view* to Full doesn't actually select any packages - it
simply displays all the available ones.  If you want to actually *install*
everything, read http://cygwin.com/faq/faq_2.html#SEC14.

FWIW, in the Full view, all the packages marked Skip aren't installed
on your system, and you can select them individually.

HTH,
Igor

 __
 Igor Pechtchanski pechtchaatcsdotnyudotedu wrote:
  George,
 
  Please instruct your mailer to wrap long lines, otherwise it's very hard
  to read the messages in the archives.  Thanks.  More below.
 
  On Sat, 28 Feb 2004, George Hester wrote:
 
   I've installed the latest cygwin.  That seemed to go OK in Windows 2000
   Server SP3.
  
   I started cygwin from the desktop icon made during the install process.
  
   I ran cygcheck -s
  
   I find there are a few things not found.
  
   1) cpp (good!)
   2) gcc
   3) gdb
   4) ld
  
   What are these?  Why is cpp Not found (good)?  What does that mean?
  
   I downloaded and installed all the options so why are some things Not
   found?  Can I find them somewhere?  Should I find them?  Thanks.
 
  The cygcheck program in its -s mode (system information) was designed to
  cram as much useful information about your Cygwin installation as possible
  into its output, to help others in diagnosing and/or reproducing your
  problems (and, hopefully, eventually fixing them).
 
  The installed programs part of the output attempts to list some common
  programs that people usually ask about.  This helps in situations where
  some other version of gcc hides the Cygwin version, for example, and
  people complain that gcc doesn't work.  The fact that the programs are or
  aren't found on your system shouldn't bother you unless you need to use
  one of them.  All four of the programs that you listed are development
  tools to let you build and debug programs.
 
  Frankly, I have no idea why cpp not found is (good!).  Perhaps it used
  to be that the gcc package hid cpp in its special directory, and you
  weren't supposed to invoke it directly, but rather by passing an option to
  gcc.  AFAICS, the current package ships with that program, so perhaps that
  note is outdated and should be removed.
 
  Since these programs are in the official Cygwin packages, you, apparently,
  haven't installed everything (which is what I read your all the options
  to mean).  If you want to see exactly what you've installed and what's
  available, run setup.exe and switch the view to Full (using the button
  on the top right of the package selection page).  You will see information
  about all the packages in the distribution.  I can't really tell you more
  about your system, since you haven't attached the output of cygcheck
  -svr as requested in http://cygwin.com/problems.html.
 
  As for whether you *should* find them, that's entirely up to you.  If
  you don't know what gcc is, likely you won't need it.  If you install a
  package that requires it, hopefully that package will either pull it in or
  complain the first time it tries to use it, at which point you'll know you
  need to install it (and will be able to find it on the Cygwin package
  search page at http://cygwin.com/packages/).  Until then, don't bother.
 
  HTH,
  Igor

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

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: 

Re: XEmacs and hot laptops

2004-02-29 Thread Larry Hall
At 12:49 AM 2/29/2004, [EMAIL PROTECTED] you wrote:
When I run cygwin XEmacs on my laptop after some time I have to close it as my laptop 
becomes very hot (and the fan goes non-stop and lot noisier than usual). So I work on 
porting some latex related stuff that works only on cygwin to native XEmacs. I 
wouldn't do that but I am afraid not to fry my laptop. 
Does anybody have this problem too?


This sounds a bit off-topic for this list since it's clearly a hardware 
issue.  While it's possible that Cygwin's XEmacs works your processor more
than other programs you're using, the fact that it may cause your machine
to get overly hot is a factor of the hardware, not the software.  If this 
is really a concern for you, you'll want to contact your hardware 
manufacturer to see if they can help get your machine to run cooler.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: RE : 1.0.0 : Installing Apache as a new Service = Win32 error 1062 (Windows XP Pro)

2004-02-29 Thread Igor Pechtchanski
Flo,

Did you actually *read* /usr/share/doc/Cygwin/apache-1.3.29-1.README?
FYI, lots of people on this list (including me) have Apache working as a
service (by following the instructions in the README).
Igor

On Sun, 29 Feb 2004, Flo wrote:

 I found nothing in the doc.
 Does anybody has already installed Apache as a service in this mailing
 list?

 -Message d'origine-
 De : Stipe Tolj
 Envoyé : vendredi 27 février 2004 01:30
 À : florentdotlothonatfreedotfr
 Cc : cygwinatcygwindotcom
 Objet : Re: 1.0.0 : Installing Apache as a new Service = Win32 error 1062 (Windows 
 XP Pro)

  According to this doc :
 
  Installing Apache as a new Service
  Use the following statement to install httpd.exe as a new service:
 
$ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
[-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
 
  Where -a is used to pass command line arguments (such as -DFOO
  defines) to httpd.exe, and -e is used to pass environment variables.
  If necessary you may use the -t options to set the autostart
  configuration for the service. If you want the new service to run
  under a different userid, you will have to supply the -u and -w
  options.
 
  When i start apache as this : /usr/sbin/httpd.exe
  apache is running ok
 
  but when i install it as service with : cygrunsrv -I apache -p
  /usr/sbin/httpd.exe
 
  and i try to start the service with :
  $ cygrunsrv -S apache
  i get :
  cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
  1062: Le service n'a pas été démarré.
 
  Then when i start is with Windows i get this :
  Erreur 1067 : le processus s'est arrêté inopinément
  (Error 1067 : the process sudenly stopped)
 
  My windows XP session is running as the Flo user from
  Administrateurs group, so I updated the httpd.conf :
  User Flo
  Group Administrateurs
 
  I also tried this :
 
  [EMAIL PROTECTED] ~/temp
  $ cygrunsrv -I apache -p /usr/sbin/httpd.exe -u Flo -w flo
 
  [EMAIL PROTECTED] ~/temp
  $ cygrunsrv -S apache
  cygrunsrv: Error starting a service: StartService:  Win32 error 1069:
  L'échec d'une ouverture de session a empêché le démarrage du service.
 
  I think there is other thing to do but what ?

 when invoking apache's httpd via cygrunsrv you will have to tell httpd
 to not detach from the calling shell (which is in fact the cygrunsrv
 process itself). Otherwise the binding gets loose.

 Please check /usr/share/doc/Cygwin/apache* for a manual and section on
 how to correctly install the httpd as service.

 Stipe

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

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: XEmacs and hot laptops

2004-02-29 Thread Gregory Borota
Yes it's true with the stuff I am doing xemacs uses the processor 
heavyly (according to task manager).

Thanks,
Greg
Larry Hall wrote:

At 12:49 AM 2/29/2004, [EMAIL PROTECTED] you wrote:

When I run cygwin XEmacs on my laptop after some time I have to close it as my laptop becomes very hot (and the fan goes non-stop and lot noisier than usual). So I work on porting some latex related stuff that works only on cygwin to native XEmacs. I wouldn't do that but I am afraid not to fry my laptop. 
Does anybody have this problem too?


This sounds a bit off-topic for this list since it's clearly a hardware 
issue.  While it's possible that Cygwin's XEmacs works your processor more
than other programs you're using, the fact that it may cause your machine
to get overly hot is a factor of the hardware, not the software.  If this 
is really a concern for you, you'll want to contact your hardware 
manufacturer to see if they can help get your machine to run cooler.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: handling cvs ssh2 passwd prompt

2004-02-29 Thread Igor Pechtchanski
On Sun, 29 Feb 2004, Lloyd Wood wrote:

 I'm using cygwin base 1.5.7-1 and uptodate cygwin cvs and ssh
 installs. When I attempt a cvs transaction with sourceforge via:

 export CVS_RSH=ssh2
 cvs -z3 -d:ext:[EMAIL PROTECTED]:/cvsroot/project co project

 I have trouble with the resulting:
 name's password:
 password request.

 If I run those commands in a terminal window in the shared X server
 window started with startx, the password request appears in the
 initial cygwin window.

 If I run those commands in a terminal window in a Windows
 window started from startxwin.bat, I don't know where the password
 request is sent to.

 Any hints? It seems to be an oddity in handling/redirecting stdout/in.

 thanks,

 L.

 CVS 1.11.6
 OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 20 Sep 2003

Lloyd,

Please (re)read the Cygwin problem reporting guidelines at
http://cygwin.com/problems.html, especially the bit about attaching the
output of cygcheck -svr (which is not optional).

The first thing to check is whether you're using the Cygwin versions of
OpenSSH and CVS.  AFAIK, there is no ssh2 command in the Cygwin OpenSSH
package.  Running which ssh2 should give you an idea of which ssh you're
getting.  It does sound like you're getting a Windows program that
attempts to detect the console (and gets the one that opened the X
window).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: cygcheck

2004-02-29 Thread George Hester
Igor my mail client puts all the stuff in you mention by default.  I don't
usually manually remove things to make it better because it is only in
newsgroups that aren't Microsoft where this issue occurs.

Let me see what I can do...is that better?  Not sure if I should remove the 
previous posts to help.

cygcheck -svr

COMSPEC = `C:\WINNT\system32\cmd.exe'
CPU = `i386'
CVS_RSH = `/bin/ssh'
DLLFLAGS = `-SUBSYSTEM:windows -DLL'
GUIFLAGS = `-SUBSYSTEM:windows'
GUILIBS = `-DEFAULTLIB:user32.lib gdi32.lib winmm.lib comdlg32.lib comctl32.lib'

HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\Administrator'
HOSTNAME = `MyMachine'
INCLUDE = `C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program
Files\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual
 Studio\VC98\include;C:\Workshop\ie55_lib\Include;C:\Program Files\Microsoft SDK
\Include\.;C:\WMSDK\WMSSDK\Include;C:\DHTMLEd\INC;C:\INETSDK\Include;C:\CABSDK\I
NCLUDE'
INETSDK = `C:\Program Files\Microsoft SDK\.'
INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/
usr/autotool/stable/info:'
JAVA_HOME = `C:\Program Files\j2sdk_nb\j2sdk1.4.2'
JAVA_PATH = `C:\Program Files\j2sdk_nb\j2sdk1.4.2\'
JUT_CLASSPATH = `C:\WINNT\java\classes\classes.zip;C:\WINNT\java\classes\corejav
a.zip;C:\WINNT\java\classes\jaws.zip;C:\WINNT\java\classes\msjdbc.zip;C:\WINNT\j
ava\classes\tools.zip;C:\WINNT\java\classes\tclasses.zip;C:\WINNT\java\classes\r
t.zip;C:\WINNT\java\classes\i18n.zip;C:\WINNT\java\classes\pbnet.zip;C:\jaf-1.0.
2\activation.jar;C:\WINNT\java\classes\vjoffice_jcw.zip;C:\Program Files\Java\j2
re1.4.2_02\lib\ext\QTJava.zip;C:\PROGRA~1\JAVA\J2RE14~1.2_0\LIB\EXT\saxon7.jar;C
:\WINNT\java\classes\msbase.zip;C:\ant\lib;C:\PROGRA~1\APACHE~1\TOMCAT~1.1\commo
n\lib\servlet.jar;C:\junit\junit.jar;C:\junit;C:\log4j\dist\liblog4j-1.2.8.jar;C
:\log4j\log4j.zip;C:\velocity\velo.zip;C:\jndi\simple-jndi-0.9.jar;C:\jndi\js.ja
r;.'
JUT_CMD = `C:\PROGRA~1\JAVA\JUT_20~1\JUT\BIN\JUT.CMD'
JUT_HOME = `C:\PROGRA~1\JAVA\JUT_20~1\JUT'
LIB = `C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files\Mi
crosoft Visual Studio\VC98\lib;C:\Workshop\ie55_lib\Lib;C:\Program Files\Microso
ft SDK\Lib\.;C:\INETSDK\Lib;C:\CABSDK\LIB'
LINKER = `link'
LINK_F90 = `imsl.lib imsls_err.lib imslmpistub.lib'
LOG4J_HOME = `C:\log4j'
LOGONSERVER = `\\MYMACHINE'
MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man:'
MAVEN_HOME = `C:\maven'
MSDEVDIR = `C:\Program Files\Microsoft Visual Studio\Common\MSDev98'
MSSDK = `C:\Program Files\Microsoft SDK\.'
MSTOOLS = `C:\Program Files\Microsoft SDK\.'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.pyc;.pyo;.pyw;.py;.
pys;.tcl'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0502'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
QTJAVA = `C:\Program Files\Java\j2re1.4.2_02\lib\ext\QTJava.zip'
RC = `rc'
RCVARS = `-r -DWIN32'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'
TOMCAT_HOME = `C:\Program Files\Apache Group\Tomcat 4.1\'
USERDNSDOMAIN = `mydomain.com'
USERDOMAIN = `MYDOMAIN'
USERNAME = `Administrator'
USERPROFILE = `C:\Documents and Settings\Administrator'
VNI_F90_MSG = `C:\Program Files\Microsoft Visual Studio\DF98\IMSL\MESSAGE'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'
_FORTE4J_HOME = `C:\forte4j'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
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\Program Options

a:  fd   N/AN/A
c:  hd  NTFS   12499Mb  92% CP CS UN PA FC Win2K
d:  hd  FAT7Mb   4% CPUN   NT5
e:  hd  NTFS8002Mb  77% CP CS UN PA FC NTFSHLD1
f:  hd  NTFS   20014Mb  70% CP CS UN PA FC NTFSHLD2
g:  hd  NTFS   24725Mb  98% CP CS UN PA FC PRESRV
h:  cd   N/AN/A
i:  hd  NTFS   10003Mb  64% CP CS UN PA FC NTPROF1
j:  hd  NTFS7973Mb  82% CP CS UN PA FC 

RE : RE : 1.0.0 : Installing Apache as a new Service = Win32 error 1062 (Windows XP Pro)

2004-02-29 Thread Flo
Oh sorry, 

I was searching in the D:\cygwin\usr\share\doc\apache* directory

Ok I will test

thx

-Message d'origine-
Envoyé : dimanche 29 février 2004 21:34
À : Flo
Objet : Re: RE : 1.0.0 : Installing Apache as a new Service = Win32
error 1062 (Windows XP Pro)

Flo,

Did you actually *read* /usr/share/doc/Cygwin/apache-1.3.29-1.README?
FYI, lots of people on this list (including me) have Apache working as a
service (by following the instructions in the README).
Igor

On Sun, 29 Feb 2004, Flo wrote:

 I found nothing in the doc.
 Does anybody has already installed Apache as a service in this mailing
 list?

 -Message d'origine-
 De : Stipe Tolj
 Envoyé : vendredi 27 février 2004 01:30
 À : florentdotlothonatfreedotfr
 Cc : cygwinatcygwindotcom
 Objet : Re: 1.0.0 : Installing Apache as a new Service = Win32 error
1062 (Windows XP Pro)

  According to this doc :
 
  Installing Apache as a new Service
  Use the following statement to install httpd.exe as a new service:
 
$ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a
arguments] \
[-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
 
  Where -a is used to pass command line arguments (such as -DFOO
  defines) to httpd.exe, and -e is used to pass environment variables.
  If necessary you may use the -t options to set the autostart
  configuration for the service. If you want the new service to run
  under a different userid, you will have to supply the -u and -w
  options.
 
  When i start apache as this : /usr/sbin/httpd.exe
  apache is running ok
 
  but when i install it as service with : cygrunsrv -I apache -p
  /usr/sbin/httpd.exe
 
  and i try to start the service with :
  $ cygrunsrv -S apache
  i get :
  cygrunsrv: Error starting a service: QueryServiceStatus:  Win32
error
  1062: Le service n'a pas été démarré.
 
  Then when i start is with Windows i get this :
  Erreur 1067 : le processus s'est arrêté inopinément
  (Error 1067 : the process sudenly stopped)
 
  My windows XP session is running as the Flo user from
  Administrateurs group, so I updated the httpd.conf :
  User Flo
  Group Administrateurs
 
  I also tried this :
 
  [EMAIL PROTECTED] ~/temp
  $ cygrunsrv -I apache -p /usr/sbin/httpd.exe -u Flo -w flo
 
  [EMAIL PROTECTED] ~/temp
  $ cygrunsrv -S apache
  cygrunsrv: Error starting a service: StartService:  Win32 error
1069:
  L'échec d'une ouverture de session a empêché le démarrage du
service.
 
  I think there is other thing to do but what ?

 when invoking apache's httpd via cygrunsrv you will have to tell httpd
 to not detach from the calling shell (which is in fact the cygrunsrv
 process itself). Otherwise the binding gets loose.

 Please check /usr/share/doc/Cygwin/apache* for a manual and section on
 how to correctly install the httpd as service.

 Stipe

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

I have since come to realize that being between your mentor and his
route
to the bathroom is a major career booster.  -- Patrick Naughton


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: cygcheck

2004-02-29 Thread Igor Pechtchanski
George,

On Sun, 29 Feb 2004, George Hester wrote:

 Igor my mail client puts all the stuff in you mention by default.  I
 don't usually manually remove things to make it better because it is
 only in newsgroups that aren't Microsoft where this issue occurs.

Yes, Outlook is notoriously hard to configure properly.  However, I do
believe people managed to do this (the signature is definitely
configurable).  FYI, your posts actually go to a mailing list, so you're
basically sending e-mail (through a portal called Gmane, which you may
also be able to configure).  Frankly, I'm not sure what the last part of
your sentense means (if you mean that users of Microsoft newsgroups don't
care if their e-mail addresses get harvested by spammers, and that in most
other newsgroups people are sensitive to this, then you're absolutely
right -- almost nobody likes spam).

 Let me see what I can do...is that better?  Not sure if I should remove the
 previous posts to help.

 [partial cygcheck -svr snipped]

 George Hester

The problem reporting guidelines at http://cygwin.com/problems.html
which I initially referred you to request that the output of cygcheck
-svr should be *attached* (as an uncompressed text attachment), rather
than included inline, to avoid producing false positive hits in mailing
list archive searches.  The recipe there also helps ensure that you
include the full output of cygcheck -svr, which you didn't, BTW.  It was
enough for our purposes, though, as it confirmed my guesses: the list of
packages shows that you only have the very basic set installed.  There are
many more packages available -- you can see the full list of packages in
the Full view of setup, or by visiting http://cygwin.com/packages/.

HTH,
Igor

 __
 Igor Pechtchanski wrote:
  George,
 
  FYI, I had to jump through hoops to get the full message quoted.  Top
  posting and signatures don't mix well, especially with mail clients that
  recognize the --  sigdashes syntax: either change your signature to not
  start with -- , or make sure your signature follows the quoted message,
  rather than precedes it.
 
  Also, please instruct your mailer to not quote raw e-mail addresses in
  replies -- they're just fodder for spam harvesters.
 
  More comments inline below.
 
  On Sun, 29 Feb 2004, George Hester wrote:
 
   Sorry about that.  Tell me if this is better.
 
  If you mean the linewrap, then thanks, yes, this is much better.  You
  still didn't include any information about your system, though (i.e., the
  output of cygcheck -svr).
 
   Yes I could tell Cygwin under cygcheck -s was retrieving more information
   then was in the download.  I did have it set to full.
   So I don't know what more I could have gotten.
   The result was as I showed.  So you think some of the items
   I mentioned as Not Found should have been found choosing Full
   in the Setup?  Hmmm
   --
   George Hester
 
  Setting the *view* to Full doesn't actually select any packages - it
  simply displays all the available ones.  If you want to actually *install*
  everything, read http://cygwin.com/faq/faq_2.html#SEC14.
 
  FWIW, in the Full view, all the packages marked Skip aren't installed
  on your system, and you can select them individually.
 
  HTH,
  Igor
 
   __
   Igor Pechtchanski pechtchaatcsdotnyudotedu wrote:
George,
   
Please instruct your mailer to wrap long lines, otherwise it's very hard
to read the messages in the archives.  Thanks.  More below.
   
On Sat, 28 Feb 2004, George Hester wrote:
   
 I've installed the latest cygwin.  That seemed to go OK in Windows 2000
 Server SP3.

 I started cygwin from the desktop icon made during the install process.

 I ran cygcheck -s

 I find there are a few things not found.

 1) cpp (good!)
 2) gcc
 3) gdb
 4) ld

 What are these?  Why is cpp Not found (good)?  What does that mean?

 I downloaded and installed all the options so why are some things Not
 found?  Can I find them somewhere?  Should I find them?  Thanks.
   
The cygcheck program in its -s mode (system information) was designed to
cram as much useful information about your Cygwin installation as possible
into its output, to help others in diagnosing and/or reproducing your
problems (and, hopefully, eventually fixing them).
   
The installed programs part of the output attempts to list some common
programs that people usually ask about.  This helps in situations where
some other version of gcc hides the Cygwin version, for example, and
people complain that gcc doesn't work.  The fact that the programs are or
aren't found on your system shouldn't bother you unless you need to use
one of them.  All four of the programs that you listed are development
tools to let you build and debug programs.
   
Frankly, I have no idea why cpp not found is 

Re: Issue with rxvt

2004-02-29 Thread Jonathan E. Brickman
After playing with it a good bit, here is my final solution:

1.  A batch file, cygwin2.bat, located in C:\cygwin

2.  The contents of the batch file as follows:

@echo off

C:
chdir C:\cygwin\bin
rxvt -bg black -fg white -e bash --login -i

3.  A shortcut to this batch file on my desktop, with the icon changed 
to the cygwin.ico located in C:\cygwin

4.  Great joy, as it all works deliciously!

--
Jonathan E. Brickman
http://joshuacorps.org
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Crash of mysql under cygwin with g++ 3.3.1

2004-02-29 Thread Brian Dessent
Fabrice Marchal wrote:

 cannot connect through /var/mysql/mysql.sock. The workaround is
 to use mysql_real_connect with host=127.0.0.1 because if I use
 localhost it turns to named pipes instead of using TCP. Any idea why it
 is that way?

Because Unix domain sockets are more efficient than TCP/IP ones.  So if
you specify 'localhost' as the host then there's a prety good chance
that a Unix socket is available, and so the client tries that.  It's an
optimization so that Unix sockets are used when talking to the
localhost, without the user having to explicitly configure it.

Brian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



'exim' setup question

2004-02-29 Thread Jonathan E. Brickman
A while ago I was using 'exim' quite successfully as an SMTP server 
under cygwin/XP. Then more and more email service providers started 
configuring their SMTP servers to not accept email sent from an ISP's 
dynamic IP list, as one step in defense against spam. At first I just 
set up exim's config file with a list of domains to route to my ISP's 
smarthost; but then that list of domains got longer and longer, and exim 
rapidly ceased to be practical -- and I never managed to get exim to 
first try direct sends, and then do smarthost sends, for all 
transmission, despite a large number of attempts using several different 
items in the exim manual. Anyone have a simple solution?

--
Jonathan E. Brickman
http://joshuacorps.org
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Looking for the report

2004-02-29 Thread balasub


--  Virus Warning Message (on the network)

dacab.zip is removed from here because it contains a virus.

---  Virus Warning Message (on the network)
(B
(BFound virus WORM_BAGLE.D in file hwhysgpy.exe (in dacab.zip)
(BThe file is deleted.
(B
(BTherefore we removed the attachment-file
(Bby Mail Server and sent the message to you.
(B
(B(Japanese)
$BK\%a!<%k$KE:IU$5$l$F$$$?%U%!%$%k$K%&%#%k%9$,[EMAIL PROTECTED](B
$B$=$N$?$a!"%a!<%k%5!<%P$K$h$C$FE:IU%U%!%$%k$r

Re: [ANNOUNCEMENT] Updated: cygwin-doc-1.3-7

2004-02-29 Thread Joshua Daniel Franklin
On Fri, Feb 27, 2004 at 12:51:24PM -0800, Tim Hubberstey wrote:
 --- Joshua Daniel Franklin [EMAIL PROTECTED]
 wrote:
  An updated version of cygwin-doc is now available.
  This is a
  normal incremental release with no major structural
  changes.
  
  It includes the latest one-HTML-file and PDF
  versions of the 
  User's Guide, which are also available at the Cygwin
  web site. 
 
 I just downloaded the PDF version of the User's Guide,
 cygwin-ug-net.pdf, and about 30% of the pages generate
 errors in Acrobat reader 5.1.0 that prevent the pages
 from displaying. The error message is:
 
 There was an error processing a page. There was a
 problem reading this document (14).
 
 Clearing this message produces another:
 
 Cound not find a font in the Resources dictionary -
 using Helvetica instead.
 
 I also tried reading it with Ghostview and got errors
 on the same pages.

Thanks for reporting this. I only opened the files and
apparently the title page does not have this problem.
I've updated the PDF on the website and will try to get
a new cygwin-doc together in the next few days.

(The problem, by the way, was apparently because TeX will
not generate missing fonts for PDF output, only PS. So 
after I made a PS version the PDF generation worked. Weird.)

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Cygwin Shell Here

2004-02-29 Thread Gregory Borota
In Windows Explorer I want to add a CYGWIN Shell context menu option 
on file system folders, giving me a quick way to open a Cygwin window 
pointing at the selected folder. This is what I came up with:

1. In the cygwin.bat file I add the line

set __CYG_PATH_=%~1

(somewhere before 'bash --login -i' line)

2. In my .bash_profile I add the line:

cd $__CYG_PATH_

3. I add to the registry the following lines:

[HKEY_CLASSES_ROOT\Directory\shell\CygCmd]
@=CYGWIN Shell
[HKEY_CLASSES_ROOT\Directory\shell\CygCmd\command]
@=C:\\cygwin\\cygwin.bat \%1\
[HKEY_CLASSES_ROOT\Drive\shell\CygCmd]
@=CYGWIN Shell
[HKEY_CLASSES_ROOT\Drive\shell\CygCmd\command]
@=C:\\cygwin\\cygwin.bat \%1\
I wonder if there isn't a simpler and nicer way to do this?

Gregory
ÿþWindows Registry Editor Version 5.00



[HKEY_CLASSES_ROOT\Directory\shell\CygCmd]

[EMAIL PROTECTED]CYGWIN Shell



[HKEY_CLASSES_ROOT\Directory\shell\CygCmd\command]

[EMAIL PROTECTED]C:\\cygwin\\cygwin.bat \%1\



[HKEY_CLASSES_ROOT\Drive\shell\CygCmd]

[EMAIL PROTECTED]CYGWIN Shell



[HKEY_CLASSES_ROOT\Drive\shell\CygCmd\command]

[EMAIL PROTECTED]C:\\cygwin\\cygwin.bat \%1\

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

Cygwin Shell Here

2004-02-29 Thread Gregory Borota
In Windows Explorer I want to add a CYGWIN Shell context menu option 
on file system folders, giving me a quick way to open a Cygwin window 
pointing at the selected folder. This is what I came up with:

1. In the cygwin.bat file I add the line

set __CYG_PATH_=%~1

(somewhere before 'bash --login -i' line)

2. In my .bash_profile I add the line:

cd $__CYG_PATH_

3. I add to the registry the following lines:

[HKEY_CLASSES_ROOT\Directory\shell\CygCmd]
@=CYGWIN Shell
[HKEY_CLASSES_ROOT\Directory\shell\CygCmd\command]
@=C:\\cygwin\\cygwin.bat \%1\
[HKEY_CLASSES_ROOT\Drive\shell\CygCmd]
@=CYGWIN Shell
[HKEY_CLASSES_ROOT\Drive\shell\CygCmd\command]
@=C:\\cygwin\\cygwin.bat \%1\
I wonder if there isn't a simpler and nicer way to do this?

Gregory

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: cygcheck

2004-02-29 Thread George Hester
Hi Igor.

Thanks for not browbeating me.  You would be amazed at the anathema newbies 
such as myself often generate.

I see all the stuff now.  I have to decide what I want.  I am concerned
that say if I get a C compiler and headers it could interfere with the one
I have.  Same thing with make.  Mine's called nmake so not sure.

Well I'm in no rush so I'll step lightly.  Thanks for your help.


George Hester
__
Igor Pechtchanski wrote in message news:[EMAIL PROTECTED]
 George,
 
 On Sun, 29 Feb 2004, George Hester wrote:
 
  Igor my mail client puts all the stuff in you mention by default.  I
  don't usually manually remove things to make it better because it is
  only in newsgroups that aren't Microsoft where this issue occurs.
 
 Yes, Outlook is notoriously hard to configure properly.  However, I do
 believe people managed to do this (the signature is definitely
 configurable).  FYI, your posts actually go to a mailing list, so you're
 basically sending e-mail (through a portal called Gmane, which you may
 also be able to configure).  Frankly, I'm not sure what the last part of
 your sentense means (if you mean that users of Microsoft newsgroups don't
 care if their e-mail addresses get harvested by spammers, and that in most
 other newsgroups people are sensitive to this, then you're absolutely
 right -- almost nobody likes spam).
 
  Let me see what I can do...is that better?  Not sure if I should remove the
  previous posts to help.
 
  [partial cygcheck -svr snipped]
 
  George Hester
 
 The problem reporting guidelines at http://cygwin.com/problems.html
 which I initially referred you to request that the output of cygcheck
 -svr should be *attached* (as an uncompressed text attachment), rather
 than included inline, to avoid producing false positive hits in mailing
 list archive searches.  The recipe there also helps ensure that you
 include the full output of cygcheck -svr, which you didn't, BTW.  It was
 enough for our purposes, though, as it confirmed my guesses: the list of
 packages shows that you only have the very basic set installed.  There are
 many more packages available -- you can see the full list of packages in
 the Full view of setup, or by visiting http://cygwin.com/packages/.
 
 HTH,
 Igor
 
  __
  Igor Pechtchanski wrote:
   George,
  
   FYI, I had to jump through hoops to get the full message quoted.  Top
   posting and signatures don't mix well, especially with mail clients that
   recognize the --  sigdashes syntax: either change your signature to not
   start with -- , or make sure your signature follows the quoted message,
   rather than precedes it.
  
   Also, please instruct your mailer to not quote raw e-mail addresses in
   replies -- they're just fodder for spam harvesters.
  
   More comments inline below.
  
   On Sun, 29 Feb 2004, George Hester wrote:
  
Sorry about that.  Tell me if this is better.
  
   If you mean the linewrap, then thanks, yes, this is much better.  You
   still didn't include any information about your system, though (i.e., the
   output of cygcheck -svr).
  
Yes I could tell Cygwin under cygcheck -s was retrieving more information
then was in the download.  I did have it set to full.
So I don't know what more I could have gotten.
The result was as I showed.  So you think some of the items
I mentioned as Not Found should have been found choosing Full
in the Setup?  Hmmm
--
George Hester
  
   Setting the *view* to Full doesn't actually select any packages - it
   simply displays all the available ones.  If you want to actually *install*
   everything, read http://cygwin.com/faq/faq_2.html#SEC14.
  
   FWIW, in the Full view, all the packages marked Skip aren't installed
   on your system, and you can select them individually.
  
   HTH,
   Igor
  
__
Igor Pechtchanski pechtchaatcsdotnyudotedu wrote:
 George,

 Please instruct your mailer to wrap long lines, otherwise it's very hard
 to read the messages in the archives.  Thanks.  More below.

 On Sat, 28 Feb 2004, George Hester wrote:

  I've installed the latest cygwin.  That seemed to go OK in Windows 2000
  Server SP3.
 
  I started cygwin from the desktop icon made during the install process.
 
  I ran cygcheck -s
 
  I find there are a few things not found.
 
  1) cpp (good!)
  2) gcc
  3) gdb
  4) ld
 
  What are these?  Why is cpp Not found (good)?  What does that mean?
 
  I downloaded and installed all the options so why are some things Not
  found?  Can I find them somewhere?  Should I find them?  Thanks.

 The cygcheck program in its -s mode (system information) was designed to
 cram as much useful information about your Cygwin installation as possible
 into its output, to help others in diagnosing and/or reproducing your
 

Re: Cygwin Shell Here

2004-02-29 Thread Larry Hall
At 09:14 PM 2/29/2004, Gregory Borota you wrote:
In Windows Explorer I want to add a CYGWIN Shell context menu option on file system 
folders, giving me a quick way to open a Cygwin window pointing at the selected 
folder. This is what I came up with:


snip


I wonder if there isn't a simpler and nicer way to do this?


Do you Google?  You'll find lots of discussion about how this can be
done in the email archives.  The topic has come up a few times in the 
past.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: XEmacs and hot laptops

2004-02-29 Thread Gregory Borota
Larry,

Your email client is configured to quote raw e-mail addresses in
replies, I think it would be good if you'd change that. Now my email 
address is visible for all spam harvesters to colect..

Greg

Larry Hall wrote:
At 12:49 AM 2/29/2004, borota you wrote:

When I run cygwin XEmacs on my laptop after some time I have to close it as my laptop becomes very hot (and the fan goes non-stop and lot noisier than usual). So I work on porting some latex related stuff that works only on cygwin to native XEmacs. I wouldn't do that but I am afraid not to fry my laptop. 
Does anybody have this problem too?


This sounds a bit off-topic for this list since it's clearly a hardware 
issue.  While it's possible that Cygwin's XEmacs works your processor more
than other programs you're using, the fact that it may cause your machine
to get overly hot is a factor of the hardware, not the software.  If this 
is really a concern for you, you'll want to contact your hardware 
manufacturer to see if they can help get your machine to run cooler.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: cygcheck

2004-02-29 Thread Larry Hall
At 09:16 PM 2/29/2004, George Hester you wrote:
Hi Igor.

Thanks for not browbeating me.  You would be amazed at the anathema newbies 
such as myself often generate.


Yes, Igor has been known for ruining Cygwin's email list reputation of being
mean.  If you're new to the list, it's an inside joke so don't worry if
you don't get it.


I see all the stuff now.  I have to decide what I want.  I am concerned
that say if I get a C compiler and headers it could interfere with the one
I have.  Same thing with make.  Mine's called nmake so not sure.


If you're referring to MS's VC++ compiler, you don't have cause for 
concern.  Lots of people have it and gcc/g++ installed.  Actually, it's 
sometimes a problem with the reverse (i.e. VC++ interfering with gcc/g++).  
If you find that INCLUDE and LIB are defined in your environment now, you'll
want to unset these values (perhaps in your cygwin.bat or /etc/profile)
before starting Cygwin.  That will keep gcc/g++ from seeing the paths to
VC++-specific stuff.




--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: cygcheck

2004-02-29 Thread Igor Pechtchanski
On Sun, 29 Feb 2004, Larry Hall wrote:

 At 09:16 PM 2/29/2004, George Hester you wrote:
 Hi Igor.
 
 Thanks for not browbeating me.  You would be amazed at the anathema
 newbies such as myself often generate.

 Yes, Igor has been known for ruining Cygwin's email list reputation of being
 mean.  If you're new to the list, it's an inside joke so don't worry if
 you don't get it.

Hey, I'm workin' on it.  Give me a couple more years... :-p
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: cygcheck

2004-02-29 Thread Christopher Faylor
On Sun, Feb 29, 2004 at 09:36:42PM -0500, Igor Pechtchanski wrote:
On Sun, 29 Feb 2004, Larry Hall wrote:
At 09:16 PM 2/29/2004, George Hester you wrote:
Thanks for not browbeating me.  You would be amazed at the anathema
newbies such as myself often generate.

Yes, Igor has been known for ruining Cygwin's email list reputation of
being mean.  If you're new to the list, it's an inside joke so
don't worry if you don't get it.

Hey, I'm workin' on it.  Give me a couple more years...  :-p

Just to be clear:  I started out mean.

I blame too much tech support at a young age.

HTH,
cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: XEmacs and hot laptops

2004-02-29 Thread Larry Hall
Huh, I never noticed that before.  I guess Eudora isn't as smart as I 
thought right out of the box.  Well, I'll look into how to make it 
behave properly in all situations.  As you can see from the below, it
will choose the human name over the email address if it has the 
choice (i.e. I didn't edit my quoted reply below).  But it looks like if
only has the email address, it uses it.  Bad Eudora!  Sorry for the trouble.

Larry


At 09:27 PM 2/29/2004, Gregory Borota you wrote:
Larry,

Your email client is configured to quote raw e-mail addresses in
replies, I think it would be good if you'd change that. Now my email address is 
visible for all spam harvesters to colect..

Greg

Larry Hall wrote:
At 12:49 AM 2/29/2004, borota you wrote:

When I run cygwin XEmacs on my laptop after some time I have to close it as my 
laptop becomes very hot (and the fan goes non-stop and lot noisier than usual). So 
I work on porting some latex related stuff that works only on cygwin to native 
XEmacs. I wouldn't do that but I am afraid not to fry my laptop. Does anybody have 
this problem too?

This sounds a bit off-topic for this list since it's clearly a hardware issue.  
While it's possible that Cygwin's XEmacs works your processor more
than other programs you're using, the fact that it may cause your machine
to get overly hot is a factor of the hardware, not the software.  If this is really 
a concern for you, you'll want to contact your hardware manufacturer to see if they 
can help get your machine to run cooler.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: XEmacs and hot laptops

2004-02-29 Thread Gregory Borota
Larry Hall wrote:

Huh, I never noticed that before.  I guess Eudora isn't as smart as I 
thought right out of the box.  Well, I'll look into how to make it 
behave properly in all situations.  As you can see from the below, it
will choose the human name over the email address if it has the 
choice (i.e. I didn't edit my quoted reply below).  But it looks like if
only has the email address, it uses it.  Bad Eudora!  Sorry for the trouble.

Larry
It's all right. That's not my 'private' email address so if I have 
trouble I'll just deactivate that account.

Greg

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: cygcheck

2004-02-29 Thread Igor Pechtchanski
On Sun, 29 Feb 2004, Christopher Faylor wrote:

 On Sun, Feb 29, 2004 at 09:36:42PM -0500, Igor Pechtchanski wrote:
 On Sun, 29 Feb 2004, Larry Hall wrote:
 At 09:16 PM 2/29/2004, George Hester you wrote:
 Thanks for not browbeating me.  You would be amazed at the anathema
 newbies such as myself often generate.
 
 Yes, Igor has been known for ruining Cygwin's email list reputation of
 being mean.  If you're new to the list, it's an inside joke so
 don't worry if you don't get it.
 
 Hey, I'm workin' on it.  Give me a couple more years...  :-p

... and the perceived meanness of this list will be but a distant memory.

 Just to be clear:  I started out mean.

 I blame too much tech support at a young age.

 HTH,
 cgf

And here's proof: thousands of list subscribers have seen CGF utter a
non-mean phrase (I could provide a URL, but you all know what I'm talking
about).  As I said, I'm working on it... :-D
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



VfW.H - Video for Windows include file

2004-02-29 Thread Mathieu Malaterre
Hi,

   I try compiling some very simple programs that were using the API of
video for windows (references such as CAPSTATUS, CAPDRIVERCAPS,
CONTROLCALLBACK_PREROLL ...). They should be defined in Vfw.h but I
can't find these definitions on my cygwin system.
	Is there a problem with this particular library ? or is it just missing ?

I attached to this email the log of make. You can find the source code
here:
http://www.vtk.org/cgi-bin/viewcvs.cgi/Hybrid/vtkWin32VideoSource.cxx

Thanks,
Mathieu
Ref:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_capdlgvideoformat.asp


Building object file vtkWin32VideoSource.o...
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:34: error: 'CAPSTATUS' 
   is used as a type, but is not defined as a type.
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:35: error: '
   CAPDRIVERCAPS' is used as a type, but is not defined as a type.
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:36: error: '
   CAPTUREPARMS' is used as a type, but is not defined as a type.
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In function `LRESULT 
   vtkWin32VideoSourceCapControlProc(HWND__*, int)':
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:136: error: `
   capGetUserData' undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:136: error: (Each 
   undeclared identifier is reported only once for each function it appears 
   in.)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:138: error: `
   CONTROLCALLBACK_PREROLL' undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:143: error: `
   CONTROLCALLBACK_CAPTURING' undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: At global scope:
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:152: error: type 
   specifier omitted for parameter `LPVIDEOHDR'
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:152: error: syntax 
   error before `)' token
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In function `LRESULT 
   vtkWin32VideoSourceCallbackProc(...)':
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:154: error: `hwndC' 
   undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:154: error: `
   capGetUserData' undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:155: error: `lpVHdr' 
   undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In function `LRESULT 
   vtkWin32VideoSourceStatusCallbackProc(HWND__*, int, const CHAR*)':
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:168: error: `
   IDS_CAP_BEGIN' undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:173: error: `
   IDS_CAP_END' undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In member function `
   virtual void vtkWin32VideoSource::Initialize()':
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:285: error: `
   capCreateCaptureWindow' undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:296: error: `
   capDriverConnect' undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:304: error: 'class 
   vtkWin32VideoSourceInternal' has no member named 'CapDriverCaps'
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:304: error: `
   CAPDRIVERCAPS' undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:304: error: `
   capDriverGetCaps' undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:310: error: 'class 
   vtkWin32VideoSourceInternal' has no member named 'CaptureParms'
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:310: error: `
   CAPTUREPARMS' undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:310: error: `
   capCaptureGetSetup' undeclared (first use this function)
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:314: error: 'class 
   vtkWin32VideoSourceInternal' has no member named 'CaptureParms'
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:319: error: 'class 
   vtkWin32VideoSourceInternal' has no member named 'CaptureParms'
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:322: error: 'class 
   vtkWin32VideoSourceInternal' has no member named 'CaptureParms'
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:323: error: 'class 
   vtkWin32VideoSourceInternal' has no member named 'CaptureParms'
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:324: error: 'class 
   vtkWin32VideoSourceInternal' has no member named 'CaptureParms'
/home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:325: error: 'class 
   vtkWin32VideoSourceInternal' has no member named 

Re: cygcheck

2004-02-29 Thread Christopher Faylor
On Sun, Feb 29, 2004 at 10:03:34PM -0500, Igor Pechtchanski wrote:
On Sun, 29 Feb 2004, Christopher Faylor wrote:

 On Sun, Feb 29, 2004 at 09:36:42PM -0500, Igor Pechtchanski wrote:
 On Sun, 29 Feb 2004, Larry Hall wrote:
 At 09:16 PM 2/29/2004, George Hester you wrote:
 Thanks for not browbeating me.  You would be amazed at the anathema
 newbies such as myself often generate.
 
 Yes, Igor has been known for ruining Cygwin's email list reputation of
 being mean.  If you're new to the list, it's an inside joke so
 don't worry if you don't get it.
 
 Hey, I'm workin' on it.  Give me a couple more years...  :-p

... and the perceived meanness of this list will be but a distant memory.

 Just to be clear:  I started out mean.

 I blame too much tech support at a young age.

 HTH,

And here's proof: thousands of list subscribers have seen CGF utter a
non-mean phrase (I could provide a URL, but you all know what I'm talking
about).  As I said, I'm working on it... :-D

Oops.  Looks like I misinterpreted where you were going.  Sorry.

Maybe we need a howto on how to interpret messages here.  We at least
need a FAQ.  It's just too confusing.  I'm sure many people would
contribute more if there was a howto.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: cygcheck

2004-02-29 Thread Ross Boulet
 On Sun, Feb 29, 2004 at 09:36:42PM -0500, Igor Pechtchanski wrote:
 On Sun, 29 Feb 2004, Larry Hall wrote:
 At 09:16 PM 2/29/2004, George Hester you wrote:
 Thanks for not browbeating me.  You would be amazed at the anathema
 newbies such as myself often generate.
 
 Yes, Igor has been known for ruining Cygwin's email list 
 reputation of
 being mean.  If you're new to the list, it's an inside joke so
 don't worry if you don't get it.
 
 Hey, I'm workin' on it.  Give me a couple more years...  :-p
 
 Just to be clear:  I started out mean.
 
 I blame too much tech support at a young age.
 
 HTH,
 cgf
 
Was that giving or receiving too much tech support?  :-D 

I can see how either could give the same result!



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: cygcheck

2004-02-29 Thread Igor Pechtchanski
On Sun, 29 Feb 2004, Christopher Faylor wrote:

 On Sun, Feb 29, 2004 at 10:03:34PM -0500, Igor Pechtchanski wrote:
 On Sun, 29 Feb 2004, Christopher Faylor wrote:
 
  On Sun, Feb 29, 2004 at 09:36:42PM -0500, Igor Pechtchanski wrote:
  On Sun, 29 Feb 2004, Larry Hall wrote:
  At 09:16 PM 2/29/2004, George Hester you wrote:
  Thanks for not browbeating me.  You would be amazed at the anathema
  newbies such as myself often generate.
  
  Yes, Igor has been known for ruining Cygwin's email list reputation of
  being mean.  If you're new to the list, it's an inside joke so
  don't worry if you don't get it.
  
  Hey, I'm workin' on it.  Give me a couple more years...  :-p
 
 ... and the perceived meanness of this list will be but a distant memory.
 
  Just to be clear:  I started out mean.
 
  I blame too much tech support at a young age.
 
  HTH,
 
 And here's proof: thousands of list subscribers have seen CGF utter a
 non-mean phrase (I could provide a URL, but you all know what I'm talking
 about).  As I said, I'm working on it... :-D

 Oops.  Looks like I misinterpreted where you were going.  Sorry.

 Maybe we need a howto on how to interpret messages here.  We at least
 need a FAQ.  It's just too confusing.  I'm sure many people would
 contribute more if there was a howto.

Was that mean?  I can't tell... ;-)
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: VfW.H - Video for Windows include file

2004-02-29 Thread Igor Pechtchanski
On Sun, 29 Feb 2004, Mathieu Malaterre wrote:

Hi,

I try compiling some very simple programs that were using the API of
video for windows (references such as CAPSTATUS, CAPDRIVERCAPS,
CONTROLCALLBACK_PREROLL ...). They should be defined in Vfw.h but I
can't find these definitions on my cygwin system.
Is there a problem with this particular library ? or is it just missing ?

I attached to this email the log of make. You can find the source code
here:
http://www.vtk.org/cgi-bin/viewcvs.cgi/Hybrid/vtkWin32VideoSource.cxx

Thanks,
Mathieu
Ref:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_capdlgvideoformat.asp
The headers for Windows API functionality are provided by the w32api
package.  The header you want is /usr/include/w32api/vfw.h, but it, as
well as the rest of the package, is by no means complete (e.g., the
definitions above aren't in it).  Feel free to send a patch to either the
cygwin-patches list, or the mingw-users list (be sure to include the above
MSDN reference).
Igor
--
http://cs.nyu.edu/~pechtcha/
 |\  _,,,---,,_ [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
|,4-  ) )-,_. ,\ (  `'-'Igor Pechtchanski, Ph.D.
   '---''(_/--'  `-'\_) fL  a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


ulimit -t

2004-02-29 Thread Gregory Borota
Had somebody managed to successfully simulate ulimit -t in a shell script?

If yes, how?

Greg

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: VfW.H - Video for Windows include file

2004-02-29 Thread Mathieu Malaterre

Ref:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_capdlgvideoformat.asp 



The headers for Windows API functionality are provided by the w32api
package.  The header you want is /usr/include/w32api/vfw.h, but it, as
well as the rest of the package, is by no means complete (e.g., the
definitions above aren't in it).  Feel free to send a patch to either the
cygwin-patches list, or the mingw-users list (be sure to include the above
MSDN reference).


Thanks Igor,

   That was my guess. Is there any guide that explains on how to do 
this ? Am I allowed to read the 'official' vfw.h ?
   I'll send the patch ASAP.

Thanks,
Mathieu
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


problem about SEMAPHORE at cygwin 1.5.7

2004-02-29 Thread xuzhd


(See attached file: lcctestsem.c)

problem about SEMAPHORE  at cygwin 1.5.7

cygwin 1.5.7
cygserver as ipc server

a process has gotten semaphore using SEM_UNDO, when the  process aborts, it
should release corresponding semaphore at Linux.But at Cygwin 1.5.7,1.5.4,
1.3.22, I cannot prove it. is it a bug to cygwin ? thank you


the following is my program's result.




[EMAIL PROTECTED] ~
$ ./a.exe  ( the first running)
before Get semaphore exclusively...
 semval[0] = 8
after Get semaphore ...
 semval[0] = 7
before release semaphore exclusively...
 semval[0] = 7
before release semaphore exclusively...
 semval[0] = 8

[EMAIL PROTECTED] ~
$ ./a.exe( the second running, gets semaphore and releases
semaphore successfully)
Test semaphore has existed.
Get test semaphore...
 semval[0] = 8
Get test semaphore successfully.
before Get semaphore exclusively...
 semval[0] = 8
after Get semaphore ...
 semval[0] = 7
before release semaphore exclusively...
 semval[0] = 7
before release semaphore exclusively...
 semval[0] = 8

[EMAIL PROTECTED] ~
$ ./a.exe( the third running, gets semaphore
successfully,but fails to  release semaphore )
Test semaphore has existed.
Get test semaphore...
 semval[0] = 8
Get test semaphore successfully.
before Get semaphore exclusively...
 semval[0] = 8
after Get semaphore ...
 semval[0] = 7
before release semaphore exclusively...

[EMAIL PROTECTED] ~
$ ./a.exe   ( the fourth running, proves that the third running
didnot release semephore when aborting , a bug )
Test semaphore has existed.
Get test semaphore...
 semval[0] = 7
Get test semaphore successfully.
before Get semaphore exclusively...
 semval[0] = 7
after Get semaphore ...
 semval[0] = 6
before release semaphore exclusively...
 semval[0] = 6
before release semaphore exclusively...
 semval[0] = 7

[EMAIL PROTECTED] ~
$ */



lcctestsem.c
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

Re: ulimit -t

2004-02-29 Thread Igor Pechtchanski
On Sun, 29 Feb 2004, Gregory Borota wrote:

 Had somebody managed to successfully simulate ulimit -t in a shell script?

 If yes, how?
 Greg

As one example:
http://oss.software.ibm.com/developerworks/oss/cvs/jikesrvm/rvm/regression/limited.sh?rev=1.9.
*Not* Cygwin-specific, and thus OT for this list.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



another new version of cygwin-doc for upload

2004-02-29 Thread Joshua Daniel Franklin
Here is a new version of cygwin-doc that fixes the PDF
problem reported on the list. It would probably be best
to remove 1.3-7 and leave 1.3-6.

http://ns1.iocc.com/~joshua/cygwin/cygwin-doc-1.3-8-src.tar.bz2
http://ns1.iocc.com/~joshua/cygwin/cygwin-doc-1.3-8.tar.bz2

Thanks.

__
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



perl 5.8.2's localtime reports gmtime

2004-02-29 Thread Steve Kelem
I'm running the latest cygwin, including perl 5.8.2:
% perl -version
This is perl, v5.8.2 built for cygwin-thread-multi-64int

When I use localtime, I get the same result as gmtime:
% perl -e 'print scalar gmtime, \n, scalar localtime, \n'
Mon Mar  1 06:18:07 2004
Mon Mar  1 06:18:07 2004
Even though I'm in PST.  My TZ environment variable (i.e., setenv TZ 
...) is set to PST8PDT. I've tried it with TZ set to 
PST8PST7,M4.1.0/2,M10.5.0/2  (The default value.  It's not set in the 
WIN XP Environment.  I don't know how it got there.), and also by 
unsetenv'ing TZ.  All 3 variants give the same result.

Does anyone have an idea what I need to set to get localtime to work?

Thanks,
Steve
% perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration:
 Platform:
   osname=cygwin, osvers=1.5.5(0.9432), archname=cygwin-thread-multi-64int
   uname='cygwin_nt-5.0 troubardix 1.5.5(0.9432) 2003-09-20 16:31 i686 
unknown
unknown cygwin '
   config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads 
-Doptimize=-O2 -Dma
n3ext=3pm'
   hint=recommended, useposix=true, d_sigaction=define
   usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=de
fine
   useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
   use64bitint=define use64bitall=undef uselongdouble=undef
   usemymalloc=y, bincompat5005=undef
 Compiler:
   cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing',
   optimize='-O2',
   cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing'
   ccversion='', gccversion='3.3.1 (cygming special)', gccosandvers=''
   intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
   d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
   ivtype='long long', ivsize=8, nvtype='double', nvsize=8, 
Off_t='off_t', lsee
ksize=8
   alignbytes=8, prototype=define
 Linker and Libraries:
   ld='ld2', ldflags =' -s -L/usr/local/lib'
   libpth=/usr/local/lib /usr/lib /lib
   libs=-lgdbm -ldb -lcrypt -lgdbm_compat
   perllibs=-lcrypt -lgdbm_compat
   libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
   gnulibc_version=''
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
   cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'

Characteristics of this binary (from libperl):
 Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT 
USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
 Built under cygwin
 Compiled at Nov  7 2003 12:06:28
 %ENV:
   PERL5LIB=/home/skelem/lib/perl
   PERL_SRC=/usr/src/perl-5.8.0
   CYGWIN=tty notitle glob
 @INC:
   /home/skelem/lib/perl
   /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int
   /usr/lib/perl5/5.8.2
   /usr/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int
   /usr/lib/perl5/site_perl/5.8.2
   /usr/lib/perl5/site_perl
   .



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: XEmacs and hot laptops

2004-02-29 Thread Jani tiainen
[EMAIL PROTECTED] wrote:
When I run cygwin XEmacs on my laptop after some time I have to close it 
as my laptop becomes very hot (and the fan goes non-stop and lot noisier 
than usual). So I work on porting some latex related stuff that works 
only on cygwin to native XEmacs. I wouldn't do that but I am afraid not 
to fry my laptop.
Does anybody have this problem too?
Well, first at all, this is somehow offtopic. Yes.

Well, I've similiar symptoms. I've noticed that cygwin uses more CPU 
resources than native programs. This is probably due the three-tier 
architechture used in cygwin environment.

Most of laptops I've seen have fixed speed fans, that are turned on when 
heat exceeds some predefined limit, and for some reasons on some laptops 
fan just runs for sure once a while.

Mine laptop is set as high as 70 celcius CPU temp, so well, it get's 
hot, specially from under (Yes, you can burn your balls if your not 
careful =)

Force lower clockspeed. Can be done on Intel speedstep, or AMD's 
equivalent thingy. Of course, things takes twice as longer, but hey, no 
more heat.

Laptops are designed to run on higher heats, so no concern of frying.

--

Jani Tiainen

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: perl 5.8.2's localtime reports gmtime

2004-02-29 Thread Brian Dessent
Steve Kelem wrote:

 I'm running the latest cygwin, including perl 5.8.2:
 % perl -version
 
 This is perl, v5.8.2 built for cygwin-thread-multi-64int

Ug.  Read the archives.  This has come up several times in the last
couple of weeks, it's a known bug that will be fixed in the next Cygwin
DLL release.  See for example
http://marc.theaimsgroup.com/?l=cygwinm=107668514008908.  Your
options are: Try a recent snapshot, use Perl = 5.8.0, or wait for
Cygwin 1.5.8.

Brian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: 'exim' setup question

2004-02-29 Thread Olaf Föllinger
Hi,

On Sun, Feb 29, 2004 at 06:16:43PM -0600, Jonathan E. Brickman wrote:
 A while ago I was using 'exim' quite successfully as an SMTP server 
 under cygwin/XP. Then more and more email service providers started 
 configuring their SMTP servers to not accept email sent from an ISP's 
 dynamic IP list, as one step in defense against spam. At first I just 
 set up exim's config file with a list of domains to route to my ISP's 
 smarthost; but then that list of domains got longer and longer, and exim 
 rapidly ceased to be practical -- and I never managed to get exim to 
 first try direct sends, and then do smarthost sends, for all 
 transmission, despite a large number of attempts using several different 
 items in the exim manual. Anyone have a simple solution?

why not forward all the mail to a smarthost? Works for me with the
following configuration:

send_to_gateway:
  driver = manualroute
  transport = remote_smtp
  route_list = * put your smarthost here


Gruss Olaf Föllinger

-- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG

Alt-Moabit 91a
D-10559 Berlin
Germany
Tel:   +49 30 390722 -291
Fax:   +49 30 390722 -222
Mobil: +49 173 6227080
http://www.sesa.de
mailto: [EMAIL PROTECTED]

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-29 Thread of
On Sat, Feb 28, 2004 at 09:33:58PM +0100, Mikka wrote:
 Hi Olaf,
 
  I have trouble to show german umlauts in bash command line in rxvt.
  All I get are the following values:
 
  $ \344\366\374
  bash: äöü: command not found
  [...]
 
 I once had similar troubles, I'll paste you my settings.
 First, the relevant lines in my .inputrc ($HOME) read:
 
 set convert-meta off
 set input-meta on
 set meta-flag on
 set output-meta on
 
 
 Furthermore, I've alias'd ls to the following:
 
 alias ls='ls  --color=auto --show-control-chars'
 alias ll='ls -l   --color=auto --show-control-chars'
   etc.
 
 Notice the --show-control-chars here.
 
 
 I usually call rxvt.exe this way:
 
 c:\Cygwin\bin\rxvt.exe -e /bin/bash.exe --login
 
 set termencoding=latin1
 
 Now, umlauts äöüæåø... should be enabled in VIM, too.

Does vim show the euro-sign € right ?
 
Gruss Olaf Föllinger

-- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/