Code

sysdb: Use a pager for displaying query results in interactive mode.
authorSebastian Harl <sh@tokkee.org>
Sun, 18 Dec 2016 15:36:38 +0000 (16:36 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 18 Dec 2016 15:36:38 +0000 (16:36 +0100)
commit5cc17919bcf0cc5474811e376bdba8989f0b54d3
tree792d7066461e566d700e244f51474097d8d76238
parent0a3dd5b9b97e25156412a95bcecf25f8d75c72fc
sysdb: Use a pager for displaying query results in interactive mode.

For now, hard code the pager to 'less -FRX'.
src/tools/sysdb/command.c
src/tools/sysdb/json.c
src/tools/sysdb/json.h
src/tools/sysdb/main.c