🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.sys.mac
Article #2091

Re: change CAPS to CTRL

#2091
From: NIDE Naoyuki
Date: Mon, 12 Mar 2001 11:33
39 lines
2516 bytes
In article <98i7iu$2dr5$1@zsh.cyber-magic.org>,
	taka@cyber-magic.org writes:
> Macintosh $B>e$N(B Linux $B$O?($C$?$3$H$,$J$$$N$GA4$/$NA[A|$G$b$N$r8@$$$^$9$,(B
> Xkb $B<+?H$N5!G=$G<B8=$9$k$N$O$G$-$J$$$J$N$G$7$g$&$+(B.

  $B$"$j$,$H$&$4$6$$$^$9!#;DG0$J$,$i!"(Bxmodmap$B$GF~$l49$($k$N$OK\<AE*$K$O(B
xkb$B$G$$$8$k$N$HF1$8$3$H$i$7$/!"(Bxkb$B$N5!G=$r;H$C$F;n$7$F$b;vBV$OF1$8$G$7(B
$B$?!#$^$:!"855-;v$NDL$j%5!<%P$O(BXpmac(XF68_fbdev$B$O$&$^$/F0$+$J$$(B)$B$J$N$G!"(B
XF86Config$B$OL54X78$G$9$+$i!"(BXF86Config$B$K(B

> Section "InputDevice"
> 	Option "XkbOptions" "ctrl:nocaps"
> EndSection

$B$H=q$/J}K!$O;H$($^$;$s!#$=$3$G!"(B

	xkbcomp :0 /tmp/foo

$B$7$F!"=PNO$r(B/usr/X11R6/lib/X11/xkb/symbols/ctrl$B$NCf$N(Bnocaps$B$N$H$3$m$H(B
$B8+Hf$Y!"(B

	key <CAPS> { [ Control_L ] };

$B$r(B

	key <CAPS> { symbols[Group1]= [ Control_L ] };

$B$K=q$-D>$7$F$_$^$7$?!#(Bmodifier_map$B$O$9$G$K(BCAPS, LCTL$B$H$b(BControl$B$K$J$C(B
$B$F$$$k$N$G$=$N$^$^!#$=$7$F(B

	xkbcomp /tmp/foo :0

$B$7$F$_$?$N$G$9$,!"8+;v$K85$N$^$^$G$7$?!#$5$i$K(B

	xkbcomp :0 /tmp/foo2; diff /tmp/foo /tmp/foo2

$B$7$F$_$F$o$+$C$?$N$G$9$,!"(Bfoo2$B$NFbMF$O=q$-49$($kA0$N(Bfoo$B$HA4$/F1$8$G$9!#(B
$B$I$&$d$i2?$b8z2L$O$J$+$C$?$h$&$G$9!#;DG0!#(B
						nide@ics.nara-wu.ac.jp
Technical Details
Message-ID: <98ic68$78b$1@ginger.media.kyoto-u.ac.jp>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.media.kyoto-u.ac.jp!news.media.kyoto-u.ac.jp!nide
References: <98i22h$6hl$1@narans.cc.nara-wu.ac.jp> <98i7iu$2dr5$1@zsh.cyber-magic.org>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: f4a0a,e637a31e34c1df8e
X-Google-Attributes: gidf4a0a,public
X-Google-Thread: f514d,e637a31e34c1df8e
X-Google-Attributes: gidf514d,public
X-Google-ArrivalTime: 2001-03-12 03:34:07 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.media.kyoto-u.ac.jp!news.media.kyoto-u.ac.jp!nide
From: nide@ics.nara-wu.ac.jp (NIDE Naoyuki)
Newsgroups: fj.sys.mac,fj.os.linux.setup
Subject: Re: change CAPS to CTRL
Date: 12 Mar 2001 11:33:28 GMT
Organization: Center for Information and Multimedia Studies, Kyoto University, JAPAN
Lines: 40
Message-ID: <98ic68$78b$1@ginger.media.kyoto-u.ac.jp>
References: <98i22h$6hl$1@narans.cc.nara-wu.ac.jp>
 <98i7iu$2dr5$1@zsh.cyber-magic.org>
NNTP-Posting-Host: koya.i.h.kyoto-u.ac.jp
X-Trace: ginger.media.kyoto-u.ac.jp 984396808 7435 130.54.80.157 (12 Mar 2001 11:33:28 GMT)
X-Complaints-To: usenet@news.media.kyoto-u.ac.jp
NNTP-Posting-Date: 12 Mar 2001 11:33:28 GMT
X-No-Vote: yes
X-Comment: If you have any opinions on thie article, use netnews, not vote,
 which is an unsuitable media for discussion.
X-Newsreader: mnews [version 1.21] 1997-12/23(Tue)