Alt-gr not working in Emacs and Clipboard crashes emacs

Greger Wikstrand greger@cs.umu.se
Mon Mar 8 10:38:00 GMT 2004


Hi all!
 
Since I downloaded the latest updates to Cygwin including the 4.3.0-1
version of XFree86 I have been having two big problems with emacs (GNU Emacs
21.3.2 (sparc_sun-solaris2.8, X toolkit, Xawd3d scroll bars)). I am running
emacs on a remote machine using openssh.
 
First, if I select text using the mouse emacs crashes with the following
output:
“X protocol error: BadWindow (invalid Window parameter) on protocol request
38”
I have tried following the advice in
http://cygwin.com/ml/cygwin-xfree/2004-03/msg00178.html but that has not
helped.
 
Second, if I try to type {} and other characters requiring that I use the
AltGr key I get the main character of that key so instead of getting {} I
get 70.
I’ve seen that I am not the only one with this problem

(http://cygwin.com/ml/cygwin-xfree/2004-03/msg00161.html) here is my xev
output:
 
--------------------------------------------------------------
Local:
 
KeyPress event, serial 17, synthetic NO, window 0x800001,
    root 0x3a, subw 0x800002, time 9610198, (40,23), root:(46,55),
    state 0x10, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen
YES,
    XLookupString gives 0 bytes:  ""
 
KeyPress event, serial 22, synthetic NO, window 0x800001,
    root 0x3a, subw 0x800002, time 9612221, (40,23), root:(46,55),
    state 0x90, keycode 13 (keysym 0x24, dollar), same_screen YES,
    XLookupString gives 1 bytes:  "$"
 
KeyRelease event, serial 22, synthetic NO, window 0x800001,
    root 0x3a, subw 0x800002, time 9612341, (40,23), root:(46,55),
    state 0x90, keycode 13 (keysym 0x24, dollar), same_screen YES,
    XLookupString gives 1 bytes:  "$"
 
KeyRelease event, serial 22, synthetic NO, window 0x800001,
    root 0x3a, subw 0x800002, time 9612632, (40,23), root:(46,55),
    state 0x90, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen
YES,
    XLookupString gives 0 bytes:  ""
--------------------------------------------------------------
Remote:
 
xev: Command not found
--------------------------------------------------------------
This is my /tmp/XWin.log file:
 
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 4.3.0.50
Contact: cygwin-xfree@cygwin.com
 
XWin was started with the following command line:
 
XWin -multiwindow -emulate3buttons -multiplemonitors
 
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winScreenInit - dwWidth: 1600 dwHeight: 1200
winSetEngine - Multi Window => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per
pixel
winCreateBoundingWindowWindowed - User w: 1600 h: 1200
winCreateBoundingWindowWindowed - Current w: 1600 h: 1200
winGetWorkArea - Original WorkArea: 0 0 1200 1600
winGetWorkArea - Virtual screen is 2880 x 1200
winGetWorkArea - Virtual screen origin is 0, 0
winGetWorkArea - Primary screen is 1600 x 1200
winGetWorkArea - Adjusted WorkArea for multiple monitors: 0 0 1200 2880
winAdjustForAutoHide - Original WorkArea: 0 0 1200 2880
winAdjustForAutoHide - Taskbar is auto hide
winAdjustForAutoHide - Found BOTTOM auto-hide taskbar
winAdjustForAutoHide - Adjusted WorkArea: 0 0 1199 2880
winCreateBoundingWindowWindowed - WindowClient w 2880 h 1199 r 2880 l 0 b
1199 t
 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowGDI - Creating DIB with width: 2880 height: 1200 depth:
32
winAllocateFBShadowGDI - Dibsection width: 2880 height: 1200 depth: 32 size
imag
e: 13824000
winAllocateFBShadowGDI - Created shadow stride: 2880
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp
32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winFinishScreenInitFB - Calling winInitWM.
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitWM - Returning.
winFinishScreenInitFB - returning
winScreenInit - returning
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
InitOutput - Returning.
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: "0000041D" (0000041d)
(--) Using preset keyboard for "Swedish (Sweden)" (41d), type "4"
Rules = "xfree86" Model = "pc105" Layout = "se" Variant = "(null)" Options =
"(n
ull)"
winPointerWarpCursor - Discarding first warp: 1440 600
winBlockHandler - Releasing pmServerStarted
winInitMultiWindowWM - pthread_mutex_lock () returned.
winBlockHandler - pthread_mutex_unlock () returned
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the
disp
lay.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened
the di
splay.
winDeinitMultiWindowWM - Noting shutdown in progress
ddxBeforeReset - Hello
winInitMultiWindowXMsgProc - Caught IO Error.  Exiting.
winDeinitMultiWindowWM - Noting shutdown in progress
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XWin.log
Type: application/octet-stream
Size: 3843 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20040308/be3db3d3/attachment.obj>


More information about the Cygwin-xfree mailing list