File: lg_tips71.html

package info (click to toggle)
lg-issue71 1-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,104 kB
  • ctags: 218
  • sloc: perl: 89; makefile: 58; sh: 45; tcl: 14
file content (627 lines) | stat: -rw-r--r-- 24,761 bytes parent folder | download
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
<!--startcut ======================================================= -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<META NAME="generator" CONTENT="lgazmail v1.3F.e">
<TITLE>More 2 Cent Tips & Tricks LG #71</TITLE></HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
	LINK="#3366FF" VLINK="#A000A0">
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<P> <hr>
<CENTER>
<!-- *** BEGIN navbar *** -->
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_answer71.html"><IMG ALT="[ Prev ]" SRC="../gx/navbar/prev.jpg" WIDTH="16" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="lg_toc71.html"><IMG ALT="[ Table of Contents ]" SRC="../gx/navbar/toc.jpg" WIDTH="220" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../lg_frontpage.html"><IMG ALT="[ Front Page ]" SRC="../gx/navbar/frontpage.jpg" WIDTH="137" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="../lg_faq.html"><IMG ALT="[ FAQ ]" SRC="./../gx/navbar/faq.jpg"WIDTH="62" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="arndt.html"><IMG ALT="[ Next ]" SRC="../gx/navbar/next.jpg" WIDTH="15" HEIGHT="45" BORDER="0" ALIGN="bottom"  ></A><IMG ALT="" SRC="../gx/navbar/right.jpg" WIDTH="15" HEIGHT="45" ALIGN="bottom">
<!-- *** END navbar *** -->
</CENTER>
</p>
<P> <hr> <P>
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<P>
<CENTER>
<!-- *** BEGIN navbar *** -->
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_answer71.html"><IMG ALT="[ Prev ]" SRC="../gx/navbar/prev.jpg" WIDTH="16" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="lg_toc71.html"><IMG ALT="[ Table of Contents ]" SRC="../gx/navbar/toc.jpg" WIDTH="220" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../lg_frontpage.html"><IMG ALT="[ Front Page ]" SRC="../gx/navbar/frontpage.jpg" WIDTH="137" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="../lg_faq.html"><IMG ALT="[ FAQ ]" SRC="./../gx/navbar/faq.jpg"WIDTH="62" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="arndt.html"><IMG ALT="[ Next ]" SRC="../gx/navbar/next.jpg" WIDTH="15" HEIGHT="45" BORDER="0" ALIGN="bottom"  ></A><IMG ALT="" SRC="../gx/navbar/right.jpg" WIDTH="15" HEIGHT="45" ALIGN="bottom">
<!-- *** END navbar *** -->
</CENTER>
</p>
<!-- QUICK TIPS SECTION ================================  -->
<!--  endcut ======================================================= -->
<center>
<H1><A NAME="tips"><IMG ALIGN=MIDDLE ALT="" SRC="../gx/twocent.jpg">
More 2&cent; Tips!</A></H1> <BR>
<!-- BEGIN tips -->

Send Linux Tips and Tricks to <A HREF="mailto:linux-questions-only@ssc.com">linux-questions-only@ssc.com</A></center>
</center>
<UL>
<!-- index_text begins -->
<li>Tech tips from
	<A HREF="http://noframes.linuxjournal.com/subscribe/lja-sub.html"
		><I>Linux Journal's</I> Weekly News Notes</A>
	<ul>
	<li><A HREF="#tips/0a">Private domains</a>
	<li><A HREF="#tips/0b">On-line dictionary</a>
	<li><A HREF="#tips/0c">Telnet via http</a>
	<li><A HREF="#tips/0d">Changing the title bar on an xterm</a>
	<li><A HREF="#tips/0e">Running BIND as non-root</a>
	<li><A HREF="#tips/0f">HTML Tidy</a>
	<li><A HREF="#tips/0g">Moving Internet services among servers</a>
	</ul>
<li><A HREF="#tips/1"
	><strong>sendmail 2c TIP * 2</strong></a>
<li><A HREF="#tips/2"
	><strong>About Converting Image Files</strong></a>
<li><A HREF="#tips/3"
	><strong>While in hack mode...</strong></a>
<li><A HREF="#tips/4"
	><strong>xshowrgb (xcolorsel replacement)</strong></a>
<li><A HREF="#tips/5"
	><strong>re: kernel compilation error in issue 70</strong></a>
<li><A HREF="#tips/6"
	><strong>Tarpit</strong></a>
<li><A HREF="#tips/7"
	><strong>Monitoring log files in real time</strong></a>
<li><A HREF="#tips/8"
	><strong>HSP Micromodem</strong></a>
<li><A HREF="#tips/9"
	><strong>Query about Makefile</strong></a>
<li><A HREF="#tips/10"
	><strong>Re: linux signwriting programs</strong></a>
<!-- index_text ends -->
</UL>
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/0"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">LJ Tech Tips</FONT></H3>
September 2001

<h4 align="center"><a name="tips/0a">Private domains</a></h4>
<P>
If you give an example hostname in documentation or as part of your
answer in an on-line forum, use one of the safe domains listed in RFC
2606. example.com, example.net and example.org are not assigned to
anyone, so you can safely use them in examples without someone's
actual server getting slammed if a reader takes you literally.
</P>
<HR width="10%" align="center">
<h4 align="center"><a name="tips/0b">On-line dictionary</a></h4>
<P>
When someone says you're "meretricious", that's a compliment, right?
Not necessarily. Save yourself a trip to the library with the
easy-to-use dict utility by Rik Faith, available on the dict.org web
site:
<A HREF="http://www.dict.org/links.html"
	>http://www.dict.org/links.html</A>
</P>
<P>
The Dictionary Server Protocol is RFC2229
</P>
<P><DL><DT>
Or use Merriam-Webster's dictionary:
<DD><A HREF="http://www.m-w.com"
	>http://www.m-w.com</A>
</DL></P>
<HR width="10%" align="center">
<h4 align="center"><a name="tips/0c">Telnet via http</a></h4>
<P>
If you can only do HTTP from work and want to send resums from your
shell account, check out GNU httptunnel. It encapsulates any TCP
connection in an HTTP connection, so it will work through an
application-level proxy.
</P>
<P>
(PPP over ssh over httptunnel is left as an exercise for those readers
who really want to give the corporate security pigs the finger.)
</P>
<P><DL><DT>
You can get more information from Nocrew.org:
<DD><A HREF="http://www.nocrew.org/software/httptunnel.html"
	>http://www.nocrew.org/software/httptunnel.html</A>
</DL></P>
<P><DL><DT>
or from GNU.org:
<DD><A HREF="http://www.gnu.org/directory/httptunnel.html"
	>http://www.gnu.org/directory/httptunnel.html</A>
</DL></P>
<HR width="10%" align="center">
<h4 align="center"><a name="tips/0d">Changing the title bar on an xterm</a></h4>
<P>
"xterm" isn't a very helpful window bar title for an xterm. You can
put extra information in the title bar, however, with escape
sequences. For example, this repeats your shell prompt both in the
title bar and the command line:
</P>
<P><BLOCKQuote>
export PS1="\[\033]0;$PS1\007\]$PS1"
</BLOCKQuote></P>
<P><DL><DT>
For more xterm title bar customization, see the Bash Prompt HOWTO by Giles Orr:
<DD><A HREF="http://www.shelluser.net/~giles/bashprompt/howto/xterm-title-bar-manipulations.html"
	>http://www.shelluser.net/~giles/bashprompt/howto/xterm-title-bar-manipulations.html</A>
</DL></P>
<HR width="10%" align="center">
<h4 align="center"><a name="tips/0e">Running BIND as non-root</a></h4>
<P>
One of the main rules of security is "Don't run anything as root that
you don't have to." To run BIND as a non-root user, first create a
user and group "named", then add the -u (user) and -g (group) options
to the init script for BIND.
</P>
<P>
On some distributions the init script is called "bind" and on others
it's called "named".
</P>
<P>
For example, in <A HREF="http://www.debian.org/">Debian</A>, change the "start-stop-daemon" line in
<TT>/etc/init.d/bind</TT> to:
</P>
<P><CODE>
start-stop-daemon --start --quiet --exec /usr/sbin/named -- -g named -u named
</CODE></P>
<HR width="10%" align="center">
<h4 align="center"><a name="tips/0f">HTML Tidy</h4>
<P>
Got old web pages that are so messy you just stick a couple of extra
&lt;/table&gt; tags on the end and hope for the best? Try HTML Tidy, the
pretty-printer for HTML, available from the HTML Tidy web site:
<A HREF="http://www.w3.org/People/Raggett/tidy"
	>http://www.w3.org/People/Raggett/tidy</A> or your favorite Linux packages
site.
</P>
<P>
HTML Tidy fixes common HTML mistakes and puts everything in an
easy-to-edit format. The author claims it does a good job of stripping
excess markup from Microsoft Word documents saved as HTML, too.
</P>
<HR width="10%" align="center">
<h4 align="center"><a name="tips/0g">Moving Internet services 
				among servers</a></h4>
<P>
To keep the flexibility of moving services from one system to another
without reconfiguring all the clients, it's a good idea to set up
CNAME records in your DNS. Some good examples are "pop", "smtp",
"news", "shell" and "webproxy"--that way you can move the outgoing
mail server or the Squid server to its own host without having to
reconfigure all the clients.
</P>
<P>
But with the increasing number of mobile users, don't make the mistake
of, for example, setting client software to only use "smtp" and "pop"
for their mail. Fully qualify the domain name, so that when they take
their laptops to the leetconference.com network, they don't end up
trying to send their mail through smtp.leetconference.com by mistake,
and get it bounced back for attempted spamming. Configure client
software for CNAMEs like smtp.internal.example.com.
</P>

<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/1"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">(sendmail 2c TIP) * 2</FONT></H3>
Thu, 13 Sep 2001 18:50:56 -0700
<BR>Guy Milliron (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2071%5D%202c%20Tips%20%231">The Answer Gang</a>)

<P>
2c TIP:  Sendmail ignores everything after a plus symbol in a
username field of an email address.  Hence if while cruisin the Wild
Wide Waste, you come across something that needs your email
address, you and put in <B>USER+comment@domain.com</B>    When
you get mail/UCE/Spam to that address, you'll know who sold it, or
put it on a web page and a spider ran across it.  Even works on
webpages when you want to put a "Mail Me" link.  At least you
know a spider harvested your address.
</P>
<P>
Which leads into another 2c TIP.  I use <TT>/etc/aliases</TT> file to control
my mail.  Like I could alias "fubar" to my normal email account
"guy". If for some reason I get a lot of spam from that email
address "fubar" - I would just delete the alias "fubar" from the file,
and the "account" is gone, but my normal email address is intact
for my friends to use.
</P>
<P>
I do this with my clients that I host for.  I inform them of the
benefits of aliasing, and then offer each account they have up to 3
aliases.
</P>
<P>
<EM>Smile</EM>
<br>--
<br>Guy Milliron
</P>

<!-- sig -->


<!-- end 1 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/2"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">A 2 Cent About Converting Image Files</FONT></H3>
Sat, 8 Sep 2001 18:04:03 -0500
<BR>Chris Gianakopoulos (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2071%5D%202c%20Tips%20%232">The Answer Gang</a>)

<P>
Hello Answer Gang,
Sometime this week, I noticed that somebody was asking about how to
automating the Gimp so that it could convert image file formats from one
format into another from the shell command line.
</P>
<P>
I cannot remember who it was, because I lost the email, thus, I'll post
this message and hope that the person will see my posting.
</P>
<P>
The ImageMagick tools will do the trick.  They have a utility called
"convert" that can do the necessary conversions from the command line.
</P>
<P>
I must give credit to the author of the article.  Her name is Katja
Socher, and the URL is
<A HREF="http://www.linuxfocus.org/English/July2001/article211.shtml"
	>http://www.linuxfocus.org/English/July2001/article211.shtml</A>.
   Her article is entitled "Do magic with images on the shell".  She
shows all kinds of cool things that can be done with ImageMagick.
</P>
<P>
I just stumbled on the article, and by coincidence, I was also trying to
find a tool to convert images from one format into another.  Of
ImageMagick can do much more than convert images.
</P>
<P>
Chris Gianakopoulos
</P>

<!-- sig -->


<!-- end 2 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/3"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">While in hack mode...</FONT></H3>
Sat, 15 Sep 2001 15:28:55 +0000
<BR>Ben Okopnik (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2071%5D%202c%20Tips%20%233">The Answer Gang</a>)


<P>
Back in LG#60, one of our readers ("Roy") posted a little Tcl/Tk script
to TAG - in effect, this thing pops up a little 'sticky note' with a
message, and goes away when it's clicked. I saved it, and put it to use
occasionally - it's a rather useful toy. A few minutes ago, however,
I happened to glance at the code, and noticed that there was a "dead"
section in there, code that was supposed to execute but didn't. So,
having fixed it and added a usage message, here's the 'New and Improved'
version of the script I called "3m" for semi-obvious reasons:
</P>
<p align="center">see attached 
<a href="misc/tips/sm.tcl.txt">misc/tips/sm.tcl.txt</a></p>

<P>
Contrary to the original author's statement, "funny characters" (shell
metacharacters) can indeed be used in the message; simply enclose the
entire message in single quotes.
</P>
<P><CODE>
# This displays the message and saves it with a timestamp
<BR>3m - Lunch with Liana, 1:00-2:00pm Sunday &amp;
</CODE></P>
<P><CODE>
# Oh-oh - here come those funny characters!
<BR>3m 'Watch out for <EM>Larry</EM>, &amp;Moe&amp;, and %Curly%!!!' &amp;
</CODE></P>
<P>
Tcl/Tk will simply display the quoted text enclosed in curly braces.
Also, note the (unquoted) '&amp;' at the end of the line - this puts
the process in the background, and allows you to continue using your
xterm... perhaps to launch more 'sticky notes'. 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">
</P>

<!-- end 3 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/4"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">xshowrgb (xcolorsel replacement)</FONT></H3>
Mon, 17 Sep 2001 15:52:11 +1200 (NZST)
<BR>Ryurick M. Hristev (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2071%5D%202c%20Tips%20%234">r.hristev from phys.canterbury.ac.nz</a>)

<P>
Hello,
</P>
<P>
For your 2c Tips page:
</P>
<P><BLOCKQuote>
Attached is an perl script as a xcolorsel replacement
(xcolorsel doesn't work on X11R6).
</BLOCKQuote></P>
<P>
Require the perl-Tk package
(RedHat users may find it on the Developer Module Archive disk).
</P>

<p align="center">see attached 
<a href="misc/tips/xshowrgb.perl-tk.txt">misc/tips/xshowrgb.perl-tk.txt</a></p>
<P>
Cheers,
<br>--
<br>Ryurick M. Hristev
</P>

<p><em>I usually use xcolors or gcolorsel, myself.  With the caveats that 
xcolors creates a <b>huge</b> window and gcolorsel requires GNOME, they're 
enough for me to get a quick eyeball on the named color I want to use.  
-- Heather</em></p>

<!-- end 4 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/5"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">re: kernel compilation error in issue 70</FONT></H3>
Tue, 11 Sep 2001 00:12:55 -0400
<BR>Kenneth Veith (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2071%5D%202c%20Tips%20%235">kencv from coil.com</a>)

<P>
Hi,
</P>
<P>
I ran into similar problems. The following, from RedHat's
site, fixed the problem for me.
</P>
<h4>
7.1 Compiling a kernel from source in <A HREF="http://www.redhat.com/">Red Hat</A> Linux 7
</h4>
<P>
For various reasons, gcc is no longer able to compile the kernel from
source because it uses the 2.96 version of the GNU C
Compiler. However, it is still easy to compile your kernel, as version
2.91.66 of the egcs C compiler has been included with the
distribution. Please note that the details involved with compiling a
kernel are not covered here. For more information please read
the Linux Kernel HOWTO at
<A HREF="http://www.redhat.com/mirrors/LDP/HOWTO/Kernel-HOWTO.html"
	>http://www.redhat.com/mirrors/LDP/HOWTO/Kernel-HOWTO.html</A>. This document
is assuming
you have a basic grasp of what is necessary to compile a kernel and
simply cannot get the @$&amp;%@$@*% thing to compile in Red
Hat Linux 7. This information only applies to pristine source,
downloaded from a site such as kernel.org, as the changes necessary
to compile have already been made to the source from the
kernel-source-2.2.16-22.i386.rpm package.
</P>
<P>
After downloading and extracting the source in <TT>/usr/src</TT>, cd
to/usr/src/linux and open the Makefile in your favorite editor. You will
need to look for a line similar to this:
</P>
<Pre>
CC      =$(CROSS_COMPILE)gcc -D__KERNEL__ -I$(HPATH)
</Pre>
<P>
This line specifies which C compiler to use to build the kernel. It
should be changed to:
</P>
<Pre>
CC      =$(CROSS_COMPILE)kgcc -D__KERNEL__ -I$(HPATH)
</Pre>
<P>
for Red Hat Linux 7. The kgcc compiler is egcs 2.91.66. From here you
can proceed with the typical compiling steps.
</P>
<DL><DT>
The url for this is
<DD><A HREF="http://www.redhat.com/support/docs/gotchas/7.0/gotchas-7-7.html#ss7.1"
	>http://www.redhat.com/support/docs/gotchas/7.0/gotchas-7-7.html#ss7.1</A>
</DL>
<P>
Hope this helps.
<br>Kenneth Veith
</P>

<!-- end 5 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/6"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Tarpit</FONT></H3>
Thu, 20 Sep 2001 11:03:21 -0700
<BR>Mike Orr (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2071%5D%202c%20Tips%20%236"><em>LG</em> Editor</a>)

<P>
Here's a tar pit program that sits on unused IP addresses and plays
with Internet worms.
</P>
<P>
<A HREF="http://www.threenorth.com/LaBrea"
	>http://www.threenorth.com/LaBrea</A>
</P>
<P>
Courtesy <A HREF="http://www.slashdot.org/">Slashdot</A>.
-- Mike
</P>


<!-- end 6 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/7"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Monitoring log files in real time</FONT></H3>
Thu, 20 Sep 2001 13:06:48 -0700
<BR>Mike Orr (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2071%5D%202c%20Tips%20%237"><em>LG</em> Editor</a>)


<P>
When you're debugging a program that writes error messages to a log
file, run "<tt>tail -f LOGFILENAME</tt>" in another
window.  You'll see the error messages immediately when they
occur.
</P>
<P>
If it's hard to distinguish the lines referring to the latest error,
press Enter a few times in that window.  That won't affect the file,
but it will put a few blank lines on the screen.  Then it will be easy
to see where the next error message starts.
</P>
<P>-- Mike
</P>

<!-- end 7 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/8"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">HSP Micromodem</FONT></H3>
Mon, 10 Sep 2001 21:58:22 -0500 (COT)
<BR>John Karns (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2071%5D%202c%20Tips%20%238">The Answer Gang</a>)

<P>
JJ asked:
</P>
<P><STRONG>
Pie ChartsHi all,
I'm desperately looking for a driver for my HSP56 Micromodem, a device
integrated on my Mainboard.
Could you suggest some site to download it?
</STRONG></P>
<P>
Try searching for "linmodem" with your favorite search engine - I usually
favor google for Linux related searches.  There is a site dedicated to
information regarding setting up modems under Linux, and is called
something like www.linmodem.org.  I can't remember whether it's .org or
.net, or something else.
</P>
<P>
-- John Karns 
</P>

<dl><dt>It's plural, and .org ...
<dd>if anything calls itself an "HSP" 
	"HSF" or "HCF" modem, this is the place to see if linux hates
	it or can deal with it.  -- Heather
<dd><tt><a href="http://www.linmodems.org/">http://www.linmodems.org/</a></tt>
</dl>


<!-- end 8 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/9"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Query about Makefile</FONT></H3>
Tue, 18 Sep 2001 22:10:39 -0500
<BR>Chris Gianakopoulos (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2071%5D%202c%20Tips%20%239">The Answer Gang</a>)

<P>
Amol wrote:
</P>

<P><STRONG>
Hello everybody ,
</STRONG></P>
<P><STRONG>
I am new to this Linux field . I just want to
know all information about Makefile concept used  for
compling and configuring Linux kernel .
Where can I get good resource about Makefile ?
</STRONG></P>
<P><STRONG>
amol
</STRONG></P>
<P>
Hi Amol,
I read a book entitled "Mastering Make, A Guide to Building Programs on
DOS, OS/2, and Unix Systems" by Tondo, Nathanson, and Young.  The ISBN is
ISBN 0-13-121906-5.
I suspect that the O Reilly book about make is also good.
</P>
<P>
Hope that helps,
<br>Chris Gianakopoulos
</P>

<!-- end 9 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips/10"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Re: linux signwriting programs</FONT></H3>
Tue, 4 Sep 2001 10:11:42 -0700
<BR>Mike Orr (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2071%5D%202c%20Tips%20%2310"><em>LG</em> Editor</a>)

<P>
Steve Gosden wrote:
</P>
<P><STRONG>
PLEASE SEND ME TO A SITE WHERE I CAN DOWNLOAD A SIGNWRITING PROGRAM THAT
USES LINUX.
<br>REGARDS STEVE
</STRONG></P>

<!-- sig -->

<P>
The 'banner' program prints large ASCII banners.  On <A HREF="http://www.debian.org/">Debian</A> it's
<TT>/usr/games/banner</TT>, part of the standard 'bsdmainutils' package.
</P>
<P>
If that program isn't suitable, tell us more about what kinds of signs
you're trying to make.
</P>
<P>
Do any Answer Gang members have recommendations for making signs with
colors or signs with graphics?
</P>

<p><em>You could try one of these:</em></p>
<em>
<ul>
<li>AAType - like banner, only uses AAlib and truetype fonts to make it
	look cool: 
<br><tt><a href="http://w1.520.telia.com/~u52013156/aatype.html"
	>http://w1.520.telia.com/~u52013156/aatype.html</a></tt>
<li>gozer - another truetype text banner thingy:
<br><tt><a href="http://linuxbrit.co.uk/gozer/"
	>http://linuxbrit.co.uk/gozer/</a></tt>
<li>figlet is especially handy, it comes with most distros:
<br><tt><a href="http://ianchai.50megs.com/figlet.html"
	>http://ianchai.50megs.com/figlet.html</a></tt>
<li>and if he means "normal" signs ... as long as your printer is up to 
	it, there is OF COURSE my favorite, The Gimp.  Pretty darn easy to
	tell it you want 250 point fonts.  It isn't trying specially to be
	"Print Shop Deluxe" ... aiming more for Photoshop really ... but
	you can do just about anything with it.
<br><tt><a href="http://www.gimp.org">http://www.gimp.org</a></tt>
<li>If it was one of those banner/greeting card/calendar etc. programs
	you wanted then maybe Chilliware's IceSculptor would work for
	you.  As far as I can tell Chilliware itself is unreachable
	(were they bought by someone?) but it's pretty easy to find their
	boxed product in various e-stores, at least right now.  I can't
	give you any info about how easy it is to install, etc.
</ul>
</em>
<p><em>-- Heather</em></p>
</em>

<P>
Long ago on the VAX/VMS mainframes we used to make ASCII-art signs that showed
Snoopy holding a sign with your text on it.  Since the printer used that
tractor-fed paper, it was easy to make a wide sign.  The program might have
been called 'banner'.
</P>

<p><em>We had them in my old PDP-11 days, certainly. -- Heather</em></p>

<!-- end 10 -->
<P> <hr> </p>
<!-- *** BEGIN copyright *** -->
<H5 align="center">This page edited and maintained by the Editors
	of <I>Linux Gazette</I> 
<a href="http://www.linuxgazette.com/copying.html"
	>Copyright &copy;</a> 2001
<BR>Published in issue 71 of <I>Linux Gazette</I> October 2001</H5>
<H6 ALIGN="center">HTML script maintained by
	<A HREF="mailto:star@starshine.org">Heather Stern</a> of
	Starshine Technical Services,
	<A HREF="http://www.starshine.org/">http://www.starshine.org/</A> 
</H6>
<!-- *** END copyright *** -->
<!--startcut ======================================================= -->

</BODY></HTML>
<!--endcut ========================================================= -->