Community discussions

MikroTik App
 
User avatar
mrdo1k
just joined
Topic Author
Posts: 9
Joined: Mon Jan 16, 2017 10:47 am

Long output - how to paginate?

Mon Jan 16, 2017 10:51 am

Just got started with the Mikrotik system and cant seem to figure out how to limit output from a command to screen at a time similar til "| more" in a normal unix CLI. The "Manual:Console" in the wiki dont seem to have the answer. Can anybody help me out?
 
MrYan
Member Candidate
Member Candidate
Posts: 160
Joined: Sat Feb 27, 2010 6:13 pm

Re: Long output - how to paginate?

Mon Jan 16, 2017 11:56 am

By default the CLI paginates - have you got some weird termtype set?
 
User avatar
mrdo1k
just joined
Topic Author
Posts: 9
Joined: Mon Jan 16, 2017 10:47 am

Re: Long output - how to paginate?

Mon Jan 16, 2017 12:07 pm

Hmm - my TERM is not that strange. Default terminal on OSX:
TERM_PROGRAM=Apple_Terminal
TERM=ansi
SHELL=/bin/bash
By default the CLI paginates - have you got some weird termtype set?
 
MrYan
Member Candidate
Member Candidate
Posts: 160
Joined: Sat Feb 27, 2010 6:13 pm

Re: Long output - how to paginate?

Mon Jan 16, 2017 3:09 pm

Some commands won't page (/log print & /export for example). Does this apply to all commands? What version of ROS are you running?
 
User avatar
mrdo1k
just joined
Topic Author
Posts: 9
Joined: Mon Jan 16, 2017 10:47 am

Re: Long output - how to paginate?

Mon Jan 16, 2017 4:12 pm

It was /log print that was the only command where I had the issue, so you comment suggests that this is by design! Thanks.
Some commands won't page (/log print & /export for example). Does this apply to all commands? What version of ROS are you running?

Who is online

Users browsing this forum: No registered users and 58 guests