Linux-Misc Digest #701, Volume #26 Wed, 3 Jan 01 19:13:01 EST
Contents:
Re: ncurses5 questions (Thomas Dickey)
Re: lying to dselect / dpkg (John Hasler)
Re: Portsentry 1.0 (Silviu Minut)
Re: 2gig filesize limit :( (Lack Mr G M)
Re: mpg123 skips when samba working (Mat)
Re: Help for exporting the mysql database (Dustin Puryear)
Re: mpg123 skips when samba working (Mat)
Re: Linux Gripes... (Silviu Minut)
Re: DVD software for Linux yet? ([EMAIL PROTECTED])
Re: Linux Gripes... (Robert Jones)
Re: PATH for root (David)
Re: DVD software for Linux yet? ("Jean-Claude Gervais")
Re: Strange passwd (Bill Unruh)
Re: lilo with new kernel don't work (Bill Unruh)
Re: PATH for root (Floyd Davidson)
----------------------------------------------------------------------------
From: Thomas Dickey <[EMAIL PROTECTED]>
Subject: Re: ncurses5 questions
Date: 3 Jan 2001 22:15:01 GMT
Harlan Grove <[EMAIL PROTECTED]> wrote:
> There are a few packages I want to install that all require ncurses5.
> However, there's also a lot I don't want to upgrade if I don't have to
> that requires ncurses4. Is forcing the ncurses5 upgrade going to cause
> problems? Both ncurses4 and ncurses5 seem to share the same terminfo
> files in /usr/share - are there any differences between these files
> from the two ncurses version? If so, would they render ncurses4
> unusable?
> FWIW, the change log shown for the latest Red Hat ncurses5 RPM makes it
> appear that ncurses5 and ncurses4 aren't too different.
no - the correct answer is this:
The Redhat maintainer did not bother to read the release notes for ncurses.
The current version of ncurses is 5.2 (20001021)
There's an faq at
http://dickey.his.com/ncurses/ncurses.faq.html
(The faq has links to the release notes for 4.0-5.2, note that interface
changes are listed at the beginning).
> url:
> http://rpmfind.net/linux/RPM/redhat/7.0/updates/i386/ncurses-5.2-
> 2.i386.html
> snippet:
> * Thu Nov 04 1999 Bernhard Rosenkraenzer <[EMAIL PROTECTED]>
> - 5.0
> - some spec cleanups to make updating easier
> - add links *.so.5 to *.so.4 - they are fully binary compatible.
> (Why did they change the invocation number???)
> Sent via Deja.com
> http://www.deja.com/
--
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: lying to dselect / dpkg
Date: Wed, 3 Jan 2001 21:33:45 GMT
Gareth writes:
> If I want to install a piece of software (e.g. sendmail) using a source
> tarball instead of using a .deb package, is there anyway that I can tell
> dselect that sendmail *is* installed so that it doesn't try to uninstall
> mutt, mailx etc. every time it is run?
Install and use the equivs package to create a dummy package. Are you sure
that you need to, though? sendmail 8.11.1 is available in unstable. Put
deb-src http://http.us.debian.org/debian unstable main
in your /etc/apt/sources.list, run 'apt-get update', and then run
'apt-get source -b sendmail' and apt will download the source and build a
.deb for you to install with dpkg.
You'll also want to install sendmail-doc.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
------------------------------
From: Silviu Minut <[EMAIL PROTECTED]>
Crossposted-To: comp.dcom.modems.cable,redhat.general
Subject: Re: Portsentry 1.0
Date: Wed, 03 Jan 2001 17:23:39 -0500
Look in /usr/share/doc/portsentry-1.0.
Config files are in /etc/portsentry. Pretty self explanatory. I didn't change
much besides how it already came configured by RH, except the KILL_ROUTE
command.
I get that authorized scan too from att@home. Portsentry adds the IP address of
a machine susceptible of scanning your ports into /etc/hosts.deny. You can
configure it to send you e-mail when something happens, or to set up an IP
chains rule. You can see the actual commands portsentry executes in
/var/log/messages.
Bosco Tsang wrote:
> Have just installed portsentry on my RH 6.2, seems working ok, and the first
> alert I picked up is from authorized-scan1.security.home.net! Do they
> "authorized" to scan my computer ports???
>
> Just wonder ...how to check what mode I am running? and how to set it?
>
> --
> In article <[EMAIL PROTECTED]>,
> Silviu Minut <[EMAIL PROTECTED]> wrote:
> > portsentry
> >
> > Comes installed by default with RH7.0.
>
> --
> /+++++++++++++++++++++++++++++++++++++++++
> WARNING: Spam & Junk Mail Protection strictly enforced
> Unsolicited Mail will be handled via http://spamcop.net
> +++++++++++++++++++++++++++++++++++++++++/
>
> Sent via Deja.com
> http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (Lack Mr G M)
Subject: Re: 2gig filesize limit :(
Date: Wed, 03 Jan 2001 16:36:20 GMT
In article <3a5346e6$[EMAIL PROTECTED]>, Robert Heller <[EMAIL PROTECTED]>
writes:
|>
|> With current stable releases of Linux on the 32-bit Intel chips (x86),
|> 2gig is the limit.
|>
|> Current stable relase on 64-bit machines (Alphas for example) don't have
|> this problem.
|>
|> I believe that up coming releases for the 32-bit Intel chips (x86), the
|> 2gig file size limit is removed. I believe it is a combination of libc
|> code and possible parts of the Ext2 fs code (I am not sure).
It is in the 2.4.x kernel, but it also needs a glibc2 that has been
compiled for 64-bit FS support too (so that it knows about the open64
etc. system calls). You also get 32-bit uids and gids with it.
glibc2.2 on a 2.4.0-test11 kernel was happy to create a 5GB file for
me (although compiling and linking with an "uninstalled" libc is an
interesting exercise...).
--
========= Gordon Lack =============== [EMAIL PROTECTED] ============
This message *may* reflect my personal opinion. It is *not* intended
to reflect those of my employer, or anyone else.
------------------------------
From: Mat <[EMAIL PROTECTED]>
Subject: Re: mpg123 skips when samba working
Date: Wed, 03 Jan 2001 22:40:59 GMT
Glitch wrote:
>
> Mat wrote:
> >
> > Hi all,
> >
> > I have a rather annoying & hopefully easy problem to fix.
> >
> > Machine A (64MB Celeron300A) runs as an mp3 jukebox (mms &
> > mpg123-0.59q-6) & a samba server (2.0.7-20000425). It's a rather old
> > redhat distro with glibc 2.1.1 & a home made 2.2.16 kernel. This machine
> > has a lame $10(AU) no-name soundcard which i believe may be the problem.
> >
> > My problem is whenever I access large files from machine B (win2k) via
> > samba the mp3's annoyingly slow down and skip on directory access &
> > file retrieval.
> >
> > I've tried playing with priorities & giving mpg123 a bigger buffer but
> > it just seems that when the smb work is being done the mp3 playing
> > suffers.
> >
> > Could this be because of the cheap card? Maybe some on-card buffering or
> > something?
> >
> > I'd prefer to have some clue what is going on before I invest in another
> > card which may not even be the problem. I'm guessing there are a lot of
> > people who would have a similiar setup to mine...
> >
> > Ideas/Comments appreciated.
> >
> > Cheers,
> > Mat
>
> have you tried optimizing the drive that the mp3s play off of? When u
> are playing an mp3 while accessing a large file the driveheads have to
> skip around the platters to send you the file but also try to keep up
> with playing an mp3. If the drive is fast enough it shoudlnt be a
> problem. U should try using hdparm to optimize your drive. FWIW, a
> 7200rpm drive makes a big difference over a 5400rpm drive, espcially
> when capturing video so I'm sure when u need to access various parts of
> a drive quickly the extra rotations would come in handy.
The drive is a 6mth old 20GB Quantum one (hdb) and I played with hdparm
when it was first installed and have it running up to 3.45 MB/s (setting
DMA on causes drive corruption even though it shouldn't but that is
another story :) Since machine A (jukebox) has 2 drives I tried moving
an mp3 from hdb onto hda (which is running @5.65MB/s) and then playing
it while accessing a large file from hdb.
alas again the slowing down, even though the files are now on seperate
machines. thanks for the idea though, I might have another play with
hdparm and see what I can get going...
Mat
------------------------------
From: [EMAIL PROTECTED] (Dustin Puryear)
Subject: Re: Help for exporting the mysql database
Date: Wed, 03 Jan 2001 22:48:30 GMT
On Wed, 3 Jan 2001 11:25:54 +0800, steven tam <[EMAIL PROTECTED]> wrote:
>How can export the MySQL database in the csv format?
Read up on mysqldump.
Regards, Dustin
--
Dustin Puryear <$email = "dpuryear"."@usa.net";>
Integrate Linux Solutions into Your Windows Network
- http://www.prima-tech.com/integrate-linux
------------------------------
From: Mat <[EMAIL PROTECTED]>
Subject: Re: mpg123 skips when samba working
Date: Wed, 03 Jan 2001 22:50:01 GMT
Brad Bailey wrote:
>
> On Wed, 03 Jan 2001 02:22:34 GMT, Mat <[EMAIL PROTECTED]>
> wrote:
> ->My problem is whenever I access large files from machine B (win2k) via
> ->samba the mp3's annoyingly slow down and skip on directory access &
> ->file retrieval.
>
> I'd look at the network before replacing a sound card. Running mp3's
> over a LAN can be a bit much for low-end 10-Base-T hubs, especially
> if there are other data transfers taking place at the same time.
>
> At least, it was for mine. Playing them over the network wasn't bad, but
> if I copied an mp3 across to another box while one was playing,
> everything started hiccupping. Upgrading to a 10/100 switch made things
> a LOT better.
>
> Just a thought.
>
> Regards
> --
> Brad Bailey __/) <[EMAIL PROTECTED]>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "You know, it's easy to be happy if your one concern in life is figuring
> out how much saliva to dribble." --Woody Allen
My network (at the moment anyways) is the ultimate! The single red
crossover cable! :)
The mp3's are not actually playing over the LAN they are playing from
the machine, the large file access is over the LAN, but I see your
point.
This has given me some ideas though to check the network...
-open a SAMBA share on the jukebox machine instead of the win2K machine
and read a large file.
-run iptraf to see how much traffic is being generated by the smb work.
-do some FTP between the machines while playing an mp3 to check the
network.
hmmmm! things to do, post-work :]
Mat
------------------------------
From: Silviu Minut <[EMAIL PROTECTED]>
Subject: Re: Linux Gripes...
Date: Wed, 03 Jan 2001 17:50:35 -0500
You've set yourself up to so much flame...
No help? Try "man man" for starters. Or "xman".
(Although admittedly, some programs do come with very little or outdated
documentation. Open source comes at a price I guess).
Obviously you must configure pretty much everything. That's one of the points.
We want to KNOW what a program does, as it pleases us, not the way some
"omniscient" designers from some big software corporation have decided. (My
favourite quote: "Where do they want you to go today?").
Use emacs for programming. It's designed for that and much more. It even has
builtin support for the debugger. If you configure it right, you'll start to
like the programs you write.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: DVD software for Linux yet?
Date: Wed, 03 Jan 2001 23:05:01 GMT
Roger Blake <[EMAIL PROTECTED]> wrote:
> On Wed, 03 Jan 2001 03:32:53 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>A) The most comfortable chair in my apartment is in front of my computer
> Sounds like a case of skewed priorities...
I spend 8 hours a day working in front of my computer... My priorities
are just fine, moron.
>>B) The image quality of VHS isn't even comparable to DVD. The DPI of my
> I guess it's fine if you like jaggies, pixelization, and other digital
> artifacts.
> As far as I am concerned, all digital media formats are
> garbage.
> VHS is good enough, though Beta is much better. There is no need for
> DVD. (Hell, if it was about *quality* we'd all be using ED-Beta.) DVD
> is just another format switch designed to bilk consumers out of their
> hard-earned dollars. I'll never buy into it. (Like I said, I don't
> even have a CD player.)
In terms of image quality, VHS can't even compare to what I've seen
with my computer. Sorry you've had a bad experience with such a lousy
monitor and/or DVD player.
>>C) I have TV-out for my All-in-Wonder (sort of works under Linux,
> Whatever. The idea of using a computer for video is ludicrous
> in my view. I'm quite happy with a VT100 interface to mine.
Your view isn't the only one.
Adam
------------------------------
From: Robert Jones <[EMAIL PROTECTED]>
Subject: Re: Linux Gripes...
Date: Wed, 03 Jan 2001 17:15:43 -0600
"Peter T. Breuer" wrote:
> HMS <[EMAIL PROTECTED]> wrote:
> > the idea of open source. Linux is just so much work for so little joy. This
> > OS is just plain slow, bloated and buggy. All these damn config files are
>
> That's funny .. mine is fast, lean (256MB) and solid.
>
> bambam up 57+05:26, 0 users, load 0.02, 0.01, 0.00
>
> > decent help files and if there are you can't search any of them. Programs
>
> I have all my config files in /etc. I can search all my help files. I
> use "grep". But I don't need help anyway ..
Besides that, there is a man page for everything under the Sun. A quick look at
man man reveals that man uses less as the default pager. Turning to man less,
one finds all sorts and kinds of neat search options.
> > take forever to load and when they do they mostly crash. I try to download
>
> My programs take zero tie eto load. But then I have a PII 450MHz with
> 128MB ram.
>
> > stuff and every tar file I get won't expand. I would like to spend my day
>
> Every tar file I have expands just fine. Have you considered that it
> may already be expanded? Netscape and IE are known to expand .gz files
> automatically and not rename them.
>
> > writing code, but there are no decent IDE for writing C. What do people use?
>
> Wht would one need an IDE for writing C? The whole of unix is an ide.
> IDEs were something invented for msdos because dos couldn't do
> windowing.
>
> > It sounds like people use GCC and EMACS. I am just not a glutton for
>
> I use gcc and vi. Why would one need more?
>
> > punishment. I am trying to setup the Boreland J Builder, but of course when
>
> Boreland? What is that? J Builder?
>
> > I tar -x the download it just hangs. The jre plugin causes Mozilla not to
>
> Have you considered adding the -f flag? SOmehow I imagine that you are
> using the wrong options, and typing "tar -x foo.tar" instead of "tar -x
> < foo.tar" or "tar -xf foo.tar". It's not hung, it's waiting for you to
> supply the tar archive ion standard input! Read the man page.
>
> > load. God this is frustrating. I am using RedHat 7 which is much better than
>
> Redhat 7? Poor you.
>
> > 6.x at least the GNOME is much better. I do like RPM. This is pretty cool
>
> Rpm is awful. I have no idea why peple use it. Give me a .tgz any time.
>
> > and actually much easier to use than the new windows isntaller which has
> > similar support for dependencies and versioning.
>
> > I heard this thing was lean, fast and stable. I just have not found this to
>
> If you want to see that kind of thing go to debian. Personally, I don't
> need it.
>
> > be the case. Windows 2K runs faster and is more reliable and has usable
> > apps. I haven't rebooted my windows box in months with writing and debugging
> > c code on it all day.
>
> This is not surprising. If you want to crash it, run someone elses
> code.
>
> > Am I doing something wrong? I thought my windows box was supposed to crash
>
> Evidently. "being an idiotic arsehole" is what springs to mind.
>
> > all the time and Linux was supposed to run on less hardware and never crash.
>
> It doesn't.
>
> > What's the deal. Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.
>
> Genius, figure out that you're the common factor in your problems.
>
> Peter
--
Fortune and love befriend the bold.
-- Ovid
5:06pm up 10 days, 21:24, 1 user, load average: 0.00, 0.08, 0.07
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: PATH for root
Date: Wed, 03 Jan 2001 23:26:47 GMT
Reiner Griess wrote:
>
> Hi there!
>
> When I'm logged in as a normal user and going into
> super user mode (su) the PATH for root isn't set.
> For every command it is necessary to type in the
> full path (/sbin/route par example).
>
> How can I correct this?
>
> Thank you
> reiner
>
> --
Use "su -" instead and it will give you a normal root path.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 98.975% of seti users. +/- 0.01%
------------------------------
From: "Jean-Claude Gervais" <[EMAIL PROTECTED]>
Crossposted-To: alt.video.dvd,alt.video.dvd.software
Subject: Re: DVD software for Linux yet?
Date: Wed, 3 Jan 2001 18:35:29 -0500
Heheheh...
Rod, I agree with you, but that has got to be the most hackneyed simile I've
ever read. :-)
"Rod Smith" <[EMAIL PROTECTED]> wrote in message
news:CUM46.162519$[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>,
> Pineapple <[EMAIL PROTECTED]> writes:
> >
> > You can write a free dvd-decoder. But if it decodes css, making this
> > software costs you a license fee.
>
> You have yet to address the point I've repeatedly made that the people
> who developed CSS *FAILED TO PROTECT IT IN ANY LEGALLY BINDING WAY*.
> They just tried to keep its functional details secret. Therefore,
> legally speaking, if somebody else reverse engineers the protocol, the
> CSS developers have no legal recourse -- except of course for the DMCA,
> which doesn't relate to the reverse engineering or the license fees.
> Your objection would also apply to somebody reverse-engineering a word
> processor's file format so that a competing program can load and save
> files; to a project like WINE that aims to reverse engineer the Windows
> API so that Windows programs can be run under other OSs; and to
> projects like Samba, that let OSs interoperate with one another on a
> network.
>
> Now, you can certainly object to these projects, but you should at
> least be aware of the fact that the courts (in the US and every other
> country in which I've heard of a case being brought) have repeatedly
> held in favor of those doing the reverse engineering. It's legal and,
> in most peoples' view, ethical. If DeCSS ultimately loses in court, it
> won't be on grounds of reverse engineering or of infringing a patent or
> copyright (since neither of these has even been alleged to have been
> infringed by DeCSS, AFAIK); it'll be because of the DMCA's provisions
> against breaking the copy protection on the DVDs.
>
> Put another way, what the CSS people did was akin to finding some
> hidden but beautiful cave and offering to take people there,
> blindfolded, for a fee. They added some infrastructure (park benches or
> the like), but the cave is on public lands. The land was available for
> sale, but the cave finders didn't buy it, and it's now no longer for
> sale. Somebody else eventually found the cave and brought people there
> without the blindfold and without charging a fee. You're objecting to
> this. My point is that the original cave developers have no right to
> complain unless they own the land, which they don't. They deliberately
> chose not to purchase the land.
>
> --
> Rod Smith, [EMAIL PROTECTED]
> http://www.rodsbooks.com
> Author of books on Linux & multi-OS configuration
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.security,comp.os.linux.advocacy,comp.os.linux.setup
Subject: Re: Strange passwd
Date: 3 Jan 2001 23:43:32 GMT
In <92tfuk$ihk$[EMAIL PROTECTED]> R.E.Ballard ( Rex Ballard ) <[EMAIL PROTECTED]>
writes:
>You can create rhosts and ~/.rhosts files on each user's home on the
>back-end system.
Please use ssh.
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: lilo with new kernel don't work
Date: 3 Jan 2001 23:47:52 GMT
In <92tfpi$i6u$[EMAIL PROTECTED]> alex k <[EMAIL PROTECTED]> writes:
]i installed slackware7.1 which has the 2.2.16 kernel.
]and lilo in MBR, which worked ok.
]but after i make a new kernel (2.2.18) i can't run lilo anymore.
]it complains something about cyl 1438>1024 i think.
]i tried installing the new 21.6.1 lilo, but it won't
]build. i get 4 errors, same with 21.5.
]funny, what does that have to do with which kernel i use?
]why did it work ok with 2.2.16??
Don;t complain about lilo. Complain about your bios. It is what cannot
read beyond cyl 1024. lilo is just telling you your bios cannot load the
kernel you are asking it to load.
In case you have a new machine ( <1.5 yrs old) which has a new bios
which can, get the new lilo and use it. It can access cyl >1024 if your
bios can
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: PATH for root
Date: 03 Jan 2001 14:11:13 -0900
Jean-David Beyer <[EMAIL PROTECTED]> wrote:
>Reiner Griess wrote:
>>
>> Hi there!
>>
>> When I'm logged in as a normal user and going into
>> super user mode (su) the PATH for root isn't set.
>> For every command it is necessary to type in the
>> full path (/sbin/route par example).
>>
>> How can I correct this?
>>
>It is correct that way, though you may not like it. You could add those
>directories to root's path. The reason extremely little is in root's
>path is to make it more difficult for crackers to sneek in trojan
>horses.
Read the man page for su.
When su is invoked with the '-' option a login environment for
the new userid is provided; and otherwise the current
environment is retained and the PATH variable is reset.
Hence without the '-', and absent something in the shell init
files to set PATH, the effect of doing a bare su to another user
is to reset the PATH variable to /bin:/usr/bin.
If you want to access root *with* the normal login environment
of root, invoke su with the '-' option: "su -". That of course
assumes that root does have a properly configured set of shell
init files...
For larger systems with multiple system admins each of whom
might want a different environment when working as root it makes
a lot of sense (and this might also be true for those who just
can't type a '-' after "su") to arrange their own init files to
catch the fact that su has just reset PATH, and re-initialize it
to whatever is wanted. Use something like this in your own
~/.bashrc file:
#
# reset the PATH that su sets
#
if [ "${PATH}" = "/bin:/usr/bin" -o \
"${PATH}" = "/bin:/usr/bin:/sbin:/usr/sbin" ]
then
export PATH="..." # replace ... with desired path
fi
--
Floyd L. Davidson <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska) [EMAIL PROTECTED]
------------------------------
** 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
******************************