Back in Cygwin X world after ages...
Yeah, as I have to work a lot with Windows at the moment and I can't just switch to Linux for a moment, I decided to delve back into cygwin world (after 3 years of abstinence!). Whoa, this was kinda experimental stuff back then! I remember this framebuffer-based X Window on top of Cygwin, working perfectly, that guy with the complicated Arabic (?) surname I got the latest alpha builds from, and, of course, Harold and Alexander, without whom this package would not be this advanced as it is now. Everything is installed, runs nicely, but there's a few thoughts anyway: - Most people would use startx to start the X Window session as they're used to it from Linux. Strangely though, startx does NOT open a real X main window, but an xterm ONLY. Is there a reason why? I think it's misleading. xinit, however, does the thing that *I* want, that is, a big window that fills the whole screen and launches an xterm on the upper left edge. Unfortunately, the window is not resizable. However, with the old framebuffer-based experimental X version, I remember a pre-installed window manager *with* pull-down menus. I managed to load a window manager (by typing /usr/X11R6/bin/twm ), but there were still no pull-down menus. I like(d) fvwm / fvwm2 a lot and it had everything I needed in X. I hope that I do not need Gnome to be able to work reasonably with X? I like menus, but I do not need a Windoze-ish task bar; I never needed it in Linux anyway. I also found all Cygwin-X start menu entries EMPTY, hence I assume that Cygwin X expects from me that I want Gnome (which I do not need in any case, at least not now :)) A few suggestions would be nice, in any case thanks for the awesome work. -Andreas __ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
Re: cyg/lib DLL naming
As AGO pointed out, searching for libfreetype.dll is non-portable, dangerous, and silly. Not me, who is doing that, but one large SW open-source library. Therefore it is clear, that it have to link with other libraries in the system that it is using. Things turned in to the OS ideas. And I am not interrested in them, I want to simply fix the incompatibility between Coin library and Cygwin. Coin library is important for us, because we are using it for visualization on our university (we are not the authors of the library). I think, you are missing the point. This compatibility library breaks the compatibility with non-cygwin world (see the previous discussion). No, I believe *you* are missing the point. [...] :-) If I skip all offensive words, I have to thank you for the discussion. Let me give you the last question: If I understand it correctly, I can not link with cygwin based DLLs without a special handling code. Am I true? John
Re: Back in Cygwin X world after ages...
On Thu, 16 Jun 2005, Andreas Eibach wrote: - Most people would use startx to start the X Window session as they're used to it from Linux. Strangely though, startx does NOT open a real X main window, but an xterm ONLY. Is there a reason why? I think it's misleading. Many people requested that startx would use the multiwindow mode instead of the single window mode. So the startup scripts were changed to reflect that. xinit, however, does the thing that *I* want, that is, a big window that fills the whole screen and launches an xterm on the upper left edge. you can customize how xinit (and startx) start xserver and clients. Add a $HOME/.xserverrc which start XWin without the -multiwindow option but the -scrollbars options and $HOME/.xinitrc which is the same as the one in /usr/X11R6/lib/X11/xinit/xinitrc but which starts an additional windowmanager. Unfortunately, the window is not resizable. There is an option -scrollbars which might do that (resizable window and scrollbars to adjust the position) However, with the old framebuffer-based experimental X version, I remember a pre-installed window manager *with* pull-down menus. I managed to load a window manager (by typing /usr/X11R6/bin/twm ), but there were still no pull-down menus. I like(d) fvwm / fvwm2 a lot and it had everything I needed in X. The cygwin distribution contains windowmaker and I remember users which used openbox too. I hope that I do not need Gnome to be able to work reasonably with X? I like menus, but I do not need a Windoze-ish task bar; I never needed it in Linux anyway. I also found all Cygwin-X start menu entries EMPTY, hence I assume that Cygwin X expects from me that I want Gnome (which I do not need in any case, at least not now :)) They usually contain links to programs from the xorg-x11-bin package. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: cyg/lib DLL naming
On Thu, 16 Jun 2005, Peciva Jan wrote: As AGO pointed out, searching for libfreetype.dll is non-portable, dangerous, and silly. Not me, who is doing that, but one large SW open-source library. Therefore it is clear, that it have to link with other libraries in the system that it is using. Right, but that doesn't make the current approach any less dangerous, non-portable, or silly. You may want to contact the authors of Coin and let the know about this bug in their code. Things turned in to the OS ideas. And I am not interrested in them, I want to simply fix the incompatibility between Coin library and Cygwin. Not quite. These are dynamic loading ideas. Building a bridge DLL is hardly an OS-level thing. However, I can see your problem, as the code to look up the freetype DLL is probably hard-wired into Coin, and there isn't much you can do about it. As you mentioned, you could use some nasty workarounds (like providing your own stub libfreetype.dll in your application directory, which should be found first, and which links to the appropriate freetype DLL), but eventually Coin should be fixed. Coin library is important for us, because we are using it for visualization on our university (we are not the authors of the library). I think, you are missing the point. This compatibility library breaks the compatibility with non-cygwin world (see the previous discussion). No, I believe *you* are missing the point. [...] :-) If I skip all offensive words, I have to thank you for the discussion. You're welcome. However, my profanity filter is overheating while trying to find any offensive words in my previous message. Would you mind letting me know what they were, so that I could add them to the filter? Or do you mean If I skip all offensive words that come to mind? :-) Let me give you the last question: If I understand it correctly, I can not link with cygwin based DLLs without a special handling code. Am I true? In this context (linking from a pure Win32 application), yes, you need to put some initialization code in (with the latest snapshot, that is). A rejoinder question, though: if you're buidling a native Win32 application, why not use the native build of freetype as well? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Re: Some functional keys such as Enter, Tab, etc. works if only they are pressed twice
Alexander Gottwald wrote: I don't know. Please send what xev reports when you press those keys. What is xev? Best regards, Alexey.
Re: Some functional keys such as Enter, Tab, etc. works if only they are pressed twice
On Thu, 16 Jun 2005, Tarasov Alexey wrote: Alexander Gottwald wrote: I don't know. Please send what xev reports when you press those keys. What is xev? xev is an event logger for the x11 protocol. it is installed with the xorg-x11-bin package and you can run it by typing xev in an xterm window. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723