git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sc: legend besides units table
[sheet.git]
/
readline.plp
diff --git
a/readline.plp
b/readline.plp
index cc70d05ff6c50227c618018f03a903c2d2d609f5..c0eb58a280f7da6df1a9a3bcf35175adef68a98d 100644
(file)
--- a/
readline.plp
+++ b/
readline.plp
@@
-2,10
+2,10
@@
Html({
title => 'readline cheat sheet',
Html({
title => 'readline cheat sheet',
- version => 'v1.
0
',
+ version => 'v1.
1
',
description => [
"Reference sheet of default key bindings for GNU readline,",
description => [
"Reference sheet of default key bindings for GNU readline,",
- "used
in line-editing in most Unix software, notably emacs and b
ash.",
+ "used
for line-editing in most Unix software, notably Emacs and B
ash.",
],
keywords => [qw'
readline gnu bash emacs sheet cheat reference overview keyboard editing curses
],
keywords => [qw'
readline gnu bash emacs sheet cheat reference overview keyboard editing curses
@@
-20,21
+20,14
@@
Html({
<h2>default emacs mode</h2>
<h2>default emacs mode</h2>
-<ul id="rows">
-
-<li class="row">
- <ul class="keys omni">
- <li class="me" onclick="setmode()"><b>Esc</b> +
- </ul>
-</li>
-
<:
<:
-use Shiar_Sheet::Keyboard;
-my $keys = Shiar_Sheet::Keyboard->new({do 'readline.inc.pl'});
+use Shiar_Sheet::Keyboard 2;
+my $info = do 'readline.eng.inc.pl' or die $@;
+$info->{def} = do 'readline.inc.pl';
+my $keys = Shiar_Sheet::Keyboard->new($info);
$keys->map($get{map}) or undef $get{map};
$keys->print_rows($get{rows} || '^x=213', [4,3,2]);
:>
$keys->map($get{map}) or undef $get{map};
$keys->print_rows($get{rows} || '^x=213', [4,3,2]);
:>
-</ul>
<hr>
<hr>