Netscape 4.x Tips II

Summary:

  • Editing Input Fields Faster
  • Command Line Options
  • Remote Control, Bookmarking Pages Without Titles
  • Ad-Free, Privacy-Enhanced Browsing
  • Getting Rid Of Blinking Text
  • Kill The Cache1.1
  • Substituting Netscape Mail
Section index - KB index

Editing Input Fields Faster ('Location', 'Open Page', 'Find')

Several keyboard / mouse shortcuts are listed in the program-menus. Here are some others which come in handy when editing input fields. They are either not documented or not obvious:

  • CTRL-u removes previous input from the field.
  • ALT-a highlights the input and thus sends it to the clipboard. Which means you can paste it somewhere else.
  • CTRL-v inserts the last line copied in Navigator using CTRL-c. That's convenient for non-linked URLs: highlight one of them, press CTRL-c, ALT-o, (CTRL-u if necessary) and CTRL-v.
    If you want to insert lines copied from outside Navigator, use the middle mouse button (there seems to be no button combination for this, which is quite annoying). Don't ask me why CTRL-v only works within Navigator :-. It doesn't work either if you just highlight the selection, you have to use CTRL-c1.1
  • TAB cycles through the buttons and options clockwise, SHIFT-TAB counterclockwise.
  • CTRL-a moves the cursor to the beginning of the line, and CTRL-e to its end.
  • Two clicks on the 'Location' field let you overwrite the currently displayed address.
Note that in some 6.x versions, these might not work. M tried to remap the shortcuts to their Windows equivalents via 'Netscape.ad', but that didn't work out well. To get the original Unix shortcuts back, you have to rename or delete the file '/usr/X11R6/lib/X11/app-defaults/Netscape.ad'.

section index

Command Line Options

These options are especially useful in combination with the Communicator suite. They allow you to start parts of the suite without having to go via the browser:

  • Start Netscape Mail with inbox:
    netscape -mail
  • Start Netscape Messenger and open default news server:
    netscape -news
  • Start Composer (with optional file):
    netscape -edit {URL}
  • Show command line options:
    netscape -help
section index

Remote Control, Bookmarking Pages Without Titles

You can control much of Netscape's functions from the command line. This feature is called Remote Control.

For instance,

netscape -remote 'openURL(http://home.netscape.com)'

will open 'home.netscape.com' in the active Netscape window (for Remote Control to work, there has to be a Netscape process already running). To open the URL in a new window, type

netscape -remote 'openURL(http://home.netscape.com, new-window)'

