For example, if I view a piece of doc called a.txt in linux. Here is my prompt:
user $ less a.txt
This is a document named a.txt, here is what happened when I press 'q'
user $
Small document doesn't bother me, but when i just looked through a code of 2000 lines length, I couldn't see anything from my previous commands other than looking into $history.
How do I stop display doc/code upon exist ('q')?