From: <har...@ya...> - 2003-07-22 08:45:37
|
my keyboard is AZERTY. Trinux boots on QWERTY, how to change the keyboard definition in AZERTY ( europe keyboard ) --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail |
From: Projet G. <pro...@sm...> - 2003-07-22 12:14:07
|
> my keyboard is AZERTY. > Trinux boots on QWERTY, how to change the keyboard definition in AZERTY ( > europe keyboard ) Hi, Load kmap.tgz: # getpkg kmap Launch kmap: # kmap Answer the question with 4 for french. The kmap package can be found on the trinux site: http://trinux.sourceforge.net/pkg/ You can put it straight on the floppy so that it's uncompressed in the system as /kmap. You can also put that somewhere on a ftp server. Answering a question is a bit boring. So, to boot straight with an azerty keyboard, uncompress kmap.tgz somewhere. Look for the fr.bmap keymap file. Add this to your floppy. Then you can add in the tux/init/last file something like: # fmount # loadkmap < floppy/fr.bmap # fumont You can also tgz the kmap.bmap file and put it on your floppy. The file will be uncompressed and available in the system. So you don't need to mount the floppy and you just have to add: # loakmap < fr.bmap That's the way I boot with azerty. There may be other solutions. Mathieu PS: Why the hell are we supposed to speak english between french? |
From: Arne de B. <akd...@ka...> - 2003-07-22 12:29:31
|
> PS: Why the hell are we supposed to speak english between french? Parce que moi aussi veux comprendre, et je ne suis pas tres bien en language francais! Au revoir :-) Arne, Payies-Basse |
From: Projet G. <pro...@sm...> - 2003-07-22 15:16:44
|
> > PS: Why the hell are we supposed to speak english between french? > > Parce que moi aussi veux comprendre, et je ne suis pas tres bien en > language francais! > Au revoir :-) > Arne, > Payies-Basse > Your french is not bad but that's a good reason anyway. I'm glade if my explanations are useful. Please note that it works with any keybaord. I've been looking for loading my own custumized keyboard into Trinux for some reasons. If someone would like to do so, download and install busybox on your usual Linux box, then use that command: # dumpkmap > customized.bmap It will create a binary key map file that you can load into Trinux with loadkmap < customized.bmap Cheers, Mathieu |
From: Matthew F. <mf...@ci...> - 2003-07-22 19:28:00
|
Not sure if this helps: I added the busybox keyboard utilities to the latest initrd.gz http://trinux.sf.net/snaps/ dumpkmap setkeycodes loadkmap I also added dumpkeys the to the kmap.tgz package. Let me know if there is anything else that needs to be done to support non-US/non-QWERTY keyboards such as modifying the linuxrc or to allow user to specify keymap/country on the bootdevice so everything occurs automatically. - mdf > > my keyboard is AZERTY. > > Trinux boots on QWERTY, how to change the keyboard definition in AZERTY ( > > europe keyboard ) > > Hi, > > Load kmap.tgz: > # getpkg kmap > Launch kmap: > # kmap > Answer the question with 4 for french. > > The kmap package can be found on the trinux site: > http://trinux.sourceforge.net/pkg/ > You can put it straight on the floppy so that it's uncompressed in the system > as /kmap. You can also put that somewhere on a ftp server. > > Answering a question is a bit boring. So, to boot straight with an azerty > keyboard, uncompress kmap.tgz somewhere. Look for the fr.bmap keymap file. Add > this to your floppy. Then you can add in the tux/init/last file something > like: > # fmount > # loadkmap < floppy/fr.bmap > # fumont > > You can also tgz the kmap.bmap file and put it on your floppy. The file will > be uncompressed and available in the system. So you don't need to mount the > floppy and you just have to add: > # loakmap < fr.bmap > > That's the way I boot with azerty. There may be other solutions. > > Mathieu > > PS: Why the hell are we supposed to speak english between french? > > |
From: Projet G. <pro...@sm...> - 2003-07-23 08:21:52
|
> Not sure if this helps: > > I added the busybox keyboard utilities to the latest initrd.gz > http://trinux.sf.net/snaps/ > > dumpkmap > setkeycodes > loadkmap That's great, thank you. I think I'll try the setkeycodes command. The man page on busybox web site about this command is not really explicit but maybe I can solve my function keys problem with this command. > I also added dumpkeys the to the kmap.tgz package. Great too, so we don't need to install busybox anywhere else. > Let me know if there is anything else that needs to be done to support > non-US/non-QWERTY keyboards such as modifying the linuxrc or to allow > user to specify keymap/country on the bootdevice so everything occurs > automatically. Well, there is something I need. As I told you in a previous mail, I would like to use Trinux to turn old PC into AS/400 diskless workstations. Trinux is loaded and a tn5250 session is launched on a Mandrake box thanks too ssh to get an acces to the IBM's AS/400 server. The thing is that regular dump stations use 24 fonction keys. I can use F1 up to F12 and then F13 up to F20 with shift F1-F8. My problem is that I cannot use the F21-F24 function keys. I modified my keymap file but nothing happend. According to the guys at tn5250 (http://tn5250.sourceforge.net), it's a termcap or terminfo problem. I have got a special termcap file and special terminfo directories supplied with tn5250. I suppose that I have to compile or install that files into Trinux to be able to use it because a simple copy/paste is useless. Could you please let me know how I can modify Trinux to enable those 4 function keys? I know that other people could be interested in using my proposal based on Trinux for professional use. But it will certainly not be accepted if I cannot have F21 up to F24 with shift F9-F12. So, your help is really appreciated. > - mdf Cheers, Mathieu |
From: Projet G. <pro...@sm...> - 2003-07-28 14:08:00
|
> I added the busybox keyboard utilities to the latest initrd.gz > http://trinux.sf.net/snaps/ Unfortunately I cannot boot with this new initrd. I don't think I could solve may problem with setkeycodes anyway. > I also added dumpkeys the to the kmap.tgz package. The dumpkeys command works great. I've seen that the keymap used in Trinux is not exactly the same as the one loaded with loadkmap. For example, the loaded map contains: #string Macro = "\033[M" string Macro = "\033+" #string Pause = "\033[P" string Pause = "\033+" but dumpkeys shows: string Macro = "\033[M" string Pause = "\033[P" Any idea? Cheers, Mathieu |