anchor.diff:  open_location(_, Location) ->
       Cmd = "open " ++ re:replace(Location, "\"", "%22", [{return,list}]),
       erica_util:sh(Cmd).
  -    
  +
   launch_unix_browser(Location) ->
       Env = erica_util:os_env(),
       case proplists:get_value("DISPLAY", Env) of
  
positive.code:     CouchappUrl = couchbeam:make_url(Server, couchbeam:doc_url(Db, DocId), []),
      BrowseUrl = erica_push:index_url(CouchappUrl, Couchapp1),
      open_location(BrowseUrl).
      
  
  open_location(Location) when is_binary(Location) ->
      open_location(binary_to_list(Location));
  
negative.code:     generic_browser_cmd(Path, Location);
  unix_browser_cmd("w3m", Path, Location) ->
      generic_browser_cmd(Path, Location);
  unix_browser_cmd("chromium", Path, Location) ->
      generic_browser_cmd(Path, Location);
  unix_browser_cmd("chrome", Path, Location) ->
      generic_browser_cmd(Path, Location);
  unix_browser_cmd("elinks", Path, Location) ->
      mozilla_browser_cmd(Path, Location).
  
  