⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ch61.htm

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTM
📖 第 1 页 / 共 4 页
字号:


<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->








<font face="Arial,Helvetica" size="-1" color="#006666">

<b>Linux</b></font><p>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">











 

















<H1></H1>







<UL>



	<LI><A HREF="#Heading1">- 61 -</A>



	<UL>



		<LI><A HREF="#Heading2">Using Browsers</A>



		<UL>



			<LI><A HREF="#Heading3">A Brief Introduction to Browsers</A>



			<LI><A HREF="#Heading4">Getting Navigator for Linux</A>



			<LI><A HREF="#Heading5">TIP</A>



			<UL>



				<LI><A HREF="#Heading6">FIGURE 61.1.</A>



			</UL>



			<LI><A HREF="#Heading7">NOTE</A>



			<LI><A HREF="#Heading8">Getting Around</A>



			<UL>



				<LI><A HREF="#Heading9">FIGURE 61.2.</A>



			</UL>



			<LI><A HREF="#Heading10">Fonts and Appearance</A>



			<UL>



				<LI><A HREF="#Heading11">MIME Type Support Setup</A>



				<UL>



					<LI><A HREF="#Heading12">FIGURE 61.3.</A>



					<LI><A HREF="#Heading13">FIGURE 61.4.</A>



					<LI><A HREF="#Heading14">FIGURE 61.5.</A>



				</UL>



				<LI><A HREF="#Heading15">If the Backspace Key Doesnt Work</A>



			</UL>



			<LI><A HREF="#Heading16">TIP</A>



			<UL>



				<LI><A HREF="#Heading17">Shortcuts and Keyboard Options</A>



			</UL>



			<LI><A HREF="#Heading18">Help!</A>



			<LI><A HREF="#Heading19">Selection of Preferences</A>



			<UL>



				<LI><A HREF="#Heading20">FIGURE 61.6.</A>



			</UL>



			<LI><A HREF="#Heading21">Bookmarks</A>



			<LI><A HREF="#Heading22">Directories Used</A>



			<UL>



				<LI><A HREF="#Heading23">FIGURE 61.7.</A>



			</UL>



			<LI><A HREF="#Heading24">Reading News</A>



			<UL>



				<LI><A HREF="#Heading25">FIGURE 61.8.</A>



				<LI><A HREF="#Heading26">FIGURE 61.9.</A>



				<LI><A HREF="#Heading27">FIGURE 61.10.</A>



			</UL>



			<LI><A HREF="#Heading28">Handling Mail in Navigator</A>



			<UL>



				<LI><A HREF="#Heading29">FIGURE 61.11.</A>



				<LI><A HREF="#Heading30">FIGURE 61.12.</A>



			</UL>



			<LI><A HREF="#Heading31">Where to Get Mosaic for Linux</A>



			<LI><A HREF="#Heading32">TIP</A>



			<LI><A HREF="#Heading33">Using Mosaic</A>



			<LI><A HREF="#Heading34">The Icons in Navigator and Mosaic</A>



			<UL>



				<LI><A HREF="#Heading35">Some Common Buttons and Actions</A>



			</UL>



			<LI><A HREF="#Heading36">Setting Up SLIP Connections</A>



			<UL>



				<LI><A HREF="#Heading37">dip</A>



			</UL>



			<LI><A HREF="#Heading38">Listing 61.1. A sample dip script file.</A>



			<LI><A HREF="#Heading39">NOTE</A>



			<UL>



				<LI><A HREF="#Heading40">slattach</A>



			</UL>



			<LI><A HREF="#Heading41">Summary</A>



		</UL>



	</UL>



</UL>







<P>



<HR SIZE="4">







<H2 ALIGN="CENTER"><A NAME="Heading1<FONT COLOR="#000077">- 61 -</FONT></H2>



<H2 ALIGN="CENTER"><A NAME="Heading2<FONT COLOR="#000077">Using Browsers</FONT></H2>



<P><I>by Kamran Husain</I></P>



<P>IN THIS CHAPTER</P>







<UL>



	<LI>A Brief Introduction to Browsers



	<P>



	<LI>Getting Navigator for Linux



	<P>



	<LI>Getting Around



	<P>



	<LI>Help!



	<P>



	<LI>Selection of Preferences



	<P>



	<LI>Bookmarks



	<P>



	<LI>Directories Used



	<P>



	<LI>Reading News



	<P>



	<LI>Handling Mail in Navigator



	<P>



	<LI>Where to Get Mosaic for Linux



	<P>



	<LI>Using Mosaic



	<P>



	<LI>The Icons in Navigator and Mosaic



	<P>



	<LI>Setting Up SLIP Connections



</UL>







<P><BR>



This chapter is a brief introduction to Netscape and Mosaic. We will cover the following



topics in this chapter:







<UL>



	<LI>How to get and set up Netscape for your Linux machine.



	<P>



	<LI>How to get and set up Mosaic for your Linux machine.



	<P>



	<LI>How to configure a SLIP connection for dialup and dedicated lines using Linux.



</UL>







<H3 ALIGN="CENTER"><A NAME="Heading3<FONT COLOR="#000077">A Brief Introduction



to Browsers</FONT></H3>



<P>To access the services on the Web, you need a browser. A browser is an application



that knows how to interpret and display documents it finds on the Web. Documents



on the Web are encoded in the Hypertext Markup Language (HTML). Hypertext documents



contain special codes that tell the browser how to locate information on the Web.



How the browser interprets the codes is left as a local issue. Some browsers, such



as Lynx, ignore any requests for inline images; some older Mosaic browsers ignore



the interactive forms that a user can fill in while online. Newer versions of Netscape's



Navigator are great for handling images, entry forms, animated images, and programs



like those in scripting languages such as VBScript and JavaScript.</P>



<P>Any browser you work with must have the following features:







<UL>



	<LI>The capability to display plain text, HTML documents, and audio



	<P>



	<LI>The capability to display inline graphics and images



	<P>



	<LI>A reasonably customizable graphical user interface



	<P>



	<LI>The capability to track previous sites with lists in a History and Hotlist



	<P>



	<LI>The capability to find items via search commands within a document and over the



	Internet



	<P>



	<LI>Extendibility via third-party software items known as plug-ins



</UL>







<P>We will cover the Netscape Navigator and, briefly, the Mosaic browser from NCSA.



The emphasis in this chapter will be on Netscape because I think it is easier to



work with under Linux. If you are a die-hard fan of Mosaic, you will get enough information



from this chapter to be able to get and use it.



<H3 ALIGN="CENTER"><A NAME="Heading4<FONT COLOR="#000077">Getting Navigator



for Linux</FONT></H3>



<P>You need the following items to be able to run Netscape's Navigator on your Linux



machine: an Internet connection (serial or direct), about 10MB of disk space, 8MB



of RAM or better, and X Window running on your machine. Requirements for disk space



might be greater than what I have just quoted here because Navigator uses some disk



space for caching its files. More on that in a bit; let's get the program first.</P>



<P>The latest version of the Netscape Navigator, 3.01, is available free from the



ftp site at <TT>ftp.netscape.com</TT>. This is the directory to go to at <TT>ftp.netscape.com</TT>:</P>



<PRE><FONT COLOR="#0066FF">/pub/navigator/3.01/unix/



</FONT></PRE>



<P>You might find several versions of the Navigator software for different types



of UNIX systems. Get the latest file with the word &quot;linux&quot; in it. You will



most likely get the version that applies to &quot;unknown&quot; and &quot;x86.&quot;







<DL>



	<DT></DT>



</DL>











<DL>



	<DD>



<HR>



<A NAME="Heading5<FONT COLOR="#000077"><B>TIP: </B></FONT>You can try <TT>ftp5.netscape.com</TT>



	or <TT>ftp6.netscape.com</TT> if you get a very slow response from <TT>ftp.netscape.com</TT>.



	



<HR>







</DL>







<P>Use the string <TT>&quot;*linux*&quot;</TT> in the <TT>mget</TT> command. It's



about 2.33MB in a gzipped file, and it takes a some minutes to download, depending



on your connection. Here's an excerpt of a session:</P>



<PRE><FONT COLOR="#0066FF">ftp&gt; mget &quot;*linux*&quot;



mget netscape-v301-export.x86-unknown-linux-elf.tar.gz?y



200 PORT command successful.



150 Opening BINARY mode ... &lt;snip&gt; ... (2338294 bytes).



</FONT></PRE>



<P>After you get the file, you have to unzip it to get the distribution files, including



the <TT>README</TT> file. I prefer to rename the recently downloaded file to something



simple (<TT>myn.tar.gaz</TT>) to avoid goofy typing mistakes. Here are the commands



I used to unzip with the gunzip command and untar the distribution:</P>



<PRE><FONT COLOR="#0066FF">$ mv netscape-v301-export.x86-unknown-linux-elf.tar.gz myn.tar.gz



$ gunzip netscape-v301-export.x86-unknown-linux-elf.tar.gz



$ tar -xvf  netscape-v301-export.x86-unknown-linux-elf.tar



</FONT></PRE>



<P>It's a good idea to unzip the file in a directory by itself. This way, you know



which new files you are dealing with. Unzipping the file reveals a bigger tar file.



In the case of Navigator 3.01, the tar file was about 5.5MB, whereas the zipped file



was 2.3MB.</P>



<P>This is what the files in the 3.01 distribution look like (no doubt, later versions



will have different files, dates, and sizes):</P>



<PRE><FONT COLOR="#0066FF">$ ls



total 5385



-r--r--r--   1 khusain  users       12965 Oct 20 21:41 LICENSE



-r--r--r--   1 khusain  users      219640 Oct 20 21:38 Netscape.ad



-r--r--r--   1 khusain  users        9832 Oct 20 21:41 README



-r--r--r--   1 khusain  users        4674 Oct 18  1994 XKeysymDB



-r--r--r--   1 khusain  users      725156 Oct 20 21:41 java_301



-r-xr-xr-x   1 khusain  users        5464 Oct 20 21:33 movemail



drwxr-xr-x   2 khusain  users        1024 Oct 20 21:41 movemail-src



-r-xr-xr-x   1 khusain  users     4505716 Oct 20 21:41 netscape



</FONT></PRE>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -