summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-03-26 03:01:04 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-03-26 03:01:04 +0000
commit4b99bfd3751308ac6994cb3b1dd780f28b055c02 (patch)
treee8cf442da174526f56be6a0b25344210ac7de6dd /gnu/usr.bin/perl
parent4b0ef7df4c69b058bb55882690ca2e3277be16a5 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/perl')
-rwxr-xr-xgnu/usr.bin/perl/usub/pager38
1 files changed, 19 insertions, 19 deletions
diff --git a/gnu/usr.bin/perl/usub/pager b/gnu/usr.bin/perl/usub/pager
index 1b468a05fbdb..d55ace2c2bab 100755
--- a/gnu/usr.bin/perl/usub/pager
+++ b/gnu/usr.bin/perl/usub/pager
@@ -22,10 +22,10 @@ sub initterm {
$lines = $LINES; $lines1 = $lines - 1; $lines2 = $lines - 2;
$cols = $COLS; $cols1 = $cols - 1; $cols2 = $cols - 2;;
- $dl = &getcap('dl');
- $al = &getcap('al');
- $ho = &getcap('ho');
- $ce = &getcap('ce');
+# $dl = &getcap('dl');
+# $al = &getcap('al');
+# $ho = &getcap('ho');
+# $ce = &getcap('ce');
}
sub slurpfile {
@@ -84,15 +84,15 @@ sub pagearray {
elsif ($ch eq 'j') {
next if $percent >= 100;
$line += 1;
- if ($dl && $ho) {
- print $ho, $dl;
- &mvcur(0,0,$lines2,0);
- print $ce,$lines[$line+$lines2],$ce;
- &wmove($curscr,0,0);
- &wdeleteln($curscr);
- &wmove($curscr,$lines2,0);
- &waddstr($curscr,$lines[$line+$lines2]);
- }
+# if ($dl && $ho) {
+# print $ho, $dl;
+# &mvcur(0,0,$lines2,0);
+# print $ce,$lines[$line+$lines2],$ce;
+# &wmove($curscr,0,0);
+# &wdeleteln($curscr);
+# &wmove($curscr,$lines2,0);
+# &waddstr($curscr,$lines[$line+$lines2]);
+# }
&wmove($stdscr,0,0);
&wdeleteln($stdscr);
&wmove($stdscr,$lines2,0);
@@ -104,12 +104,12 @@ sub pagearray {
elsif ($ch eq 'k') {
next if $line <= 0;
$line -= 1;
- if ($al && $ho && $ce) {
- print $ho, $al, $ce, $lines[$line];
- &wmove($curscr,0,0);
- &winsertln($curscr);
- &waddstr($curscr,$lines[$line]);
- }
+# if ($al && $ho && $ce) {
+# print $ho, $al, $ce, $lines[$line];
+# &wmove($curscr,0,0);
+# &winsertln($curscr);
+# &waddstr($curscr,$lines[$line]);
+# }
&wmove($stdscr,0,0);
&winsertln($stdscr);
&waddstr($stdscr,$lines[$line]);