[juneau-lug] Re: flyers and such
- From: Nels Tomlinson <nelstomlinson@xxxxxxx>
- To: juneau-lug@xxxxxxxxxxxxx
- Date: Thu, 12 Dec 2002 01:47:21 -0900
Here's try two: the latex source and the style file and script to put
the little pages on two big pages. Run latex
Dec.Meeting.Announcement.ltx, then the commands which it tells you to
run (divps and ./fold).
Nels
Nels Tomlinson wrote:
> Well, no flyers yet, but I did make up a leaflet for us.
>
> The quick reference stuff I grabbed from the web, and marked up/adapted
> a bit.
>
> The intro should be familiar; it's from the JLUG website, again with
> slight changes.
>
> Print it duplex, then fold it in thirds so the penguins are out.
>
> Nels
>
> Chuck Hakari wrote:
>
>
> >The 16th is fine by me also.
> >
> >Nels, are you going to put together the flyers this time, or should I
> >do it
> >again?
> >
> >Also, if anyone wants an "Official" JLUG name badge or button, let me
> >how you
> >want your name on it and I will bring it to the meeting.
> >
> >Chuck Hakari
> >
> >------------------------------------
> >This is the Juneau-LUG mailing list.
> >To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx
> >with the word unsubscribe in the subject header.
> >
>
>
>
> -- Binary/unsupported file stripped by Ecartis --
> -- Type: application/postscript
> -- File: Dec.Meeting.Announcement.folded.ps
>
>
>
> ------------------------------------
> This is the Juneau-LUG mailing list.
> To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx
> with the word unsubscribe in the subject header.
>
-- Attached file included as plaintext by Ecartis --
-- File: Dec.Meeting.Announcement.ltx
\documentclass[letterpaper,10pt]{leaflet}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage{graphics}
\usepackage{psfig}
\begin{document}
%\begin{figure}[htbp]
\psfig{file=penguin.eps,height=0.5in}
%\end{figure}
{\Large \bf Juneau Linux Users Group }
\section{Welcome to the Juneau Linux Users Group!}
\paragraph{Have you ever wondered what all those penguins were about?} Have you
got your hands on your first distribution and need some questions answered? Do
you have a broad-band internet connection that you need secured? We can help
answer questions you have about Linux and how to use it at home.
\paragraph{ Do you represent a small business or non-profit that needs to
stretch their computing budget?} We can help you learn how to implement
cost-effective solutions to many computing needs for general office use,
including interoperability with other well known operating systems. Internet
and web services can also be built securely and cheaply using Linux and other
free operating systems such as OpenBSD.
\paragraph{If you're a guru (or just know your way around your favorite
application),} the Juneau Linux User's Group is a local forum where you can
exchange ideas with other Linux users in Southeast Alaska. If you like, you can
help teach others how to use Linux at work and at home.
\section{Finding Us}
We can be found on the web at \verb|http://www.juneau-lug.org/|. Regardless of
your skill level or your interests, join in the discussion! Feel free to send
us an email at \verb|info@xxxxxxxxxxxxxx| with any questions you have. We also
have a mailing list you can join. Details are on the website.
\section{Meetings}
We usually meet once a month, usually on weekday evenings. The time for each
month's meeting is hashed out on the mailing list each month. The time, date
and location will be posted on the website, usually several weeks in advance.
Meetings usually include several small presentations. Some presentations are
advanced, but usually there is at least one suitable for Linux newbies. We are
always willing to answer questions!
\section{Linux Quick Reference}
\subsection{Getting Help}
\begin{description}
\item[apropos] string to get a list of programs apropos to ``string''.
\item[man] string to get the manual page for ``string''.
\end{description}
\subsection{Dealing With Files}
Many of these commands will operate recursively (e.g., on all files in a
directory) if used with the -R option, as in \verb|chmod 755 -R Mydirectory|.
\begin{description}
\item[ls] - get a file listin; use '-al' to get a long file listing that
includes hidden files and attributes.
\item[cd] directory - change directory to 'directory'.
\item[cp] path1 path2 - copies from 'path1' to 'path2'.
\item[mv] path1 path2 - moves or renames 'path1' to 'path2'.
\item[rm] filename - removes 'filename' (asks for confimation).
\item[rmdir] directory - removes the directory 'directory' (asks for
confimation).
\item[rm -rf] path - removes 'path' and everything that it contains
(recursively) without asking for confirmation (CAREFUL!).
\item[pushd] directory - pushes current directory onto the directory stack and
moves to 'directory'.
\item[popd] - pops a directory off of the directory stack and moves to it.
\item[touch] filename - creates the empty file 'filename'.
\item[mkdir] dirname - creates the directory 'dirname'.
\item[ln -s] path name - crease a symbolic link from ``name'' to some ``path''.
\item[chmod] [ugo+-rwx] path - change that access rules for the given ``path'',
which can be seen by using 'ls -al'. The options:
\begin{description}
\item[u] = user,
\item[g] = group,
\item[o] = other,
\item[+] enables,
\item[-] disables,
\item[r] = read,
\item[w] = write,
\item[x] = execute.
\end{description}
So, to allow read access to your group on the file foo.txt, type 'chmod g+r
foo.txt'.
\item[chown] user:group filename - Change the 'user' and 'group' ownership of a
file or direcetory; use -R for recursive.
\item[chgrp] group filename - Change 'group' ownership of a file or directory.
\item[mount] /floppy - mounts the floppy drive one /floppy. Similarly, mount
/cdrom mounts the cdrom.
\item[mount] -t udf /dev/cdrom /mnt/cdrom - Adaptec DirectCD uses a different
filesystem (UDF) and so cdroms cut with it need to be mounted differently. If
this is not done, the dreaded "DriveReady SeekComplete Error" happens.
umount /floppy - unmounts the floppy drive. Similarly, umount /cdrom mounts the
cdrom. Always do this before ejecting the disk media.
\item[ssh] - secure shell, a secure form of telnet; NEVER use telnet, because
it sends passwords out in the free and clear. Read more about ssh and how to
use it with keys and tunneling in the networking section, below.
sftp - secure ftp, a secure form of ftp; NEVER use regular ftp.
\item[tar] -xvf archive.tar - extracts files from the tar archive
'archive.tar'; use -zxvf if the archive ends in .tar.gz or .tgz to invoke the
gzip filter. To create a tar archive use -cvf, and to list its contents use
tvf; again, insert the z option if the gzip filter is to be used.
unzip archive.zip - extracts files from the zip archive 'archive.zip'; use the
corresponding 'zip' program to create archives.
\item[grep] pattern file - look for a 'pattern' in a given 'file' or files. Use
'-i' for case insensitivity, '-r' for directory recursion, '-n' to print out
the line numbers, and '-s' to suppress the error messages. For example, use
'grep -irns pattern *' to look for the pattern in any files in the current
directory and subdirectories.
\item[more] filename - views 'filename' in a terminal that allows you to page
down by pressing space. This is the Unix standard command, but you will prefer
\item[less] filename - views 'filename' in a terminal that allows you to scroll
up and down with the arrows; type "/" to search. Less is more!
\item[emacs] -nw filename - edits 'filename' in the terminal (type \verb|^x^s|
to save, and \verb|^x^c| to exit).
\item[cat] file1 file2 ... - concatenates files to stdout; use 'cat > out.txt'
to write what is typed to stdin into the file 'out.txt' (finish with a
\verb|^D| at the beginning of a line).
\item[diff] file1 file2 - prints differences between 'file1' and 'file2'
\item[ps2pdf] file - converts a postscript 'file' into pdf format.
pstoedit - a program that translates postscript (and pdf) to editable formats
such as tgif; e.g., to make the tgif file 'tgif.obj' from the postscript file
'file.ps', type: 'pstoedit -f tgif file.ps tgif.obj'.
\item[ps] - lists user processes in the current shell and gives the process
ids; 'ps -fu username' lists all processes owned by 'username'; 'ps -fe' lists
everyone's processes. The command \verb|ps aux | grep process-name| is often
useful.
\item[kill] processid - kills process with id 'processid'.
jobs - lists the jobs running in the shell.
\item[bg] - moves a suspended program into the background; type this
immediately after the keystroke \verb|^z|.
\item[fg] \# - moves job '\#' into the foreground.
\item[top] - lists processes in terms of cpu usage. Note: Top will report that
almost all available memory is 'used'. The memory is actually being employed as
a cache by the linux kernel and is released to user programs as needed.
uptime - gives the system uptime and load averages.
\item[host] - used to translate host names to IP addresses and vice versa; e.g.
'host validator.w3.org' and 'host 18.29.1.50'.
\item[crontab] (Crontab Demystified, How to use cron) - used to set up jobs
that should be executed on a schedule, whether the user is logged in or not.
Type 'crontab crontab.txt' to set up a cron job given 'crontab.txt' as the
configuration file. 'crontab -l' displays the current user's cron jobs. The
format for crontab.txt entries is 'mm hh dd MM day command' where day=0...6.
Use 'crontab -r' to remove the current user's cron jobs.
\item[cal] - prints a calendar
\end{description}
\subsection{Filesystem Information}
\begin{description}
\item[/etc/] - Configuration files and services/startup scripts
\item[/var/] - System log files. These are where you can start troubleshooting.
\item[/home/] - User personal directories. You can refer to yours' as
\verb|~/|, and to user Jane's as \verb|~/jane|
\item[/usr/] - Programs and files available for users. But use \verb|whereis
programname| to find a program if you know the name. Use \verb|apropos| if you
aren't sure about the name.
\item[/sbin/] - Root programs. Must be root to run these, some can do harm.
\item[/proc/] - Process information pseudo-filesystem. Lots of useful stuff
here. Try \verb|cat /proc/filesystems| to find out what filesystems your
kernel supports.
\end{description}
\section{Configuration Files}
\begin{description}
\item[/etc/apt/sources.list] - the configuration file for apt-get (Debian's
wonderful package manager.).
\item[/etc/lilo.conf] - the configuration file for the boot loader; don't
forget to run /sbin/lilo after changing lilo.conf.
\item[/etc/inittab] - defines the run-levels and respawning processes; the
run-levels are:
\begin{description}
\item[0] - halt (Do NOT set initdefault to this)
\item[1] - Single user mode
\item[2] - Multiuser, without NFS (The same as 3, if no networking)
\item[3] - Full multiuser mode
\item[4] - unused
\item[5] - X11
\item[6] - reboot (Do NOT set initdefault to this)
\end{description}
\item[/etc/rc#.d/] - directories with symbolic links to startup scripts,
depending on the run-level number #.
\item[/etc/init.d/] - directory where the startup scripts are located. Run the
scripts to see the various options. If you want to have your own startup
scripts, use one of these as a template and fill in for the options (portmap
will provide a good template; note that some scripts have extra options).
\item[/etc/fstab] - filesystem table; defines mounted filesystems. Here are
some example entries
\begin{description}
\item[/dev/hda6 /home ext3 defaults 1 2] - mounts /home partition as EXT3
filesystem
\item[10.0.0.2:/path /mnt/localpath nfs noauto] - allows manual mounting of
/path on a networked machine at address 10.0.0.2 to /mnt/localpath as an nfs
filesystem; note that /mnt/localpath must exist on the local machine.
\item[//hostName/path mount smbfs user,username=\% 0 0] - mounts a Windows
share at mount (e.g., mnt/smb) using SAMBA.
\end{description}
\item[/etc/exports] - list the directories to be exported to nfs; read man
exports to understand the entry format
\item[/etc/hosts] - matches up names with IP addresses; this file can be edits
to supply the mapping for small networks instead of using a DNS server.
\item[/etc/resolv.conf] - lists where all the DNS servers are
\item[/etc/hosts.allow] - if exists, defines who gets network access (including
nfs); default: everyone gets access
\item[/etc/hosts.deny] - if exists, defines who doesn't get network access
(including nfs)
\item[/etc/passwd] - file that lists users and associated them with a number
\item[/etc/shadow] - "shadow passwords", the file that contains the actual
passwords, encrypted and only accessible by root
\item[/etc/group] - list the groups and their members
\item[/etc/X11/XF86Config-4] - the configuration file for X (the display); used
to set monitor resolution and scan rates. This is for the latest version of
the X windowing system. The older version 3 used the file /etc/X11/XF86Config.
\item[/etc/services] - lists the port numbers and related services.
\item[/etc/profile] - the system-wide bash profile.
\end{description}
\psfig{file=penguin.eps,height=0.5in}
\section{Copyright \copyright 2002 Nels Tomlinson}
This document may be freely copied and distributed, provided that this
copyright notice is included unaltered on all copies.
%\end{centering}
\end{document}
-- Binary/unsupported file stripped by Ecartis --
-- Type: application/x-sh
-- File: fold.sh
-- Attached file included as plaintext by Ecartis --
-- File: leaflet.cls
%%
%% This is file `leaflet.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% leaflet.dtx (with options: `class')
%%
%% Copyright 1998 Juergen Schlegelmilch
%%
%% This program is provided under the terms of the
%% LaTeX Project Public License distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt.
%%
%% Author: Juergen Schlegelmilch
%% schlegel@xxxxxxxxxxxxxxxxxxxxxxxxx
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{leaflet}[1999/06/01 v0.3 document class leaflet]
\LoadClassWithOptions{article}
\newlength{\p@perwidth}
\setlength{\p@perwidth}{0.333333334\paperheight}
\newlength{\p@perheight}
\setlength{\p@perheight}{\paperwidth}
\RequirePackage{geometry}
\geometry{papersize={\p@perwidth,\p@perheight},
vmargin=10mm,hmargin=8mm,
noheadfoot,
marginparwidth=0mm,marginparsep=0mm}
\newcommand\customhead{}
\newcommand\customfoot{}
\newcommand\ps@leaflet{%
\def\@evenhead{%
\customhead\hfill}%
\def\@oddhead{%
\ifnum\c@page=\tw@
{\unitlength1mm
% set the fold mark at 8mm (left margin) + 91mm
\begin{picture}(0,0)\put(91,0){\rule{0.3mm}{0.3mm}}\end{picture}}%
\fi
\ifnum\c@page=7\ClassError{leaflet}{%
Too much text for leaflet}{%
The text you supplied fills more than six pages and will
therefore not fit onto a single leaflet. Try using smaller
fonts or reducing vertical space.}\fi
\customhead
\hfill}%
\def\@evenfoot{\customfoot\hfill}%
\let\@oddfoot\@evenfoot
}
\pagestyle{leaflet}
\sloppy
\setcounter{secnumdepth}{0}
\let\tempitemize=\itemize
\renewcommand\itemize{%
\setlength{\topsep}{0pt}%
\setlength{\partopsep}{0pt}%
\tempitemize
\setlength{\parskip}{0pt}%
\setlength{\parsep}{0pt}%
\setlength{\itemsep}{0pt}}
\let\tempenumerate=\enumerate
\renewcommand\enumerate{%
\setlength{\topsep}{0pt}%
\setlength{\partopsep}{0pt}%
\tempenumerate
\setlength{\parskip}{0pt}%
\setlength{\parsep}{0pt}%
\setlength{\itemsep}{0pt}}
\let\tempdescription=\description
\renewcommand\description{%
\setlength{\topsep}{0pt}%
\setlength{\partopsep}{0pt}%
\tempdescription
\setlength{\parskip}{0pt}%
\setlength{\parsep}{0pt}%
\setlength{\itemsep}{0pt}}
\setlength{\leftmargini}{1.2em}
\setlength{\leftmarginii}{1.6em}
\setlength{\leftmarginiii}{1.2em}
\setlength{\leftmarginiv}{1.2em}
\renewcommand\topfraction{0.7}
\renewcommand\bottomfraction{0.7}
\setlength{\textfloatsep}{10pt plus 4pt minus 3pt}
\renewcommand\section{%
\@startsection{section}{3}{\z@}%
{-2.75ex\@plus -1ex \@minus -.2ex}%
{0.2ex \@plus .1ex}%
{\normalfont\large\bfseries}}%
\renewcommand\subsection{%
\@startsection{subsection}{4}{\z@}%
{-0.75ex \@minus -.5ex}%
{0.2ex \@plus .1ex}%
{\normalfont\normalsize\bfseries}}%
\let\subsubsetion=\subsection
\renewcommand\paragraph{%
\@startsection{paragraph}{4}{\z@}%
{0.75ex \@plus1ex \@minus.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}
\renewcommand\subparagraph{%
\@startsection{paragraph}{4}{\z@}%
{0.2ex \@minus.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}
\let\part=\relax
\let\chapter=\relax
\AtEndDocument{%
\typeout{^^JDo not forget to
^^J dvips -o \jobname.ps \jobname.dvi
^^J fold.sh \jobname.ps \jobname.folded.ps^^J}}
\endinput
%%
%% End of file `leaflet.cls'.
------------------------------------
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the
word unsubscribe in the subject header.
Other related posts: