On Thu, Mar 1, 2012 at 9:32 AM, Mitchell Laks <ml...@post.harvard.edu> wrote:
>> Yes, this all the result of the alternatives "system". >> >> Is it "/usr/bin/pager" or "/usr/pager"? > > yes it is "/usr/bin/pager" > > "/usr/pager" does not exist on my systems I meant to write "/bin/pager" and "/usr/bin/lessq" below... :( AFAIK it's "/bin/pager". >> You could create a "/bin/lessq" wrapper (and incur an extra cost) and >> use "update-alternatives" to default to "/bin/lessq". > > how would one add any alternative to the alternatives system > after creating the /bin/lessq file > (containing the line something line > less -q $1 > i guess) update-alternatives --install /bin/pager pager /usr/bin/lessq 80 update-alternatives --config sh >> It's "export PAGER..." not "export $PAGER...". > > thank you that helped! You're welcome. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=swjyk4wfzalahyb9+m2y7q5hzvzrvb7alpq7sh_9+k...@mail.gmail.com