--- moz-2003-05-03-09 Wed May 14 00:22:04 2003 +++ moz Wed May 14 00:17:20 2003 @@ -1,6 +1,6 @@ #!/bin/sh appname=`basename "$0"` - ver="0.2.2RC1.2003050309" + ver="0.2.2RC1.2003051400" copy="2002, 2003" mail="PointedEars@gmx.de" mail_feedback="bug-moz@PointedEars.de" @@ -36,81 +36,25 @@ mail_feedback="bug-moz@PointedEars.de" # # ChangeLog # ========== - # - # 0.2.2 (future) - # --------------- - # - # Enhancements: - # - # * Access a resource in a new browser tab (Mozilla 1.0.1, 1.1 and beyond). - # * Mix new-window, new-tab and new-process options - # * "Kill" a Mozilla process trying to send SIGTERM(15) and if (and only if) - # this has no effect, send SIGKILL(9); wait with `-remote ping()' for - # Mozilla to "die" before doing anything else. - # * List running `mozilla-bin' processes/threads with `ps'; Test for and - # support user-oriented `ps' output (`u'), use Unix98 options as fallback; - # allow arbitrary `ps' options as argument - # * Open a new Compose window with predefined `To:' field - # * Open a new MailNews window - # * Open a new Compose window with empty `To:' field - # * Display version information and exit - # * Use local directories and filenames as URI argument; - # (the argument is then preceded internally by file://`pwd`/) - # * Support other programs similar to Mozilla (like Phoenix) by specifying - # the start-up command (use `MOZILLA_CMD' environment as default or `mozilla' - # if it is not present) and the binary (use `MOZILLA_BIN' environment as - # default or `mozilla-bin' if it is not present). - # * Cosmetics - # - Added status messages - # - Send error messages to stderr - # - Bold-formatted title with changed tagline - # - Updated and reformatted help screen - # - Output is preformatted for 80 columns; reformats - # only when COLUMNS environment is different (fast!) - # - Reformatted source not to exceed 80 cols per line (with `\') - # to make it easier legible on the console - # - Workaround kate's imperfect syntax highlighting with a bunch of `# `' - # (send your complaints to kate.kde.org!) - # - Separated help source by a blank line - # - Removed unused variables - # - # Bugfixes: - # - # * If not running on first argument, wait for the process with - # `-remote ping()' before passing on to the second argument; - # speeds-up Mozilla process start-up by using ping() only for - # first `-remote' and should prevent `Unable to send command.' - # * Fixed function-in-statement bug on `sh' (IRIX 6.5) - # * Support SysV compliant `ps' calls for working `-l' on IRIX 6.5 - # * _XPG=1 for `$( `$command` )' and `$(( `$arithmetic_expression` ))' - # parameter expansion in `sh' (IRIX 6.5) - # * Fixed bug that replaces old with new URI; now opens new window - # instead in accordance with documentation - # * Cosmetics: - # - s/Protected/Distributed/ - # - Fixed typo in English help for `-w' option (deprecated) - # + # # See the ChangeLog text file for further information. # + # # TO DO (0.2.2RC1, scheduled 2003-04-28) + # ======================================= # # * POSIX conform parsing of options and arguments (incomplete) # * L10n: English and German (using macro function) (incomplete) # * Cosmetics: # - More modular code (incomplete) # - # TO DO (later): - # - # * New option to call Mozilla if and only if it is not running - # * `-C', `--command' options to execute arbitrary Mozilla commands - # - # See the ROADMAP text file for further information. + # See the ROADMAP and TODO text files for further information. # # ---------------------------------------------------------------------------- function L { case $lg in - de) if [ -n "$2" ]; then echo "$2"; else echo "$1"; fi;; + de) echo "${2:-$1}";; *) echo "$1";; esac }