Linux-Misc Digest #910, Volume #27 Sun, 20 May 01 14:13:02 EDT
Contents:
Re: using pan: watches and downloads ("Wayne Osborn")
Re: Console WAV player wanted (Gavin McCord)
problem in glibc ("Brittle")
Re: using /etc/fstab ("Sudhakar R.")
Re: SCSI errorr ("Stuart R. Fuller")
Re: child wait process hangs my outgoing emails (Jim Valavanis)
Re: lightweight emacs shell-mode replacement (Martin Drautzburg)
Re: Windows-linux network (Rod Smith)
Re: child wait process hangs my outgoing emails (Neil W Rickert)
Re: How do I "Kill" Netscape? (LXQ)
Shell script ("Billy")
Re: Shell script (Jim Cochrane)
Re: A CPU cooler for Linux? (SammyTheSnake)
Wierdest Damn Problem Regarding Linux Login (Steve Fletcher)
Re: Linux as voicemail system? (Frank McKenney)
----------------------------------------------------------------------------
From: "Wayne Osborn" <[EMAIL PROTECTED]>
Subject: Re: using pan: watches and downloads
Date: Sun, 20 May 2001 21:34:58 +0800
In article <[EMAIL PROTECTED]>, "Felmon John
Davis" <[EMAIL PROTECTED]> wrote:
> Greets!
>
> Trying to get friendly with Pan as a newsreader but I confused.
>
> I can set some threads to being 'watched' but it doesn't seem like their
> 'bodies' are being downloaded.
>
Marking a thread as "watched" (or to be more precise, to set a watch
fiilter) does not automatically download the messages!
Watching a thread or subject if you like means a) It stands out in hte
message listing (green by default) and b) you can select the filtering
options to see only watched or to ignore watched threads.
Typically, I will select "Group -> Get New Headers & Bodies in Subscribed
Groups" at the start of a news reading session nad once all the bodies
have arrived I begin browsing.
My filter settings (must be set for each subscribed group) are all
enabled (display) except for "Show Read Messages".
It's a shame 0.9.7 has removed the filter buttons from the button bar...
I use them more than I would ever require the new find function. I have
gone back to 0.9.6 as a result, 0.9.7 crashed on me several times too.
> What's the point of 'watch' if it doesn't fetch the 'watched' articles?
>
> More importantly, how can I configure Pan so that it will suck in
> threads I've marked without my having to do it manually?
As I pointed out, you "suck" em all in, and you can set your filters to
make only watched thread visible.
>
> The 'manual' doesn't yet seem to be on-line.
>
> Thanks!
>
> F.
>
> --------------------------------------------------------
> Felmon John Davis
> Union College / Schenectady, NY
> os/2 - ma kauft koi katz em sack
> --------------------------------------------------------
--
Wayne A. Osborn, SCADA Engineer.[dnar AT iinet DOT net DOT au]
Registered Linux User #212818. [2.2.16-22-Win4Lin-686] [i686]
9:20pm up 1 day, 18:41, 2 users, load average: 2.10, 2.25, 2.63
...Do you guys know what you're doing, or are you just hacking?
------------------------------
From: Gavin McCord <[EMAIL PROTECTED]>
Subject: Re: Console WAV player wanted
Date: Sun, 20 May 2001 14:55:16 +0100
Kilian A. Foth wrote:
> Is there, or failing that, how do I write a player that can
>
> - run without X
> - play WAVs
> - display the time in the file correctly
> - seek forward and backward interactively?
>
> If I end up doing it myself, I would use ncurses for interactivity,
> libsndfile for WAV decoding and... what lib for sound playback?
>
"play," part of the sox package
------------------------------
From: "Brittle" <[EMAIL PROTECTED]>
Subject: problem in glibc
Date: Sun, 20 May 2001 22:08:31 +0800
Hi,
I got a problem when installing glibc 2.2.3
setup:
RedHat Linux 7.1 + Gnome on x86
gcc-2.96-81, binutils-2.10.91.0.2-3, make-3.79.1-5, glibc-2.2.2-10
Kernel 2.4.4
steps:
1. gunzip glibc and linuxthreads
2. make realclean
3. ./configure --prefix=/usr --with-elf
--with-headers=/usr/src/linux/include
--enable-shared --enable-add-ons --with-gd-include=/usr/include
--with-gd-lib=/usr/lib --with-elf --enable-kernel=2.4.4
4. make (without error)
5. make check (without error)
6. make install (report error)
error message:
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnss_compat.so: undefined reference
to `__niserr2nss_tab'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnss_compat.so: undefined reference
to `__niserr2nss_count'
collect2: ld returned 1 exit status
Execution of gcc failed!
The script has found some problems with your installation!
Please read the FAQ and the README file and check the following:
- Did you change the gcc specs file (necessary after upgrading from Linux libc5)?
- Are there any symbolic links of the form libXXX.so to old libraries?
Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are wrong,
libm.so should point to the newly installed glibc file - and
there should be only one such link (check e.g. /lib and /usr/lib)
You should restart this script from your build directory after you've
fixed all problems!
Btw. the script doesn't work if you're installing GNU libc not as your
primary library!
make: *** [install] Error 1
Should I modify gcc specs or I should add/reduce para in config? Please
help me
---- Brittle
------------------------------
From: "Sudhakar R." <[EMAIL PROTECTED]>
Subject: Re: using /etc/fstab
Date: Sun, 20 May 2001 11:01:00 -0400
I'm not familiar with this "2.4 series logical volume manager". I
currently run RH 7.0 with the 2.2.16-22 kernel. Can you please help me
with this.
thanx in advance.
-sud
>I believe the 2.4 series logical volume manager options would allow you
>to have both on one partition, but if you are not extremely comfortable
>mucking around in fstab and friends I wouldn't try it.
>
>make one partition for each subtree you want to split off
>
>copy the existing subtree with:
> cp -dpR oldplace newplace
>(read man cp) definitely do not use cp -dpr unless you are sure you want
>to (read man cp several times).
>
>use a line in fstab like:
>/dev/hda10 /usr/local ext2 defaults 0 2
>to mount it at boot time.
>
>when you mount a filesystem on a directory that is not empty the
>original contents become unaccessible until you unmount the filesystem.
>You can leave the existing stuff in place for testing, or if you insist
>use something like to put it somewhere else:
>mv /usr/local /usr/local.old
>
>Read the linux fsstnd to understand the reasons to split or not to split
>the tree onto seperate partitions.
>
>Sudhakar R. wrote:
>
>> I decided to move my /var and /usr/local from / to a new partition.
>> this is what i did.
>>
>> 1. created a new partition /dev/hda10
>> 2. used mkfs.ext2 to format it
>> 3. mount -t ext2 /dev/hda10 /mnt/temp
>> 4. cp -r /var /mnt/temp/
>> cp -r /usr/local /mnt/temp/usr
>> 5. ??
>>
>> can some one please help me with completing this procedure. i know i'm
>> supposed to rename the original dirrectories in / to something
>> different and then mount the new directions under /etc/fstab.
>> currently my /etc/fstab is
>>
>> LABEL=/ / ext2 defaults
>> 1 1
>> LABEL=/home /home ext2 defaults
>> 1 2
>> /dev/hda1 /mnt/c vfat defaults
>> 0 0
>> /dev/cdrom /mnt/cdrom iso9660 noauto,users,ro
>> 0 0
>> /dev/hda8 /mnt/d vfat
>> defaults,uid=500,umask=007,rw 0 0
>> /dev/hda9 /mnt/e vfat defaults
>> 0 0
>> /dev/fd0 /mnt/floppy auto noauto,owner
>> 0 0
>> none /proc proc defaults
>> 0 0
>> none /dev/pts devpts gid=5,mode=620
>> 0 0
>> /dev/hda7 swap swap defaults
>> 0 0
>>
>> i'm not sure about this...but is it required that each partition holds
>> only one parent directory? like can /dev/hda10 hold both /var and
>> /usr/local ?
>>
>> any help will be greatly appreciated.
>> thanx in advance
>> -sud
>>
>>
>
>
\////
================================================0 0 .)=======
:-( SMILE ! It increases U'r Face Value :-) ~..)
/ \
Name : Sudhakar R. Add: #2920 Scioto St., Aprt #1112
Email: [EMAIL PROTECTED] Cincinnati, Ohio 45219-2072
URL : http://www.geocities.com/sudh0 Ph: +1-(513)-556-7981
Voicemail: 1-800-699-2466 (mailbox no: 513-556-7981)
------------------------------
From: "Stuart R. Fuller" <[EMAIL PROTECTED]>
Subject: Re: SCSI errorr
Crossposted-To: comp.os.linux.hardware
Reply-To: [EMAIL PROTECTED]
Date: Sun, 20 May 2001 15:39:01 GMT
In comp.os.linux.misc Pieter Ekkebus <[EMAIL PROTECTED]> wrote:
: "Stuart R. Fuller" wrote:
:>
:> In comp.os.linux.misc Pieter Ekkebus <[EMAIL PROTECTED]> wrote:
:>
:> : When I copy from scsidisk to scsidisk I see sometimes some
:> : error's in my log file:
:>
:> : (scsi1:A:0:0): Locking max tag count at 64
:>
:> : Somebody know what's going wrong?
:>
:> What makes you think this is an error?
: Intuition
:> Do copies go correctly?
: Yes
:> Are you seeing file corruption?
: No.
SCSI disks support a concept known as "tagged command queuing". This is a
process where a controller can initiate a command on a target (disk),
disconnect from the target, and initiate a command on the same or another
target. Each command has a tag, and the controller can reference that tag
number to the target for later processing.
The message simply means that the controller is limiting the number of
outstanding (unfinished) commands to 64.
Stu
------------------------------
From: Jim Valavanis <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.mail.sendmail
Subject: Re: child wait process hangs my outgoing emails
Date: Sun, 20 May 2001 10:26:54 -0500
Neil W Rickert wrote:
>
> Jim Valavanis <[EMAIL PROTECTED]> writes:
>
> >OK, I've spent a lot of time trying to figure this out, but I haven't
> >gotten far. I've setup sendmail many times before but this one, running
> >on Linux 2.2.16 on a DELL server, sendmail 8.11.13 (just upgraded this
> >to see if it helps), is causing me lots of problems.
>
> >I have tried sending mail from different clients (eudora,netscape,etc)
> >but I just get timeouts. On the server I see from ps
>
> >sendmail: server mail-server [192.168.1.10] child wait
>
> That's normal.
>
> There should be two sendmail processes related to this message.
> That is one of them. Check what the other is doing.
>
Yea the other process is doing this...
sendmail: ./f4KFaJA14105 ppp1.mydomain.com [192.168.1.41]: DATA
> (By the way, I assume you mean 8.11.3).
Yes, it's 8.11.3, sorry.
>
> >whenever I send new messages. It appears the ack is not being returned
> >by the sendmail server to the client. Why not? All of these mail
> >messages I try to send end up timing out after a few minutes on the
> >client side.
>
> >I've looked through the sendmail.cf and modified many timeout parameters
> >to try to fix this, but can't seem to get anywhere.
>
> What is the command line used to start sendmail?
>
> What is the output from
>
> grep DeliveryMode sendmail.cf
sendmail is started from the rc.d/init.d/sendmail script and looks
like...
# Start daemons.
echo -n "Starting sendmail: "
/usr/bin/newaliases > /dev/null 2>&1
for i in virtusertable access domaintable mailertable ; do
if [ -f /etc/mail/$i ] ; then
makemap hash /etc/mail/$i < /etc/mail/$i
fi
done
daemon /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd) \
$([ -n "$QUEUE" ] && echo -q$QUEUE)
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/sendmail
;;
In sendmail.cf...
O DeliveryMode=background
Anything strange here?
Jim
------------------------------
Subject: Re: lightweight emacs shell-mode replacement
From: Martin Drautzburg <[EMAIL PROTECTED]>
Date: 20 May 2001 19:06:41 +0200
Robert Heller <[EMAIL PROTECTED]> writes:
> Both bash and tcsh include command recall via arrow keys with
> emacs-style (vi-style also possible) editing functionality.
Thanks for your reply, howewer ...
I would like to scroll up a couple of pages, copy a multiline
statement from there, mildly edit it and run the edited version. I
cannot do that with bash, because I cannot edit multiline statements
there.
I would like to do the same with command output a few pages up. Edit
it, to turn it into a command and run it.
------------------------------
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Windows-linux network
Date: Sun, 20 May 2001 16:07:16 -0000
Reply-To: [EMAIL PROTECTED]
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
Nick <[EMAIL PROTECTED]> writes:
> Hello,
> We have currently a local network at work with 5 PC's running Win98
> I want to replace some of them with linux (Mandrake 8.0)
> The question is how can the linux computers "see" the win98 boxes in the
> same way windows see other PS's in "Netowork Neiberhood"
Fundamentally, you need to run Samba's client programs -- probably
smbmount, or a GUI front-end to same. smbmount comes with most or all
Samba packages for Linux, but it's a text-mode program. To use it, issue
a command like the following:
smbmount //server/share /local/mountpoint
Change "server" to the server name, "share" to the share name, and
"/local/mountpoint" to wherever you want it mounted. You may need to be
root to issue this command, or make the smbmnt and smbumount utilities
SUID root. You may also need to add parameters to send a specific
username when you issue this command. (You can also use the ordinary
mount command to do this, using slightly different syntax.)
Alternatively, various GUI front-ends exist, such as the following:
- LinNeighborhood: http://www.bnro.de/~schmidjo/
- Kruiser: http://devel-home.kde.org/~kruiser/
- xSMBrowser: http://www.public.iastate.edu/~chadspen/
For more information, consult some Samba documentation. I'm not sure
what's available at http://www.samba.org on this topic, but there's
probably something. I know I cover this in a couple of my books, like
_Linux Samba Server Administration_ (http://www.rodsbooks.com/samba/),
but buying a whole book just to learn how to mount a share is probably
overkill. Also, the smbmount syntax has changed a couple of times in
the last couple of years, so an older book may give you incorrect
information if you're using a newer Samba (as you would be with
Mandrake 8.0).
> I know that they are accesed from "Local Network" in Konqueror but when I
> klik on it tells me that it cannot find localhost.
> There is no problem when I ping the other PC's
I'm not too familiar with Konqueror, so I don't know what it's doing.
The localhost error can probably be corrected by adding the following
entry to your /etc/hosts file:
127.0.0.1 localhost
I don't know if Konqueror includes SMB/CIFS browsing abilities. (If it
does, that puts it in a class with the GUI front-ends I referred to
above. My guess is it would actually be using Kruiser for this task.)
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: Neil W Rickert <[EMAIL PROTECTED]>
Crossposted-To: comp.mail.sendmail
Subject: Re: child wait process hangs my outgoing emails
Date: 20 May 2001 11:04:46 -0500
Jim Valavanis <[EMAIL PROTECTED]> writes:
>Neil W Rickert wrote:
>> Jim Valavanis <[EMAIL PROTECTED]> writes:
>> >OK, I've spent a lot of time trying to figure this out, but I haven't
>> >gotten far. I've setup sendmail many times before but this one, running
>> >on Linux 2.2.16 on a DELL server, sendmail 8.11.13 (just upgraded this
>> >to see if it helps), is causing me lots of problems.
>> >I have tried sending mail from different clients (eudora,netscape,etc)
>> >but I just get timeouts. On the server I see from ps
>> >sendmail: server mail-server [192.168.1.10] child wait
>> That's normal.
>> There should be two sendmail processes related to this message.
>> That is one of them. Check what the other is doing.
>Yea the other process is doing this...
>sendmail: ./f4KFaJA14105 ppp1.mydomain.com [192.168.1.41]: DATA
Then the body of the message is currently being sent.
If there is a problem here, it is likely to be a network problem --
not all of the message is getting through, and your sendmail is still
waiting for that final "." on a line by itself, to indicate the end
of transmission.
------------------------------
From: LXQ <[EMAIL PROTECTED]>
Subject: Re: How do I "Kill" Netscape?
Date: Mon, 21 May 2001 01:53:20 +0900
On Sat, 19 May 2001 19:17:34 GMT
Lamar Thomas <[EMAIL PROTECTED]> wrote:
> I am running RH 7.1 and Netscape 4.76. Every now and then Netscape
> locks up on me and it won't "Close". I have tried "Alt+F4" and "Close"
> and "Exit" from the file menu. The only way I have been able to get out
> of it is to exit and re-start "X Windows" Anyone know how I can "Kill"
> Netscape without having to exit "X Windows"? I am using KDE as my
> desktop. Thanks,
1. Don't crossport your posting!
2. Don't force Followup-To: newsgroup! Not all people subscribe the same
newsgroup as you. Post there, get the answer there!
3. Change to Mozilla, it is less buggy than Netscape.
To kill your netscape:
ps -aux | grep netscape
You will get the PID of the locking up Netscape. Use kill to kill it.
kill -9 PID <-- Put the Netscape PID here
------------------------------
From: "Billy" <[EMAIL PROTECTED]>
Subject: Shell script
Date: Mon, 21 May 2001 00:22:21 +0800
If I want to search all the files with .txt which contains the string
"coomputer". How to write a shell script to sort them out and retrieve top
10? I have already write one but not so good. Can I minimize the usage of
temp file? Thanks.
!#/bin/sh
list=`ls | grep .txt`
for s in $list
do
cat $s | grep computer >> temp1
done
sort temp1 > temp2
head -10 temp2 > output
------------------------------
From: [EMAIL PROTECTED] (Jim Cochrane)
Subject: Re: Shell script
Date: 20 May 2001 10:58:20 -0600
In article <9e8qpp$[EMAIL PROTECTED]>, Billy <[EMAIL PROTECTED]> wrote:
>If I want to search all the files with .txt which contains the string
>"coomputer".
For this part, you can do (from the directory from which you want to search
for the files):
find . -name '*.txt' -exec grep -l computer {} ';'
It will list all files in the current directory (recursively - in
subdirectories ...) that match *.txt and that contain 'computer'.
>How to write a shell script to sort them out and retrieve top
>10? I have already write one but not so good. Can I minimize the usage of
>temp file? Thanks.
>
>!#/bin/sh
>list=`ls | grep .txt`
>for s in $list
>do
>cat $s | grep computer >> temp1
>done
>sort temp1 > temp2
>head -10 temp2 > output
>
>
>
>
--
Jim Cochrane
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: A CPU cooler for Linux?
Date: Sun, 20 May 2001 01:55:08 +0100
In article <bLAN6.578$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
>>>>>Is there a way to check this in a config file?
>>>
>>>> grep -i idle/usr/src/linux/.config
>>>
>>>Running this doesn't seem to do anything?
>
>> There seems to be be a typo, try 'grep -i idle /usr/src/linux/.config'
>> (without the quotes, of course:)
>
>I get: grep: /usr/src/linux/.config: No such file or directory
if you read my post, you'll see that I said (words to the effect of) "if you
have the 2.2 kernel source installed" which I'm guessing you don't, or maybe
you've got it in a different directory from the usual...
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\ & some 6 / 7 ball exercises
------------------------------
From: Steve Fletcher <[EMAIL PROTECTED]>
Subject: Wierdest Damn Problem Regarding Linux Login
Date: Sun, 20 May 2001 11:30:33 -0600
Greetings everyone ....
Here is the issue ... I came in this morning and attempted to
login to my linux (2.2.14-5.0..Red Hat 6.2 (Zoot)) system via
the screen saver relogin prompt. Dispite a dozen or so very careful
attempts my login continued to failed ... so I rebooted via the power
switch. All the boot up messages were quite normal. The following
login text appears as normal...
Red Hat Linux release 6.2 (Zoot)
Kernel 2.2.14-50 on an i686
system6 login:
I type my user login name and hit return and NOTHING happens.
The "Password:" prompt never appears. this also unsurprisingly
happens for root and several other user logins I have.
When I attempt to telnet onto the linux system I get ..
Trying bla.bla.bla.blah...
Connected to system6.
Escape character is '^]'.
Red Hat Linux release 6.2 (Zoot)
Kernel 2.2.14-5.0 on an i686
BUT NO LOGIN prompt!!!!
HOWEVER ... I can ftp onto the system and navigate as freely as I
choose.
So I copied some crutial files over and am considering wiping the disk
clean and reinstalling. But before I do does anyone know what has
happened?
Has anyone seen this before?
Any simple solutions?
I looked at the /etc/inittab file and all looks well.
--
Steve Fletcher E_MAIL: [EMAIL PROTECTED]
Sr Software Engineer VOICE : (505) 434-7102
National Solar Observatory/SP FAX : (505) 434-7029
Sunspot, NM 88349 USA WWW : http://www.sunspot.noao.edu
------------------------------
From: [EMAIL PROTECTED] (Frank McKenney)
Subject: Re: Linux as voicemail system?
Date: 20 May 2001 18:04:05 GMT
Reply-To: [EMAIL PROTECTED] (Andy Spayam)
In <[EMAIL PROTECTED]>, Carter Brey <[EMAIL PROTECTED]> writes:
> Kellergroup publishes a nifty fax/voicemail application called PM Fax.
>It was originally developed for the OS/2 platform, and has been ported
>to
>Linux-X using static Motif libraries.
Carter,
Thanks for taking the time to respond.
I was aware of PM Fax in the OS/2 market (I'm running Warp 4 myself),
but wasn't aware that it had migrated to Linux. This is good news.
> ... I use it all the time, and it's
>wonderful. I think it costs around 60 bucks.
Well, good software costs money to develop (wish the corollary were
true (;-)). I still want to get some understanding of how this all
works, but it's nice to know there's an easy out if I get tired of
beating myself bloody. <grin>
> ... It comes with drivers for
>several voice modem chipsets. You can download a lite demo and upgrade to
>the full Pro version by registering on the web and inserting an unlocking
>code. Of course if you cannot run X on your machines it will do you no
>good...
My current 64Mb P5-100 system runs XFree-OS/2 just fine, but I may wind
up having to upgrade so I can run the Win32 software most likely to come
with my electronic camera. This will free up the P5-100 system to be my
main Linux system, and the old 486DX4-100 will remain the Linux "test"
system... or maybe become my telephone host. Ever noticed how, after a
year or so of replacing parts and upgrading things, one suddenly has
enough parts for Another Computer? <grin>
>I know they've changed the download site recently, but if you go to
>wwwkellergroup.com I think you'll be re-directed.
After a bit of page-turning, I wound up at CDS, Inc.'s description of
hte product:
http://www.cds-inc.com/prodinfo/pmfaxlinux.html
I think I mised a step along the way, but it appears that this is the
Linux port of the "Pro" version of the FaxWorks applet distributed with
OS/2 Warp 3 and 4. And, for those who don't need/want the voice
features, there is a downloadable-and-free FAX-only Linux package.
(It wasn't quite clear how they would be supporting "print support for
all you applications", but it sounds good! (;-))
Thanks again.
Frank McKenney, McKenney Associates
Richmond, Virginia / (804) 320-4887
Munged E-mail: frank uscore mckenney aatt mindspring ddoott com
------------------------------
** 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
******************************