my $comparison = (
!$vidi->{key}->{$mnem} ? 'l3' : # free
$vidi->{key}->{$mnem}->[0] != $cp ? 'l1' : # conflict
- $vidi->{key}->{$mnem}->[2] eq 'l4' ? 'l5' : # rfc
+ $vidi->{key}->{$mnem}->[2] eq 'l5' ? 'l5' : # rfc
'l4' # any
);
$table{$mnem} = [
}
print JSON->new->canonical->indent->encode({
+ title => 'X.Org',
key => \%table,
+ intro => join("\n",
+ 'Character mnemonics following compose key ⎄:',
+ 'in the X Window System (Shift+AltGr by default).',
+ 'Differences from <a href="/digraphs">RFC-1345</a> are indicated.',
+ 'Also see <a href="/unicode">common Unicode</a>.',
+ ),
+ keywords => [qw( xorg x11 x )],
flag => {
'l5' => "matching RFC-1345",
'l4' => "matching proposal",