If the buffer is the output of a compilation, then its context menu is populated with commands to either recompile or invoke a new compile command.
If the buffer is the output of a Grep search, then its context menu is populated with the command to refresh the search.