openmoz

openmoz is a command line wrapper for the Mozilla web browser. Given a file name, a URL, an email address, or a keyword, openmoz will display it with Mozilla. Openmoz has options for opening new windows and tabs.

Requirements

Download

openmoz 1.1.0 - For opening the Mozilla web browser.

openfb 1.1.0 - For opening the Mozilla Firebird web browser.

Installation

  1. Extract the contents of the download.
  2. Copy the file "openmoz" (or "openfb") to /usr/local/bin

Usage

openmoz [options] <file, URL, email, or keyword>
Opens the Mozilla web browser, or if the browser is already
open, it attaches to the existing process with a command.
  -w --new-window open each item in a new Mozilla window.
  -t --new-tab    open each item in a new Mozilla tab. (Default)
  -x --existing   when opening item, replace content of existing Mozilla window.
  --startnew      start new process rather than attaching to existing.
  --attach        attach to existing process rather than starting new. (Default)
  --inbox         open mail/newsgroups.
  --mailto        compose a new mail message.
  --splash        use a splash screen on new instance. (Default)
  --nosplash      never use a splash screen.
  --version       display openmoz version information.
  --about         display openmoz license and contact info.
  -h --help       display this message.
ex (blank page):       openmoz
ex (local file):       openmoz index.html
ex (global file):      openmoz /var/www/html/index.html
ex (URL):              openmoz http://mozilla.org
ex (URL w/o protocol): openmoz mozilla.org
ex (URL w/o protocol): openmoz ftp.mozilla.org
ex (email address):    openmoz user@mozilla.org
ex (multiple urls):    openmoz http://mozilla.org/ http://google.com/
ex (keyword):          openmoz mozilla

Changes

License

Version: MPL 1.1/GPL 2.0/LGPL 2.1

The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The Original Code is ostermiller.org code.

The Initial Developer of the Original Code is Stephen Ostermiller. Portions created by the Initial Developer are Copyright (C) 2002 the Initial Developer. All Rights Reserved.

Contributor(s): Stephen Ostermiller

Alternatively, the contents of this file may be used under the terms of either the GNU General Public License Version 2 or later (the "GPL"), or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), in which case the provisions of the GPL or the LGPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of either the GPL or the LGPL, and not to allow others to use your version of this file under the terms of the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL or the LGPL. If you do not delete the provisions above, a recipient may use your version of this file under the terms of any one of the MPL, the GPL or the LGPL.