\documentclass[letterpaper,english]{article}
\nonstopmode
\akai
\usepackage{linuxdoc-sgml}
\usepackage{qwertz}
\usepackage{url}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[english]{babel}
\usepackage{epsfig}
\usepackage{null}
\def\addbibtoc{
\addcontentsline{toc}{section}{\numberline{\mbox{}}\relax\bibname}
}%end-preamble
\setcounter{page}{1}
\title{The Linux Public Web Browser mini-HOWTO}
\author{Donald B. Marti Jr., {\ttfamily dmarti@best.com}}
\date{v0.3, 5 January 1998}
\abstract{³o¥÷¤å¥óªº¥Øªº¬OÅý©Ò¦³¤H³£¥i¥H§Q¥Î¸Ó¥x¹q¸£³s¤Wºô¯¸, ¦ý·|­­¨î¥L­ÌªºÅv­­¥H¨¾¤î¥L­Ì§â¹q¸£ªº³]©w§Ë±o¶Ã¤C¤KÁV.}


\begin{document}
\maketitle
\tableofcontents

\section{ª©ÅvÁn©ú}

ª©Åv©Ò¦³ 1997 Donald B. Marti Jr.
³o¥÷¤å¥ó¦bLinux ¤å¥ó­pµeªº³W½d¤U¤¹³\³Q­«»s.

³o¥÷»¡©ú¤å¥ó²{¦b¥u¥]§t¦³ÃöNetscape Navigatorªº¸ê°T, ¦ý¬O§Ú­pµe¦b§Ú±o¨
¨ì¥²­nªº¸ê®Æ«á±N¨ä¥LÂsÄý¾¹ªº¸ê°T¥[¤J.¦pªG§A§Q¥Î³o¥÷¤å¥ó¦b¨ä¥Lªº
ÂsÄý¾¹¤W¹Á¸Õ¦¨¥\, ½ÐÅý§Úª¾¹D.


\section{Â²¤¶}

³o¥÷¤å¥óªº¥D­n¥Øªº¬OÅý¥ô¦ó¤H³£¥i§Q¥Î¸Ó¥x¹q¸£³s±µºô¯¸¦ý¬O·|¦³¾A·íªº
­­¨îÅý¥L­Ì¤£·|§â³]©w·dªº¤@¹ÎÁV.

³o¨Ç³]©w¥D­n·|³Q¥Î¦b®iÄý¤¤¨Ñ¥Á²³§K¶O¨Ï¥Îªº¹q¸£¤W, ¦ý¤]³\¤]¥i¥H¥Î¦b¥ô¦ó
¤@¥x¨Ñ¤j®a¨Ï¥Î, ¦ý§A¤£·Q«Ý¦b®ÇÃä¬ÝµÛ¥Lªº¹q¸£¤W­±.

¨Ì·Ó¥»¤å¥óªº»¡©ú¨Ó°µ, ¨Ã{\bfseries ¤£}·|Åý§Aªº¹q¸£µL°í¤£ºR


\section{¦b§A¶}©l¤§«e...}


\subsection{§A»Ý­n¤@­Ó¹Ï§Î¤¶­±ªºÂsÄý¾¹}

³o¥÷¤å¥ó°²©w§A¤w¸g¦³¤F¤@­Ó¹Ï§Î¤¶­±ªºÂsÄý¾¹¦b¨t²Î¤W­±°õ¦æ, ¨Ò¦p
Netscape Navigator.
§A¥²¶·¦³¨Ï¥Î¹Ï§Î¤¶­±ÂsÄý¾¹ªºÅv­­. ¦pªG§A­n§âNetscape Navigator¥Î
¦b°Ó·~¤W,§A¥i¥H¦VCaldera¤½¥qÁÊ¶R¨Ï¥ÎÅv.


\subsection{§A¥²¶·¥i¥H·s¼W¤@­Ó¨Ï¥ÎªÌ±b¸¹}

