Concepts which xmosaic uses



next up previous contents
Next: Exercises Up: WWW Previous: xmosaic and lynx:

Concepts which xmosaic uses

Mosaic is based on the concept of hyperlinks. Typically, a hyperlink is of a blueish colour and may be underlined. When the user clicks on the hyperlink (in the Mosaic language, it is called an "anchor") using the mouse, the link is followed to wherever it is pointing.

It may be to another document at another site, or a plain ASCII file. In the latter case, it would be displayed.

If the hyperlink points to a PostScript file, a PostScript viewer on the local system is spawned and the PostScript file is viewed. Typically, "ghostview" is used for PostScirpt files, "xv" is used for ".gif" files.

URL - Uniform Resource Locator: a string describing the type of resource to fetch and where the resource is.

HTML - HyperText Markup Language: language to write Mosaic documents. Contains directives to access a URL.

Types of URL's:

ftp: allows automatic connection to an anomymous FTP site. Through Mosaic, allows directory navigation and file retrievals. Depending on the file type, a different program will be called to view the content of the file:

File Type Program Used --- ---- PostScript ghostview .fig xv .dvi xdvi ASCII will be displayed in Mosaic window.

Any file can be automatically downloaded to a local file with the click of a mouse button.

ex: ftp://anonymous:www-entry@nrcnet0/pub/unixug/

http: hypertext transport protocol: connect to a Mosaic server, using a specific html document.

ex: http://www.sao.nrc.ca/home.page.html

2.1.5.3. gopher: connect to a gopher server.

ex: gopher://gopher.tc.umn.edu

2.1.5.4. telnet: open a telnet session. "xterm" will be used as a window.

ex: telnet://nickel.sao.nrc.ca

2.1.5.5. file: gives access to a specific file. The file must be in an anonymous FTP account.

ex: file://nrcnet0.nrc.ca/welcome.msg

2.1.5.6. news: to read USENET newsgroups. Unfortunately, I couldn't get it to work on our News Server (variable NNTPSERVER must be set).

ex: news://comp.sys.sgi/

Tips and tricks on accessing WWW sites, that would also apply if one writes HTML files for others to access:



next up previous contents
Next: Exercises Up: WWW Previous: xmosaic and lynx:



Super-User
Fri Feb 17 15:55:40 EST 1995