Last update(s): Sat Sep 24 06:47:07 2005 Wed Oct 26 15:55:18 2005 Sat Sep 23 05:16:49 2006 Tue Aug 18 15:53:36 2009 Thu Mar 23 14:07:35 2017
What GUI Web browsers are available?
For use on a workstation with graphical user interface (GUI), we recommend the firefox browser, or its still-experimental, but reasonably stable, second generation, firefox2. The newer version has the convenient feature that, after a crash, it can restart with all previous windows intact. These browsers are the ones under most active development, with new releases appearing every two to three months.
Of these browsers, all but konqueror are available on Sun Solaris SPARC systems. That browser is available in GNU/Linux on AMD64, IA-32, and IA-64 platforms.
mozilla, netscape, opera, and seamonkey can also function as e-mail clients, as described in the electronic mail FAQ .
Apple Mac OS X systems have the vendor-supported safari browser, but it is tied to the native window system of that platform, and does not work in an X11 Window System environment, or on other operating systems.
Microsoft Windows systems have the vendor-supported iexplorer, but because it continues to be a source of very serious security holes that lead to viruses, worms, and filesystem corruption, we strongly recommend that you avoid it for anything other than running the Windows update procedure from the Tools menu. Our local Microsoft Windows systems also generally have at least firefox, mozilla, netscape, opera, and seamonkey installed.
In Fall 2006, Microsoft announced a major new release of iexplorer, version 7, that they claim addresses the security problems of its predecessor. You can recognize it by its new icon, the blue letter e surrounded by a Saturn-like ring from lower left to upper right. It remains to be seen whether the vendor is successful in improving browser security.
On all systems, it is important to have multiple browsers, because there are Web sites that work correctly with only certain browsers, and rarely, one finds a site that refuses to even display a page if the client browser is not iexplorer. The opera browser has the convenient feature of being able to masquerade as several other browsers, foiling such poorly designed Web sites.
What text Web browsers are available?
Most of our systems have elinks, links, lynx, netrik, and w3m text browsers.
In addition, most can dump the contents of a Web page in plain text, with or without links to URLs. This makes them very useful for batch processing, such as in shell scripts.
Despite working in a terminal window, elinks and links recognize the mouse for link selection.
lynx and w3m make extensive use of color to making browsing easier.
How can I download a Web page outside a browser?
The wget utility can fetch a single Web page with a URL (uniform resource locator) prefixed with either http: or ftp:. It has options to recursively follow, and fetch, links to a specified depth, making it possible to download entire Web trees into a local filesystem.
The ncftpget utility can fetch Web pages with URLs prefixed with ftp:. It supports filename wildcards, so you can, for example, fetch a software distribution and its detached digital signature file like this:
% ncftpget ftp://ftp.gnu.org/gnu/which/which-2.16.tar.gz\*
Notice the required protecting backslash preceding the asterisk, preventing its interpretation by the Unix shell. You can use wget that way as well.
ncftpget can also recursively fetch a file tree:
% ncftpget -R ftp://ftp.gnu.org/gnu/which/ ./which-2.11.tar.gz: 102.34 kB 160.78 kB/s ./which-2.12.tar.gz: 102.38 kB 163.67 kB/s ./which-2.13.tar.gz: 103.78 kB 166.22 kB/s ./which-2.14.tar.gz: 109.58 kB 176.06 kB/s ./which-2.16.tar.gz: 122.75 kB 197.49 kB/s ./which-2.16.tar.gz.asc: 307.00 B 2.75 kB/s
On Berkeley Unix systems (FreeBSD, NetBSD, and OpenBSD), the ftp program can fetch URLs prefixed with either http: or ftp:. On OpenBSD, ftp also handles filename wildcards.
What Web browser versions are available?
You can find the filesystem location of any command with the which command, or the locally written mwhich and pathfind commands:
% which firefox /usr/local/bin/X11/firefox % mwhich firefox 981281 lrwxrwxrwx 1 jones staff 15 Sep 22 15:29 /usr/local/bin/X11/firefox -> firefox-126.96.36.199 1196120 -rwxr-xr-x 1 root root 5159 Sep 11 14:13 /usr/bin/firefox % pathfind PATH firefox /usr/local/bin/X11/firefox % pathfind -a PATH firefox /usr/local/bin/X11/firefox /usr/bin/firefox
When multiple pathnames are shown, they are in the order found in the PATH variable: the first one found is the one that is used when you invoke a command by its bare filename.
Many of the browser commands are symbolic links to version-specific names, which you can see either with the mwhich command, as in the example, or else like either of these:
% file /usr/local/bin/X11/firefox /usr/local/bin/X11/firefox: symbolic link to `firefox-188.8.131.52' % ls -l /usr/local/bin/X11/firefox lrwxrwxrwx 1 jones staff 15 Sep 22 15:29 /usr/local/bin/X11/firefox -> firefox-184.108.40.206
Having located the directory in which the browser resides, you can now use wildcards to see if other versions are available with identifying suffixes:
% ls /usr/local/bin/X11/firefox* /usr/local/bin/X11/firefox /usr/local/bin/X11/firefox-220.127.116.11 /usr/local/bin/X11/firefox-1.0.4 /usr/local/bin/X11/firefox-18.104.22.168 /usr/local/bin/X11/firefox-1.0.6 /usr/local/bin/X11/firefox-22.214.171.124 /usr/local/bin/X11/firefox-1.0.7 /usr/local/bin/X11/firefox-2.0b1 /usr/local/bin/X11/firefox-1.5 /usr/local/bin/X11/firefox-2.0b2 /usr/local/bin/X11/firefox-126.96.36.199 /usr/local/bin/X11/firefox2
You can run a specific one by filename, or by complete pathname. Each new version generally contains important security patches, so you should normally run the latest release. However, we preserve earlier versions so that they can be used if problems show up in a new release.
With the bash, tcsh, and zsh shells, you can also request completion of a command by typing one or two tab characters:
% fire<TAB>fox<TAB><TAB> firefox firefox-188.8.131.52 firefox-184.108.40.206 firefox-1.0.5 firefox-220.127.116.11 firefox2 firefox-1.0.6 firefox-18.104.22.168 firefox-2.0-a3_1.1 firefox-1.0.7 firefox-22.214.171.124 firefox-2.0b1 firefox-1.5 firefox-126.96.36.199 firefox-2.0b2 % firefox-2<TAB>.0<TAB><TAB> firefox-2.0-a3_1.1 firefox-2.0b1 firefox-2.0b2
The cursor is left at the end of the line, allowing you to type more characters. The command is not executed until you finally type a carriage return.
Most GUI Web browsers have a menu path Help -> About that pops up a panel showing the version number and other information. Some of the modern ones also have a Help -> Check for updates menu path that you can use to see if a newer version is available, although you can install such a version only on a personally owned machine for which you have administrative privileges.
Our local systems staff generally ensure that new versions are installed within a day or two of their announcement, so you can count on having up-to-date browsers.
Where is the campus Web page?
Where is the departmental Web page?
How do I report problems about departmental Web pages?
Send e-mail to webmaster.
How to I create my own Web pages?
What should I know about writing Web pages?
As you create new files in your Web tree, remember five important things:
|You are entirely responsible for their content, and for adhering to University of Utah policies about Web content. Your personal and scientific reputation may be affected by your Web content and quality. See the University World Wide Web Resources Policy.|
Where are the departmental Web pages stored?
They reside under /home/www/htdocs/, a very large directory tree that also includes the entire FTP tree with hundreds of thousands of files.
My browser fails to start, complaining about a lock. Why?
Most Web browsers (and most e-mail clients) record session information in files stored in a hidden directory tree underneath your login directory, such as .microsoft, .mozilla, .mozilla/firefox, .netscape, and .opera. If multiple instances of a browser run at the same time, file corruption from inconsistent file updates is very likely.
To prevent this disaster, the browsers create an empty file with a known name, such as lock, somewhere in that directory tree. An attempt to start a subsequent instance of the browser will fail with an error report when the lock is found. Unfortunately, browsers are complex programs that, sadly, crash all too frequently, often leaving locks in place. For example, the firefox browser creates a lock file that you can find and diagnose like this:
% find ~/.mozilla -name '*lock*' /u/ma/jones/.mozilla/firefox/r5z7z6jo.tmp1/lock % file /u/ma/jones/.mozilla/firefox/r5z7z6jo.tmp1/lock /u/ma/jones/.mozilla/firefox/r5z7z6jo.tmp1/lock: broken symbolic link to `188.8.131.52:15034' % grep 184.108.40.206 /etc/hosts 220.127.116.11 sunfire.math.utah.edu sunfire
Here, the lock file is a symbolic link to a nonexistent file named with the numeric Internet address and the process number of the browser. You can find out the hostname as indicated, and then use the ps command on that system to see whether the browser process is still running:
% ps -e | grep 15034 15034 pts/4 12:43 firefox-
If the process is not running (i.e., no output from the ps command) then you can safely remove the lock, and then restart your browser:
% rm /u/ma/jones/.mozilla/firefox/r5z7z6jo.tmp1/lock % firefox &
However, if the browser is still running, you should either reuse it on your desktop, or if it is attached to another session, kill it gracefully like this:
% kill -HUP 15034
Browser termination and lock cleanup is clearly a messy and error-prone task, so a locally written program can often do the job for you, after which, you can restart the browser:
% cleanupnetscapelocks % firefox &
Why can the firefox browser not access FTP sites?
Sites that provide anonymous FTP access typically require a password that is a valid e-mail address, and firefox instead provides an invalid one. Worse, it gives you no way to set a correct one via the normal Edit -> Preferences menu path. This seems to be a bug!
The error message that you see is in a pop-up window that reports The response `email@example.com' is not valid ... Please use your e-mail address as your password.
With some care, you can fix the firefox preferences file, either by editing it directly, or by setting it in the GUI, as described later. To edit preferences manually, first, exit from the browser (otherwise, it will just destroy the preference changes that you are about to make). Then find its file named prefs.js with the Unix command find $HOME/.mozilla -name prefs.js. Visit the reported file in a text editor and add these two lines at the end, substituting your own username for USERNAME in the e-mail address:
user_pref("advanced.mailftp", true); user_pref("network.ftp.anonymous_password", "USERNAME@math.utah.edu");
Save your changes to that file, and restart firefox. Check your changes with a URL that points to an FTP site, such as our own ftp://ftp.math.utah.edu/pub site.
You should also be able to see your changes listed in the preferences that are displayed when you visit the fake (and undocumented) URL about:config.
You can change those preferences in the output window, though doing so is a bit tricky and nonobvious:
Sometime before you exit the browser, your prefs.js file will be updated with the changes that you just made.
You can also use the New submenu to enter a preference name and a value in two successive pop-up boxes. You may find that easier than editing prefs.js directly, and it avoids the need to stop and restart firefox.
Why can I not reach University of Utah library databases from off campus?
The University of Utah Marriott Library provides Web access to a substantial number of commercial document databases, but must pay for those services. Consequently, Web access is restricted to members of the University of Utah, either requiring a special username and password, or now more typically, simply by checking that the client Web browser is running on a machine with a University of Utah Internet address (and thus, having a hostname ending in .utah.edu).
It is, however, possible to obtain database access from remote sites by going through a campus intermediate connection between your computer and the database provider. This is called a Virtual Private Network, and details for setting up such a service are documented at the Campus VPN Service Web site.
A second solution is a Web browser proxy. See the Marriott Library remote access Web page for instructions. This is, however, only useful if the database has a Web interface. A few instead use the Citrix system to create a window on your remote computer.
A third solution is to run the Web browser on a campus Unix system, but direct the display to the remote computer connected via SSH (secure shell), as described in the login FAQ In addition, that computer must be running the X11 Window System, either natively on Unix (including GNU/Linux and Apple Mac OS X), or on Microsoft Windows with one of the Unix-like environments, as described in the software FAQ.
How do I get a Java console in firefox-3?
The Tools -> Java console menu path in firefox-1 and firefox-2 is not supported in firefox-3. You can create a Java console window either by running an older version of firefox (run the command ls /usr/local/bin/X11/firefox* to see what versions are available) after first exiting any newer version of the browser, or on Sun Solaris systems, by running the command ControlPanel & in a terminal window.
A Web search for firefox-3 +"java console" should find many Web pages discussing this change, which was made by software developers outside this University.