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

Re: not in X. man command does not respect set bell-style visible



On Thu, Mar 1, 2012 at 9:32 AM, Mitchell Laks <mlaks@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.


Reply to: