projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5786033
)
set ^Z and ^V correctly
author
djk
<djk>
Tue, 29 Jun 1999 09:31:09 +0000
(09:31 +0000)
committer
djk
<djk>
Tue, 29 Jun 1999 09:31:09 +0000
(09:31 +0000)
perl/console.pl
patch
|
blob
|
history
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;