This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Italian keyboard and cygwin/xfree
- From: Massimo De Benedetti <debenedetti at frascati dot enea dot it>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 10 Sep 2003 10:08:05 +0200
- Subject: Italian keyboard and cygwin/xfree
- Organization: Associazione Euratom-ENEA
- Reply-to: cygwin-xfree at cygwin dot com
Hi,
I know that this subject has already been dealt in this mailing list but
apparently I can not sort things out. I am running cygwin/xfree on XP
(english version) but with an italian keyboard. The program uses always
what I believe is an us keyboard (it could well be something else but it
certainly is not an italian one). Here is the startxwin.sh that I am
using to start up an x terminal
---------------
XWin -multiwindow -xf86config /etc/X11/XF86Config-4 -keyboard ItKeyboard &
xterm -sl 1000 -sb -leftbar -fn 9x15 -ms red -fg black -bg white -n
'Xterm' -T 'Xterm' -e /usr/bin/bash &
---------------
Here is the XF86Config-4 file that I use
----------------
Section "InputDevice"
Identifier "ItKeyboard"
Driver "Keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc102"
Option "XkbLayout" "it"
EndSection
#
# The following sections are just added to fulfill the requirements of the
# configfile parser and have no effect on the configuration of the
# Cygwin/XFree86 XServer.
#
Section "Device"
Identifier "dummy"
Driver "dummy"
EndSection
Section "Monitor"
Identifier "dummy"
EndSection
Section "Screen"
Identifier "dummy"
Device "dummy"
Monitor "dummy"
EndSection
----------------
And finally here is the XWin.log file that I get
----------------
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
(++) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (??) unknown.
(WW) No Layout section. Using the first Screen section.
(==) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0000001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Multi Window => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per
pixel
winCreateBoundingWindowWindowed - User w: 1280 h: 1024
winCreateBoundingWindowWindowed - Current w: 1280 h: 1024
winAdjustForAutoHide - Original WorkArea: 0 0 994 1280
winAdjustForAutoHide - Adjusted WorkArea: 0 0 994 1280
winCreateBoundingWindowWindowed - WindowClient w 1280 h 994 r 1280 l 0 b
994 t 0
winCreateBoundingWindowWindowed - Returning
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 994 depth: 32
winAllocateFBShadowGDI - Dibsection width: 1280 height: 994 depth: 32
size image: 5089280
winAllocateFBShadowGDI - Created shadow stride: 1280
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
InitOutput - Returning.
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
(==) winConfigKeyboard - Layout: "00000410"
(==) Using preset keyboard for "Italian" (00000410), type "4"
(++) Using keyboard "ItKeyboard" as primary keyboard
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc102"
(**) XKB: model: "pc102"
(**) Option "XkbLayout" "it"
(**) XKB: layout: "it"
(**) Option "XkbOptions" "(null)"
(**) XKB: options: "(null)"
Rules = "xfree86" Model = "pc102" Layout = "it" Variant = "(null)"
Options = "(null)"
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/,
removing from list!
winPointerWarpCursor - Discarding first warp: 640 497
winBlockHandler - Releasing pmServerStarted
winInitMultiWindowWM - pthread_mutex_lock () returned.
DetectUnicodeSupport - Windows NT/2000/XP
winInitMultiWindowWM - Calling setlocale ()
winBlockHandler - pthread_mutex_unlock () returned
winInitMultiWindowWM - setlocale () returned
winInitMultiWindowWM - XInitThreads () returned.
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened
the display.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully
opened the display.
----------------
For what I understood everything looks ok but my keyboard does not work
properly in the xterm nor does it work in every other application that I
launch from the xterm. Is there anything that I overlooked?
Here is the list of the characters that I get typing the first row of my
keyboard+shift in the x terminal:
~!@#$%^&*()_+
Here is what you would get from an italian keyboard:
|!"£$%&/()=?^
Thank you,
Massimo
--
Massimo De Benedetti