Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rimappaggio Tastiera [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Sasdo
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: 44.476474,11.644446 circa.

PostPosted: Tue Mar 02, 2004 10:34 am    Post subject: Rimappaggio Tastiera [Risolto] Reply with quote

ciao, nel rimappare la mia tastiera ho riscontrato un paio di problemini...
Code:

# Italian keymap with emacs enhancements
#     Beta version Mon May  2 19:57:25 WET DST 1994
# Available for anon. ftp at cnuce_arch.cnr.it:/pub/Linux-local/kbd/it.map
#
# Based on all other keymaps available in Slackware-1.2.0.
#
# '@', '#', '[', and ']' are obtained by AltGr with the appropriate key.
#
# I have added '{', '}', '~', '`', iacute and uacute.
# They can be obtained by AltGr-(, AltGr-), AltGr-=, AltGr-', AltGr-igrave
# and AltGr-ugrave respectively.
#
# I have also added most Alt-Shift and Ctrl-Alt codes needed for emacs
# with the standard keymap of the fundamental mode.
#
# Place in your ~/.emacs the following two lines:
#      (standard-display-european t)
#      (set-input-mode nil nil 1)
#
# Place in your /usr/lib/X11/Xconfig:
#      LeftAlt  Meta
#      RightAlt ModeShift
#
# To use high characters with other programs, read the documentation ;-)
# Please report all bugs and improvement proposals to the address below.
#
# Buona fortuna,
# Dario Besseghini <besseghi@dm.unipi.it>
#
keymaps 0-2,4,6,8-9,12
include "linux-with-alt-and-altgr"
strings as usual

keycode   1 = Escape           Escape
   alt     keycode   1 = Meta_Escape
keycode   2 = one              exclam
   alt     keycode   2 = Meta_one
   shift alt keycode 2 = Meta_exclam
keycode   3 = two              quotedbl
   control keycode   3 = nul
   alt     keycode   3 = Meta_two
   control alt keycode 3 = Meta_nul
keycode   4 = three            sterling
   control keycode   4 = Escape
   alt     keycode   4 = Meta_three
   control alt keycode 4 = Meta_Escape
keycode   5 = four             dollar
   control keycode   5 = Control_backslash
   alt     keycode   5 = Meta_four
   shift alt keycode 5 = Meta_dollar
   control alt keycode 5 = Meta_Control_backslash
keycode   6 = five             percent
   control keycode   6 = Control_bracketright
   alt     keycode   6 = Meta_five
   shift alt keycode 6 = Meta_percent
keycode   7 = six              ampersand
   control keycode   7 = Control_asciicircum
   alt     keycode   7 = Meta_six
keycode   8 = seven            slash
   control keycode   8 = Control_underscore
   alt     keycode   8 = Meta_seven
   shift alt keycode 8 = Meta_slash
keycode   9 = eight            parenleft   braceleft
   control keycode   9 = Delete
   alt     keycode   9 = Meta_eight
   shift alt keycode 9 = Meta_parenleft
   control alt keycode 9 = Meta_Delete
keycode  10 = nine             parenright       braceright
   alt     keycode  10 = Meta_nine
   shift alt keycode 10 = Meta_parenright
keycode  11 = zero             equal      asciitilde
   alt     keycode  11 = Meta_zero
   shift alt keycode 11 = Meta_equal
keycode  12 = apostrophe       question      grave
   control   keycode  12 = Delete
   alt     keycode  12 = Meta_minus
   control alt keycode 12 = Meta_Delete
keycode  13 = igrave          asciicircum   iacute
   control keycode  13 = Control_asciicircum
   alt     keycode  13 = Meta_equal
   shift alt keycode 13 = Meta_asciicircum
keycode  14 = Delete           Delete
   control keycode  14 = Control_underscore
   alt     keycode  14 = Meta_Delete
keycode  15 = Tab              Tab
   alt     keycode  15 = Meta_Tab
keycode  16 = q
keycode  17 = w
keycode  18 = e
keycode  19 = r
keycode  20 = t
keycode  21 = y
keycode  22 = u
keycode  23 = i
keycode  24 = o
keycode  25 = p
keycode  26 = egrave           eacute      bracketleft
   control keycode  26 = Escape
   alt     keycode  26 = Meta_bracketleft
keycode  27 = plus             asterisk         bracketright
   control keycode  27 = Control_bracketright
   alt     keycode  27 = Meta_bracketright
keycode  28 = Return
   alt     keycode  28 = Meta_Control_m
keycode  29 = Control
keycode  30 = a
keycode  31 = s
keycode  32 = d
keycode  33 = f
keycode  34 = g
keycode  35 = h
keycode  36 = j
keycode  37 = k
keycode  38 = l
keycode  39 = ograve           ccedilla      at
   control keycode  39 = nul
   alt     keycode  39 = Meta_at
   control alt keycode 39 = Meta_nul
keycode  40 = agrave          degree      numbersign
   control keycode  40 = Control_g
keycode  41 = backslash          bar
   control keycode  41 = Control_backslash
   alt     keycode  41 = Meta_backslash
   shift alt keycode 41 = Meta_bar
keycode  42 = Shift
keycode  43 = ugrave           section      uacute
keycode  44 = z
keycode  45 = x
keycode  46 = c
keycode  47 = v
keycode  48 = b
keycode  49 = n
keycode  50 = m
keycode  51 = comma            semicolon
   alt     keycode  51 = Meta_comma
   shift alt keycode 51 = Meta_semicolon
keycode  52 = period           colon
   alt     keycode  52 = Meta_period
keycode  53 = minus          underscore
   control keycode  53 = Control_underscore
   alt   keycode  53 = Meta_minus
keycode  54 = Shift
keycode  56 = Alt
keycode  57 = space
   control keycode  57 = nul
   alt     keycode  57 = Meta_space
   control alt keycode 57 = Meta_nul
keycode  58 = Caps_Lock
keycode  86 = less          greater
   alt     keycode  86 = Meta_less
   shift alt keycode 86 = Meta_greater
keycode  97 = Control


Questo è il file originale in /usr/share/keymaps/i386/qwerty/it.map.gz

l'ho modificato aggiungendo alla fine:
Code:

keycode 125 = braceleft
keycode 126 = slash
keycode 127 = braceright


quindi, dando il comndo in /etc/init.d/keymap restart

ottengo il seguento output:

Code:

 * Loading key mappings...
/usr/share/keymaps/i386/qwerty/it.map.gz:1: parse error
syntax error in map file
key bindings not changed
 * Error loading key mappings                                             [ !! ]


solo che non mi sembra di aver fatto errori.. ho aggiunto solo quelle tre linee...

la cosa peggiore è che se poi rimodifico il file in modo da farlo tornare originale, mi da lo stesso errore!!

avete qualche idea?

grazie!

il Sasdo[/code][/quote]
_________________
LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo.
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Tue Mar 02, 2004 10:46 am    Post subject: Reply with quote

Fai:
Code:
$ file /usr/share/keymaps/i386/qwerty/it.map.gz

_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Mar 02, 2004 10:52 am    Post subject: Re: Rimappaggio Tastiera Reply with quote

Sasdo wrote:

avete qualche idea?


L'ultima linea la termini con un end-of-line oppure direttamente con l'end-of-file?
(insomma, hai dato un enter sull'ultima linea?)
_________________
Ciao da me!
Back to top
View user's profile Send private message
Sasdo
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: 44.476474,11.644446 circa.

PostPosted: Tue Mar 02, 2004 7:16 pm    Post subject: Reply with quote

grazie, non avrei mai detto che un maledetto \n potesse compromettere a tal punto uno scriptino!

ora ho risolto! ancora grazie!


ciao!
_________________
LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo.
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Tue Mar 02, 2004 7:42 pm    Post subject: Reply with quote

Sasdo wrote:
ora ho risolto! ancora grazie!


Ottimo :D

Piccola comunicazione di servizio: ricordatevi la tag [Risolto] nei titoli dei topic che sono stati risolti. Io le aggiungo quando posso, ma potrebbero sfuggirmi topic e potreste alleggerirmi il lavoro facendolo voi :P
(parlo al plurale perchè mi riferisco a tutti, soprattutti i nuovi arrivati. Ho solo preso questo topic come esempio perchè l'ultimo che ho visto :) ).
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
Sasdo
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: 44.476474,11.644446 circa.

PostPosted: Tue Mar 02, 2004 8:29 pm    Post subject: Reply with quote

chiedo scusa, lo volevo fare ma (davvero!!) mi si è inchiodata la tastiera, non faceva più nulla: neanche un cambio di terminale!! così mi son letto il forum, ho riavviato X (col mouse) e poi mi son dimenticato =)
_________________
LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum