RE: [ANNOUNCEMENT] Server Test 70
Yes that works fine, as does -rootless. As a sanity check, try starting without the -multiwindow parameter. Let us know if the server comes up at all. Harold -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of J S Sent: Sunday, January 12, 2003 4:20 PM To: [EMAIL PROTECTED] Subject: Re: [ANNOUNCEMENT] Server Test 70 Links: I just posted Test 70 to the server development page: http://xfree86.cygwin.com/devel/shadow/ You can install the Test 70 package via setup.exe by selecting the 'test' package (and be sure to check the 'Bin' box): XFree86-xserv-4.2.0-18 Server Test Series binary and source code releases are now available via the sources.redhat.com ftp mirror network (http://cygwin.com/mirrors.html) in the pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the desired filename in the links below, then download from your closest mirror (http://cygwin.com/mirrors.html). Server binary, direct link: http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test70.exe.bz2 (1196 KiB) Server source, direct link: http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030112-1434.tar.bz2 (95 KiB) Changes: 1) EXPERIMENTAL: New multiwindow mode (invoked with the ``-multiwindow'' command-line parameter) that creates each top-level X window in a Microsoft Windows window. Note that there are still debugging options on in this release, so do not expect multiwindow mode to be polished enough for everyday use. (Kensuke Matsuzaki) Enjoy, Harold Hi Harold, I've just tried to test it out on my windows machine at home and got a sefmentation fault. $ xwin -multiwindow Segmentation fault (core dumped) Nothing is written to /tmp/xwin.log and there isn't even a core file. Not sure what else I can do to debug this. FYI, I'm using Windows 98 SE, and all my cygwin packages are up to date. Cheers, JS. Sorry just found /tmp/Xwinrl.log is used instead of /tmp/xwin.log. This is all I got though: winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 24 winCreateDefColormap - Deferring to fbCreateDefColormap () null screen fn ReparentWindow null screen fn RestackWindow Queue Size 0 0 winScreenInit - returning (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options = (n ull) DISPLAY=:0.0 Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! 10104218:winCreateWindowMultiWindow 10104218:winPositionWindowMultiWindow 10104218:winChangeWindowAttributesMultiWindow 10104218:winMapWindowMultiWindow winUpdateWindowsWindow -winUpdateWindowsWindow _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
Re: [ANNOUNCEMENT] Server Test 70
* Harold L Hunt II [EMAIL PROTECTED] [2003-01-12 14:53:55 -0500]: 1) EXPERIMENTAL: New multiwindow mode (invoked with the Windows NT Workstation 4.0 SP6a with IE 5.5 works great. Just an FYI. -- John Buttery (Web page temporarily unavailable) msg04667/pgp0.pgp Description: PGP signature
RE: [ANNOUNCEMENT] Server Test 70
I've also had the same problem at work, on Windows 2000: $ cat /tmp/XWinrl.log ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1152 h 864 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Multi Window = ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 24 bits per pixel winCreateBoundingWindowWindowed - Initial w: 1152 h: 864 winAdjustForAutoHide - Original WorkArea: 0 0 836 1152 winAdjustForAutoHide - Adjusted WorkArea: 0 0 836 1152 winCreateBoundingWindowWindowed - WindowClient w 1152 h 836 r 1152 l 0 b 836 t 0 winCreateBoundingWindowWindowed - Returning winQueryRGBBitsAndMasks - GetDeviceCaps (BITSPIXEL) returned 24 for the screen. Using default 24bpp masks. winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 24 winCreateDefColormap - Deferring to fbCreateDefColormap () null screen fn ReparentWindow null screen fn RestackWindow winScreenInit - returning (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options = (null) Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! DISPLAY=:0.0 Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! Yes that works fine, as does -rootless. As a sanity check, try starting without the -multiwindow parameter. Let us know if the server comes up at all. Harold -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of J S Sent: Sunday, January 12, 2003 4:20 PM To: [EMAIL PROTECTED] Subject: Re: [ANNOUNCEMENT] Server Test 70 Links: I just posted Test 70 to the server development page: http://xfree86.cygwin.com/devel/shadow/ You can install the Test 70 package via setup.exe by selecting the 'test' package (and be sure to check the 'Bin' box): XFree86-xserv-4.2.0-18 Server Test Series binary and source code releases are now available via the sources.redhat.com ftp mirror network (http://cygwin.com/mirrors.html) in the pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the desired filename in the links below, then download from your closest mirror (http://cygwin.com/mirrors.html). Server binary, direct link: http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test70.exe.bz2 (1196 KiB) Server source, direct link: http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030112-1434.tar.bz2 (95 KiB) Changes: 1) EXPERIMENTAL: New multiwindow mode (invoked with the ``-multiwindow'' command-line parameter) that creates each top-level X window in a Microsoft Windows window. Note that there are still debugging options on in this release, so do not expect multiwindow mode to be polished enough for everyday use. (Kensuke Matsuzaki) Enjoy, Harold Hi Harold, I've just tried to test it out on my windows machine at home and got a sefmentation fault. $ xwin -multiwindow Segmentation fault (core dumped) Nothing is written to /tmp/xwin.log and there isn't even a core file. Not sure what else I can do to debug this. FYI, I'm using Windows 98 SE, and all my cygwin packages are up to date. Cheers, JS. Sorry just found /tmp/Xwinrl.log is used instead of /tmp/xwin.log. This is all I got though: winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 24 winCreateDefColormap - Deferring to fbCreateDefColormap () null screen fn ReparentWindow null screen fn RestackWindow Queue Size 0 0 winScreenInit - returning (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options = (n ull) DISPLAY=:0.0 Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! 10104218:winCreateWindowMultiWindow 10104218:winPositionWindowMultiWindow 10104218:winChangeWindowAttributesMultiWindow 10104218:winMapWindowMultiWindow winUpdateWindowsWindow -winUpdateWindowsWindow _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _ Add
Re: [ANNOUNCEMENT] Server Test 70
* J S [EMAIL PROTECTED] [2003-01-13 10:21:57 +]: I've also had the same problem at work, on Windows 2000: Just for grins, does it still do it when you use the startup batch file? c:\cygwin\usr\X11R6\bin\startxwin.bat (or similar, of course) -- John Buttery (Web page temporarily unavailable) msg04669/pgp0.pgp Description: PGP signature
Re: [ANNOUNCEMENT] Server Test 70
Yes. $ startxwin.bat startxwin.bat - Starting on Windows NT/2000 Signal 11 giving up. xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server error. * J S [EMAIL PROTECTED] [2003-01-13 10:21:57 +]: I've also had the same problem at work, on Windows 2000: Just for grins, does it still do it when you use the startup batch file? c:\cygwin\usr\X11R6\bin\startxwin.bat (or similar, of course) -- John Buttery (Web page temporarily unavailable) attach3 _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
Re: [ANNOUNCEMENT] Server Test 70
Just some wild guess, you are running the correct rxvt? Not the cygwin native rxvt? /Andy / Yadin Y Goldschmidt [EMAIL PROTECTED] wrote: | Hi Harold, | I would like to report success with windows xp. Multiwindow mode works! | However there is still one problem: | from startxwin.bat I invoke rxvt and this starts fine. If from this rxvt I | start xterm or another rxvt then first time it starts it kind of vibrate non | stop and I have to kill it by clicking on the x on the top right corner. If | I now start again rxvt it starts fine and so are all other windows like | xclock, xcircuit, etc. I don't understand why the first time I invoke | another window it enters into a trans and later instances are fine. | Yadin. | Harold L Hunt II [EMAIL PROTECTED] wrote in message | [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... | Links: | | I just posted Test 70 to the server development page: | http://xfree86.cygwin.com/devel/shadow/ | | You can install the Test 70 package via setup.exe by selecting the | 'test' package (and be sure to check the 'Bin' box): | XFree86-xserv-4.2.0-18 | | Server Test Series binary and source code releases are now | available via the sources.redhat.com ftp mirror network | (http://cygwin.com/mirrors.html) in the | pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the | desired filename in the links below, then download from your | closest mirror (http://cygwin.com/mirrors.html). | | Server binary, direct link: | http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test70.exe.bz2 (1196 KiB) | | Server source, direct link: | http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030112-1434.tar.bz2 (95 | KiB) | | | Changes: | | 1) EXPERIMENTAL: New multiwindow mode (invoked with the | ``-multiwindow'' command-line parameter) that creates each | top-level X window in a Microsoft Windows window. Note that there are | still debugging options on in this release, so do not expect | multiwindow mode to be polished enough for everyday use. (Kensuke | Matsuzaki) | | | Enjoy, | | Harold | | | | | | -- The eye of the beholder rests on the beauty!
Re: [ANNOUNCEMENT] Server Test 70
It should not be running xinit when you start from startxwin.bat. Have you modified your startxwin.bat file? Try using the default file that comes with the XFree86-startup-scripts package. Remember to running it from a Windows command prompt, not from a bash shell. Harold J S wrote: Yes. $ startxwin.bat startxwin.bat - Starting on Windows NT/2000 Signal 11 giving up. xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server error. * J S [EMAIL PROTECTED] [2003-01-13 10:21:57 +]: I've also had the same problem at work, on Windows 2000: Just for grins, does it still do it when you use the startup batch file? c:\cygwin\usr\X11R6\bin\startxwin.bat (or similar, of course) -- John Buttery (Web page temporarily unavailable) attach3 _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
Is cygwin responsible for ntldr is missing?
Last night I uploaded, installed and ran the cygwin X11 server on my home computer (Windows 2000 professional). All fine (except that inside cygwin my Swiss-French keyboard was not treated correctly). When I shut down cygwin was still running, so I let the shutdown process kill it. This morning I cannot reboot my system: ntldr is missing all the time. I am inclined to think that it must be related to cygwin. Maybe cygwin plays around with the partitions. Anyway, how to recover the situation? Thanks for any help, Who am IJ. M. (Mike) Gerard FunctionCS Group Network Troubleshooter Snail mail Division IT, CERN, 1211 Geneva 23, Switzerland E-mail [EMAIL PROTECTED] Phone direct+41 22 7674707 Natel +41 79 2010526 Fax +41 22 7677155
Re: Is cygwin responsible for ntldr is missing?
No. Cygwin would have no way to screw up ntldr. Harold Mike Gerard wrote: Last night I uploaded, installed and ran the cygwin X11 server on my home computer (Windows 2000 professional). All fine (except that inside cygwin my Swiss-French keyboard was not treated correctly). When I shut down cygwin was still running, so I let the shutdown process kill it. This morning I cannot reboot my system: ntldr is missing all the time. I am inclined to think that it must be related to cygwin. Maybe cygwin plays around with the partitions. Anyway, how to recover the situation? Thanks for any help, Who am IJ. M. (Mike) Gerard FunctionCS Group Network Troubleshooter Snail mail Division IT, CERN, 1211 Geneva 23, Switzerland E-mail [EMAIL PROTECTED] Phone direct+41 22 7674707 Natel +41 79 2010526 Fax +41 22 7677155
Re: [ANNOUNCEMENT] xwinclip Test 08 (Cygwin/XFree86 and Windows clipboard integration)
* Harold L Hunt II [EMAIL PROTECTED] [2003-01-12 21:20:30 -0500]: I just posted Test 08 to the xwinclip development page: By the way, in this new version, whenever I select something (in an xterm), the following text gets printed to the terminal at the cursor position: electionNotify - Reasserted ownership of ATOM: PRIMARY Is this normal? -- John Buttery (Web page temporarily unavailable) msg04675/pgp0.pgp Description: PGP signature
Re: [ANNOUNCEMENT] Server Test 70
It is the same with xterm. I don't have to use rxvt at all. The first invocation of another window from the initial window has to be killed and then it works fine. This is with win xp and twm. Andrew Markebo [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Just some wild guess, you are running the correct rxvt? Not the cygwin native rxvt? /Andy / Yadin Y Goldschmidt [EMAIL PROTECTED] wrote: | Hi Harold, | I would like to report success with windows xp. Multiwindow mode works! | However there is still one problem: | from startxwin.bat I invoke rxvt and this starts fine. If from this rxvt I | start xterm or another rxvt then first time it starts it kind of vibrate non | stop and I have to kill it by clicking on the x on the top right corner. If | I now start again rxvt it starts fine and so are all other windows like | xclock, xcircuit, etc. I don't understand why the first time I invoke | another window it enters into a trans and later instances are fine. | Yadin. | Harold L Hunt II [EMAIL PROTECTED] wrote in message | [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... | Links: | | I just posted Test 70 to the server development page: | http://xfree86.cygwin.com/devel/shadow/ | | You can install the Test 70 package via setup.exe by selecting the | 'test' package (and be sure to check the 'Bin' box): | XFree86-xserv-4.2.0-18 | | Server Test Series binary and source code releases are now | available via the sources.redhat.com ftp mirror network | (http://cygwin.com/mirrors.html) in the | pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the | desired filename in the links below, then download from your | closest mirror (http://cygwin.com/mirrors.html). | | Server binary, direct link: | http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test70.exe.bz2 (1196 KiB) | | Server source, direct link: | http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030112-1434.tar.bz2 (95 | KiB) | | | Changes: | | 1) EXPERIMENTAL: New multiwindow mode (invoked with the | ``-multiwindow'' command-line parameter) that creates each | top-level X window in a Microsoft Windows window. Note that there are | still debugging options on in this release, so do not expect | multiwindow mode to be polished enough for everyday use. (Kensuke | Matsuzaki) | | | Enjoy, | | Harold | | | | | | -- The eye of the beholder rests on the beauty!
Antwort: Is cygwin responsible for ntldr is missing?
Hi, his morning I cannot reboot my system: ntldr is missing all the time. I am inclined to think that it must be related to cygwin. Maybe cygwin plays around with the partitions. Anyway, how to recover the situation? Perhaps just a floppy in the drive? HTH hjb
Re: [ANNOUNCEMENT] xwinclip Test 08 (Cygwin/XFree86 and Windows clipboardintegration)
Can you download the TEST07 version from xfree.cygwin.com and test that (you'll need to set DISPLAY=ww.xx.yy.zz:0). If it doesn't give those messages then let me know. Jeremy John Buttery wrote: * Harold L Hunt II [EMAIL PROTECTED] [2003-01-12 21:20:30 -0500]: I just posted Test 08 to the xwinclip development page: By the way, in this new version, whenever I select something (in an xterm), the following text gets printed to the terminal at the cursor position: electionNotify - Reasserted ownership of ATOM: PRIMARY Is this normal?
Re: [ANNOUNCEMENT] Server Test 70
Thanks Harold, I am calling the startx script from startxwin.bat so that I can use .xserverrc and .xinitrc. However I tried using the original startxwin.bat and changing start xwin to start xwin -multiwindow and get the same result. Basically X begins to start and abends. I thought that you said the debug was switched on in this version but I can't see any debug info here. JS. It should not be running xinit when you start from startxwin.bat. Have you modified your startxwin.bat file? Try using the default file that comes with the XFree86-startup-scripts package. Remember to running it from a Windows command prompt, not from a bash shell. Harold J S wrote: Yes. $ startxwin.bat startxwin.bat - Starting on Windows NT/2000 Signal 11 giving up. xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server error. * J S [EMAIL PROTECTED] [2003-01-13 10:21:57 +]: I've also had the same problem at work, on Windows 2000: Just for grins, does it still do it when you use the startup batch file? c:\cygwin\usr\X11R6\bin\startxwin.bat (or similar, of course) -- John Buttery (Web page temporarily unavailable) attach3 _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
RE: Server Test 70
Hi, I now realized that I can avoid the problem I reported before if I invoke rxvt (or xterm) from startxwin.bat without the run command. Usually i had a line run rxvt ... in order to avoid an open command window. If I delete the run then I have to minimize the command window by hand but all subsequent windows invoked from the original xterm work fine. How can this be explaine?
Re: [ANNOUNCEMENT] Server Test 70
Milos, Is your cygwin all up to date? And if you issue the command 'xwin -multiwindow' from the bash prompt window, does that work OK? JS. Multiwindow works for me on Win2k. I can open xterm's and xclock's without any problems. The only minor problem I have is with LyX (uses xforms) - the drop down menus do not follow the window when it's moved, they always open at the original place. Otherwise, I love it. Thanks Kensuke! Milos _ Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
Re: Connect from Unix to Windows via ssh and start an applycationwhich is using the windows display
Use VNC
Re: [ANNOUNCEMENT] xwinclip Test 08 (Cygwin/XFree86 and Windows clipboard integration)
* Jeremy Wilkins [EMAIL PROTECTED] [2003-01-13 13:34:26 +]: Can you download the TEST07 version from xfree.cygwin.com and test that (you'll need to set DISPLAY=ww.xx.yy.zz:0). If it doesn't give those messages then let me know. Test06 does not Test07 and Test08 do Windows NT Workstation 4.0 Service Pack 6a with IE 5.5 -- John Buttery (Web page temporarily unavailable) msg04685/pgp0.pgp Description: PGP signature
Re: Connect from Unix to Windows via ssh and start an applycation which is using the windows display
Hi , im working at the same problem, aiming to install software on remote pc's. at this time i CAN install by example the ms office package on a remote pc during an other user may be working on the system. I log on to the remote host as administrator, having full access to the system incl. registry an run the setup program under this rights. as you, i CANNOT get any output / performing input to the running programm. i just initiated a projekt where we develop a littel windows programm which should get the a process id as input, get the handle of the desktop window by the system and arrange the window according to the process under the desktop window. if it would work i could run central administrated (setup) programs on remote pc's and unpriviledged users could change settings -- Frank Sutor GF ZIT kd
Re: Connect from Unix to Windows via ssh and start an applycation which is using the windows display
Hi Axel, Axel Bauer [EMAIL PROTECTED] writes: Of course I know about the mechanisms of forwarding displays under unix/linux (like: xhost + hostname, export DISPLAY= hostname:x.x,,... ), but this seems not to work, because I want to connect to a display of a windows host and not to another X-Server. There is VNC as somebody else already said (see http://www.realvnc.com/ and a number of other sites). For a commercial solution there is Microsofts Terminal Services. so long, benny
Re: Connect from Unix to Windows via ssh and start an applycation which is using the windows display
The solution I use is VNC ( http://www.uk.research.att.com/vnc ) This is an open source / cross platform remote desktop tool. Basically it ships the screen pixels back from a remote server to a local client, and forwards mouse and keyboard commands the opposite way. Not only can you run any program on the remote computer you can also watch what someone is doing - invaluable for help desks tracking user problems. Both the server daemon and client browser are available for windows + unix. Martin Beckett
Connect from Unix to Windows via ssh and start an applycation which is using the windows display
I have the problem to start an application on windows 2000 from a unix host. I decided to do that task over ssh because of security reasons. The application has to use the display of the windows workstation. I installed cygwin on the windows host and configured the ssh-deamon as a windows service. Now I can login from a linux host to the windows machine, but I have a problem to start an application with a graphical surface. If I try to start notepad.exe for example, the shells hangs and I have to stop with CTRL-C. If I call a Cygwin-Shell on the windows-host directly and type notepad the application works correctly. If I try a ssh localhost on the Cygwin-Shell I have the same problem as described above. Of course I know about the mechanisms of forwarding displays under unix/linux (like: xhost + hostname, export DISPLAY= hostname:x.x,,... ), but this seems not to work, because I want to connect to a display of a windows host and not to another X-Server. Can anyone help me ? Axel Bauer Philips Medical Systems Boeblingen, Germany -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
Re: Connect from Unix to Windows via ssh and start an applycation which is using the windows display
The solution I use is VNC ( http://www.uk.research.att.com/vnc ) This is an open source / cross platform remote desktop tool. Basically it ships the screen pixels back from a remote server to a local client, and forwards mouse and keyboard commands the opposite way. Not only can you run any program on the remote computer you can also watch what someone is doing - invaluable for help desks tracking user problems. Both the server daemon and client browser are available for windows + unix. Martin Beckett I know th VNC application, but I think that this is not the right solution for my problem. With VNC you are able to forward display, mouse and keyboard to another machine. Thereby it is possible to connect from UNIX to Windows and start the application via mouseclick. In my case it is necessarry to start the windows-application through a Unix-Application (Perl-Script, Shell-Script, etc).I don't think, that there is a solution for that problem using VNC. Is it ? Neverteless, thanks for your efforts ! -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
Re: Connect from Unix to Windows via ssh and start an applycationwhich is using the windows display
Axel: Since you provided us with nothing to explain what you are trying to do, we all had to guess. If you need aceess to Windows GUI applications (you mentioned Notepad), you need a way to export the GUI. Windows is not X-Windows based so you have to use something else. We suggested VNC. There are others. Rdesktop if the Desktop is NT 4 or higher. You could run Windows Terminal Server and use either Rdesktop or the Citrix ICA java client. BTW, I use and SSH tunnel for VNC everyday. I can run any application I want included Cygwin applications.
Re: [ANNOUNCEMENT] xwinclip Test 08 (Cygwin/XFree86 and Windows clipboardintegration)
I think it is just a message that I turned on in TEST07... or maybe in an interim release. I will turn it off eventually... I promise :) Harold Jeremy Wilkins wrote: Can you download the TEST07 version from xfree.cygwin.com and test that (you'll need to set DISPLAY=ww.xx.yy.zz:0). If it doesn't give those messages then let me know. Jeremy John Buttery wrote: * Harold L Hunt II [EMAIL PROTECTED] [2003-01-12 21:20:30 -0500]: I just posted Test 08 to the xwinclip development page: By the way, in this new version, whenever I select something (in an xterm), the following text gets printed to the terminal at the cursor position: electionNotify - Reasserted ownership of ATOM: PRIMARY Is this normal?
Re: [ANNOUNCEMENT] Server Test 70
In multiwindow mode, don't start window manager. We must write code that behave as window manager, but I have not done yet. By the way, I made X Server move/resize window, instead of window manager. But changing z-order of window is still in X client side, that will cause problems. Kensuke Matsuzaki
Re: [ANNOUNCEMENT] Server Test 70
Following Kensuke's advice I deleted twm from startxwin.bat and now everything is fine even if I add the command run before rxvt (or xterm). Thanks Kensuke. Kensuke Matsuzaki [EMAIL PROTECTED] wrote in message news:15756.4580710188$[EMAIL PROTECTED]... In multiwindow mode, don't start window manager. We must write code that behave as window manager, but I have not done yet. By the way, I made X Server move/resize window, instead of window manager. But changing z-order of window is still in X client side, that will cause problems. Kensuke Matsuzaki
Re: Re: Connect from Unix to Windows via ssh and start an applycation which is using the windows display (more deatails)
O.K. I think I should explain my problem more detailed. Because of company confidentials I only will describe the principal problem. We have a unix-host, running several services. On this host we want to call a script ( e.g. perl or bash-script) which starts an application on the windows machine. The windows application itself is served by a human operator on the windows host. In other words: The only task of the unix machine is to start the application, nothing more. Our intention is to use an ssh-connection to do that task. Therefore I installed cygwin togehter with sshd. From the Unix side it should be possible to make an ssh-call like ssh -x user@windowshost applicationcommand The only problem is the connection from the sshd-service (on windows) to the windows-display. I think that Vince Hoffman gave me a very good hint in his answer. (Allow sshd to connect the windows display). I try them out at the moment. Axel -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
Re: Connect from Unix to Windows via ssh and start an applycationwhich is using the windows display (more deatails)
Axel Bauer wrote: O.K. I think I should explain my problem more detailed. Because of company confidentials I only will describe the principal problem. We have a unix-host, running several services. On this host we want to call a script ( e.g. perl or bash-script) which starts an application on the windows machine. The windows application itself is served by a human operator on the windows host. In other words: The only task of the unix machine is to start the application, nothing more. Our intention is to use an ssh-connection to do that task. Therefore I installed cygwin togehter with sshd. From the Unix side it should be possible to make an ssh-call like ssh -x user@windowshost applicationcommand The only problem is the connection from the sshd-service (on windows) to the windows-display. I think that Vince Hoffman gave me a very good hint in his answer. (Allow sshd to connect the windows display). I try them out at the moment. I'm no windows expert but maybe you try to not run the sshd as a service but start it up during the user login on the windows machine. This way I think that the sshd will be connected to the local display. Staf. ++-+ |Staf Verhaegen ([EMAIL PROTECTED]) |ADRESS: IMEC vzw. - ASP/LITHO| |tel: 016/ 281 783 |Kapeldreef 75| |fax: 016/ 281 214 |3001 Leuven (Belgium)| ++-+ For every tool there are at least 2 uses: the one it was designed for and the other for which it wasn't.
Re: [ANNOUNCEMENT] Server Test 70
Hi Kensuke, I commented out the window manager startup anyway. Besides, if I just run XWin -multiwindow from the command line, it shouldn't seg fault should it? JS. In multiwindow mode, don't start window manager. We must write code that behave as window manager, but I have not done yet. By the way, I made X Server move/resize window, instead of window manager. But changing z-order of window is still in X client side, that will cause problems. Kensuke Matsuzaki _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Re: [ANNOUNCEMENT] Server Test 70
By the way, is this the same file size as your xwin? $ ls -l `which xwin` -rwxr-xr-x1 U752359 unknown 3381760 Jan 12 19:34 /usr/X11R6/bin/xwin Hi Kensuke, I commented out the window manager startup anyway. Besides, if I just run XWin -multiwindow from the command line, it shouldn't seg fault should it? JS. In multiwindow mode, don't start window manager. We must write code that behave as window manager, but I have not done yet. By the way, I made X Server move/resize window, instead of window manager. But changing z-order of window is still in X client side, that will cause problems. Kensuke Matsuzaki _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
Re: [ANNOUNCEMENT] Server Test 70
Yes, same file size. (although my time is 14:34 not 19:34). Maybe your problem is that you are running win 98se whereas all users that reported success use xp/win2k. J S [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... By the way, is this the same file size as your xwin? $ ls -l `which xwin` -rwxr-xr-x1 U752359 unknown 3381760 Jan 12 19:34 /usr/X11R6/bin/xwin Hi Kensuke, I commented out the window manager startup anyway. Besides, if I just run XWin -multiwindow from the command line, it shouldn't seg fault should it? JS. In multiwindow mode, don't start window manager. We must write code that behave as window manager, but I have not done yet. By the way, I made X Server move/resize window, instead of window manager. But changing z-order of window is still in X client side, that will cause problems. Kensuke Matsuzaki _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
Re: [ANNOUNCEMENT] Server Test 70
J S, It is reply for Yadin. I am checking code, but I have not understood what cause seg fault. Please wait. Kensuke Matsuzaki
Re: [ANNOUNCEMENT] Server Test 70
J S, It seems that XWin.exe released by Harold doesn't print messages like 10104218:winCreateWindowMultiWindow. Did you compile it your self? Kensuke Matsuzaki
Re: [ANNOUNCEMENT] Server Test 70
No it's the experimental version I downloaded using the cygwin setup program. J S, It seems that XWin.exe released by Harold doesn't print messages like 10104218:winCreateWindowMultiWindow. Did you compile it your self? Kensuke Matsuzaki _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
Re: [ANNOUNCEMENT] Server Test 70
I have this problem on win2k and win98SE. By the way, is this the same file size as your xwin? $ ls -l `which xwin` -rwxr-xr-x1 U752359 unknown 3381760 Jan 12 19:34 /usr/X11R6/bin/xwin Hi Kensuke, I commented out the window manager startup anyway. Besides, if I just run XWin -multiwindow from the command line, it shouldn't seg fault should it? JS. In multiwindow mode, don't start window manager. We must write code that behave as window manager, but I have not done yet. By the way, I made X Server move/resize window, instead of window manager. But changing z-order of window is still in X client side, that will cause problems. Kensuke Matsuzaki _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _ The new MSN 8 is here: Try it free* for 2 months http://join.msn.com/?page=dept/dialup
Re: [ANNOUNCEMENT] Server Test 70
Get the -18 version that is out today. There was a short-lived -17 version. You must have gotten it. Harold J S wrote: No it's the experimental version I downloaded using the cygwin setup program. J S, It seems that XWin.exe released by Harold doesn't print messages like 10104218:winCreateWindowMultiWindow. Did you compile it your self? Kensuke Matsuzaki _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
Re: [ANNOUNCEMENT] Server Test 70
J S (Bach?), When you want to confirm file integrity in this manner, it's a good idea to use some kind of checksum program, too: sum, cksum, md5sum or sha1sum. All of these are available under Cygwin. Randall Schulz At 08:27 2003-01-13, J S wrote: By the way, is this the same file size as your xwin? $ ls -l `which xwin` -rwxr-xr-x1 U752359 unknown 3381760 Jan 12 19:34 /usr/X11R6/bin/xwin
Re: [ANNOUNCEMENT] Server Test 70
At 14:16 13/01/2003 +, J S wrote: Is your cygwin all up to date? Yeap, I have all the latest packages. And if you issue the command 'xwin -multiwindow' from the bash prompt window, does that work OK? Same problem with the menus is still present.
Re: [ANNOUNCEMENT] Server Test 70
I get the same problem with non-aligned menus with xfig also, so it is not LyX specific. But check this out: 1. open LyX or xfig (or I guess any gui app) 2. move the window 3. try to open a dropdown menu - the menus are detached and not aligned (they show up at the old window position) 4. open another window (either an action from the menu opens it, or just create an xterm or something) 5. try to open a menu again - the menus appear where they should be Anyone else seeing this?
Re: [ANNOUNCEMENT] Server Test 70
Yes, I see exactly the same behavior. The fact that after opening another window the problem is corrected means that it probably should not be difficult to correct. Milos Komarcevic [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I get the same problem with non-aligned menus with xfig also, so it is not LyX specific. But check this out: 1. open LyX or xfig (or I guess any gui app) 2. move the window 3. try to open a dropdown menu - the menus are detached and not aligned (they show up at the old window position) 4. open another window (either an action from the menu opens it, or just create an xterm or something) 5. try to open a menu again - the menus appear where they should be Anyone else seeing this?
Please consider!
REQUEST I am MR REUBEN SAVIMBI one of the favorite sons of Mr.JONAS SAVIMBI (The Rebel leader) and also the head of the Unita Forces of Angola who was killed in the Struggle between Angolan arm forces and his unita rebels On Friday the 22nd of February 2002. I am from Angola but currently I am currently on exile due to the War in my country between the Rebel Group (Unita rebels) Led by my father Jonas Savimbi and the Angolan Government. I want a trust worthy, honest and God fearing individual to go into business Partnership with and that is the reason why I have decided to contact you. The fund for investment is US$45.5M (Forty Five Million Five Hundred Thousand United States Dollars) and Diamond worth over Twelve Million Dollars. This fund was realized from the sales of Diamonds during the crisis between the Unita Rebels (headed by my father Jonas Savimbi) and the then President Jose Eduardo dos Santos Of Angola. I fled from my country with this fund, which my father suppose to use procure more arms for the Unita Rebels. This is because I felt that the battle waged by the Unita Forces was more of rebellion and it was baseless. I had this fund sealed in a diplomatic box and deposited in a private Security Company in Europe. I will need assistance from you to use your facilities to effect the removal of this fund and subsequently transferred to your nominated account in your country. This business has to be done in a more confidential manner. For participating in the business with me, I have two options for you. You can choose to have certain percentage of the funds or you can go into partnership with me for proper profitable investment of the money in your country. Whichever the option you want, feel free to notify me. The money is presently lodged with a security firm and I will give you further details immediately I hear from you. Please contact me immediately for the next line of action then I will introduce you to the security company where the funds are been deposited. I would like you to include your personal phone and fax numbers for more confidential Communication with the Security Company. I will like you to understand that I have no access to telephone for now so you are advice to contact me through my email address. Regards REUBEN J.SAVIMBI. (For the family)
Re: Please consider!
Do the list have spam filter ? = Sylvain Petreolle [EMAIL PROTECTED] Fight against Spam ! http://www.euro.cauce.org/en/index.html ICQ #170597259 Don't think you are. Know you are. Morpheus, in Matrix. ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
Re: Please consider!
It do, but it not perfect. RRS At 11:56 2003-01-13, Sylvain Petreolle wrote: Do the list have spam filter ? = Sylvain Petreolle
Re: [ANNOUNCEMENT] Server Test 70
That's the one I've got. I updated my cygwin at about 10 a.m GMT today. Get the -18 version that is out today. There was a short-lived -17 version. You must have gotten it. Harold J S wrote: No it's the experimental version I downloaded using the cygwin setup program. J S, It seems that XWin.exe released by Harold doesn't print messages like 10104218:winCreateWindowMultiWindow. Did you compile it your self? Kensuke Matsuzaki _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
Re: Please consider!
Chris, Hey. I'm not complaining. Sylvain was. I'm just making fun of his syntax. Shame on me. Shall I induce more cat scratches? I bled a little already this morning. RRS At 12:22 2003-01-13, Christopher Faylor wrote: On Mon, Jan 13, 2003 at 12:08:13PM -0800, Randall R Schulz wrote: It do, but it not perfect. Is there perfect spam filter? spamassassin didn't catch this particular one. FWIW, since the beginning of the year, there have been 273 messages sent to this list. 142 were blocked as spam. cgf
Re: Please consider!
thanks. --- Christopher Faylor [EMAIL PROTECTED] a écrit : On Mon, Jan 13, 2003 at 12:08:13PM -0800, Randall R Schulz wrote: It do, but it not perfect. Is there perfect spam filter? spamassassin didn't catch this particular one. FWIW, since the beginning of the year, there have been 273 messages sent to this list. 142 were blocked as spam. cgf = Sylvain Petreolle [EMAIL PROTECTED] Fight against Spam ! http://www.euro.cauce.org/en/index.html ICQ #170597259 Don't think you are. Know you are. Morpheus, in Matrix. ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
Re: Please consider!
On Mon, Jan 13, 2003 at 12:28:41PM -0800, Randall R Schulz wrote: Hey. I'm not complaining. Sylvain was. I'm just making fun of his syntax. ? I didn't think you were complaining. I did think Sylvain was. I was just pointing out that the spam filter actually seems to be working pretty well. cgf Shame on me. Shall I induce more cat scratches? I bled a little already this morning. At 12:22 2003-01-13, Christopher Faylor wrote: On Mon, Jan 13, 2003 at 12:08:13PM -0800, Randall R Schulz wrote: It do, but it not perfect. Is there perfect spam filter? spamassassin didn't catch this particular one. FWIW, since the beginning of the year, there have been 273 messages sent to this list. 142 were blocked as spam.
Re: [ANNOUNCEMENT] Server Test 70
Sorry Harold, Looks like I did have version -17 (on win98SE). I've just downloaded -18 and that works fine. $ cygcheck --check-setup | grep -i xfr XFree86-Xaw3d 1.5-1 XFree86-base4.2.0-1 XFree86-bin 4.2.0-2 XFree86-doc 4.2.0-1 XFree86-etc 4.2.0-1 XFree86-f1004.2.0-2 XFree86-fenc4.2.0-2 XFree86-fnts4.2.0-2 XFree86-fscl4.2.0-2 XFree86-fsrv4.2.0-1 XFree86-html4.2.0-1 XFree86-lib 4.2.0-3 XFree86-man 4.2.0-1 XFree86-nest4.2.0-1 XFree86-prog4.2.0-1 XFree86-prt 4.2.0-1 XFree86-ps 4.2.0-1 XFree86-startup-scripts4.2.0-3 XFree86-vfb 4.2.0-1 XFree86-xserv 4.2.0-17 That's the one I've got. I updated my cygwin at about 10 a.m GMT today. Get the -18 version that is out today. There was a short-lived -17 version. You must have gotten it. Harold J S wrote: No it's the experimental version I downloaded using the cygwin setup program. J S, It seems that XWin.exe released by Harold doesn't print messages like 10104218:winCreateWindowMultiWindow. Did you compile it your self? Kensuke Matsuzaki _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* http://join.msn.com/?page=features/virus
Re: Connect from Unix to Windows via ssh and start an applycationwhich is using the windows display
Security thingy, basically you can't do this, fire up a graphical windows-app remote. You maybe want to throw an eye on VNC, will export the desktop of the windows-machine to any machine having a vnc-viewer.. and vnc-viewers exist for maany platforms. /Andy / Axel Bauer [EMAIL PROTECTED] wrote: | I have the problem to start an application on windows 2000 from a unix host. | I decided to do that task over ssh because of security reasons. The | application has to use the display of the windows workstation. | I installed cygwin on the windows host and configured the ssh-deamon as a | windows service. Now I can login from a linux host to the windows machine, but | I have a problem to start an application with a graphical surface. If I try | to start notepad.exe for example, the shells hangs and I have to stop with | CTRL-C. | | If I call a Cygwin-Shell on the windows-host directly and type notepad the | application works correctly. | If I try a ssh localhost on the Cygwin-Shell I have the same problem as | described above. | | Of course I know about the mechanisms of forwarding displays under | unix/linux (like: xhost + hostname, export DISPLAY= hostname:x.x,,... ), but this | seems not to work, because I want to connect to a display of a windows host and | not to another X-Server. | | Can anyone help me ? | | Axel Bauer | | Philips Medical Systems | Boeblingen, Germany | | -- | +++ GMX - Mail, Messaging more http://www.gmx.net +++ | NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! | | -- The eye of the beholder rests on the beauty!
Re: Please consider!
Thanks, that was only a question. ? I didn't think you were complaining. I did think Sylvain was. I was just pointing out that the spam filter actually seems to be working pretty well. = Sylvain Petreolle [EMAIL PROTECTED] Fight against Spam ! http://www.euro.cauce.org/en/index.html ICQ #170597259 Don't think you are. Know you are. Morpheus, in Matrix. ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
DirectColor-visual?
I am running the lastest cygwin and xfree86. In 24 bit mode, I only get the TrueColor Visual. What I do I need to do to get a DirectColor Visual listed using xdpyinfo ? Currently, I am running a NVIDIA Gforce2 400? If I need to change videocards what are the recommended cards? I have not seen anything in the documentation or mailing lists. $ xdpyinfo name of display::0.0 version number:11.0 vendor string:The XFree86 Project, Inc vendor release number:4020 XFree86 version: 4.2.0 maximum request size: 4194300 bytes motion buffer size: 256 bitmap unit, bit order, padding:32, LSBFirst, 32 image byte order:LSBFirst number of supported pixmap formats:7 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 4, bits_per_pixel 8, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 15, bits_per_pixel 16, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 depth 32, bits_per_pixel 32, scanline_pad 32 keycode range:minimum 8, maximum 255 focus: window 0x42, revert to PointerRoot number of extensions:21 BIG-REQUESTS DEC-XTRAP DOUBLE-BUFFER Extended-Visual-Information FontCache GLX LBX MIT-SUNDRY-NONSTANDARD RECORD RENDER SECURITY SGI-GLX SHAPE SYNC TOG-CUP XC-APPGROUP XC-MISC XFree86-Bigfont XKEYBOARD XTEST XVideo default screen number:0 number of screens:1 screen #0: dimensions:1274x961 pixels (431x325 millimeters) resolution:75x75 dots per inch depths (7):24, 1, 4, 8, 15, 16, 32 root window id:0x36 depth of root window:24 planes number of colormaps:minimum 1, maximum 1 default colormap:0x20 default number of colormap cells:256 preallocated pixels:black 0, white 16777215 options:backing-store NO, save-unders NO largest cursor:1274x961 current input event mask:0xd0001f KeyPressMask KeyReleaseMask ButtonPressMask ButtonReleaseMaskEnterWindowMask SubstructureRedirectMask PropertyChangeMask ColormapChangeMask number of visuals:2 default visual id: 0x22 visual: visual id:0x22 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x23 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits Francisco Rojas Electrical and Computer Engineering Department University of Arizona, Tucson, Arizona OFFICE: ECE 408, 520.621.4554 FAX : 520.621.8076
Re: DirectColor-visual?
Francisco, Do you know what a DirectColor visual is? Do you know why you would need a DirectColor visual? Do you know of any Windows-based graphics cards that actually support DirectColor? My understanding of DirectColor is that it allows you to specify the range of colors that will be used in a mode that is similar to TrueColor... however, I don't know of a single Windows graphics card that allows you to do that. I don't know of any program that utilizes such a visual either. As such, there is no support for DirectColor in Cygwin/XFree86. I don't expect that there will ever be DirectColor support in Cygwin/XFree86 unless someone can explain to me that I am way wrong. DirectColor seems like a lot of things in X: it was thought to be REALLY useful when X was designed, but it turned out to be anything but useful. I read about those things once, then I ignore them after that. So, anyone else know what DirectColor is? Harold Francisco Rojas wrote: I am running the lastest cygwin and xfree86. In 24 bit mode, I only get the TrueColor Visual. What I do I need to do to get a DirectColor Visual listed using xdpyinfo ? Currently, I am running a NVIDIA Gforce2 400? If I need to change videocards what are the recommended cards? I have not seen anything in the documentation or mailing lists. $ xdpyinfo name of display::0.0 version number:11.0 vendor string:The XFree86 Project, Inc vendor release number:4020 XFree86 version: 4.2.0 maximum request size: 4194300 bytes motion buffer size: 256 bitmap unit, bit order, padding:32, LSBFirst, 32 image byte order:LSBFirst number of supported pixmap formats:7 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 4, bits_per_pixel 8, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 15, bits_per_pixel 16, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 depth 32, bits_per_pixel 32, scanline_pad 32 keycode range:minimum 8, maximum 255 focus: window 0x42, revert to PointerRoot number of extensions:21 BIG-REQUESTS DEC-XTRAP DOUBLE-BUFFER Extended-Visual-Information FontCache GLX LBX MIT-SUNDRY-NONSTANDARD RECORD RENDER SECURITY SGI-GLX SHAPE SYNC TOG-CUP XC-APPGROUP XC-MISC XFree86-Bigfont XKEYBOARD XTEST XVideo default screen number:0 number of screens:1 screen #0: dimensions:1274x961 pixels (431x325 millimeters) resolution:75x75 dots per inch depths (7):24, 1, 4, 8, 15, 16, 32 root window id:0x36 depth of root window:24 planes number of colormaps:minimum 1, maximum 1 default colormap:0x20 default number of colormap cells:256 preallocated pixels:black 0, white 16777215 options:backing-store NO, save-unders NO largest cursor:1274x961 current input event mask:0xd0001f KeyPressMask KeyReleaseMask ButtonPressMask ButtonReleaseMaskEnterWindowMask SubstructureRedirectMask PropertyChangeMask ColormapChangeMask number of visuals:2 default visual id: 0x22 visual: visual id:0x22 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x23 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits Francisco Rojas Electrical and Computer Engineering Department University of Arizona, Tucson, Arizona OFFICE: ECE 408, 520.621.4554 FAX : 520.621.8076
Re: DirectColor-visual?
On Mon, Jan 13, 2003 at 07:43:40PM -0500, Harold L Hunt II wrote: Francisco, Do you know what a DirectColor visual is? Do you know why you would need a DirectColor visual? Do you know of any Windows-based graphics cards that actually support DirectColor? My understanding of DirectColor is that it allows you to specify the range of colors that will be used in a mode that is similar to TrueColor... however, I don't know of a single Windows graphics card that allows you to do that. I don't know of any program that utilizes such a visual either. As such, there is no support for DirectColor in Cygwin/XFree86. I don't expect that there will ever be DirectColor support in Cygwin/XFree86 unless someone can explain to me that I am way wrong. DirectColor seems like a lot of things in X: it was thought to be REALLY useful when X was designed, but it turned out to be anything but useful. I read about those things once, then I ignore them after that. So, anyone else know what DirectColor is? DirectColor is a read/write colormap just like PseudoColor. TrueColor is a read only colormap just like StaticColor. Direct/True giving more colors than the other two though. Alan.
Re: DirectColor-visual?
Alan, So would it make any sense at all to try to support it on Windows? To the best of my knowledge, you cannot read and write the 24 bit colors that are available. Harold Alan Hourihane wrote: On Mon, Jan 13, 2003 at 07:43:40PM -0500, Harold L Hunt II wrote: Francisco, Do you know what a DirectColor visual is? Do you know why you would need a DirectColor visual? Do you know of any Windows-based graphics cards that actually support DirectColor? My understanding of DirectColor is that it allows you to specify the range of colors that will be used in a mode that is similar to TrueColor... however, I don't know of a single Windows graphics card that allows you to do that. I don't know of any program that utilizes such a visual either. As such, there is no support for DirectColor in Cygwin/XFree86. I don't expect that there will ever be DirectColor support in Cygwin/XFree86 unless someone can explain to me that I am way wrong. DirectColor seems like a lot of things in X: it was thought to be REALLY useful when X was designed, but it turned out to be anything but useful. I read about those things once, then I ignore them after that. So, anyone else know what DirectColor is? DirectColor is a read/write colormap just like PseudoColor. TrueColor is a read only colormap just like StaticColor. Direct/True giving more colors than the other two though. Alan.
Re: [ANNOUNCEMENT] Server Test 70
Hi, This is patch for that problem. Kensuke Matsuzaki --- ./winmultiwindowwindow.c2003-01-12 12:36:45.0 +0900 +++ ../old/winmultiwindowwindow.c 2003-01-14 10:59:18.0 +0900 @@ -17,6 +17,9 @@ static XID winGetWindowID(WindowPtr pWin); +static void +SendConfigureNotify(WindowPtr pWin); + static UINT s_nIDPollingMouse = 2; static BOOL s_fMoveByX = FALSE; @@ -710,6 +713,11 @@ ErrorF (\t(%d, %d)\n, pWinPriv-iX, pWinPriv-iY); #endif + if (SubStrSend(pWin, pWin-parent)) + { + SendConfigureNotify (pWin); + } + (s_pScreen-MoveWindow)(pWin, (int)(short) LOWORD(lParam) - wBorderWidth (pWin), (int)(short) HIWORD(lParam) - wBorderWidth (pWin), @@ -818,23 +826,10 @@ wClient(pWin)) == 1) break; } - + if (SubStrSend(pWin, pWin-parent)) { - xEvent event; - event.u.u.type = ConfigureNotify; - event.u.configureNotify.window = pWin-drawable.id; - if (pWin-nextSib) - event.u.configureNotify.aboveSibling = pWin-nextSib-drawable.id; - else - event.u.configureNotify.aboveSibling = None; - event.u.configureNotify.x = pWinPriv-iX - wBorderWidth (pWin); - event.u.configureNotify.y = pWinPriv-iY - wBorderWidth (pWin); - event.u.configureNotify.width = pWinPriv-iWidth; - event.u.configureNotify.height = pWinPriv-iHeight; - event.u.configureNotify.borderWidth = wBorderWidth (pWin); - event.u.configureNotify.override = pWin-overrideRedirect; - DeliverEvents(pWin, event, 1, NullWindow); + SendConfigureNotify (pWin); } (s_pScreen-ResizeWindow)(pWin, @@ -1085,3 +1080,24 @@ #endif return wi.id; } + +static void +SendConfigureNotify(WindowPtr pWin) +{ + xEvent event; + winWindowPriv(pWin); + + event.u.u.type = ConfigureNotify; + event.u.configureNotify.window = pWin-drawable.id; + if (pWin-nextSib) +event.u.configureNotify.aboveSibling = pWin-nextSib-drawable.id; + else +event.u.configureNotify.aboveSibling = None; + event.u.configureNotify.x = pWinPriv-iX - wBorderWidth (pWin); + event.u.configureNotify.y = pWinPriv-iY - wBorderWidth (pWin); + event.u.configureNotify.width = pWinPriv-iWidth; + event.u.configureNotify.height = pWinPriv-iHeight; + event.u.configureNotify.borderWidth = wBorderWidth (pWin); + event.u.configureNotify.override = pWin-overrideRedirect; + DeliverEvents(pWin, event, 1, NullWindow); +}
winsup CYGWIN_LICENSE
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2003-01-13 13:11:20 Modified files: . : CYGWIN_LICENSE Log message: Change location. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/CYGWIN_LICENSE.diff?cvsroot=uberbaumr1=1.3r2=1.4
[PATCH] Make wait4 a pthread cancellation point
Attached is a patch and a test case for wait4 (used by wait, wait3 and waitpid). 2003-01-13 Thomas Pfaff [EMAIL PROTECTED] * wait.cc: Include thread.h (wait4): Add pthread_testcancel call. Wait for child process and cancellation event. * thread.cc: Update list of cancellation points. /* * File: cancel9.c * * Test Synopsis: Test if waitpid is a cancellation point. * * Test Method (Validation or Falsification): * - * * Requirements Tested: * - * * Features Tested: * - * * Cases Tested: * - * * Description: * - * * Environment: * - * * Input: * - None. * * Output: * - File name, Line number, and failed expression on failure. * - No output on success. * * Assumptions: * - have working pthread_create, pthread_cancel, pthread_setcancelstate * pthread_join * * Pass Criteria: * - Process returns zero exit status. * * Fail Criteria: * - Process returns non-zero exit status. */ #include test.h static void *Thread(void *punused) { int res; pid_t pid = fork (); assert (pid != -1); switch (pid) { case 0: sleep (10); break; default: assert (waitpid (pid, res, 0) != -1); } return NULL; } int main (void) { void * result; pthread_t t; assert (pthread_create (t, NULL, Thread, NULL) == 0); sleep (5); assert (pthread_cancel (t) == 0); assert (pthread_join (t, result) == 0); assert (result == PTHREAD_CANCELED); return 0; } diff -urp src.old/winsup/cygwin/thread.cc src/winsup/cygwin/thread.cc --- src.old/winsup/cygwin/thread.cc 2003-01-10 09:42:37.0 +0100 +++ src/winsup/cygwin/thread.cc 2003-01-13 11:50:30.0 +0100 @@ -481,10 +481,10 @@ sigwaitinfo () system () tcdrain () *usleep () -wait () -wait3() +*wait () +*wait3() waitid () -waitpid () +*waitpid () write () writev () diff -urp src.old/winsup/cygwin/wait.cc src/winsup/cygwin/wait.cc --- src.old/winsup/cygwin/wait.cc 2002-11-27 18:22:46.0 +0100 +++ src/winsup/cygwin/wait.cc 2003-01-13 11:57:46.0 +0100 @@ -15,6 +15,7 @@ details. */ #include cygerrno.h #include sigproc.h #include perthread.h +#include thread.h /* This is called _wait and not wait because the real wait is defined in libc/syscalls/syswait.c. It calls us. */ @@ -51,6 +52,8 @@ wait4 (int intpid, int *status, int opti HANDLE waitfor; bool sawsig; + pthread_testcancel (); + while (1) { sig_dispatch_pending (0); @@ -84,7 +87,7 @@ wait4 (int intpid, int *status, int opti if ((waitfor = w-ev) == NULL) goto nochildren; - res = WaitForSingleObject (waitfor, INFINITE); + res = pthread::cancelable_wait (waitfor, INFINITE); sigproc_printf (%d = WaitForSingleObject (...), res);
Re: fhandler_dsp.cc (fhandler_dev_dsp::ioctl): add SNDCTL_DSP_GETFMTS support
On Tue, Jan 14, 2003 at 09:52:09AM +0800, David Huang wrote: 2003-01-14 David Huang [EMAIL PROTECTED] * fhandler_dsp.cc (fhandler_dsp::ioctl): Add SNDCTL_DSP_GETFMTS limited support. Applied. Thanks, cgf
RE: less-378-1 : ANSI escape sequences in perldoc output
I have searched the archive for the keywords 'less ansi', but the only information I got back were the mails that we sent about this subject. I also do not understand what a discussion about slashes and backslashes in POSIX and Win32 paths has to do with ANSI escape sequences in formatted visual output. That is where you sent me with the URL below. Since the above search did not turn up any part the discussion below, I severely doubt that it will help with my little problem. Anybody else on this list who might have a clue ? Jurgen [EMAIL PROTECTED] lhall Sent by: [EMAIL PROTECTED] 01/10/2003 04:52 PM Please respond to lhall To: Jurgen Defurne/BRG/CE/PHILIPS@EMEA1 [EMAIL PROTECTED] cc: Subject:RE: less-378-1 : ANSI escape sequences in perldoc output Classification: The email archives is your friend: http://sources.redhat.com/ml/cygwin/2003-01/msg00211.html Larry Original Message: - From: [EMAIL PROTECTED] Date: Fri, 10 Jan 2003 15:53:29 +0100 To: [EMAIL PROTECTED] Subject: less-378-1 : ANSI escape sequences in perldoc output Hello, After upgrading to less 3.78-1, ANSI escape sequences are visible in the output of perldoc. I do not have this problem with the 'man' command. I tried to have a look at perldoc itself, but I am not that fresh anymore. Anyway, this is not priority stuff, maybe someone of you has a quick clue. Regards, Jurgen -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- 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: lynx-2.8.4-5
I've updated the version of lynx to 2.8.4-5. This version is identical to 2.8.4-4 but now linked against openssl-0.9.7. To update your installation, click on the Install Cygwin now link on the http://sources.redhat.com/cygwin web page. This downloads setup.exe to your system. The, run setup and answer all of the questions. Note that we do not allow downloads from sources.redhat.com (aka cygwin.com) due to bandwidth limitations. This means that you will need to find a mirror which has this update. In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/ is a reliable high bandwidth connection. In Germany, ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/ is usually pretty good. In the UK, http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/ is usually up-to-date within 48 hours. If one of the above doesn't have the latest version of this package then you can either wait for the site to be updated or find another mirror. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . I would appreciate 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. If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe to 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] -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Paasword validation in Windows Domain ?
Hello, I want to know if it is possible using the Cygwin tools to validate a user/password against the domain a computer is in. I would like to setup web service on the intranet, which can only be used by certain persons. Since I a have no interest in creating and maintaining a user database, it would be nice if users of the service can be prompted for their name and password, and that I can validate these against the current domain. Regards, Jurgen -- 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: Paasword validation in Windows Domain ?
[EMAIL PROTECTED] wrote: Hello, I want to know if it is possible using the Cygwin tools to validate a user/password against the domain a computer is in. I would like to setup web service on the intranet, which can only be used by certain persons. Since I a have no interest in creating and maintaining a user database, it would be nice if users of the service can be prompted for their name and password, and that I can validate these against the current domain. AFAIK, you can almost do what you want. It should all work provided you keep your /etc/passwd up-to-date as you add and remove users. NB: Passwords are *not* stored in /etc/passwd, they are checked with Windows - i.e. what you want. I suggest that you look at mk{passwd,group} -d and see if you can work out an acceptable way of regenerating this on a schedule or when users are created/removed. 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: BSOD on cygwin
Im not sure what happened, but my problem went away. I do not have VPN or an antivirus program running - I turned those off due to some problems with other software earlier. No firewall software either - I have an external DLink firewall. For the record, here's what I did that seemed to fix things: 1. I reinstalled cygwin 1.3.8.1. cygcheck ran once after the reinstall, but failed again on subsequent runs. The machine still crashed when I tried to ./configure guile. 2. The configure script was dying at a uniq. I tried running uniq on a file, from the command line. It crashed the window (not the machine), with a windows popup message about some dll. I didnt note it down (unfortuntely). 3. I restarted another cygwin window and reran uniq on the same file. This time uniq went through. 4. I reran configure (note that I havent *changed* anything after the earlier run, when the machine crashed). It went through cleanly. 5. I double checked. 'cygcheck' also returns proper results. Since I did not actively modify anything, Im mystified why things went through after I ran uniq on the command line. Thanks, Bhiksha On Sun, Jan 12, 2003 at 07:35:44PM -0500, Larry Hall (RFK Partners, Inc) wrote: Perhaps someone else running Win98 will be able to confirm or deny the problems you're seeing. I'm guessing that others will only be able to 'deny'. As mentioned, BSOD is an O/S issue/bug, which means it's at least difficult to resolve in application software and is certainly much better resolved in the O/S itself (or quite possibly software drivers). Certainly in the case that the problem is caused by drivers (and AV software uses these too), the problem software is not necessarily installed on a 'typical' Win 98 machine, which is why I said I expect others won't be able to confirm your results. I'd highly recommend following Igor's suggestions. The fact that you can't get cygcheck to run correctly for you again makes me highly suspicious that something on your system other than Cygwin is actually causing your problem. In my opinion, you're more likely to find the source of your problem by looking outside of Cygwin. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX At 06:34 PM 1/12/2003, Bhiksha Raj wrote: Hi, First I must apologize for my multiple posts earlier. I wasnt sure if the first one had gone through, since I never got a copy myself. So I figured Id messed up and posted again. Anyway, the problem (as I mentioned earlier) is that on my windows 98 machine, with the latest cygwin, I get a blue screen of death when I try to run configure --disable-shared on guile-1.4.1. (Im using 1.4.1 because Im tyring to compile TeXmacs). Ive since dug around a bit, crashed my machine a hunded times, and collected logs. I found that the configure script dies on line 4791, at a line that goes if sort conftest.nm|uniq conftest.ntM;then I get an empty conftest.nmT and the machine dies. I tried running the same command from command line. The first time I ran it, my cygwin window froze (although my machine didnt die), but thereafter Ive been able to run it from command line. However, running the configure script kills the machine at the uniq again. Im attaching the configure script, the config.log, and the conftest.nm files (the conftest.nmT file I get is empty). I hope this is not bad practice, but I figure they would help find the problem. The tail of the config.log file should indicate where exactly my machine dies (every time!). Also, as per Igor Pechtchanski's suggestion, I ran a cygcheck -s -v -r and am attaching the output. Curiously, cygcheck -s -v -r gave me output the first time I ran it. Afterwards, running the command simply gives me no output at all - it simply runs silently and comes back. Im not sure why this is so - I was pretty sure it was supposed to repeat the information everytime I ran it. I hope this doesnt indicate a bug with my setup. Many thanks for any and all help in this issue. Regards, Bhiksha [EMAIL PROTECTED] On Sun, Jan 12, 2003 at 10:40:48AM -0500, Igor Pechtchanski wrote: On Sun, 12 Jan 2003, Igor Pechtchanski wrote: On Sat, 11 Jan 2003, Bhiksha Raj wrote: Hi All, I hope this is not the wrong forum for this: Im trying to install TeXmacs on my win98+cygwin laptop. First I installed the binaries for guile from the cygwin setup (I have XFree and Tex and all associated libs already) downloaded TeXmacs sources, ran ./configure and then gave a make. I got the blue screen of death (BSD). After iterating through several BSDs, I hunted on the web and found a site that said that static linkages were a problem with the latest guile and
dlopen() and libtool problems
Hi All, Im trying to compile guile-1.4.1 on my windows98+cygwin box. Ive installed all the latest libtool and auto-make utils. I run ./configure and get the following message (among others) checking command to parse /usr/bin/nm -B output: failed configure does find dlopen(), though. When I try to make the guile-1.4.1 package make dies with the following messages: --- libtool: link warning: `AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support. libtool: link: not configured to extract global symbols from dlreopened files gcc -g -O2 -Wall -Wmissing-prototypes -o guile.exe guile.o -Wl,--export-dynamic ./.libs/libguile.a .libs/libimp-cygltdl-3.a guile.o(.text+0x38): In function `main': /c/users/bhiksha/tmp/guile/guile-1.4.1/libguile/guile.c:74: undefined reference to `_lt_preloaded_symbols' Info: resolving _h_errno by linking to __imp__h_errno (auto-import) collect2: ld returned 1 exit status make[2]: *** [guile.exe] Error 1 I gather this is something to do with libtool(_lt_preloaded_symbols_ is from libtool I think), but Im not sure how to proceed. Any help would be greatly appreciated. Many thanks, Bhiksha -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: BSOD on cygwin
It's also weird that your mount table has root (/) down three times. Twice as . and once as C:/downloads/cygwin. True, this is strange. the . mount entries are binmode,cygdrive and the c:/downloads/cygwin is only binmode, but is not a cygdrive. Is there an fstab equivalent in cygwin that I can check? (Im a cygwin novice and dont know where to look) Thanks for the help, Bhiksha -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: BSOD on cygwin
the mount tables are in the registry. if your going to change them then do it using the mount command. (man mount and mount --help shoudl give plenty of usage info) -Original Message- From: Bhiksha Raj [mailto:[EMAIL PROTECTED]] Sent: 13 January 2003 14:19 To: Elfyn McBratney Subject: Re: BSOD on cygwin It's also weird that your mount table has root (/) down three times. Twice as . and once as C:/downloads/cygwin. True, this is strange. the . mount entries are binmode,cygdrive and the c:/downloads/cygwin is only binmode, but is not a cygdrive. Is there an fstab equivalent in cygwin that I can check? (Im a cygwin novice and dont know where to look) Thanks for the help, Bhiksha -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- 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: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch
Corinna, [I began to reply to this post on Friday, but I got distracted by attempting to port vsFTPd to Cygwin. This turned out to be a good use of my time. BTW, I never knew about vsFTPd. I wish I did about a month ago...] On Thu, Jan 09, 2003 at 06:20:38PM +0100, Corinna Vinschen wrote: On Thu, Jan 09, 2003 at 11:49:43AM -0500, Chris Faylor wrote: On Thu, Jan 09, 2003 at 11:44:36AM -0500, Jason Tishler wrote: Would you be willing to to consider the following: http://www.cygwin.com/ml/cygwin/2002-10/msg00116.html Or, is it too esoteric for you? Judging by the description, that sounds more like a patch for the FSF inetutils maintainer than for the Cygwin inetutils maintainer. I agree. I agree too, but it was worth a shot because... Oh btw... wouldn't you better like to maintain ProFTPd for Cygwin? ;-) I would consider the above, if I could get Cygwin ProFTPd to work! I spent *way* too much time about a month or two ago attempting to get Cygwin ProFTPd to work. Unfortunately, I was not successful and put the port on the back burner. I will post my patch and findings if someone is interested or I get motivated. However, I was successful porting vsFTPd to Cygwin with some caveats. I will start a separate thread to discuss these issues. Please read this post since I could use some help with a mmap()/fork() problem... Thanks, Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cygwin vsFTPd porting issues
In my (seemingly) never ending search for a firewall friendly, Cygwin ftpd server, I finally stumbled across vsFTPd. By firewall friendly, I mean being able to specifying the range of passive ports used during data transfers. Although, vsFTPd does not use autoconf, the code is well factored -- especially the system dependent routines. Hence, it ported to Cygwin without many problems. See the attached patch for the details. The following are the most notable changes: 1. Temporarily workaround a mmap()/fork() problem by effectively replacing vsf_secbuf_alloc() and vsf_secbuf_free() with malloc() and free(), respectively. 2. Add Corinna's standard NT authentication patch. 3. Workaround lack of Cygwin nanosleep(). 4. Workaround lack of Cygwin setregid() and setreuid(). The mmap()/fork() problem workaround is the only show stopper. When I strace vsftpd, I get the following error: 311 37332969 [main] vsftpd 2232 fixup_mmaps_after_fork: recreate_mmaps_after_fork, mmapped_areas 0xA042100 90 37333059 [main] vsftpd 2232 fixup_mmaps_after_fork: fd -1, h 1F4, access 1, offset 0, size 65536, address 0xB4 160 37333219 [main] vsftpd 2232 fixup_mmaps_after_fork: ReadProcessMemory failed for MAP_PRIVATE address 0xB4, Win32 error 299 I will try to dig deeper to determine why ReadProcessMemory() is failing with ERROR_PARTIAL_COPY (i.e., 299), but any help or pointers will be greatly appreciated. Thanks, Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 diff -rup vsftpd-1.1.3.orig/Makefile vsftpd-1.1.3/Makefile --- vsftpd-1.1.3.orig/Makefile 2002-10-21 19:15:16.0 -0400 +++ vsftpd-1.1.3/Makefile 2003-01-13 07:56:22.0 -0500 @@ -22,6 +22,8 @@ OBJS = main.o utility.o prelogin.o ftpcm vsftpd: $(OBJS) $(CC) -o vsftpd $(OBJS) $(LINK) $(LIBS) +.PHONY: install + install: if [ -x /usr/local/sbin ]; then \ $(INSTALL) -m 755 vsftpd /usr/local/sbin/vsftpd; \ diff -rup vsftpd-1.1.3.orig/port/porting_junk.h vsftpd-1.1.3/port/porting_junk.h --- vsftpd-1.1.3.orig/port/porting_junk.h 2002-09-25 14:16:24.0 -0400 +++ vsftpd-1.1.3/port/porting_junk.h2003-01-13 08:12:35.0 -0500 @@ -21,6 +21,10 @@ #include tru64_bogons.h #endif +#ifdef __CYGWIN__ +#include cygwin_bogons.h +#endif + /* So many older systems lack these, that it's too much hassle to list all * the errant systems */ diff -rup vsftpd-1.1.3.orig/secbuf.c vsftpd-1.1.3/secbuf.c --- vsftpd-1.1.3.orig/secbuf.c 2001-04-22 18:15:37.0 -0400 +++ vsftpd-1.1.3/secbuf.c 2003-01-10 14:51:41.0 -0500 @@ -14,6 +14,21 @@ #include sysutil.h #include sysdeputil.h +#ifdef __CYGWIN__ +#include stdlib.h + +void +vsf_secbuf_alloc(char** p_ptr, unsigned int size) +{ + *p_ptr = (char*) malloc(size); +} + +void +vsf_secbuf_free(char** p_ptr) +{ + free(*p_ptr); +} +#else void vsf_secbuf_alloc(char** p_ptr, unsigned int size) { @@ -86,4 +101,4 @@ vsf_secbuf_free(char** p_ptr) /* Lose the mapping */ vsf_sysutil_memunmap(p_mmap, map_size); } - +#endif diff -rup vsftpd-1.1.3.orig/sysdeputil.c vsftpd-1.1.3/sysdeputil.c --- vsftpd-1.1.3.orig/sysdeputil.c 2002-10-29 20:06:41.0 -0500 +++ vsftpd-1.1.3/sysdeputil.c 2003-01-13 08:25:39.0 -0500 @@ -99,6 +99,14 @@ #ifdef __sun #define VSF_SYSDEP_HAVE_SOLARIS_SENDFILE #endif + +#ifdef __CYGWIN__ + #define VSF_SYSDEP_NEED_OLD_FD_PASSING + #undef VSF_SYSDEP_HAVE_PAM + #undef VSF_SYSDEP_HAVE_SHADOW + #undef VSF_SYSDEP_HAVE_USERSHELL + #include crypt.h +#endif /* END config */ /* PAM support - we include our own dummy version if the system lacks this */ @@ -220,6 +228,14 @@ vsf_sysdep_check_auth(const struct mystr } } #endif /* VSF_SYSDEP_HAVE_SHADOW */ +#ifdef __CYGWIN__ + if (is_winnt) + { +HANDLE token = cygwin_logon_user (p_pwd, str_getbuf(p_pass_str)); +cygwin_set_impersonation_token (token); +return token != INVALID_HANDLE_VALUE; + } +#endif p_crypted = crypt(str_getbuf(p_pass_str), p_pwd-pw_passwd); if (!vsf_sysutil_strcmp(p_crypted, p_pwd-pw_passwd)) { diff -rup vsftpd-1.1.3.orig/sysutil.c vsftpd-1.1.3/sysutil.c --- vsftpd-1.1.3.orig/sysutil.c 2002-10-25 13:32:52.0 -0400 +++ vsftpd-1.1.3/sysutil.c 2003-01-13 08:18:34.0 -0500 @@ -15,6 +15,7 @@ #include sysutil.h #include utility.h #include tunables.h +#include defs.h /* Activate 64-bit file support on Linux/32bit */ #define _FILE_OFFSET_BITS 64 @@ -1806,7 +1807,7 @@ vsf_sysutil_get_random_byte(void) int vsf_sysutil_running_as_root(void) { - return (getuid() == 0); + return (getuid() == VSFTP_ROOT_UID); } void @@ -2021,10 +2022,13 @@ vsf_sysutil_qsort(void* p_base, unsigned { qsort(p_base, num_elem, elem_size, p_compar); } - void vsf_sysutil_sleep(double seconds) { +#ifdef __CYGWIN__ + sleep(seconds); +
Re: Cygwin vsFTPd porting issues
Hi Jason, On Mon, Jan 13, 2003 at 09:36:24AM -0500, Jason Tishler wrote: 160 37333219 [main] vsftpd 2232 fixup_mmaps_after_fork: ReadProcessMemory failed for MAP_PRIVATE address 0xB4, Win32 error 299 I will try to dig deeper to determine why ReadProcessMemory() is failing with ERROR_PARTIAL_COPY (i.e., 299), but any help or pointers will be greatly appreciated. If you can figure out why that happens, I'd really appreciate a simple testcase. Please compare the above with the strace output generated by mmap(), probably you will find a discrepancy like the address in the above strace output is not inside of a mapped block. It's also a big difference if the mmap is mapped anonymously or to a file since the mmap() code behaves pretty different. Another way would be to remove MAP_PRIVATE from the mmap() call and try again. MAP_PRIVATE is somewhat problematic on Windows hosts, unfortunately. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Newbe getting errors from CYGWIN dll
Dear cgywin: Just installed latest everything from your site. I am trying to use the latest gcc to compile a small program of my own. When I do I get: (X) The procedure entry point putc_unlocked could not be located in the dynamic link libruary cygwin1.dll Can you please give me some advice? Total content of program: #include stdio.h #include unistd.h main() { printf(My PID: %d\n, getpid()); printf(Parent PID: %d\n, getppid()); } Thanks, Ben. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
sshd does not run
Dear cygwin, When I first tried to run sshd as NT service, it does not run and Windows reports no error code returned. When I try to run it manually from the command prompt, i.e. /usr/sbin/sshd, it says sshd_config not found. When I installed a default sshd_config in the /etc (that is where sshd expects sshd_config) manually, sshd says: Could not load host key: /etc/ssh/ssh_host_key Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_kay Disabling protocol version 1. Could not load host key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting I have installed cygwin version 2.249.2.5 complete with all packages on Windows 2000 SP3. Please advice me to get sshd running.. Thank you in advance. Regards, -- 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/
Bug in g++: Testcase exits with segmentation fault
The testcase attached to this mail compiled with g++ 2.95.3-10 or g++ 3.2 20020927 under Cygwin 1.3.18 exits with segmentation fault. It seems to be an error in g++ as the testcase doesn't work under Linux either. Can anyone help or do I have to report this error to the GCC website? BTW I found two ways to make the testcase work: 1) Change line 64 (and 70 respectively) and use observer *Observer instead of std::listobserver. I compiled the testcase with STLport-4.5.3 under Linux to see if it's a bug in the Standard Library but got again segmentation fault. 2) Remove line 75 which is a simple poll(NULL, 0, 2000). It works without this line but I don't know why. Boris testcase.cpp 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/
Re: Paasword validation in Windows Domain ?
On Mon, Jan 13, 2003 at 10:45:14AM +0100, [EMAIL PROTECTED] wrote: Hello, I want to know if it is possible using the Cygwin tools to validate a user/password against the domain a computer is in. Yes, that's exactly what happens when you telnet or ssh, providing a password. Cygwin provides a function: cygwin_logon_user (user_pwd_entry, cleartext_password); See http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID As indicated before, the user needs to be in passwd. 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: sshd does not run
have you read the README at /usr/doc/Cygwin/openssh-3.5p1-2.README ? have you run ssh-host-config ? (doesnt sound like it.) -Original Message- From: Ahmad Khayyat [mailto:[EMAIL PROTECTED]] Sent: 13 January 2003 15:36 To: [EMAIL PROTECTED] Subject: sshd does not run Dear cygwin, When I first tried to run sshd as NT service, it does not run and Windows reports no error code returned. When I try to run it manually from the command prompt, i.e. /usr/sbin/sshd, it says sshd_config not found. When I installed a default sshd_config in the /etc (that is where sshd expects sshd_config) manually, sshd says: Could not load host key: /etc/ssh/ssh_host_key Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_kay Disabling protocol version 1. Could not load host key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting I have installed cygwin version 2.249.2.5 complete with all packages on Windows 2000 SP3. Please advice me to get sshd running.. Thank you in advance. Regards, -- 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: BSOD on cygwin
Sounds to me like the problem was that you installed Cygwin over an existing Cygwin installation, the existing DLL was locked in place by running Cygwin processes, and that you didn't immediately reboot after exiting setup so that the new DLL could be put in place. I believe setup warns you of potential misbehavior in this mode. Certainly, this would explain the 'bad behavior until reboot' scenario you report. Any chance that this was your issue? Larry Original Message: - From: Bhiksha Raj [EMAIL PROTECTED] Date: Mon, 13 Jan 2003 07:59:22 -0500 To: [EMAIL PROTECTED] Subject: Re: BSOD on cygwin Im not sure what happened, but my problem went away. I do not have VPN or an antivirus program running - I turned those off due to some problems with other software earlier. No firewall software either - I have an external DLink firewall. For the record, here's what I did that seemed to fix things: 1. I reinstalled cygwin 1.3.8.1. cygcheck ran once after the reinstall, but failed again on subsequent runs. The machine still crashed when I tried to ./configure guile. 2. The configure script was dying at a uniq. I tried running uniq on a file, from the command line. It crashed the window (not the machine), with a windows popup message about some dll. I didnt note it down (unfortuntely). 3. I restarted another cygwin window and reran uniq on the same file. This time uniq went through. 4. I reran configure (note that I havent *changed* anything after the earlier run, when the machine crashed). It went through cleanly. 5. I double checked. 'cygcheck' also returns proper results. Since I did not actively modify anything, Im mystified why things went through after I ran uniq on the command line. Thanks, Bhiksha On Sun, Jan 12, 2003 at 07:35:44PM -0500, Larry Hall (RFK Partners, Inc) wrote: Perhaps someone else running Win98 will be able to confirm or deny the problems you're seeing. I'm guessing that others will only be able to 'deny'. As mentioned, BSOD is an O/S issue/bug, which means it's at least difficult to resolve in application software and is certainly much better resolved in the O/S itself (or quite possibly software drivers). Certainly in the case that the problem is caused by drivers (and AV software uses these too), the problem software is not necessarily installed on a 'typical' Win 98 machine, which is why I said I expect others won't be able to confirm your results. I'd highly recommend following Igor's suggestions. The fact that you can't get cygcheck to run correctly for you again makes me highly suspicious that something on your system other than Cygwin is actually causing your problem. In my opinion, you're more likely to find the source of your problem by looking outside of Cygwin. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX At 06:34 PM 1/12/2003, Bhiksha Raj wrote: Hi, First I must apologize for my multiple posts earlier. I wasnt sure if the first one had gone through, since I never got a copy myself. So I figured Id messed up and posted again. Anyway, the problem (as I mentioned earlier) is that on my windows 98 machine, with the latest cygwin, I get a blue screen of death when I try to run configure --disable-shared on guile-1.4.1. (Im using 1.4.1 because Im tyring to compile TeXmacs). Ive since dug around a bit, crashed my machine a hunded times, and collected logs. I found that the configure script dies on line 4791, at a line that goes if sort conftest.nm|uniq conftest.ntM;then I get an empty conftest.nmT and the machine dies. I tried running the same command from command line. The first time I ran it, my cygwin window froze (although my machine didnt die), but thereafter Ive been able to run it from command line. However, running the configure script kills the machine at the uniq again. Im attaching the configure script, the config.log, and the conftest.nm files (the conftest.nmT file I get is empty). I hope this is not bad practice, but I figure they would help find the problem. The tail of the config.log file should indicate where exactly my machine dies (every time!). Also, as per Igor Pechtchanski's suggestion, I ran a cygcheck -s -v -r and am attaching the output. Curiously, cygcheck -s -v -r gave me output the first time I ran it. Afterwards, running the command simply gives me no output at all - it simply runs silently and comes back. Im not sure why this is so - I was pretty sure it was supposed to repeat the information everytime I ran it. I hope this doesnt indicate a bug with my setup. Many thanks for any and all help in this issue. Regards, Bhiksha [EMAIL PROTECTED] On Sun, Jan 12, 2003 at 10:40:48AM -0500, Igor Pechtchanski wrote: On Sun, 12 Jan
ping on cygwin?
Hi! I found that the Windows %SYSTEM32/ping.exe does not provide return codes and has some other drawbacks. Looking hard I couldn't locate a /bin/ping in the cygwin distribution. Didn't I look enough? Or is it really not there? Why? Maybe you know some other (besides cygwin and MS builtin) 'ping.exe' that is scriptable with proper return values - like the unix ones?! Thanks a lot! Tino -- 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: Newbe getting errors from CYGWIN dll
Ben Clewett wrote: Dear cgywin: Just installed latest everything from your site. I am trying to use the latest gcc to compile a small program of my own. When I do I get: (X) The procedure entry point putc_unlocked could not be located in the dynamic link libruary cygwin1.dll Can you please give me some advice? Install latest version of package cygwin. 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: ping on cygwin?
See the FAQ entry: What packages should I download? http://cygwin.com/faq/faq_2.html#SEC13 This will direct you to http://cygwin.com/packages/ which can be used for the general inquiry of 'Is XXX utility/file part of a Cygwin package?' Larry Original Message: - From: Tino Lange [EMAIL PROTECTED] Date: Mon, 13 Jan 2003 16:48:28 +0100 To: [EMAIL PROTECTED] Subject: ping on cygwin? Hi! I found that the Windows %SYSTEM32/ping.exe does not provide return codes and has some other drawbacks. Looking hard I couldn't locate a /bin/ping in the cygwin distribution. Didn't I look enough? Or is it really not there? Why? Maybe you know some other (besides cygwin and MS builtin) 'ping.exe' that is scriptable with proper return values - like the unix ones?! Thanks a lot! Tino -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ping on cygwin?
Hi Larry! I found that the Windows %SYSTEM32/ping.exe does not provide return codes and has some other drawbacks. Looking hard I couldn't locate a /bin/ping in the cygwin distribution. Didn't I look enough? Or is it really not there? Why? Maybe you know some other (besides cygwin and MS builtin) 'ping.exe' that is scriptable with proper return values - like the unix ones?! See the FAQ entry: What packages should I download? http://cygwin.com/faq/faq_2.html#SEC13 This will direct you to http://cygwin.com/packages/ which can be used for the general inquiry of 'Is XXX utility/file part of a Cygwin package?' Using these links you sent to me and the search engine on the packages page also supported my statement that 'ping' unfortunately doesn't seem to be part of any cygwin package, just as I already thought. So my two other questions are of relevance and seem to be reasonable: Why? (Serious problems? Problems using raw sockets as non-Administrator? If not, maybe I can help porting this tool?) and/or Maybe one of the readers here knows some other 'ping.exe' that is suitable for scripting? The MS one isn't :-( Thanks for your answer! Tino -- 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: Paasword validation in Windows Domain ?
On Mon, Jan 13, 2003 at 11:26:42AM -0500, Habermann, David (DA) wrote: It should be noted that this does not work if running on W98, it must be on XP or NT (someone please correct me if I'm wrong here). Correct. The URL below also explains how to do it on win98 See http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID 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: ping on cygwin?
Again I have to direct you to the FAQ: Why isn't package available in Cygwin? (Or, why is your package so out of date?) http://cygwin.com/faq/faq_4.html#SEC52 This is the most likely answer as to *why* there is no /bin/ping already. Generally, there is no mystery surrounding these kinds of questions and it's very worthwhile to check the FAQ, email archives and other documentation for this kind of information before posting to the list. It's generally a time-saver for everyone as well as a good habit and good information source. :-) The answer to your last question might even already be in the email archives (and maybe not but at least then you'll be pretty sure you're not covering ground the list has already discussed). Larry Original Message: - From: Tino Lange [EMAIL PROTECTED] Date: Mon, 13 Jan 2003 17:13:59 +0100 To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: ping on cygwin? Hi Larry! I found that the Windows %SYSTEM32/ping.exe does not provide return codes and has some other drawbacks. Looking hard I couldn't locate a /bin/ping in the cygwin distribution. Didn't I look enough? Or is it really not there? Why? Maybe you know some other (besides cygwin and MS builtin) 'ping.exe' that is scriptable with proper return values - like the unix ones?! See the FAQ entry: What packages should I download? http://cygwin.com/faq/faq_2.html#SEC13 This will direct you to http://cygwin.com/packages/ which can be used for the general inquiry of 'Is XXX utility/file part of a Cygwin package?' Using these links you sent to me and the search engine on the packages page also supported my statement that 'ping' unfortunately doesn't seem to be part of any cygwin package, just as I already thought. So my two other questions are of relevance and seem to be reasonable: Why? (Serious problems? Problems using raw sockets as non-Administrator? If not, maybe I can help porting this tool?) and/or Maybe one of the readers here knows some other 'ping.exe' that is suitable for scripting? The MS one isn't :-( Thanks for your answer! Tino mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
fcntl() bug? if called second times!
Hello, I try to comiple an run the distcc package - but I get errors while running. I figured out, tha the problems are the fcntl() calls - perhaps ther is a bug in cygwin? The following code runs differently in cygwin and linux. If I want ro lock the whole file twice, but still the same process, I will get an permission denied error on cygwin. The same code works on linux! === Cygwin console heiko@HEIKO ~/src/fslock $ ./fslocktest Lock 1 Lock 2 lock failed: fslocktest.txt: Permission denied === linux console heiko@linux:~/src/fslock ./fslocktest Lock 1 Lock 2 Below is the code to reproduce the error. I'm using the following software: - Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 CYGWIN=ntsec - Cygwin DLL version info: DLL version: 1.3.18 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 69 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Wed Dec 25 15:37:50 EST 2002 Shared id: cygwin1S3 - Linux: Suse 8.1 Perhaps someone can give me a hint ... Best regards Heiko Elger snip - snip - snip /* make CFLAGS=-Wall -g -O0 testfcntl.c */ int main(int argc, char** argv, char** envp) { int fd ; char* fname = fslocktest.txt; int rc; struct flock lockparam; lockparam.l_type = F_WRLCK; lockparam.l_whence = SEEK_SET; lockparam.l_start = 0; lockparam.l_len = 0;/* whole file */ fd = open(fname, O_WRONLY|O_CREAT, 0600); if (fd == -1 errno != EEXIST) { printf(failed to creat %s: %s, fname, strerror(errno)); return errno; } printf(Lock 1\n); rc = fcntl(fd, F_SETLK, lockparam); if (rc==-1) { printf(lock failed: %s: %s, fname, strerror(errno)); return errno; } printf(Lock 2\n); rc = fcntl(fd, F_SETLK, lockparam); if (rc==-1) { printf(lock failed: %s: %s, fname, strerror(errno)); return errno; } close(fd); return 0; } snip - snip - snip Heiko Elger ,,, (o o) +oOO--(_)--OOo+ | | | Email:[EMAIL PROTECTED] | | | | bitte .spam in der Email-Adresse entfernen| | please remove .spam | | | |.oo0O O0oo.| |( ) ( )| +-\ (-) /-+ \_) (_/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
binutils ld update with auto-import from dll's ?`
Hi all, in december 2002 Charles Wilson and I had supplied an ld patch for the auto-import from dll functionality. For the kde-cygwin project we would like to use this new stuff in the near future for the next qt3 release. General there are two way to solve this: Because we don't like to release an independent binutils release on the kde-cygwin download area my question is, if there is someone who could release a new binutils release for cygwin containing this patch. Thanks for any efforts. 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/
Can't connect to Sun 5.8 via scp ... but ssh works fine?
Hello, I'm having difficulty getting scp to work, I'm trying to connect to a Sun 5.8 server from my Windows 200 server. SSH work fine but when trying to copy a file from my Windoze 2000 box to the Sun 5.8 server, this error is displayed: Admin@W2K ~ $ scp test.pl [EMAIL PROTECTED]:~ [EMAIL PROTECTED]'s password: scp: warning: Executing scp1 compatibility. scp: FATAL: Executing ssh1 in compatibility mode failed (Check that scp1 is in your PATH). lost connection Admin@W2K ~ $ Can someone please lend me some experience? Thanks, Kirk -- 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: Can't connect to Sun 5.8 via scp ... but ssh works fine?
On Mon, Jan 13, 2003 at 09:14:41AM -0800, Kirk wrote: Hello, I'm having difficulty getting scp to work, I'm trying to connect to a Sun 5.8 server from my Windows 200 server. SSH work fine but when trying to copy a file from my Windoze 2000 box to the Sun 5.8 server, this error is displayed: Admin@W2K ~ $ scp test.pl [EMAIL PROTECTED]:~ [EMAIL PROTECTED]'s password: scp: warning: Executing scp1 compatibility. scp: FATAL: Executing ssh1 in compatibility mode failed (Check that scp1 is in your PATH). lost connection Admin@W2K ~ $ Can someone please lend me some experience? You're not calling scp from OpenSSH but the scp from SSH.com. Check your installation. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Can't connect to Sun 5.8 via scp ... but ssh works fine?
But scp works when using it with every other Linux server that I've tested. It looks to me more like something with the Sun OS? Perhaps I need to add an environment variable on my account on the Sun server? Kirk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Corinna Vinschen Sent: Monday, January 13, 2003 9:21 AM To: [EMAIL PROTECTED] Subject: Re: Can't connect to Sun 5.8 via scp ... but ssh works fine? On Mon, Jan 13, 2003 at 09:14:41AM -0800, Kirk wrote: Hello, I'm having difficulty getting scp to work, I'm trying to connect to a Sun 5.8 server from my Windows 200 server. SSH work fine but when trying to copy a file from my Windoze 2000 box to the Sun 5.8 server, this error is displayed: Admin@W2K ~ $ scp test.pl [EMAIL PROTECTED]:~ [EMAIL PROTECTED]'s password: scp: warning: Executing scp1 compatibility. scp: FATAL: Executing ssh1 in compatibility mode failed (Check that scp1 is in your PATH). lost connection Admin@W2K ~ $ Can someone please lend me some experience? You're not calling scp from OpenSSH but the scp from SSH.com. Check your installation. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- 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: ping on cygwin?
[EMAIL PROTECTED] wrote: Hi again! Again I have to direct you to the FAQ: Why isn't package available in Cygwin? (Or, why is your package so out of date?) http://cygwin.com/faq/faq_4.html#SEC52 Thanks! I read it once again and hence I like to (try to) contribute - see below. it's very worthwhile to check the FAQ, email archives and other documentation for this kind of information before posting to the list. I googled and searched for ping.exe since about 4 hours today. I found some scripts in python and perl that might emulate a ping, found someone proposing to wrap MS-ping and emulate the return values by regexp the output and so on. Also I looked through various cygwin systems and package lists to find the appropiate cygwin package. I also searched UnxUtils and the GnuWin32 project and the MS site incl. knowledgebase. All without success. I learned a lot about raw icmp sockets and why only root is allowed to open them - making ping a setuid program. It's generally a time-saver for everyone as well as a good habit and good information source. :-) Larry, really I think I was quite prepared before asking the list. I really didn't want to waste some of your time or to offend you by 'just asking' - maybe I should have written more clearly that I already tried to inform myself a a lot prior to asking. I think 'ping' is a VERY essential tool and part of even every mini-linux/unix, I didn't just ask for some package . 'ping' is one of THE basic programs. It's even so essential that even MS makes a 'ping.exe' :-) So I thought and think that Cygwin must also provide a ping - and if not, there must be a good reason. That's why I finally asked the group - I thought that maybe I could also save some precious time not searching further for hours or try to compile sth. that isn't possible with cygwin (yet). The answer to your last question might even already be in the email archives (and maybe not but at least then you'll be pretty sure you're not covering ground the list has already discussed). I googled a lot and didn't find something. The search engine on the cygwin site gives internal server errors every second try, but the first 3 pages of results also didn't answer. I also tried to compile by myself, but Lapo isn't right: AFAIK the usual ping.c compiles and works well on CygWin. Unfortunately not. There are lot's of include (and mybe more) problems that have to be solved OK! I'm willing to contribute and try to solve that. If noone here has some other idea I think I found some missing program in the great cygwin-world. I'll try to compile ping from ftp://ftp.inr.ac.ru/ip-routing/iputils-current.tar.gz and I'll tel you about my success or failure later. (Just to make clear and not to annoy: Is it allowed according to the mailing list regulations to ask the group for possible help while the development of such new packages? Or isn't that list the right place?) Thanks for your help again and best regards Tino -- 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: Setting up cvs on Windows 2000
On Sun, 12 Jan 2003, Elfyn McBratney wrote: Unless something has changed that escaped my attention, what has repeatedly been stated here (though no time very recently) is that Cygwin CVS does not support the pserver access mode. The recommendation has been to use the external access mode via SSH. Aaaah I didn't know that :( The reason I offered help is because I have had a pserver working on my local machine for about a week now. And although I haven't had the time to test it extensively cvs login,checkout,commit etc. seems to be working reasonably well. I don't think I'm doing anything out of the ordinary so i wonder why it's working for me ;-) Elfyn [EMAIL PROTECTED] Not knowing it was impossible, he did it. -- J.J.Rousseau Sorry, couldn't resist. :-D Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
setup doen't run on windows 98
Hi, I tried to run the setup program and I got this message: This program has performed an illegal operation and will be shut down. and the execution ends doing nothing. I tried to run it in an IBM thinkpad transnote, 64MB RAM, pentiumIII. What could be the problem? enrique __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: fcntl() bug? if called second times!
Hello, Cygwin doesn't support advisory file locking. It implements file locking via the Win32 api LockFile*. Find out more here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/lockfile.asp And more specifically this part: [...] Locking a portion of a file for shared access denies all processes write access to the specified region of the file, including the process that first locks the region. All processes can read the locked region. [...] In fact I think the Win32 error code returned in this case is ERROR_LOCK_VIOLATION and Cygwin translates it to EACCESS. Some time before I started porting sendmail to Cygwin and met this problem. I decided to try to implement something like advisory file locking for Cygwin back then but lack of time prevented me from doing so :( On Mon, 13 Jan 2003, Heiko Elger wrote: Hello, I try to comiple an run the distcc package - but I get errors while running. I figured out, tha the problems are the fcntl() calls - perhaps ther is a bug in cygwin? The following code runs differently in cygwin and linux. If I want ro lock the whole file twice, but still the same process, I will get an permission denied error on cygwin. The same code works on linux! === Cygwin console heiko@HEIKO ~/src/fslock $ ./fslocktest Lock 1 Lock 2 lock failed: fslocktest.txt: Permission denied === linux console heiko@linux:~/src/fslock ./fslocktest Lock 1 Lock 2 -- 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: Setting up cvs on Windows 2000
For what its worth (perhaps nothing) based on other comments about this working sometimes... I got cygwin CVS working using the pserver protocol with no heroic efforts. Not having used CVS before, I could have done something heroic and didn't even know it, but I doubt it. 8-). 1) I set the CVSROOT, CVSPASSWORD environment variables 2) Seem to recall needing to fully qualify the hostname in CVSROOT, i.e. export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvs/repos/foobar 3) cvs login I pretty extensively use the eclipse CVS plugin, but the cygwin stuff I use for batch changes and I've done more than a few checkouts/updates/commits with no problems thus far. Several others on my team have had good luck as well. I'm running XP Professional, some of my teammates are on Win2000. cvs --version Concurrent Versions System (CVS) 1.11 (client/server) Copyright (c) 1989-2000 Brian Berliner, david d `zoo' zuhn, Jeff Polk, and other authors CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. Specify the --help option for further information about CVS The stuff we call software is not like anything that human society is used to thinking about. Software is something like a machine, and something like mathematics, and something like language, and something like thought, and art, and information... but software is not in fact any of those other things. Bruce Sterling - The Hacker Crackdown Fred A. Kulack - IBM eServer iSeries - Enterprise Application Solutions ERP, Java DB2 access, Jdbc, JTA, etc... IBM in Rochester, MN (Phone: 507.253.5982 T/L 553-5982) mailto:[EMAIL PROTECTED] Personal: mailto:[EMAIL PROTECTED] AIM Home:FKulack AIM Work:FKulackWrk MSN Work: [EMAIL PROTECTED] Randall R Schulz [EMAIL PROTECTED]To: [EMAIL PROTECTED] m cc: Sent by: Subject: Re: Setting up cvs on Windows 2000 cygwin-owner@cygw in.com 01/12/2003 07:19 PM Elfyn, I neglected to mention that it has also been reported that some, through heroic effort, have managed to get pserver working. Details of their arduousness were not reported, however. Searching for CVS, pserver, external and / or SSH will help you zero in on the pertinent messages to the Cygwin mailing list. It's possible that ongoing improvements in Cygwin have made pserver work (with less effort). Since I know nothing of the problems that impaired pserver function, I can only offer this as a guess. Randall Schulz At 15:53 2003-01-12, Elfyn McBratney wrote: Unless something has changed that escaped my attention, what has repeatedly been stated here (though no time very recently) is that Cygwin CVS does not support the pserver access mode. The recommendation has been to use the external access mode via SSH. Aaaah I didn't know that :( The reason I offered help is because I have had a pserver working on my local machine for about a week now. And although I haven't had the time to test it extensively cvs login,checkout,commit etc. seems to be working reasonably well. I don't think I'm doing anything out of the ordinary so i wonder why it's working for me ;-) Elfyn [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/ -- 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: Paasword validation in Windows Domain ?
Pierre A. Humblet wrote: Cygwin provides a function: cygwin_logon_user (user_pwd_entry, cleartext_password); See http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID As indicated before, the user needs to be in passwd. Has anybody tried this from Perl? -- 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: xinted rsync bluescreen
Sergey Okhapkin wrote: net start init chkconfig rsync on chkconfig rsync off bluescreen... Win2000. I have no rsync installed. I set system environment variable CYGWIN to nontsec, restarted init service and the problem went away... I've seen this occasionally as well, but it doesn't stop there. Any access of files under /etc seems to be able to occasionally trigger a blue screen while init is running. A particularly sure fire way of causing the BSOD seems to be running /sbin/telinit, but even viewing a file under /etc with vim can sometimes be enough. The BSOD happens both using 1.3.18 and the latest snapshot, on W2K SP3, with no anti-virus software running. I've seen BSODs on quite different machines (both on a Compaq Proliant and on a couple of Compaq Armadas): the common denominator seems to be that init is running. Init is in turn running sshd, cron, xinetd, ipc-daemon and postgres. However, it might not be init (directly) that causes the BSOD; the bugcheck analysis (below) seems to be at least somewhat similar to the ones posted in http://www.cygwin.com/ml/cygwin-xfree/2002-03/msg00060.html, http://sources.redhat.com/ml/cygwin/2001-11.t/msg00167.html and http://sources.redhat.com/ml/cygwin/2002-11/msg01369.html My guess is that cygwin does something that sometimes triggers a windows (or, rather, ntfs) bug when files under /etc are used. This is of course just a wild guess. Another observation: it seems (according to Process Explorer from sysinternals.com) that cygwin programs started from init keep a handle to the /etc directory open. That shouldn't be needed, should it? I have no idea if this has anything at all to do with the BSODs, of course... Hopefully this information might be useful to someone more familiar with Cygwin and Windows internals than I am. /dan Here is a typical bugcheck analysis from windbg: IRQL_NOT_LESS_OR_EQUAL (a) An attempt was made to access a pagable (or completely invalid) address at an interrupt request level (IRQL) that is too high. This is usually caused by drivers using improper addresses. If a kernel debugger is available get the stack backtrace. Arguments: Arg1: 0014, memory referenced Arg2: 0002, IRQL Arg3: , value 0 = read operation, 1 = write operation Arg4: 8045505d, address which referenced memory Debugging Details: -- READ_ADDRESS: 0014 Nonpaged pool CURRENT_IRQL: 2 FAULTING_IP: nt!PsChargePoolQuota+50 8045505d 0374bb10 add esi,[ebx+edi*4+0x10] DEFAULT_BUCKET_ID: DRIVER_FAULT BUGCHECK_STR: 0xA TRAP_FRAME: bddd6710 -- (.trap bddd6710) ErrCode = eax= ebx= ecx= edx= esi=0020 edi=0001 eip=8045505d esp=bddd6784 ebp=bddd6798 iopl=0 nv up ei pl zr na po nc cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs= efl=00010246 nt!PsChargePoolQuota+50: 8045505d 0374bb10 add esi,[ebx+edi*4+0x10] ds:0023:0014= Resetting default context LAST_CONTROL_TRANSFER: from 80495801 to 8045505d STACK_TEXT: bddd6798 80495801 ff974b40 0001 0020 nt!PsChargePoolQuota+0x50 bddd683c bfeed999 81a73368 81a49bc8 e27e2b98 nt!FsRtlNotifyFullReportChange+0x46d bddd6ab8 bfeeaa06 bddd6b00 ff93c508 81a49800 Ntfs!NtfsCommonCleanup+0x2061 bddd6c30 8041f79f 81a49800 ff93c508 ff93e108 Ntfs!NtfsFsdCleanup+0x113 bddd6c44 8049bb90 80067c64 81aa9040 0001 nt!IopfCallDriver+0x35 bddd6c78 804a50e5 ff93e1c0 81a49800 00120196 nt!IopCloseFile+0x275 bddd6ca4 8044f718 ff93e1c0 ff93e0f4 ff93e108 nt!ObpDecrementHandleCount+0x13c bddd6d58 80465091 00bc nt!NtClose+0x1f0 bddd6d58 77f8376e 00bc nt!KiSystemService+0xc4 WARNING: Frame IP not in any known module. Following frames may be wrong. 0022fc0c 0x77f8376e FOLLOWUP_IP: nt!PsChargePoolQuota+50 8045505d 0374bb10 add esi,[ebx+edi*4+0x10] FOLLOWUP_NAME: MachineOwner SYMBOL_NAME: nt!PsChargePoolQuota+50 MODULE_NAME: nt IMAGE_NAME: ntoskrnl.exe DEBUG_FLR_IMAGE_TIMESTAMP: 3d366b8b STACK_COMMAND: .trap bddd6710 ; kb BUCKET_ID: 0xA_nt!PsChargePoolQuota+50 -- 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: openssl-0.9.7-1, openssl-devel-0.9.7-1
Just for the records: This release seems to fix a problem with sshd which others and me have reported for the first time half a year ago. At least for me ;) it is gone. For more detail see: http://cygwin.com/ml/cygwin/2002-07/msg01745.html http://cygwin.com/ml/cygwin/2002-11/msg01591.html Frank-Michael. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: binutils ld update with auto-import from dll's ?`
Ralf Habacker wrote: Hi all, in december 2002 Charles Wilson and I had supplied an ld patch for the auto-import from dll functionality. For the kde-cygwin project we would like to use this new stuff in the near future for the next qt3 release. patience. cgf is the maintainer for binutils on cygwin, but I'm sure he has his hands full getting ready for the imminent 1.3.19 cygwin kernel release. BTW, Danny reported a problem with Fabrizio Gennari's create an export section for .exe's patch and relocatable linking. Danny sent privately a modified version that corrects the problem, but like Fabrizio's original version we are awaiting an FSF release from Fabrizio. [Danny, you didn't copy binutils with that patch; was that an oversight?] (I'd bet cgf is delaying a cygwin release of binutils for Fabrizio's release, hoping to get this functionality in, too) --Chuck -- 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: xinted rsync bluescreen
Dan, It seems most likely from this that the problem is in your file system. When's the last time you ran CHKDSK? I seem to recall other reports that were for some reason associated with accessing Cygwin's /etc. I cannot explain this other than perhaps as simple coincidence. I'm not familiar with exactly how much memory protection is in place in Windows 98. I'm under the impression that it's more than on Windows 95, though it is not really a fully protected environment as exists on Windows NT, 2K and XP. That means that it's conceivable that a putative bug in Cygwin could trigger a BSOD under 95 or 98 that would knock down only a single process under one of the other OS versions. However, judging from the crash dump you supplied, if Cygwin is at fault, it's rather indirect. When memory isn't protected, a symptom can appear far separated in time from the actual software defect that caused it. Still, it is pretty unlikely that this is a Cygwin bug. If the problem were in Cygwin, then probably others would have it, too. Check your disks, maybe update your drivers and try fully de-activating any virus checkers or firewalls--they seem to be the worst culprits. Although it seems unlikely for the symptoms you're reporting, video drivers seem to be a weak spot in Windows and they seem to get updated more than any other class of drivers. So much so that I check the Matrox site monthly for driver updates. Good luck. Randall Schulz At 10:18 2003-01-13, Dan Holmsand wrote: Sergey Okhapkin wrote: net start init chkconfig rsync on chkconfig rsync off bluescreen... Win2000. I have no rsync installed. I set system environment variable CYGWIN to nontsec, restarted init service and the problem went away... I've seen this occasionally as well, but it doesn't stop there. Any access of files under /etc seems to be able to occasionally trigger a blue screen while init is running. A particularly sure fire way of causing the BSOD seems to be running /sbin/telinit, but even viewing a file under /etc with vim can sometimes be enough. The BSOD happens both using 1.3.18 and the latest snapshot, on W2K SP3, with no anti-virus software running. I've seen BSODs on quite different machines (both on a Compaq Proliant and on a couple of Compaq Armadas): the common denominator seems to be that init is running. Init is in turn running sshd, cron, xinetd, ipc-daemon and postgres. However, it might not be init (directly) that causes the BSOD; the bugcheck analysis (below) seems to be at least somewhat similar to the ones posted in http://www.cygwin.com/ml/cygwin-xfree/2002-03/msg00060.html, http://sources.redhat.com/ml/cygwin/2001-11.t/msg00167.html and http://sources.redhat.com/ml/cygwin/2002-11/msg01369.html My guess is that cygwin does something that sometimes triggers a windows (or, rather, ntfs) bug when files under /etc are used. This is of course just a wild guess. Another observation: it seems (according to Process Explorer from sysinternals.com) that cygwin programs started from init keep a handle to the /etc directory open. That shouldn't be needed, should it? I have no idea if this has anything at all to do with the BSODs, of course... Hopefully this information might be useful to someone more familiar with Cygwin and Windows internals than I am. /dan -- 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: dlopen() and libtool problems
Hi, I found a post on the gnu archives: http://mail.gnu.org/archive/html/texmacs-dev/2002-11/msg00121.html which stated specifically that guile 1.6.0 is not compatible with TeXmacs (which I want to install). The page says to use guile-1.4.1 The message was posted in Nov 2002, so I assumed the info was fairly recent. I also actually tried guile 1.6.0 right out of the box. When I tried to compile TeXmacs I got errors relating to guile (and the dreaded blue screen of death followed. My machine seems to die when cygwin encounters errors). -Bhiksha On Mon, Jan 13, 2003 at 07:02:43PM +0100, Jan Nieuwenhuizen wrote: Bhiksha Raj [EMAIL PROTECTED] writes: Im trying to compile guile-1.4.1 on my windows98+cygwin box. Ive installed all the latest libtool and auto-make utils. You are aware that guile-1.6 is included in Cygwin? If you really need 1.4, you may want to look at the 1.6 source package for clues. As an aside, GUILE cvs HEAD should compile without patching. Greetings, Jan. -- 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/
Tab completion list takes enormously long time to generate from empty string
Greetings. When I press tab in bash without having typed anything at all (which is somewhat abusive but it easily happens), bash works for 15 minutes, going through $PATH looking for executables (and in the end producing nothing) on a 2x450 MHz PIII. Is that normal? My $PATH contains the usual /usr/local/bin:/usr/bin:/bin, the WINNT and System32 directories, plus some relatively neglectable ones (18 directories in total), but the number of directories in the path and the time it takes to go through their contents is not the problem. Matching an executable in the last directory in $PATH only takes about 0.2 s. Instead, the huge size of the resulting list seems to be what causes the delay, especially when considering that no disk I/O at all is performed during 14 min 59 sec of the 15 minutes... I suspect that someone has chosen a sorting algorithm with time complexity O(N^2). Or O(2^N)... Maybe I can find that out myself. Cheers, Magnus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: binutils ld update with auto-import from dll's ?`
Ralf Habacker wrote: Hi all, in december 2002 Charles Wilson and I had supplied an ld patch for the auto-import from dll functionality. For the kde-cygwin project we would like to use this new stuff in the near future for the next qt3 release. patience. cgf is the maintainer for binutils on cygwin, but I'm sure he has his hands full getting ready for the imminent 1.3.19 cygwin kernel release. BTW, Danny reported a problem with Fabrizio Gennari's create an export section for .exe's patch and relocatable linking. Danny sent privately a modified version that corrects the problem, but like Fabrizio's original version we are awaiting an FSF release from Fabrizio. [Danny, you didn't copy binutils with that patch; was that an oversight?] (I'd bet cgf is delaying a cygwin release of binutils for Fabrizio's release, hoping to get this functionality in, too) --Chuck -- 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/