"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "webrowse" between
webrowse-2.0.3.tgz and webrowse-2.0.4.tgz

About: webrowse is a tool for interfacing between a Mozilla web browser and the rest of a Unix/X11 environment, via the `-remote` option.

webrowse  (webrowse-2.0.3.tgz):webrowse  (webrowse-2.0.4.tgz)
skipping to change at line 19 skipping to change at line 19
# default browser, interface and cleanup rules # default browser, interface and cleanup rules
$browser = ($ENV{'WB_BROWSER'} =~ /chrom/i) ? 'c' : $browser = ($ENV{'WB_BROWSER'} =~ /chrom/i) ? 'c' :
($ENV{'WB_BROWSER'} =~ /mosaic/i) ? 'm' : 'z'; ($ENV{'WB_BROWSER'} =~ /mosaic/i) ? 'm' : 'z';
$use_old = ($ENV{'WB_MOZOLD'} =~ /./) ? 1 : 0; $use_old = ($ENV{'WB_MOZOLD'} =~ /./) ? 1 : 0;
$use_sp = ($ENV{'WB_SLEEP'} =~ /at/i) ? 0 : 1; $use_sp = ($ENV{'WB_SLEEP'} =~ /at/i) ? 0 : 1;
# default browser command and directories for temporary files # default browser command and directories for temporary files
$chrome = $ENV{'WB_CHROME'} || 'chromium-browser'; $chrome = $ENV{'WB_CHROME'} || 'chromium-browser';
$mozilla = $ENV{'WB_MOZILLA'} || $ENV{'WB_NETSCAPE'} || 'firefox'; $mozilla = $ENV{'WB_MOZILLA'} || $ENV{'WB_NETSCAPE'} || 'firefox';
$chtmp = $ENV{'WB_CHTMP'} || $ENV{'WB_TMP'} || $chtmp = $ENV{'WB_CHTMP'} || $ENV{'WB_TMP'} ||
((-d "$ENV{'HOME'}/.cache/chromium") ((-d "$ENV{'HOME'}/snap/chromium/common/.cache")
? "$ENV{'HOME'}/.cache/chromium" : ? "$ENV{'HOME'}/snap/chromium/common/.cache" :
(-d "$ENV{'HOME'}/snap/chromium/common/.cache/chromium") (-d "$ENV{'HOME'}/.cache/chromium")
? "$ENV{'HOME'}/snap/chromium/common/.cache/chromium" : ? "$ENV{'HOME'}/.cache/chromium" :
(-d "$ENV{'HOME'}/tmp") ? "$ENV{'HOME'}/tmp" : '/tmp'); (-d "$ENV{'HOME'}/tmp") ? "$ENV{'HOME'}/tmp" : '/tmp');
$nstmp = $ENV{'WB_MZTMP'} || $ENV{'WB_NSTMP'} || $ENV{'WB_TMP'} || $nstmp = $ENV{'WB_MZTMP'} || $ENV{'WB_NSTMP'} || $ENV{'WB_TMP'} ||
((-d "$ENV{'HOME'}/.mozilla") ? "$ENV{'HOME'}/.mozilla" : ((-d "$ENV{'HOME'}/.mozilla") ? "$ENV{'HOME'}/.mozilla" :
(-d "$ENV{'HOME'}/.netscape") ? "$ENV{'HOME'}/.netscape" : (-d "$ENV{'HOME'}/.netscape") ? "$ENV{'HOME'}/.netscape" :
(-d "$ENV{'HOME'}/tmp") ? "$ENV{'HOME'}/tmp" : '/tmp'); (-d "$ENV{'HOME'}/tmp") ? "$ENV{'HOME'}/tmp" : '/tmp');
$mstmp = $ENV{'WB_MSTMP'} || $ENV{'WB_TMP'} || $mstmp = $ENV{'WB_MSTMP'} || $ENV{'WB_TMP'} ||
((-d "$ENV{'HOME'}/tmp") ? "$ENV{'HOME'}/tmp" : '/tmp'); ((-d "$ENV{'HOME'}/tmp") ? "$ENV{'HOME'}/tmp" : '/tmp');
# default umask, tmp file hold time, browser window and pwd command # default umask, tmp file hold time, browser window and pwd command
$umask = (defined $ENV{'WB_UMASK'}) ? $ENV{'WB_UMASK'} : 077; $umask = (defined $ENV{'WB_UMASK'}) ? $ENV{'WB_UMASK'} : 077;
skipping to change at line 91 skipping to change at line 91
$markup_file = $ENV{'WB_MUP_FILE'}; # markup /file/paths with file: anchors $markup_file = $ENV{'WB_MUP_FILE'}; # markup /file/paths with file: anchors
############################################################################### ###############################################################################
## Usage ###################################################################### ## Usage ######################################################################
# webrowse -- browse the given input in a local web browser, with markup # webrowse -- browse the given input in a local web browser, with markup
# Steve Kinzler, steve@kinzler.com, May 96/Jan 98/Feb 15 # Steve Kinzler, steve@kinzler.com, May 96/Jan 98/Feb 15
# see website http://kinzler.com/me/webrowse/ # see website http://kinzler.com/me/webrowse/
# http://kinzler.com/me/home.html#web # http://kinzler.com/me/home.html#web
$VERSION = '2.0.3'; $VERSION = '2.0.4';
use Getopt::Std; $Getopt::Std::STANDARD_HELP_VERSION = 1; use Getopt::Std; $Getopt::Std::STANDARD_HELP_VERSION = 1;
($Cnote, $Nnote, $Mnote) = ($browser =~ /c/) ? (' (default)', '', '') : ($Cnote, $Nnote, $Mnote) = ($browser =~ /c/) ? (' (default)', '', '') :
($browser =~ /z/) ? ('', ' (default)', '') : ($browser =~ /z/) ? ('', ' (default)', '') :
('', '', ' (default)'); ('', '', ' (default)');
$Onote = ($use_old) ? ' (default)' : ''; $Onote = ($use_old) ? ' (default)' : '';
($Pnote, $Anote) = ($use_sp) ? (' (default)', '') : ('', ' (default)'); ($Pnote, $Anote) = ($use_sp) ? (' (default)', '') : ('', ' (default)');
$usage = "usage: $0 [ -C | -Z | -N | -M ] [ -O ] $usage = "usage: $0 [ -C | -Z | -N | -M ] [ -O ]
[ -s | -x | -mq | -u | -c ] [ -k MINUTES ] [ -p | -a ] [ -i ID ] [ -s | -x | -mq | -u | -c ] [ -k MINUTES ] [ -p | -a ] [ -i ID ]
 End of changes. 2 change blocks. 
5 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)