Claudius Hubig wrote:
> bash(1) does not appear to mention $@.
It does but unfortunately it mentions it as a variable named @ and not
as $@ making it difficult to search. This problem has been discussed
upstream for instance here:
http://lists.gnu.org/archive/html/bug-bash/2011-12/msg00097.htm
Mitchell Laks wrote:
> I see now that unless less is invoked with the -q option i will get
> the sound.
> ...
> and that successfully shut up sound on less and pager
> but it did not shut up sound for man.
>
> I still have a beepy noisy man.
Camaleón posted what I think is a better solution but
On Thu, Mar 1, 2012 at 3:40 PM, Claudius Hubig wrote:
> Andrei POPESCU wrote:
>>On Jo, 01 mar 12, 18:02:40, Claudius Hubig wrote:
>>>
>>> #!/bin/sh
>>> /bin/less -q $*
>>
>>I've read somewhere that "$@" (including the quotes) is safer in such
>>situations.
>
> That’s also what keeps lingering in
On Thu, Mar 1, 2012 at 12:02 PM, Claudius Hubig wrote:
>
> /bin/lessq (I would actually suggest using /usr/local/bin/lessq)
Better, yes.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive:
htt
On Thu, Mar 1, 2012 at 9:32 AM, Mitchell Laks 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...
Dom wrote:
>On 01/03/12 20:40, Claudius Hubig wrote:
>> Andrei POPESCU wrote:
>>> On Jo, 01 mar 12, 18:02:40, Claudius Hubig wrote:
->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->
#!/bin/sh
/bin/less -q $*
>>> I've read somewhere that "$@" (including the quotes)
On 01/03/12 20:40, Claudius Hubig wrote:
Andrei POPESCU wrote:
On Jo, 01 mar 12, 18:02:40, Claudius Hubig wrote:
->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->
#!/bin/sh
/bin/less -q $*
I've read somewhere that "$@" (including the quotes) is safer in such
situations.
T
Andrei POPESCU wrote:
>On Jo, 01 mar 12, 18:02:40, Claudius Hubig wrote:
>>
>> ->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->
>> #!/bin/sh
>> /bin/less -q $*
>
>I've read somewhere that "$@" (including the quotes) is safer in such
>situations.
That’s also what keeps lingerin
On Jo, 01 mar 12, 18:02:40, Claudius Hubig wrote:
>
> ->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->
> #!/bin/sh
> /bin/less -q $*
I've read somewhere that "$@" (including the quotes) is safer in such
situations.
Kind regards,
Andrei
--
Offtopic discussions among Debian use
On 18:02 Thu 01 Mar , Claudius Hubig wrote:
> That’s because you only set this variable to your shell and did not
> export it. Observe:
that was what i wanted to know. now i see that export makes it available to
programs.
> would then contain something like:
>
> ->->->->->->->->->->->->->->
Mitchell Laks wrote:
>however putting
>PAGER="less -q"
>alone seemed to set the variable (ie echo $PAGER
>responded less -q)
>
>but it did not change the behavior of say "man pdl"
That’s because you only set this variable to your shell and did not
export it. Observe:
->->->->->->->->->->->->->-
> Because PAGER isn't set by default.
>
> You can set it in "/etc/environment" or "~/.bashrc" or "~/.profile".
ok i put the line
export PAGER="less -q"
in the .bash_aliases
file (or in .bashrc)
and that worked.
however putting
PAGER="less -q"
alone seemed to set the variable (ie echo $PAGER
re
On Wed, Feb 29, 2012 at 7:31 PM, Mitchell Laks wrote:
> On 19:01 Wed 29 Feb , Sven Joachim wrote:
>> This is because .inputrc is only honored by programs that use readline,
>> and the standard pager does not use that.
>>
>> > how to get rid of this?
>>
>> Make sure that less (the standard p
On 19:01 Wed 29 Feb , Sven Joachim wrote:
>
> This is because .inputrc is only honored by programs that use readline,
> and the standard pager does not use that.
>
> > how to get rid of this?
>
> Make sure that less (the standard pager) is invoked with the "-q"
> option. E.g. set PAGER="/us
On Wed, 29 Feb 2012 12:29:29 -0500, Mitchell Laks wrote:
> Dear Gurus,
Not a guru here, but will try to earn some points, tron.
> I like silence.
+100 :-)
> While running a tty console
> (no X running)
> I include in .inputrc
> the line
> set bell-style visible
>
> this is clearly respected
On 2012-02-29 18:29 +0100, Mitchell Laks wrote:
> I like silence.
>
> While running a tty console
> (no X running)
> I include in .inputrc
> the line
> set bell-style visible
>
> this is clearly respected by say the
> tab command on an empty line (no beep, just a flash)
> however
> when i do
16 matches
Mail list logo