File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ HTML=`dirname $0`/../issues.srb
1818DATEFRM=" +%d %b %Y"
1919TMP=${TMPDIR:-/ tmp} /issue.$$
2020ARCH=` uname`
21+ PAGER=${PAGER:- more}
22+
2123
2224pr ()
2325{
@@ -239,13 +241,13 @@ interactive ()
239241 pr " ? \c"
240242 read reply
241243 case " $reply " in
242- l) list_issues;;
244+ l) list_issues | $PAGER ;;
243245 a) ref=; desc=; add_issue;;
244246 r) num=; res=; resolve_issue;;
245247 u) num=; update_issue;;
246248 g) generate_html;;
247- t) list_unresolved;;
248- y) list_to_be_updated;;
249+ t) list_unresolved | $PAGER ;;
250+ y) list_to_be_updated | $PAGER ;;
249251 q) ;;
250252 * ) pr " Not understood, please try again" ; reply=;;
251253 esac
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ ISSUES=`dirname $0`/../DOC/todo.db
2121HTML=` dirname $0 ` /../DOC/todo.srb
2222DATEFRM=" +%d %b %Y"
2323ARCH=` uname`
24+ PAGER=${PAGER:- more}
25+
2426
2527pr ()
2628{
@@ -377,14 +379,14 @@ interactive ()
377379 pr " ? \c"
378380 read reply
379381 case " $reply " in
380- l) list_issues;;
382+ l) list_issues | $PAGER ;;
381383 a) ref=; desc=; add_issue;;
382384 c) num=; comment=; add_comment;;
383385 o) num=; own=; add_owner;;
384386 +) num=; inc_prio;;
385387 -) num=; dec_prio;;
386388 r) num=; res=; resolve_issue;;
387- t) list_unresolved;;
389+ t) list_unresolved | $PAGER ;;
388390 q) ;;
389391 * ) pr " Not understood, please try again" ; reply=;;
390392 esac
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ HTML=`dirname $0`/../issues.srb
1818DATEFRM=" +%d %b %Y"
1919TMP=${TMPDIR:-/ tmp} /issue.$$
2020ARCH=` uname`
21+ PAGER=${PAGER:- more}
22+
2123
2224pr ()
2325{
@@ -239,13 +241,13 @@ interactive ()
239241 pr " ? \c"
240242 read reply
241243 case " $reply " in
242- l) list_issues;;
244+ l) list_issues | $PAGER ;;
243245 a) ref=; desc=; add_issue;;
244246 r) num=; res=; resolve_issue;;
245247 u) num=; update_issue;;
246248 g) generate_html;;
247- t) list_unresolved;;
248- y) list_to_be_updated;;
249+ t) list_unresolved | $PAGER ;;
250+ y) list_to_be_updated | $PAGER ;;
249251 q) ;;
250252 * ) pr " Not understood, please try again" ; reply=;;
251253 esac
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ ISSUES=`dirname $0`/../DOC/todo.db
2121HTML=` dirname $0 ` /../DOC/todo.srb
2222DATEFRM=" +%d %b %Y"
2323ARCH=` uname`
24+ PAGER=${PAGER:- more}
25+
2426
2527pr ()
2628{
@@ -377,14 +379,14 @@ interactive ()
377379 pr " ? \c"
378380 read reply
379381 case " $reply " in
380- l) list_issues;;
382+ l) list_issues | $PAGER ;;
381383 a) ref=; desc=; add_issue;;
382384 c) num=; comment=; add_comment;;
383385 o) num=; own=; add_owner;;
384386 +) num=; inc_prio;;
385387 -) num=; dec_prio;;
386388 r) num=; res=; resolve_issue;;
387- t) list_unresolved;;
389+ t) list_unresolved | $PAGER ;;
388390 q) ;;
389391 * ) pr " Not understood, please try again" ; reply=;;
390392 esac
You can’t perform that action at this time.
0 commit comments