Change Log for wmnetselect
Last modification to ChangeLog 8 Aug 2000
Final RPMs, final tarball, finally releasing 0.85
Finally finished updating the documentation.
Remind me to never change the structure of the arguments again!
Tested on final mozilla M17 today. The -r option doesn't
give an error now (Thanks Chris), though it doesn't seem to raise
Last modification to ChangeLog 29 Jul 2000
Corrected spec file, seems to build okay now.
Gave up on make dist, make rpm for now.
Added -v option to just show the version.
Updated man page.
Updated AUTHORS page to show all the contributors,
hope I didn't forget anyone... I lost some of
my old mail moving from machine to machine.
Last modification to ChangeLog 23 Jul 2000
Started arduous process of update the README.html file.
Added new xpms ne*e48.xpm - really just copied ne*e4.xpm and changed
the size to a more pleasing 48x48 (looks better in some wm's). More
of a border makes it easier to drag around.
Last modification to ChangeLog 21 Jul 2000
Added -d command line argument. -display works correctly now. (duh!)
Just one more thing I didn't think to test...
RPM spec file testing. Not quite there yet...
I added lycos and hotbot as search engine options.
There is obviously an unending list of search engines,
but I have to stop somewhere (until I make it user-configurable).
Added rudimentary man page. Needs work.
Last modification to ChangeLog 17 Jul 2000
Version 0.85 (leaving lots of digits before the mythical 1.0)
Lot of minor and not so minor changes since 0.8 Where did the time go?
It works with Mozilla (M17 and newer)!
Added (snarfed) mozilla icons from the mozilla distribution. I just
resized and converted the animated gifs to xpms. These are under the
Mozilla Public license, which complicates my GPL distribution...
Patches I received from kind netizens finally inspired me to update
this aging app. The two primary patches were:
A patch from Benjamin Holtzman to choose the search engine instead of
having to use Google. I added yahoo and raging to the list included
in the patch. I'm sure some favorites are still missing. Reading these
from a resource file at runtime may be a future addition.
The -w <search engine> option specifies an engine other than
the default of google.
A patch from Dan Kreft (bigdanat kreft .net) that allow selecting
URLs with newlines and embedded whitespace. Now you can select URLs like:
and they will work with wmnetselect. This is makes using it with some
mail readers much more functional. wmnetselect should be able to handle
any URL with these changes.
I also received a patch that I (boneheadedly) lost when migrating between
machines. It contained a mod that had something to do with accessing
physics documents, or CERN documents, and a mod to make it easier to
work with local files. I tried to reimplement the local file patch, but
the credit goes to the person who sent me the patch, because I had never
thought about it before. If you see this, re-send the patch if you
still have it. The change was a new conditional to protocol that
appends the file:/ protocol to the selection if the first character
is a slash.
I rewrote (broke?) most of the command line arguments and added a
raise/noraise option (-r). The negative logic on some of the
arguments was getting so confusing I could no longer follow it.
Most of the arguments require a 'y' or 'n' now. They should
all have sane defaults, so none are required. As mentioned,
I'll probably add an optional resource file in the future, even
though it's kind of against my minimal philosophy.
I added the -r command line option primarily because I use wmnetselect
under CDE sometimes. Supplying a "-r n" option will prevent the
browser from "sticking" to the other CDE workspaces. I don't think
it makes any difference to WindowMaker. (Wrong! It determines
if the brower will be deiconified on almost all windom managers.)
I fixed a memory allocation error in encode (with help from Bruce Perens'
ElecticFence application), and made the allocation a little simpler.
It may waste a few bytes, but that's much better than core dumps
and memory leaks.
I changed the ",newwindow" to ",new-window" after correspondence with
Christopher Blizzard on the Mozilla Team. As of this writing, Mozilla
(M17) works correctly using the ",new-window" option, but not with the
",newwindow" option. Netscape seems to work with either option.
At this writing, there are still some problems with the -r option of
wmnetselect using Mozilla. If you experience problems using Mozilla,
make sure you are not using the -r option of wmnetselect.
I finally have a working autoconfigure script. Making wmnetselect should
now be just a matter of running ./configure in the source directory.
This is actually one of the reasons this release took so long. I resolved
to not release without one. And it took awhile to get it right. This
allows me to test under more architectures much more easily. It also
facilitates making RPMs.
Last modification to ChangeLog 21 Apr 1999
Version 0.8 (Major Revision)
- Selection Performs Google Searchs on Right Button Click
By Clicking the Right mouse button, the selection is used as a query
to the Google.com search engine. Ctrl-Right mouse button will open a
new window with the results of the query. First suggested by Alan Jaffray
<jaffrayNO@SPAMnow.cirl.uoregon.edu>. Similar suggestion and some code by
Jerome Auge <jaugeNO@SPAMclub-internet.fr>.
- Ctrl-Left Single Click Adds Selection as Bookmark
A single Left mouse button click while holding the Ctrl key will add the
selected text as a bookmark if a Netscape window is open. For now, if Netscape
is not open, the Ctrl-Left button will open Netscape to the selected text,
but add no bookmark. This is considered a bug, and hopefully will be fixed
in a future version. Adding bookmarks also sprang from the fertile mind of
Jerome Auge <jaugeNO@SPAMclub-internet.fr>.
- Character Encoding
Now wmnetselect encodes "unsafe" characters per RFC1738.
This means that URLs that contain commas, or other punctuation
chars will be handled correctly by wmnetselect.
news.com often contains URLs with commas. Try this URL:
The previous versions of wmnetselect will choke on it, but this
version has no problem with it.
- New Command Line Options
This version has three new command line options, most suggested
by others. Also, the -silent option has been changed to -q or -quiet.
-d or -dontask
When the X selection is blank or is all spaces, wmnetselect now pops up the
Netscape open URL dialog to allow you to type in a URL when the X selection
is blank or is all spaces. Use the -d option to suppress this behavior and
just beep if there is no selection. Use the -q along with the -d option to
"quiet" the beep. Suggested by Morten Gulhaugen <s862NO@SPAMdrone.ii.uib.no>.
-o or -onstartup
Starts netscape (by default) or the executable named by the -e option when
wmnetselect is started. This can be used to start Netscape when your window
manager is started. This allows wmnetselect to better emulate a Netscape
appicon. Suggested by Michael G. Henderson <mghNO@SPAMnis.lanl.gov>
-n or -noprotocol
wmnetselect uses a heuristic (enhanced with sample code and ideas provided by
Jerome Auge <jaugeNO@SPAMclub-internet.fr>) that attempts to determine the
protocol of the URL when none is provided.
If the selection does not contain ":/", then these rules are followed:
If hostname begins with "ftp." then add "ftp://"
else if the selection contains a "@" and not a "/" add "mailto:"
otherwise add "http://"
Adding "mailto:" instructs Netscape to open the mail composer with the selection
in the "To:" field.
There are cases when it may be problematic: ftp URLs can contain a "@" per
And an email address that starts with "ftp." will be mishandled.
Use the -n option to prevent wmnetselect from adding any protocol to the URL.
The usage information now display the version of wmnetselect and my email
- Much Faster
wmnetselect now uses the Netscape remote control mechanism directly instead of
spawning an external reference to Netscape. This is much, much faster,
especially if you have lots of open windows and applications on your X desktop
as I do. If previous versions of wmnetselect were too slow, you should see a big
speed improvement with this version. It is also less resource intensive. It
allows you to control your Netscape display even if the Netscape application is
served from another machine. You don't even have to have Netscape on the
machine wmnetselect is executing on.
The reference implementation of the Netscape remote control mechanism at:
was a valuable resource (written by ex-Mozillan, Jamie Zawinski <jwzNO@SPAMjwz.org>).
Improvements suggested by Ken Hornstein's <kenhNO@SPAMcmf.nrl.navy.mil> Tcl/Tk
extension, Netscape-Remote were also incorporated.
- Other Changes
Some possible buffer overruns were fixed, and arbitrary string limits removed.
A Netscape 4.5.x possible bug was detected and corrected by Andrea Mistrali
Lots of minor and cosmetic changes to make the code somewhat cleaner were made
(and lots left to do there).
" -lXmu" was added to the first line of the Imakefile to handle the
XmuClientWindow in the Netscape remote invocation code.
Thanks for all the suggestions and improvements by:
Michael G. Henderson <mghNO@SPAMnis.lanl.gov>
Morten Gulhaugen <s862NO@SPAMdrone.ii.uib.no>
Andrea Mistrali <andreNO@SPAMulmo.aleph.it>
Alan Jaffray <jaffrayNO@SPAMnow.cirl.uoregon.edu>
Special thanks to Jerome Auge <jaugeNO@SPAMclub-internet.fr> who provided
working code, some yet to be incorporated. Look for it in the next version.
Also thanks to David McNett <nuggetNO@SPAMslacker.com> for putting together
the BSD port.
NOTE: Since this ChangeLog is posted on the web, SPAM suppression techniques
are in force. All email addresses have the "@" replaced with NO@SPAM. Remove
the NO and SPAM to send mail to these addresses.