Not working SHIFT key under xemacs after starting "startxwin.bat" with Swiss keyboard
Mohsen Owzar
mohsen.owzar@biospectra.ch
Wed Oct 22 12:54:00 GMT 2008
Hi all,
I have searched on the CygwinFAQ page and mailing list but couldn't
find the answer of my question. Therfore I try to explain it. And I hope
that I explain my problem to the right mailing list.
Perhaps someone had the same problem like me.
I will attach cygcheck.out as well to this report.
Now the description of the problem:
-----------------------------------
After I have started Cygwin.bat from the desktop, I get a shell.
If I invoke from this shell "xemacs &", I get an XEMACS-Frame,
in which I can use all my macros and key bindings I have defined
in my "init.el".
Even if I have swiss keyboard, it works perfectly.
But when I start "startxwin.bat" I get a shell called: "Cygwin/X X"
If I invoke again xemacs from within this shell, I get an xemacs-
frame. As soon as I click onto this frame, it is divided vertically.
And I get the messages as below in the other window.
----------------------------------------------------
(1) (xim-xlib/warning) Can't even set locale to `C'!
(2) (xim-xlib/warning) Can't set locale.
Using C locale instead.
----------------------------------------------------
After that, if I open a file to edit, it seems to be that I have now
US-Keyboard, because my "Z" and "Y" have changed their places.
From someone I got the hint to use the following line in my
"startxwin.bat" file to get rid of this problem for my swiss keyboard.
----------------------------------------------------------------
run XWin -multiwindow -clipboard -silent-dup-error -xkblayout ch
----------------------------------------------------------------
With this method "Z" and "Y" have the right places again but the SHIFT
key in XEMACS has no meaning more.
For example I have of F1 the following commands:
--------------------------------------
F1 = shrink-window-horizontally
sh F1 = Revert-buffer
Ctrl F1 = enlarge-window-horizontally
--------------------------------------
"F1" and "ctrl F1" work perfectly but "sh F1" not, as if it is not
recognized, when I press the SHIFT key. Instead it shrinks the window
Horizontally.
On the "Cygwin/X X" shell I get the message:
--------------------------------------------
$ Warning: Unable to load any usable fontset
--------------------------------------------
as well.
If I invoke the on this shell "xterm &" I will get a new xterm-shell
but on the existing shell I get the following messages:
--------------------------------------------------------------
$ Warning: locale not supported by C library, locale unchanged
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Failed to open input method
--------------------------------------------------------------
I will be very happy to get an answer to solve my problem
Regards
Mohsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 70527 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20081022/68eef567/attachment.obj>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
More information about the Cygwin-xfree
mailing list