¦pªG§A¨S¦³¦¨¬°{\bfseries root}ªºÅv¤O, ½Ð­n¨D¨t²ÎºÞ²z­û·s¼W¤@­Ó
{\ttfamily guest} ±b¸¹, ¨Ã§â{\ttfamily guest}ªºhome¥Ø¿ýªº©Ò¦³Åv¥æµ¹§A.
¨Ã¸õ¨ì ``·s¼W©Î½s¿è¥H¤UªºÀÉ®×'' ³o­Ó¨BÆJ
(\ref{CreateEditHomeGuestFiles} {(¦b/home/guest¤¤·s¼W©Î½s¿è¥H¤UªºÀÉ®×)})
·í¥L©ÎªÌ¬O¦o§¹¦¨¤§«á.


\subsection{¦pªG§A­nªº¬O¤@¥x¨S¦³ºô¸ô³s½u, ¦ý­nÅý¤j²³ÂsÄý§A©Ò´£¨Ñªººô­¶¤º®eªº¹q¸£,
§A»Ý­n {\ttfamily httpd}}

¦pªG§A­nªº¬O¤@¥x¨S¦³ºô¸ô³s½u, ¦ý­nÅý¤j²³ÂsÄý§A©Ò´£¨Ñªººô­¶¤º®eªº¹q¸£,
§A¥²¶·¦³ {\ttfamily httpd} ¦b¨t²Î¤W°õ¦æ, ¥H¤Î§A©Ò­n´£¨Ñªº¤å¥ó.
¦pªG§A­nª¾¹D§A¨t²Îªº±¡ªp, ¿é¤J:
\begin{tscreen}
\begin{verbatim}
lynx -dump http://localhost/
\end{verbatim}
\end{tscreen}

§AÀ³¸Ó·|¬Ý¨ì§A³o¥x¹q¸£¤W­±©Ò³]©wªºhtml¤å¥ó


\section{·s¼W guest ±b¸¹\label{AddGuestAccount}}

¥H {\bfseries root} °õ¦æ {\ttfamily adduser} ¨Ó·s¼W¤@­Ó¥s°µ{\ttfamily guest}ªº±b¸¹.
µM«á¿é¤J
\begin{tscreen}
\begin{verbatim}
passwd guest
\end{verbatim}
\end{tscreen}

¨Ó³]©w{\ttfamily guest}ªº±K½X.
³Ì¦n±N³o­Ó±K½X³]ªºÂ²³æ¦n°O, ¨Ò¦p``{\ttfamily guest}''.
§A±N·|§i¶D¤j®a³o­Ó±K½X.
©Ò¥H§O§â¥L³]©wªº©M§A¦Û¤vªº±K½X¤@¼Ë.

µM«á§â {\ttfamily guest}ªºhome¥Ø¿ýªº©Ò¦³ÅvÂà²¾¨ì§A¨­¤W.
¿é¤J
\begin{tscreen}
\begin{verbatim}
chown me.mygroup /home/guest
\end{verbatim}
\end{tscreen}

±N``{\ttfamily me}''³o­Ó¦a¤è§ï¦¨§Aªº¨Ï¥ÎªÌ¦WºÙ, ¤Î§â``{\ttfamily mygroup}''³oÃä
§ï¦¨§Aªº¸s²Õ¦WºÙ.
(¦bRed Hat Linux¤W, ¤]¬O¤@¼Ëªº§@ªk, ´Nºâ¨C­Ó¨Ï¥ÎªÌ³£¦³¥L¦Û¤vªº¸s²Õ.)

§A²{¦b¥i¥HÂ÷¶}¨t²Î, ¨Ã±N¥H¤Uªº¨BÆJ¥H§A¦Û¤vªº±b¸¹§¹¦¨, ¦Ó¤£¬O{\bfseries root}.Á


