getting rxvt to use the same font for both W11 and X11
I would like to specify a font for rxvt in ~/.Xdefaults and have it look the same whether it's using native win32 or X11. I have added lucida console to the font path, and I wish to have it be 11 pt. If I put: rxvt*font: "-*-lucida console-*-*-*-*-*-11-*-*-*-*-*-*" ...in .Xdefaults, then the font looks fine for W11 (rxvt started with no xserver), but it's tiny when started with Xwin running. Likewise if I use rxvt*font: "-*-lucida console-*-*-*-*-*-110-*-*-*-*-*-*" ...in .Xdefaults, then the font looks correct for X11 but looks HUGE for native windows. It seems that W11 and X11 seem to have a factor of 100 difference in point sizes. Is there any clean solution to this, so that I can have the fonts look the same in both situations? Brian
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
XWin crashes when exiting in W98(SE)
X11R6\bin\cygdps-1.dll 26k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygdpstk-1.dll 21k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygfontenc-1.dll 9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygoldX-6.dll 20k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygpsres-1.dll 125k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxkbfile-1.dll 12k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxkbui-1.dll 40k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxrx-6.dll 25k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxrxnest-6.dll 37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll 48k 2003/08/09 C:\cygwin\bin\cygform7.dll 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll 617k 2004/03/22 C:\cygwin\bin\cygcurl-2.dll 22k 2004/02/10 C:\cygwin\bin\cygcygipc-2.dll 831k 2003/09/20 C:\cygwin\bin\cygdb-4.1.dll 174k 2004/10/14 C:\cygwin\bin\cygexpat-0.dll 132k 2003/08/11 C:\cygwin\bin\cygjpeg-62.dll 62k 2003/12/11 C:\cygwin\bin\cygpcre-0.dll 9k 2003/12/11 C:\cygwin\bin\cygpcreposix-0.dll 30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll 21k 2001/06/20 C:\cygwin\bin\cygintl.dll 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll 45k 2001/04/25 C:\cygwin\bin\cygform5.dll 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll 35k 2002/01/09 C:\cygwin\bin\cygform6.dll 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll 380k 2002/07/24 C:\cygwin\bin\cygdb-3.1.dll 19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll 170k 2002/01/21 C:\cygwin\bin\cygpng2.dll 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll 55k 2004/09/14 C:\cygwin\bin\cygbz2-1.dll 129k 2004/03/11 C:\cygwin\bin\cygfontconfig-1.dll 29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll 487k 2002/07/24 C:\cygwin\bin\cygdb_cxx-3.1.dll 19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll 28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll 15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll 361k 2003/10/25 C:\cygwin\bin\cygfreetype-6.dll 224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll 29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll 63k 2003/04/11 C:\cygwin\bin\cygpcre.dll 61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll 148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll 645k 2003/04/11 C:\cygwin\bin\cygcrypto.dll 165k 2003/04/11 C:\cygwin\bin\cygssl.dll 168k 2003/08/10 C:\cygwin\bin\cygpng10.dll 40k 2004/10/10 C:\cygwin\bin\cygform-8.dll 22k 2004/10/10 C:\cygwin\bin\cygmenu-8.dll 74k 2004/10/10 C:\cygwin\bin\cygncurses++-8.dll 216k 2004/10/10 C:\cygwin\bin\cygncurses-8.dll 13k 2004/10/10 C:\cygwin\bin\cygpanel-8.dll 25k 2004/10/12 C:\cygwin\bin\cyghistory6.dll 144k 2004/10/12 C:\cygwin\bin\cygreadline6.dll 299k 2004/10/10 C:\cygwin\bin\cygtiff-5.dll 15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll 173k 2003/08/10 C:\cygwin\bin\cygpng12.dll 119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll 281k 2003/02/24 C:\cygwin\bin\cygtiff3.dll 282k 2003/08/11 C:\cygwin\bin\cygtiff4.dll 852k 2005/03/23 C:\cygwin\bin\cygcrypto-0.9.7.dll 171k 2005/03/23 C:\cygwin\bin\cygssl-0.9.7.dll 1252k 2005/01/27 C:\cygwin\bin\cygperl5_8.dll 50k 2003/08/09 C:\cygwin\bin\cygXpm-noX4.dll 54k 2003/08/09 C:\cygwin\bin\cygXpm-X4.dll 60k 2003/07/27 C:\cygwin\bin\cygkpathsea-3abi13.dll 1080k 2003/09/20 C:\cygwin\bin\cygdb_cxx-4.1.dll 60k 2004/09/27 C:\cygwin\bin\cygkpathsea-3.dll 71k 2004/12/30 C:\cygwin\bin\cygkpathsea-4.dll 54k 2004/07/06 C:\cygwin\bin\cygintl-3.dll 1412k 2005/03/12 C:\cygwin\bin\cyggsl-0.dll 21k 2004/10/22 C:\cygwin\bin\cygminires.dll 17k 2004/07/06 C:\cygwin\bin\cyggettextpo-0.dll 107k 2004/07/06 C:\cygwin\bin\cyggettextlib-0-14-1.dll 190k 2004/07/06 C:\cygwin\bin\cyggettextsrc-0-14-1.dll 802k 2003/09/15 C:\cygwin\bin\cygaspell-15.dll 62k 2004/09/14 C:\cygwin\bin\cygz.dll 991k 2004/07/06 C:\cygwin\bin\cygiconv-2.dll 184k 2005/03/12 C:\cygwin\bin\cyggslcblas-0.dll 18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll 146k 2004/12/21 C:\cygwin\bin\cygmagic-1.dll 895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll 1156k 2004/04/28 C:\cygwin\bin\cygdb_cxx-4.2.dll 8496k 2005/03/31 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.5.14 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 126 Shared data: 4 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 Mar 30 17:1
RE: Multiple XWin.exe programs loading and no xterm
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
Re: problem with /etc/X11/xinit/xinitrc
Eyal Rozenberg wrote: > Many of the variables used in /etc/X11/xinit/xinitrc must be placed > within double quotes, otherwise home directory names with spaces are not > handled properly, e.g. /home/Some One/ is treated as two separate tokens > on the command line. I suggest the following : I'll add it to the next startup scripts release bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Multiple XWin.exe programs loading and no xterm
On Tue, 29 Mar 2005, Scott Cegielski wrote: > 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? This is from the xkbcomp call. Add -kb to the xwin commandline and it will not be started but the keyboard layout will be us only. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Question about X-Windows and Perl
You need to install the Tk bundle which does not come with the cygwin perl distribution. You can get it from CPAN. This is not really on topic for cygwin-xfree as it is entirely a Perl issue. Cheers, Scott B. On Tue, 29 Mar 2005 18:23:37 -0500, Jason B <[EMAIL PROTECTED]> wrote: > I am currently working on a program for school that I must write in Perl. > The program is to code something that will create a new X-Windows > application. Inorder to test my program I need to use an X-Windows > environment, I installed CygwinX and when I run my perl code using the > following command > perl tkdemo.pl > the following error appears > Can't locate Tk.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin > /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin > /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 > /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 > /usr/lib/perl5/vendor_perl/5.8 .) at tkdemo.pl line 3. > BEGIN failed--compilation aborted at tkdemo.pl line 3 > > I know for a fact the code is correct as it runs perfectly fine on the > school Unix boxes. I however have a windows box, and cannot seem to get > this work. Any and all help will be greatly appreciated. > > Thank you > > -- Scott Barkla Consulting Manager South Australia 203 Fullarton Road, Eastwood SA 5063 Phone: 08 8373 8500 Fax: 08 8373 8501 Mobile: 0411 742 908 E-mail: [EMAIL PROTECTED] Web: http://www.TechnologyOneCorp.com