Re: changing monitors dynamically confuses Xwin

2005-01-22 Thread Eliot Moss
> "Igor" == Igor Pechtchanski <[EMAIL PROTECTED]> writes:

>> First let me say that I am running Cygwin/XFree 6.8.1.0-9 on a Windows XP
>> box. I start X with the default parameters (plus -clipboard).
>> 
>> -- Want to: Use the XP Display Properties > Settings menu to add. on the
>> fly, a second display, namely a video projector. I "Extend the Windows
>> Desktop" to this projector for displaying PowerPoint slides. I want X to
>> stay the way it was, in an XP window that covers the whole laptop LCD
>> screen, but not displaying on the video projector.
>> 
>> -- What happens: When I do this, after the display configuration change,
>> the X window contents no longer display, though the cursors show and
>> input appears to be active. XP things work as expected, and I can move
>> the cursor from one screen to another, etc. PowerPoint does the right
>> thin, showing presenter view on LCD screen anbd slide show on video
>> projector. Once I am done and change the configuration back to one
>> display, X works again like normal.
>> 
>> Any suggestions? Or is this going to need some heavy duty programming to
>> fix?

Igor> You might want to give the "-multiplemonitors"[*] XWin option a
Igor> try -- I think that's what it was written for.

Thanks, Igor ...

I made sure I used that flag (and the spelling you give does match XWin's
--help output for the version I am using).

Same behavior. I include the XWin.log file below; note that the display
starts out 1280x768, so the display changes are to a display of the same
size:

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.1.0-9

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/X :0 -clipboard -multiplemonitors 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 768
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(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/"
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"
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from 
list!
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 32, new bpp: 32
winWindowProc - WM_DISPLAYCHANGE - new width: 1280 new height: 768
winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the 
primary surface was lost, trying to restore, retry: 1
winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 32, new bpp: 32
winWindowProc - WM_DISPLAYCHANGE - new width: 1280 new height: 768
winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the 
primary surface was lost, trying to restore, retry: 1
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 32, new bpp: 32
winWindowProc - WM_DISPLAYCHANGE - new width: 1280 new height: 768
winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the 
primary surface was lost, trying to restore, retry: 1
winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the 
primary surface was lost, trying to restore, retry: 2
winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the 
primary surface was lost, trying to restore, retry: 1
winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the 
primary surface was lost, trying to restore, retry: 2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the 
primary surface was lost, trying to restore, retry: 1
winBltExposedRegionsShadowDDNL - 

Re: changing monitors dynamically confuses Xwin

2005-01-22 Thread Igor Pechtchanski
On Sat, 22 Jan 2005, Eliot Moss wrote:

> Dear Cygwin/Xwin maintainers:
>
> First let me say that I am running Cygwin/XFree 6.8.1.0-9 on a Windows XP
> box. I start X with the default parameters (plus -clipboard).
>
> Here's what I want to do, and what happens:
>
> -- Want to: Use the XP Display Properties > Settings menu to add. on the
>fly, a second display, namely a video projector. I "Extend the Windows
>Desktop" to this projector for displaying PowerPoint slides. I want X to
>stay the way it was, in an XP window that covers the whole laptop LCD
>screen, but not displaying on the video projector.
>
> -- What happens: When I do this, after the display configuration change,
>the X window contents no longer display, though the cursors show and
>input appears to be active. XP things work as expected, and I can move
>the cursor from one screen to another, etc. PowerPoint does the right
>thin, showing presenter view on LCD screen anbd slide show on video
>projector. Once I am done and change the configuration back to one
>display, X works again like normal.
>
> Any suggestions? Or is this going to need some heavy duty programming to
> fix?

Hi, Eliot,

You might want to give the "-multiplemonitors"[*] XWin option a try -- I
think that's what it was written for.
HTH,
Igor
[*] The XWin man page lists it as "-multimonitors", for some reason, but
the patch was submitted for "-multiplemonitors".  It should be one or the
other...
-- 
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


changing monitors dynamically confuses Xwin

2005-01-22 Thread Eliot Moss
Dear Cygwin/Xwin maintainers:

First let me say that I am running Cygwin/XFree 6.8.1.0-9 on a Windows XP
box. I start X with the default parameters (plus -clipboard).

Here's what I want to do, and what happens:

-- Want to: Use the XP Display Properties > Settings menu to add. on the
   fly, a second display, namely a video projector. I "Extend the Windows
   Desktop" to this projector for displaying PowerPoint slides. I want X to
   stay the way it was, in an XP window that covers the whole laptop LCD
   screen, but not displaying on the video projector.

-- What happens: When I do this, after the display configuration change,
   the X window contents no longer display, though the cursors show and
   input appears to be active. XP things work as expected, and I can move
   the cursor from one screen to another, etc. PowerPoint does the right
   thin, showing presenter view on LCD screen anbd slide show on video
   projector. Once I am done and change the configuration back to one
   display, X works again like normal.

Any suggestions? Or is this going to need some heavy duty programming to
fix?

Regards -- Eliot Moss
==
J. Eliot B. Moss, Associate Professor http://www.cs.umass.edu/~mosswww
Director, Arch. and Lang. Impl. Lab.  +1-413-545-4206voice
Department of Computer Science+1-413-695-4226 cell
140 Governor's Drive, Room 372+1-413-545-1249  fax
University of Massachusetts at Amherst[EMAIL PROTECTED]  email
Amherst, MA  01003-9264  USA  +1-413-545-3733 Priscilla Coe  sec'y
==


Re: how to install new font in cygwin

2005-01-22 Thread Alexander Gottwald
Duong Dang wrote:

> I am working a project in cygwin. I must install some VietNam font but
> I don't know how. could you help me?

Is it a ttf font? copy it to /usr/X11R6/lib/X11/fonts/TTF and run font-update.
That should be all.

bye
ago
NP: In Macula - Future times
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


how to install new font in cygwin

2005-01-22 Thread Duong Dang
I am working a project in cygwin. I must install some VietNam font but
I don't know how. could you help me?