42 end |
42 end |
43 if result.last then |
43 if result.last then |
44 local fetch_next = opts.everything; |
44 local fetch_next = opts.everything; |
45 if opts.interactive and not fetch_next then |
45 if opts.interactive and not fetch_next then |
46 io.stderr:write "--More--" |
46 io.stderr:write "--More--" |
47 fetch_next = io.read"*l"; |
47 fetch_next = io.read"*l" or print(); |
48 end |
48 end |
49 if fetch_next then |
49 if fetch_next then |
50 opts.after = result.last; |
50 opts.after = result.last; |
51 conn:query_archive(opts.to, opts, handle_results); |
51 conn:query_archive(opts.to, opts, handle_results); |
52 return |
52 return |