Clipboard problems with xemacs whole-line selection

2004-08-10 Thread Ed Avis
Normally recent versions of XWin have reliable cut and paste between X
and Windows.  The application I run under X is xemacs.  But I recently
noticed that when triple-clicking a line of text in xemacs to select
the whole line and put it in the clipboard, I couldn't paste it into
Windows.  The log file has some messages about UTF8String.   Other
ways of selecting the same text in xemacs set the Windows clipboard
correctly.  The text being pasted is just plain ASCII characters.

Here is the XWin.log showing a few attempts by me to select some text
by triple-clicking in xemacs and paste it into Firefox or Notepad.  I
also found that for a little while after I'd stopped doing anything
XWin was still spewing 'XConvertSelection () failed' messages to its
log once or twice a second.  But it stopped eventually.

Does the following log file have enough information or would you like
me to do some more investigation?

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.7.0.0-12

Contact: [EMAIL PROTECTED]

XWin was started with the following command line:

/usr/X11R6/bin/XWin -clipboard -engine 1 -br 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1200 h 1600
winInitializeDefaultScreens - Returning
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
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using user's preference: 1
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1194 height: 1547 depth: 32
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
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=250, rate=31
(--) winConfigKeyboard - Layout: "0809" (0809) 
(--) Using preset keyboard for "English (United Kingdom)" (809), type "4"
Rules = "xorg" Model = "pc105" Layout = "gb" Variant = "(null)" Options = "(null)"
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
winPointerWarpCursor - Discarding first warp: 597 773
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.
winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 32, new bpp: 32
winWindowProc - WM_DISPLAYCHANGE - new width: 1200 new height: 1600
winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 32, new bpp: 32
winWindowProc - WM_DISPLAYCHANGE - new width: 1200 new height: 1600
winClipboardWindowProc - WM_DRAWCLIPBOARD - Nested calls detected.  Bailing.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
CompoundText, aborting: 1
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
UTF8String, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
CompoundText, aborting: 1
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
UTF8String, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
CompoundText, aborting: 1
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
UTF8String, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
CompoundText, aborting: 1
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
UTF8String, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
CompoundText, aborting: 1
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
UTF8String, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
CompoundText, aborting: 1
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
UTF8String, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - Sele

Re: can't paste from Windows to X clients

2004-08-10 Thread Ken Dibble
I have this problem intermittently.
It seems to only happen when I forget to hit Ctrl-C on the windows side.
I forget that just highlighting the text isn't good enough after being 
spoiled on the X side.

Andrew Schulman wrote:
I run XWin.exe -multiwindow -clipboard -dpi 100 .  I can copy and paste from X 
to Windows clients, but not from Windows to X clients.  Windows to Windows 
and X to X copies also work fine.

I know I've seen postings about this problem in the past, but I can't find 
anything recent about it and I don't know what the status is.  The problem 
has persisted for me for a long time, on two different Windows XP boxes.

Any help appreciated.  cygcheck -svr is attached.
Andrew.
 

 




Circular dependency between xorg-x11-bin and libxft makes uninstallation impossible

2004-08-10 Thread Sridhar Ramesh
I'm not sure if this is the right mailing list for this, but it's about Cygwin X11 
packages, so I think I'm in the right place.

I've been trying to uninstall the X11 packages for Cygwin, but a circular dependency 
combined with the nature of setup.exe seems to make this impossible. xorg-x11-bin 
requires libXft and libXft requires xorg-x11-bin. So, if both are installed, they 
become very difficult to remove: First you select one for uninstallation, then when 
you go to select the other for uninstallation you must toggle from Keep to Reinstall 
first, which reselects the first one for installation. The only possible way to select 
two things at once is if both are in the same category, but in this case, they aren't, 
so it appears there really is no way out. The same circular dependency problem exists 
with xorg-x11-bin and libXft1.

Like I said, I'm not sure if this is the right mailing list on which to point out this 
problem, and if the circular dependency can't be changed, perhaps what really needs 
changing is the toggling order in Setup.exe between "Keep", "Reinstall", "Uninstall", 
etc. But for the time being, I just wanted to bring this to some attention (and also 
ask if there is any other way to uninstall X11).

-Sridhar Ramesh



Re: Clipboard problems with xemacs whole-line selection

2004-08-10 Thread Dr. Volker Zell
> Ed Avis writes:

> Normally recent versions of XWin have reliable cut and paste between X
> and Windows.  The application I run under X is xemacs.  But I recently
> noticed that when triple-clicking a line of text in xemacs to select
> the whole line and put it in the clipboard, I couldn't paste it into
> Windows.  The log file has some messages about UTF8String.   Other
> ways of selecting the same text in xemacs set the Windows clipboard
> correctly.  The text being pasted is just plain ASCII characters.


I just checked and it works fine for me.

> Here is the XWin.log showing a few attempts by me to select some text
> by triple-clicking in xemacs and paste it into Firefox or Notepad.  I
> also found that for a little while after I'd stopped doing anything
> XWin was still spewing 'XConvertSelection () failed' messages to its
> log once or twice a second.  But it stopped eventually.

Here is my XWin.log

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.7.0.0-12

Contact: [EMAIL PROTECTED]

XWin was started with the following command line:

X -ac -nodecoration -rootless -nowinkill -clipboard -fp
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X1
1R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi
/,/usr/local/share/emacs/fonts/,/dev/c/WINNT/Fonts/,/usr/local/share/fonts/,/usr/X11R6/lib/X11/fonts/Ethiopic/,/usr/X11R6
/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/cyrillic/

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
_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
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel
winFinishScreenInitFB - Masks: 00ff ff00 00ff
(--) Setting autorepeat to delay=250, rate=31
(--) winConfigKeyboard - Layout: "0407" (0407)
(--) Using preset keyboard for "German (Germany)" (407), type "4"
Rules = "xorg" Model = "pc105" Layout = "de" Variant = "(null)" Options = "(null)"
winPointerWarpCursor - Discarding first warp: 512 383
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.

> Ed Avis <[EMAIL PROTECTED]>

Ciao
  Volker



Re: Circular dependency between xorg-x11-bin and libxft makes uninstallation impossible

2004-08-10 Thread Gerrit P. Haase
Hello Sridhar,

Am Dienstag, 10. August 2004 um 21:37 schriebst du:

> I'm not sure if this is the right mailing list for this, but it's
> about Cygwin X11 packages, so I think I'm in the right place.

> I've been trying to uninstall the X11 packages for Cygwin, but a
> circular dependency combined with the nature of setup.exe seems to
> make this impossible. xorg-x11-bin requires libXft and libXft
> requires xorg-x11-bin. So, if both are installed, they become very
> difficult to remove: First you select one for uninstallation, then
> when you go to select the other for uninstallation you must toggle
> from Keep to Reinstall first, which reselects the first one for
> installation. The only possible way to select two things at once is
> if both are in the same category, but in this case, they aren't, so
> it appears there really is no way out. The same circular dependency
> problem exists with xorg-x11-bin and libXft1.

> Like I said, I'm not sure if this is the right mailing list on
> which to point out this problem, and if the circular dependency
> can't be changed, perhaps what really needs changing is the toggling
> order in Setup.exe between "Keep", "Reinstall", "Uninstall", etc.
> But for the time being, I just wanted to bring this to some
> attention (and also ask if there is any other way to uninstall X11).

Run setup.exe twice?

Gerrit
-- 
=^..^=




XWin and xauth

2004-08-10 Thread Rayman, Louis
I'm having the weirdest time getting XWin to grant my solaris/linux login
display rights.

first, my host PC translates its own name differently than the unix machines
do, so I get something like this:
cygin$ xauth list
nyfitw957952.leh.lbcorp.lehman.com:0  MIT-MAGIC-COOKIE-1
081b3d50145b5525317315327a715f62

but:

solaris$ xauth list
nyfitw957952.lehman.com:0  MIT-MAGIC-COOKIE-1
081b3d50145b5525317315327a715f62
solaris$ echo $DISPLAY
nyfitw957952.lehman.com:0
solaris$ xterm
Xlib: connection to "nyfitw957952.lehman.com:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
xterm Xt error: Can't open display: nyfitw957952.lehman.com:0


then, if by some  miracle I get past that, after a certain amount of time,
the connection stop working, even if I already have an xterm running, I
can't start another!!?!

what's a poor boy to do?

--
Louis Rayman



--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.

Cygwin Configuration Diagnostics
Current System Time: Tue Aug 10 17:42:25 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   h:\bin
h:\cygwin\usr\local\bin
h:\cygwin\bin
h:\cygwin\bin
h:\cygwin\usr\X11R6\bin
.
h:\cygwin\bin
h:\cygwin\usr\X11R6\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\DBMS\Sybase\ODBC\4.0
c:\DBMS\sybase\Open Client\12.5\OCS-12_5\dll
c:\DBMS\sybase\Open Client\12.5\OCS-12_5\bin
c:\DBMS\sybase\Open Client\12.5\OCS-12_5\lib3p
C:\Program Files\Hummingbird\Connectivity\7.10\Accessories\
C:\Program Files\Hummingbird\Connectivity\7.10\NFSClient
c:\TIBCO\TIBRV\BIN
C:\Program Files\TIBCO\TIBRV\bin
C:\Program Files\IONA\asp\6.1\bin
C:\Program Files\IONA\bin
C:\Program Files\JavaSoft\JRE\1.3.1\bin\hotspot
c:\progra~1\iona\orbix Runtime\334\COMet\bin
c:\progra~1\iona\orbix Runtime\334\bin
c:\jwsdp-1.3\jwsdp-shared\bin
c:\jwsdp-1.3\apache-ant\bin
c:\jwsdp-1.3\jwsdp-shared\bin
c:\jwsdp-1.3\bin
c:\j2sdk1.4.2_03\bin
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
C:\Program Files\Microsoft Visual Studio\VC98\bin
C:\Program Files\Microsoft Visual Studio\Common\Tools
c:\lehman\alg

Output from h:\cygwin\bin\id.exe (nontsec)
UID: 158230(lrayman) GID: 545(Users)
544(Administrators)  545(Users)

Output from h:\cygwin\bin\id.exe (ntsec)
UID: 158230(lrayman) GID: 545(Users)
0(root)  544(Administrators)  
545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `h:\'
MAKE_MODE = `unix'
PWD = `/cygdrive/h'
USER = `lrayman'

!EXITCODE = `'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\lrayman\Application Data'
CI_HOLOS_CLI = `C:\Program Files\Seagate Software\Open Olap\'
CLASSPATH = `C:\TIBCO\TIBRV\LIB\tibrvj.jar'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `NYFITW957952'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
CYGWIN_ROOT = `\cygwin'
DISPLAY = `127.0.0.1:0.0'
FIDS_FINLIB_DEFINITIONS = `C:\Program Files\Lehman\FID Definitions\finlib.def'
FIDS_INSTRUMENTLIB_DEFINITIONS = `C:\Program Files\Lehman\FID 
Definitions\instrumentlib.def'
FINLIB_DAT = `C:\Program Files\Lehman\FID Definitions\finlib.def'
HOMEDRIVE = `H:'
HOMEPATH = `\'
HOMESHARE = `\\leh\fid\USERS1\lrayman'
HOSTNAME = `nyfitw957952'
HTTP_PROXY = `http://webhost.lehman.com:80'
INCLUDE = `C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program 
Files\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual 
Studio\VC98\include'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
IT_CONFIG_PATH = `c:\progra~1\iona\orbix Runtime\334\config'
IT_IDLGEN_CONFIG_FILE = `c:\progra~1\iona\orbix Runtime\334\config\idlgen.cfg'
IT_LICENSE_FILE = `C:\Program Files\Iona\OrbixE2aDevelop\5.1\etc\license.txt'
IT_PRODUCT_DIR = `C:\Program Files\Iona\OrbixE2aDevelop\5.1;C:\Program Files\IONA'
JAVA_HOME = `C:\Program Files\java\j2re1.4.2_03'
LESS = 

Re: Circular dependency between xorg-x11-bin and libxft makes uninstallation impossible

2004-08-10 Thread Sridhar Ramesh
Unfortunately, at the start of a second run of setup.exe, setup will notice the 
missing package and reselect it for installation, it being a dependency of the 
non-missing package. Therefore, the second run of setup.exe starts off the same way 
the first run of setup.exe does, and so the second run of setup.exe can leave one no 
better off than the first one can.

-Sridhar Ramesh

> Hello Sridhar,
> 
> Am Dienstag, 10. August 2004 um 21:37 schriebst du:
> 
>> I'm not sure if this is the right mailing list for this, but it's about
>> Cygwin X11 packages, so I think I'm in the right place.
> 
>> I've been trying to uninstall the X11 packages for Cygwin, but a 
>> circular dependency combined with the nature of setup.exe seems to make
>> this impossible. xorg-x11-bin requires libXft and libXft requires
>> xorg-x11-bin. So, if both are installed, they become very difficult to
>> remove: First you select one for uninstallation, then when you go to
>> select the other for uninstallation you must toggle from Keep to
>> Reinstall first, which reselects the first one for installation. The
>> only possible way to select two things at once is if both are in the
>> same category, but in this case, they aren't, so it appears there really
>> is no way out. The same circular dependency problem exists with
>> xorg-x11-bin and libXft1.
> 
>> Like I said, I'm not sure if this is the right mailing list on which to
>> point out this problem, and if the circular dependency can't be changed,
>> perhaps what really needs changing is the toggling order in Setup.exe
>> between "Keep", "Reinstall", "Uninstall", etc. But for the time being, I
>> just wanted to bring this to some attention (and also ask if there is
>> any other way to uninstall X11).
> 
> Run setup.exe twice?
> 
> Gerrit -- =^..^=
> 
> 
> 
>