Hi experts,
Does confd provide CLI related MAAPI that be pagenated by screen-length?
I tried “maapi_cli_printf” but I found that the output cannot be pagenated by screen-length.
Thanks for your help.
BR,
Harry Huang
Hi experts,
Does confd provide CLI related MAAPI that be pagenated by screen-length?
I tried “maapi_cli_printf” but I found that the output cannot be pagenated by screen-length.
Thanks for your help.
BR,
Harry Huang
Try piping your command output through more:
<your command> | more
If that doesn’t work for you, I suppose you can paginate the output yourself using maapi_cli_printf() after first reading current screen-width and screen-length using maapi_cli_get() and some variant of maapi_cli_prompt() for the prompting.