197 lines
7.7 KiB
HTML
197 lines
7.7 KiB
HTML
<!-- MHonArc v2.5.0b2 -->
|
|
<!--X-Subject: Re: Some technical suggestions -->
|
|
<!--X-From-R13: pbt@vFvb@ <pbtavgvbaNovtsbbg.pbz> -->
|
|
<!--X-Date: Tue, 9 Nov 1999 17:24:00 -0500 (EST) -->
|
|
<!--X-Message-Id: Pine.LNX.3.96.991109220406.4133A-100000@Pingu.cognite.net -->
|
|
<!--X-Content-Type: text/plain -->
|
|
<!--X-Reference: 3828716C.B9600CE0@mail.nyx.net -->
|
|
<!--X-Head-End-->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
|
|
<html>
|
|
<head>
|
|
<title>Re: Some technical suggestions</title>
|
|
<link rev="made" href="mailto:cognition@bigfoot.com">
|
|
</head>
|
|
<body>
|
|
<!--X-Body-Begin-->
|
|
<!--X-User-Header-->
|
|
<!--X-User-Header-End-->
|
|
<!--X-TopPNI-->
|
|
<hr>
|
|
[<a href="msg00652.html">Date Prev</a>][<a href="msg00654.html">Date Next</a>][<a href="msg00650.html">Thread Prev</a>][<a href="msg00656.html">Thread Next</a>][<a href="maillist.html#00653">Date Index</a>][<a href="threads.html#00653">Thread Index</a>]
|
|
<!--X-TopPNI-End-->
|
|
<!--X-MsgBody-->
|
|
<!--X-Subject-Header-Begin-->
|
|
<h1>Re: Some technical suggestions</h1>
|
|
<hr>
|
|
<!--X-Subject-Header-End-->
|
|
<!--X-Head-of-Message-->
|
|
<ul>
|
|
<li><em>To</em>: Stein Gjoen <<A HREF="mailto:sgjoen@mail.nyx.net">sgjoen@mail.nyx.net</A>></li>
|
|
<li><em>Subject</em>: Re: Some technical suggestions</li>
|
|
<li><em>From</em>: cogNiTioN <<A HREF="mailto:cognition@bigfoot.com">cognition@bigfoot.com</A>></li>
|
|
<li><em>Date</em>: Tue, 9 Nov 1999 22:34:41 +0000 (GMT)</li>
|
|
<li><em>Cc</em>: <A HREF="mailto:ldp-discuss@lists.debian.org">ldp-discuss@lists.debian.org</A></li>
|
|
<li><em>In-reply-to</em>: <<a href="msg00650.html">3828716C.B9600CE0@mail.nyx.net</a>></li>
|
|
<li><em>Reply-to</em>: <A HREF="mailto:cognition@bigfoot.com">cognition@bigfoot.com</A></li>
|
|
<li><em>Resent-cc</em>: recipient list not shown: ;</li>
|
|
<li><em>Resent-date</em>: 9 Nov 1999 22:23:53 -0000</li>
|
|
<li><em>Resent-from</em>: <A HREF="mailto:ldp-discuss@lists.debian.org">ldp-discuss@lists.debian.org</A></li>
|
|
<li><em>Resent-message-id</em>: <HHGhQC.A.D1E.57JK4@murphy></li>
|
|
<li><em>Resent-sender</em>: <A HREF="mailto:ldp-discuss-request@lists.debian.org">ldp-discuss-request@lists.debian.org</A></li>
|
|
<li><em>Sender</em>: <A HREF="mailto:cognition@bigfoot.com">cognition@bigfoot.com</A></li>
|
|
</ul>
|
|
<!--X-Head-of-Message-End-->
|
|
<!--X-Head-Body-Sep-Begin-->
|
|
<hr>
|
|
<!--X-Head-Body-Sep-End-->
|
|
<!--X-Body-of-Message-->
|
|
<pre>
|
|
-----BEGIN PGP SIGNED MESSAGE-----
|
|
Hash: SHA1
|
|
|
|
On Tue, 9 Nov 1999, Stein Gjoen wrote:
|
|
|
|
> Documentation has to be installed too, perhaps adding a snity check
|
|
> to your program weould be an idea, so that if nothing is found in the
|
|
> expected places you get an informative error message. Debian, for
|
|
> instance, requires you to actually install the docs, in the relevant
|
|
> language.
|
|
|
|
sanity checks are always good. They'll be added. The more the better.
|
|
|
|
> It is possible but potentially hazardous. Remember that the package
|
|
> managers have a database of existing files, that is, files they know
|
|
> they installed. So when new files appear (say another chapter was
|
|
> added to a HOWTO) this is not listed in the database and the system
|
|
> ends up in an unknown state.
|
|
|
|
Hmm, I'm not sure how the packet managers work, so it might be hard not
|
|
breaking them, but I can certainly log everything my program does, and
|
|
create restorable backups.
|
|
|
|
Ok, I've thought about the update feature and decided upon this for the
|
|
program demo:
|
|
|
|
The update.txt file lists all pages of every howto in alphabetical order,
|
|
when that page changes, the date next to it gets updated. My program
|
|
downloads this file, compares it (using diff) with the locally stored one
|
|
and then downloads any files which have changed.
|
|
|
|
If a new page gets added, then it is simply added to the bottom of the
|
|
list. If a howto is discontinued (or merged, renamed, etc.), then the old
|
|
entry for the file should remain, but as above if there is a new document
|
|
it gets added to the bottom of the list.
|
|
|
|
In practice all this would take is a html copy of the HOWTOs sitting in a
|
|
web directory somewhere, updated when the masters on LDP get updated. When
|
|
it gets updated the update.txt file would also need updating. I don't
|
|
think this would be too much work, and am quite willing for cognite.net
|
|
(my domain) to be used for this. (the program checks the file @
|
|
<A HREF="http://www.cognite.net/linux/howto/update.txt">http://www.cognite.net/linux/howto/update.txt</A> and then downloads the files
|
|
from <A HREF="http://www.cognite.net/linux/howto/">http://www.cognite.net/linux/howto/</A>)
|
|
|
|
> For desktop use installing a LDP icon or button might do the
|
|
> trick. In Debian the documentation is available from the on screen
|
|
> menu system, rather deeply buried methinks.
|
|
|
|
A desktop icon is a good idea, but not one I'd have suggested, as I don't
|
|
run X.
|
|
|
|
> > Or we could look at it like the user who doesn't need help is the one who
|
|
> > knows everything, and if they know everything, they should be able to
|
|
> > manually edit the motd.
|
|
>
|
|
> This assumes single user machines and that is not always so.
|
|
>
|
|
> > Perhaps putting the line in the ~/.bashrc would be a better place.
|
|
>
|
|
> This is a far better solution.
|
|
|
|
That way it can be user specific.
|
|
|
|
> Another idea: use the fortune program to dispense LDP cookies. This
|
|
> conjures up some odd images... More seriously, similar things are
|
|
> in everyday use on certain other operating systems, "Tip of the day".
|
|
> Making a LDP cookie jar shouldn't be too hard.
|
|
|
|
Yep, I know what you mean. I'll see about intergrating something into my
|
|
prog.
|
|
|
|
> > I'd tar it in its current state, and post it, but, I'm at college, and the
|
|
> > prog isn't. So I'll sort it out tonight.
|
|
>
|
|
> I am looking forward to seeing this.
|
|
|
|
So'm I. ;)
|
|
|
|
I've got the keyword search and the update (mostly) done, the self config
|
|
is being worked on, but won't be finished tonight. I think I'll just tidy
|
|
the code, comment it, so you know what the hell is going on, tar it and
|
|
ftp it to my site within the hour (I guess).
|
|
|
|
cog
|
|
- -- ,------------------------------,
|
|
,==================| S H U N A N T I O N L I N E |=================,
|
|
| David M. Webster '------------------------------' (aka cogNiTioN) |
|
|
|===| I use Linux everyday to up my productivity - so up yours! |===|
|
|
|=================|-| PGP KeyID: 0x 45 FA C2 83 |-|=================|
|
|
| <cognition@bigfoot.com> |-|===========|-| <A HREF="http://www.cognite.net/">http://www.cognite.net/</A> |
|
|
`===========| I walk to the beat of a different drummer |==========='
|
|
|
|
-----BEGIN PGP SIGNATURE-----
|
|
Version: PGPfreeware 5.0i for non-commercial use
|
|
Charset: noconv
|
|
|
|
mAAoNKn
|
|
JWdHgmtYbrHivw1A/W+9FuSp
|
|
=BLUQ
|
|
-----END PGP SIGNATURE-----
|
|
|
|
|
|
--
|
|
To UNSUBSCRIBE, email to ldp-discuss-request@lists.debian.org
|
|
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|
|
|
</pre>
|
|
|
|
<!--X-Body-of-Message-End-->
|
|
<!--X-MsgBody-End-->
|
|
<!--X-Follow-Ups-->
|
|
<hr>
|
|
<!--X-Follow-Ups-End-->
|
|
<!--X-References-->
|
|
<ul><li><strong>References</strong>:
|
|
<ul>
|
|
<li><strong><a name="00650" href="msg00650.html">Re: Some technical suggestions</a></strong>
|
|
<ul><li><em>From:</em> Stein Gjoen <sgjoen@mail.nyx.net></li></ul></li>
|
|
</ul></li></ul>
|
|
<!--X-References-End-->
|
|
<!--X-BotPNI-->
|
|
<ul>
|
|
<li>Prev by Date:
|
|
<strong><a href="msg00652.html">Unidentified subject!</a></strong>
|
|
</li>
|
|
<li>Next by Date:
|
|
<strong><a href="msg00654.html">Re: Some technical suggestions</a></strong>
|
|
</li>
|
|
<li>Previous by thread:
|
|
<strong><a href="msg00650.html">Re: Some technical suggestions</a></strong>
|
|
</li>
|
|
<li>Next by thread:
|
|
<strong><a href="msg00656.html">Re: Some technical suggestions</a></strong>
|
|
</li>
|
|
<li>Index(es):
|
|
<ul>
|
|
<li><a href="maillist.html#00653"><strong>Date</strong></a></li>
|
|
<li><a href="threads.html#00653"><strong>Thread</strong></a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
<!--X-BotPNI-End-->
|
|
<!--X-User-Footer-->
|
|
<!--X-User-Footer-End-->
|
|
</body>
|
|
</html>
|