declare type in HTML style tags
[sheet.git] / readline.plp
index a49c6d3532db2ea38b9ced674c4561e088d9f07e..f9a29b18f38cc74cce8dad0f6fdf2091554ce992 100644 (file)
@@ -28,8 +28,8 @@ $header{content_type} = "text/html; charset=$sign{charset}";
        ) for keys %styles;
 
        our $showkeys = exists $get{keys} && $get{keys} ne '0';
-       print "\n<style> .no {visibility:hidden} </style>" unless $showkeys;
-       print "\n<style> .no, .alias {opacity:.5} </style>"
+       print "\n".'<style type="text/css"> .no {visibility:hidden} </style>' unless $showkeys;
+       print "\n".'<style type="text/css"> .no, .alias {opacity:.5} </style>'
                if $showkeys and $get{keys} eq 'ghost';
 :>
 <script type="text/javascript" src="/keys.js"></script>
@@ -52,7 +52,7 @@ $header{content_type} = "text/html; charset=$sign{charset}";
 use Shiar_Sheet::Keyboard;
 my $keys = Shiar_Sheet::Keyboard->new({do 'readline.inc.pl'});
 $keys->map($get{map}) or undef $get{map};
-$keys->print_rows($get{static} || '543');
+$keys->print_rows($get{rows} || '^x=213', [4,3,2]);
 :>
 </ul>
 
@@ -82,6 +82,10 @@ $keys->print_rows($get{static} || '543');
                <dl class="legend legend-options">
                <dt>key<:= $sign{arg} :>
                        <dd>Commands with a dot need a char argument afterwards.
+               <dt class="new">&gt;v2.0
+                       <dd>Unavailable before readline version 2.1 (1997).
+               <dt class="ext">bash
+                       <dd>Default assignment in Bash shells, but not common readline.
                </dl>
 
                <ul class="legend legend-set">