[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pager changed after upgrade from woody to sarge:



James Haskell wrote:
> i just upgraded from woody to sarge, and it *seems*
> that in the process, my pager has changed from
> /usr/bin/less to /bin/more.
> e.g. if i type:
> cd /usr/include/ <tab> <tab>
> bash displays:
> Display all 370 possibilities? (y or n)
> when i type y, bash lists the files using /bin/more.

Not really, it's an internal pager similar to /bin/more. Differs from the
system pager that programs like "man" use. Previously bash didn't page at
all, if I recall correctly.

       $ man bash
       /pager      # use the search function
       
       page-completions (On)
              If set to On, readline uses an internal more-like pager to
              display a screenful of possible completions at a time.

Edit or create ~/.inputrc to contain the line:

        set page-completions off

and new instances of bash will no longer use the internal pager.



Reply to: