RE: Unable to get french keyboard with XDMCP connexion on AIX
Bonjour Fréderic, L'option -ac n'a rien à voir avec le clavier, si je ne me trompe pas. Il te faut les options +kb -xkbmap fr, moi j'ai un clavier belge, alors: XWin +kb -xkbmap be -auth $HOME/.Xauthority -emulate3buttons -unixkill -nowinkill Il te faut aussi un fichier avec le dessin de ton clavier, dans /tmp, chez moi: /tmp/be.xkm Tu peux génerer ce fichier avec xkbcomp, avec les sources qui se trouvent dans /usr/X11R6/lib/X11/xkb. Courage! Gérard -Original Message- From: frederic bregier [mailto:[EMAIL PROTECTED]] Sent: vrijdag 17 mei 2002 1:00 To: [EMAIL PROTECTED] Subject: Re: Unable to get french keyboard with XDMCP connexion on AIX Hi all, I try the -ac option from Pavel with XWin. I am not able to get the french keyboard at login, but just after, the xmodmap locally runned (in the local script, not on the remote server) is perfectly running and I get the french keyboard. So it is a part of the answear (since I prefer to get all the specific configuration part on my PC, not on the many server I must access). The only point is that -ac enables anyone to get access to my X client (like xhost +). But not too bad anyway. If someone find how to finaly get the french KB at logon time, and it is perfect for me. By the way, thank you all for your helps!!! Great job! Frederic - http://www.WebMailSPro.com - VOTRE service d'email sans pub avec VOTRE nom de domaine === This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. You are explicitly requested to notify the sender of this email that the intended recipient was not reached.
Re: Unable to get french keyboard with XDMCP connexion on AIX
Hi all, I try the -ac option from Pavel with XWin. I am not able to get the french keyboard at login, but just after, the xmodmap locally runned (in the local script, not on the remote server) is perfectly running and I get the french keyboard. So it is a part of the answear (since I prefer to get all the specific configuration part on my PC, not on the many server I must access). The only point is that -ac enables anyone to get access to my X client (like xhost +). But not too bad anyway. If someone find how to finaly get the french KB at logon time, and it is perfect for me. By the way, thank you all for your helps!!! Great job! Frederic - http://www.WebMailSPro.com - VOTRE service d'email sans pub avec VOTRE nom de domaine
Re: Unable to get french keyboard with XDMCP connexion on AIX
Hi Frederic, Do you use '-ac' parameter? You have to allow xmodmap to access your screen (using this parameter). I tried that just now and it doesn't work without -ac. It also depends on timing of running the commands - when I run XWin, wait for login prompt and then run xmodmap (localy), it takes effect AFTER logon (but does not crash :-) Pavel frederic bregier fbregier@webmails.To: [EMAIL PROTECTED] com cc: Sent by: Subject: Re: Unable to get french keyboard with XDMCP connexion on AIX cygwin-xfree-owner@ cygwin.com 07.05.2002 15:05 So I try to use the xmodmap command after running XWin ... :0 -query AIX_IP But it doesn't work. I try to put the DISPLAY correctly, here are the tests. DISPLAY set to my local address x:0.0 xmodmap refuse to connect to the server DISPLAY set to my remote address AIX_IP:0.0 xmodmap refuse to connect to the server
RE: Unable to get french keyboard with XDMCP connexion on AIX
2) No one currently on the project seems to have both the time and knowledge to provide such internationalization support (some have the time, others have the knowledge, but no one seems to have both :) Hi, I think it would be sufficient to make XWin not to crash during startup when switching to another application (I believe this is real bug) - then is possible to use the xmodmap solution. Pavel
RE: Unable to get french keyboard with XDMCP connexion on AIX
On Thu, 9 May 2002, Harold Hunt wrote: Frederic, Well, after about a week of discussion on this topic I'd just like to summarize the project's standpoint on this issue: 1) We would love to have great internationalization support in Cygwin/XFree86. XFree86 has i18n support. XKB was build for this. But it seems AIX hasn't. 2) No one currently on the project seems to have both the time and knowledge to provide such internationalization support (some have the time, others have the knowledge, but no one seems to have both :) As soon as I got some free time, I'll cleanup those config-file patches and post them for checking them, but they will only help for OSs where XKB is working. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723 phone: +49 3725 349 80 80 mobile: +49 172 7854017 4. Chemnitzer Linux-Tag http://www.tu-chemnitz.de/linux/tag/lt4
RE: Unable to get french keyboard with XDMCP connexion on AIX
Frederic, Well, after about a week of discussion on this topic I'd just like to summarize the project's standpoint on this issue: 1) We would love to have great internationalization support in Cygwin/XFree86. 2) No one currently on the project seems to have both the time and knowledge to provide such internationalization support (some have the time, others have the knowledge, but no one seems to have both :) Hmm... that's about it. I really wish that we had someone that understood everything about keymaps, codepages, layouts and all that, but we simply don't. Hopefully someone that is proficient in these areas will come along within the next few months. Harold -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of frederic bregier Sent: Thursday, May 02, 2002 2:27 PM To: [EMAIL PROTECTED] Subject: Unable to get french keyboard with XDMCP connexion on AIX Hi, I try to use Cygwin-Xfree to connect to an AIX system with a X11 client session. The connection works fine (with the -kb option as the FAQ said), but it is in english keyboard, and of course, I have a french one. So the question is : - is there a way to get a french keyboard without modifying the AIX server configuration itself ? (that is to say, only modifying local configuration inside Windows 2000) Note that if I connect in a xterm remote client with a X11 local interface (X11 running on my Windows 2000), I keep my french keyboard (I am using xmodmap locally, so it works), but with some strange behavior (for instance backspace seems to not work properly in the display but correctly in the result). I was wondering if there is a way to put the french keyboard in hard (compiled) in the XFree ? Note that a connexion with a commercial product in the same way (XDMCP client), I get correctly my french keyboard. Frédéric - http://www.WebMailSPro.com - VOTRE service d'email sans pub avec VOTRE nom de domaine
Re: Unable to get french keyboard with XDMCP connexion on AIX
Yes, this mostly works - but anyway, this is a workarround, not a solution. Pavel Franz Wolfhagen To: [EMAIL PROTECTED] [EMAIL PROTECTED]cc: m.com Subject: Re: Unable to get french keyboard with XDMCP connexion on AIX 07.05.2002 08:39 You are probably suffering from some timing problem - put in a sleep of 10-30 seconds after starting the xwindows client before you do the xmodmap... Med venlig hilsen / Regards Franz Wolfhagen
Re: Unable to get french keyboard with XDMCP connexion on AIX
Hi, the xmodmap work only AFTER your login. No, it doesn't. It works BEFORE login too I haven't tried, but is the +kb option solve the pre-login keyboard ? It's not with AIX, it doesn't work. Pavel
Re: Unable to get french keyboard with XDMCP connexion on AIX
I'm sorry, but it seems it's not a good answear. Once again : - I cannot change the configuration of the AIX Server (the main reason is that in fact, I have MANY servers, some AIX, some Solaris, some Linux,...) - I just can change the local configuration, that is to say the client for XDMCP. My connexion is like : start /B XWin -screen 0 1400 1050 -emulate3buttons -unixkill :0 -kb -query %AIXIP% I cannot use the option +kb since AIX NEEDS the option -kb (the reverse option of +kb, as the FAQ said). Of course, if I use a commercial version of such a X11 client (exc..d), my connexion is perfectly in french keyboard, according to my local PC configuration. And I try to figure out how to do the same thing in order to replace all my exc..d tools by Cygwin/XFree. I am not new in Unix, nor in X11, but there, I can't figure out a solution. I even try to recompile it, without success. Any Ideas ? Frédéric Mon, 6 May 2002 09:42:14 +0200 If you look intpo my earlier append on this news list you will find the solution. And to others : It does not make any difference (I have tested...) wether you run the xmodmap on the remote (server) system or you r local system. Therefore you can run it via your local bash shell - just ensure that your DISPLAY is pointing to the correct session. BTW - I believe that we should pursue the usage oxf Xinit as mentioned in another append to get the correct initialization of keyboards/locale - thereby we can ensure that a system default in etc/X11 is working with user defaults overriding/enhancing in $HOME Med venlig hilsen / Regards Franz Wolfhagen - http://www.WebMailSPro.com - VOTRE service d'email sans pub avec VOTRE nom de domaine
Re: Unable to get french keyboard with XDMCP connexion on AIX
Hi, I have the exactly same problem with AIX and Czech keyboard. I have a workarround - I run xmodmap on AIX machine everytimes I logon - I have alias for that, so I don't have to type the whole command. I couldn't add this command to some profile, because it messes keyboard on console (and I was too lazy to write some condition, which recognises if I'm logged on locally or remotely). Yesterday I tried to run xmodmap locally (as described below), and it works - great, I though - but only if cygwin works at all. Explanation - when I run Cygwin and switch to another application immediately, Cygwin doesn't start. I think this is simmilar - when I run Cygwin and then xmodmap, Cygwin MOSTLY doesn't start. Any ideas? Pavel frederic bregier fbregier@webmails.To: [EMAIL PROTECTED] com cc: Franz Wolfhagen [EMAIL PROTECTED] Sent by: Subject: Re: Unable to get french keyboard with XDMCP connexion on AIX cygwin-xfree-owner@ cygwin.com 06.05.2002 19:13 I'm sorry, but it seems it's not a good answear. Once again : - I cannot change the configuration of the AIX Server (the main reason is that in fact, I have MANY servers, some AIX, some Solaris, some Linux,...) - I just can change the local configuration, that is to say the client for XDMCP. My connexion is like : start /B XWin -screen 0 1400 1050 -emulate3buttons -unixkill :0 -kb -query %AIXIP% I cannot use the option +kb since AIX NEEDS the option -kb (the reverse option of +kb, as the FAQ said). Of course, if I use a commercial version of such a X11 client (exc..d), my connexion is perfectly in french keyboard, according to my local PC configuration. And I try to figure out how to do the same thing in order to replace all my exc..d tools by Cygwin/XFree. I am not new in Unix, nor in X11, but there, I can't figure out a solution. I even try to recompile it, without success. Any Ideas ? Frdric Mon, 6 May 2002 09:42:14 +0200 If you look intpo my earlier append on this news list you will find the solution. And to others : It does not make any difference (I have tested...) wether you run the xmodmap on the remote (server) system or you r local system. Therefore you can run it via your local bash shell - just ensure that your DISPLAY is pointing to the correct session. BTW - I believe that we should pursue the usage oxf Xinit as mentioned in another append to get the correct initialization of keyboards/locale - thereby we can ensure that a system default in etc/X11 is working with user defaults overriding/enhancing in $HOME Med venlig hilsen / Regards Franz Wolfhagen - http://www.WebMailSPro.com - VOTRE service d'email sans pub avec VOTRE nom de domaine
Re: Unable to get french keyboard with XDMCP connexion on AIX
get a xmodmap.fr file and add the following line (after the xwin command) in the start shell : xmodmap location of your xmodmap file/xmodmap.fr Trust me - it works - you can also transfer a xmodmap.fr file to your AIX machines and run the same command on them - X doesn't care if you run the xmodmap command on the client or the server (please try to read my appends carefully) you just have to ensure your DISPLAY variable is correct. It may be a problem running the xmodmap command on the AIX as you have a french keyboard with an US layout - so you have to experiment a little to find the correct keys BTW - I have succesfuly run the +kb option against a 4.3.3 AIX machine with no problem - so you could try Med venlig hilsen / Regards Franz Wolfhagen
Re: Unable to get french keyboard with XDMCP connexion on AIX
I think all us from europe should try to get together and get the NLS thinngs to work on top of the great job the primarily done by Harold - this would really make a breakthrough on this side of the Atlantic ;-) - if I find some time I will try to sketch out the basics We could use a good tool for writing these X keymap files (I'm talking about xkb support, not xmodmap), but I think this is not the way to go with a word processor. I often have multilingual text, and If I'm in a, say, Russian part of my file, I want the keyboard to behave differently than in a, say, Esperanto or German or Czech part. In MS Word (which I have to use for a certain project, otherwise I'm fine with emacs and LaTeX), I can map key sequences to characters, a feature I really like and which would solve these problems for most of us. Missing it keeps me from using Oo for that MS Word project and other things apart from playing around with it. It could be done nicer than in Word, of course, so that certain mappings would only be valid for certain languages. For me, that autocorrect function would already be sufficient if it could be told to immediately replace in the middle of words as well, so I could simply say 'c - cacute and untick a 'whole word only' checkbox. There would be several projects I'd use Oof for immediately. But I don't know where I should post this and I don't have the time to dig into the sources of Oo myself. Best Edi
Re: Unable to get french keyboard with XDMCP connexion on AIX
Personally i use xinit to launch my Xserver and i put this line in my .xinitrc : exec /usr/X11R6/bin/setxkbmap -rules xfree86 -model pc104 -layout fr bye - Original Message - From: frederic bregier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 03, 2002 9:22 AM Subject: Unable to get french keyboard with XDMCP connexion on AIX Hi, I try to use Cygwin-Xfree to connect to an AIX system with a X11 client session. The connection works fine (with the -kb option as the FAQ said), but it is in english keyboard, and of course, I have a french one. So the question is : - Is there a way to get a french keyboard without modifying the AIX server configuration itself ? (that is to say, only modifying local configuration inside Windows 2000) Note that if I connect in a xterm remote client with a X11 local interface (X11 running locally on my Windows 2000), I keep my french keyboard (I am using xmodmap locally, so it works), but with some strange behavior (for instance backspace seems to not work properly in the display but correctly in the result). I was wondering if there is a way to put the french keyboard in hard (compiled) in the XFree ? Note that a connexion with a commercial product in the same way (XDMCP client), I get correctly my french keyboard. Frédéric - http://www.WebMailSPro.com - VOTRE service d'email sans pub avec VOTRE nom de domaine
Re: Unable to get french keyboard with XDMCP connexion on AIX
Hi, I think it isn't the answer he asked. The problem is the keyboard mapping using xdm to another host. All the answers given here (also from Franz) are for an X Window manager running locally. I don't have the answer either, except modifying some stuff on the remote host. CU . \)|(/ . (o o) . /-ooO(_)Ooo-\ .(_| Francis VIVAT | . |CETP-CNRS | . | 10-12, avenue de l'Europe 78140 Velizy | . | Tel: +33 1 3925 4780 | . | Fax: +33 1 3925 4922 |_ . | E-Mail : [EMAIL PROTECTED] | ) . \---/ .(_) (_) - Original Message - From: Contact (davidlynch-films.com) [EMAIL PROTECTED] To: frederic bregier [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, May 03, 2002 1:01 PM Subject: Re: Unable to get french keyboard with XDMCP connexion on AIX Personally i use xinit to launch my Xserver and i put this line in my .xinitrc : exec /usr/X11R6/bin/setxkbmap -rules xfree86 -model pc104 -layout fr bye - Original Message - From: frederic bregier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 03, 2002 9:22 AM Subject: Unable to get french keyboard with XDMCP connexion on AIX Hi, I try to use Cygwin-Xfree to connect to an AIX system with a X11 client session. The connection works fine (with the -kb option as the FAQ said), but it is in english keyboard, and of course, I have a french one. So the question is : - Is there a way to get a french keyboard without modifying the AIX server configuration itself ? (that is to say, only modifying local configuration inside Windows 2000) Note that if I connect in a xterm remote client with a X11 local interface (X11 running locally on my Windows 2000), I keep my french keyboard (I am using xmodmap locally, so it works), but with some strange behavior (for instance backspace seems to not work properly in the display but correctly in the result). I was wondering if there is a way to put the french keyboard in hard (compiled) in the XFree ? Note that a connexion with a commercial product in the same way (XDMCP client), I get correctly my french keyboard. Frédéric - http://www.WebMailSPro.com - VOTRE service d'email sans pub avec VOTRE nom de domaine
Re: Unable to get french keyboard with XDMCP connexion on AIX
Hi all, I'm not using XDMCP but I'm connecting to a AIX machine thru an x relay, and I also have some weird behavior with my keyboard (I mean, I need to press shift key to have num pad and 'accents' are not work) but all the other keys are working fine (I beleive it could be possible to change this with a few test on the remap of the keyboard). I just launch Xwin without any -kb extension and I use xmodmap instead. You'll find the mapping file attached to this mail. It's Eric Lassauge's by the way (thanks a lot...) Hope this will help Francois - Original Message - From: Francis VIVAT [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 03, 2002 1:48 PM Subject: Re: Unable to get french keyboard with XDMCP connexion on AIX Hi, I think it isn't the answer he asked. The problem is the keyboard mapping using xdm to another host. All the answers given here (also from Franz) are for an X Window manager running locally. I don't have the answer either, except modifying some stuff on the remote host. CU . \)|(/ . (o o) . /-ooO(_)Ooo-\ .(_| Francis VIVAT | . |CETP-CNRS | . | 10-12, avenue de l'Europe 78140 Velizy | . | Tel: +33 1 3925 4780 | . | Fax: +33 1 3925 4922 |_ . | E-Mail : [EMAIL PROTECTED] | ) . \---/ .(_) (_) - Original Message - From: Contact (davidlynch-films.com) [EMAIL PROTECTED] To: frederic bregier [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, May 03, 2002 1:01 PM Subject: Re: Unable to get french keyboard with XDMCP connexion on AIX Personally i use xinit to launch my Xserver and i put this line in my .xinitrc : exec /usr/X11R6/bin/setxkbmap -rules xfree86 -model pc104 -layout fr bye - Original Message - From: frederic bregier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 03, 2002 9:22 AM Subject: Unable to get french keyboard with XDMCP connexion on AIX Hi, I try to use Cygwin-Xfree to connect to an AIX system with a X11 client session. The connection works fine (with the -kb option as the FAQ said), but it is in english keyboard, and of course, I have a french one. So the question is : - Is there a way to get a french keyboard without modifying the AIX server configuration itself ? (that is to say, only modifying local configuration inside Windows 2000) Note that if I connect in a xterm remote client with a X11 local interface (X11 running locally on my Windows 2000), I keep my french keyboard (I am using xmodmap locally, so it works), but with some strange behavior (for instance backspace seems to not work properly in the display but correctly in the result). I was wondering if there is a way to put the french keyboard in hard (compiled) in the XFree ? Note that a connexion with a commercial product in the same way (XDMCP client), I get correctly my french keyboard. Frédéric - http://www.WebMailSPro.com - VOTRE service d'email sans pub avec VOTRE nom de domaine .xmodmaprc Description: Binary data
Re: Unable to get french keyboard with XDMCP connexion on AIX
Sorry, I was surely not enough precise. I know the xkbmap option and also the xmodmap. But, when you run XWin with the -query option in order to access to a X11 server (in this case an AIX IBM Server), you cannot anymore use the xmodmap since it is not running on your PC. For the +kb, since AIX needs that you specify -kb (no xkb support in XDMCP), then I was wondering if there is a way to compile the XWin.exe with the french option by default, that is to say, whatever the X11 server I am connecting to, I will use a french keyboard (or another for other people). I saw in the source : there is some #define like XKB_DFLT_KB_LAYOUT us Can I expect to get a fr running well here ? I know, it is from xkb, so perhaps it will not work whatever. So if someone knows the solution, at least to connect to an AIX system? Of course, I didn't mentionned, but I can't expect to change anything on the server side, only on the client side, i.e. the PC running Xfree. If I can do that, there will be a big administration (government) using Xfree instead of a commercial product, that's why I try top figure out... Regards FB There are basically two ways of doing that both works Goto www.gotti.org for a little more detail, this are the basics (I have tested both and they work ok) : 1: compile a keyboard with your french locale : (this is an example in fora belgish locale taken from an earlier append - change be to fr) : xkbcomp -xkm -m be /etc/X11/xkb/keymap/xfree86 /tmp/be.xkm XWin +kb -xkbmap be -auth $HOME/.Xauthority -emulate3buttons 2: use xmodmap with a french xmodmap.fr file (you can download a redhat xmodmap library from www.gotti.org) You then just have to run the xmodmap /location of your xmodmap.fr file/xmodmap.fr Warning - you might recieve compile errors - i had to comment out the 6. line in the xmodmap.dk file to get it to work. Hope this helps you. I think all us from europe should try to get together and get the NLS thinngs to work on top of the great job the primarily done by Harold - this would really make a breakthrough on this side of the Atlantic ;-) - if I find some time I will try to sketch out the basics Med venlig hilsen / Regards Franz Wolfhagen - http://www.WebMailSPro.com - VOTRE service d'email sans pub avec VOTRE nom de domaine