Re: Multi-monitor setup problems
Actually it started working once I rebooted and restarted X. Must have just been in a weird state when the monitor was first hooked up. --- Alexander Gottwald [EMAIL PROTECTED] wrote: On Fri, 3 Jun 2005, Scott Cegielski wrote: I justhooked up a second monitor to my PC and now xfree only works on one of them. For example an xterm window allow me to type in it on the left monitor, but if I move the term to the right monitor, it stops responding. If I move it back top the first, everthing works fin again. Is there some setting in my startup batch file I should change to make this work? the -multiplemonitors options fixes this. This is default in multiwindow mode for some time now. How are you starting XWin? bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723 Scott Cegielski [EMAIL PROTECTED] __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail
Multi-monitor setup problems
I justhooked up a second monitor to my PC and now xfree only works on one of them. For example an xterm window allow me to type in it on the left monitor, but if I move the term to the right monitor, it stops responding. If I move it back top the first, everthing works fin again. Is there some setting in my startup batch file I should change to make this work? Thanks for any help. Scott Cegielski [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Color in Xterm vim matching gvim
Hi all, I was wondering if any vim/gvim users knew how to get gvim's color schemes to match those of regular shell based vim. For instance, I am using the koehler color scheme in gvim, but sometimes I just want to load vim but koehler looks different in the shell. Is this a limitation of xterm's color palette? Thanks for any info. Scott Cegielski [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Tabbed xterm
Thanks for the info. I got it working. One thing though, and this is probably an easy one. How can I get a windows shortcut to start mrxvt? Xterms are started like this: C:\cygwin\usr\X11R6\bin\run.exe -p /usr/X11R6/bin xterm -e /usr/bin/tcsh but if I try to start mrxvt like this: C:\cygwin\usr\X11R6\bin\run.exe -p /usr/local/bin mrxvt -e /ust/bin/tcsh Nothing comes up. Any ideas? --- Charles Plager [EMAIL PROTECTED] wrote: On Sun, 24 Apr 2005, Scott Cegielski wrote: I use ws3 under linux at work and have gotten really used to using gnome's tabbed shells. I don't know if this is a xterm feature or a gnome feature or neither, but is this something that could be implemented under cygwin xfree? AFAIR there is some rxvt cole which can do this. Search the mailinglist archives. The keyword tabbed xterm or xterm tabs should help. mrxvt is 'rxvt console' you're looking for: http://materm.sourceforge.net/ is the homepage I downloaded mrxvt-0.4.0.tar.gz, http://prdownloads.sourceforge.net/materm/mrxvt-0.4.0.tar.gz?download configured as told to do in the README file, http://materm.sourceforge.net/docs/README ./configure --enable-everything --disable-debug then 'make' and 'make install'. Cheers, Charles Scott Cegielski [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Tabbed xterm
I use ws3 under linux at work and have gotten really used to using gnome's tabbed shells. I don't know if this is a xterm feature or a gnome feature or neither, but is this something that could be implemented under cygwin xfree? Scott Cegielski [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
RE: Multiple XWin.exe programs loading and no xterm
I'm just trying to understand this even though it works for me now. Why are two X servers launching in the first place? --- Alexander Gottwald [EMAIL PROTECTED] wrote: On Wed, 30 Mar 2005, Armbrust, Daniel C. wrote: The -kb command helped with one of my machines that was having intermittent difficulties in launching. On another machine, however, I always have to execute the following script twice before I get any Xwin windows: run XWin -multiwindow -clipboard -silent-dup-error -kb run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e /usr/bin/bash -l run xterm -geometry 80x50-0-0 -sl 500 -sb -rightbar -e ssh -Y [EMAIL PROTECTED] The first time that I run it - Xwin.exe and two xterm.exe's appear in the process manager - then both xterm's disappear. Eventually the X finally appears in the lower right corner. This means XWin is taking very long to startup. Maybe because of a virus scanner? The xterms will timeout after no connection to the xserver could be established. The second xserver will notice the first one and will silently exit but now the xterms can connect to the first xserver. Adding a sleep after run XWin might help by postponing the xterm startup. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723 Scott Cegielski [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
RE: Multiple XWin.exe programs loading and no xterm
I wasn'y reffering to your situation specifically. Even when the script is not executed twice, two Xwin.exe processes launch. That is what I described in the first post of this thread. As I learned, adding the -kb flag makes the second Xwin.exe die shortly after the initial launch, but my question is why two are loading in the first place. --- Armbrust, Daniel C. [EMAIL PROTECTED] wrote: Because I execute the entire script twice, since the first execution doesn't bring up any xterms. Still not sure what is causing it to take so long to launch the xwin.exe. Can I set the timeout values on the xterm's with a flag? Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Cegielski Sent: Thursday, March 31, 2005 10:38 AM To: cygwin-xfree@cygwin.com Subject: RE: Multiple XWin.exe programs loading and no xterm I'm just trying to understand this even though it works for me now. Why are two X servers launching in the first place? --- Alexander Gottwald [EMAIL PROTECTED] wrote: On Wed, 30 Mar 2005, Armbrust, Daniel C. wrote: The -kb command helped with one of my machines that was having intermittent difficulties in launching. On another machine, however, I always have to execute the following script twice before I get any Xwin windows: run XWin -multiwindow -clipboard -silent-dup-error -kb run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e /usr/bin/bash -l run xterm -geometry 80x50-0-0 -sl 500 -sb -rightbar -e ssh -Y [EMAIL PROTECTED] The first time that I run it - Xwin.exe and two xterm.exe's appear in the process manager - then both xterm's disappear. Eventually the X finally appears in the lower right corner. This means XWin is taking very long to startup. Maybe because of a virus scanner? The xterms will timeout after no connection to the xserver could be established. The second xserver will notice the first one and will silently exit but now the xterms can connect to the first xserver. Adding a sleep after run XWin might help by postponing the xterm startup. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723 Scott Cegielski [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ Scott Cegielski [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
RE: Multiple XWin.exe programs loading and no xterm
For me, adding -kb to the xwin command did work. Thanks much for the help. --- Armbrust, Daniel C. [EMAIL PROTECTED] wrote: The -kb command helped with one of my machines that was having intermittent difficulties in launching. On another machine, however, I always have to execute the following script twice before I get any Xwin windows: --CUT-- All of the standard startXWin.bat environment setup stuff... --CUT-- run XWin -multiwindow -clipboard -silent-dup-error -kb run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e /usr/bin/bash -l run xterm -geometry 80x50-0-0 -sl 500 -sb -rightbar -e ssh -Y [EMAIL PROTECTED] The first time that I run it - Xwin.exe and two xterm.exe's appear in the process manager - then both xterm's disappear. Eventually the X finally appears in the lower right corner. Then I run the script again, and this time the xterms actually launch. Here is the log file from the first launch: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: /usr/X11R6/bin/XWin -multiwindow -clipboard -silent-dup-error -kb ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1280 h 1024 winInitializeDefaultScreens - Returning _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information (==) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32 winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () winInitMultiWindowWM - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 (++) XkbExtension disabled (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winMultiWindowXMsgProc - pthread_mutex_lock () returned. winInitMultiWindowWM - pthread_mutex_lock () returned. winInitMultiWindowWM - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winProcEstablishConnection - Hello winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. winClipboardProc - XOpenDisplay () returned and successfully opened the display. Does this shed any light on things? Thanks, Dan Scott Cegielski [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Multiple XWin.exe programs loading and no xterm
I did also try startx. Please see my original email for the output of startx. thanks --- Steven Boothe [EMAIL PROTECTED] wrote: Scott Cegielski wrote: Hello, Please help. This is my first time trying to start X windows using cygwin although I have been using cygwin for a while now. I am running it like this: 1. Open cygwin bash shell 2. Type startxwin.bat Try typing startx at the command line. What happens then? Scott Cegielski [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
Re: Multiple XWin.exe programs loading and no xterm
For me, putting a pause at the end of startxwin.bat does not make it work. However, I have found something that does seem to work for me. When I launch statxwin.bat, in addition to the 2 XWin.exe processes, there is also a sh.exe process that starts which I assume is from the MS-DOS shell that the .bat is run from. Even though the shell window closes after the script finishes, the sh.exe process is still running. If I open the task manger and end the sh.exe process, the xterm pops open and the extra XWin.exe goes away. Does anyone know why this sh.exe process whould linger around or how to kill it without having to open the task manager and mouse to it every time? --- Jack Tanner [EMAIL PROTECTED] wrote: Armbrust, Daniel C. wrote: This happens to me all the time - I usually have to launch the X stuff 2 or 3 times before it actually works. I have to manually kill off all xterm.exe, bash.exe, and other cygwin programs in between the launches. I keep meaning to look into it more, but since I start it less than once a week, I haven't had enough incentive to dig deeper yet. I guess I'm not alone. I've managed to solve this problem with the following hack: I add a pause command to the end of startxwin.bat. I forget why I tried this, but it works. Scott Cegielski [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Multiple XWin.exe programs loading and no xterm
Hello, Please help. This is my first time trying to start X windows using cygwin although I have been using cygwin for a while now. I am running it like this: 1. Open cygwin bash shell 2. Type startxwin.bat The problem is that not much happens after that except that an X icon shows up in the windows task bar. If I open the windows Task Manager, I can see that there are two XWin.exe programs running. There is also an xterm.exe running, although I cannot see it on my screen. I have tried killing one of the XWin.exe processes, but the xterm never opens. I have also tried startx from the cygwin shell. This produces the same results described above, although it does print some information to the shell. Listed below is a copy of this shell printout. Am I starting it the wrong way? I am running this under Windows XP with service pack 2 installed. Any ideas? I have seached the web and mailing list archive to try and find some answers for this problem, but have found nothing. Thanks in advance for any help. Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.1.0-7 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information (==) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TT F/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/ X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 winSetEngine - Multi Window or Rootless = ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32 winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () winInitMultiWindowWM - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shar ed memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 Rules = xorg Model = pc105 Layout = us Variant = (null) Options = (null ) (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap (--) 16 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li st! winPointerWarpCursor - Discarding first warp: 640 512 winMultiWindowXMsgProc - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winInitMultiWindowWM - pthread_mutex_lock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - pthread_mutex_unlock () returned. winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 Scott Cegielski [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com