1023 lines
33 KiB
HTML
1023 lines
33 KiB
HTML
<!--startcut ==========================================================-->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<html>
|
|
<head>
|
|
<title>More 2 Cent Tips & Tricks LG #39</title>
|
|
</head>
|
|
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#0000AF"
|
|
ALINK="#FF0000">
|
|
<!--endcut ============================================================-->
|
|
<H4>"Linux Gazette...<I>making Linux just a little more fun!</I>"
|
|
</H4>
|
|
<P> <hr> <P>
|
|
|
|
<!-- QUICK TIPS SECTION ================================================== -->
|
|
<center>
|
|
<H1><A NAME="tips"><IMG ALIGN=MIDDLE ALT="" SRC="../gx/twocent.gif">
|
|
More 2¢ Tips!</A></H1> <BR>
|
|
Send Linux Tips and Tricks to <A HREF="mailto:gazette@ssc.com">
|
|
gazette@ssc.com
|
|
</A></center>
|
|
|
|
<p><hr><p>
|
|
<H3><font color="#CC0000">New Tips:</font></H3>
|
|
<ul>
|
|
<li><a HREF="./lg_tips39.html#deck">
|
|
Netscape for Linux trick
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#pujet">
|
|
ATAPI Zip drives under Linux
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#romaniak">
|
|
Booting off SCSI
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#willis">
|
|
what is my dialup (ppp) IP number?
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#sousa">
|
|
Common POP3 Error
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#broezell">
|
|
Spell checking a single word...1
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#kahn1">
|
|
Spell checking a single word...2
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#jaegermann">
|
|
Spell checking a single word...3
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#kahn2">
|
|
Spell checking a single word...4
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#plezbert">
|
|
Spell checking a single word...5
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#dok">
|
|
Spell checking a single word...6
|
|
</a>
|
|
</ul>
|
|
<H3><font color="#CC0000">Answers to Mail Bag Questions:</font></H3>
|
|
<ul>
|
|
<li><a HREF="./lg_tips39.html#avelon">
|
|
Linux Download
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#haidar">
|
|
Re: We do not relay...1
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#page">
|
|
Re: We do not relay...2
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#regan1">
|
|
Re: We do not relay...3
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#gushee">
|
|
RE: Multiple booting (LG #38)
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#regan2">
|
|
Re: Linux & Win95/98/NT clients
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#regan3">
|
|
Word to Postscript...1
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#renaghan1">
|
|
Word to Postscript...2
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#javeed">
|
|
Word to Postscript...3
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#renaghan2">
|
|
RE: Korn Shell FAQ...1
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#roev">
|
|
RE: Korn Shell FAQ...2
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#correa">
|
|
Re: Help wanted -- article ideas
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#mckown">
|
|
FW: Linux Gazette #37 question
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#benettor">
|
|
Re: Making a Red Hat 5.2 CD
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#kosse">
|
|
2 cent correction
|
|
</a>
|
|
<li><a HREF="./lg_tips39.html#pires">
|
|
Etherexpress NIC
|
|
</a>
|
|
</ul>
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="deck"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<font color="navy">
|
|
Netscape for Linux trick
|
|
</font> </H3>
|
|
Date: Wed, 24 Mar 1999 01:25:12 +0000<BR>
|
|
From: andy deck, <A HREF="mailto:andy.deck@nyu.edu">
|
|
andy.deck@nyu.edu</A>
|
|
<P>
|
|
<A HREF="./tip_deck.txt">This script</A> will
|
|
strip away some of the annoying
|
|
unconfigurable parts of Netscape
|
|
and replace them with links and
|
|
button titles that you choose.
|
|
<P>
|
|
This script can be used to modify Netscape 4.51 binaries that run under Linux (ELF).
|
|
<P>
|
|
It will modify the following hard-coded
|
|
values, which are not modifiable with
|
|
the preferences:
|
|
<ol>
|
|
<li>removes "Netscape:" from the title bar
|
|
<li>Changes base url for several links that
|
|
normally are directed to home.netscape.com
|
|
You will be prompted for a substitute URL.
|
|
Note that you will be prompted for a URL
|
|
that ends with a foldername, not a file.
|
|
This is because the foldername prepends
|
|
several files. You should be able to make
|
|
files in the folder you suggest as an alternative.
|
|
<li>Changes the label on the "My Netscape" button in
|
|
the navigation toolbar. And changes the link.
|
|
<li>Changes the link for the Search button on the
|
|
navigation toolbar.
|
|
<li>Changes the link behind the N button on the navigation
|
|
toolbar. Currently I've hard-coded this to "newssites.html"
|
|
But you can edit that value in the script.
|
|
</ol>
|
|
When modifying values you need to be aware that the
|
|
binary produced by this process (usually it will be called
|
|
"netscape.new") MUST be the same number of bytes long as
|
|
the original.
|
|
<P>
|
|
This script comes with no guarantees. It's working for me,
|
|
and I've made it as friendly as seems necessary. Good luck.
|
|
<P>
|
|
--<BR>
|
|
Andy
|
|
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="pujet"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<font color="navy">
|
|
ATAPI Zip drives under Linux
|
|
</font> </H3>
|
|
Date: Tue, 2 Mar 1999 14:31:51 -0800 (PST)<BR>
|
|
From: Nicolas Pujet, <A HREF="mailto:npujet@yahoo.com">
|
|
npujet@yahoo.com</A>
|
|
<P>
|
|
I just read a good article on using internal ATAPI Zip drives under
|
|
Linux
|
|
at <A
|
|
HREF="../issue28/lg_tips28.html#atapi">../issue28/lg_tips28.html#atapi</A>
|
|
However I would like to suggest a simplified procedure for beginning
|
|
Linux users.
|
|
This procedure does not deal with SCSI at all.
|
|
<P>
|
|
|-----------------------------------------------|<BR>
|
|
| A simple setup procedure for ATAPI Zip drives |<BR>
|
|
|-----------------------------------------------|<BR>
|
|
<B>Step 1: figure out the device name</B> <BR>
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<BR>
|
|
Run dmesg and look for a block of lines looking like this:
|
|
<PRE>
|
|
hda: ST34342A, 4103MB w/0kB Cache, CHS=523/255/63
|
|
hdc: Pioneer CD-ROM ATAPI Model DR-A24X 0105, ATAPI CDROM drive
|
|
hdd: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive
|
|
</PRE>
|
|
Here the Zip drive has become hdd. Since DOS formatted Zip disks use
|
|
partition 4,
|
|
the device name will be /dev/hdd4
|
|
<P>
|
|
<B>Step 2: set up mounting</B> <BR>
|
|
^^^^^^^^^^^^^^^^^^^^^^^<BR>
|
|
Login as root, make a directory /zip and allow users to mount DOS
|
|
formatted Zip disks
|
|
by adding the following line to the /etc/fstab file:
|
|
<PRE>
|
|
/dev/hdd4 /zip vfat noauto,user 0 0
|
|
</PRE>
|
|
Reboot to make these changes effective.
|
|
<P>
|
|
<B>You are now ready to use Zip disks !</B> <BR>
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<BR>
|
|
Any user can now put a Zip disk in the drive and mount it by typing:
|
|
<PRE>
|
|
mount /zip
|
|
</PRE>
|
|
which makes the contents of the disk available in the directory /zip .
|
|
<P>
|
|
When the user is done with the Zip disk, he should unmount it:
|
|
<PRE>
|
|
umount /zip
|
|
</PRE>
|
|
Now the "eject" button on the drive can be used to eject the disk.
|
|
<P>
|
|
<B>Notes:</B>
|
|
-----<BR>
|
|
<ul>
|
|
<li>if you try to unmount the Zip disk while being in the directory /zip,
|
|
the following error message appears:
|
|
<PRE>
|
|
umount: /dev/hdd4: device is busy
|
|
</PRE>
|
|
So just move to an other directory (in every xterm window !) and try
|
|
again.
|
|
|
|
<li>some people have the Zip drive on hdb instead of hdd, so they should
|
|
use /dev/hdb4 instead of /dev/hdd4
|
|
|
|
<li>In the fstab file you can change vfat to msdos if you don't like
|
|
long file names
|
|
|
|
<li>The ATAPI drive setup is quite fast: I tried to copy a 53 MB file
|
|
from a Zip drive
|
|
to a hard drive. It took just under 90 seconds, i.e. the transfer
|
|
rate was 588 kB/second
|
|
(compare with 92 kB/second with a parallel port Zip drive, as
|
|
reported in the mini-howto).
|
|
</ul>
|
|
<P>
|
|
Cheers,
|
|
<P>
|
|
--<BR>
|
|
Nicolas Pujet
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="romaniak"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<font color="navy">
|
|
Booting off SCSI
|
|
</font> </H3>
|
|
Date: Mon, 8 Mar 1999 18:10:21 -0500 (EST)<BR>
|
|
From: Greg Romaniak <A HREF="mailto:greg@snoopy.gwr.com">
|
|
greg@snoopy.gwr.com</A>
|
|
<P>
|
|
Regarding the recent $.02 tips on booting off a SCSI drive with IDE drives
|
|
also installed -- I used a quick-and-dirty solution that worked for me --
|
|
but no guarantees. Simply don't define the IDE drives in the CMOS. This
|
|
way, the system doesn't "see" them on boot and the SCSI BIOS take over as
|
|
if there were no IDE drives. Once Linux starts booting off the SCSI
|
|
drive, the IDE drivers in the kernel will do their own probe for IDE
|
|
devices and find the IDE drives.
|
|
<P>
|
|
--<BR>
|
|
Greg
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="willis"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<font color="navy">
|
|
what is my dialup (ppp) IP number?
|
|
</font> </H3>
|
|
Date: Wed, 10 Mar 1999 21:12:44 +0000<BR>
|
|
From: Matt Willis, <A HREF="mailto:matt@optimus.cee.cornell.edu">
|
|
matt@optimus.cee.cornell.edu</A>
|
|
<P>
|
|
Okay. This drove me nuts for a while. Here's a succinct perl script
|
|
to give you the current ppp IP address. This can come in handy for
|
|
assigning DISPLAY variables for remote X events, etc. It saves the
|
|
current IP in ~/.myip
|
|
<PRE>
|
|
#!/usr/bin/perl
|
|
open(IFCONFIG,"/sbin/ifconfig|") || die "Can't open /sbin/ifconfig!\n";
|
|
while (<IFCONFIG>) { last if (/^ppp0/); }
|
|
$_ =<IFCONFIG>;
|
|
($inet,$ptp,$mask) = /.*:([\d\.]*) *.*:([\d\.]*) *.*:([\d\.]*)/;
|
|
close(IFCONFIG);
|
|
open(MYIP,">$ENV{HOME}/.myip");
|
|
print MYIP "$inet \n";
|
|
close(MYIP);
|
|
</PRE>
|
|
nb - I did this using kernel 2.2.3 and the success of the script may
|
|
depend on what the ipconfig output looks like. For me, it looks like
|
|
this:
|
|
<PRE>
|
|
ppp0 Link encap:Point-to-Point Protocol
|
|
inet addr:139.186.224.88 P-t-P:139.186.0.50 Mask:255.255.255.255
|
|
</PRE>
|
|
|
|
If yours is different, you may require tweaking. If there is no ppp0
|
|
then .myip gets written over with a blank.
|
|
<P>
|
|
-- <BR>
|
|
Matthew Willis
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="sousa"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<font color="navy">
|
|
Common POP3 Error
|
|
</font> </H3>
|
|
Date: Sat, 27 Mar 1999 21:57:17 +0000<BR>
|
|
From: Carlos Sousa, <A HREF="mailto:majestik@mail.telepac.pt">
|
|
majestik@mail.telepac.pt</A>
|
|
<P>
|
|
There is a common error that occurs when downloading mail for a local
|
|
machine through POP3.
|
|
<BR>Sometimes when downloading mail we receive the following error message
|
|
from the POP3 server:
|
|
<P>being read already: /usr/spool/mail/XXXXXXX
|
|
<P>where XXXXXXX is the login for the account.
|
|
<P>This occurs because the client is interrupted while performing any task
|
|
on the pop3 server or failed to send the quit command to the pop3 server,
|
|
causing the lock file from that pop3 account to stay there, causing the
|
|
occurence of the error message in future attempts to retrieve mail.
|
|
<P>The problem can be solved deleting the following file in the pop3 server:
|
|
<P> /usr/tmp/.pop/XXXXXXXX
|
|
<BR>
|
|
<P>You may think that this article is pure loss of disk space, but believe,
|
|
3 network admins at my university were unable to solve the problem.
|
|
<P>
|
|
--<BR>
|
|
Carlos
|
|
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="broezell"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<font color="navy">
|
|
Spell checking a single word...1
|
|
</font> </H3>
|
|
Date: Tue, 02 Mar 1999 22:37:27 -0600<BR>
|
|
From: "Ken V. Broezell", <A HREF="mailto:broezell@cig.mot.com">
|
|
broezell@cig.mot.com</A>
|
|
<P>
|
|
Hi Ben. I just read your 2 cent tip in the March Linux Gazette. Did you
|
|
realize that ispell
|
|
can already be used to check a single word as follws:
|
|
<PRE>
|
|
echo ticckle | ispell -a
|
|
@(#) International Ispell Version 3.1.20 10/10/95
|
|
& ticckle 1 0: tickle
|
|
</PRE>
|
|
In the above example ticckle was found to be misspelled and tickle was
|
|
suggested
|
|
as the correct spelling.
|
|
<P>
|
|
I execute this not as an alias but as a 1 line shell script:
|
|
<PRE>
|
|
cat /usr/local/bin/ws
|
|
echo $1 | ispell -a
|
|
</PRE>
|
|
--<BR>
|
|
Ken
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="kahn1"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<font color="navy">
|
|
Re: Spell checking a single word...2
|
|
</font> </H3>
|
|
Date: Wed, 3 Mar 1999 22:08:57 -0500 (EST)<BR>
|
|
From: "Ben 'The Con Man' Kahn", <A HREF="mailto:xkahn@cybersites.com">
|
|
xkahn@cybersites.com</A>
|
|
<P>
|
|
To: "Ken V. Broezell":<BR>
|
|
Yep! I knew that. Actually, my tip was in reply to someone who
|
|
posted just that piece of information. I don't like that output. Under
|
|
my solution, nothing extra is shown if the word is spelled correctly. If
|
|
the word is spelled wrong, you get a curses based interface which lets you
|
|
select the correct word or try to spell it right. I find it removes most
|
|
of the guess work.
|
|
<P>
|
|
--<BR>
|
|
Benjamin Kahn
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="jaegermann"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<font color="navy">
|
|
Re: Spell checking a single word...3
|
|
</font> </H3>
|
|
Date: Tue, 16 Mar 1999 20:19:27 -0700 (MST)<BR>
|
|
From: Michal Jaegermann, <A
|
|
HREF="mailto:michal@ellpspace.math.ualberta.ca">
|
|
michal@ellpspace.math.ualberta.ca</A>
|
|
<P>
|
|
In "2c Tips" Benjamin Kahn presents an eye popping tcsh macro and writes:
|
|
"I have no idea how to do this in bash". The answer is "simpler and
|
|
more general". Try this (may go into your .bashrc):
|
|
<PRE>
|
|
spell () { echo $@ | ispell -a | sed -n -e '/^\&/p' -e '/^\#/p';}
|
|
</PRE>
|
|
and type <tt>spell tihs is a tset</tt>. You will see on your screen:
|
|
<PRE>
|
|
& tihs 6 0: this, ties, Tims, tins, tips, tits
|
|
& tset 2 10: set, test
|
|
</PRE>
|
|
Numbers like "2 10" mean that there are two replacement propositions and
|
|
that a "bad" word starts after ten characters of your input. '#' character
|
|
above is reserved for words ispell knows nothing about whatsoever.
|
|
Translating that to tcsh is left as an exercise for a reader. :-)
|
|
<P>
|
|
Michal
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="kahn2"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<font color="navy">
|
|
Re: Spell checking a single word...4
|
|
</font> </H3>
|
|
Date: Tue, 16 Mar 1999 22:42:11 -0500 (EST)<BR>
|
|
From: "Ben 'The Con Man' Kahn", <A HREF="mailto:xkahn@cybersites.com">
|
|
xkahn@cybersites.com</A>
|
|
<P>
|
|
Michal:<BR>
|
|
That's correct -- this script will work to spell check a word,
|
|
phrase, paragraph, etc. However, under my solution, nothing extra is
|
|
shown if the word is spelled correctly. If the word is spelled wrong, you
|
|
get a curses based interface which lets you select the correct word or try
|
|
to spell it right. I find it removes most of the guess work.
|
|
<P>
|
|
--<BR>
|
|
Benjamin Kahn
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="plezbert"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<font color="navy">
|
|
Spell checking a single word...5
|
|
</font> </H3>
|
|
Date: Fri, 12 Mar 1999 16:41:04 -0600 (CST)<BR>
|
|
From: "Michael P. Plezbert", <A HREF="mailto:plezbert@cs.wustl.edu">
|
|
plezbert@cs.wustl.edu</A>
|
|
<P>
|
|
There's a much easier way to do this, using the -a option to ispell:
|
|
<PRE>
|
|
echo 'wordyouwanttocheck' | ispell -a
|
|
</PRE>
|
|
--<BR>
|
|
Michael
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="dok"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
Spell checking a single word...6
|
|
</font> </H3>
|
|
Date: Fri, 05 Mar 1999 15:03:47 +0100<BR>
|
|
From: Dennis van Dok, <A HREF="mailto:dvandok@wins.uva.nl">
|
|
dvandok@wins.uva.nl</A>
|
|
<P>
|
|
Gazette march 1999 contained a tip for checking a single
|
|
word with ispell from the command line. This is a shorter solution:
|
|
<PRE>
|
|
echo frobnicate | ispell -a
|
|
</PRE>
|
|
regards,
|
|
<P>
|
|
--<BR>
|
|
Dennis van Dok
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
<H4><font color="maroon">
|
|
Tips in the following section are answers to questions printed in the Mail
|
|
Bag column of previous issues.
|
|
</font></H4>
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="avelon"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
Linux Download
|
|
</font> </H3>
|
|
Date: Wed, 3 Mar 1999 09:09:40 +0100<BR>
|
|
From: Ian Carr-de Avelon, <A HREF="mailto:ian@emit.pl">
|
|
ian@emit.pl</A> <BR>
|
|
Status: RO
|
|
<P>
|
|
N.B. English at end
|
|
<P>
|
|
Beste Jaap,<BR>
|
|
Ik neem aan dat jij een typierende nederlander bent en geen probleem
|
|
met een aantword in het engels hebt. Ben ik hier verkeerde, neem even contact
|
|
voor een vertaaling.
|
|
<blockquote> <font color="navy">
|
|
From: "Jaap Wolters", woltersj@hotmail.com:<BR>
|
|
Ik heb geprobeert jullie programma "LINUX" te downloaden, maar ik
|
|
krijg geen toegang. hoe zou het toch kunnen? Op de t.v werd verteld
|
|
dat het programma beter is dan Windows 98, Minder fouten en minder
|
|
vastlopers. Is het programma windows compatible zodat ik mijn oude
|
|
windows spellen kan doorspelen. Ik heb ZEER veel belang bij dit
|
|
programma, maar aangezien me het niet lukt om het te downloaden zou ik
|
|
graag uw advies willen.
|
|
</font></blockquote>
|
|
QUESTION<BR>
|
|
========<BR>
|
|
I can't access Linux for download. Will it run my old Windows games?
|
|
What do you suggest I do as I can't download.
|
|
<P>
|
|
ANSWER<BR>
|
|
======<BR>
|
|
If you can't easily down load Linux, your best is to get Linux on a
|
|
CD-ROM. The CD is likely to come free with a book on Linux, maybe there
|
|
is one in your local library, or a Linux magazine. To run programs
|
|
writen for Microsoft Windows under Linux's "X" windows, you will
|
|
need the emulator WINE. As WINE is an emulator, it tends to run
|
|
programs a little slower than '98 and can't handle tricks which
|
|
some programers include in their programs. I run MS Word with WINE
|
|
with no problems, but arcade games need speed and use tricks, so
|
|
you may have to get some nice new Linux games to go with your system.
|
|
<P>
|
|
--<BR>
|
|
Ian
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="haidar"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
We do not relay...1
|
|
</font> </H3>
|
|
Date: Mon, 8 Mar 1999 18:18:34 -0500<BR>
|
|
From: Ayman Haidar, <A HREF="mailto:haidar@usol.com">
|
|
haidar@usol.com </A> <BR>
|
|
<P>
|
|
I hope you solved your problem by now, but in case if you haven't..
|
|
I just had the same problem, and after a long search all over the internet I finlly gave up and dumped sendmail for qmail, it's extremely easy to install and run.
|
|
Maybe you should give it a try.
|
|
<P>
|
|
--<BR>
|
|
Ayman Haidar
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="page"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
Re: We do not relay...2
|
|
</font> </H3>
|
|
Date: Sun, 14 Mar 1999 18:55:13 +0000<BR>
|
|
From: Jeremy Page, <A HREF="mailto:jpage@cwcom.net">
|
|
jpage@cwcom.net</A>
|
|
<P>
|
|
I don't know whether this may help you, but I also had the same problem
|
|
recently. For me the problem occurred when my mail client (in this case
|
|
Pine) had the setting SMTP server = localhost. When I changed it to the
|
|
actual hostname the error stopped. Just don't ask me why - someone else
|
|
will probably tell you that.
|
|
<P>
|
|
-- <BR>
|
|
Jeremy Page
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="regan1"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
Re: We do not relay...3
|
|
</font> </H3>
|
|
Date: Sun, 07 Mar 1999 15:45:46 +0000<BR>
|
|
From: "Jimmy O'Regan", <A HREF="mailto:Jim.Regan@lit.ie">
|
|
Jim.Regan@lit.ie</A> <BR>
|
|
<P>
|
|
Regarding "We do not relay":
|
|
<P>
|
|
In /etc/mail you should find files called ip_allow and name_allow To
|
|
allow your machine to be used to send mail, simply place either IP
|
|
addresses (ip_allow) or domain names (name_allow) into these files.
|
|
<P>
|
|
For all machine in a domain, just type in the domain, eg:
|
|
lit.ie
|
|
for a subnet, use blanks in the place of wildcards, eg.
|
|
172.16
|
|
172.17.100
|
|
<P>
|
|
--<BR>
|
|
Jim
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="gushee"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
RE: Multiple booting (LG #38)
|
|
</font> </H3>
|
|
Date: Mon, 08 Mar 1999 20:33:46 +0900<BR>
|
|
From: Matt Gushee, <A HREF="mailto:matt@it.osha.sut.ac.jp">
|
|
matt@it.osha.sut.ac.jp</A> <BR>
|
|
<blockquote> <font color="navy">
|
|
Richard Veldwijk writes:<BR>
|
|
As I've got kids and kids tend to play games, I have to have
|
|
Micro$oft products on my machine. As I use OS/2 and Linux
|
|
myself, here's a nice tip: Install OS/2's boot manager. If
|
|
you have OS/2 installation floppies, you can run an OS/2
|
|
FDISK and install the boot manager, even without installing
|
|
OS/2 itself.
|
|
</font></blockquote>
|
|
As a former OS/2 user, I can confirm that OS/2 is Good Stuff (TM) ...
|
|
and the above method may be the easiest way to set up dual booting (and
|
|
I think you have to use it if you boot OS/2) On the other hand, LILO can
|
|
do pretty much the same things, and doesn't have this drawback:
|
|
<blockquote> <font color="navy">
|
|
Only the last booted C-partition is visible. If you need to
|
|
access the other, you'll have to hide one and unhide the other.
|
|
</font></blockquote>
|
|
Versions of LILO >= 20 allow you to have partitions automatically
|
|
"hidden" or "unhidden" at boot time -- but unlike OS/2's boot manager,
|
|
the "hiding" doesn't affect access from Linux. You do it with an entry
|
|
something like this in /etc/lilo.conf
|
|
<PRE>
|
|
win95 = /dev/hda1
|
|
..........
|
|
change
|
|
partition = /dev/hda2
|
|
deactivate
|
|
partition = /dev/hda1
|
|
activate
|
|
</PRE>
|
|
*Something* like that. I've done it, but it was a couple of years ago,
|
|
so I may have forgotten some details. For more info, check the LILO
|
|
User's Guide (not the man page -- it's a big document probably in
|
|
PostScript).
|
|
<P>
|
|
Happy booting!
|
|
<P>
|
|
--<BR>
|
|
Matt Gushee
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="regan2"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
Re: Linux & Win95/98/NT clients
|
|
</font> </H3>
|
|
Date: Sun, 07 Mar 1999 16:20:14 +0000<BR>
|
|
From: "Jimmy O'Regan", <A HREF="mailto:Jim.Regan@lit.ie">
|
|
Jim.Regan@lit.ie</A> <BR>
|
|
<P>
|
|
There are two things you can do to use Linux as an image server.
|
|
<P>
|
|
Attach the hard drive you want to use as an image to your linux box, and
|
|
use something like this: (reverse procedure for making a boot flopy)
|
|
dd if=/dev/hdb1 of=/path/to/disk.image bs=1024 conv=sync; sync
|
|
You'll have to find out the right byte size (bs) though, the 1024 is
|
|
just a guess:)
|
|
This will create an image of the disk on the machine in /path/to/ called
|
|
disk.image
|
|
Linux can read and write FAT16 and FAT32 partitions, but it can't write
|
|
NTFS (yet). You'll need a commercial DOS tool like Ghost
|
|
(http://www.ghost.com) for NTFS.
|
|
<P>
|
|
To recreate the image, boot with a linux boot floppy (with dd), and run
|
|
mkdosfs on the hard drive (I'm not sure if that's necessary, but I doubt
|
|
it can hurt) then the same dd command with the if and of parameters
|
|
swapped.
|
|
<P>
|
|
The other option, which will be required for NTFS, is to set up Samba on
|
|
the Linux box, and use a bootable DOS floppy and ghost.to read and write
|
|
the images. Ghost comes with documentation, and is easy to use.
|
|
<P>
|
|
--<BR>
|
|
Jim
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="regan3"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
Word to Postscript...1
|
|
</font> </H3>
|
|
Date: Sun, 07 Mar 1999 15:56:31 +0000<BR>
|
|
From: "Jimmy O'Regan", <A HREF="mailto:Jim.Regan@lit.ie">
|
|
Jim.Regan@lit.ie</A> <BR>
|
|
<P>
|
|
I'm pretty sure you mean that you want to convert the word documents to
|
|
postscript on your Linux box, but I don't think there's a way of doing
|
|
it yet. The closest there is to it is MS Word View
|
|
(http://www.csn.ul.ie/~caolan/docs/MSWordView.html) which converts Word
|
|
8 to HTML.
|
|
<P>
|
|
This is how you do it on the windows machine:
|
|
In Control panel, select Printers, Add Printer, Click Next, select a
|
|
postscript compatible printer from the list (try Oki OL-850/PS), select
|
|
File: as the port to attach it to, name it, and select 'no' for "Make
|
|
default printer". You should be prompted for a file name when you print.
|
|
It works for me.
|
|
<P>
|
|
--<BR>
|
|
Jim
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="renaghan1"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
Word to Postscript...2
|
|
</font> </H3>
|
|
Date: Tue, 2 Mar 1999 13:33:31 -0500 (EST)
|
|
From: Padraic Renaghan, <A HREF="mailto:padraic@renaghan.com">
|
|
padraic@renaghan.com</A>
|
|
<blockquote> <font color="navy">
|
|
JX: From time to time, people e-mail me documents in Microsoft Word
|
|
format.
|
|
Do you know where I can find an utility to
|
|
convert the MS Words documents into Postscript format so that I can
|
|
view/print them in Linux?
|
|
</font> </blockquote>
|
|
I don't know of anything to convert MS Word to Postscript, but I do know
|
|
of a utility to convert MS Word 8 (Office 97) to HTML which can then be
|
|
read by a web browser and printed.
|
|
<P>
|
|
http://www.csn.ul.ie/~caolan/docs/MSWordView.html
|
|
<P>
|
|
-- <BR>
|
|
Padraic Renaghan
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="javeed"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
Word to Postscript...3
|
|
</font> </H3>
|
|
Date: Wed, 10 Mar 1999 09:53:35 +0500 (PKT)<BR>
|
|
From: Shahbaz Javeed, <A HREF="mailto:sjaveed@bigfoot.com">
|
|
sjaveed@bigfoot.com</A>
|
|
<P>
|
|
Greetings. I have found the program mswordview to be almost
|
|
indispensable. It doesnt convert Word97 documents to PS, but it converts
|
|
them to HTML, which comes a close second. An alternative would be to use
|
|
StarOffice 5.0 (you can get a personal edition for free at
|
|
http://www.stardivision.com) which can read and write to all Office97 file
|
|
formats.
|
|
<P>
|
|
Hope this helps.
|
|
<P>
|
|
--<BR>
|
|
SJ
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="renaghan2"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
RE: Korn Shell FAQ...1
|
|
</font> </H3>
|
|
Date: Tue, 2 Mar 1999 13:30:09 -0500 (EST)<BR>
|
|
From: Padraic Renaghan, <A HREF="mailto:padraic@renaghan.com">
|
|
padraic@renaghan.com</A> <BR>
|
|
<blockquote> <font color="navy">
|
|
JT: I'm looking for a good Korn Shell FAQ, because I dislike reading the
|
|
Manpages. Does anyone know a good Internet
|
|
Address of a FAQ?
|
|
</font> </blockquote>
|
|
I have found the SHELLdorado site to be very helpful.
|
|
I has good shell tips and a great list of other shell resources.
|
|
http://www.oase-shareware.org/shell/
|
|
<P>
|
|
As for learning the korn shell (I am not sure that is what you are
|
|
doing, but regardless), I purchased the following book which is
|
|
EXCELLENT! I highly recommend it.
|
|
http://www.amazon.com/exec/obidos/ASIN/0134514947/
|
|
<P>
|
|
-- <BR>
|
|
Padraic Renaghan
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="roev"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
Korn Shell FAQ...2
|
|
</font> </H3>
|
|
Date: Wed, 3 Mar 1999 16:04:30 +0100 (CET)<BR>
|
|
From: Arne Knut Roev, <A HREF="mailto:akroev@online.no">
|
|
akroev@online.no</A>
|
|
<P>
|
|
You wrote:<BR>
|
|
<blockquote> <font color="navy">
|
|
I'm looking for a good Korn Shell FAQ, because I dislike reading the
|
|
Manpages. Does anyone know a good Internet Address of a FAQ?
|
|
</font> </blockquote>
|
|
<P>
|
|
Now, I am going to tell you a secret:
|
|
<P>
|
|
FAQ-files _supplement_ the documentation, they do _not_ _replace_ it.
|
|
So, you should get into the habit of using man/info pages, since they are
|
|
the places where you can find the formal documentation you sometimes need.
|
|
<P>
|
|
However, FAQ-files and HOWTOs _do_ have their uses, so they are by no means
|
|
useless.
|
|
<P>
|
|
And in any case, when you are looking for this kind of stuff (relating to
|
|
Linux documentation), you look for the "Linux Documentation Project" (short:
|
|
LDP). The www-adress I have for this, is:
|
|
"http://www.linuxresources.com/LDP"
|
|
(I am putting it this way, because I am not sure whether this is the address
|
|
of the main site, or of a mirror.)
|
|
<P>
|
|
NB: I am cc'ing this letter to the www-based Linux Gazette, in case they
|
|
want to publish this info. (After all, I _am_ replying to a letter published
|
|
there.)
|
|
<P>
|
|
Arne
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="correa"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
Re: Help wanted -- article ideas
|
|
</font> </H3>
|
|
Date: Tue, 02 Mar 1999 10:53:36 -0300<BR>
|
|
From: Andre Correa, <A HREF="mailto:andcor@tesla.com.br">
|
|
andcor@tesla.com.br</A>
|
|
<P>
|
|
Re: Kristoffer Andersson <BR>
|
|
I had problens that I think are same as yours. Here in our office I have am
|
|
internal network with 192.168.x.x IP addresses masqueraded to the net
|
|
throught a Linux box with 2.1.x kernel and everything goes fine but I
|
|
needed to let outside users see our Intranet. I searched and found a
|
|
program called rinetd that makes redirection of requests so any request
|
|
coming to our masq box in port 80, for example, is redirected to
|
|
192.168.3.21 in port 80 and then everyone in the Internet can see our pages
|
|
using our masq box IP address. It works fine for a while now.
|
|
<P>
|
|
from the man rinetd we have:
|
|
<PRE>
|
|
RINETD(8) UNIX System Manager's Manual RINETD(8)
|
|
|
|
NAME
|
|
rinetd - internet ``redirection server''
|
|
|
|
SYNOPSIS
|
|
/usr/sbin/rinetd
|
|
|
|
VERSION
|
|
Version 0.52, 9/7/1998.
|
|
|
|
DESCRIPTION
|
|
rinetd redirects TCP connections from one IP address and port to another.
|
|
rinetd is a single-process server which handles any number of connections
|
|
to the address/port pairs specified in the file /etc/rinetd.conf. Since
|
|
rinetd runs as a single process using nonblocking I/O, it is able to
|
|
redirect a large number of connections without a severe impact on the ma-
|
|
chine. This makes it practical to run TCP services on machines inside an
|
|
IP masquerading firewall. rinetd does not redirect FTP, because FTP re-
|
|
quires more than one socket.
|
|
</PRE>
|
|
You can find at sunsite.unc.edu
|
|
<P>
|
|
good luck
|
|
<P>
|
|
--<BR>
|
|
Andre Correa, Sao Paulo/Brazil
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="mckown"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
FW: Linux Gazette #37 question
|
|
</font> </H3>
|
|
Date: Tue, 23 Mar 1999 11:29:05 -0600<BR>
|
|
From: "McKown, John", <A HREF="mailto:JMckown@Insurdata.com">
|
|
JMckown@Insurdata.com</A>
|
|
<P>
|
|
xia@xlnt.com:
|
|
You asked if there is some way to view MS Word files under Linux. Have you
|
|
tried mswordview? You can download it from
|
|
http://metalab.unc.edu/pub/Linux/apps/www/converters or
|
|
ftp://metalab.unc.edu/pub/Linux/apps/www/converters/mswordview-0.5.1.tar.gz<BR>
|
|
I'm sending this from work, so I'm forced to use MS Outlook to send
|
|
it. I hope you can read it OK. I have not tried using this, so I don't
|
|
know how good it is. the .lsm file says that it works with MS Word 97.
|
|
<P>
|
|
--<BR>
|
|
John McKown
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="bennetor"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
Re: Making a Red Hat 5.2 CD
|
|
</font> </H3>
|
|
Date: Sat, 13 Mar 1999 20:03:50 -0200 (GMT+2)<BR>
|
|
From: BenettOr, <A HREF="mailto:benettor@nightmare.gr">
|
|
benettor@nightmare.gr</A>
|
|
<P>
|
|
Yeah, this is a common problem when users trying to install RedHat by
|
|
donwloading the disksets from the net.
|
|
<P>
|
|
In order to install RedHat 5.0+, downloaded from a site or ftp you have to
|
|
burn (copy) it on a cd in the following directory:
|
|
<P>
|
|
\RedHat\
|
|
<P>
|
|
"R" and "H" in uppercase mode. This means that you have to cd-copy it on
|
|
Microsoft Extension mode (lower and upper case support) and not in
|
|
ISO9660. Down that directory copy the disksets directories: A, A1..
|
|
etc. etc.
|
|
<P>
|
|
Then start the installation running the batch file included on the
|
|
distribution.
|
|
<P>
|
|
--<BR>
|
|
BenettOr
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="kosse"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
2 cent correction
|
|
</font> </H3>
|
|
Date: Fri, 26 Mar 1999 11:47:43 -0800<BR>
|
|
From: Ben Kosse, <A HREF="mailto:BKosse@thecreek.com">
|
|
BKosse@thecreek.com</A> <BR>
|
|
<P>
|
|
The Ensoniq AudioPCI actually has the necessary circuitry to do hardware
|
|
MIDI, it simply lacks the onboard RAM, using instead your system RAM to hold
|
|
the samples.
|
|
<P>
|
|
--<BR>
|
|
Ben Kosse
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
|
|
<a name="pires"></a>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
ANSWER: <font color="navy">
|
|
Etherexpress NIC
|
|
</font> </H3>
|
|
Date: Thu, 25 Mar 1999 09:44:27 -0300<BR>
|
|
From: "Sergio Pires", <A HREF="mailto:sergio.drtmg@mtb.gov.br">
|
|
sergio.drtmg@mtb.gov.br</A>
|
|
<P>
|
|
Mr Lim:<BR>
|
|
I read your mail in <I>LG</I> and the only thing I saw is you are using irq 7
|
|
normally assigned to the parallel port. Try to choose another irq # (5, for
|
|
example) and it will work.
|
|
<P>
|
|
--<BR>
|
|
Sergio Pires
|
|
|
|
|
|
|
|
<P> <hr> <P>
|
|
<!--================================================================-->
|
|
<center>Published in <I>Linux Gazette</I> Issue 39, April 1999</center>
|
|
<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_answer39.html"><IMG SRC="../gx/back2.gif" ALT=" Back "></A>
|
|
<A HREF="./bennet.html"><IMG SRC="../gx/fwd.gif" ALT=" Next "></A>
|
|
|
|
<P> <hr> <P>
|
|
<h5>This page maintained by the Editor of <I>Linux Gazette</I>,
|
|
<A HREF="mailto: gazette@ssc.com">gazette@ssc.com</A><BR>
|
|
Copyright © 1999 Specialized Systems Consultants, Inc. </H5>
|
|
<P>
|
|
<!--startcut ==========================================================-->
|
|
</body>
|
|
</html>
|
|
<!--endcut ============================================================-->
|