projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set ^Z and ^V correctly
[spider.git]
/
perl
/
console.pl
diff --git
a/perl/console.pl
b/perl/console.pl
index 29817564533c95cd37b243435c683c13c06409ab..35924e4c08a2a02f1f2be26dcab53a28d3be6769 100755
(executable)
--- a/
perl/console.pl
+++ b/
perl/console.pl
@@
-186,7
+186,7
@@
sub rec_stdin
} else {
beep();
}
} else {
beep();
}
- } elsif ($r eq KEY_PPAGE || $r eq "\0
26
") {
+ } elsif ($r eq KEY_PPAGE || $r eq "\0
32
") {
if ($spos > 0) {
$spos -= $pages;
$spos = 0 if $spos < 0;
if ($spos > 0) {
$spos -= $pages;
$spos = 0 if $spos < 0;
@@
-194,7
+194,7
@@
sub rec_stdin
} else {
beep();
}
} else {
beep();
}
- } elsif ($r eq KEY_NPAGE || $r eq "\0
32
") {
+ } elsif ($r eq KEY_NPAGE || $r eq "\0
26
") {
if ($spos < @shistory - 1) {
$spos += $pages;
$spos = @shistory if $spos > @shistory;
if ($spos < @shistory - 1) {
$spos += $pages;
$spos = @shistory if $spos > @shistory;