Effectively detaching 'less' from a pipe
Alex Zbyslaw
xfb52 at dial.pipex.com
Tue Feb 27 11:22:01 UTC 2007
Matthew Seaman wrote:
>Kelly Jones wrote:
>
>
>
>>Once I'm convinced, though, I'd like to "get rid" of less, and just
>>have the rest of stdout spewed to the terminal (and/or /dev/null
>>and/or to a file I specify).
>>
>>In other words, I want to stop hitting 'space' until my program terminates.
>>
>>
>
>Hit F
>
>Makes less work rather like tail(1). Once your inferior process has
>finished you need to hit Ctrl-C and then q to quit from less(1).
>
>
You learns something new every day...
In a similar vein, I use G which jumps to the end-of-file. If there is
a lot of output less does nothing until it hits EOF and then just shows
you the end of the output. I suspect that of being quicker since it
won't spend any time scrolling output to the screen.
--Alex
More information about the freebsd-questions
mailing list