Department of Electrical Engineering & Computer Sciences Instructional & Electronics Support Group /share/b/pub/mozilla.help /share/b/pub/firefox.help /share/b/pub/netscape.help /share/b/pub/homepage.help May 14, 2010 CONTENTS: Unable to use Firefox or Mozilla on UNIX? Tips for Using Java WEB Browsers Eat Disk Quotas Colormaps Rules of Usage How to Set Up a Home Page How to Use CGI in Your WEB Page How to Read Chinese on the WEB (via Netscape) Installing Plug-ins Set Up Acrobat as an Inline Viewer for Netscape Unable to use Firefox or Mozilla on UNIX? ----------------------------------------- (Oct 2008) If you are unable to start Firefox because it says it is already running, then it has old lock files that you can delete. They are created when firefox starts and don't get deleted properly if a crash occurs. To find them you can run this command while logged into your UNIX account: find ~/.mozilla/firefox/ -name \*lock -exec ls {} \; Then use the "rm" command to delete them, and start 'firefox'. (July 2006) We are upgrading our SUN UNIX systems to Solaris 10, and the new versions of firefox and mozilla are incompatible with the older configuration settings. So if you get no response when you try to start firefox or mozilla, you should delete (or rename) your ~/.mozilla/firefox directory. It will be re-created the next time you run the browser. You can rename it with this UNIX command (you can delete it later): mv ~/.mozilla ~/.mozilla-old You can verify that the computer you are on is running Solaris 10 with the UNIX command: uname -a You can see a list of all of our login servers and their operating systems at http://inst.eecs.berkeley.edu/cgi-bin/clients.cgi?choice=servers. (Oct 2011) Reun 'firefox -ProfileManager' to recreate or add your profile for Firefox. This is especially useful on Windows. Tips for Using Java ------------------- On the EECS Instructional systems, see /share/b/pub/java.help for information about using Java with Netscape. The help file can also be accessed with the URL: http://inst.eecs.berkeley.edu/share/b/pub/java.help. If you get the error message Unable to start a java applet: Can't find "java_301" in your CLASSPATH. you should run these commands while logged into your Instructional account: mkdir ~/.netscape/plugin ln -s /usr/sww/X11R6/lib/X11/netscape-3.01/java_301 \ ~/.netscape/plugin/java_301 WEB Browsers Eat Disk Quotas ---------------------------- In order to conserve disk space (in your disk quota as well as space in /home/tmp), please lower your disk cache amount in our browser. This refers to the size of the directory cache that is created when you run the browser. (The default size is often 5 megabytes.) Type "du -s ~/.netscape/cache" to see the current size of your disk cache. You should change this size to either 0 or 1 megabyte (1000 kbytes). To do this: - select OPTIONS - select PREFERENCES - select STYLES - select CACHE, NETWORK, IMAGES - change the "Disk Cache" to either 0 or 1000 - select "Clear Disk Cache Now" Colormaps --------- Netscape uses many colors and may claim all the available entries in your system colormap, leaving none for other applications. Other applications will display error messages about colors and may fail to run. To avoid this, you can start netscape with the "install" option: % netscape -install Also, you can specify this in your .Xdefaults file. Add: Netscape*installColormap: true to your .Xdefaults file, then type: xrdb -merge .Xdefaults (Credits go to article posted to comp.lang.xemacs, author unknown.) Rules of Usage -------------- Users who prepare information to be displayed through information servers that are run on University computers must adhere to accepted rules of behavior: the information must contain no obscenities and no offensive remarks of a racial or sexual nature. The University is bound by the laws and policies that protect its members from insult and harassment and can not permit University facilities (ie the local servers) to be used for such purposes. In addition, these servers must not be used to advertise commercial products or services, unless a specific exception is documented in current University rules. (USENET provides the biz.* newsgroups for commercial activity, and it is permissible to read and post articles to those newsgroups.) Specifcally, these rules apply to the words, sounds and images displayed via "finger", "ftp", email, USENET, the WWW and any other information services. See /share/b/pub/etiquette for further information about the rules and your rights as a user on our systems. How to Set Up a Home Page ------------------------- Please see http://inst.eecs.berkeley.edu/setup.html for current information. How to Use CGI in Your WEB Page ------------------------------- You could place all your cgi programs in a "cgi-bin" directory under your "public_html" dir. like this: drwx--x--x 3 monish staff 512 Jun 23 16:26 cgi-bin Under "cgi-bin" place your cgi files like this: -rwx--x--x 1 monish staff 1263 May 22 10:44 file.cgi Your html file that calls the cgi program must have the path associated with it like this: ie, in file.html under your "public_html" :
For more info. please look at http://inst.EECS.Berkeley.EDU/setup.html#features How to Read Chinese on the WEB (via Netscape) --------------------------------------------- In your .xsession file enter the following line. Do NOT enter it after exec. xset fp+ /usr/sww/share/fonts/Chinese Start Netscape ( /usr/sww/X11/bin/netscape ) and click on EDIT and then PREFERENCES. Then click on FONTS. Enter/Select The Following:- For The Encoding: simplified chinese (gb_2312-80) ------------------------------- Use The Proportional Font: Fangsong Ti(Isas) ----------------- Use The Fixed Font: Fangsong Ti(Isas) ----------------- Click on OK and you are done. Installing Plug-ins ------------------- The programs for "pdf" and "ps" files vary according to what computer you are using. Use the "Preferences" or "Options" setting of your WEB browser to teach it about them. SolarisX86: /usr/sww/bin/xpdf, /usr/sww/X11/bin/ghostview other UNIX: /usr/sww/X11/bin/acroread, /usr/sww/X11/bin/ghostview Windows NT: C:\Acrobat3\Reader\AcroRd32.exe, C:\Program Files\gstools\gsview\gsview32.exe MIME types: application/acroread, application/postscript Please see http://inst.EECS.Berkeley.EDU/share/b/pub/acroread.help for some more info. Set Up Acrobat as an Inline Viewer for Netscape ----------------------------------------------- Please read /share/b/pub/acroread.help. EECS Instructional Support 377 & 386 Cory, 333 Soda inst@eecs.berkeley.edu (end)