If you prefer you can use another pager like more that will let you ctrl-c:
export PAGER=more
Or activate the -K option of less that will quit on ctrl+c export PAGER='less -K'If your state is just sitting in the file, interpret the signal as exit.
It enables you to search using '/keyword', for example.