259 lines
8.0 KiB
HTML
259 lines
8.0 KiB
HTML
<!--startcut ======================================================= -->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<html><head>
|
|
<META NAME="generator" CONTENT="lgazmail v1.1preC">
|
|
<TITLE>The Answer Guy 33: Thanks for the pointer to uuencode sources.</TITLE>
|
|
<!-- ORIGINAL SUBJECT:
|
|
Dear answer guy..
|
|
JTD SUBTITLE:
|
|
|
|
-->
|
|
</head>
|
|
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#A000A0"
|
|
ALINK="#FF0000">
|
|
<H4>"Linux Gazette...<I>making Linux just a little more fun!</I>"
|
|
</H4>
|
|
<P> <hr> <P>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<H1 align="center"><A NAME="answer">
|
|
<img src="../../gx/dennis/qbubble.gif" alt="" border="0" align="middle">
|
|
<a href="../index.html">The Answer Guy</a>
|
|
<img src="../../gx/dennis/bbubble.gif" alt="" border="0" align="middle">
|
|
</A></H1>
|
|
<BR>
|
|
<H4 align="center">By James T. Dennis,
|
|
<a href="mailto:linux-questions-only@ssc.com">linux-questions-only@ssc.com</a>
|
|
<BR>Starshine Technical Services, <A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
|
|
</H4>
|
|
<p><hr><p>
|
|
<!--endcut ========================================================= -->
|
|
<H3><img src="../../gx/dennis/qbub.gif" alt="(?)"width="50" height="28"
|
|
align="left" border="0">Dear answer guy.. </H3>
|
|
<p><strong>From Josh Assing on 15 Sep 1998 </strong></p>
|
|
<!-- begin body -->
|
|
|
|
<p><strong>
|
|
Thank you very much!
|
|
<br>Cheers
|
|
<br>-josh
|
|
</strong></p>
|
|
|
|
|
|
<font color="navy"><em>
|
|
<p><strong>
|
|
I am a woeful windoze database programmer that must interface with
|
|
the almighty unix environment...
|
|
I am in search of source code (c is best) for uudecode/uuencode.
|
|
</p></strong>
|
|
</em></font>
|
|
|
|
|
|
<blockquote><img src="../../gx/dennis/bbub.gif" height="28" width="50"
|
|
alt="(!)" border="0"
|
|
>Any decent Linux CD will come with source code (mostly
|
|
in C) to all of the GNU software. You'll also find
|
|
it on any good Linux FTP repository --- such as
|
|
<A HREF="ftp://sunsite.unc.edu">ftp://sunsite.unc.edu</A> and <A HREF="ftp://tsx-11.mit.edu">ftp://tsx-11.mit.edu</A>.
|
|
</blockquote>
|
|
|
|
|
|
<blockquote>
|
|
Another good place to look for these sorts of things
|
|
is at the master repository of GNU software:
|
|
</blockquote>
|
|
|
|
<blockquote> <blockquote> <code>
|
|
<A HREF="ftp://prep.ai.mit.edu">ftp://prep.ai.mit.edu</A>
|
|
</code> </blockquote> </blockquote>
|
|
|
|
|
|
|
|
<blockquote>
|
|
... or at its principal mirror:
|
|
<code><A HREF="ftp://ftp.gnu.org">ftp://ftp.gnu.org</A></code>
|
|
</blockquote>
|
|
|
|
|
|
<blockquote>
|
|
... where it should be part of the "sharutils" package.
|
|
</blockquote>
|
|
|
|
|
|
<blockquote>
|
|
Also I think you should be able to find the sources
|
|
at the <A HREF="http://www.freebsd.org/">FreeBSD</A>,
|
|
<A HREF="http://www.netbsd.org/">NetBSD</A>, and
|
|
<A HREF="http://www.openbsd.org/">OpenBSD</A> sites:
|
|
</blockquote>
|
|
|
|
|
|
<blockquote>
|
|
<ul>
|
|
<li><A HREF="http://www.freebsd.org">http://www.freebsd.org</A>
|
|
<li><A HREF="http://www.net.org">http://www.net.org</A>
|
|
<li><A HREF="http://www.open.org">http://www.open.org</A>
|
|
</ul>
|
|
</blockquote>
|
|
|
|
|
|
|
|
<blockquote>
|
|
... respectively.
|
|
</blockquote>
|
|
|
|
|
|
<blockquote>
|
|
In general the best places to find any Linux software
|
|
(most of it is available in source form) are:
|
|
</blockquote>
|
|
|
|
<blockquote> <blockquote> <code>
|
|
<A HREF="http://www.freshmeat.net">http://www.freshmeat.net</A>
|
|
</code> </blockquote> </blockquote>
|
|
|
|
<blockquote>
|
|
and:
|
|
</blockquote>
|
|
|
|
<blockquote> <blockquote> <code>
|
|
<A HREF="http://lfw.linuxhq.com">http://lfw.linuxhq.com</A>
|
|
</code> </blockquote> </blockquote>
|
|
|
|
|
|
<blockquote>
|
|
Freshmeat is nice for keeping up on new and recent
|
|
package releases. It is updated daily and there are
|
|
usually about a dozen new packages or versions available
|
|
every day. Today is light --- there's only nine items
|
|
--- there were thirty one on the two previous days.
|
|
</blockquote>
|
|
|
|
|
|
<blockquote>
|
|
It gives a brief (one paragraph) description of each
|
|
package and a usually three links to "Download" it
|
|
or view its "HomePage" or "Appindex Record."
|
|
</blockquote>
|
|
|
|
|
|
<blockquote>
|
|
LFW (Linux FTP Watcher) is a forms based search engine
|
|
that indexes the top twenty or so Linux FTP sites.
|
|
</blockquote>
|
|
|
|
|
|
<blockquote>
|
|
The problem with requests to help find the source code
|
|
is that many of the most basic packages (the ones that
|
|
have been part of most Unix implementations forever) are
|
|
bundled together in a few "base" packages (like sharutils
|
|
for uuencode/uudecode).
|
|
</blockquote>
|
|
|
|
|
|
<blockquote>
|
|
Although I don't know where most of them are I think
|
|
the sources for commands like 'cp' and 'ls' are in binutils,
|
|
and for commands like 'cut' and 'tail' are in fileutils.
|
|
</blockquote>
|
|
|
|
|
|
<blockquote>
|
|
So, unfortunately, it can be a bit difficult to find the
|
|
source to a given package. Yggdrasil and some traditional
|
|
Unix flavors used to offer a "whence" command to point to
|
|
the sources for any command. However, the current crop
|
|
of distributions doesn't seem to offer this handy feature.
|
|
</blockquote>
|
|
|
|
|
|
<blockquote>
|
|
On RPM based distributions you could use a variation of
|
|
the RPM command to find out which package included a
|
|
given file like so:
|
|
</blockquote>
|
|
|
|
<blockquote> <blockquote> <code>
|
|
rpm -qf /usr/bin/uuencode
|
|
</code> </blockquote> </blockquote>
|
|
|
|
<blockquote>
|
|
... which reports sharutils-4.2-5 on my
|
|
<A HREF="http://www.suse.com/">S.u.S.E.</A> 5.3
|
|
system. Different distributions package these differently.
|
|
However, given that you could then look on your CD's or
|
|
on the FTP sites for a "sharutils-4.2-5.SRPM.rpm" or
|
|
a "sharutils-4.2-5.spm" (these being different naming
|
|
conventions for representing "source" RPM's).
|
|
</blockquote>
|
|
|
|
|
|
<blockquote>
|
|
You can read my back issues or look to
|
|
<A HREF="http://www.rpm.org">http://www.rpm.org</A>
|
|
to learn more about the RPM package management system
|
|
--- and a few searches should net you considerably
|
|
comparison and debate about its merits and faults relative
|
|
to the "tarball" (<A HREF="http://www.slackware.org/">Slackware</A> pkgadd)
|
|
and <A HREF="http://www.debian.org/">Debian</A> packaging
|
|
systems and formats.
|
|
</blockquote>
|
|
|
|
|
|
<p><strong><img src="../../gx/dennis/qbub.gif" height="28" width="50"
|
|
alt="(?)" border="0"
|
|
>I was directed to <a href="http://www.ssc.com/">www.ssc.com</a>; and then
|
|
to you... Hopefully; you can be of assistance..
|
|
<br>Thanks <IMG SRC="../../gx/dennis/smily.gif" ALT=":)" height="24" width="20"
|
|
align="middle">
|
|
<br>Cheers
|
|
<br>-josh
|
|
</strong>
|
|
|
|
<!-- end body -->
|
|
<!--startcut ======================================================= -->
|
|
<P> <hr> <P>
|
|
<H5 align="center"><a href="http://www.linuxgazette.com/copying.html"
|
|
>Copyright ©</a> 1998, James T. Dennis <BR>
|
|
Published in <I>Linux Gazette</I> Issue 33 October 1998</H5>
|
|
<P> <hr> <P>
|
|
<!--::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<table width="98%"><tr valign="center" align="center">
|
|
<td rowspan="3"><A HREF="../lg_answer33.html"><IMG
|
|
SRC="../../gx/dennis/answernew.gif"
|
|
ALT="[ Answer Guy Index ]"></A></td>
|
|
<td><A HREF="floppy.html">floppy</a>
|
|
<td><A HREF="autocad.html">autocad</a>
|
|
<td><A HREF="scsi.html">scsi</a>
|
|
<td><A HREF="samba_pdc.html">samba_pdc</a>
|
|
<td><A HREF="virthost.html">virthost</a>
|
|
</tr><tr valign="center" align="center">
|
|
<td><A HREF="emacs_cc.html">emacs_cc</a>
|
|
<td><A HREF="ipmasq.html">ipmasq</a>
|
|
<td><A HREF="tty.html">tty</a>
|
|
<td><A HREF="shuffle.html">shuffle</a>
|
|
<td><A HREF="connect.html">connect</a>
|
|
</tr><tr valign="center" align="center">
|
|
<td><A HREF="hostavail.html">hostavail</a>
|
|
<td><A HREF="desqview.html">desqview</a>
|
|
<td><A HREF="catch22.html">catch22</a>
|
|
<td><A HREF="thanks2.html">thanks2</a>
|
|
<td><A HREF="typo.html">typo</a>
|
|
</tr></table>
|
|
<P> <hr> <P>
|
|
<!--::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<A HREF="../index.html"><IMG SRC="../../gx/indexnew.gif"
|
|
ALT="[ Table Of Contents ]"></A>
|
|
<A HREF="../../index.html"><IMG SRC="../../gx/homenew.gif"
|
|
ALT="[ Front Page ]"></A>
|
|
<A HREF="../lg_bytes33.html"><IMG SRC="../../gx/back2.gif"
|
|
ALT="[ Previous Section ]"></A>
|
|
<A HREF="../vrenios.html"><IMG SRC="../../gx/fwd.gif"
|
|
ALT="[ Next Section ]"></A>
|
|
<!--::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
</body>
|
|
</html>
|
|
<!--endcut ========================================================= -->
|
|
|