projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e98520
)
fix console.pl max scroll depth
author
Dirk Koopman
<djk@tobit.co.uk>
Fri, 21 Jan 2022 18:45:17 +0000
(18:45 +0000)
committer
Dirk Koopman
<djk@tobit.co.uk>
Fri, 21 Jan 2022 18:45:17 +0000
(18:45 +0000)
perl/console.pl
patch
|
blob
|
history
diff --git
a/perl/console.pl
b/perl/console.pl
index b71d8a684a2a8207a72e0112990a71251023d4c3..e828c40574bcbc63c5c077bf4ddf2a67bb72373d 100755
(executable)
--- a/
perl/console.pl
+++ b/
perl/console.pl
@@
-533,7
+533,7
@@
$SIG{__DIE__} = \&sig_term;
$Text::Wrap::columns = $cols;
$conn->send_later("A$call|$connsort width=$cols enhanced");
-$conn->send_later("I$call|set/page
$maxshist"
);
+$conn->send_later("I$call|set/page
" . ($maxshist-5)
);
$conn->send_later("I$call|set/nobeep");
#Msg->set_event_handler(\*STDIN, "read" => \&rec_stdin);