1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>hsc - Questions And Answers</TITLE>
<LINK REV="owns" TITLE="Thomas Aglassinger" HREF="mailto:agi@giga.or.at">
<LINK REL="Next" HREF="source.html">
<LINK REL="Copyright" HREF="copy.html">
<LINK REL="Previous" HREF="usecases.html">
<META name="ROBOTS" content="NOINDEX, NOFOLLOW">
</HEAD>
<BODY>
<A HREF="index.html"><IMG SRC="image/main.gif" ALT="Contents" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<IMG SRC="image/noindex.gif" ALT="-----" ALIGN="middle" WIDTH="70" HEIGHT="16">
<A HREF="copy.html"><IMG SRC="image/copy.gif" ALT="Copyright" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<A HREF="index.html"><IMG SRC="image/back.gif" ALT="Up" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<A HREF="usecases.html"><IMG SRC="image/prev.gif" ALT="Previous" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<A HREF="source.html"><IMG SRC="image/next.gif" ALT="Next" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<HR>
<P ALIGN="right"><I>Feel like a blind man with a color tv<BR>Everything's fine but I just can't see</I><BR>
(Element of Crime, "Almost dead")
</P>
<H1>Questions And Answers</H1>
<P>This chapter provides a list of questions and answers which have come to
the mind of several people. Some of them are only necessary because many
users don't read this manual, some of them are not very serious,.. but anyway,
here's a list of them:</P>
<STRONG>Questions dealing with the archives</STRONG>
<UL>
<LI><A HREF="#lha">What about those strange <CODE>.lha</CODE> files?</A>
<LI><A HREF="#lha.corrupt">I've downloaded the <CODE>.lha</CODE>-archives using my WWW-Browser, but they seem to be corrupt?!</A>
</UL>
<STRONG>Questions about <KBD>hsc</KBD> and it's usage</STRONG>
<UL>
<LI><A HREF="#unknown"><KBD>hsc</KBD> doesn't know about the tag <CODE><XYZ></CODE> (the attribute <CODE>ZYX</CODE>), but I need this one!</A>
<LI><A HREF="#ignore"><KBD>hsc</KBD> tells me loads of warnings I don't care about! Is there a way to prevent it from doing this?</A>
<LI><A HREF="#pipe">I tried a <KBD>STATUS=line|verbose</KBD> in the CLI, and now can't find the <KBD>verbose</KBD> command?!</A>
<LI><A HREF="#tool">Somewhere in these manual You are talking about a tool called <KBD>make/weblint/..</KBD>. Where can I obtain it from?</A>
<LI><A HREF="#make">I have a problem with make: bla sülz fasel laber...</A>
<LI><A HREF="#slow">Why is <KBD>hsc</KBD> that slow?</A>
</UL>
<STRONG>Miscellaneous questions</STRONG>
<UL>
<LI><A HREF="#uri">Why do You call it URI? I thought it's URL (<EM>Universal Resource Locator</EM> or <EM>U R lost</EM>)?</A>
<LI><A HREF="#piss">But URI reminds me of pissing! Add a simple ``n'', and there we are!</A>
<LI><A HREF="#jerk">What are jerks?</A>
</UL>
<HR>
<P><A NAME="lha"><STRONG>Q:</STRONG></A> What about those strange <CODE>.lha</CODE> files?<BR>
<STRONG>A:</STRONG> <I>LHA</I> is the standard compression utility for AmigaOS.
A portable version of <I>lha</I> is available from
<A HREF="http://wuarchive.wustl.edu/~aminet/dirs/aminet/misc/unix/lha_1_00.tar.Z">aminet:misc/unix/lha_1_00.tar.Z</A>.</P>
<P><A NAME="lha.corrupt"><STRONG>Q:</STRONG></A> I've downloaded the <CODE>.lha</CODE>-archives using my WWW-Browser, but they seem to be corrupt?!<BR>
<STRONG>A:</STRONG> Seems that your browser has no MIME-type configured for
<CODE>.lha</CODE>. Look up the manual of your browser how to configure
MIME-types.</P>
<HR>
<P><A NAME="unknown"><STRONG>Q:</STRONG></A> <KBD>hsc</KBD> doesn't know about the tag <CODE><XYZ></CODE> (the attribute <CODE>ZYX</CODE>), but I need this one!<BR>
<STRONG>A:</STRONG> Read the chapter about
<A HREF="features/prefs.html">Syntax definition</A>
and how to extend it.</P>
<P><A NAME="ignore"><STRONG>Q:</STRONG></A> <KBD>hsc</KBD> tells me loads of warnings I don't care about! Is there a way to prevent it from doing this?<BR>
<STRONG>A:</STRONG> All non-error messages can be suppressed adding a
simple <KBD>IGNORE=<I>message_id</I></KBD> to the call used to
invoke <KBD>hsc</KBD>. Take a look at the chapter about
<A HREF="options.html#ignore">Options and switches</A> to find out
more.</P>
<P><A NAME="pipe"><STRONG>Q:</STRONG></A> I tried a <KBD>STATUS=line|verbose</KBD> in the CLI, and now can't find the <KBD>verbose</KBD> command?!<BR>
<STRONG>A:</STRONG> The vertical bar (``<CODE>|</CODE>'') is commonly used in several CLIs to "pipe" the output of
one program to another as input. Not under AmigaOS (at least not without
a patch), which is no real lack as it provides superior concepts like
ARexx. So that's the reason why I didn't care about this.</P>
<P>If you want to use this character inside arguments (like for
<KBD>STATUS</KBD>) in such a CLI, you will have to quote the value,
for example like <KBD>STATUS="line|verbose"</KBD>.</P>
<P><A NAME="tool"><STRONG>Q:</STRONG></A> Somewhere in these manual You are talking about a tool called <KBD>make/weblint/..</KBD>. Where can I obtain it from?<BR>
<STRONG>A:</STRONG> All tools mentioned within these documents should be denoted
in the chapter about
<A HREF="related.html">Related stuff</A>
(if not, let me know). Normally I only mention the
version for AmigaOS, but the archives or <CODE>ReadMe</CODE>s
usually include some notes where to look for other systems.</P>
<P><A NAME="make"><STRONG>Q:</STRONG></A> I have a problem with make: bla sülz fasel laber...<BR>
<STRONG>A:</STRONG> Refer to the manual of <KBD>make</KBD>. Make sure your <KBD>make</KBD> supports
implicit rules and conditionals as described within these documents. Make
sure your editor does not replace TABs by blanks (use <KBD>memacs</KBD>,
which came with your Workbench distribution, if you are not sure).
<P><A NAME="slow"><STRONG>Q:</STRONG></A> Why is <KBD>hsc</KBD> that slow?<BR>
<STRONG>A:</STRONG> One reason is, that <KBD>hsc</KBD> handles (nearly) all resources dynamically
(<STRONG>Technical note</STRONG>: That means, it often calls <CODE>malloc()</CODE> and
<CODE>free()</CODE>, which are known to be quite slow).</P>
<P>Another, quite embarrassing, reason is, that most of these resources are kept
in linked lists. And therefor, if <KBD>hsc</KBD> has to look for something, it
sequentially searches these list. Shame on me, I should use some sort of
balanced binary tree for such things. But the problem with balanced tree is:
though there are lots of sources around, most of them are perverted
``real'' C-sources perpetrated by some brain-dead Unix-fossils, ignoring
the fact that memory can run out or that there is a "-Wall" option in most
compilers; some of these sources also date back to 1863, when no one even
pretended there is a language definition for <CITE>C</CITE>. Currently I'm too
lazy to write (and, even more work, test) a balanced tree myself. Maybe in
another life...</P>
<HR>
<P><A NAME="uri"><STRONG>Q:</STRONG></A> Why do You call it URI? I thought it's URL (<EM>Universal Resource Locator</EM> or <EM>U R lost</EM>)?<BR>
<STRONG>A:</STRONG> Ok, put a finger into your mouth and try to reach as far inside
as possible. After some specific point, you will empty your stomach.
And what do you say then? Exactly, ``<STRONG>URL</STRONG>''! So the main
reason why I do not like the term URL is because it always reminds me
of puking.</P>
Additionally, the Internet-Draft for HTML 2.0, June 16, 1995, tells
you:
<PRE>
URI
A Universal Resource Identifier is a formatted string
that serves as an identifier for a resource, typically
on the Internet. URIs are used in HTML to identify the
destination of hyperlinks. URIs in common practice
include Uniform Resource Locators (URLs)[URL] and
Relative URLs [RELURL].
</PRE>
And one of the users of <KBD>hsc</KBD> submitted this interpretation to me:
<PRE>
To me it seems:
URI = URL and RELURL
URL = "http://www.intercom.no/~XXXXXX/index.html" - always the same doc
RELURL = "docs/about.html" - relative to which dir/machine you are on
</PRE>
<P>Anyway, I really like that term URI a lot more and I've never really
understood what's the difference between URL and URI.
But who cares anyway?</P>
<P><A NAME="piss"><STRONG>Q:</STRONG></A> But URI reminds me of pissing! Add a simple ``n'', and there we are!<BR>
<STRONG>A:</STRONG> ..which I personally prefer to puking. Certainly a matter
of taste.</P>
<P><A NAME="jerk"><STRONG>Q:</STRONG></A> What are jerks?<BR>
<STRONG>A:</STRONG> Jerks are persons suffered by a well-known epidemic called
<EM>Netscapissm</EM>. Their sources contain sections like
<PRE>
<CODE><BODY BGCOLOR=#123456></CODE>
<CODE><BLINK></CODE>Click here!<CODE></BLINK></CODE>
</PRE>
<P>But, not all jerks became jerks because they like to be a jerk. Very often,
jerks are forced to use code as seen above by their employee. In this case,
they should be refered to as ``prostitutes''.</P>
</BODY></HTML>
|