To gpm
einai to programma poy sas epitrepei na xrhsimopoieitai to pontiki se katastash konsolas. Synh8ws symperilambanetai se dianomes linux, kai mporei na jekinhsei apo thn grammh entolwn h sto keimeno ekkinhshs
/etc/rc.d/rc.local
.
Shmeiwste oti oi dianomes den exoyn panta thn pio prosfath ekdosh
(1.13 thn stigmh poy grafw) poy mporei na bre8ei stis topo8esies ka8reptes toy sunsite.unc.edu.
Oi kyrioteres katastaseis gia seiriaka pontikia katw apo gpm einai:
gpm -t ms
gpm -t msc
gpm -t help
gia Microsoft h MouseSystems katastaseis, h gia na
ereynhsei to pontiki gia esas kai na sas pei ti brhke. Gia na trejte gpm sthn
katastash MouseSystems, isws xreiasteite mia -3
flag, kai pi8anws mia
DTR epilogh, xrhsimopoiwntas th -o dtr
flag:
gpm -3 -o dtr -t msc
To gpm
synh8ws einai ikano na anagnwrizei kai ta tria koympia toy pontikiou
akoma kai se katastash Microsoft. Kai neoteres ekdoseis (Ekdosh 1.0 kai neoteres (?))
mporoun na kanoyn tis plhrofories aytes dia8esimes se alla programmata. Gia na
leitoyrghsei ayto , prepei na trejte to gpm me thn -R tag, etsi:
gpm -R -t ms
Touto 8a kanei to gpm na ejagei pali ta dedomena toy pontikiou se mia nea syskeyh, poy onomazetai
/dev/gpmdata
, h opoia fainetai san pontiki se opoiadhpote allo programma.
Shmeiwste oti h syskeyh ayth panta xrhsimopoiei to prwtokollo MouseSystems.
Mporeite tote na ry8misete to Xconfig sas na xrhsimopoiei ayto anti toy /dev/mouse
opws deixnetai parakatw, alla bebaiws prepei na sigoyreuete oti to gpm panta ekteleitai otan
xrhsimopoieitai thn X. Merikoi exoyn anaferei oti merikes periptwseis mesaioy-koympiou
den diermhneuontai swsta apo thn X xrhsimopoiwntas thn texnikh ayth, ayto mporei na symbainei
logw mias idiaiterhs egkatastashs pontikiou.
Allazontas thn sxediash koympiwn gia gpm kai X ( gustafso@math.utah.edu)
Mporeite na anakalucete oti to gpm xrhsimopoiei diaforetikes proepilegmenes sxediaseis koympiwn sth X, etsi xrhsimopoiwntas kai ta duo systhmata sto idio mhxanhma mporei na einai mperdema. Gia na anagkasete thn X na xrhsimopoihsei ta idia koympia gia leitoyrgies epiloghs kai epikollhshs opws thn gpm, xrhsimopoihste thn X entolh
xmodmap -e "pointer = 1 3 2"
poy prokalei to aristero koympi na epilegei kai to deji na epikollaei,
eite gia 2-koympiwn eite gia 3-koympiwn pontikia.
Gia na anagkasete th gpm na xrhsimopoiei thn protyph sxediash koympiwn ths X, jekinhste me mia
-B
entolh, p.x.:
gpm -t msc -B 132