2009/10/13 Chris Stankevitz <chrisstankev...@yahoo.com>:
> Please try this:
>
> 1. at the prompt type "man man" to get the man manual page.
> 2. press CTRL-G to to to the bottom of the document
> 3. press k to scroll up one line
>
> You'll notice you cannot perform step 3 because man "quits back to the prompt 
> after CTRL-G".
>
> Question: How can I make man not "quit back to the prompt after CTRL-G"?
>

from man 1 more:
= or ^G or :f
              Prints some information about the file being  viewed,  including
              its  name and the line number and byte offset of the bottom line
              being displayed.  If possible, it also prints the length of  the
              file,  the  number  of  lines in the file and the percent of the
              file above the last displayed line.
so if you mean shift-G, then the default behaviour of more(1) is to exit when
it reaches the end of the file, & (IIRC, obviously YMMV) the default pager is
set to more.

-- 
--
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to