Linux-Misc Digest #905, Volume #24               Fri, 23 Jun 00 16:13:04 EDT

Contents:
  Re: A bash bug? (Dirk Reckmann)
  Networking glitch:  What's Up? (David Steuber)
  Re: voice/speech (David Steuber)
  Re: Binary <> Linux and Ethernet cards (Binary)
  Weird email to FETCHMAIL-DAEMON (long) (David Steuber)
  Re: GNU/LINUX at city of Boston Public Library departments (David Steuber)
  Re: mind hours in development Linux vs. Windows (David Steuber)
  Re: The future of sound on Linux:  ALSA or OSS? (David Steuber)
  Re: How to detect a program is being traced (David Steuber)
  Re: Helix Gnome and esd ("Michael B. Robinson")
  Linux - Auto-logout - disable?? (Paul Reilly)
  Re: Problem running files... :( (Paul Kimoto)
  Re: ifconfig required? ("Ross M. Greenberg")
  find files with pattern ("frank iversen")
  Re: Problem running files... :( (Paul Kimoto)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Dirk Reckmann)
Subject: Re: A bash bug?
Date: 23 Jun 2000 18:32:17 GMT
Reply-To: [EMAIL PROTECTED]

On Fri, 23 Jun 2000 05:13:06 -0400, Guardian <[EMAIL PROTECTED]> wrote:
>On Thu, 22 Jun 2000 14:16:39 -0400, Mark Bratcher <[EMAIL PROTECTED]>
>wrote:
>>Suppose I have the following directory:
>>
>>drwxrwxr-x   5  fred    users          1024  May 30 10:28 ShareDir
>>
>>Suppose further that I am logged in as 'bill' who is also in the 'users'
>>group. If the /etc/passwd file has /bin/bash as the login shell for
>>'bill', and I change directory to ShareDir, I do not have permission to
>>create a file there. However, if I set the login shell for 'bill' in
>>/etc/passwd to be /bin/csh, I _am_ able to create a file under ShareDir
>>when logged in as 'bill'.
>>
>>Is this a bug somewhere with bash? BTW, I'm running RedHat 6.2, kernel
>>2.2.14-5

Sounds like a bug, but i'm no expert... Which error message do you get?

>If I understand correctly, there is no problem here.  You will not
>find a directory with these set permission outside a users home
>directory, unless you create one and chmod it.

Why shouldn't he create one? In my university this is the common
way to exchange files between workgroups. All the files of this
group are in an directory with perms rwxrws---, so everybody in our
group can put files in this dir, read them etc. (BTW we're running
bash under Solaris, it works perfectly!) The s bit is set, so that
every new file gets the GID of our group.

>Because it would be impossible for a user in the "users"
>group to create such a share in any directory other than his own; then
>no one else could even "ls" the directory to read the files much less
>create files.

Why not? you don't need read perms in the user's home dir, you only
need the x bit set, so you can change to it. If you know the sharedir's
name, you can "cd ~fred/ShareDir". Since you have read perms of this dir,
you CAN "ls .".

And since you own your home dir, you can "chmod ga+x ~". I don't think,
it's an security hole letting everybody change to your home dir, since
nobody can ls anything anyway...

In the meantime I tried this at home with GNU bash, version 1.14.7(1)
under RedHad 6.0 - no problems! Post a little more about you're try!


Ciao,
  Dirk

------------------------------

From: David Steuber <[EMAIL PROTECTED]>
Subject: Networking glitch:  What's Up?
Crossposted-To: comp.os.linux.networking,comp.os.linux.hardware
Date: Sun, 18 Jun 2000 22:59:59 GMT

I have the Gateway Solo 5150 laptop computer running kernel 2.2.16 and
pcmcia-cs 3.1.16.  Occasionally, when I am xfering data over the
network ( 3COM 575B pcmcia NIC ), the networking services freeze up
quite hard.  The only cure is to open up cardmanager and reset the
NIC.

david@solo:> /sbin/lsmod
Module                  Size  Used by
3c575_cb               19948   2
cb_enabler              2280   2 [3c575_cb]
ds                      6728   2 [cb_enabler]
i82365                 23612   2
pcmcia_core            47680   0 [cb_enabler ds i82365]

Either there is a bug in pcmcia-cs, the driver for the NIC, or the NIC
has a hardware bug.  How do I find out which it is?  I suppose the bug
could also be in the kernel or NFS.

This problem has existed for all earlier kernels that I have used in
the 2.2.x and 2.0.36 series.  I have used earlier versions of
pcmcia-cs as well.  In some cases, I used the versions as they came
from SuSE, and others I have been using my own builds.  I am currently
running SuSE 6.2 and my own compiled kernel and pcmcia-cs.

The compiler makes no difference either.

This bug has a high probability of occuring when I am listening to
music over the lan.  My other machine has a larger HD, so I keep my
mp3 files there, but I occasionally play them on the laptop and listen
with headphones.  I use NFS to mount the disks from the other machine.

I have on occasion moved large amounts of data over the network, using
NFS, without problem.  This is one of those 'intermitent' bugs.

Any useful suggestions that help track down and kill the culprit will
be gratefully accepted.

--
David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.

All bits are significant.  Some bits are more significant than others.
        -- Charles Babbage Orwell

------------------------------

From: David Steuber <[EMAIL PROTECTED]>
Subject: Re: voice/speech
Date: Mon, 19 Jun 2000 12:59:58 GMT

"Bryant Graham" <[EMAIL PROTECTED]> writes:

' Is there any speech products for Linux on the market? Similar to
' DragonDictate or MS's product?

SuSE 6.2 came with IBM's viavoice.  I haven't tried it out yet.  I
would check the IBM site for it.

--
David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.

All bits are significant.  Some bits are more significant than others.
        -- Charles Babbage Orwell

------------------------------

From: Binary <.@.>
Subject: Re: Binary <> Linux and Ethernet cards
Date: Fri, 23 Jun 2000 09:05:32 GMT

**** Post for FREE via your newsreader at post.usenet.com ****

On 22 Jun 2000 15:42:52 -0500, [EMAIL PROTECTED] (Paul Kimoto)
wrote:

>Reputedly this card uses a "Sundance" chip.  If so, it may be supported
>by Donald Becker's (who else?) driver available through
>
>http://www.scyld.com/network/via-rhine.html

Thanks a lot.


Binary

Binary "at" wol "dot" es
| at = "@"  |  dot  = "." |


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
                      http://www.usenet.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

------------------------------

From: David Steuber <[EMAIL PROTECTED]>
Subject: Weird email to FETCHMAIL-DAEMON (long)
Date: Thr, 22 Jun 2000 06:00:03 GMT

I occasionally get odd messages from my ISP rejecting e-mail that I
did not send!  Well, I guess I did send it, I just didn't know I sent
it.  I'm thinking that I have a setting wrong in fetchmail, and it is
trying to forward spam from my account.  I would like to put an end to
this.  Can someone tell me how?  Here is an example of such a message
from my ISP:

>From [EMAIL PROTECTED]  Wed Jun 21 22:18:30 2000
Return-Path: <[EMAIL PROTECTED]>
Received: from localhost (david@localhost [127.0.0.1])
        by solo.david-steuber.com (8.9.3/8.9.3) with ESMTP id WAA12782
        for <david@localhost>; Wed, 21 Jun 2000 22:18:30 -0400
Received: from email.steuber.com
        by localhost with POP3 (fetchmail-4.7.8)
        for david@localhost (single-drop); Wed, 21 Jun 2000 22:18:30 -0400 (EDT)
Received: from smtp-out1.bellatlantic.net [199.45.39.156] by email.steuber.com with 
ESMTP
  (SMTPD32-6.00) id AE1DB8001DE; Wed, 21 Jun 2000 19:22:05 -0400
Received: from localhost (localhost)
        by smtp-out1.bellatlantic.net (8.9.1/8.9.1) with internal id TAA16587;
        Wed, 21 Jun 2000 19:21:59 -0400 (EDT)
Message-Id: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
        boundary="TAA16587.961629719/smtp-out1.bellatlantic.net"
Auto-Submitted: auto-generated (failure)
X-RCPT-TO: <[EMAIL PROTECTED]>
X-UIDL: 21
Status: U
From: Mail Delivery Subsystem <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Returned mail: Host unknown (Name server: localhost.localdomain: host not 
found)
Date: Wed, 21 Jun 2000 19:21:59 -0400 (EDT)

This is a MIME-encapsulated message

--TAA16587.961629719/smtp-out1.bellatlantic.net

The original message was received at Wed, 21 Jun 2000 19:21:57 -0400 (EDT)
from adsl-151-197-207-231.bellatlantic.net [151.197.207.231]

   ----- The following addresses had permanent fatal errors -----
<[EMAIL PROTECTED]>

   ----- Transcript of session follows -----
550 <[EMAIL PROTECTED]>... Host unknown (Name server: 
localhost.localdomain: host not found)

--TAA16587.961629719/smtp-out1.bellatlantic.net
Content-Type: message/delivery-status

Reporting-MTA: dns; smtp-out1.bellatlantic.net
Received-From-MTA: DNS; adsl-151-197-207-231.bellatlantic.net
Arrival-Date: Wed, 21 Jun 2000 19:21:57 -0400 (EDT)

Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.1.2
Remote-MTA: DNS; localhost.localdomain
Last-Attempt-Date: Wed, 21 Jun 2000 19:21:58 -0400 (EDT)

--TAA16587.961629719/smtp-out1.bellatlantic.net
Content-Type: message/rfc822

Received: from solo.david-steuber.com (adsl-151-197-207-231.bellatlantic.net 
[151.197.207.231])
        by smtp-out1.bellatlantic.net (8.9.1/8.9.1) with ESMTP id TAA16581
        for <[EMAIL PROTECTED]>; Wed, 21 Jun 2000 19:21:57 -0400 (EDT)
From: [EMAIL PROTECTED]
Received: from localhost (david@localhost [127.0.0.1])
        by solo.david-steuber.com (8.9.3/8.9.3) with SMTP id TAA12429
        for <[EMAIL PROTECTED]>; Wed, 21 Jun 2000 19:22:01 -0400
Date: Wed, 21 Jun 2000 19:22:01 -0400
Message-Id: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
        boundary="om-mani-padme-hum-12407-12393-961629721"

--om-mani-padme-hum-12407-12393-961629721
Content-Type: text/plain

Our spam filter rejected this transaction.


--om-mani-padme-hum-12407-12393-961629721
Content-Type: message/delivery-status

Reporting-MTA: dns; localhost

Final-Recipient: rfc822; david
Last-Attempt-Date: Wed, 21 Jun 2000 19:22:01 -0400 (EDT)
Action: failed
Status: 3.0.0
Diagnostic-Code: 354 Enter mail, end with "." on a line by itself

--om-mani-padme-hum-12407-12393-961629721
Content-Type: text/rfc822-headers

Received: from smtp05.primenet.com [206.165.6.135] by email.steuber.com with ESMTP
  (SMTPD32-6.00) id A612AE501DE; Wed, 21 Jun 2000 15:22:58 -0400
Received: (from daemon@localhost)
        by smtp05.primenet.com (8.9.3/8.9.3) id MAA12126
        for <[EMAIL PROTECTED]>; Wed, 21 Jun 2000 12:23:10 -0700 (MST)
Received: from ip-54-007.scf.primenet.com(206.132.54.7)
 via SMTP by smtp05.primenet.com, id smtpdAAAtbayLx; Wed Jun 21 12:23:00 2000
Date: Wed, 21 Jun 2000 12:29:41 -0700 (MST)
From: [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: great reply
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-RCPT-TO: <[EMAIL PROTECTED]>
X-UIDL: 259276858
Status: U

--om-mani-padme-hum-12407-12393-961629721--

--TAA16587.961629719/smtp-out1.bellatlantic.net--


--
David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.

All bits are significant.  Some bits are more significant than others.
        -- Charles Babbage Orwell

------------------------------

From: David Steuber <[EMAIL PROTECTED]>
Subject: Re: GNU/LINUX at city of Boston Public Library departments
Date: Thr, 22 Jun 2000 06:00:06 GMT

David Gallardo <[EMAIL PROTECTED]> writes:

' Which again points out that your experience is exceptional.  If my moth=
er, who has
' been _productive_ with a pc for 15 years, mostly with MS products had o=
nly the
' option of vi and latex, she probably would've (and should've) stuck wit=
h a
' typewriter.

I dare say that vi + latex is an easier way to do documents than a
typewriter.  But what do I know?=A0 I use XEmacs and plain TeX.

-- =

David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.

All bits are significant.  Some bits are more significant than others.
        -- Charles Babbage Orwell

------------------------------

From: David Steuber <[EMAIL PROTECTED]>
Subject: Re: mind hours in development Linux vs. Windows
Date: Thr, 22 Jun 2000 06:00:05 GMT

Robert Heller <[EMAIL PROTECTED]> writes:
' Hotmail presently seems to be running on FreeBSD machines:
'
' www.hotmail.com is running Apache/1.3.6 (Unix) mod_ssl/2.2.8 SSLeay/0.9.0b on FreeBSD
'
' (Visit http://www.netcraft.com/whats/?host=www.hotmail.com to check this.)

OR:

david@solo:> telnet www.hotmail.com 80
Trying 209.185.243.7...
Connected to www.hotmail.com.
Escape character is '^]'.
HEAD / HTTP/1.0

HTTP/1.1 302 Found
Date: Thu, 22 Jun 2000 05:35:09 GMT
Server: Apache/1.3.6 (Unix) mod_ssl/2.2.8 SSLeay/0.9.0b
Location: http://lc1.law5.hotmail.passport.com/cgi-bin/login
Connection: close
Content-Type: text/html

Connection closed by foreign host.
david@solo:> telnet lc1.law5.hotmail.passport.com 80
Trying 209.185.243.7...
Connected to lc1.law5.hotmail.passport.com.
Escape character is '^]'.
HEAD /cgi-bin/login HTTP/1.0

HTTP/1.1 200 OK
Date: Thu, 22 Jun 2000 05:36:40 GMT
Server: Apache/1.3.6 (Unix) mod_ssl/2.2.8 SSLeay/0.9.0b
Cache-Control: no-cache
Expires: Mon, 01 Jan 1999 00:00:00 GMT
Pragma: no-cache
Set-Cookie: BrowserTest=Success%3f;  domain=.passport.com; path=/
Connection: close
Content-Type: text/html

Connection closed by foreign host.

Hmmm.  No mention of FreeBSD.  Where did Netcraft get that from?  And
why are we suddenly in another domain?

david@solo:> telnet whois.networksolutions.com 43
Trying 216.168.224.69...
Connected to whois.networksolutions.com.
Escape character is '^]'.
passport.com
The Data in Network Solutions' WHOIS database is provided by Network
Solutions for information purposes, and to assist persons in obtaining
information about or related to a domain name registration record.
Network Solutions does not guarantee its accuracy.  By submitting a
WHOIS query, you agree that you will use this Data only for lawful
purposes and that, under no circumstances will you use this Data to:
(1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail
(spam); or  (2) enable high volume, automated, electronic processes
that apply to Network Solutions (or its systems).  Network Solutions
reserves the right to modify these terms at any time.  By submitting
this query, you agree to abide by this policy.

Registrant:
Microsoft Corporation (PASSPORT6-DOM)
   One Microsoft Way
   Redmond, WA 98052-6399
   US

   Domain Name: PASSPORT.COM

   Administrative Contact:
      Microsoft Hostmaster  (MH37-ORG)  [EMAIL PROTECTED]
      Microsoft Corp
      One Microsoft Way
      Redmond, WA 98052
      US
      425 882 8080
      Fax- - - .: 206 703 2641
   Technical Contact, Zone Contact:
      MSN NOC  (MN5-ORG)  [EMAIL PROTECTED]
      Microsoft Corp
      One Microsoft Way
      Redmond, WA 98052
      US
      425 882 8080
      Fax- PATH
   Billing Contact:
      Gudmundson, Carolyn  (CG6635)  [EMAIL PROTECTED]
      Microsoft Corporation
      One Microsoft Way
      Redmond , WA 98052
      +1 (425) 882-8080 (FAX) +1 (425) 936-7329

   Record last updated on 27-Dec-1999.
   Record expires on 03-Oct-2000.
   Record created on 02-Oct-1996.
   Database last updated on 21-Jun-2000 20:31:20 EDT.

   Domain servers in listed order:

   DNS4.CP.MSFT.NET             207.46.138.11
   DNS5.CP.MSFT.NET             207.46.138.12

Connection closed by foreign host.


Gee, I wish Network Solutions told me about the agreement _before_ I
submited the query ;-)  So how come I get a bunch of spam when _I_
register a domain?  Surly no one would be using the whois database for
such a purpose.

--
David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.

All bits are significant.  Some bits are more significant than others.
        -- Charles Babbage Orwell

------------------------------

From: David Steuber <[EMAIL PROTECTED]>
Subject: Re: The future of sound on Linux:  ALSA or OSS?
Crossposted-To: comp.os.linux.development.apps
Date: Thr, 22 Jun 2000 06:00:04 GMT

"Craig Andrews" <[EMAIL PROTECTED]> writes:

' Only problem I have is that Quake seg-faults with the Alsa driver, but not
' the OSS ;-)

I couldn't get ALSA to work.  Fortunately, I found the incantation
that gets the kernel to recognize my sound chip and make it sing, or
something ;-).

As it is not PnP, I went ahead and just compiled the code straight
into the kernel.  Who needs any stinkin' drivers?

Now if I could just find a detailed specification on Dolby's AC-3
codec, AKA Dolby Digital.

--
David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.

All bits are significant.  Some bits are more significant than others.
        -- Charles Babbage Orwell

------------------------------

From: David Steuber <[EMAIL PROTECTED]>
Subject: Re: How to detect a program is being traced
Date: Thr, 22 Jun 2000 22:00:02 GMT

[EMAIL PROTECTED] writes:

' Is there any way for a C program to detect whether it's being traced
' (by tools like strace and gdb) or not? For security, the UNIX/Linux OS
' should provide a way for a program to turn on and off the capability
' for other process to trace/debug it. If you know anything about it,
' please send a email to me, thanks a lot.

Can a fish tell that it is in a bowel and not a pond?

Actaully, to some extent, programs do know when they are being traced,
but they won't explain how they know or even let on that they know.
Why else would certain, hard to track down, bugs disappear when you
ran the program inside a debugger?  The answer is that it knows it is
being debugged and deliberately thwarts your efforts to debug it.

It is all part of The Conspiracy.

--
David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.

All bits are significant.  Some bits are more significant than others.
        -- Charles Babbage Orwell

------------------------------

From: "Michael B. Robinson" <[EMAIL PROTECTED]>
Subject: Re: Helix Gnome and esd
Date: Thr, 22 Jun 2000 22:45:00 GMT
Reply-To: [EMAIL PROTECTED]

Chuck Hakari wrote:

> Since no one else had a solution, I will let this newsgroup know what I
> did for now. I went into session management and got rid of the sound
> item. I don't use system sounds, so it doesn't hurt anything for now.
>
> Chuck Hakari wrote:
> >
> > I have just installed Helix Gnome from RPM's over an existing Gnome
> > installation on a Redhat 6.0 system. The problem I am having now is that
> > the session appears to lock up, but when I switch terminals and run top,
> > I find that esd is running with 97% of the cpu. Most of the time I can
> > kill esd and get back to work, but I would like to know if anyone else
> > has had this problem.
> >
> > Thanks!
> >
> > Chuck Hakari
> > [EMAIL PROTECTED]
>
> --
> Chuck Hakari
> [EMAIL PROTECTED]

Chuck,
I just installed Helix and have not had the problem you refer to.  Only
running for 24 hours though.

BTW, I am somewhat new to linux and am trying to configure GNOME mimi types
to open files such as .ppt, .doc, .xls with staroffice automatically when I
double-click on them.  I entered in the edit mime types dialog box the
following:
application/vnd.ms-powerpoint

entered the appropriate file extensions:

------------------------------

From: Paul Reilly <[EMAIL PROTECTED]>
Subject: Linux - Auto-logout - disable??
Date: Thr, 22 Jun 2000 23:13:31 GMT

Hi,

I want to disable the auto-logout feature on linux tcsh.
I've checked the system wide config files csh.login and csh.cshrc
and my local startup files but nowhere can I find a reference to where
the
auto-logout/timeout feature is set. Can anyone point me in the right
direction?

Thanks

Paul


------------------------------

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Problem running files... :(
Date: Fri, 23 Jun 2000 11:34:38 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, John Eriksson wrote:
> I downloaded Doom a few days ago, unpacked it, and tried to run the
> executables
> but I only get the error:
> "bash: ./xdoom: cannot execute binary file"
>
> I mean shouldn't I be able to run it as it is?  In the Readme it says
> nothing
> about having to do womething else but run the file... :/

You may need to have (different) libraries available on your system.  What
are the outputs of "file ./xdoom" and "ldd ./xdoom"?

--
Paul Kimoto

------------------------------

From: "Ross M. Greenberg" <[EMAIL PROTECTED]>
Subject: Re: ifconfig required?
Date: Fri, 23 Jun 2000 13:41:57 GMT

Thanks guys!  We're getting closer.

To reiterate, I've gotten Corel to recognize my PnP ISA card. From the
Windows side of the net, no problem. From the Linux side, nothing exists,
and I can't get off-system. Navigator, for example, doesn't appear to even
see eth0.  In order for even Windows Network Neighborhood to see anything, I
need to ifconfig manually (I'm sticking that into init.d) and I need to
initialize it though Corel's Control Center | Network.

What I want to have is Network Neighborhood' functionality upon bootup.

Corel support is virtually useless.

Anybody done this?

brian moore <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Thu, 22 Jun 2000 08:45:16 -0400,
>  Ross M. Greenberg <[EMAIL PROTECTED]> wrote:
> > Nope.  No netcfg: Corel.
>
> Well, on debian slink, which Corel is based on, that's in
> /etc/init.d/network.. should be trivial to change.
>
> > David .. <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > "Ross M. Greenberg" wrote:
> > > >
> > > > So, I got my ISA Realtek8019 card working.  Sorta.  pnpdump
generated an
> > > > almost usable conf file; stealing stuff from the Windows side of
things
> > got
> > > > me a legit IO address and IRQ.
> > > > However, I have to manually do an ifconfig and feed it its IP --
else
> > there
> > > > no eth0.  I can certainly stick the needed lines/commands into an rc
> > file,
> > > > but there has to be a better way.
> > >
> > >
> > > As root "netcfg"
> > >
> > > --
> > > Registered with the Linux Counter.  http://counter.li.org
> > > ID # 123538
> >
>
>
> --
> Brian Moore                       | Of course vi is God's editor.
>       Sysadmin, C/Perl Hacker     | If He used Emacs, He'd still be
waiting
>       Usenet Vandal               |  for it to load on the seventh day.
>       Netscum, Bane of Elves.


------------------------------

From: "frank iversen" <[EMAIL PROTECTED]>
Subject: find files with pattern
Date: Fri, 23 Jun 2000 12:38:16 GMT

Hello,
I want to find files with an pattern in a directory-tree,
per example all header-files with FNM_FL.

In SCO
'find . -name *.h -exec grep FNM_FL {}'
works.

To find the files:
  find . -regex .*\\.h -print
is ok.

But the format of exec-command ?




------------------------------

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Problem running files... :(
Date: Fri, 23 Jun 2000 19:25:38 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, John Eriksson wrote:
> "file ./xdoom":
> ./xdoom: Linux/i386 demand-paged executable (ZMAGIC), stripped

These days all Linux executables are in the "ELF" format (run something
like "file /bin/bash" to see "file"'s output on them).  This executable is
in the obsolete format usually (poorly) called "a.out".  Your kernel needs
to support this format, either by having it built in to the kernel directly
(CONFIG_BINFMT_AOUT=y) or by having the "binfmt_aout" module (available
and) loaded.

> "ldd ./xdoom":
>       not a dynamic executable

(Because of the former, this output might not be reliable.)

--
Paul Kimoto

------------------------------


** 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 (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

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
******************************

Reply via email to