2015-04-08 02:07:10 +03:00
|
|
|
::
|
2015-12-20 14:48:17 +03:00
|
|
|
:::: /hoon#dill-belt#mar
|
2015-04-08 02:07:10 +03:00
|
|
|
::
|
|
|
|
/? 314
|
2015-12-10 12:17:19 +03:00
|
|
|
/- kyev, sole
|
2015-04-08 02:07:10 +03:00
|
|
|
!:
|
|
|
|
::::
|
|
|
|
::
|
2015-09-01 23:56:42 +03:00
|
|
|
[sole .]
|
2015-04-08 02:07:10 +03:00
|
|
|
|_ dill-belt
|
|
|
|
::
|
|
|
|
++ grab :: convert from
|
|
|
|
|%
|
|
|
|
++ json
|
|
|
|
=< (cork . kyev)
|
2015-12-10 12:17:19 +03:00
|
|
|
|= jon+^json ^- ^kyev
|
2015-04-08 02:07:10 +03:00
|
|
|
%- need
|
|
|
|
%. jon => jo %- ot
|
2015-12-20 14:48:17 +03:00
|
|
|
:~ mod#(cu ^sa (ar (su (perk ~[%ctrl %shift %alt %meta]))))
|
2015-04-08 02:07:10 +03:00
|
|
|
:- %key
|
2015-12-14 10:58:14 +03:00
|
|
|
%+ cu |*(a+$%({$str @t} {$act @}) ?+(-.a a $str +.a))
|
2015-12-20 14:48:17 +03:00
|
|
|
=- (of str#so act#(su (perk -)) ~)
|
2015-04-08 02:07:10 +03:00
|
|
|
:~ %ctrl %shift %alt %meta %entr %esc %caps %uncap
|
|
|
|
%pgup %pgdn %home %end %baxp %del %ins
|
|
|
|
%up %down %left %right
|
|
|
|
== ==
|
|
|
|
++ kyev
|
2015-12-10 12:17:19 +03:00
|
|
|
|= kev+^kyev ^- dill-belt
|
2015-12-20 14:48:17 +03:00
|
|
|
~| dill-belt-incomplete#kev
|
2015-12-10 12:17:19 +03:00
|
|
|
?: ?=({$act ?($ctrl $shift $alt $meta)} q.kev)
|
2015-04-08 02:07:10 +03:00
|
|
|
[%txt ~] :: ignore
|
|
|
|
=+ mod=(~(del in p.kev) %shift)
|
|
|
|
?^ mod
|
|
|
|
?^ q.kev !! :: only accept strings
|
2015-04-09 04:35:17 +03:00
|
|
|
=. q.kev
|
|
|
|
?. (~(has in p.kev) %ctrl)
|
|
|
|
q.kev
|
|
|
|
(con 96 q.kev) :: ctrl key decoding
|
2015-04-08 02:07:10 +03:00
|
|
|
=+ cha=(tuba (trip q.kev))
|
2015-12-10 12:17:19 +03:00
|
|
|
?> ?=({@ $~} cha) :: of a single character
|
2015-04-08 02:07:10 +03:00
|
|
|
?+ mod !! :: modified by one buckykey
|
2015-12-11 04:28:33 +03:00
|
|
|
{$ctrl $~ $~} [%ctl i.cha]
|
|
|
|
{$alt $~ $~} [%met i.cha]
|
2015-04-08 02:07:10 +03:00
|
|
|
==
|
|
|
|
?@ q.kev
|
|
|
|
[%txt (tuba (trip q.kev))]
|
|
|
|
?+ +.q.kev !!
|
2015-12-11 04:28:33 +03:00
|
|
|
$del [%del ~]
|
|
|
|
$baxp [%bac ~]
|
|
|
|
$entr [%ret ~]
|
|
|
|
$up [%aro %u]
|
|
|
|
$down [%aro %d]
|
|
|
|
$left [%aro %l]
|
|
|
|
$right [%aro %r]
|
2015-04-08 02:07:10 +03:00
|
|
|
== :: %yow, %rez?
|
|
|
|
::
|
|
|
|
++ noun dill-belt :: clam from %noun
|
|
|
|
--
|
|
|
|
--
|