Re: Pending packages status
On Mon, 18 Nov 2002, Sergey Okhapkin wrote: 6. initscripts version: 0.9-1 status : reviewed; needs some packaging fixes I did the fixes already a while ago... Sorry, my mistake :( While reading the thread I got lost - and I red it more than once :) Reading it again I've found the right post.
Re: Pending packages status
--- Pavel Tsekov [EMAIL PROTECTED] wrote: 6. initscripts votes : ?? Also, I voted for this. IIRC, several other people did too. Really, it complements sysvinit so well that I'd really like to see it on the mirrors ASAP. __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com
Re: Pending packages status
On Mon, 18 Nov 2002, Joshua Daniel Franklin wrote: --- Pavel Tsekov [EMAIL PROTECTED] wrote: 6. initscripts votes : ?? Also, I voted for this. IIRC, several other people did too. Really, it complements sysvinit so well that I'd really like to see it on the mirrors ASAP. Ok, I missed it then. The thread is too long and several topics are covered in it. Anyway I don't think that this package won't be included in the distro just because I didn't succeed to properly find out how many people voted for it. From what I see on the list, I think that Sergey's packages are very well accepted and they'll be all included in the distro even if the number of voters was not enough. Having so many people reviewing this packages is also a sign that they vote for their inclusion even if they haven't stated it explicitly.
Re: XDMCP
It looks like the unix login is happening. What's in ~/.xsession-errors? PapaFox - Original Message - From: David Calkins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 17, 2002 5:11 AM Subject: XDMCP I'm trying to connect up to a machine at work using XDMCP. My home machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program to get the latest packages. I'm using the -query option to do this, i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query $remotehost I get the login screen, enter my username and password and attempt to login. For some reason, I just get bounced back to the login screen again. I've been unable to get this to work. Any ideas as to what could cause this?
Re: xwinclip test 6 hacked to leave selection untouched
Hi, I'm curious has it been forgotten that I already fixed the selection grabbing over two months ago? Either way the latest code does the clipboard chain stuff and handles multiple windows ( -screen option), and some wierd bug were it doesn't free the dll properly. I can't get it to link properly on gcc 3.2. The problem being the -mno_cygwin option doesn't seem to work. The dll must be without cygwin1.dll given that as a default it is not placed inside ?:\windows\system. Maybe this is a point for another list. If the latest code is wanted I'll post it, I'm pretty much finished with what I want to do with it. I can't for example see the point in spending much more time on it if it never get's included. Chris _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
Re: XWin.exe -- xinit link
I think you are looking for $HOME/.xserverrc file. E.g. mine contains: #! /bin/sh X -nowinkill -nodecoration -lesspointer -rootless BTW, this all seems to be documented in xinit man page, as pointed out by Thomas. Pavel [EMAIL PROTECTED] wrote: Thanks Thomas, The thing is, no matter what I put in those files, it either starts XWin with a border, or not at all. And when I do get it to start up, there is always a console mode window hanging around until I close it, and that closes XWin... *sigh* I AM trying to understand how all this stuff fits together, but I'm not having very much luck. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Thomas Chadwick Sent: Sunday, November 17, 2002 10:41 PM To: [EMAIL PROTECTED] Subject: RE: XWin.exe -- xinit link RTFM! Do man xinit from the Cygwin command-line and read the 1st 3 paragraphs. From: Jean-Claude Gervais [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: XWin.exe -- xinit link Date: Sat, 16 Nov 2002 10:08:07 -0500 Thanks Artur, But that's not quite the info I was looking for; You see, when I type startxwin.bat or startxwin.sh, I get a DIFFERENT result than from starting xinit by itself. Yet, xinit does start XWin, only it is starting it in windowed mode... Which is OK, but I'm just wondering WHERE does xinit get this from? Is it executing a script? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Artur Hefczyc Sent: Saturday, November 16, 2002 9:56 AM To: [EMAIL PROTECTED] Subject: Re: XWin.exe -- xinit link What parameters does it use to start XWin? Where does it get the parameters? You can find manual and parameters for XWin from command: man XWin Is it executing a script? /usr/X11R6/bin/startxwin.bat /usr/X11R6/bin/startxwin.sh Artur Hefczyc -- Artur Hefczyc http://wttools.sf.net/ _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
Re: X11 and Heavy loadbalancing?
I *think* I understand what Jack is trying to do. The normal term for what he is attempting is host integration. This is where host-based applications are integrated into web-based applications. The most common example of this is the IBM product Host On Demand. The obvious way to do host integration with X Windows is to use the same approach as HOD. Use a java applet implementation of X (WeirdX) and place the applet in a web page. This approach has the same problem as HOD - a very heavy applet download. PapaFox Hmm, I think the Enduser should not use an Applet to use X-via Web. A More efficient Way is an normal Java Desktop-Application that can be autoupdated via the Webstartfeature (in JDK 1.4.0 Standandard allready involved) The original Projectplan was based on my Idea, to construct up an easy to use Free-Software CrossPlatform alternative against the commercial CITRIX / MS-Windows Terminalserver dominated Environment for Endcustomers with the Security of SSH and Highavaiability on Serverside (Disk I/O, Logon-Speed, Failoverc, Enterprisefeatures) On my Ressearche i have found: 1.An Applicationserver such as (commercial) Oracle 9iAS or JBoss (free) (J2EE 1.2-Compliant) brings up an scalable faulttolerant, scalable, highavaiabil Framework for Servercontainers. (Such as E-Mail, HTTP, SOAP, SMTP, POP3, Faxserver, X11, Filerserver and so on) 2. The ORACLE J2EE compliant Applicationserver has implemented a lot of this Features (called as CollaborationSuite) and all Servercontainers like E-mail server can be simply checked into the runnign AppServer (for Example: java -jar ./myOnwnSMTPServer.jar) (it detects and installs the new J2EE Container automatically, by the Path of an XML-Installdefinitionfile) 3. The J2EE-Appserver Certificationprocess at SUN Microsystems restrict propritary Extensions to an J2EE Appllicationservers to enforce compatibility to the Java Enterprise Standard (J2EE ServerContainers can also run on JBoss (the OpenSource Applicationserver) 4. Java is Platform Independant and has rolebased Security Conecepts, it is working on every Environment, all J2EE ServerContainers can use this Features, the only things to do is, writing, code for the Serverside Support of XFree to Support Java X-Clients like Weired. 5. An other Critical Position is the Disk I/O-Traffic and the RAM usage by every User thadt runs Hugh Applications on Serverside like OpenOffice, WINE and so on. (ps: i know thadt the Displayresults is only worked out by the X-Clients, ok?) 6. To solve the Problem for Disk I/O and RAM Usage, a Databasedrivven Filesystem is a Powerfull choice (like the ORACLE Internetfilesystems IFS). (Note: Microsoft implements MS-SQL-Serverfeatures in to the Windows NTFS6-Filesystem, but Oracle has this Feature over 2 Years ago on the Market and has spend its Sourcecode to the OpenSource Comunity under the Terms of the GPL) Ok, it is a big Project and a lot of Work to implement/configure a more advanced Solution as Microsoft/Citrix-Metaframe, but a great Challenge. Greetings from Germany, Jack
Re: XDMCP
I had the same problem some time ago and the solution was to start a font server on one of the HP-UX machines and the use that font server when connecting to any of the HP-UX machines. I also tried to copy all the needed fonts locally, bu I failed: I copied 60Mb of fonts from any directory with fonts but, for some reason, the connection stopped after the login. Ciao, Danilo Turina David Calkins wrote: I'm trying to connect up to a machine at work using XDMCP. My home machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program to get the latest packages. I'm using the -query option to do this, i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query $remotehost I get the login screen, enter my username and password and attempt to login. For some reason, I just get bounced back to the login screen again. I've been unable to get this to work. Any ideas as to what could cause this?
RE: Preventing X server resets
-Original Message- From: Harold L Hunt II [SMTP:[EMAIL PROTECTED]] Sent: Friday, November 15, 2002 7:12 PM To: [EMAIL PROTECTED] Subject: Re: Preventing X server resets Peter, Let me rephrase your question and ask you if it makes sense: ``If I am talking on the phone to my mother and she unplugs her phone, can I just continue talking to her?'' Yes, but if Dad is on the other extension at the same time I would expect to be able to continue talking to him :-) Perhaps I wasn't clear in my question. I know that if a machine is rebooted then any X clients running on it will be lost. As an aside, I also know that if a machine running an X server is rebooted then the server is lost, and there's typically no way to tell the clients where to reconnect to; the RandR extension will apparently change this in the future. However, I have X clients running on many machines and all displaying on the same server. If most of these hosts go down then the clients on that host are lost, but the X server keeps running and the other clients are unaffected. If the host I logged into with XDMCP goes down, the X server resets and kicks off all the other clients which are otherwise fine. It's this behavior that I wish to avoid. The answer is no. You have established a connection with a server that is supposed to manage your X session... if that server fails, or if the connection to it is unreliable, then you X Session is terminated. Unfortunately, the way the system is designed is that applications you launch from your X session are managed by the remote XDMCP machine... if that machine goes down there is no way to transfer control of those applications to another machine. I don't believe that this is true. As I understand it, X11 clients connect directly to the X11 server. Checking with netstat, I see that there are no connections between the host that I logged into with XDMCP and another host running an xterm. I know that what I asked is possible in general, since an X server called PC-Xware does it. When XDMCP goes away it asks something like Your XDM session has ended. Would you like to reset the X server?, and if you say no you can just carry on working. I hoped that I'd be able to do the same thing with XFree86. 3) If you can't do anything about the machine or the network, then you need to adjust your quality-of-service expectations. Perhaps this is the best suggestion. I can usually run a session for weeks or months without incident, so perhaps I'm asking too much :-) Alternatively, it occurs to me that I could start my session using rlogin rather than XDMCP. Fiddly, but it should do the trick. -- Peter Oliver Midrange Services Aquila Networks Services Ltd Confidentiality: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error, use of this information (including disclosure, copying or distribution) may be unlawful. Please notify [EMAIL PROTECTED] and delete the message immediately. Security: Internet e-mail is not a 100% secure communications medium. Viruses: This e-mail (and any attachments) has been checked (using Sophos Sweep 3.58 + patches) and found to be clean from any virus infection before leaving. Therefore neither Aquila Networks Services Ltd nor Midlands Electricity plc or any of their group undertakings (as defined by the Companies Act 1989) (together referred to as the Companies) accept legal responsibility for this message or liability for the consequences of any computer viruses which may have been transmitted by this e-mail. Monitoring: All electronic communications with the Companies may be monitored in accordance with the UK Regulation of Investigatory Powers Act, Lawful Business Practice Regulations, 2000. If you do not consent to such monitoring, you should contact the sender of this e-mail. Aquila Networks Services Limited, Registered office: Whittington Hall, Whittington, Worcester, WR5 2RB Registered in England and Wales number 3600545 This e-mail may be sent on behalf of any of the Companies.
Re: xwinclip test 6 hacked to leave selection untouched
Chris, From what I understand, you are grabbing ownership of the selection when Cygwin/XFree86 loses focus... that is not the correct solution, as other X Server on Windows implementations out there (not to name any names) are able to watch the X selection without taking ownership of it ever. It sounds likes we need to watch the selection on the root window, rather than stealing it for our own. If you did this, then I misunderstood what you were trying to say. However, I doubt that you did this because grabbing ownership of the selection when we lose focus would be unnecessary. I wait until a solution looks clean before I do anything with it, and stealing ownership on losing focus didn't look like much of a solution. Harold Chris Twiner wrote: Hi, I'm curious has it been forgotten that I already fixed the selection grabbing over two months ago? Either way the latest code does the clipboard chain stuff and handles multiple windows ( -screen option), and some wierd bug were it doesn't free the dll properly. I can't get it to link properly on gcc 3.2. The problem being the -mno_cygwin option doesn't seem to work. The dll must be without cygwin1.dll given that as a default it is not placed inside ?:\windows\system. Maybe this is a point for another list. If the latest code is wanted I'll post it, I'm pretty much finished with what I want to do with it. I can't for example see the point in spending much more time on it if it never get's included. Chris _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
Re: Preventing X server resets
Peter, So, if you knew that this was possible with another product, then why did you bother asking us if it was possible only to make us look like chumps when we said it wasn't? Now I suppose we will look into it at some point in the future. Harold Oliver, Peter wrote: -Original Message- From: Harold L Hunt II [SMTP:[EMAIL PROTECTED]] Sent: Friday, November 15, 2002 7:12 PM To: [EMAIL PROTECTED] Subject: Re: Preventing X server resets Peter, Let me rephrase your question and ask you if it makes sense: ``If I am talking on the phone to my mother and she unplugs her phone, can I just continue talking to her?'' Yes, but if Dad is on the other extension at the same time I would expect to be able to continue talking to him :-) Perhaps I wasn't clear in my question. I know that if a machine is rebooted then any X clients running on it will be lost. As an aside, I also know that if a machine running an X server is rebooted then the server is lost, and there's typically no way to tell the clients where to reconnect to; the RandR extension will apparently change this in the future. However, I have X clients running on many machines and all displaying on the same server. If most of these hosts go down then the clients on that host are lost, but the X server keeps running and the other clients are unaffected. If the host I logged into with XDMCP goes down, the X server resets and kicks off all the other clients which are otherwise fine. It's this behavior that I wish to avoid. The answer is no. You have established a connection with a server that is supposed to manage your X session... if that server fails, or if the connection to it is unreliable, then you X Session is terminated. Unfortunately, the way the system is designed is that applications you launch from your X session are managed by the remote XDMCP machine... if that machine goes down there is no way to transfer control of those applications to another machine. I don't believe that this is true. As I understand it, X11 clients connect directly to the X11 server. Checking with netstat, I see that there are no connections between the host that I logged into with XDMCP and another host running an xterm. I know that what I asked is possible in general, since an X server called PC-Xware does it. When XDMCP goes away it asks something like Your XDM session has ended. Would you like to reset the X server?, and if you say no you can just carry on working. I hoped that I'd be able to do the same thing with XFree86. 3) If you can't do anything about the machine or the network, then you need to adjust your quality-of-service expectations. Perhaps this is the best suggestion. I can usually run a session for weeks or months without incident, so perhaps I'm asking too much :-) Alternatively, it occurs to me that I could start my session using rlogin rather than XDMCP. Fiddly, but it should do the trick.
Re: xwinclip test 6 hacked to leave selection untouched
Hi Harold, From what I understand, you are grabbing ownership of the selection when Cygwin/XFree86 loses focus... that is not the correct solution, Nope, it only grabs X selection when both the windows clipboard has changed (in latest code) and any cygwin/xfree86 class window is activated. I.e. it won't grab it if a user moves from one cygwin/xfree86 to another. When the cygwin/xfree86 looses focus it first looks for XA_PRIMARY and then XA_SECONDARY and then clipboard, not that the clipboard code works with motif apps. The basic one window code (no clipboard chain) was there two months ago and posted to the group. I.e. it fixed what was broken in test6 and fixed again by the recent poster. as other X Server on Windows implementations out there (not to name any names) are able to watch the X selection without taking ownership of it ever. Which was the whole point of my fixes, you yourself claimed you could not see what was wrong with test6 prove to me with code was your response. So I did, you said great it looks like it works, thanks for the contributions I'll put it into a new test release, however you were busy and it would take a while. Which from the level of involvement you have with cygwin was all too reasonable. It sounds likes we need to watch the selection on the root window, rather than stealing it for our own. If you did this, then I misunderstood what you were trying to say. However, I doubt that you did this because grabbing ownership of the selection when we lose focus would be unnecessary. Indeed I did. It never grabbed the selection when the focus was lost, only when the window was activated again. i.e. you have gone into windows and the clipboard is different so grab the windows clipboard. The current version only does this when the clipboard has changed (And across -screen's). I had tried to explain this before (as had other posters) but you didn't see anything was wrong, so I made it work in a consistent fashion with windows and most x servers and so it wouldn't break nedit (main motivation). I wait until a solution looks clean before I do anything with it, and stealing ownership on losing focus didn't look like much of a solution. Again it was only on gaining of activation, and you didn't at the time see anything was wrong with the test6 code. You had wanted it external when you mentioned this (or internal with a disabling switch). My solution was designed from the outset not to intefere with the inner workings of the xserver and to be within the X selection system, something that commercial solutions obviously aren't limited by. Chris _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
Re: xwinclip test 6 hacked to leave selection untouched
Chris, Well, if you solution is everthing you claim, then you certainly have not been promoting it correctly. The impression I have gathered is that it requires hooks to watch messages for the XWin.exe windows, whereas today's solution does not require such hooks. I have really been waiting for a solution that does not require such hooks. If your solution no longer requires such hooks, then you did a poor job of communicating that fact. Harold Chris Twiner wrote: Hi Harold, From what I understand, you are grabbing ownership of the selection when Cygwin/XFree86 loses focus... that is not the correct solution, Nope, it only grabs X selection when both the windows clipboard has changed (in latest code) and any cygwin/xfree86 class window is activated. I.e. it won't grab it if a user moves from one cygwin/xfree86 to another. When the cygwin/xfree86 looses focus it first looks for XA_PRIMARY and then XA_SECONDARY and then clipboard, not that the clipboard code works with motif apps. The basic one window code (no clipboard chain) was there two months ago and posted to the group. I.e. it fixed what was broken in test6 and fixed again by the recent poster. as other X Server on Windows implementations out there (not to name any names) are able to watch the X selection without taking ownership of it ever. Which was the whole point of my fixes, you yourself claimed you could not see what was wrong with test6 prove to me with code was your response. So I did, you said great it looks like it works, thanks for the contributions I'll put it into a new test release, however you were busy and it would take a while. Which from the level of involvement you have with cygwin was all too reasonable. It sounds likes we need to watch the selection on the root window, rather than stealing it for our own. If you did this, then I misunderstood what you were trying to say. However, I doubt that you did this because grabbing ownership of the selection when we lose focus would be unnecessary. Indeed I did. It never grabbed the selection when the focus was lost, only when the window was activated again. i.e. you have gone into windows and the clipboard is different so grab the windows clipboard. The current version only does this when the clipboard has changed (And across -screen's). I had tried to explain this before (as had other posters) but you didn't see anything was wrong, so I made it work in a consistent fashion with windows and most x servers and so it wouldn't break nedit (main motivation). I wait until a solution looks clean before I do anything with it, and stealing ownership on losing focus didn't look like much of a solution. Again it was only on gaining of activation, and you didn't at the time see anything was wrong with the test6 code. You had wanted it external when you mentioned this (or internal with a disabling switch). My solution was designed from the outset not to intefere with the inner workings of the xserver and to be within the X selection system, something that commercial solutions obviously aren't limited by. Chris _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
RE: Preventing X server resets
if a machine running an X server is rebooted then the server is lost, and there's typically no way to tell the clients where to reconnect to Isn't that what xmove does?
Re: xwinclip test 6 hacked to leave selection untouched
Well, if you solution is everthing you claim, then you certainly have not been promoting it correctly. It's my fault that you have forgotten it? I don't thinks so. If you did not want to use it then you should have said a long time ago before I wasted days on it. The impression I have gathered is that it requires hooks to watch messages for the XWin.exe windows, whereas today's solution does not require such hooks. I have really been waiting for a solution that does not require such hooks. If your solution no longer requires such hooks, then you did a poor job of communicating that fact. Nothing has changed about it using hooks. Nothing at all. If his solution does work/ not had time to try it out. Then at least the jmp's and signal handling should still be of some use. Also : https://listman.redhat.com/pipermail/xdg-list/2000-October/05.html And the reading I did whilst creating the changes would indicate this only happens for applications that explicitly choose it too. Motif apps don't either it would seem. Chris _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
Re: XWin.exe -- xinit link
xinit does 2 things - it launches the X server and then one or more X clients. If you want to customize the X client part (including the Window Manager), create/modify/edit the file $HOME/.xinitrc. If you want to customize the X server part, create/modify/edit the file $HOME/.xserverrc. Alternatively, you can pass command-line options to the X server by specifying them on xinit's command-line after --. For example, xinit -- -rootless will cause XWin to startup in rootless mode. As for the console window, there is no way to avoid it being there until xinit completes, which doesn't happen until after the X server shuts down. This is really no different than if you use a Windows batchfile to fire up XWin and one or more local X clients. It's a necessary evil. From: Pavel Holejsovsky [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: XWin.exe -- xinit link Date: Mon, 18 Nov 2002 10:10:40 +0100 I think you are looking for $HOME/.xserverrc file. E.g. mine contains: #! /bin/sh X -nowinkill -nodecoration -lesspointer -rootless BTW, this all seems to be documented in xinit man page, as pointed out by Thomas. Pavel [EMAIL PROTECTED] wrote: Thanks Thomas, The thing is, no matter what I put in those files, it either starts XWin with a border, or not at all. And when I do get it to start up, there is always a console mode window hanging around until I close it, and that closes XWin... *sigh* I AM trying to understand how all this stuff fits together, but I'm not having very much luck. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Thomas Chadwick Sent: Sunday, November 17, 2002 10:41 PM To: [EMAIL PROTECTED] Subject: RE: XWin.exe -- xinit link RTFM! Do man xinit from the Cygwin command-line and read the 1st 3 paragraphs. From: Jean-Claude Gervais [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: XWin.exe -- xinit link Date: Sat, 16 Nov 2002 10:08:07 -0500 Thanks Artur, But that's not quite the info I was looking for; You see, when I type startxwin.bat or startxwin.sh, I get a DIFFERENT result than from starting xinit by itself. Yet, xinit does start XWin, only it is starting it in windowed mode... Which is OK, but I'm just wondering WHERE does xinit get this from? Is it executing a script? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Artur Hefczyc Sent: Saturday, November 16, 2002 9:56 AM To: [EMAIL PROTECTED] Subject: Re: XWin.exe -- xinit link What parameters does it use to start XWin? Where does it get the parameters? You can find manual and parameters for XWin from command: man XWin Is it executing a script? /usr/X11R6/bin/startxwin.bat /usr/X11R6/bin/startxwin.sh Artur Hefczyc -- Artur Hefczyc http://wttools.sf.net/ _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
Re: Cygwin XFre86 - Redhat XDM login
I'll check gdm. I know hosts.allow is set up right. I can telnet, FTP, SSH, HTTP, SWAT, et.c to the Linux box. I have commented out the last line .../xdm/xdm.conf and modified the .../xdm/Xaccess file. BTW, I didn't mean to put down XFree86 in any way. It is a great product. Folks have put a lot of effort int it. I'm just gtying to resolve this one issue. Thanks, Steven On Sun, 17 Nov 2002 23:48:50 -0800 (PST) Lars Jensen [EMAIL PROTECTED] wrote: Stephen, Are you sure you are running xdm and not gdm. If you're running the latter, then you need to edit gdm.conf to enable xdmcp. If you're running the former, I assume that xdm.conf must be edited the same way. Also check that your hosts.allow allows connections from the remote machine. Lars. -- Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. Internet: [EMAIL PROTECTED], http://www.scsr.nevada.edu/~jensen Tel: 775.673.7113 FAX: 775.674.7592 -- ___ ((__O\ (___ \ Don't get rattled by Steven Whatley \ \_(___)\O\_/O___- what I say. It's just [EMAIL PROTECTED] \O)\___/my opinion.
Re: xwinclip test 6 hacked to leave selection untouched
Robert, In an intial test of your patch, I noticed that your patch, after the first selection, only tends to grab every other selection that I make on both the Windows clipboard and the X clipboard. For example, I go into emacs under X and select a region, then I go to emacs under Windows and paste the selection with the middle mouse button; the first time it works fine; now I select some text in emacs under Windows (which causes the selection in emacs under X to be unhighlighted) and go to paste it in emacs under X, but instead of getting the new selection coming from emacs under Windows I instead get the same old selection from emacs under X. Now, if I go back to emacs under Windows and select something else, then when I go to emacs under X it pastes the correct selection. This process repeats and it always seems that every-other selection is gotten but that the ones in between are never picked up. Any ideas? Harold
beinnner frustration ...
okay, i've read the user manual and the FAQ and still can't figure out how to get started ... please feel free to tell me to RTFM, but please oh please help me figure out WHAT and WHERE to read :-) anyway, i installed xfree86/cygwin and i have an icon on my windows desktop to prove it ... how the heck do i connect to the linux box on my network, and login with one of my linux usernames, and run X on my windows box? i hate to feel stupid ... someone PLEASE point me in the direction of a document i can understand. thanks, kenn
Re: beinnner frustration ...
Kenn, You must have missed the most relevant section of the Cygwin/XFree86 User's Guide: http://xfree86.cygwin.com/docs/ug/using-remote-session.html Harold Kenn Murrah wrote: okay, i've read the user manual and the FAQ and still can't figure out how to get started ... please feel free to tell me to RTFM, but please oh please help me figure out WHAT and WHERE to read :-) anyway, i installed xfree86/cygwin and i have an icon on my windows desktop to prove it ... how the heck do i connect to the linux box on my network, and login with one of my linux usernames, and run X on my windows box? i hate to feel stupid ... someone PLEASE point me in the direction of a document i can understand. thanks, kenn
Re: beinnner frustration ...
no, i found that section, but was confused by it (sorry!) ... it looked like a linux-style syntax, so i tried entering it at the $ prompt in cygwin ... but it could not find the program ... so i tried to find that program as a windows command (such as the .exe extension would indicate) and i couldn't find that, either ... a search of the windows box turned up no programs named xwin.exe ... so there's no telling what i've done (or failed to do) any ideas? - Original Message - From: Harold L Hunt II [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 18, 2002 3:26 PM Subject: Re: beinnner frustration ... Kenn, You must have missed the most relevant section of the Cygwin/XFree86 User's Guide: http://xfree86.cygwin.com/docs/ug/using-remote-session.html Harold Kenn Murrah wrote: okay, i've read the user manual and the FAQ and still can't figure out how to get started ... please feel free to tell me to RTFM, but please oh please help me figure out WHAT and WHERE to read :-) anyway, i installed xfree86/cygwin and i have an icon on my windows desktop to prove it ... how the heck do i connect to the linux box on my network, and login with one of my linux usernames, and run X on my windows box? i hate to feel stupid ... someone PLEASE point me in the direction of a document i can understand. thanks, kenn
Re: beinnner frustration ...
Kenn, You have not installed Cygwin/XFree86. You need to run Cygwin's setup.exe again (you do not need to uninstall Cygwin, setup is smart enough to download only the new packages), and you need to be sure to expand the XFree86 category and select the XFree86-base package. You can then start Cygwin/XFree86 by double-clicking the startxwin.bat file that should reside in c:\cygwin\usr\X11R6\bin\startxwin.bat. After you have that working, you can make a copy of startxwin.bat, being sure to leave it in c:\cygwin\usr\X11R6\bin, REM out the lines that start xterm, twm, and xsetroot, then change add the -query parameter to the line that starts XWin.exe, as described in the user's guide. Harold Kenn Murrah wrote: no, i found that section, but was confused by it (sorry!) ... it looked like a linux-style syntax, so i tried entering it at the $ prompt in cygwin ... but it could not find the program ... so i tried to find that program as a windows command (such as the .exe extension would indicate) and i couldn't find that, either ... a search of the windows box turned up no programs named xwin.exe ... so there's no telling what i've done (or failed to do) any ideas? - Original Message - From: Harold L Hunt II [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 18, 2002 3:26 PM Subject: Re: beinnner frustration ... Kenn, You must have missed the most relevant section of the Cygwin/XFree86 User's Guide: http://xfree86.cygwin.com/docs/ug/using-remote-session.html Harold Kenn Murrah wrote: okay, i've read the user manual and the FAQ and still can't figure out how to get started ... please feel free to tell me to RTFM, but please oh please help me figure out WHAT and WHERE to read :-) anyway, i installed xfree86/cygwin and i have an icon on my windows desktop to prove it ... how the heck do i connect to the linux box on my network, and login with one of my linux usernames, and run X on my windows box? i hate to feel stupid ... someone PLEASE point me in the direction of a document i can understand. thanks, kenn
Re: beinnner frustration ...
Harold: I'm doing that now ... thanks for getting me pointed in the right direction. kennM - Original Message - From: Harold L Hunt II [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 18, 2002 3:39 PM Subject: Re: beinnner frustration ... Kenn, You have not installed Cygwin/XFree86. You need to run Cygwin's setup.exe again (you do not need to uninstall Cygwin, setup is smart enough to download only the new packages), and you need to be sure to expand the XFree86 category and select the XFree86-base package. You can then start Cygwin/XFree86 by double-clicking the startxwin.bat file that should reside in c:\cygwin\usr\X11R6\bin\startxwin.bat. After you have that working, you can make a copy of startxwin.bat, being sure to leave it in c:\cygwin\usr\X11R6\bin, REM out the lines that start xterm, twm, and xsetroot, then change add the -query parameter to the line that starts XWin.exe, as described in the user's guide. Harold Kenn Murrah wrote: no, i found that section, but was confused by it (sorry!) ... it looked like a linux-style syntax, so i tried entering it at the $ prompt in cygwin ... but it could not find the program ... so i tried to find that program as a windows command (such as the .exe extension would indicate) and i couldn't find that, either ... a search of the windows box turned up no programs named xwin.exe ... so there's no telling what i've done (or failed to do) any ideas? - Original Message - From: Harold L Hunt II [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 18, 2002 3:26 PM Subject: Re: beinnner frustration ... Kenn, You must have missed the most relevant section of the Cygwin/XFree86 User's Guide: http://xfree86.cygwin.com/docs/ug/using-remote-session.html Harold Kenn Murrah wrote: okay, i've read the user manual and the FAQ and still can't figure out how to get started ... please feel free to tell me to RTFM, but please oh please help me figure out WHAT and WHERE to read :-) anyway, i installed xfree86/cygwin and i have an icon on my windows desktop to prove it ... how the heck do i connect to the linux box on my network, and login with one of my linux usernames, and run X on my windows box? i hate to feel stupid ... someone PLEASE point me in the direction of a document i can understand. thanks, kenn
Re: [xfree] Re: Cygwin XFre86 - Redhat XDM login
Hi all, I must not have been doing a 'kill -1' on the right process. Rebooting the RH server got the login screen coming up. But now, it exits back to the login screen when I try to login. I am getting a 'Can't open display' message in my RH account ~/.xsession-errors file. I am now looking at the recent XDMCP thread. I am very close now. There seems to be a xhost command missing somewhere. Thanks, Steven On Mon, 18 Nov 2002, Papa Fox wrote: Have you enabled XDMCP over internet? Depending on whether you are running XDM, KDM or GDM, check /etc/X11/xdm/xdm-config Comment out the appropriate line /etc/X11/xdm/kdmrcSet Enable=true for [Xdmcp] /etc/X11/gdm/gdm.conf You may also have to alter you firewall rules to allow UDP packets to port 177. PapaFox - Original Message - From: Steven Whatley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 18, 2002 4:20 PM Subject: Cygwin XFre86 - Redhat XDM login Hi all, I've been reading man pages, FAQs, and everything I can think of under Cygwin, RedHat 7.1, and the XFree86 web site. I have been trying to figure this out off and on for months. However, I can not figure out how to run an XFree86 session under Cygwin on my WinXP Pro system to get a login session on my RH 7.1 system. I have played with the files in /etc/X11/xdm on the RH system. I played with XWin, xinit, and startx with -queue host and -broadcast options under cygwin. All I get on the Cygwin side is no X11 window at all or a blank checkered default pattern X11 window. I do not seem to be getting any error messages besides Giving up. I've been dealing with X11 for over 10 yers. But this XFree86 stuff is causing me to pull out my hair! BTW, XDM is running fine on the RH box and Gnome comes up just fine. I just don't keep a monitor attached to the system and the system is in another room. Any help to figure out what I am doing wrong will be really appreciated. Thanks! Steven :) -- trying to keep a happy face. -- ___ ((__O\ (___ \ Don't get rattled by Steven Whatley \ \_(___)\O\_/O___- what I say. It's just [EMAIL PROTECTED] \O)\___/my opinion.
Re: XDMCP
The error I am getting in the ~/.xsessoin-errors is: Xlib: connection to :0.0 refused by server Xlib: Client is not authorized to connect to Server Gtk-WARNING **: cannot open display: :0 Thanks, Steven From: Papa Fox papafox888 at hotmail dot com Date: Mon, 18 Nov 2002 19:23:17 +1100 Subject: Re: XDMCP It looks like the unix login is happening. What's in ~/.xsession-errors? PapaFox - Original Message - From: David Calkins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 17, 2002 5:11 AM Subject: XDMCP I'm trying to connect up to a machine at work using XDMCP. My home machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program to get the latest packages. I'm using the -query option to do this, i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query $remotehost I get the login screen, enter my username and password and attempt to login. For some reason, I just get bounced back to the login screen again. I've been unable to get this to work. Any ideas as to what could cause this?
Fwd: Re: XDMCP
I'm seeing the following in /tmp/XWin.log AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP WORKMACHINEIP port 3468 I get a bunch of the above messages in my XWin.log. Sounds like we're both having problems with convincing the X server that we do, in fact, want to allow connections from the work machine. I tried using xhost, but it just hangs if I run it while my X server is running (with the -query option). Anyone know how else I can tell my X server to trust a remote host? Dave Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Subscribe: mailto:[EMAIL PROTECTED] List-Archive: http://sources.redhat.com/ml/cygwin-xfree/ List-Post: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED], http://sources.redhat.com/ml/#faqs Sender: [EMAIL PROTECTED] Mail-Followup-To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) From: Steven Whatley [EMAIL PROTECTED] X-X-Sender: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: XDMCP The error I am getting in the ~/.xsessoin-errors is: Xlib: connection to :0.0 refused by server Xlib: Client is not authorized to connect to Server Gtk-WARNING **: cannot open display: :0 Thanks, Steven From: Papa Fox papafox888 at hotmail dot com Date: Mon, 18 Nov 2002 19:23:17 +1100 Subject: Re: XDMCP It looks like the unix login is happening. What's in ~/.xsession-errors? PapaFox - Original Message - From: David Calkins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 17, 2002 5:11 AM Subject: XDMCP I'm trying to connect up to a machine at work using XDMCP. My home machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program to get the latest packages. I'm using the -query option to do this, i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query $remotehost I get the login screen, enter my username and password and attempt to login. For some reason, I just get bounced back to the login screen again. I've been unable to get this to work. Any ideas as to what could cause this?
Fwd: Re: XDMCP
Well, tried it again to make sure, and if I run XWin *without* the -query option, I can set my DISPLAY to 127.0.0.1:0.0 and then run xhost and it (xhost) works. If I then connect via the VPN to my work's intranet, and then run XWin *with* the -query option, xhost now hangs... argh! I think I'm *very* close to having this work. I just need to convince X to allow my work machine to connect back to my home machine.. Dave I'm seeing the following in /tmp/XWin.log AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP WORKMACHINEIP port 3468 I get a bunch of the above messages in my XWin.log. Sounds like we're both having problems with convincing the X server that we do, in fact, want to allow connections from the work machine. I tried using xhost, but it just hangs if I run it while my X server is running (with the -query option). Anyone know how else I can tell my X server to trust a remote host? Dave Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Subscribe: mailto:[EMAIL PROTECTED] List-Archive: http://sources.redhat.com/ml/cygwin-xfree/ List-Post: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED], http://sources.redhat.com/ml/#faqs Sender: [EMAIL PROTECTED] Mail-Followup-To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) From: Steven Whatley [EMAIL PROTECTED] X-X-Sender: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: XDMCP The error I am getting in the ~/.xsessoin-errors is: Xlib: connection to :0.0 refused by server Xlib: Client is not authorized to connect to Server Gtk-WARNING **: cannot open display: :0 Thanks, Steven From: Papa Fox papafox888 at hotmail dot com Date: Mon, 18 Nov 2002 19:23:17 +1100 Subject: Re: XDMCP It looks like the unix login is happening. What's in ~/.xsession-errors? PapaFox - Original Message - From: David Calkins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 17, 2002 5:11 AM Subject: XDMCP I'm trying to connect up to a machine at work using XDMCP. My home machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program to get the latest packages. I'm using the -query option to do this, i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query $remotehost I get the login screen, enter my username and password and attempt to login. For some reason, I just get bounced back to the login screen again. I've been unable to get this to work. Any ideas as to what could cause this?
Re: [xfree] Fwd: Re: XDMCP
Have you modified Cygwin's /etc/hsots.allow and /etc/hosts.deny files? I'm trying this but no go yet. Later, Steven On Mon, 18 Nov 2002, David Calkins wrote: Well, tried it again to make sure, and if I run XWin *without* the -query option, I can set my DISPLAY to 127.0.0.1:0.0 and then run xhost and it (xhost) works. If I then connect via the VPN to my work's intranet, and then run XWin *with* the -query option, xhost now hangs... argh! I think I'm *very* close to having this work. I just need to convince X to allow my work machine to connect back to my home machine.. Dave I'm seeing the following in /tmp/XWin.log AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP WORKMACHINEIP port 3468 I get a bunch of the above messages in my XWin.log. Sounds like we're both having problems with convincing the X server that we do, in fact, want to allow connections from the work machine. I tried using xhost, but it just hangs if I run it while my X server is running (with the -query option). Anyone know how else I can tell my X server to trust a remote host? Dave Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Subscribe: mailto:[EMAIL PROTECTED] List-Archive: http://sources.redhat.com/ml/cygwin-xfree/ List-Post: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED], http://sources.redhat.com/ml/#faqs Sender: [EMAIL PROTECTED] Mail-Followup-To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) From: Steven Whatley [EMAIL PROTECTED] X-X-Sender: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: XDMCP The error I am getting in the ~/.xsessoin-errors is: Xlib: connection to :0.0 refused by server Xlib: Client is not authorized to connect to Server Gtk-WARNING **: cannot open display: :0 Thanks, Steven From: Papa Fox papafox888 at hotmail dot com Date: Mon, 18 Nov 2002 19:23:17 +1100 Subject: Re: XDMCP It looks like the unix login is happening. What's in ~/.xsession-errors? PapaFox - Original Message - From: David Calkins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 17, 2002 5:11 AM Subject: XDMCP I'm trying to connect up to a machine at work using XDMCP. My home machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program to get the latest packages. I'm using the -query option to do this, i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query $remotehost I get the login screen, enter my username and password and attempt to login. For some reason, I just get bounced back to the login screen again. I've been unable to get this to work. Any ideas as to what could cause this? -- ___ ((__O\ (___ \ Don't get rattled by Steven Whatley \ \_(___)\O\_/O___- what I say. It's just [EMAIL PROTECTED] \O)\___/my opinion.
winsup/cygwin net.cc
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2002-11-18 17:20:58 Modified files: cygwin : net.cc Log message: remove unneeded comments Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/net.cc.diff?cvsroot=uberbaumr1=1.129r2=1.130
PATCH: Implementation of functions in netdb.h
This is an implementation of [set|get|end][serv|proto]ent functions as defined in netdb.h. It was written primarily so I could port the DHCP software from ISC to Cygwin. Firstly, this is a larger than trivial submission, I suppose I will have fill in a standard assignment form. However, I thought I post this first to see if I'm on the right track. This has been coded against the 1.3.14-1 sources. That's what was available when I started, and I can't read the CVS repository directly. I only have the W2K machine to work and test on. Consequently I can't be sure that the Win95/98/ME path names for the protocol and services files are correct and work. If they aren't, then the files will not be opened, and all calls to get[serv|proto]ent will return NULL. the set and end functions will quietly do nothing. I have implemented all the functions in a new file called netdb.cc. I wasn't sure if I should add the new file, or add functions to net.cc. I went for the new file, in the expectation that I would add get|set|end functions for the hosts and networks files and some stage in the future. 2002-11-19 Craig McGeachie [EMAIL PROTECTED] * netdb.cc (open_system_file, get_entire_line, get_alias_list) (open_services_file, parse_services_line, free_servent) (cygwin_setservent, cygwin_getservent, cygwin_endservent) (open_protocol_file, parse_protocol_line, free_protoent) (cygwin_setprotoent, cygwin_getprotoent, cygwin_endprotoent): Create a new file implementing the service and protocol enumeration functions in netdb.h. * Makeile.in (DLL_OFILES): Add reference to the new netdb.cc file. * cygwin.din : Add new aliased exports for service and protocol enumerations in netdb.cc. +- Craig McGeachie | #include cheesy_tag.h +64(21)037-6917 | while (!inebriated) c2h5oh=(++bottle)-contents; +- diff -uprN ../../cygwin-1.3.14-1-orig/winsup/cygwin/Makefile.in ./cygwin/Makefile.in --- ../../cygwin-1.3.14-1-orig/winsup/cygwin/Makefile.in2002-10-21 14:03:32.0 +1300 +++ ./cygwin/Makefile.in2002-11-18 23:39:35.0 +1300 @@ -137,7 +137,7 @@ DLL_OFILES:=assert.o autoload.o cygheap. fhandler_tty.o fhandler_virtual.o fhandler_windows.o \ fhandler_zero.o fnmatch.o fork.o glob.o grp.o heap.o init.o \ ioctl.o ipc.o localtime.o malloc.o malloc_wrapper.o \ - miscfuncs.o mmap.o msg.o net.o ntea.o passwd.o path.o pinfo.o \ + miscfuncs.o mmap.o msg.o net.o netdb.o ntea.o passwd.o path.o pinfo.o \ pipe.o poll.o pthread.o regcomp.o regerror.o regexec.o \ regfree.o registry.o resource.o scandir.o sched.o sec_acl.o \ sec_helper.o security.o select.o sem.o shared.o shm.o signal.o \ diff -uprN ../../cygwin-1.3.14-1-orig/winsup/cygwin/cygwin.din ./cygwin/cygwin.din --- ../../cygwin-1.3.14-1-orig/winsup/cygwin/cygwin.din 2002-10-21 14:03:32.0 +1300 +++ ./cygwin/cygwin.din 2002-11-19 08:49:16.0 +1300 @@ -1297,3 +1297,9 @@ acltotext _acltotext = acltotext aclfromtext _aclfromtext = aclfromtext +setprotoent = cygwin_setprotoent +setservent = cygwin_setservent +getservent = cygwin_getservent +getprotoent = cygwin_getprotoent +endprotoent = cygwin_endprotoent +endservent = cygwin_endservent diff -uprN ../../cygwin-1.3.14-1-orig/winsup/cygwin/netdb.cc ./cygwin/netdb.cc --- ../../cygwin-1.3.14-1-orig/winsup/cygwin/netdb.cc 1970-01-01 12:00:00.0 +1200 +++ ./cygwin/netdb.cc 2002-11-19 09:30:37.0 +1300 @@ -0,0 +1,357 @@ +/* netdb.cc: network database related routines. + + Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. + +This file is part of Cygwin. + +This software is a copyrighted work licensed under the terms of the +Cygwin license. Please consult the file CYGWIN_LICENSE for +details. */ + +#include winsup.h +#include windows.h +#include sys/cygwin.h +#include stdio.h +#include string.h +#include stdlib.h +#include netdb.h + +/* Cygwin internal */ +static FILE * +open_system_file (const char *relative_path) +{ + char win32_name[MAX_PATH]; + char posix_name[MAX_PATH]; + if (wincap.is_winnt()) +{ + if (! GetSystemDirectory (win32_name, MAX_PATH) ) return NULL; + strcat (win32_name, \\drivers\\etc\\); +} + else +{ + if (! GetWindowsDirectory (win32_name, MAX_PATH) ) return NULL; + strcat (win32_name, \\); +} + strcat (win32_name, relative_path); + cygwin_conv_to_full_posix_path (win32_name, posix_name); + return fopen (posix_name, r); +} + +/* Cygwin internal */ +static char * +get_entire_line (FILE *fd) +{ + static const int BUFF_SIZE = 1024; + struct line_fragment { +char buffer[BUFF_SIZE]; +line_fragment *next; + }; + line_fragment *fragment_list_head = NULL; + line_fragment *fragment = NULL; + int fragment_count = 0; + char *result; + do +{ + line_fragment *new_fragment = (line_fragment
Re: PATCH: Implementation of functions in netdb.h
On 18 Nov 2002 at 17:57, Christopher Faylor wrote: Why? I am looking for house and job, and staying with a friend, who runs a small LAN, shares the dialup connection, and is sufficiently paranoid to run a firewall setup with mail and HTTP relaying (amongst others) - no exceptions. but I will note that putting a Cygwin internal comment in front of static functions isn't adding any useful information. I need more comments anyway. Just testing the water before I go all out adding them. I put Cygwin internal in because that is what I saw in net.cc, and I thought it might be some sort of standard. Otherwise, from a cursory glance, it looks fine. You will definitely need to send in an assignment. Will do. It'll take maybe a week to arrive from New Zealand. In the meantime I have to tidy up the submission a bit. I've tried to compile the source for Cygwin 1.3.15-2 prior to putting netdb.cc in, but I am having problems with fhandler_serial.cc. With the rewrite of fhandler_serial::ioctl, and the inclusion of ddk/ntddser.h, I can no longer compile. I have copy of the W2K DDK, and tried pointing the compiler at the include directory there, but unsurprisingly this doesn't work. Is there a Cygwin version of the DDK headers that I should use, in the same way that w32api provides a Cygwin version of the Win32 SDK headers? +- Craig McGeachie | #include cheesy_tag.h +64(21)037-6917 | while (!inebriated) c2h5oh=(++bottle)-contents; +-
Re: PATCH: Implementation of functions in netdb.h
On 18 Nov 2002 at 20:24, Christopher Faylor wrote: The sources in the release need the *CVS* version of w32api. See? Problems already. Indeed. Problems. I'll see what I can do to get CVS read access. +- Craig McGeachie | #include cheesy_tag.h +64(21)037-6917 | while (!inebriated) c2h5oh=(++bottle)-contents; +-
Suspected bug in RXVT
I think the following is a bug in RXVT: if you - click with the left mouse button somewhere, and then - use the scrollbar to go to some other region in the scroll buffer and - click with the right mouse button, you will select a region that apparently extends from - where you clicked the right mouse button to - the screen edge *in the direction* of the left mouse click. By comparison, with xterm, the whole region - from left mouse click - to right moust click is selected. Thomas Mellman [EMAIL PROTECTED] Viren? Wir wissen nicht was Ihr Arzt empfiehlt. Wir empfehlen den Virencheck für Dateianhänge! http://freemail.web.de/features/?mc=021159 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: .rhosts on W2K w/o ntsec
The reason for this is obvious: I turned off ntsec, thus the .rhosts file is owned by whoever starts rshd (probably SYSTEM because I run it as a service). I'm running Cygwin on W2K/NTFS; my CYGWIN environment variable is ntea nontsec. Have you considered leaving ntsec on in the service environment but turning it off in yours, after you get in? Pierre Thanks for the reply! Yes, I did consider it but I didn't really follow up on this idea because this would mean that all files created by subsequent processes like rsync would end up using ntsec and files being read would have the wrong permissions (i.e. from ntsec, not ntea). Unless, of course, I turn ntsec off again as soon as ruserok() has completed. The only way to do this would be in /etc/profile. Is this safe, i.e. will Cygwin see the environment changing and turn off ntsec for *all* subsequent syscalls and processes, even after forking, setting new userids, ? Another problem would be that other services which don't start shells such as the IPC daemon, apache, etc. would end up using ntsec. Wouldn't it be a good idea to store uid and gid in the extended attributes as well and use them if ntsec is turned off? At least for me this would be the perfect solution Cheers, --Christian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: libxml2/libxslt binaries: libxml2 version mismatch in xsltproc
Robert Collins wrote: On Mon, 2002-11-18 at 08:17, Yves Forkl wrote: In various versions of the libxml2/libxslt binaries, the executable xsltproc distributed with the latest libxslt package was compiled against an older version of libxml2 than the latest release currently distributed. ... To get xsltproc working properly, it may be necessary either to rebuild it (which I didn't manage to) or to downgrade to the older libxml2 binary. So it would perhaps be better if that correspondence of the libxml2 version could be ensured before the libxml2 and libxslt binaries are distributed together in their latest releases. Do you have an actual bug report, or are you assuming that this is casuing whatever unspecified problems you are having? Sorry for not being clear about the specific problem I encountered which is almost certainly caused by the version mismatch, but I didn't know if that classified as a bug proper - please see the description of the problem in the message included. I don't recall any discussion on this on the libx*l lists, which I am also on. Maybe the different libxml2 versions have been too compatible :-) to produce a problem of that kind in most cases of version mismatch within xsltproc? Yves Subject: Re: [xslt] xsltproc: --stringparam under Cygwin? Date: Thu, 14 Nov 2002 04:16:26 -0500 From: Daniel Veillard [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] On Wed, Nov 13, 2002 at 07:46:25PM +0100, Yves Forkl wrote: xsltproc's option stringparam doesn't seem to work in the current release (as of 2002-11-10) of precompiled libs and binaries for Cygwin. The version of xsltproc included claims to be: $ xsltproc --version Using libxml 20417, libxslt 10010 and libexslt 703 xsltproc was compiled against libxml 20413, libxslt 10010 and libexslt 703 libxslt 10010 was compiled against libxml 20413 libexslt 703 was compiled against libxml 20413 Looks 1/ old 2/ bad (the library used an the one the application was compiled again do not match) (I tried it under Windows with another version, xsltproc compiled against libxml 20426, libxslt 10022 and libexslt 713: the problem does not appear there.) Simply upgrade then ! Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: sending mail with pine
Eduardo Chappa [EMAIL PROTECTED] wrote [Nov 12 -0800] EC *** Marcos Lorenzo ([EMAIL PROTECTED]) wrote today: EC EC :) I installed pine and I tried to send a test e-mail and I got pine EC :) completely blocked. I believe pine wants some features that ssmtp EC :) doesn't have. EC :) EC :) I did ln -s /usr/sbin/ssmtp /usr/sbin/sendmail, but I'm not sure If EC :) this is right. EC :) EC :) Is there any document on how to send mail with pine? EC EC Hola Marcos, EC ECI've always had a direct connection to an smtp server, and that's the EC way I've sent mail. Try to see if adding the name of the smtp server you EC want to use to the smtp-server variable in your .pinerc works. You may EC need to add it in the form EC EC smtp-server = name.smtp.server/user=yourid EC EC if it needs authentication, or if the id of your smtp server is different EC than the account name you have in cygwin. EC ECLet me know if this works or not. Yeah! it really works. Thanks a lot. -- ## Calling EMACS an editor is like calling the Earth a hunk of dirt. -- Chris DiBona on Dirt (Open Sources, 1999 O'Reilly and Associates) ... _ Marcos Lorenzo de Santiago (Labs Technician)/` `\ |~~ @|Departament of Telematic Engineering / \ | | |\~~~/| | |E-mail: [EMAIL PROTECTED] | \=/ | |_|Telephone: (+34)91-624-8757 | /`...'\ | Homepage: http://www.it.uc3m.es/marcos|/___\| ## -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
readlink is not recursive in cygwin (no -f option)
I made some kind of patch to use ActivePerl within a cygwin console. The problem was that ActivePerl doesn't dupport posix paths so I made the following: 1) A readlink recursive that returns the real file: #!/bin/perl # script that does recursive readlink # exit with error status if no arg or arg doesn't exist or is not a symlink if($ARGV[0] eq or ! -e $ARGV[0] or ! -l $ARGV[0]){ exit 1; } $file=$ARGV[0]; $realfile=; # this will store each dir in $file for each iteration in do-while $restofpath=$file; # the rest of the path that is to be checked $nextdir=$file;# the next dir to check do{ $nextdir=~s/^(\/{1}[^\/]*)\/{1}.*$/$1/; $realfile=$realfile.$nextdir; $restofpath=~s/^\/{1}[^\/]*//; #print \nnextdir: $nextdir\n; #print realfile: $realfile; if(-l $realfile){ $realfile=readlink $realfile; $realfile=~s/\/{1}$//; #print - link to $realfile; if ($restofpath eq ){ $restofpath=$realfile; $realfile=; $nextdir=$realfile; } } #print \nrestofpath: $restofpath\n; # update variables for next iteration $nextdir=$restofpath; }until($restofpath eq ); # return the real file print $realfile\n; 2) a interpreter to make a workaround: #!/bin/bash # script that tricks ActivePerl for Windows to work on Perl scripts under cygwin # (a workaround for posix-windows paths) # TODO: eventhough this is a workaround, perl doesn't support symlinks, so I need # a function that does(ie): getrealfile /usr/local/bin/xnet, returns # /dit/DIT/scripts/cygwin-scripts/xnet # `- done: function is readlink, although it doesn't support the -f option # as in linux, it's not recursive. # I made a script that implements this (rreadlink) # # $ActivePerl is a symbolic link to wherever the real ActivePerl perl.exe resides ActivePerl=/usr/local/bin/perl file=`rreadlink $1` shift args=$@ path=`expr $file ':' '\(.*\)\/\.*' '|' $file` script=`expr $file ':' '.*\/\(.*\)' '|' $file` cd $path $ActivePerl $script $args cd $OLDPWD 3) Now this can be used for executing ActivePerl scripts: #!/usr/local/bin/activeperl_trick ^ See the interpreter here use Win32::Service; use Sys::Hostname; use Win32; use strict; # my %service_states = ( stopped = 0x0001, start pending = 0x0002, stop pending= 0x0003, running = 0x0004, continue pending= 0x0005, pause pending = 0x0006, paused = 0x0007, ); my %service_codes = reverse (%service_states); # my $HOSTNAME = hostname; my $op = lc shift; my ($server, $service); $server = '' unless $server = shift; $service = '' unless $service = shift; if ($server ne '' and $server !~ /^\\/){ $service = $server; $server = ''; } if ($op eq 'status'){ if ($server ne ''){ print \t\t\t\\$server status:\n---\n; status (\\$server, $service); exit; }else{ print \t\t\t$HOSTNAME status:\n---\n; status ($server, $service) unless $server ne ''; exit; } } if ($op =~ /^(?:start|stop|pause|resume)$/){ if ($service eq ''){ print You must specify a service for this option.\n; exit 1 } process ($op, $server, $service); sleep 1; status ($server, $service); exit; } if ($op eq 'restart'){ if ($service eq ''){ print You must specify a service for this option.\n; exit 1 } #print Restarting $service...\n; #process ('stop', $server, $service); #sleep 1; #status ($server, $service); process ('restart', $server, $service); #sleep 1; #status ($server, $service); exit; } # print STDERR Usage: $0 status|start|stop|restart|pause|resume [server] [service_short_name]\n; exit; # sub status{ my ($server, $service) = @_; my ($err, %status, %services, %rservices); if ($service) { $err = Win32::Service::GetStatus($server,$service,\%status); if (!$err) {display_error; return}; print $service is $service_codes{$status{CurrentState}}\n; } else{ $err = Win32::Service::GetServices($server,\%services); if (!$err) {display_error; return}; %rservices = reverse %services; foreach $service (sort {lc $a cmp lc $b} keys %rservices){ $err = Win32::Service::GetStatus($server,$service,\%status); if (!$err) {print $service: ; display_error; next}; print $service_codes{$status{CurrentState}}: $service [$rservices{$service}]\n; }
Re: 3rd time lucky? Apache startup woes
Hi Jason, On Friday 15 Nov 2002 8:29 pm, Jason Tishler wrote: Gary, On Fri, Nov 15, 2002 at 03:40:07PM +, Gary Stainburn wrote: All I got out was one error line per DLL stating that it was being skipped because it was not rebasable. Are you running on Me? If so, then you can't use my rebase (don't blame me, blame Microsoft). Use Ralf's version instead: http://www.cygwin.com/ml/cygwin/2002-08/msg00703.html Yes, unfortunately I am running WinME, so I downloaded the attachment to the above message. Unfortunately, the make fails as shown below. Can anyone help me here, or point me to a binary distribution I can download? I will certainly give the method below a try once I've got a working rebase program. Gary Ultimately, I will integrate Ralf's rebase functionality into mine. The following is how I recommend rebasing your entire system (i.e., all DLLs installed by setup.exe except for cygwin1.dll): $ # stop all Cygwin processes except for bash $ zegrep -h 'dll$' /etc/setup/*.gz | grep -v 'cygwin1.*.dll' | xargs -n 1 cygpath -wa rebase.lst $ rebase -d -b 0x6800 -o 0x1 $(rebase.lst) $ rm rebase.lst Note that you can append DLLs installed by other means to rebase.lst before calling rebase, if necessary. Jason -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: tar -X
hi there, tar [...] -X exclude.file worked fine untile some recent update. the problem is, it reads exclude.file, but seems to ignore it's contents. i have a backup script that worked for more than two years, but now exclusions do not work any more. currently i have tar (GNU tar) 1.13.25 from cygwin (my os is win98se) my workaround are a number of --exclude=PATTERN (like --exclude='*.obj') in the command line. this works but it's ugly. greetings, georg -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin release
On Sunday 17 Nov 02, Igor Pechtchanski writes: Thanks for the prompt response. I realized that he asked for a better window, that's why I tried searching for both. For the future, though, would sending a patch to winsup/doc/faq.texinfo instead make your job easier, or harder? Patches are always gratefully considered. But I've already added the FAQ entry Is there a better alternative to the standard console window?. Have a look, and if you think it needs improving, let me know. (Rather, let the list know.) Thanks, David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
ls problem
On Monday 18 Nov 02, Carlo Florendo writes: Hello, I've been using cygwin for 3 years now and last week, I downloaded the latest cygwin from one of the mirrors and everything in well except for one problem. I noticed that whenever I type 'ls -', the output gets delayed for a few seconds. This never happened to me using the old cygwin. There is a FAQ entry, Why is Cygwin suddenly *so* slow?. Maybe it describes your problem. Regards, David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gcc 3.2 stringwchar_t link problem
Hi there, See my post few weeks ago (29/10/2002) subject : conflicting types for `typedef struct mbstate_t`(was link troubles with wcslen) also the one from zhang le on 27/10/2002 missing wcsncmp,wcscpy,wcsncpy and more... or a search in the archives on wcslen no one on the list acknowledged the pb (cfg ?) and i noticed that gcc-3.2-2 probably solved issue 2) of my post because it had the following comment (msg [ANNOUNCEMENT] Updated: gcc-3.2-2 10/11/2002): 'However, the only noticeable change from the last release was an attempt to correctly define mbstate_t.' I'm positive that wcslen is in newlib but i'm not sure for wcsncmp,wcscpy,wcsncpy as i didn't needed them a that time. Xavier Nigel Stewart Fiona Smith [EMAIL PROTECTED] a écrit dans le message news: [EMAIL PROTECTED] Hello all, Having happily upgraded my Cygwin to include gcc 3.2, I've encountered a show-stopper: The linker can't resolve symbols involving wide C++ strings. Here is an example: #include string #include iostream using namespace std; int main(int argc,char *argv[]) { std::stringwchar_t test; } - $ g++ test.cpp /cygdrive/c/DOCUME~1/nigels/LOCALS~1/Temp/ccHP4AMl.o(.text+0x25):test.cpp: undefined reference to `std::basic_stringwch ar_t, std::char_traitswchar_t, std::allocatorwchar_t ::basic_string[in-charge]()' /cygdrive/c/DOCUME~1/nigels/LOCALS~1/Temp/ccHP4AMl.o(.text+0x30):test.cpp: undefined reference to `std::basic_stringwch ar_t, std::char_traitswchar_t, std::allocatorwchar_t ::~basic_string [in-charge]()' collect2: ld returned 1 exit status --- Any hints, suggestions, or duh-read-the FAQ responses, appreciated. Note that the following compiles links: int main(int argc,char *argv[]) { std::stringdouble test; } $ gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs Configured with: /netrel/src/gcc-3.2-3/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posi x --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-ve rsion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable -haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecd ir=/usr/sbin Thread model: posix gcc version 3.2 20020927 (prerelease) Cheers, Nigel Stewart -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
File autocomplete behaviour change in current Cygwin
In 1.3.12-4, when I have a testprogram.c and testprogram.exe under the current directory and type ./test [TAB], the system will complete it to ./testprogram.exe, but in 1.3.15-2 only ./testprogram. appears. I noticed that in 1.3.15-2 ntsec is default to on but when I turn ntsec off it still does not work. I must manually chmod -x test.c to make the it work as I desired. I suppose the 1.3.12-4 behaviour is more desirable, because it is easier to use, esp. when one does not want ntsec. Is it possible to revert to the original behaviour? Best regards, Wu Yongwei -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: 3rd time lucky? Apache startup woes
Hi Jason, Yes, unfortunately I am running WinME, so I downloaded the attachment to the above message. Unfortunately, the make fails as shown below. Ups, sorry, there are symbolic link in the package, with files are not distributed. Can anyone help me here, or point me to a binary distribution I can download? You can find a binary release of the recent version (0.4) on the http://kde-cygwin/sourceforge.net download area. See http://sourceforge.net/project/showfiles.php?group_id=27249release_id=122960 Please report any problems with release. Regards Ralf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re[2]: compiling clicq, problems with c++
Hallo Gareth, Monday, November 18, 2002, 10:12:52 AM, you wrote: GP if you look at the actual contents of those files - they include each other GP the standard method of including socket.h is GP #define sys/socket.h ok, changed that. Thanks. GP first point - a given line of output doesnt cause make to abort - its when a GP program returns with a return code indicating error that make aborts. GP second point - Gcc will continue after it finds errors - and try to report GP as much as possible. you've only given the last 3 lines which are both GP warnings. - you havent given the command invoked so we dont know if -Werror GP has been passed. And theres no way to know whats between the command and GP the first of the lines you have stated. GP Not enough context. ok, sorry. i wanted to keep the mail as short as possible, here's the call to make: merkosh@M111 /tmp/clicq-0.1 $ make make all-recursive make[1]: Entering directory `/tmp/clicq-0.1' Making all in icqlib make[2]: Entering directory `/tmp/clicq-0.1/icqlib' make all-recursive make[3]: Entering directory `/tmp/clicq-0.1/icqlib' Making all in icqlib make[4]: Entering directory `/tmp/clicq-0.1/icqlib/icqlib' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/tmp/clicq-0.1/icqlib/icqlib' make[4]: Entering directory `/tmp/clicq-0.1/icqlib' make[4]: Leaving directory `/tmp/clicq-0.1/icqlib' make[3]: Leaving directory `/tmp/clicq-0.1/icqlib' make[2]: Leaving directory `/tmp/clicq-0.1/icqlib' Making all in src make[2]: Entering directory `/tmp/clicq-0.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../icqlib/icqlib-g -O2 -c clicq.c clicq.c:16:18: term.h: No such file or directory In file included from clicq.c:20: cmd.h:43:8: warning: extra tokens at end of #endif directive In file included from clicq.h:7, from clicq.c:22: enum.h:21:8: warning: extra tokens at end of #endif directive In file included from clicq.c:22: clicq.h:148:8: warning: extra tokens at end of #endif directive In file included from clicq.c:23: cfg.h:14:8: warning: extra tokens at end of #endif directive In file included from clicq.c:24: icqhandle.h:25:8: warning: extra tokens at end of #endif directive clicq.c: In function `input_handler': clicq.c:131: warning: deprecated use of label at end of compound statement clicq.c: In function `main': clicq.c:267: warning: assignment from incompatible pointer type clicq.c:268: warning: assignment from incompatible pointer type make[2]: *** [clicq.o] Error 1 make[2]: Leaving directory `/tmp/clicq-0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/clicq-0.1' make: *** [all-recursive-am] Error 2 Where's the Error that make indicates? GP third and final point ... GP They are probably in header files which have been included. Since you say GP this is c++ - they are probably members of a class which is defined in a GP header. GP but its not an issue probably. Well, I did a full text search on the varriables in /tmp/clicq-0.1/* and got only one match. :( Thank you for your help Ciao Uwe -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Re[2]: compiling clicq, problems with c++
Uwe Mayer [EMAIL PROTECTED] wrote: make[2]: Entering directory `/tmp/clicq-0.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../icqlib/icqlib-g -O2 -c clicq.c clicq.c:16:18: term.h: No such file or directory ... Where's the Error that make indicates? Right there at the beginning. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: compiling clicq, problems with c++
Hi! Monday, 18 November, 2002 Uwe Mayer [EMAIL PROTECTED] wrote: UM ok, sorry. i wanted to keep the mail as short as possible, here's the UM call to make: UM merkosh@M111 /tmp/clicq-0.1 UM $ make UM make[2]: Entering directory `/tmp/clicq-0.1/src' UM gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../icqlib/icqlib-g -O2 -c clicq.c UM clicq.c:16:18: term.h: No such file or directory Here's the error. UM Where's the Error that make indicates? To find out which package contains the file your program requires, use Setup Package Search Link on the cygwin homepage. Egor.mailto:[EMAIL PROTECTED] ICQ 5165414 FidoNet 2:5020/496.19 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: /bin/shutdown on ME
Igor Pechtchanski wrote: Quoting from the ExitWindowsEx page on MSDN: Windows 95/98/Me: ExitWindowEx does not work from a console application. (the typo is theirs) One solution I tried, consequently, is making shutdown into a window (WinMain) application, using the run program as a template. No luck so far. I can post the code I currently have, in case others have further insights. Igor If you run shutdown from a bash session in one of the old versions of rxvt (the ones that were compiled as a GUI app) it works fine on Win98. Personally I have two version of rxvt on my machine, the regular console compiled one (-Wl,--subsystem,console) and one that is compiled as a GUI app (-Wl,--subsystem,windows) and I rename it to rxvtw. I do this because the way that cygwin interacts console programs tends to lock up my machine every once in a while. Though I blame the Trident 9750 video driver since I get pretty patterns on the screen when it locks up. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
PHP is minimal
I was very happy the first time I saw the mod php in the setip list. Now, I want to create image. It seems there are no image functions included in the php we get with the cygwin setup. I get message error for each I try to use. Installing Xfree for cygwin gives all the needed libs to have image in php (libjpeg, and so on..) From the setup, I can't get the source (n/a). I try to recompile it from scratch but it need a mysql dll, i didn't find (even with win mysql installed) I try to recompile mysql under cygwin, but it's a pain (every intermediate .exe in the makefile core dumps...) with gcc 3.x or gcc 2.95. I will be happy if someone has a solution to get a php as delivered actually + image functions. _ MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Thread.start called but threads not available
Hi, I have compiled a java source with gcj under cygwin on win2000: gcj -o serveur --main=serveur serveur.java The programme gave the following message about threads not available, but gcc seems to be compiled with threads enable. Why ? Thanks for help, [jgrelet]:/s/outils/sources/serveur ./serveur 10183 Serveur version java 1.1 port UDP : 10183 Exception in thread main java.lang.InternalError: Thread.start called but threads not available [jgrelet]:/s/outils/sources/serveur gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs Configured with: /netrel/src/gcc-3.2-3/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin Thread model: posix gcc version 3.2 20020927 (prerelease) Source code is : /* serveur.javaJ Grelet juillet 98 Test de reception de trames ethernet */ import java.awt.*; import java.io.*; import java.net.*; import java.lang.*; import java.applet.*; import java.util.Date; / / public class serveur { static int PortNumber; public static void main( String argv[] ) { try { PortNumber = Integer.valueOf( argv[ 0 ] ).intValue(); } catch( ArrayIndexOutOfBoundsException e ) { System.out.println( \nusage : java serveur port UDP\n ); System.exit( 0 ); } System.out.println( \nServeur version java 1.1 port UDP : + PortNumber + \n\n ); try { DatagramSocket sd = new DatagramSocket( PortNumber ); receive rcv = new receive( sd ); rcv.start(); } catch( SocketException se ) { System.err.println( se ); } } } / / class receive extends Thread { DatagramSocket sd; protected DatagramPacket pd; static byte[] buffer = new byte[ 1024 ]; public receive( DatagramSocket s ){ sd = s; } / / public void run() { while( true ) { try { pd = new DatagramPacket( buffer, buffer.length ); sd.receive( pd ); String s = new String( pd.getData(),0,pd.getLength()-2, 8859_1 ); System.out.println( s ); Thread.yield(); // le thread cede sa place au suivant } catch( IOException e ){ System.err.println( e ); } } // fin de la boucle while } } Jacques Grelet Email: [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: 3rd time lucky? Apache startup woes
On Monday 18 November 2002 1:49 pm, Ralf Habacker wrote: Hi Jason, Yes, unfortunately I am running WinME, so I downloaded the attachment to the above message. Unfortunately, the make fails as shown below. Ups, sorry, there are symbolic link in the package, with files are not distributed. Can anyone help me here, or point me to a binary distribution I can download? You can find a binary release of the recent version (0.4) on the http://kde-cygwin/sourceforge.net download area. See http://sourceforge.net/project/showfiles.php?group_id=27249release_id=1229 60 Please report any problems with release. Regards Ralf Hi Ralf, As you can see from the extract below, your rebase has worked (rebase.sh is the script Jason gave earlier in this thread), but I still can't start apache. Anyone got any ideas? Just to remind everyone, I'm running all the latest version packages on WinME running on an Advent 7352 laptop. $ ./rebase.sh ReBaseImage(C:\cygwin\home\gary\usr\X11R6\bin\libdps.dll,67ff) failed with last error = 6 gary@LADVENT ~ $ /usr/sbin/apachectl start Syntax error on line 236 of /etc/apache/httpd.conf: Cannot load /usr/lib/apache/libphp4.dll into server: dlopen: Win32 error 31 /usr/sbin/apachectl start: httpd could not be started gary@LADVENT ~ $ -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you]
Well... I got the same problem... but only when trying to useit with X11 (i.e. emacs --no-windows works inside the terminal, but emacs with $DISPLAY=localhost:0.0 or :0.0 locks on startup with 100% cpu usage). I got TERM=linux in console and TERM=xterm in X, but there seems to make no difference to emacs. Another thing... it only started to behave like this when I updated from cygwin.dll with some 14 in it's version to the 15 version, the login program and some x2x (I didn't quite pay attention at the moment, but thinking back...) I saw someone doing a strace -w -o strace.log emacs, so i did this too; the output on the window was: 98385063 [win] emacs 1632 sig_send: wait for sig_complete event failed, signal 1 4, rc 258, Win32 error 0 The tail of the 9 mb strace.log was: 176 38384669 [sig] emacs 1632 wait_sig: Got signal 14 167 38384836 [sig] emacs 1632 sig_handle: signal 14 200 38385036 [sig] emacs 1632 sig_handle: signal 14, about to call 0x201240A4 172 38385208 [sig] emacs 1632 setup_handler: suspending mainthread 225 38385433 [win] emacs 1632 sig_send: Waiting for thiscomplete 0xC4 250 38385683 [sig] emacs 1632 interruptible: pc 0x77F96D34, h 0x77F8, inte rruptible 1, testvalid 1 5380 98385063 [win] emacs 1632 sig_send: wait for sig_complete event failed, signal 14, rc 258, Win32 error 0 732 98385795 [win] emacs 1632 sig_send: returning -1 from sending signal 14 184 98385979 [win] emacs 1632 kill_worker: -1 = sig_send, Win32 error 0 277 98386256 [win] emacs 1632 kill_worker: -1 = kill_worker (1632, 14) I can also send you the full log if necessary. FYI, (and hoping I'll get back my beloved emacs :) Cipi -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Thread.start called but threads not available
Jacques, I don't know how much of the Gnu Compiler for Java shares with the Gnu C and C++ compilers, but why do you assume that availability of threading in gcc implies that Java threads will be available via gcj? Moreover, why are you using gcj at all? Is there a reason the Sun J2SDK is unacceptable? It is far more mature and is eminently usable under Cygwin. I do a lot of Java work these days, so I'd be interested in hearing what is the appeal of gcj. The following paragraph was included in Chris Faylor's the release announcement for gcc 3.2.1 (Subject: [ANNOUNCEMENT] Updated/new: gcc 3.2-1, gcc2-2.95.3-10, gcc-mingw-3.2-20020817-1; Date: Tue, 15 Oct 2002 17:06:20 -0400 (EDT)): gcc 3.2-1 contains gcj which various people have reported as being either functional or broken. I'll probably strip it out of future releases and offer it separately. It seems that under Cygwin at least, gcj might not be ready for production use. Randall Schulz Mountain View, CA USA At 08:04 2002-11-18, Jacques Grelet wrote: Hi, I have compiled a java source with gcj under cygwin on win2000: gcj -o serveur --main=serveur serveur.java The programme gave the following message about threads not available, but gcc seems to be compiled with threads enable. Why ? Thanks for help, [jgrelet]:/s/outils/sources/serveur ./serveur 10183 Serveur version java 1.1 port UDP : 10183 Exception in thread main java.lang.InternalError: Thread.start called but threads not available [jgrelet]:/s/outils/sources/serveur gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs Configured with: /netrel/src/gcc-3.2-3/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin Thread model: posix gcc version 3.2 20020927 (prerelease) Source code is : ... Jacques Grelet Email: [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin-xemacs sometimes hangs in compile with latest cygwin
I was having exactly the same problem as Michael Lipp (http://cygwin.com/ml/cygwin/2002-09/msg00436.html). The problem went away when I replaced the current cygwin DLL with version 1.3.14-1. Regards, Josh Joshua Lubell, NIST 100 Bureau Drive, Stop 8263 Gaithersburg MD 20899-8263 USA 1-301-975-3563 [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] Updated Cygwin Package: python-2.2.2-1
Title: Message I use the 'pyserial' package, and it stopped working after upgrading from python-2.2.1-1 to python-2.2.2-1. Python gives this traceback: Traceback (most recent call last): File "./upgrade.py", line 2, in ? import serial, sys, os File "/usr/lib/python2.2/site-packages/serial/__init__.py", line 15, in ? from serialposix import * File "/usr/lib/python2.2/site-packages/serial/serialposix.py", line 107, in ? TIOCMBIS = TERMIOS.TIOCMBISAttributeError: 'module' object has no attribute 'TIOCMBIS' I tried going back to python-2.2.1-1, and everything started working again. I've attached a cygcheck. I have also submitted a bug report to the pyserial project at sourceforge, but the projects looks a little dead there. I don't know if this is really a problem with the cygwin version of python or not. The "TIOCMBI[SC]" attributes of the termios module seem to have disappeared. I really don't know what these are, or what they are used for, but if anyone knows what I can change them to, to make it work, I'd be appreciative. -Rolf Campbell [ANNOUNCEMENT] Updated Cygwin Package: python-2.2.2-1 From: Jason Tishler jason at tishler dot net To: cygwin at cygwin dot com Date: Fri, 15 Nov 2002 12:44:53 -0500 (EST) Subject: [ANNOUNCEMENT] Updated Cygwin Package: python-2.2.2-1 Reply-to: cygwin at cygwin dot com New News: === I have updated the version of Python to 2.2.2-1. The tarballs should be available on a Cygwin mirror near you shortly. The _socket module is still being built static instead of shared to workaround a fork() issue with DLL base address conflicts. See the README for more details. Cygwin Win95/NT Configuration Diagnostics Current System Time: Mon Nov 18 13:10:52 2002 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\Program Files\ActivePython\ C:\WINNT\SYSTEM32 C:\WINNT C:\WINNT\SYSTEM32\WBEM C:\PERFORCE C:\cygwin\bin C:\WINNT\system32 C:\WINNT C:\WINNT\System32\Wbem C:\Perforce C:\cygwin\usr\local\bin C:\cygwin\bin C:\Program Files\SSH C:\cygwin\usr\X11R6\bin SysDir: C:\WINNT\System32 WinDir: C:\WINNT HOME = `C:\cygwin\home\rcampbell' MAKE_MODE = `unix' PWD = `/home/rcampbell' USER = `rcampbell' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\rcampbell\Application Data' COLORFGBG = `0;default;15' COLORTERM = `rxvt-xpm' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `PCRCAMPBELL2' COMSPEC = `C:\WINNT\system32\cmd.exe' COSMIC = `c:/node.beta1/COSMIC' DISPLAY = `:0' HOMEDRIVE = `C:' HOMEPATH = `\' LOGONSERVER = `\\OTTDC2' MANPATH = `:/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/c/node/node/comp/hc12' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' P4CONFIG = `.p4config' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyc;.pyo;.pyw;.pys' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0806' PROGRAMFILES = `C:\Program Files' PS1 = `\[[02;34m\]$PWD\[[02;33m\]\[[0m\] ' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TEMP = `C:\Temp' TERM = `xterm' USERDNSDOMAIN = `tropicnetworks.com' USERDOMAIN = `TROPICNETWORKS' USERNAME = `rcampbell' USERPROFILE = `C:\Documents and Settings\rcampbell' USE_GCC3_FOR_DEPENDANCIES = `yes' WINDIR = `C:\WINNT' WINDOWID = `168035096' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/c (default) = `C:' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/e (default) = `E:' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/f (default) = `F:' flags = 0x HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/g (default) = `G:' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/p (default) = `P:' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/w (default) = `W:' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Cygnus Solutions (default) = (unsupported type) 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
RE: Wring winioctl.h used in compiling cygwin1.dll from CVS sources
Nope - still on 3.2-2 will upgrade and try again thx! Ronald -Original Message- From: Max Bowsher [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 16, 2002 7:52 PM To: Ronald Landheer-Cieslak; [EMAIL PROTECTED] Subject: Re: Wring winioctl.h used in compiling cygwin1.dll from CVS sources Ronald Landheer-Cieslak [EMAIL PROTECTED] wrote: I was just trying to compile the Cygwin DLL, but couln'd because the winioctl.h from w32api was never included (using CVS sources): the one actually includes was the one of my Cygwin installation. Are you using gcc-3.2-3 ? It is supposed to fix this. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Wring winioctl.h used in compiling cygwin1.dll from CVS sources
Nope - still on 3.2-2 will upgrade and try again thx! Ronald -Original Message- From: Max Bowsher [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 16, 2002 7:52 PM To: Ronald Landheer-Cieslak; [EMAIL PROTECTED] Subject: Re: Wring winioctl.h used in compiling cygwin1.dll from CVS sources Ronald Landheer-Cieslak [EMAIL PROTECTED] wrote: I was just trying to compile the Cygwin DLL, but couln'd because the winioctl.h from w32api was never included (using CVS sources): the one actually includes was the one of my Cygwin installation. Are you using gcc-3.2-3 ? It is supposed to fix this. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: emacs lockup w/ TERM = linux (cygwin tty deadlock)
Christopher Faylor wrote: Btw, this appears to be some kind of deadlock in the pty code. Maybe Egor or Sergey or Steve O will want to investigate? If it's apropos, emacs is using the pty functions in libutil supplied by inetutils. Joe Buehler -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: emacs lockup w/ TERM = linux (cygwin tty deadlock)
On Mon, Nov 18, 2002 at 02:07:59PM -0500, Joe Buehler wrote: Christopher Faylor wrote: Btw, this appears to be some kind of deadlock in the pty code. Maybe Egor or Sergey or Steve O will want to investigate? If it's apropos, emacs is using the pty functions in libutil supplied by inetutils. I already found the problem and offered an rxvt fix. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
What is the W2K equivalent of chgrp groupname file?
I just upgraded to a Cygwin 1.3.15-2, and I'm using ntsec-style security with NTFS for the first time. This has me wondering about group ownership of files, specifically: What is the W2K equivalent of the command chgrp groupname file? Using Explorer, I can change the user that owns a file or directory, but I see no way to change the group owner. Is group ownership really a feature of NTFS or is it faked by Cygwin? -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] Updated Cygwin Package: python-2.2.2-1
Rolf, On Mon, Nov 18, 2002 at 01:23:13PM -0500, Rolf Campbell wrote: I tried going back to python-2.2.1-1, and everything started working again. Really? I just tried the following: $ ./python Python 2.2.1 (#1, Jun 25 2002, 10:55:46) ^ * [GCC 2.95.3-5 (cygwin special)] on cygwin Type help, copyright, credits or license for more information. import TERMIOS /home/jt/src/python-2.2.1-1/Lib/TERMIOS.py:7: DeprecationWarning: the TERMIOS module is deprecated; please use termios DeprecationWarning) TERMIOS.TIOCMBIS Traceback (most recent call last): File stdin, line 1, in ? AttributeError: 'module' object has no attribute 'TIOCMBIS' So, python-2.2.1-1 does not seem to work either. I also tried 2.2-1 and 2.1.1-1 -- they don't seem to define TERMIOS.TIOCMBIS either. Upon reading Modules/termios.c, we see the following: #ifdef TIOCMBIC {TIOCMBIC, TIOCMBIC}, #endif #ifdef TIOCMBIS {TIOCMBIS, TIOCMBIS}, #endif Hence, TIOCMBI[CS] will only be defined if a header files (e.g., sys/termios.h) defines the corresponding constants. I don't know if this is really a problem with the cygwin version of python or not. The TIOCMBI[SC] attributes of the termios module seem to have disappeared. I really don't know what these are, or what they are used for, but if anyone knows what I can change them to, to make it work, I'd be appreciative. I'm sorry but if this is important to you, then you will have to debug this corner case further yourself. AFAICT, there have not been any changes to Cygwin Python is this area for sometime (i.e., for over 1 year). Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Postgresql installation problems.
Kurt, Note I do not have access to XP Home or Pro, so there is a limit to how much I can help. Any XP users successfully running PostgreSQL? If so, please post your experiences to the list. I'm especially interested in XP Home, since I assume that XP Pro will be the same as NT/2000. On Sat, Nov 16, 2002 at 05:44:58PM +0100, Kurt Roeckx wrote: I'm trying to install postgresql on windows XP. Please see the following thread: http://archives.postgresql.org/pgsql-cygwin/2002-11/msg00037.php It may be helpful to you -- especially if you are using XP Home which is uncharted territory. I have a problem getting the ipc-deamon to work. When I run ipc-daemon --install-as-service, it doesn't want to start. What version of Cygwin are you using? An older version (IIRC, 1.3.13), had issues with running ipc-daemon as a service. Please upgrade to the latest Cygwin, if necessary. If I then try my initdb, it hangs itself creating the template1 database, like in case the ipc-daemon isn't running. The above implies that you are not using the latest Cygwin PostgreSQL, please upgrade to the latest. Note that the documentation says that you have to run initdb before you start the ipc-daemon service, but I thought that that is wrong and initdb requires the service too. The above typo has been recently corrected: http://www.tishler.net/jason/software/postgresql/postgresql-7.2.3.README I've also tried just running ipc-daemon , but that didn't seem to help either, it always hangs creating the database. Please read the README regarding what clean up is necessary when switching the account under which ipc-daemon runs. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: [ANNOUNCEMENT] Updated Cygwin Package: python-2.2.2-1
Thanks Jason, The problem was actually a combination of some strange code in the pyserial package, and the termios.TIOCMGET attribute being added in python 2.2.2. Python 2.2.1 (#1, Jun 25 2002, 10:55:46) [GCC 2.95.3-5 (cygwin special)] on cygwin Type help, copyright, credits or license for more information. import termios hasattr(termios, 'TIOCMGET') 0 Python 2.2.2 (#1, Nov 15 2002, 07:49:04) [GCC 2.95.3-5 (cygwin special)] on cygwin Type help, copyright, credits or license for more information. import termios hasattr(termios, 'TIOCMGET') 1 The pyserial code was assuming if TIOCMGET was defined, then a bunch of other things would be too (which was a bad assumption). I have patched pyserial (locally) and it seems to work fine now. Thanks for your quick response. -Rolf -Original Message- From: Jason Tishler [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Re: [ANNOUNCEMENT] Updated Cygwin Package: python-2.2.2-1 Rolf, On Mon, Nov 18, 2002 at 01:23:13PM -0500, Rolf Campbell wrote: I tried going back to python-2.2.1-1, and everything started working again. Really? I just tried the following: $ ./python Python 2.2.1 (#1, Jun 25 2002, 10:55:46) ^ * [GCC 2.95.3-5 (cygwin special)] on cygwin Type help, copyright, credits or license for more information. import TERMIOS /home/jt/src/python-2.2.1-1/Lib/TERMIOS.py:7: DeprecationWarning: the TERMIOS module is deprecated; please use termios DeprecationWarning) TERMIOS.TIOCMBIS Traceback (most recent call last): File stdin, line 1, in ? AttributeError: 'module' object has no attribute 'TIOCMBIS' So, python-2.2.1-1 does not seem to work either. I also tried 2.2-1 and 2.1.1-1 -- they don't seem to define TERMIOS.TIOCMBIS either. Upon reading Modules/termios.c, we see the following: #ifdef TIOCMBIC {TIOCMBIC, TIOCMBIC}, #endif #ifdef TIOCMBIS {TIOCMBIS, TIOCMBIS}, #endif Hence, TIOCMBI[CS] will only be defined if a header files (e.g., sys/termios.h) defines the corresponding constants. I don't know if this is really a problem with the cygwin version of python or not. The TIOCMBI[SC] attributes of the termios module seem to have disappeared. I really don't know what these are, or what they are used for, but if anyone knows what I can change them to, to make it work, I'd be appreciative. I'm sorry but if this is important to you, then you will have to debug this corner case further yourself. AFAICT, there have not been any changes to Cygwin Python is this area for sometime (i.e., for over 1 year). Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
infinite loop in rm
I saw some mention of this problem here: http://www.cygwin.com/ml/cygwin/2002-07/msg00147.html Is there a fix for this that works, or will be incorporated into a future version of cygwin? I looked in the FAQ and saw nothing about it. I have some nightly scripts that clean some directories, and if I leave a shell open in one of the directories, the scripts just run forever trying to remove the directory. -Bill -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gcc (as.exe) install error
Doh. I didn't notice that the list doesn't set the reply-to header. :) --Danny Danny wrote regarding 'Re: gcc (as.exe) install error' on Sun, Nov 10 at 17:59: Danny, The dialog regarding your problems with GCC and / or as (or whatever the real problem ultimately turns out to be) should take place in public. Randall Schulz Mountain View, CA USA -==- Forwarded Message -==- I'm not in front of the machine, but for the time being I'll add this: When I copy that path and paste it in on the command line, it runs just fine (well, as fine as something that expects something on STDIN can run). I can add --help and it displays the help. I've done a complete uninstall, followed by a reboot and a complete install (by selecting uninstall and then install at the root of the software tree) on that machine, and the same thing happens. I'll check the version that got reinstalled Mon morning. Thanks for the help so far. The community rocks. --Danny Randall wrote regarding 'Re: gcc (as.exe) install error' on Fri, Nov 08 at 00:32: Danny, Well, you do have binutils installed, but it's not the latest (see http://www.cygwin.com/packages/binutils/). When you installed GCC 3.2, did you also update binutils? Why don't you update all your installed packages? On my system, that rather long, funky pathname (in the gcc cannot exec diagnostic) names a symlink which itself points to /usr/bin/as.exe. What is it on your system? Randall Schulz Mountain View, CA USA At 08:25 2002-11-07, Danny Sauer wrote: Danny wrote regarding 'gcc (as.exe) install error' on Wed, Nov 06 at 17:13: ... $ gcc -o test.exe test.c gcc: installation problem, cannot exec '/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as.exe': Invalid argument ... Attached is the output of cygcheck -s -v -r, if that helps. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gcc (as.exe) install error
Ok, so I found what appears to be my problem. I had installed cygwin to a network drive (samba running on a linux machine). Apperently, the installer expects to be able to create symlink-like files on the Win2K system that it was running on, and those don't work over the samba server. I ran the reinstaller to a local drive, and it now works just fine. This is somewhat irritating, as it means that I've gotta install this environment locally on every machine that I'd like to use it on, was well as updating each instalation individually. Is there a way around this? Is this issue a known bug, or should I further investigate my setup? Thanks a lot for the help. --Danny Danny wrote regarding 'Re: gcc (as.exe) install error' on Sun, Nov 10 at 17:59: I'm not in front of the machine, but for the time being I'll add this: When I copy that path and paste it in on the command line, it runs just fine (well, as fine as something that expects something on STDIN can run). I can add --help and it displays the help. I've done a complete uninstall, followed by a reboot and a complete install (by selecting uninstall and then install at the root of the software tree) on that machine, and the same thing happens. I'll check the version that got reinstalled Mon morning. Thanks for the help so far. The community rocks. Randall wrote regarding 'Re: gcc (as.exe) install error' on Fri, Nov 08 at 00:32: Well, you do have binutils installed, but it's not the latest (see http://www.cygwin.com/packages/binutils/). When you installed GCC 3.2, did you also update binutils? Why don't you update all your installed packages? On my system, that rather long, funky pathname (in the gcc cannot exec diagnostic) names a symlink which itself points to /usr/bin/as.exe. What is it on your system? At 08:25 2002-11-07, Danny Sauer wrote: Danny wrote regarding 'gcc (as.exe) install error' on Wed, Nov 06 at 17:13: ... $ gcc -o test.exe test.c gcc: installation problem, cannot exec '/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as.exe': Invalid argument ... Attached is the output of cygcheck -s -v -r, if that helps. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: infinite loop in rm
William A. Hoffman wrote: I saw some mention of this problem here: http://www.cygwin.com/ml/cygwin/2002-07/msg00147.html Is there a fix for this that works, or will be incorporated into a future version of cygwin? I looked in the FAQ and saw nothing about it. I have some nightly scripts that clean some directories, and if I leave a shell open in one of the directories, the scripts just run forever trying to remove the directory. I am using the following patch to unlink() on a version of Cygwin that is several months old. It does nothing unless there is a directory named .cygdel at the root of the drive holding the file to be deleted. In that case, it moves the file there before trying to delete it. Make sure you make the directory mode 777 when you create it... Works for me -- I think I posted this to the list but may be wrong. Joe Buehler Index: src/winsup/cygwin/syscalls.cc === RCS file: /cvs/src/src/winsup/cygwin/syscalls.cc,v retrieving revision 1.214 diff -u -r1.214 syscalls.cc --- src/winsup/cygwin/syscalls.cc 2 Jul 2002 03:06:32 - 1.214 +++ src/winsup/cygwin/syscalls.cc 8 Aug 2002 16:38:12 - @@ -142,6 +142,23 @@ SetFileAttributes (win32_name, (DWORD) win32_name ~FILE_ATTRIBUTE_READONLY); } + // attempt to rename before deleting + char *basename; + basename = strrchr(win32_name, '\\'); + if (basename *++basename) { +const char *rootdir = win32_name.root_dir(); +if (rootdir) { + const char *s = strrchr(rootdir, '\\'); + if (s !s[1]) { + char newname[MAX_PATH + 12]; + __small_sprintf(newname, %s.cygdel\\%s, rootdir, basename); + if (MoveFile(win32_name.get_win32(), newname)) { + win32_name.check(newname, PC_SYM_NOFOLLOW | PC_FULL); + } + } +} + } + DWORD lasterr; lasterr = 0; for (int i = 0; i 2; i++) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
How do I stop newly-created files from being +x?
I'm using Cygwin 1.3.15-1 with ntsec on an NTFS filesystem. I have my umask set to 077, and when I create a new file from a Cygwin application, it's permissions are rw-r--r--, which is what I expect. But if I create a new file from a non-Cygwin application (e.g., copy a file using Explorer), Cygwin applications show its permissions as rwxr-xr-x, which is not what I expect. Is there any way to make it so that files created by non-Cygwin applications do not appear executable to Cygwin applications? I think this is happening because the ACLs on my directory are: c:\franl MYDOMAIN\litterio:(OI)(CI)F MYDOMAIN\Domain Users:(OI)(CI)R Everyone:(OI)(CI)R I think this is happening because the F (full control) access is marked (OI)(CI) (object inherit + container inherit). I've played with cacls.exe to attempt to fix this, but to no avail. Anyone else having this problem? Anyone know how to fix it? -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How do I stop newly-created files from being +x?
Francis Litterio [EMAIL PROTECTED] wrote: I'm using Cygwin 1.3.15-1 with ntsec on an NTFS filesystem. I have my umask set to 077, and when I create a new file from a Cygwin application, it's permissions are rw-r--r--, which is what I expect. But if I create a new file from a non-Cygwin application (e.g., copy a file using Explorer), Cygwin applications show its permissions as rwxr-xr-x, which is not what I expect. Sorry, thats the way Windows works. Cygwin can't influence non-Cygwin apps. Is there any way to make it so that files created by non-Cygwin applications do not appear executable to Cygwin applications? Turn off ntsec? Patch Cygwin to use its nontsec 'work out whether it is executable' code even in ntsec mode? I think this is happening because the ACLs on my directory are: c:\franl MYDOMAIN\litterio:(OI)(CI)F MYDOMAIN\Domain Users:(OI)(CI)R Everyone:(OI)(CI)R I think this is happening because the F (full control) access is marked (OI)(CI) (object inherit + container inherit). I've played with cacls.exe to attempt to fix this, but to no avail. If you do 'fix' this, then you are likely to have problems with .exe and .dll files being unable to run. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: What is the W2K equivalent of chgrp groupname file?
Francis Litterio [EMAIL PROTECTED] wrote: I just upgraded to a Cygwin 1.3.15-2, and I'm using ntsec-style security with NTFS for the first time. This has me wondering about group ownership of files, specifically: What is the W2K equivalent of the command chgrp groupname file? Using Explorer, I can change the user that owns a file or directory, but I see no way to change the group owner. Is group ownership really a feature of NTFS or is it faked by Cygwin? I believe, but have not checked, that it is a feature of NTFS - just that Windows doesn't actually use it for anything much, just defaulting it to 'None' or 'SYSTEM'. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gcc (as.exe) install error
On Mon, Nov 18, 2002 at 03:46:54PM -0600, Danny Sauer wrote: Ok, so I found what appears to be my problem. I had installed cygwin to a network drive (samba running on a linux machine). Apperently, the installer expects to be able to create symlink-like files on the Win2K system that it was running on, and those don't work over the samba server. I ran the reinstaller to a local drive, and it now works just fine. This is somewhat irritating, as it means that I've gotta install this environment locally on every machine that I'd like to use it on, was well as updating each instalation individually. Is there a way around this? Is this issue a known bug, or should I further investigate my setup? setup uses old-style symlinks which don't work reliably on a samba-mounted partition, although with newer versions of samba that may change. You can just remove and recreate the symlinks and they should work ok. There isn't any automated way to do this but it should be relatively trivial to write a script, something like: foreach f *; do t=`readlink $f 2/dev/null` [ -z $t ] continue rm -f $f ln -s $t $f done Do this in the /bin and /usr/i686-pc-cygwin/bin directories. I HAVE NOT tried the above so you should be very careful before trying it. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Postgresql installation problems.
On Mon, Nov 18, 2002 at 03:49:47PM -0500, Jason Tishler wrote: Any XP users successfully running PostgreSQL? If so, please post your experiences to the list. I'm especially interested in XP Home, since I assume that XP Pro will be the same as NT/2000. I'm using XP Pro. On Sat, Nov 16, 2002 at 05:44:58PM +0100, Kurt Roeckx wrote: I'm trying to install postgresql on windows XP. Please see the following thread: http://archives.postgresql.org/pgsql-cygwin/2002-11/msg00037.php Oh, didn't know about that list yet ... I have a problem getting the ipc-deamon to work. When I run ipc-daemon --install-as-service, it doesn't want to start. What version of Cygwin are you using? An older version (IIRC, 1.3.13), had issues with running ipc-daemon as a service. Please upgrade to the latest Cygwin, if necessary. I'm using 1.3.15. It's a fresh install of a few days ago. If I then try my initdb, it hangs itself creating the template1 database, like in case the ipc-daemon isn't running. The above implies that you are not using the latest Cygwin PostgreSQL, please upgrade to the latest. I'm still using 7.2.3-1, I guess I downloaded it just before 7.2.3-2 came out ... It seems it should just give a error instead of using all CPU. Anything else changed? Note that the documentation says that you have to run initdb before you start the ipc-daemon service, but I thought that that is wrong and initdb requires the service too. The above typo has been recently corrected: I knew about it, I've hit the same problem over a year ago. I wonder why it never got corrected. :) Please read the README regarding what clean up is necessary when switching the account under which ipc-daemon runs. I did remove the files in /tmp. I tried about everything I could think of. Kurt -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: dd command problem??
This is in the User Guide: http://www.cygwin.com/cygwin-ug-net/using-specialnames.html 'a:', or 'a:/' is the name of the root directory of the floppy drive, it in not the name of the device. -Original Message- From: Bizhong Hu [mailto:[EMAIL PROTECTED]] Sent: Sunday, November 17, 2002 2:54 PM To: [EMAIL PROTECTED] Subject: dd command problem?? Hello, I am using cygwin 1.3.10 on win2k system. recently while I try to write some file into a: using following command: dd if=myfile of=a: bs=512 count=1, the computer tried to write and then come back give me error message: dd open a:, Permission denied. I switched to administrator account to do the same thing, the same result. It is obvious to me that dd try to write to a dirve. Is dd not working yet? or my setup is not correct? Thanks Bizhong Hu [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
ramped CPU problem with fetchmail
Output from: fetchmail --version: This is fetchmail release 6.1.2+NTLM+SSL+NLS Fallback MDA: /usr/bin/procmail -d %T CYGWIN_NT-5.1 CWEEKS-LAP 1.3.15(0.63/3/2) 2002-11-07 13:57 i686 unknown Taking options from command line and /home/cpw/.fetchmailrc Logfile is /var/log/fetchmail.log Idfile is /home/cpw/.fetchids Other info is attached. Problem summary: It appears that the CPU ramp problem with emacs that has been discussed on this mailing list is not restricted to emacs. Fetchmail, running in daemon mode, reliably exhibits the same behaviour. The exact setup is that the fetchmail daemon is NOT able to successfully look up the name of my mailhost (it's inside a VPN that isn't dialled up when the spin happens). The fetchmail daemon, whether run as fetchmail -d or as a service will then start consuming 99-100% CPU until it is killed. It should be noted that if it can successfully get the DNS name of the mail server it doesn't exhibit this behaviour (until it can't hit it). Attached are strace and cygcheck output. It appears that the WM_TIMER signal sets the process spinning out of control. Maybe the winsock is in some kind of invalid state because of the dns failure and makes the timer fail? Pure speculation. Christian Cygwin Win95/NT Configuration Diagnostics Current System Time: Mon Nov 18 19:19:45 2002 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\java\jdk1.4.1\bin\ c:\oracle\oradb92\bin c:\java\oracle\jre\1.3.1\bin c:\java\oracle\jre\1.1.8\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem C:\cygwin\usr\X11R6\bin SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS HOME = `C:\cygwin\home\cpw' MAKE_MODE = `unix' PWD = `/home/cpw' USER = `cpw' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\cweeks\Application Data' CLASSPATH = `c:\oracle\oradb92\jdbc\lib\classes12.jar' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `CWEEKS-LAP' COMSPEC = `C:\WINDOWS\system32\cmd.exe' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\cweeks' JAVA_HOME = `c:\java\jdk1.4.1' LOGONSERVER = `\\CWEEKS-LAP' MANPATH = `:/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/usr/bin' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 4, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0204' PROGRAMFILES = `C:\Program Files' PS1 = `\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\DOCUME~1\cweeks\LOCALS~1\Temp' TERM = `cygwin' TMP = `c:\DOCUME~1\cweeks\LOCALS~1\Temp' USERDOMAIN = `CWEEKS-LAP' USERNAME = `cpw' USERPROFILE = `C:\Documents and Settings\cweeks' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options c: hd NTFS 28552Mb 55% CP CS UN PA FC WinXP d: cd CDFS 551Mb 100%CS UN RCT2 C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive userbinmode,cygdrive Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Not Found: cpp (good!) Found: C:\cygwin\bin\find.exe Not Found: gcc Not Found: gdb Not Found: ld Found: C:\cygwin\bin\ls.exe Not Found: make Found: C:\cygwin\bin\sh.exe 643k 2002/11/09 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0 cygcrypto.dll v0.0 ts=2002/11/9 2:56 45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0 cygform5.dll v0.0 ts=2001/4/24 23:28 35k
re: Problem with bison-1.75-1
I think I've found the cause and cure to the bison 1.75-1 bug in which C output is not generated. The new version of bison uses m4 to generate the output file (thanks to Paul Eggert for telling me this). However, when installing bison 1.75-1, I've found that the cygwin setup program does not cause m4 to be installed if m4 is not already installed. Furthermore, bison doesn't seem to produce any error message while running and m4 is not present. Liron Lightwood -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
SPEWS blocked me
Is SPEWS necessary? I see that the whole DSL IP range of our company's ISP is blocked. Terrible that each user needs to beg the mercy of SPEWS or individually send request to register their e-mail addresses safely to use in Cygwin. No intention to insult. Just feel there may be alternate ways to do that. Once our mail server is blocked by a open relay list, but it is easier to remedy and I feel good that a security hole in our mail server is eliminated. Best regards, Wu Yongwei -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: .rhosts on W2K w/o ntsec
On Mon, Nov 18, 2002 at 10:50:43AM +0100, Christian Mueller wrote: Unless, of course, I turn ntsec off again as soon as ruserok() has completed. The only way to do this would be in /etc/profile. Is this safe, i.e. will Cygwin see the environment changing and turn off ntsec for *all* subsequent syscalls and processes, even after forking, setting new userids, ? What do you mean setting new userids? It is safe to turn ntsec off in the /etc/profile or ~/.bash_profile sourced by the login shell. Of course the login shell itself will still have ntsec on, so it needs to reexec itself after turning ntsec off. Another problem would be that other services which don't start shells such as the IPC daemon, apache, etc. would end up using ntsec. Not sure if that's really a problem. At any rate that can be controlled with the -e argument of cygrunsrv, but I don't know what will happen in each case. Wouldn't it be a good idea to store uid and gid in the extended attributes as well and use them if ntsec is turned off? At least for me this would be the perfect solution They are, of course, but Cygwin does not report them when ntsec is off. Changing that behavior would probably hurt other users. Asking for a special cmueller field to CYGWIN is unlikely to yield a positive reply. I have reread your original e-mail and I don't fully understand why nontsec helps you. The reasons you give are not compelling. Even with nontsec, the files you create are not owned by Administrators. Also, the directories created by Cygwin with ntsec do have inheritance turned on. In fact that inheritance determines the ACL of files created by Cygwin when ntsec is off, and also the ACL created by most Windows applications. Incidentally you can display these stupid permissions with getfacl and change them with setfacl, so you could add Administrators if needed. Is your group Administrators? If not, wouldn't it help to change it to that? Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: SPEWS blocked me
On Tue, Nov 19, 2002 at 11:16:51AM +0800, Wu Yongwei wrote: Is SPEWS necessary? I see that the whole DSL IP range of our company's ISP is blocked. Terrible that each user needs to beg the mercy of SPEWS or individually send request to register their e-mail addresses safely to use in Cygwin. Yeah. It's really really terrible isn't it? The horror of having to take an extra five minutes to register yourself. The mind numbing searing pain is almost inconceivable. No intention to insult. Just feel there may be alternate ways to do that. Once our mail server is blocked by a open relay list, but it is easier to remedy and I feel good that a security hole in our mail server is eliminated. Given that a marjority of the spam that makes it by all of the other filters is blocked by OsiruSoft, I don't think I'm going to be eliminating it anytime soon, especially when you can trivially bypass the block. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ramped CPU problem with fetchmail
On Mon, Nov 18, 2002 at 09:32:47PM -0700, Christian Weeks wrote: Output from: fetchmail --version: This is fetchmail release 6.1.2+NTLM+SSL+NLS Fallback MDA: /usr/bin/procmail -d %T CYGWIN_NT-5.1 CWEEKS-LAP 1.3.15(0.63/3/2) 2002-11-07 13:57 i686 unknown Taking options from command line and /home/cpw/.fetchmailrc Logfile is /var/log/fetchmail.log Idfile is /home/cpw/.fetchids Other info is attached. Problem summary: It appears that the CPU ramp problem with emacs that has been discussed on this mailing list is not restricted to emacs. So why aren't you trying the solution that was proposed for the problem? This is, what?, the third time today that someone has posted saying that they've noticed the discussion while missing the fact that the problem is supposed to be fixed in the latest snapshots. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem with bison-1.75-1
On Tue, Nov 19, 2002 at 01:45:30PM +1100, Lightwood, Liron wrote: I think I've found the cause and cure to the bison 1.75-1 bug in which C output is not generated. The new version of bison uses m4 to generate the output file (thanks to Paul Eggert for telling me this). However, when installing bison 1.75-1, I've found that the cygwin setup program does not cause m4 to be installed if m4 is not already installed. Furthermore, bison doesn't seem to produce any error message while running and m4 is not present. I'll add a m4 dependency to bison. Thanks for the heads up. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ls problem
Thanks for the info. I've read the FAQ and it mentioned something about the // notation on the PATH environment variable. I checked my PATH variable and there was no presence of the // notation. I then set the PATH to include only the usual bin directories but ls -l is still considerably slow. I try both time ls -b and time ls -l and there is considerable difference. The cygwin1.dll version I am using is 1.3.15-cygwin-1-3-15-1. fcarlo@ZEUS~ $ time ls -b a b test real0m0.024s user0m0.030s sys 0m0.015s fcarlo@ZEUS ~ $ time ls -l total 11 -rw-r--r--1 fcarlo None5 Nov 19 13:58 a -rw-r--r--1 fcarlo None5 Nov 19 13:58 b -rw-r--r--1 fcarlo None 8283 Nov 19 13:59 test real0m1.819s user0m0.030s sys 0m0.000s On Monday 18 Nov 02, Carlo Florendo writes: Hello, I've been using cygwin for 3 years now and last week, I downloaded the latest cygwin from one of the mirrors and everything in well except for one problem. I noticed that whenever I type 'ls -', the output gets delayed for a few seconds. This never happened to me using the old cygwin. There is a FAQ entry, Why is Cygwin suddenly *so* slow?. Maybe it describes your problem. Regards, David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: SPEWS blocked me
OK, you might be right. Thanks that you at least provide a way to bypass the foolish anti-spam mechanism. The fact is that I hate the way SPEWS works. It thinks it is the crusade and refuses to remove individual IPs. The following is what I got from them: We are blocking 21vianet.com because they ignore spam complaints. When the 21vianet spam stops, the blocks will come down. Not before. If you have a problem, complain to 21vianet. They are the source of your problem. Cameron I don't think I can easily educate my ISP, nor can I switch my ISP because of this. -- But I realize that I am not much better in that I want to cure them instead of being cured And this is going off-topic. I stop now. Best regards, Wu Yongwei --- Original Message from Christopher Faylor --- Is SPEWS necessary? I see that the whole DSL IP range of our company's ISP is blocked. Terrible that each user needs to beg the mercy of SPEWS or individually send request to register their e-mail addresses safely to use in Cygwin. Yeah. It's really really terrible isn't it? The horror of having to take an extra five minutes to register yourself. The mind numbing searing pain is almost inconceivable. No intention to insult. Just feel there may be alternate ways to do that. Once our mail server is blocked by a open relay list, but it is easier to remedy and I feel good that a security hole in our mail server is eliminated. Given that a marjority of the spam that makes it by all of the other filters is blocked by OsiruSoft, I don't think I'm going to be eliminating it anytime soon, especially when you can trivially bypass the block. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: PHP is minimal
Hallo Jacques, I try to recompile mysql under cygwin, but it's a pain (every intermediate .exe in the makefile core dumps...) with gcc 3.x or gcc 2.95. I will be happy if someone has a solution to get a php as delivered actually + image functions. I can offer a precompiled MySQL including the client lib. The Cygwin based MySQL server doesn't run well, but it is possible to use the client lib: http://koeln.convey.de/cywgin/mysql/ Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] Updated: binutils-20021117-1
I've made a new version of binutils available for download. This is just a refresh from sources.redhat.com. A notable change is the addition of Egor Duda's --enable-runtime-pseudo-reloc option which allows almost transparent linking of dll's without the need of a def file. However, this option requires functionality in the cygwin DLL which is not yet present. Stay tuned. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. You'll find binutils listed in the Devel category. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . I would appreciate it if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin in general. Of course, it always pays to check the mailing list archives prior to posting to save yourself the embarrassment of asking a question that has been asked multiple times before. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Christopher Faylor Engineering Manager Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ramped CPU problem with fetchmail
On Mon, Nov 18, 2002 at 09:32:47PM -0700, Christian Weeks wrote: [..stuff..] So why aren't you trying the solution that was proposed for the problem? This is, what?, the third time today that someone has posted saying that they've noticed the discussion while missing the fact that the problem is supposed to be fixed in the latest snapshots. Thank you for your reply. I have tried the proposed solution at your request (I downloaded and attempted each of the 13th, 14th, 15th and 16th snapshot fixes). The attached trace file is the result (it appears to be the same under the 15th and 16th snapshots- I did not bother generating for 13th 14th). It is still unfortunately not correctly functional. Instead of ramping my CPU (now I only see very small spikes of 100%) it aborts the fetchmail daemon. This is the log output from fetchmail: fetchmail: starting fetchmail 6.1.2 daemon fetchmail: couldn't find canonical DNS name of my.mail.server.com fetchmail: Query status=11 (DNS) fetchmail: sleeping at Tue Nov 19 00:10:16 2002 fetchmail: terminated with signal 14 I expected it to enter it's sleep/wake cycle, but it doesn't appear to do so. Thanks for looking at this problem. Christian trace.log.bz2 Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
GCC: what is wrong with function
I got problem compiling some software and see that some of them core dumps when calling functions deefined in their code. Here is a very simple test program. It runs perfectly as we can expect under AIX. #include stdio.h int p(char *s); int main(int argc, char *argv[]) { int ind = 0 ; int r = 0 ; for ( ind = 0 ; ind argc ; ind++ ) { printf(%d:%s\n,ind,argv[ind]) ; } printf(-\n ) ; for ( ind = 0 ; ind argc ; ind++ ) { char *ptr=argv[ind] ; printf(%d %d\n,ptr, argv[ind]) ; printf(%d %d %s\n,ind,sizeof(ptr),ptr) ; printf(%d %d %s\n,ind,sizeof(argv[0]),ptr) ; printf(%d %d %s\n,ind,sizeof(int),ptr) ; r = p(argv[ind]) ; printf(%d %d %s\n,r,ind,ptr) ; } return(0) ; } int p(char *s){ printf(dans p:%d %s\n,s,s) ; return(2); } -- and the result is : ~/tmp $gcc f.c ./a arg1 arg2 arg3 0:./a 1:arg1 2:arg2 3:arg3 - 1633486648 1633486648 0 4 ./a 0 4 ./a 0 4 ./a 4 0 ./a 1633486200 1633486200 1 4 arg1 1 4 arg1 1 4 arg1 4 1 arg1 1633486688 1633486688 2 4 arg2 2 4 arg2 2 4 arg2 4 2 arg2 1633493448 1633493448 3 4 arg3 3 4 arg3 3 4 arg3 4 3 arg3 ~/tmp $ gcc -v Reading specs from /bin/../lib/gcc-lib/i686-pc-cygwin/3.2/specs Configured with: /netrel/src/gcc-3.2-1/configure --enable- languages=c,c++,f77,java --enable-libgcj --enable-threads=posix --with-system- zlib --enable-nls --without-included-gettext --enable-interpreter --disable- sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared -- build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable- haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib -- includedir=/nonexistent/include --libexecdir=/usr/sbin Thread model: posix gcc version 3.2 20020818 (prerelease) Sometimes it coredumps, but this time we can see : 1) the code in p function isn't executed 2) the following printf after the call show a return value (r) incoherent. I got gcc using setup, it seems to be a prerelease. But I don't belive gcc is concerned, I surely miss something? I have no time to investigate. Some explanation. -- CHAUVIERE Jean-Raymond 06 80 38 01 14 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/