Another possible use of this feature is bookmarking pages which do not have tags:<p class="paragraph"/> <div class="code"><pre>netscape -remote 'addBookmark(http://home.netscape.com, Netscape Home)'</pre></div><p class="paragraph"/> would add the URL 'http://home.netscape.com' with the title 'Netscape Home' to the Bookmarks list.<p class="paragraph"/> Alternatively, one could write a primitive shell script like this:<p class="paragraph"/> ~#1.1 /bin/sh ~#nbsm - adds bookmarks echo -n "Enter complete URL to bookmark: " read a echo -n "Enter name for bookmark: " read b netscape -remote "addBookmark($a,$b)" echo "Added"<p class="paragraph"/> To make entering the URL less painful, click at the URL in the location bar, hit ALT-a. Now you only have to press SHIFT-INS at the first script prompt and supply the name for the bookmark at the second.<p class="paragraph"/> <span class="wikilink"><a href="/xwiki/bin/view/KB/UtilsIndex">section index</a></span> <h2 class="heading-1"><span id="HAdFree2CPrivacyEnhancedBrowsing">Ad-Free, Privacy-Enhanced Browsing</span></h2><p class="paragraph"/> The <span class="wikiexternallink"><a href="http://www.waldherr.org/junkbuster/">Junkbuster</a></span> gives you fine-grained control over what your browser tells which servers about you (browser type, referrer headers) and what content which servers are allowed to put onto your machine (cookies, ad-banners, images, URLs). It works on every major operating system and is well documented.<p class="paragraph"/> Note that it doesn't work out of the box for the new Mozilla browser, since this browser uses version 1.1 of the HTTProtocol. You have to configure Mozilla to use HTTP 1.0.<p class="paragraph"/> Also make sure you've got <span class="wikiexternallink"><a href="http://www.waldherr.org/blocklist">the latest blockfile</a></span> for maximum effect.<p class="paragraph"/> <span class="wikilink"><a href="/xwiki/bin/view/KB/UtilsIndex">section index</a></span> <h2 class="heading-1"><span id="HGettingRidOfBlinkingText">Getting Rid Of Blinking Text</span></h2><p class="paragraph"/> The invention of the <blink> tag is probably one of the worst crimes Netscape ever committed. It is non-standard and obnoxious. Luckily, it is very easy to get rid of. Add the line:<p class="paragraph"/> <div class="code"><pre>Netscape*blinkingEnabled: False</pre></div><p class="paragraph"/> to your ~/.Xdefaults file and run<p class="paragraph"/> <div class="code"><pre>xrdb -merge ~/.Xdefaults</pre></div><p class="paragraph"/> Restart the browser and there will be no more blinking text.<p class="paragraph"/> <span class="wikilink"><a href="/xwiki/bin/view/KB/UtilsIndex">section index</a></span> <h2 class="heading-1"><span id="HKillTheCache11">Kill The Cache1.1 </span></h2><p class="paragraph"/> Ever wondered why your home directory keeps growing and growing? Run<p class="paragraph"/> <div class="code"><pre>du -m &#150;&#150;max-depth=3 | sort -n</pre></div><p class="paragraph"/> in your home directory and you might discover that the '.netscape/cache' directory is around 100 MB (or even larger). What has happened?<p class="paragraph"/> The size of the disk cache is configured in 'Edit-Preferences-Advanced-Cache'. Usually it is set to five MB. The problem is that every instance of the browser opens its <em>own cache sub-directory</em>. So you've got a growing amount of directories in '.netscape/cache' which are just below five MB … Pressing the 'Clear Disk Cache' button only clears the <em>currently</em> used directory, but not the others.<p class="paragraph"/> To cope with this brain dead behavior, I've added this command to my '/etc/rc.d/rc.local':<p class="paragraph"/> <div class="code"><pre>rm -rf /home/tom/.netscape/cache/*</pre></div><p class="paragraph"/> (Adjust the path to your setup.) This empties the cache directory on each reboot.<p class="paragraph"/> <span class="wikilink"><a href="/xwiki/bin/view/KB/UtilsIndex">section index</a></span> <h2 class="heading-1"><span id="HSubstitutingNetscapeMail">Substituting Netscape Mail</span></h2><p class="paragraph"/> I don't have the whole communicator suite on my disk, just the browser. I'm using <span class="wikiexternallink"><a href="http://www.mutt.org/">mutt</a></span> for my mail, <span class="wikiexternallink"><a href="http://pan.rebelbase.com/">Pan</a></span> as my newsreader and write my HTML by hand ;-). One disadvantage was that 'mailto:' links didn't work (those links which bring up an instance of Netscape Mail with the address already entered).<p class="paragraph"/> No longer1.1 <span class="wikiexternallink"><a href="http://www3.telus.net/brian_winters/mutt/">muttzilla</a></span> allows you to use mail programs like mutt or Pine as a substitute for Netscape Mail. Compile, install, configure '/etc/muttzilla.conf' and off you go. Next time you click on a 'mailto' link, your favorite mail program will open.<p class="paragraph"/> <span class="wikilink"><a href="/xwiki/bin/view/KB/UtilsIndex">section index</a></span> <h3 class="heading-1-1"><span id="HRelatedResources3A">Related Resources:</span></h3><p class="paragraph"/> <span class="wikiexternallink"><a href="http://help.netscape.com/communicator/index.html">The Official Communicator Product Information and Support page</a></span><br> <span class="wikiexternallink"><a href="http://help.netscape.com/search.html">Netscape Knowledge Base Search</a></span><br> <span class="wikiexternallink"><a href="http://sillydog.org/netscape/nc4tload.html">Tips for Netscape Communicator 4.0x and 4.5</a></span> (all platforms)<br> <span class="wikiexternallink"><a href="http://home.att.net/%7Echerokee67/index6.html#top2">Netscape Solutions</a></span> (all platforms)<br> <span class="wikiexternallink"><a href="http://sillydog.org/narchive/">Netscape Browser Archive</a></span><p class="paragraph"/> Revision / Modified: June 21, 2001 / June 27, 2002<br> Author: Tom Berger<p class="paragraph"/> <small>Legal: This page is covered by the <span class="wikiexternallink"><a href="http://www.gnu.org/licenses/fdl.txt">GNU Free Documentation License</a></span>. Standard disclaimers of warranty apply. Copyright LSTB and Mandrakesoft.</small><p class="paragraph"/> </div> <div class="about"> <span class="breadcrumbspace"><a href="/xwiki/bin/view/KB/">KB</a> - </span> <a href='/xwiki/bin/view/KB/UtilsUnstips2'>Netscape 4.x Tips II</a> <br/> Version 1.3 last modified by AdminWiki on 22/03/2004 at 09:45 </div> <div id="xwikidata" class="layoutsubsection"> <h3 class="hidden">Document data</h3> <div id="xwikidatacontents"> <script type="text/javascript"> //<!-- if(document.getElementById("commentform")) { document.getElementById("commentform").className = "collapsed"; } if (document.getElementById("comments")) { document.getElementById("comments").className += " hidden"; } //--> </script> <br/> <script type="text/javascript"> //<!-- //--> </script> </div> </div> <div class="clearfloats"></div> </div> </div><div id="leftPanels" class="panels left"> <div class="panel"> <div class="panel-top"></div> <div class="xwikipanelcontents"> <h5 class="xwikipaneltitle">Knowledge Base</h5> <hr/> <ul class="star"> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/OfficialDocumentation">Official Documentation</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Newbies">Newbie Area</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/WebSite">WebSites</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Quotation">Quotations</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/NamingConventions">Naming conventions</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/WritingConventions">Writing conventions</a></span></li> </ul><p class="paragraph"/> <div class="menu"> <br/> <center> <strong class="strong"><span class="wikilink"><a href="/xwiki/bin/view/Main/Tags">Tags</a></span></strong> </center> <ul class="star"> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Boot">Boot</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/BootManager">BootManager</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Contributor">Contributor</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Cooker">Cooker</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Distribution">Distribution</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/FileSharing">FileSharing</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/FileSystem">FileSystem</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Gaming">Gaming</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Hardware">Hardware</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/HowTo">HowTo</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Internet">Internet</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Java">Java</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Kde">KDE</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/KDM">KDM</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/kernel">kernel</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Konqueror">Konqueror</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Kontact">Kontact</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Login">Login</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Mail">Mail</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Navigation">Navigation</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Office">Office</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Security">Security</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Software">Software</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Tip">Tip</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/Windows">Windows</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/X">X</a></span></li> <li><span class="wikilink"><a href="/xwiki/bin/view/KB/XWindow">XWindow</a></span></li> </ul></div><p class="paragraph"/> <p class="paragraph"/> <div class="clearall"></div> </div> <div class="panel-bottom"></div> </div> </div> </div><div id="rightPanels" class="panels right"> <div class="panel panel-white"> <div class="xwikipanelcontents"> <h5 class="$titleStyle"> </h5> <center> <form action="/xwiki/bin/loginsubmit/XWiki/XWikiLogin" method="post"> <input type="hidden" name="xredirect" value="" /> <input type="text" id="j_username" name="j_username" value="Email address" onfocus="if (this.value=='Email address') this.value='';"/><br/> <input type="password" id="j_password" name="j_password" value="Password" onfocus=" this.value=''; "/><br/> <input id="rememberme" type="checkbox" name="j_rememberme" value="true"/> <label for="rememberme"><font color="#000">Remember me on this computer</font></label> <div class="buttons"> <input type="submit" class="button" value="Sign-in"/></div> </form> </center> <ul class="star"> <li><a href="https://my.mandriva.com/reset/password/">Lost account?</a></li> <li><font color="#000"><a href='http://www.mandriva.com/register'>Join</a> the community, be part of the Club: it's free!</font></li> <li><a href="http://store.mandriva.com/product_info.php?products_id=73">Get the PWP Download Subscription! </a></li> </ul><div class="clearall"></div> </div> </div> <div class="panel panel-white"> <div class="xwikipanelcontents"> <h5 class="$titleStyle"></h5><p class="paragraph"/> <a href="/xwiki/bin/view/KB/UtilsUnstips2?language=en"><img src="/xwiki/skins/clubm/images/lang/en.gif" alt="en" border="0"/></a><p class="paragraph"/> <p class="paragraph"/> <center> <div class="clearall"></div> </div> </div> <div class="panel panel-white"> <div class="xwikipanelcontents"> <h5 class="$titleStyle"></h5> <div style="clear: both; width: 100%; margin-left: auto; margin-right: auto; text-align: center;"> <a href="/xwiki/bin/view/Main/WebRss?xpage=rdf"><img src="/xwiki/skins/clubm/rss.gif" border="0" alt="RSS" /></a> </div> <div class="clearall"></div> </div> </div> </div> <div class="clearfloats"></div> </div></div><div id="footerglobal" class="layoutsection"> <div class="minwidth"></div> <hr/> <div id="xwikidocinfo"><div class="minwidth"></div>Creator: AdminWiki on 2004/03/22 09:45</div> <div id="xwikilicence">(c) Mandriva 2007</div> <div id="xwikiplatformversion">18888888</div> <hr/> </div> </div></div></body> </html>