>From: Alexander Skwar <[EMAIL PROTECTED]>

>So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 04:17:52PM +0200:
>> >Mandrake doesn't have "editor".  Well, it seems like it boils down to us=
>ing
>>=20
>> Bad :-(

>Uh?  Does Solaris have a editor executable?

I missunderstood you.

There is no 'editor'. There is $EDITOR or 'edit'

> l -i /bin/vi                
    305916 -r-xr-xr-x   5 bin      bin       208152 Jun  1  1998 /bin/vi
> find /usr/bin /usr/ucb -inum 305916 -ls
305916  216 -r-xr-xr-x  5 bin      bin        208152 Jun  1  1998 /usr/bin/edit
305916  216 -r-xr-xr-x  5 bin      bin        208152 Jun  1  1998 /usr/bin/ex
305916  216 -r-xr-xr-x  5 bin      bin        208152 Jun  1  1998 /usr/bin/vedit
305916  216 -r-xr-xr-x  5 bin      bin        208152 Jun  1  1998 /usr/bin/vi
305916  216 -r-xr-xr-x  5 bin      bin        208152 Jun  1  1998 /usr/bin/view


>Yes, you said that you think that this allows the use of less.  Any idea
>about what they mean with 'documented in the system documentation'?  Is this
>excerpt from man man good enough of a system documenation?

>| -P  pager
>|  Specify  which  pager  to  use.  This option overrides the MANPAGER
>|  environment variable, which in turn overrides the PAGER variable.  By
>|  default, man uses /usr/bin/less-is.

There is no MANPAGER.

I would simply default to 'more' but it would be OK to use 'less' in case it
is present and executable in your PATH. But this test must be done in a portable
way.

J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to