Linux-Misc Digest #825, Volume #27 Thu, 10 May 01 17:13:01 EDT
Contents:
Re: Tape Device Name (John Thompson)
latex -> PDF. How to do it properly? (Professor J Frink)
Re: Netfilter, IPtables... what the heck is going on? (Frank)
Re: RH 7.1 iptables with insmod errors ("BetrOffDed")
Re: Make prompt blink in KDE (Chad Lemmen)
Re: Cross-platform development tool? ("Michelle Ruediger")
Using pine to check multiple POP accounts? (Ryan Joseph)
Re: Viewing Win2k from Linux ("SilentNight")
Re: latex -> PDF. How to do it properly? (Robert Heller)
Re: sound and 2.4.0 kernel???? (Dave Uhring)
Re: SuSE Linux 7.1 ISO Download (Dave Uhring)
Re: Cross-platform development tool? ([EMAIL PROTECTED])
Re: latex -> PDF. How to do it properly? (Helmut Haefner)
----------------------------------------------------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: Tape Device Name
Date: Thu, 10 May 2001 11:44:58 -0500
Brian Seppanen wrote:
> How do I determine the device name of a tape drive. I recently added a
> SCSI Tape Drive to my machine.
> Boot up finds the device properly as follows:
> Vendor: HP Model: C1537A Rev: L706
> Type: Sequential-Access ANSI SCSI revision: 02
>
> My only problem is I don't know how to reference this device. In the
> past I've used /dev/rmt. On this box that only includes /dev/rmt16 and
> /dev/rmt8. I tried using taper, just cos I'm looking for something that
> gives me a nice interface initially, and doing taper -T /dev/rmt16 and
> taper -T /dev/rmt8 both give errors of illegal tape type.
IIRC, the rmt devices are for remote tape drives. If the tape
drive is on a local machine use /dev/st0 or /dev/nst0 instead.
--
-John ([EMAIL PROTECTED])
------------------------------
From: [EMAIL PROTECTED] (Professor J Frink)
Subject: latex -> PDF. How to do it properly?
Date: 10 May 2001 18:30:41 GMT
Here's the situation:
Various theses and such, written in LaTeX. We want to get the output from
these into PDF format for distributing to various people.
At the moment we use the following procedures:
Insert \usepackage{pslatex}
generate dvi
generate ps from dvi
use ps2pdf to generate pdf file.
This has the following problems:
the fonts in pslatex are different to the standard ones, thus formatting
(particular with figures) gets messed up. Also there's some esoteric
problems like pslatex not being able to do bold italics in mathmode.
No bookmarks, hyperlinks, thumbnails etc.
We've also tried the tex2pdf script. This has problems with large theses,
and has all the other problems with pslatex fonts.
pdflatex doesn't like eps figures and also needs pslatex.
[without pslatex the fonts are bitmapped, look horrible onscreen and create
large file sizes].
Anyone have any ideas as to how to get latex into pdf, without messing up
the formatting, and preferably with bookmarks/hyperlinks etc in the pdf?
It seems the more complex the document, the harder it is to generate pdfs,
when it's complex documents that you used latex for in the first place.
Catch22.
Cheers,
Frink
------------------------------
From: Frank <[EMAIL PROTECTED]>
Subject: Re: Netfilter, IPtables... what the heck is going on?
Date: Thu, 10 May 2001 20:38:04 +0200
Hi,
If you had followed this link on the netfilter page, you would now
know about all about iptables.
There's even an rc.firewalls script...(which works!)
http://www.boingworld.com/workshops/linux/iptables-tutorial/
Gr.
Frank
grooveman <[EMAIL PROTECTED]> wrote:
>Hi.
>
>I have been struggling with this for several days now.
>
>I installed RH 7.1 to act as my gateway/router using IP masq for my
>internal machines.
>
>Low and behold, what do I find -- RH 7.1 kernel 2.4.x does not like to
>support ipchains! Now, I know, I know... It has legacy support for
>this, however, I could not get ip_always_defrag and ip_masq_ftp going on
>it. I have tried the stock kernel, and even recompiled my own -- and I
>configured just about every networking option as a module, and these did
>not show up anywhere on my system.
>
>Ipchains is not much use to me if I can't use ftp! I looked around on
>the web and lurked in groups and found people with the same problem --
>but no real solutions were offered.
>
>So I made it my mission to learn iptables --which IS natively supported
>by 2.4.x. After going nuts looking for ipnatctl (which is referenced in
>the iptables-howto), I finally found out that it has been incorporated
>into iptables (only lost a day or two there!) So, how do I masq with
>iptables? I looked around some more and found that the homesite of
>NETFILTER doesn't appear to be functioning (at least in the last few
>days) http://netfilter.kernelnotes.org .
>
>So -- My question is this: How the heck are we supposed to know what to
>do with iptables? The man page is almost useless here... it is simply
>too complex to contain in one man.
>
>Also: Can anyone tell me how to get my machine to masq without having a
>forward policy of ACCEPT?
>
>Also: What is the equivalent in IPTABLES of ipchains with a -y flag?
>
>IS THERE ANYWHERE A PERSON CAN GO TO ON THE WEB, OR IN THE BOOKSTORE TO
>LEARN HOW TO USE THIS TOOL?
>
>I know that I cannot be the only one frustrated with this.
>
>Thank you all! (I feel a litte better now :0) )
>
>Chris
>
------------------------------
From: "BetrOffDed" <[EMAIL PROTECTED]>
Subject: Re: RH 7.1 iptables with insmod errors
Date: Thu, 10 May 2001 19:36:33 GMT
IIRC, the default install of RH7.1 is setup to run with the ipchains
compatibility mode. Make sure no modules or services pertaining to that
are already inserted or running (can't have both at the same time).
In article <9defi9$9ff$[EMAIL PROTECTED]>, "AC"
<$-xenite9@my-dejanews-com-$> wrote:
> Hello,
>
> I have an iptables problem. I just installed Redhat 7.1 with kernel
> 2.4.2-2 that supposedly has iptables kernel support. I have a modem on
> the external and NIC on internal. The modem works fine when I run
> wvdial or similar. I simply want to run IP masquerading for my other
> machines and share the connection. First I went to
> http://linux-firewall-tools.com/linux/firewall and built my script using
> the iptables option. After I was greeted with an awful scrolling screen
> of errors, I was displeased. Below is the output from iptables -F to
> give a TASTE of the problem:
>
> [root@firewall /root]# iptables -F
> /lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o: init_module:
> Device or resource busy Hint: insmod errors can be caused by incorrect
> module parameters, including invalid IO or IRQ parameters
> /lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o: insmod
> /lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o failed
> /lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o: insmod
> ip_tables failed
> iptables v1.2.1a: can't initialize iptables table `filter': iptables
> who? (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
>
> And when I manually try the insmod ip_tables:
>
> (From insmod /lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/) insmod
> ip_tables.o: init_module: Device or resource busy Hint: insmod errors
> can be caused by incorrect module parameters, including invalid IO or
> IRQ parameters
>
> IRQ and IO problems? The modem works fine when I dial out, so I don't
> think it's that. I must be missing something. All I want to do is
> masquerade and firewall my home LAN. Any ideas? Thanks.
>
> -Adam
>
> Below is the a snippet from /proc/pci, if that's of any help.
> ---------------------------
> [root@firewall /root]# cat /proc/pci (snippet) Bus 0, device 8,
> function 0:
> Serial controller: US Robotics/3Com 56K FaxModem Model 5610 (rev 1). IRQ
> 11. I/O at 0xe000 [0xe007].
>
>
>
>
------------------------------
From: Chad Lemmen <[EMAIL PROTECTED]>
Subject: Re: Make prompt blink in KDE
Date: Thu, 10 May 2001 19:46:17 -0000
Stephen Rank <[EMAIL PROTECTED]> wrote:
> Chad Lemmen <[EMAIL PROTECTED]> writes:
> [ ... ]
>> I searched through the man page for xterm for cursor and blink and I can't
>> find where you can set the cursor to blink.
> Try again; it's really quite simple.
This is exactly what I tried the first time and there is nothing in my
man pages about turning on blink. If I type xterm +bc or -bc as you
suggest it gives me this:
xterm: bad command line option "-bc"
Do I have an old version of xterm or something? Maybe I'm being a
complete moron and I'm still missing something here.
> For the clue-impaired:
> 1) man xterm
> 2) search for 'blink' (type '/blink')
> 3) 1st match (unless your less does case-insensitive matching;
> if it does, press `n' until...),
> at line 171:
> +bc turn off text cursor blinking. This overrides the
> cursorBlink resource.
> 4) 2nd match (press `n'), line 174:
> -bc turn on text cursor blinking. This overrides the
> cursorBlink resource.
> so `xterm -bc' does what you want. Not that hard to find, really.
> Stephen
> --
> 989505350
------------------------------
From: "Michelle Ruediger" <[EMAIL PROTECTED]>
Subject: Re: Cross-platform development tool?
Date: Thu, 10 May 2001 14:13:33 -0500
Take a look at www.omnibasic.com
Jari Huovila <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi Lewis!
>
> Thanks, I didn't know Kylix is a cross-platform thing. Too bad the
> price is a bit high for a home-user. Hopefully there's going to be a
> trial version available soon.
>
> Thanks again!
>
> Yours,
>
> Jari
>
> On Wed, 28 Feb 2001 08:11:06 -0500, "Lewis M. Dreblow"
> <[EMAIL PROTECTED]> wrote:
>
> >Jari,
> >
> >Have you seen KYLIX from Borland. It will do all you ask except for the
> >MacOS,
> >however, as soon as MacOS goes to X (i.e. unix core) you may also get
> >that
> >capability.
> >
> >Lewis, [EMAIL PROTECTED]
> >
> >Jari Huovila wrote:
> >>
> >> Hi everyone!
> >>
> >> There wouldn't happen to be any software development IDE (C++ / Java)
> >> that would be able to produce binaries for Linux, MacOS and Windows
> >> from the same source code?
> >>
> >> Thanks!
> >>
> >> - Jari
> >>
> >> P.S. Has anyone got experience of CodeWarrior? Is it worth nothing?
>
------------------------------
From: Ryan Joseph <[EMAIL PROTECTED]>
Subject: Using pine to check multiple POP accounts?
Date: Thu, 10 May 2001 15:57:41 -0400
Hello!
As my ISP doesn't allow me to make any port 25 connections (they are scared
of
people connecting to SMTP to spam, so in true conglomerate fashion, they
kill
an ant with an atom bomb), I am forced to use 'pine' on my web server to
send
mail, and I usually use it to read as well. However, I am more than one
email
account that can all be accessed with the POP protocoll.
Is it possible for Pine to check multiple POP accounts at once? I do not
need
to worry about SMTP, as I only send from a single address anyway.
Thanks for the help!
R.Joseph
------------------------------
From: "SilentNight" <[EMAIL PROTECTED]>
Subject: Re: Viewing Win2k from Linux
Date: Fri, 11 May 2001 05:06:10 +0900
"Paul Lew" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Wed, 09 May 2001 22:38:41 GMT, Gareth Jones <[EMAIL PROTECTED]> wrote:
> > "Scott Grant" <[EMAIL PROTECTED]> wrote:
> >
> >>In the past it was easy to read and write to Win98 from a Linux
partition
> >>on a dual boot machine. One could mount the windows partition and
access
> >>it from Linux. With win2k this seems to be much more difficult. Any
> >>simple methods to do this? Apparently any attempt at writing to the
> >>win2k file system is risky. Any easy way to at least access the win2k
> >>files?
> >
> > Compile your kernel with NTFS support. Like you say, reading is one
> > thing, but writing is much more hazardous.
> >
> > An alternative would be to use FAT32 on your win2k partitions. You
> > loose the security and robustness of NTFS of course, but you can then
> > read & write to the partitions from Linux. Personally, I use NTFS for
> > my Win2k system partition, and then keep all of my data in a FAT32
> > partition that can be accessed from both OSes.
> >
> > Gareth
> >
>
> NTFS reading and NTFS reading/writing were 2 separate items for
configuration
> and believe that NTFS writing has been removed for 2.4.4 as didn't see
that
> item for configuration.
No, it is still there, when i use make xconfig.
But writing to NTFS can only selected if reifs is selected. I use either
FAT/FAT32/NTFS to exchange files, but writing on FAT only to reduce any
undesirable damage to work.
SN
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: latex -> PDF. How to do it properly?
Date: 10 May 2001 20:37:58 GMT
[EMAIL PROTECTED] (Professor J Frink),
In a message on 10 May 2001 18:30:41 GMT, wrote :
PJF> Here's the situation:
PJF>
PJF> Various theses and such, written in LaTeX. We want to get the output from
PJF> these into PDF format for distributing to various people.
PJF>
PJF> At the moment we use the following procedures:
PJF>
PJF> Insert \usepackage{pslatex}
Try:
\usepackage{times}
PJF> generate dvi
PJF> generate ps from dvi
PJF> use ps2pdf to generate pdf file.
PJF>
PJF> This has the following problems:
PJF>
PJF> the fonts in pslatex are different to the standard ones, thus formatting
PJF> (particular with figures) gets messed up. Also there's some esoteric
PJF> problems like pslatex not being able to do bold italics in mathmode.
The times package uses a set of PostScript fonts that very closely match
the cmr fonts (Times family).
PJF>
PJF> No bookmarks, hyperlinks, thumbnails etc.
PJF>
PJF> We've also tried the tex2pdf script. This has problems with large theses,
PJF> and has all the other problems with pslatex fonts.
PJF>
PJF> pdflatex doesn't like eps figures and also needs pslatex.
PJF>
PJF> [without pslatex the fonts are bitmapped, look horrible onscreen and create
PJF> large file sizes].
PJF>
PJF> Anyone have any ideas as to how to get latex into pdf, without messing up
PJF> the formatting, and preferably with bookmarks/hyperlinks etc in the pdf?
PJF>
PJF> It seems the more complex the document, the harder it is to generate pdfs,
PJF> when it's complex documents that you used latex for in the first place.
PJF> Catch22.
PJF>
PJF> Cheers,
PJF> Frink
PJF>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: sound and 2.4.0 kernel????
Date: Thu, 10 May 2001 15:46:36 -0500
Jeff Pierce wrote:
> Having used 2.2.36 kernel forever with PNP sound and no problem. I
> upgrade to 2.4.0 for usb. Now, how the hell do I get a Sound Blaster
> CT-4180 using the ct2505 chip working under 2.4.0. Using "make
> menuconfig" and going to sound only reveals Creative SoundFusion,
> SBLive, and CS4281, no Vibra 16 or Pro.
>
> So, what to do?
>
Try ALSA = Advanced Linux Sound Architecture
http://www.alsa-project.org
I use their driver for the via686a sound chip on my mother board; works
well. Their table shows that the Vibra16 uses their sb16 driver. Can't
tell you whether that works or not, no ISA slots in this machine and I have
one of those cards.
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: SuSE Linux 7.1 ISO Download
Date: Thu, 10 May 2001 15:51:56 -0500
Aegis wrote:
> Hi,
>
>
> Anyone can suggest where it is possible to download SuSE Linux 7.1 ISO
> images? SuSE made its distro available only as huge 5 GB directory.
>
> Thanks in advance.
>
You cannot download installable SuSE Linux 7.1 ISO images. See this from
their site:
In order to be able to maintain this service in the future, as well as
meeting the accompanying wishes of our customers, we are dependent on
sales of our products and services, and must ensure that an adequate cost
structure exists within our company.
For the purposes of testing and evaluation, we have made a great effort to
provide a variation of SuSE Linux which does not have to be installed,
and which makes it extremely easy to try out SuSE Linux or examine its
hardware requirements.
With our SuSE Linux FTP version (SuSE Linux Professional, excluding
commercial program packages, which we are not allowed to offer on their
own for download) we provide a free service for all those who wish to
install
SuSE Linux via FTP.
We are currently providing ISO images for download for all
non-Intel/AMD/PPC platforms (IA64, AXP, S/390 and Sparc), since these
products
cannot be made available everywhere, worldwide and at the accustomed speed.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Cross-platform development tool?
Date: Thu, 10 May 2001 20:53:53 GMT
"Michelle Ruediger" <[EMAIL PROTECTED]> writes:
> Take a look at www.omnibasic.com
>
> Jari Huovila <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Hi Lewis!
> >
> > Thanks, I didn't know Kylix is a cross-platform thing. Too bad the
> > price is a bit high for a home-user. Hopefully there's going to be a
> > trial version available soon.
Mind you, GCC runs on more platforms than any of these are ever likely
to seriously contemplate, and is priced lower than the lot of 'em.
And seeing as how the entirety of Linux is implemented using GCC (you
cannot compile Linux using any other compiler), it would seem a more
credible cross-platform tool...
--
(concatenate 'string "cbbrowne" "@ntlug.org")
http://vip.hyperusa.com/~cbbrowne/resume.html
"It's the sort of mail you should wear a welding helmet while reading...."
-- Dave Moon
------------------------------
From: [EMAIL PROTECTED] (Helmut Haefner)
Subject: Re: latex -> PDF. How to do it properly?
Date: Thu, 10 May 2001 21:02:34 GMT
Hello Professor J Frink
Well it seems you haven�t tried dvipdfm. I�m not sure if it can
everything you want but I�m using it and it can handle ps graphics.
Here is the README file of the program:
====================README=======================
This is dvipdfm, a DVI to PDF translator. I wrote this mainly as
exercise to get at the features of PDF I wanted to experiment with.
You're
probably wondering why I don't use PDFTeX. I am a bit of a purist and
I
would rather use TeX unmodified as Donald Knuth left it.
You can get it or the manual from
http://odo.kettering.edu/dvipdfm
or if you prefer FTP:
ftp://ftp.kettering.edu/pub/outgoing/mwicks/dvipdfm
Features:
- TeX \special's that approximate the functionality
of the PostScript pdfmarks used by Adobe's
Acrobat Distiller. Links, outlines, articles, and named
destinations are supported, for example.
- Ability to include PDF, JPEG, and PNG files
as embedded images. For PDF files, only the first
page is included. Resources will be embedded from
the original file as necessary. File inclusion
does not work for PDF files that store the page
contents in several segments in an array.
- Support for thumbnails (with a little help from GhostScript).
- Re-encoding support for PostScript fonts. dvipdfm
uses the same .enc files as dvips. The mapfile is different.
- Virtual font support.
- Support for arbitrary linear graphics transformations.
Any material on the page can be scaled and rotated.
- An internal color stack accessible via \special's.
- Beginning of page (BOP) and end of page (EOP)
\special's for placing arbitrary PDF stream
graphics on every page.
- Partial font embedding and Flate compression
for reduced file size.
- Balanced page tree and dest tree to improve reader
speed on very large documents.
Limitations (at present):
- Contents streams consisting of multiple parts cannot be
embedded.
Mark A. Wicks
Kettering University
[EMAIL PROTECTED]
======================End of File=====================
so you can check if it works for you. I think you can find it at every
CTAN site
Greetings Helmut
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************