bash: keyboard page for bash shell defaults
[sheet.git] / charset.plp
index 91de26bd81c002e5cff1e7fd896c76996c25c479..6b6e7d0bf7655e36d7887b8b51433c9d30b20c91 100644 (file)
@@ -61,6 +61,11 @@ my @request = map {
                        utf8::upgrade($row{table});  # prevent latin1 output
                        $row{set} = sprintf 'Unicode block U+%02Xxx', $start >> 8;
                }
+               elsif ($input eq 'U') {
+                       $row{table} = ' ' x 512;
+                       $row{set} = 'Unicode planes';
+                       $row{cell} = do 'charset-ucplanes.inc.pl';
+               }
                elsif ($row{set} = resolve_alias($input)) {
                        if ($row{set} eq 'Internal') {
                                $row{table} = ' ' x ($endpoint < 255 ? 640 : 4096);
@@ -108,7 +113,7 @@ print "<ul>\n";
 
 my @nibble = (0..9, 'A'..'F');
 for my $row (@request) {
-       print '<li><table class="glyphs">';
+       printf '<li><table class="glyphs%s">', !$row->{cell} && ' charmap';
        printf '<caption>%s</caption>', $row->{set};
        print '<col>';
        for my $section (qw{thead}) {