Re: using ssh-Y on Vista
[EMAIL PROTECTED] wrote: Hello, I am having a problem with X-windows forwarding from a fresh installation of cygwin and X on Longhorn Vista (cygcheck.out attached). Basically when I do ssh -vv -Y [EMAIL PROTECTED] Can you do a regular ssh (without -Y)? If not, try posting to the main cygwin list, as you'll find more help there for ssh problems. Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Problems using startxwin.bat
[EMAIL PROTECTED] wrote: I've been a subscriber to this list for some time, but I believe this is my first post. I'm a college professor who uses Cygwin in a small PC lab. I can start an X server just fine (I'm an Administrator under Windows on these machines) but my students cannot. I've already read the FAQ. Here are the specifics: i) When my students attempt to run startxwin.bat, they get a dialog box telling them they have a fatal error and to look at Xwin.log (I have attached an Xwin.log from a machine where a student attempted to use startxwin.bat). I do not get this error when I run startxwin.bat; the X server comes up just fine. ii) Here is the result of running ls -al /tmp /tmp/.X11-unix: /tmp: total 8 drwxrwxrwt+ 3 blandry Users 0 Feb 6 09:07 . drwxrwxrwx+ 15 blandry Users 0 Jan 28 16:50 .. drwxrwxrwt+ 2 lgriffith Domain Users0 Feb 5 13:59 .X11-unix -rwxr-xr-x 1 lgriffith Users4533 Jan 28 17:33 XWin.log /tmp/.X11-unix: total 0 drwxrwxrwt+ 2 lgriffith Domain Users 0 Feb 5 13:59 . drwxrwxrwt+ 3 blandry Users0 Feb 6 09:07 .. (lgriffith is my account and it is an Administrator under Windows. blandry is the account of our lab tech and it is not an administrator account.) There have been similar posts in the past about how to set up for multiple users. Since I don't have that setup, I can only offer a couple vague suggestions, including that you search again for those posts. You seem to be on the right track that the problem is access to these files and directories in /tmp. If the files are there owned by you, another user can't come along and overwrite them. I believe some of the suggestions in the past included things like making sure this stuff gets cleaned up in /tmp and/or giving each user their own /tmp ($TMP or $TEMP). HTH, Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Problem with arrow keys in x-based applications on cygwin
Per Thorlacius wrote: Hi Im running the newest version of Cygwin on Win 2k Pro. In the Cygwin standard shell my left and right arrow keys work fine. However, if I start an xterm or any other x-based application from the cygwin standard shell, the left and right arrow keys are not working in the x-based application. I am starting the x-server using the following parameters: XWin -multiwindow -clipboard -xkblayout dk -xkbmodel pc105 I have tried different keyboard layouts and models, including standard us without any luck. Looking at the man page for setxkblayout there are lots of possibilities for customisation, however it looks as if it will take quite an effort to get into all the details. Any ideas for a quick solution? Can I just use the standard keyboard layout from Win 2k without overriding it when starting my x-server? Best regards, Per Numlock? Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: openbox works, but how do I get the middle mouse button to display a menu?
John F Davis wrote: Hello I have openbox working, but when I click my middle mouse button on my windows desktop it opens windows desktop dialog. On a related issue, if I use openbox and icon a window, I can not access the windows anymore. Openbox on linux accesses the icon'd windows via the middle mouse button clicked on the desktop. Please advise. JD Do you have -emulate3buttons set on your server? If so, you need to press buttons 1 and 2 (left and right) at the same time to emulate the middle/third button. It doesn't sound like this is what you want, so make sure you're not starting X with this parameter (check your startup script). Otherwise, what type of mouse and mouse driver do you have? Some drivers will change the behavior of the middle button so X doesn't recognize it. Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Cygwin/X + Solaris = no function keys
Ryan Johnson wrote: Hi, I use the latest version of cygwin/X (updated yesterday) to connect to a Solaris 10 box. Certain keys like page up and page down don't work for any programs besides xemacs, but when I run SunStudio 11 (a Java app) I lose everyting except alphanumerics and punctuation. This makes it virtually impossible to use the program. numlock? Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Vista 64 configuration nuisance and /etc/profile.d/00xorg-x11-base.csh
Craig Chase wrote: (patch below) Small nuisance... The 64-bit vista uses the path name: C:\Program Files (x86)\ for 32-bit apps, and some packages will be installed there by default. Hence, many cygwin users may have C:\Program Files (x86)\blah in their PATH environment variable. The parenthesis breaks 00xorg-x11-base.csh Note that all versions of Windows x64 have this directory, not just Vista x64. Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Xlib connection refused
Holger Krull wrote: [EMAIL PROTECTED] schrieb: Xlib: connection to 192.168.205.98:0.0 refused by server Xlib: No protocol specified xterm XT error: Can't open display: 192.168.205.98:0.0 I have no idea what the 0.0 is, but the 192.168.205.98 is my windows box running cygwin x server. This is set up in my DISPLAY variable on the linux host. If you use ssh to tunnel the X-protocol, you shouldn't set DISPLAY, ssh will do that for you. ssh will usually set your display number to 10. So, if you type echo $DISPLAY on the remote system, you should see 192.168.205.98:10.0. Since you are seeing 0 instead of 10, something is setting it incorrectly for you. Are you typing ssh -X or ssh -Y? Note that -Y tends to work better with most applications. Are you manually resetting DISPLAY after you login? Is there anything in your remote startup scripts that sets DISPLAY? Including any system-wide scripts? If you want to connect without a tunnel, for testing start the X-server with -ac to disable access control (or use xhost+) to see if that is the problem. This would just be for testing. I wouldn't use -ac normally unless you understand the (in)security ramifications. Also, make sure you understand on which machine you need to use xhost and how to set DISPLAY properly. Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: xterm can't display on second monitor
David Sagenaut wrote: Hi Cary, thanks for your reply. I did put -multiplemonitors options when start xwin.exe, but it still doesn't work. I am wandering what else I need to config in order to make it work. Sorry, I don't have any suggestions beyond that. What you described sounded like you were missing -multiplemonitors. BTW - I didn't realize at first that I was responding to multiple lists with my previous reply. This thread belongs only in the cygwin-x list. Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: xterm can't display on second monitor
David Sagenaut wrote: I use a dual head display in a WinXP system. When starting startxwin.bat it opens an xterm window that works while it is on the main display. But when I drag it into the second display it doesn't show any characters and doesn't accept keystrokes anymore. They appear when I drag the window back into the primary display. Is that a bug or have I misconfigured anything? http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-multihead Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: slow paints despite fast hardware
Phlip wrote: Peter Woo wrote: Most of the cryptic xf86config that you see on Linux is not applicable to Cygwin. Yay I guess I am confused like the other folks on what else you could do to tune up Cygwin/X. Just to limit the scope a bit - do you run slow xterm even just by opening up a local xterm on your Windows XP (display 127.0.0.1:0.0)? The local xterm (the one that anchors the server) is fast. Remote Konsole - super slow Remote Gedit - slow Remote Xterm - fast! At a guess, are some programs pushing pixels across the wire, to assemble text, while some programs use the local fonts? It looks like you and Larry kinda got off on the wrong foot there. Try to get beyond that, and look at the help he tried to give you, but you ignored... He already indicated to you that there are no performance switches to turn on/off. He also asked you to follow the proper reporting guidelines, which often give other people on the list clues as to what may be wrong in your installation and/or configuration. http://cygwin.com/problems.html However, one more suggestion for you...if you go back and read that FAQ entry again ... http://x.cygwin.com/docs/faq/cygwin-x-faq.html#poor-performance it says that you may have to disable firewall/VPN/etc. software thay may have installed its own TCP/IP stack. Often, disabling is not enough, you have to completely uninstall it. This isn't based on my own experience, but from other comments on this list, so you may want to search the archives more for what software often causes these kinds of problems. Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Repaint/redraw problems
Mehdi Alimadadi wrote: Is there a way to tell the software not to update the window until the mouse button had been released i.e. the window resizing has finished? Any hint is appreciated. Change your window manager to just show a wire-frame outline of the window while you are resizing, instead of trying to continuously update the contents. How to do this will depend on your window manager. I believe it's possible even if you are using Windows as your window manager, but I can't find the setting right now - maybe someone else knows it? You may have to resort to using a different window manager. Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Scaleable fonts
John Rehill wrote: Am posting this here, due to the fact below that it was pointed out this is more a cygwin/x thing... So what is the purpose of the cygwin/x scaleable fonts? How exactly are they implemented into the running of cygwin cygwin/x? Thanks in advance Let's back up and look again at what you really want... Am trying to get scaleable fonts in a command window running under cygwin. I want to have it so that when the user changes the window size or maximizes it, the fonts 'grow' with the window. Igor tried to tell you this really isn't a cygwin/x issue, and scalable fonts won't do this for you, at least not with the regular command window. There are other alternatives to the command window. There is xterm, which runs under X, and rxvt, which has both an X and a native-windows mode. But I don't think either of these will do what you want, either. Most terminal type windows just give you more lines/columns when you resize them and not increase the font. But, you can select different font sizes which will cause the window to grow/shrink accordingly. If that is acceptable to you, instead of using the normal resize controls, check those out. e.g. in xterm try ctrl-right click. You may try asking back on the main list if the new native-only experimental rxvt will have a similar option if you don't want to run X just to get this. Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: ssh -Y not working / possible xauth bug?
Igor Peshansky wrote: The latter is actually your problem. It could be that the X forwarding is disabled on the server. Try ssh -Y -vvv, and see what it gives you... HTH, Igor It could also be that you have a shell startup script somewhere that is resetting DISPLAY after ssh tries to set it. Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Windows programs in Cygwin/X ?
Doug Bohl wrote: After much turmoil, I've managed to get a number of window managers running in Cygwin/X. What I'm wondering is this: Is it at all possible to allow my windows programs to be managed by my Cygwin/X window manager? Presently, if I'm in -fullscreen mode and I'm running some X programs, I'd have to alt+tab out of X and into explorer. It's only possible to go the other way - have Windows manage both your X and your Windows windows. Is there a reason you don't want to go this way? Have you tried -multiwindow? Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Serious flaw in Cygwin X clipboard integration prevents paste from X to Windows apps
In news:[EMAIL PROTECTED], Stahlman Brett typed: Igor wrote: I'm not very familiar with the details of how the clipboard handling is implemented in Cygwin/X (though I do know that there is a choice of the external xwinclip application and the internal -clipboard handling). The way applications like Exceed seem to do it is by relinquishing clipboard ownership on losing focus, and reacquiring the clipboard on getting the focus. Perhaps this approach will also work for Cygwin/X? Igor It might work, but that would require all X applications to implement a workaround for what appears to be a Cygwin X bug. This is the main reason the Vim owner wouldn't include my patch, even though it fixes the clipboard problem. I believe his reasoning is, if the fault is Cygwin X's, then so should be the remedy. While I agree in principle, I will, of course, continue to use the patch until it's fixed in Cygwin. Incidentally, you mentioned Exceed having had to come up with a workaround as well. Is this problem known to the XWin developers? I didn't see anything in the TODO, but I can't imagine that something like this hasn't been reported by now. From your response I suspect you don't know what Exceed is. It is not another X app that has worked around this problem. It is a commercial X server for Windows. Igor is suggesting how that other X server may have worked around this problem for all X apps, and their approach could be copied to the Cygwin/X server. Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: 3-Button wheel mouse application problem with Cygwin-Xorg
Pavel Krustev wrote: Hi all, I have difficulties running a specific X application which runs in the Xorg X server. The problem is that in some specific areas of this app the right mouse button click refuses to open the related menu over an object and thus renders the app unusable with cygwin-xorg. The problem is only in this app - all other right clicks elsewhere work fine, I think the app is poorly written but unfortunately it is the most important gui application for my work and I cannot stop to use it. Is your numlock on? That is often the source of these types of problems (it is treated as a modifier key, like shift/control/alt/meta/etc.). Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Apologies over using Subject line for 'reference'
Christopher Faylor wrote: On Mon, Sep 19, 2005 at 11:32:48AM -0400, Igor Pechtchanski wrote: On Mon, 19 Sep 2005, John Ormerod wrote: This might be off-subject, but I think has a general reference. I've used forums (or fora) and newsgroups for years, but I've never come across this format before. I couldn't find any guidance on how to use it, so it's all been guesswork - my first attempt had a subject something like Testing as I was unsure about the use of ' at dot com' rather than [EMAIL PROTECTED] for example. I've had a few responses appear as an email, but most I can only see via the browser and there's no way to use that for a reply. I wondered how people were replying and getting the reference to form the discussion tree. And I'm still non the wiser, but at least I know what not to do now. Sorry. FWIW, I mostly reply via the browser. See if http://cygwin.com/ml/cygwin/2004-09/msg00989.html helps. GMane also allows you to get a full raw copy of a given message to reply to. I'm sure that gmane gets the references right without any extra head standing. The OP did not use gmane. If he had, we wouldn't be having this off-topic discussion. Agreed. I've been using gmane for some time now without problems. This message should appear properly referenced, as I know my past posts have been. Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Is my X Server not fully started? (Rel: 6.8.2.0-4) - results
John Ormerod wrote: Reid I did as you requested - see below. BTW, there is a delay of 3-4 seconds for cmds like 'ps -ef'. Is this normal? (Thinkpad T41 with 2Gb RAM) Open a cygwin bash shell, using cygwin.bat. I did this from cmd prompt. It appeared to be stuck for what seemed a long time - though maybe it was actually between 30-60 secs. Then the prompt came alive and resized itself. If you are seeing delays of 30-60 seconds just starting cygwin, I would start with trying to figure that out before moving on the the problems with X. Your unresponsive X server may be stuck on whatever is causing cygwin to delay starting up. I don't understand what you mean the prompt came alive and resized itslef. The cygwin shell shouldn't be resizing itself when you just open it up. Perhaps try asking about this on the main cygwin list. Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: MOUSE MOVE EVENT + CTRL + LEFT CLICK not recognized?
Igor Pechtchanski wrote: On Fri, 19 Aug 2005, jason cafarelli wrote: I've recently started using cygwin in place of XVision. One of my programs uses ctrl + left click to move a mouse cursor around the screen. For some reason CYGwin does not seem to recognize the ctrl key being held down. Is this a newb setup/configuration problem or something more serious? Two other xservers i have tested with recognize the ctrl+click. What does xev show? Igor Also, check if your num-lock makes a difference. Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: loosing mouse
Carson Wilcox wrote: Sometimes when I an running CygwinX on windoze 2000 the mouse begins behaving badly. I can move it but when I move it over an x-window the window goes to focus, but the mouse pointer does not display on the window. The only way I have been able to recover is to kill the xserver and restart it which is an issue when I have a lot of window open. Has anyone seen this behavior and/or have a better way to recover. I've seen this. I usually see it after I've been switching between virtual desktops (I use goScreen), so I've been assuming it was an artifact of that. However, I don't see it very often, and I don't think it has happened since I last upgraded. What version are you running? (http://cygwin.com/problems.html) Thanks Carson Cary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: FTP and xterm in 1.5.16...
Randy Widell wrote: After upgrading to 1.5.16, Cygwin seems to just hang when using 'ftp' in xterm. Oddly enough, the problem does not occur when running a shell through the Windows command window instead of xterm. Are you sure this is a new behavior? Were you previously using cygwin's ftp and are now using MS's? Many window's programs don't work properly through cygwin's ptys. The result can be that the process seems to just hang when it should be prompting for input. Cary
Re: CutPaste in xterm
Jason Dufair [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I think I've finally gotten to the bottom of the problem. I have discovered that highlighting in Rxvt does copy on to the Windows clipboard after all, but that pasting by clicking the middle mouse button does not work. It turns out that I have my middle button set to double-click. When I set my middle mouse button to AutoScroll (default), it pastes as expected. Is there any way for Cygwin/X to paste with the middle button in X windows, regardless of what the driver setting is for the middle button? Would this even be desirable? You are essentially making your 3 button mouse a 2 button mouse then. In this scenario you click both buttons at once to get the affect of the third button. You may need to set -emulate3buttons. Ariel Burbaickij [EMAIL PROTECTED] writes: Dear all, happy my question about possibilty to start windows applications direclty has provoked rather vivid discusion. Now for a change extremly dumb question: Cut paste inside xterm of cygwin X-server does not work neither traditional highlight and point to where you want to have it method, not ctrl-c/ctrl-v method. So, what is the trick? With Best Regards Ariel Burbaickij -- Sie haben neue Mails! - Die GMX Toolbar informiert Sie beim Surfen! Jetzt aktivieren unter http://www.gmx.net/info My guess on the OP's problem - sounds like a misunderstanding of how copy/paste works, since ctrl-c/ctrl-v is not used for copy/paste in xterm. Have you tried pasting with the middle mouse button? If that solves your problem, realize that the various X applications may have their own methods and you need to discover how to do it properly for each. Cary
Re: Is it somehow possible to start Windows applications from xterm so that they remain in X-Server area?
Ariel Burbaickij [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I guess the topic says it all, gentlemen ;-) With Best Regards Ariel Burbaickij Do you really need that? Have you tried -multiwindow or -rootless? These options will allow you to still see your Windows desktop and other Windows apps behind your X apps. Use -multiwindow if you are not using a separate window manager Use -rootless if you are using a separate window manager If you are using XDM it usually starts a separate window manager for you, so try it with -rootless. Cary
Re: mysql command line client hangs in cygwin xterm
Richard Piper rpiper at med.usyd.edu.au wrote in message news:[EMAIL PROTECTED]... This seems to hang in the cygwin xterm. Has anyone seen this problem? Seems to work normally in the xterm on other systems and at the NT command line. thanks Richard I've seen other applications work in a command shell but not rxvt. I assume you're having the same problem with xterm. Basically, the output isn't getting flushed out so you can't see it, but whatever you type is still accepted as input. Sorry, don't know of any way to fix it, other than sticking with cmd.exe. Maybe you can have an alias that will pop-up a regular cygwin window (in a command shell) for when you want to use mysql, and you can stick to xterm for the rest of your stuff. Note that this problem is a problem with cygwin and not anything in cygwin/x specifically. That's why rxvt has the same problem, whether you run it in native windows mode or X mode. So, if you want more information on it, I suggest asking in the regular cygwin mailing list. Cary
Re: numlock
Alexander Gottwald [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On Thu, 1 Apr 2004, J S wrote: Ah, not the answer I was expecting! Are you pulling my leg or was that a serious answer?! This is a serious answer. Numlock is treated as modifier key just like caps lock or control. pressing a key while numlock is on is just like pressing ctrl + key. I think perhaps the other part of this question is why some X11 servers on other platforms don't treat numlock as a modifier but XFree86 does. Could this be made configurable? I think this has been discussed before, though, so perhaps a search of the archives is in order... Cary
Re: Any WebBrowser for Cygwin?
Michael Henke [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I want to do X-Forwarding with my Windowx-XP-Box and am using Cygwin SSHd. SSH is working very fine so far. All i need is a browser (except textbrowser like lynx!) for www. Is there any Webbrowser like Mozilla, Netscape or Opera available for the cygwin-X-Server? Where to download and how to compile/install? There is the web mode in Emacs. May not have enough features for what you're looking for. Cary
Christmas donations
I sent this yesterday, but since I did so in reply to a spam post I think it got filtered out, because I never saw it come through. Anyway, the spam made me think that this would be a good time for all to show their appreciation to Harold and others by making a Christmas donation! http://xfree86.cygwin.com/donations.html Cary
Re: Keyboard autorepeat settings [Was: Updated: XFree86-xserv-4.3.0-22]
Harold L Hunt II [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Jack Tanner wrote: Alexander Gottwald wrote: If this is the case I can add code to use the windows default autorepeat settings to configure Xwin. But this will again change the old behavior of Xwin and some users might be unhappy with it. It would be consistent with other behavior to get autorepeat settings from Windows, not from X settings. For example, we try to use the Windows language settings, right? Sort of... it isn't quite that cut and dried. Besides, we have been using *both* X autorepeat and Windows autorepeat until recently. This was not a good solution. Since Xwin is a Windows application, there's little reason for it to have its own autorepeat configuration. It might be nice, but the Windows autorepeat caused problems with systems running in Japanese... so they need the XKB autorepeat functionality, since the Windows autorepeat needs to be disabled for them. So, we can't just remove XKB support or disable it permanently... it is required by some non-U.S. users. It seems to me that what is being asked for is that XKB support is kept but its default configuration (delay, repeat rate, etc.) is whatever Windows is currently set to. I think this makes very good since - if I really want a repeat rate different for X applications I can configure it, otherwise it should be the same as it is on all my other Windows apps. From the above comments it looks like Alexander understood this but Harold thought everyone was asking to remove XKB support and go back to using Windows autorepeat. Forgive me if I misread you, Harold. It may seems like we are being indecisive here... but there are really a lot of concerns that need to be considered in order to get a correct solution. Harold Cary
Re: mapping the right mouse button
J S [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I remember seeing recently that there was a fix for mapping the mouse buttons in XFree86. I'm trying to get an application called EMC (which does disk management on MVS) to work with XFree but the problem is the right mouse button doesn't seem to work. It should bring up a menu when I right click on one of the disk images. I found that I could use Shift-F10 instead though and wondered if someone could tell me how to map these keys to the right mouse button? Thanks for any help. Make sure your numlock is off - that has caused similar problems for some people. JS. Cary
Re: Default Mouse Pointer is Wrong
Harold L Hunt II [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Cary Jamison wrote: I've noticed this too, but haven't complained about it. I didn't realize the problem was specific to the -multiwindow window manager. This isn't a problem. It is the way it works. If this is true, than -multiwindow is not behaving as expected nor as other window managers behave wrt default cursors. The xsetroot is a work-around, but it seems to me this should be regarded as a bug in the window manager. The 'X' should be the default cursor when over the root window but an arrow when over an application window. Since -multiwindow doesn't really have a visible root window, it seems like permanently changing the default cursor to a pointer would be a good/quick solution. Fine. Run 'twm' as your window manager. Doesn't it do the same exact thing? That is the way that I have been reading the emails... if that is not the case, then could somebody please describe this better.? No, it behaves as I described earlier. Let me try again. There is an 'X' over the root window, but when over an application window the X changes to an arrow. I realize that an application may define its own pointers, but when it doesn't -multiwindows goes back to an 'X' and twm goes to a black arrow. For example : XWin twm xclock When the pointer is over the clock, it is a black arrow. When over the background it is an 'X'. XWin -multiwindow xclock When the pointer is over the clock it is an 'X'. There is no background window. I notice this in other apps as well. For example, on the scroll-bar of a gnome-terminal window displayed from my Linux box. This is where it gets annoying, because you have to point with the center of the X instead of the tip of an arrow. So, in essence most window managers have two default pointers - one when over an app and one when over the background. (Perhaps the window manager only has one default pointer and uses the X server's default pointer when not over a managed window?) From the history of XWin it is easy to see that there was originally only a need for one default pointer. When the internal window manager got added, it still only has one pointer. However, since there is no background root window having one pointer is sufficient since it can be the app default pointer (an arrow) instead of the background default pointer (an X). The solution you propose is not trivial. That is why this is the way it works and not a bug. I'm sure that upon further inspection you would figure out that trying to change this policy would result in the creation of a mouse-cursor over-riding policy that is a lot more complicated than what you think it would be. I'm pretty sure that it would be complicated enough that it isn't worth looking into. Of course, feel free to code me into submission. You may be right, since I haven't looked at the code yet. The default should be changeable through resource files, etc., so to do it right may not be as simple as adding a line of code in the internal window manager to change it. Does the internal window manager handle any resources at all, yet? There probably hasn't been a need to define any. The workaround of setting it in the startup file isn't bad, but it would be nice to get it changed right for the newbies, etc. Maybe as a minimum the xsetroot command could be added with appropriate comments to the startup file. Here's even a psuedo-diff for you :-) append to startxwin.bat + REM Set default cursor - normally only useful with -multiwindow window manager + run xsetroot -cursor_name left_ptr -fg white -bg black I'm not making any promises, but my work-load should lighten up in a couple weeks and I may be able to have a look at this then. Harold Cary
Re: Default Mouse Pointer is Wrong
Ricky Boone [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On Wed, 2003-11-05 at 09:37, Yadin Y. Goldschmidt wrote: Colin Harrison suggested long time ago to add the following line to the end of your startxwin.bat file: xsetroot -cursor_name left_ptr -fg white -bg black This will change the default mouse from an x to a white arrow. Ah ha, that did the trick. My apologies, I didn't even notice the suggestion when I searched for it. -.-;; Thanks for the help. :) I've noticed this too, but haven't complained about it. I didn't realize the problem was specific to the -multiwindow window manager. If this is true, than -multiwindow is not behaving as expected nor as other window managers behave wrt default cursors. The xsetroot is a work-around, but it seems to me this should be regarded as a bug in the window manager. The 'X' should be the default cursor when over the root window but an arrow when over an application window. Since -multiwindow doesn't really have a visible root window, it seems like permanently changing the default cursor to a pointer would be a good/quick solution. My $.02 Cary
Re: right-click problem
J S [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi, I'm still stuck on this despite going through the archives - I can't find a similar problem. On Exceed 6.2, the submenus work if I right-click the mouse. However in XFree86 and Exceed 7.1, they don't. (These are all with fresh installs). I have even tried running the app on Linux but still have the same problem. Not that I want to run the app on Exceed, but I just wonder what Exceed 6.2 is doing that the others aren't? JS. Did you turn off num-lock?
Re: remote xemacs and selection problem (using XWin -clipboard)
Kris Thielemans [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi I have a problem running XEmacs remotely. When I press ctrl-space, I do get 'mark set', but when I then press Ctrl-w to cut something, I get 'The region is not active now'. I have exactly the same when selecting a region with the mouse. The selection immediately disappears (presumably because of the clipboard functionality). Pressing ctrl-w then gives the above message. I'll make my usual recommendation - (I think this is the third time, so a search of this group would have helped you). I don't use -clipboard. I have a shortcut to xwinclip and start/stop it on demand. This way the funky X selections in xterm and emacs don't usually affect me. If I need to copy/paste between X and MS-Windows I start xwinclip and the close it afterwards. Cary
Re: cygwin alt-tab
Laura McWilliams [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]. .. thanx for your reply. actually, it was kind of my whole point to be able to use the window manager. or at least SOME window manager, since i'm rather fond of having multiple workspaces (a feature which apparently may be showing up in the next version of Windows). XP Powertoys from MS has a virtual desktop manager that lets you have four destktops. Cary
Re: blue screen death when starting X
Supreme Commander [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi I wanted a UNIX environment in WinXP, so I downloaded Cygwin, full package. In order to run Emacs in a window of my own, I was recommended to start a program usr/X11R6/bin/startxwin.sh. Unfortunately, this results in a blue-screen-of-death; the immediate shutdown of the system. Is this a bug (..in cygwin)? Don't know on this one. Send in the log, if one is generated. Even though I run RedHat, I am quite new to Linux/Unix, so I am afraid I need detailed help if possible. What I want to accomplish is as follows: Run Emacs in a interactive window (where I can use mouse on the 'file', 'edit'.. -menus) This I could not with the emacs started in the cygwin terminal window (GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit)) Write Fortran programs in Emacs, with the color-aid provided in i.e RedHat. Example: writing integer i will colorcode keyword integer, and also variable 'i'. You don't need X for any of this. Get the native NT/XP version of emacs or xemacs. Then you avoid the cut/paste issues with X/windows/emacs selection. Compile this to a UNIX excecutable program. But..you want to create a UNIX executable? Do you mean cygwin? Or are you trying to cross-compile to Linux? Cary
Re: -clipboard mark-region cut and paste xemacs dilemma in cygwin xfree86
terrence brannon [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] (How's that for a google-searchable title :)) I am between a rock and a hard place. If I start X-windows without the -clipboard option, then I cannot cut and paste between my windows web browser (mozilla) and my x-terminals using the middle mouse button. If I do start X-windows with the -clipboard option, then Xemacs seems to not be able to mark the region. Or rather, just after marking the region via the mouse or by hitting ctrl-space and moving to the other end of the region, I cannot use the region with the error: Region is not active now (As Harold mentions, this has been discussed before, including my suggestion below.) You might want to consider not using -clipboard and starting/stopping xwinclip as needed. This works for me, because I find I do not need to do a lot of copying/pasting between X and Windows, and prefer to have selection work properly in emacs and xterms. Cary
Re: XWin hangs when accessing font server
Alexander Gottwald [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Martin Buck wrote: xset fp+ tcp/fonts:7100 As soon as the xset commands runs, XWin locks up and consumes 100% CPU time. The same happens if I don't use XDMCP and only start XWin and a single xterm in which I type the xset command. This was already reported by other users. But until now, no one had the time to solve this problem. Maybe you can step in here. Also note that pointing to a font server on the Xwin command line when starting it works. The bug is in trying to add a font path later with xset. (disclaimer - as I've seen reported here, I don't actually use a font server) Cary
Re: xterm Page-Up -- does it work?
Is your num-lock on? Shing-Fat Fred Ma [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hello, I just fired up Xfree86 after using cygwin for a while. Nice. The xterms don't page up, though. Is this just a missing functionality, or is it me? Couldn't find anything about it in the archives. Thanks Fred -- Fred Ma, [EMAIL PROTECTED] Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6
Re: multiwindow segmentation fault
Kensuke Matsuzaki [EMAIL PROTECTED] wrote in message news:47336.0985903584$[EMAIL PROTECTED]... Harold, I see. Sorry, I can't find what makes segv yet. Kensuke Matsuzaki Oh, I thought when you posted it you were saying it fixed that problem. Guess I misread. Cary
Transparent term background
I have gnome-terminal's displayed from my Linux box. I can set the background transparent, but if I also click to make it shaded it just goes to black. Not sure what would cause this or where to even begin looking. Is it a missing extension in the server? Cary Cary Jamison [EMAIL PROTECTED] (801) 705-8685 voice (801) 705-4685 fax
Re: XFree and File Systems
Martín De Marchi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi! I'm developing a linux application, but the majority of the pc's in my organization have installed windows system, so Im going to install cigwin's xfree in the machines and use the linux application remotely. Can you port it to cygwin? Have one executable for your Linux machines and one for your Windows machines. Cary
Re: Windows Manager
I believe Harold was referring to the first part of your question, only. To use a remote font server, use -fp. An example is in the FAQ (though not obvious to find) - http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-solaris-fonts Cary Harold L Hunt II [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Martin, You cannot. Not yet, at least. We are getting closer to having this feature. Follow the mailing list or the announcement mailing list for notification of when a release is made. Harold -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Martín De Marchi Sent: Thursday, December 12, 2002 1:20 PM To: [EMAIL PROTECTED] Subject: Windows Manager Hello! For default, when I execute the startxwin.bat file, the twm windows manager is loaded... How I can configure X to use the windows of my Windows system? I have any problems of fonts visualisation... How I can configure X so that use the server of fonts of the remote system? Thanks! Martín.
Re: Mousewheel stops scrolling
Cary Jamison [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I have found a strange case where the mousewheel will stop working. I have a virtual desktop manager (goScreen). When I switch from another desktop to my XWin desktop the mousewheel will not work until I move the pointer off XWin and back on again. All other mouse buttons continue to work fine, it is only the wheel (buttons 4/5) for scrolling up/down that stops working. I've tried to duplicate this using similar methods such as minimizing and maximizing XWin and using alt-tab to switch other windows in front of XWin but those seem to work fine. Cary An additional piece of information...I tried xev and it doesn't see anything from the wheel, either. Cary Cary Jamison [EMAIL PROTECTED] (801) 705-8685 voice (801) 705-4685 fax
Mousewheel stops scrolling
I have found a strange case where the mousewheel will stop working. I have a virtual desktop manager (goScreen). When I switch from another desktop to my XWin desktop the mousewheel will not work until I move the pointer off XWin and back on again. All other mouse buttons continue to work fine, it is only the wheel (buttons 4/5) for scrolling up/down that stops working. I've tried to duplicate this using similar methods such as minimizing and maximizing XWin and using alt-tab to switch other windows in front of XWin but those seem to work fine. Cary Cary Jamison [EMAIL PROTECTED] (801) 705-8685 voice (801) 705-4685 fax
Re: Config question/prob with HP Openview
Traxler, Gene W [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I don't have a scrollwheel, just a two-button mouse. I do need to have 3ButtonEmulation turned on to get middle button stuff to work but right-click doesn't work in OpenView whether 3ButtonEmulation is turned on or off. Something that I just tested is using the left-right button combination to emulate a middle button copy of highlighted text into an OpenView window text box. That does work, right-clicking by itself does not. Is this a numlock problem? Try doing the right-click with the numlock off. Cary [EMAIL PROTECTED]
RE: Log filling up
Modifying the code to put the log in /dev/null certainly doesn't seem like an attractive solution. If I were to go that far, I would rather just search for where the particular message is output that is causing the problem and disable it. Do others not have this problem? The only unique thing about my setup is that I use Andrei Gourianov's goScreen as a virtual desktop manager under windows. I haven't tested to see if this affects the XWin.log or not. I can't imagine that it would, since the log fills up even when my desktop is set to the one where X is running, so it shouldn't see any difference. What is the purpose of this message (winCursorOffScreen () - hmm...)? It seems pretty useless. It would seem like a good idea to be able to configure where the log file goes, though. I never like seeing such things hard coded in a program. Cary --- Cary Jamison [EMAIL PROTECTED] (801) 705-8685 voice (801) 705-4685 fax
RE: Log filling up
From: Harold Hunt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 12:17 PM What is the purpose of this message (winCursorOffScreen () - hmm...)? It seems pretty useless. The message is mostly useless. The message was put there as sort of a heads up in case someone every reported seeing the message... then we would know that we need to implement the function. However, something on your system is apparently causing bogus mouse movement messages to be sent to Cygwin/XFree86. I think the better solution would be to fix whatever program is sending the bogus mouse messages (probably goScreen). What would this function do if it were implemented? It doesn't seem like it would need to do anything, anyway. have to fix it yourself. (Of course, the easy solution is to download the source as in the Cygwin/XFree86 Contributor's Guide, goto to file xc/programs/Xserver/hw/xwin/wincursor.c http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xwin/w incursor.c, #if 0 the ErrorF message that is bothering you, then compile according to the instructions in the Contributor's Guide... we're talking *maybe* 30 minutes of your time) Thanks for the info on what to change. I think I'll play around and try to determine what is causing the message, be it goScreen or whatever, first. I'd rather make this change than never have any log output by redirecting the log to /dev/null. Of course, things always take longer than expected - I'm sure I'm missing some other cygwin stuff to be able to do a quick 30 minute change (like gcc, for one). Wait, I could just do a binary edit and change that string to null, like Alexander suggested I do to the /tmp/XWin.log string to change it to /dev/null\0 Outputting a null string shouldn't fill up the log. I'll give that a try after I figure out if goScreen or what is the culprit. Harold Cary --- Cary Jamison [EMAIL PROTECTED] (801) 705-8685 voice (801) 705-4685 fax
Update on log filling up
Well, I was wrong. I thought I was getting tons of winCursorOffScreen () - hmm... messages in my log file, when actually the culprit is winShadowUpdateDDNL () - IDirectDrawSurface4_Blt () failed: 887601c2 The thing is my log was so big I could not tail or more it. I was using head and saw a few of the hmm messages and assumed those were the problem. Turns out I always get those occasionally as I move the mouse around, but they're not a significant problem. Also, the problem is not related to the virtual desktop manager (goScreen) that I am using. (And I do still get hmms whether or not I am running goScreen.) These messages appear when I press CTL-ALT-DEL to get to the XP Lock Workstation button and any X window is being updated (including the X screen saver, which never goes completely blank since it can't go to power-saving mode). I believe my workaround will be to disable the X screen saver, don't need it anyway--it was just going by default, and make sure I don't have any other animations or anything going when I lock my screen. Cary --- Cary Jamison [EMAIL PROTECTED] (801) 705-8685 voice (801) 705-4685 fax
Log filling up
I have just installed Cygwin/X 4.2.0 from binaries and am enjoying accessing both my Windows (XP Pro) and Linux boxes from one machine. However, I found that I cannot leave X running too long or my log fills up with the following message: winCursorOffScreen () - hmm... This can fill up a couple gigs worth of space overnight, when I have my machine locked. Is there a way to disable this message? Cary --- Cary Jamison [EMAIL PROTECTED] (801) 705-8685 voice (801) 705-4685 fax