···<date: 2012-08-10, Friday>···<from: Hans Hagen>···

> On 10-8-2012 00:31, Mojca Miklavec wrote:
> >On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote:
> >>Hi,
> >>
> >>There is a new feature in mtxrun:
> >>
> >>As I wanted to acccess the help on the wiki, I've added a feature to mtxrun
> >>that can be used in an editor:
> >>
> >>mtxrun
> >>   --gethelp
> >>   --url="http://www.contextgarden.net/Command/setuplist";
> >
> >sh: http://www.contextgarden.net/Command/setuplist: No such file or directory
> 
> So what would be the right way? Is there some abstract shortcut to
> the preferred browser?

Hi Hans, there’s the environment variable $BROWSER, as in:

    Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
    > return os.getenv"BROWSER"
    /usr/bin/opera
    > 

So ``$BROWSER http://www.foo.bar`` launches the browser from a
shell.

Philipp


> 
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: pgpx6cPvd7rc3.pgp
Description: PGP signature

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to