X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/504fe3dc4ec761922a00398fe5811f08fafbde41..133e96335267b12bb7e97d9bbe551a3a043bd32a:/screen.plp?ds=inline
diff --git a/screen.plp b/screen.plp
index f4ceecb..1223a5a 100644
--- a/screen.plp
+++ b/screen.plp
@@ -1,60 +1,3 @@
-<(common.inc.plp)><:
-
-Html({
- title => 'screen cheat sheet',
- version => 'v1.0',
- description => [
- "Interactive cheat sheet for the Screen terminal manager,",
- "describing the function of each key.",
- ],
- keywords => [qw'
- screen sheet cheat reference overview commands keyboard
- terminal window manager
- '],
- charset => $sign{charset},
- stylesheet => [qw'light dark circus mono red terse'],
- keys => 1,
-});
-
-:>
-
Screen cheat sheet
-
-normal mode (default)
-
<:
-use Shiar_Sheet::Keyboard 2;
-my $info = do 'screen.inc.pl' or die $! // $@;
-my $keys = Shiar_Sheet::Keyboard->new($info);
-$keys->map($get{map}) or undef $get{map};
-$keys->print_rows($get{rows});
-:>
-
-
-
-
-
-<:
- $keys->print_legend('legend-types', [map { "g$_" } 0 .. 8]);
-:>
-
-
-
-<:
- $keys->print_legend('legend-options', [qw'arg']);
-:>
-
-
- - keyboard map is
- <:= $get{map} ? 'set to ' : '' :><:= $keys->{map} :>
-
- ascii mode is
- <:= defined $sign{-ascii} && 'forced ' :><:=
- $sign{-ascii} ? 'on' : 'off' :>
-
- keys are
- <:= $showkeys ? 'always shown' : 'hidden if unassigned' :><:=
- !defined $showkeys && ' by default' :>
-
- default style is
- <:= defined $get{style} && 'set to ' :><:= $style :>
-
-
-
-
+$Request = 'screen';
+Include 'keyboard.plp';