is linux stable?
Giorgos Keramidas
keramida at ceid.upatras.gr
Thu Jun 15 22:49:29 EEST 2000
On Tue, Jun 13, 2000 at 06:24:35PM -0700, Antonis Stylianou wrote:
> To mihanima ine enomeno se diktio. Den treho san root. Alla olo to
> sistima pagoni.
Oi X servers parexoun kapoies klnseis gia na kanei mia efarmogi "grab"
to mouse kai keyboard. Yparxoun duo tupoi apo grabs, me to ena apo auta
na einai 'topiko' gia to parathyro pou kanei to grab kai ta
child-windows tou. To deutero grab omws, pou einai 'global' dinei tin
dunatotita se mia efarmogi na steilei ton X-server se ena loop anamonis,
mexri h efarmogh na to afhsei to grab pou phre.
Exei anafer8ei se diafora shmeia kati tou stul "Global grabs are evil",
pou shmainei oti ta global grabs tou mouse kai keyboard tha prepe na
apofeugontai apo tis sobares X efarmoges. Parol' auta, gnostes
efarmoges, xrhsimopoioun monimws global grabs, me klassiko paradeigma to
Netscape.
Now, otan o X server trexei san root, mporei na 'kleidosei' tin konsola,
kai na min mporei alli efarmogi na tin prospelasei. Pragma pou sinithos
ginetai, afou oi X server trexoun san root (einai setuid). Auto se
sunduasmo me to gegonos oti mia efarmogh mporei na steilei ton X server
se ena idle-loop, pairnontas ena global grab kai apla pethainontas,
shmainei oti mporei otan trexeis X n konsola sou na "pagosei" ejaitias
mias kakogrammenis efarmoghs.
Gia na deis an pragmatika sou kollaei OLO to susthma, h apla to mouse
kai keyboard ths consolas tou linux sou, uparxei mia sigouri lush:
Briskeis ena seiriako terminal, kai to energopoieis apo to inittab sou,
oste na mporeis na kaneis login *kai* apo 'kei. To dokimazeis, blepeis
oti douleuei, kai apla to jexnas. Tnv epomevn fora pou sou 'pagonei' i
konsola, pas dipla sto seiriako termatiko kai blepeis an "zei" to getty
pou s' afhnei na kaneis login apo 'kei. An nai, tote den exei kollisei
to sumpan, kai mporeis apla na skotoseis ton X server. An oxi, tote
ontws exei kollnsei to sumpan, kai kati allo pio periergo paizei.
> Iparhi pithjanotita to kde na krema to mouse/keyboard kai diktio
> (ethernet)?
An to mixanima einai se diktuo kai *den* apantaei apla oute se ena ping,
otan ginetai auto, tote mallon akura osa exo grapsei parapano, alla den
jero ti ennoeis otan les 'to kde na krema to diktio (ethernet)', opote
mono upo8eseis mporo na kano :-)
Ciao.
--
Giorgos Keramidas, < keramida @ ceid . upatras . gr >
For my public key: finger keramida at ceid.upatras.gr
--
linux-greek-users mailing list -- http://lists.hellug.gr
More information about the Linux-greek-users
mailing list