On Sun, 17 Jun 2001 [EMAIL PROTECTED] wrote:
>Date: Sun, 17 Jun 2001 15:51:15 +0200 (MEST)
>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED], [EMAIL PROTECTED],
> [EMAIL PROTECTED]
>Subject: Re: CDcontrol software released (
>
>>From: Gleydson Mazioli da Silva <[EMAIL PROTECTED]>
>
>
>>Maybe a simple check if the $PAGER variable exists and trying "which
>>less" and
>>"which more" (as last resource) could be the enought...
>
>Which cannot be used as 'which' is a csh script.
>It will fail if the user has no .cshrc which sets a CSH more alias.
/usr/bin/which is an ELF executable on Red Hat Linux, but I agree
that it definitely is not an application that can be expected to
be portable.
----------------------------------------------------------------------
Mike A. Harris - Linux advocate - Open Source advocate
Opinions and viewpoints expressed are solely my own.
----------------------------------------------------------------------
There are two major products that come out of Berkeley: LSD and BSD.
We don't believe this to be a coincidence. -- Jeremy S. Anderson
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]