\section{¦b {\ttfamily /home/guest}¤¤·s¼W©Î½s¿è¥H¤UªºÀÉ®×\label{CreateEditHomeGuestFiles}}


\subsection{ÀÉ®×¦WºÙ: {\ttfamily .bash\_login}}

\begin{tscreen}
\par
\addvspace{\medskipamount}
\nopagebreak\hrule
\begin{verbatim}
exec startx
\end{verbatim} 
\nopagebreak\hrule 
\addvspace{\medskipamount}
\end{tscreen}

³oªí¥Ü·í{\ttfamily guest} µn¤J¨t²Î,
shell±N·|¦Û°Ê±Ò°ÊX Window.


\subsection{ÀÉ®×¦WºÙ: {\ttfamily .Xclients}}

\begin{tscreen}
\par
\addvspace{\medskipamount}
\nopagebreak\hrule
\begin{verbatim}
netscape
\end{verbatim} 
\nopagebreak\hrule 
\addvspace{\medskipamount}
\end{tscreen}

³oªí¥Ü·íX Window±Ò°Ê,  {\ttfamily guest}¥u·|¦³¤@­ÓÂsÄý¾¹ªºµ{¦¡, ¦Ó¨S¦³
window manager. ¦pªG§A§ó³ßÅw¨ä¥LªºÂsÄý¾¹, ½Ð§â¥L´«¶i¨Ó.·

{\ttfamily .Xclients}³o­ÓÀÉ®×¥²¶·¯à³Q {\ttfamily guest} °õ¦æ.
¿é¤J:
\begin{tscreen}
\begin{verbatim}
chmod 755 /home/guest/.Xclients
\end{verbatim}
\end{tscreen}

¨Ó¿ì¨ì¥¦.¥


\subsection{ÀÉ®×¦WºÙ: {\ttfamily .xsession}}

\begin{tscreen}
\par
\addvspace{\medskipamount}
\nopagebreak\hrule
\begin{verbatim}
#!/bin/sh
netscape
\end{verbatim} 
\nopagebreak\hrule 
\addvspace{\medskipamount}
\end{tscreen}

¦pªG§A¥H {\ttfamily xdm}(1) ¨ÓÅý¤H­Ìµn¤J§Aªº¨t²Î, 
³o­ÓÀÉ®×¥i¥HÅýguest¦b¥¿±`µn¨t²Î«á°õ¦æÂsÄý¾¹
{\ttfamily .xsession} ³o­ÓÀÉ®×¤]¥²¶·¯à³Q {\ttfamily guest} °õ¦æ.
¿é¤J
\begin{tscreen}
\begin{verbatim}
chmod 755 /home/guest/.xsession
\end{verbatim}
\end{tscreen}

¨Ó¿ì¨ì¥¦.


\subsection{ÀÉ®×¦WºÙ: {\ttfamily .Xdefaults}}

\begin{tscreen}
\par
\addvspace{\medskipamount}
\nopagebreak\hrule
\begin{verbatim}
! ¨ú®ø drag-to-select.
*hysteresis:                            3000
! Åý¬Ý¹Lªº©M¨S¬Ý¹Lªº³sµ²Åã¥Ü¬Û¦PªºÃC¦â
*linkForeground:                        #0000EE
*vlinkForeground:                       #0000EE

Netscape.Navigator.geometry: =NETSCAPE_GEOMETRY

! ¨ú®ø¬Y¨ÇÁä½L«ü¥O.
*globalTranslations:

! ·Æ¹«±±¨î: Åý·Æ¹«¤W©Ò¦³ªº«öÁä°µ¦P¼Ëªº¥\¯à.
*drawingArea.translations:              #replace                        \
<Btn1Down>:                     ArmLink()                       \n\
<Btn2Down>:                     ArmLink()                       \n\
<Btn3Down>:                     ArmLink()                       \n\
~Shift<Btn1Up>:                 ActivateLink()                  \
                                DisarmLink()                    \n\
~Shift<Btn2Up>:                 ActivateLink()                  \
                                DisarmLink()                    \n\
~Shift<Btn3Up>:                 ActivateLink()                  \
                                DisarmLink()                    \n\
Shift<Btn1Up>:                  ActivateLink()                  \
                                DisarmLink()                    \n\
Shift<Btn2Up>:                  ActivateLink()                  \
                                DisarmLink()                    \n\
Shift<Btn3Up>:                  ActivateLink()                  \
                                DisarmLink()                    \n\
<Btn1Motion>:                   DisarmLinkIfMoved()             \n\
<Btn2Motion>:                   DisarmLinkIfMoved()             \n\
<Btn3Motion>:                   DisarmLinkIfMoved()             \n\
<Motion>:                       DescribeLink()                  \n\
\end{verbatim} 
\nopagebreak\hrule 
\addvspace{\medskipamount}
\end{tscreen}

³o­ÓÀÉ®×¨ú®ø°{Ã{ªº¼ÐÅÒ, drag-to-select, 
¥H¤Î¤@¨ÇÁä½L«ü¥O.
³oÀÉ®×¤]Åý¨C¤@­Ó·Æ¹«ªº«öÁä°µ¬Û¦Pªº¥\¯à,
¤]§â¥\¯àªíÁôÂÃ°_¨Ó, §â«ô³X¹L©M¨S«ô³X¹Lªº³sµ²Åã¥Ü¬Û¦PªºÃC¦â,
¥HÅý¨C­Ó«ô³XªÌ³£¥i¥H¬Ý¨ìº}«GªºÂÅ¦â³sµ²,
¦Ó¤£¬O¨ä¥L¤HÂI¨ú¹Lªºµµ¦â.

§A­n§â³oÀÉ®×¸Ì­±ªº {\ttfamily NETSCAPE\_GEOMETRY} ´«¦¨¹³³o¼Ë:
{\ttfamily XxY+0-0},

{\ttfamily X} ¥Nªí§A¿Ã¹õªº¤ô¥­¸ÑªR«×, ¦Ó{\ttfamily Y}¥Nªí¿Ã¹õªº««ª½¸ÑªR«×
¥[¤W {\ttfamily  32}.
³o·|ÅýNetscapeªº¥\¯àªí¶]¨ì¿Ã¹õ¤§¥~, ¦Ó¤£·|Åý¨Ï¥ÎªÌ¶Ã¨Ó.
Á|¨Ò¨Ó»¡, ¦pªG§Aªº¿Ã¹õ¸ÑªR«×¬O800x600,
geometryÀ³³]©w¦¨ {\ttfamily 800x632+0-0}.


\section{«Ø¥ß {\ttfamily guest} ªº {\ttfamily .netscape} ¥Ø¿ý}

¿é¤J:
\begin{tscreen}
\begin{verbatim}
mkdir /home/guest/.netscape
chmod 777 /home/guest/.netscape
\end{verbatim}
\end{tscreen}


«Ø¥ß {\ttfamily guest} ªº {\ttfamily .netscape} ¥Ø¿ý, ¨ÃÅý¥¦¥i¥H³Q¼g¤J




\section{¸Õ¸Õ¬Ý!}

Â÷½u, µM«á¥H{\ttfamily guest}­«·sµn¤J.


\section{§ïÅÜ³]©w}

¦]¬°§A¤£¯à¨Ï¥Î{\ttfamily guest}¨Ó¾Þ§@¿ï³æ,
©Ò¥H·í§A»Ý­n§ïÅÜguestªº³]©w®É,§A¥²¶·¤â°Ê½s¿è, 
©ÎªÌ¬O½s¿è§A¦Û¤vªº³]©wÀÉ, §â¥L½s¦¨§A©Ò·Q­nªº, µM«á¦A½Æ»s¤@¥÷µ¹{\ttfamily guest}

\end{document}
