Linux-Misc Digest #395, Volume #27               Mon, 19 Mar 01 11:13:03 EST

Contents:
  Re: Text files -- Many into One -- How?? ("Eric")
  Re: Midi not installed by default in Mandrake 7.2 ("Peter T. Breuer")
  Re: Poweroff still failes ("Peter T. Breuer")
  Re: Text files -- Many into One -- How?? ("Peter T. Breuer")
  Re: Text files -- Many into One -- How?? ("Peter T. Breuer")
  Re: good newsreader? ("steve")
  Re: Stripping lines from text file?? (Lee Allen)
  Re: Help... no mail (Gerald Willmann)
  Re: Apache 1.3.19 download?? ("" <[EMAIL PROTECTED]>)
  Re: QuickTime (Joshua Baker-LePain)
  Re: Text files -- Many into One -- How?? (Stefano Ghirlanda)
  Re: Text files -- Many into One -- How?? (Stefano Ghirlanda)
  Re: error in total memory? (Alumne FIB - MARC COLL CARRILLO)
  Re: Redirect stdout from background process started in shell script??? (Pat Hennessy)
  Re: Text files -- Many into One -- How?? ("Eric")
  Release date for Netscape 6.1 ? (Arctic Storm)
  Re: boot up problem (Tim Limbert)

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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Text files -- Many into One -- How??
Date: Mon, 19 Mar 2001 14:33:21 +0100

> > > Then why can I use cat to copy files?
> > >
> > > cat file1 > file2
> > >
> >
> > You can't.
> > You can cat a file to stdout, and redirect that (this a shell function)
to
> > another file
>
> But don't you need the shell even when you use cat to concatenate
> files? The stdout per se is not exceedingly useful.

?
I don't get this.
cat concatenates one file to another.
This other file can be stdout.

Redirecting is not a function of cat, but a function from the shell.
So you will need a shell if you redirect a file.

Obviously you will need a shell to use cat in the first place.

> If you do not allow me to say that cat can be used to copy files, I
> will not allow you to say that cat can be used to make a file from
> concatenating other ones :-)
>
> > It may look like copying, it is not.
>
> Of course it is the same. I get a copy of the file, that's copying.

No it's not (at least not IMO).
You create a new file, with as input the output from another file.
You could very well put some filtering in between.
cat file1 | grep -v "a string" > file2
You must agree that this is not copying, but not essentially
different from what you did.

You can call it copying, without the filter, I won't do that.
(But hey, I never liked to conform anyway :-) )

> Oh, and I could have used dd too. And there are a lot of unix programs
> out there that replicate partially each other functionality.

yeah and tar/zip constructions that untar/unzip again too.
Still copying?
You tar something on your system.
I untar it here. Still copying?

> For
> instance:
>
> ln -s file1 file2    # make file2 a symbolic link to file1
> cp -s file1 file2    # same thing
>
> Heresy?

nice demo.

> My point is that we should not tease a guy because he said that he
> thought cp has some of the same functionality of the Dos COPY,
> invoking some Great Unix Way of doing things.

With that statement I can agree.

Eric



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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions,comp.os.linux,alt.os.linux.mandrake
Subject: Re: Midi not installed by default in Mandrake 7.2
Date: Mon, 19 Mar 2001 14:12:13 +0100

In comp.os.linux.misc preamp <[EMAIL PROTECTED]> wrote:
> like play a common file format like midi, which Windows has had for 
> years.....   and it has been very difficult, especially as nobody seems to 
> know anything about it... I got very few suggestions, and none could solve 
> the problem.

Why didn't you ask the authors? Personally, I don't use midi, don't
know what it is, and have no interest in it.  But as far as I recall,
the SB live!  has no midi hardware (check!  my recollectionss are worth
2c) and midi is a software only thing for it.  As such any software only
solution would have worked ..  such as compiling timidity and telling it
to talk to /dev/dsp, which you would set up by running the alsa oss
emulation drivers on top of the basic alsa sound support.


Peter

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Poweroff still failes
Date: Mon, 19 Mar 2001 14:23:44 +0100

Alex Fitterling <[EMAIL PROTECTED]> wrote:
> Hello the power-off feature is on my system still a no go feature,

What's power off? Do you mean telling the mobo to power down after
halting the O/S :-).

I am trying to make my dell 300 reboot when  I say
so, but alas no, it won't. Is that related? It reboots fine under kernel
2.2.18 but 2.4.0 just leaves it stuck there and halted, saying "system
rebooting", waiting for a button press. Is that related?

Being aware that apm/apci and smp don't mix (it's a dual mobo with one
processor in at present, and an smp kernel), I have all kinds of anti
apm innoculations in the lilo append line, such as

   apm=off reboot=cold

but no go. Just halt.

> I am using Kernel 2.4.2 which of course I compiled with the apm
> feature. At shutdown, at anytime I get kernel panic as the only
> result, but powering off the system will fail.

Sounds like broken apm or mobo without apm/apci.

> I think as an result of the power-off behavior, and of one conclusion
> made upon those, I think it is due a hardware failure, or conflict. I
> am using K6XV3+ Main-board (VIA chip-set), with K6III-400.

Congrats on your brilliant conclusion. "It works for everyone else, and
it doesn't work for me, so I must be unusual".

> For example if someone shows, how to call power-off in a C code, so I

Just take the code from the power-off you have.

> have more comfortability. Also in my case, as I was thinking to have
> power-off triggered by one of my scripts which acts on special behavior

I really don't get how one can power off a machine when it's running!

> of lm_sensor package. My system is connected into LAN, and might run

Peter

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Text files -- Many into One -- How??
Date: Mon, 19 Mar 2001 14:25:24 +0100

Stefano Ghirlanda <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (Elf Sternberg) writes:
> Then why can I use cat to copy files?

> cat file1 > file2

Because you're concatenating it.

(I'm afraid the laws of mathematics don't suspend themselves for you).

A better riposte would be:

  why doesn't "cat > file" make an empty file?

Peter

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Text files -- Many into One -- How??
Date: Mon, 19 Mar 2001 14:31:06 +0100

Stefano Ghirlanda <[EMAIL PROTECTED]> wrote:
> "Eric" <[EMAIL PROTECTED]> writes:

>> It may look like copying, it is not.

> Of course it is the same. I get a copy of the file, that's copying.

In that case, according to you, a pile of dung is an elephant, since
the result is the same: an area of ground you have to walk around.

We learn to distinguish function from composition.  The very point here
was that the functionality wanted can be achieved by decomposition and
reassembly, so it IS done that way, as that reduces redundancy and
forces all the code paths through the same few lines of code, which
tests them thoroughly.

> Oh, and I could have used dd too. And there are a lot of unix programs
> out there that replicate partially each other functionality. For
> instance: 

> ln -s file1 file2    # make file2 a symbolic link to file1
> cp -s file1 file2    # same thing

> Heresy?

No, completely wrong. Not even the functionality is the same in this
case. The two results are observably different in almost every way.

> My point is that we should not tease a guy because he said that he
> thought cp has some of the same functionality of the Dos COPY,
> invoking some Great Unix Way of doing things. 

But the point is fundamental, and yes, one should tease him for not
getting it, or he will continue to not get it, and you will continue to
have to answer questions that arise out of his not getting it. Such
as "how do I erase all the files that end in .txt in this directory
hierarchy".

Peter

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

From: "steve" <[EMAIL PROTECTED]>
Subject: Re: good newsreader?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 19 Mar 2001 14:01:32 GMT

OnMon, 19 Mar 2001 01:30:24 -0500, "Dowe Keller"
<[EMAIL PROTECTED]> spewed forth:


> On Sun, 18 Mar 2001 22:47:07 GMT, lop <[EMAIL PROTECTED]> wrote:
>>hello
>>i am searching for a good newsreader running under linux. mainly used
>>for downloading binaries. so that my win2k comp has not to run the
>>whole night. (its nearly impossible to sleep next to my comp) most
>>preferrable would be a programm which runs under console, because of
>>remote access. (i dont have Xwindows installed and iam not willing to
>>install it unless it is really needed) please tell me if there is a
>>prog out there which is good.
> I would recommend slrn. My system has 16M of memory, and slrn feels
> fast even when running X.  I don't know however about how it handles
> downloads, as I don't frequent pr0n^Wbinary ngs.

I used slrn for serveral years and it is a good newgroup client.
However I've since switched to Pan, it's really growing on me.
I've only used Pan for several weeks, and haven't decided if it will
replace slrn - however if you wish to have an excellent GUI news
reader, Pan might be it for you.

-- 
Steve - Toronto ICQ 35454764
Powered by GNU/Linux
  8:22am  up 9 days, 22:11,  8 users,  load average: 0.10, 0.34, 0.51

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

From: [EMAIL PROTECTED] (Lee Allen)
Subject: Re: Stripping lines from text file??
Reply-To: [EMAIL PROTECTED]
Date: Mon, 19 Mar 2001 14:39:20 GMT

On Sun, 18 Mar 2001 13:20:43 -0600, "James E. Bradley"
<[EMAIL PROTECTED]> wrote:

>I have combined a bunch of old email messages that I want to save, but
>don't want to sort through into a single text file. I'd like to strip
>out all of the header lines except the From:, Subject:, and Date:. I can
>use grep to show all of the lines that have that text, but I'd like to
>show all of the lines that don't have the X-DateReceived: ...,
>X-Auth-No:, Return-Path: ... etc.
>
>Is there a simple way to do this?

One way: explicitly define everything you want to exclude:
cat oldfile | grep -v "X-DateReceived:" | grep -v "X-Auth-No:" | grep
-v "Return-Path:" >> newfile

Another way: retain everything AFTER "Return-Path:"
grep -A999 "Return-Path:" oldfile >> newfile

-Lee Allen

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

From: Gerald Willmann <[EMAIL PROTECTED]>
Subject: Re: Help... no mail
Date: Mon, 19 Mar 2001 15:39:38 +0100

On Mon, 19 Mar 2001, W. Kyle Gilbertson wrote:

> Has anyone heard of a problem where Linux doesn't receive mail from the
> network, but can send mail out fine?  If I mail myself I get it, and if any
> user on the system sends me mail I get it, but anyone not on the server
> sending me mail doesn't ever arrive.  I can send out fine, but a reply never
> makes it back.  What might that be?

how about providing some info: like what smtp server are you running
(sendmail, qmail, any at all)? Whichever you use they tend to generate
log files (otherwise change syslog.conf) - what does it say in there?
How do you send mail out to the network (using your own smtp server or
some other server)? And as someone mentioned you should have an MX record
pointing to your machine or at least not one pointing to another :)
Btw, do you really need to run your own email server? I used to do it for
fun and I'm quite happy/relieved I'm not doing it anymore. Depends on how
serious you take your email, of course.
                                                   ciao,  Gerald


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

From: "<toor>" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.infosystems.www.servers,comp.infosystems.www.servers.unix,comp.os.linux.redhat,linux.redhat.misc
Subject: Re: Apache 1.3.19 download??
Date: Mon, 19 Mar 2001 09:42:29 -0500

Try apache.org, I recommend you compile it yourself!


Christopher Albert wrote in message <[EMAIL PROTECTED]>...
>Snowy wrote:
>>
>> I am looking for the binary of Apache 1.3.19, but I can't find it
anywhere?
>> I went to Apache.org :
>>
>> http://httpd.apache.org/dist/binaries/linux/
>>
>> I also tried to look for www.rpmfind.net to get RPM, but couldn't find
it.
>> Can anyone tell me where to download?
>>
>> Snowy
>Snowy,
>
>rpmfind.net/linux/falsehope/home/gomez
>
>Chris



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

From: Joshua Baker-LePain <[EMAIL PROTECTED]>
Subject: Re: QuickTime
Date: 19 Mar 2001 15:04:01 GMT

Jerome <[EMAIL PROTECTED]> wrote:
> I would like to use Netscape 6 and watch movies by using Quicktime
> plugins. Apple Quicktime only has Windows and Mac
> versions. Can you help me? Thank you.

In short, no.

In long(er), Quicktime 4+ use the proprietary Sorensen Video codec.
Sorensen is famous for their unwillingness to license their codec for less
than fantastic sums of money or to release a binary version for anything
other than Mac/Win..  Thus, no Linux (or any *IX, for that matter) version
is forthcoming.  You could bug Sorensen, but people have been bugging them
for *years* with no effect.

Stupic fsckers.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

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

From: Stefano Ghirlanda <[EMAIL PROTECTED]>
Subject: Re: Text files -- Many into One -- How??
Date: 19 Mar 2001 16:27:39 +0100

"Peter T. Breuer" <[EMAIL PROTECTED]> writes:

> Stefano Ghirlanda <[EMAIL PROTECTED]> wrote:
> > "Eric" <[EMAIL PROTECTED]> writes:
> 
> >> It may look like copying, it is not.
> 
> > Of course it is the same. I get a copy of the file, that's copying.
> 
> In that case, according to you, a pile of dung is an elephant, since
> the result is the same: an area of ground you have to walk around.

For the purpose of walking around, they are the same thing, for many
other purposes, no. My point is just that if command(A,B) takes a file A
and produces a file B that is byte for byte identical to A, then
command(A,B) is copying A...
 
> We learn to distinguish function from composition.  The very point here
> was that the functionality wanted can be achieved by decomposition and
> reassembly, so it IS done that way, as that reduces redundancy and
> forces all the code paths through the same few lines of code, which
> tests them thoroughly.

No complaint with this - see below.

> > ln -s file1 file2    # make file2 a symbolic link to file1
> > cp -s file1 file2    # same thing
> 
> > Heresy?
> 
> No, completely wrong. Not even the functionality is the same in this
> case. The two results are observably different in almost every way.

Please point me to any observable difference:

$ touch a
$ cp -s a b
$ ls -l a b
-rw-r--r--   1 stefano  users           0 Mar 19 16:12 a
lrwxrwxrwx   1 stefano  users           1 Mar 19 16:13 b -> a
$ ln -s a c
$ ls -l a b c
-rw-r--r--   1 stefano  users           0 Mar 19 16:12 a
lrwxrwxrwx   1 stefano  users           1 Mar 19 16:13 b -> a
lrwxrwxrwx   1 stefano  users           1 Mar 19 16:13 c -> a

> > My point is that we should not tease a guy because he said that he
> > thought cp has some of the same functionality of the Dos COPY,
> > invoking some Great Unix Way of doing things. 
> 
> But the point is fundamental, and yes, one should tease him for not
> getting it, or he will continue to not get it, and you will continue to
> have to answer questions that arise out of his not getting it.

No, one should not tease, but explain, like you did in your post and
like the post I complained about did not. That post only mentioned a
Unix Way without explaining what it was. 

> Such
> as "how do I erase all the files that end in .txt in this directory
> hierarchy".

Do you mean that this is not a legitimate question to ask?
What if I have to delete all files ending with *.txt in a directory
hierarchy? Is it forbidden in Unix?

-- 
Stefano - Hodie decimo quarto Kalendas Apriles MMI est

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

From: Stefano Ghirlanda <[EMAIL PROTECTED]>
Subject: Re: Text files -- Many into One -- How??
Date: 19 Mar 2001 16:39:24 +0100

"Eric" <[EMAIL PROTECTED]> writes:

> > > > Then why can I use cat to copy files?
> > > >
> > > > cat file1 > file2
> > > >
> > >
> > > You can't.
> > > You can cat a file to stdout, and redirect that (this a shell function)
> to
> > > another file
> >
> > But don't you need the shell even when you use cat to concatenate
> > files? The stdout per se is not exceedingly useful.
> 
> ?
> I don't get this.

This is a summary. 
A said: to concatenate files you use cat.

B said: ok, I was used that in dos I could use COPY both for copying
and concatenating.

A said (not literally :-) no! in the pure Way of Unix, cp is ONLY for
copying, we don't mix things together.

I observed that you can use cat to copy files, because that mentioning
the Way of Unix wasn't really explaining much to B... and I wanted
people to think about this.

A, mostly to save the original argument, replied that by no way cat is
copying files, you need also redirection by the shell. 

I replied that also to concatenate files with cat you need redirection
by the shell (if you want a file as a result), so my use of cat for
copying was legitimate for the sake of the discussion.

> cat concatenates one file to another.
> This other file can be stdout.

This is not entirely correct, cat ONLY writes to stdout, never to a
file. 

> Obviously you will need a shell to use cat in the first place.

Not really, you can use it from a program without using a shell, but
that's not important.

> > > It may look like copying, it is not.
> >
> > Of course it is the same. I get a copy of the file, that's copying.
> 
> No it's not (at least not IMO).
> You create a new file, with as input the output from another file.
> You could very well put some filtering in between.
> cat file1 | grep -v "a string" > file2
> You must agree that this is not copying, but not essentially
> different from what you did.

Yes, that is different, because the RESULT is different. But I
considered two, simple operations both producing an exact copy of the
file, and I was saying that both could be said to copy the file.

In another case, maybe the file has been sent on Mars three times
before producing the copy, which makes it an unnecessary complicated
way of copying, but it still would be copying.

-- 
Stefano - Hodie decimo quarto Kalendas Apriles MMI est

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

From: Alumne FIB - MARC COLL CARRILLO <[EMAIL PROTECTED]>
Subject: Re: error in total memory?
Date: Mon, 19 Mar 2001 16:39:38 +0100

I am not sure,but the answer to this may be ont the 7th and 8th lines of
your dmesg output:

Memory: 257144k/262080k available (1080k kernel code, 412k reserved,
2952k data, 64k init, 0k bigmem)

1080 + 412 + 2952 + 64 = 4508

Robert Kenny wrote:

> I've recently added a second 128Mb to my dual-boot Redhat 6.2/Win 98
> machine, and the BIOS's POST reports 262144K fine, as does the memtest86
> program when I boot it from a floppy [though it consistently locks up
> on test #6, and took >24hrs to run all other tests].  However,
> /proc/meminfo gives the following.
>
>         total:    used:    free:  shared: buffers:  cached:
> Mem:  263819264 129232896 134586368 85909504 11259904 54804480
> Swap: 73986048        0 73986048
> MemTotal:    257636 kB
> MemFree:     131432 kB
> MemShared:    83896 kB
> Buffers:      10996 kB
> Cached:       53520 kB
> BigTotal:         0 kB
> BigFree:          0 kB
> SwapTotal:    72252 kB
> SwapFree:     72252 kB
>
> Where is my other 4508 kB?  It doesn't seem much in Linux, but in
> Win[lose?]98, where reports on total memory are inconsistent, something
> is eating into my 640K of total conventional memory (and M$ Diagnostics
> says
> thats not where the ROM is).  There are 2 SCSI HDs: LILO and Linux on
> sda, and Win98 on sdb.  Loading Win98 into the GUI via floppy and via
> LILO give different [sets of inconsistent] results for total memory, as
> does
> loading "Command Prompt Only", and my (Win98) virus scanner says Win98's
> drive and memory is clean.  Maybe:
>
> 1) I have an undetectable virus on sdb (fault of virus scanner, doesn't
> explain linux memory though...)
> 2) I have a virus in the LILO boot sector.  My virus scanner doesn't
> seem to scan this, or indeed any non-DOS disks - what would?  /sbin/lilo
> -q -v still gives correct info.
> 3) faulty DIMMs, or incompatible with m/b & BIOS (ASUS P2B-LS AGP and
> Award v4.51PG), but still detectable/testable by memtest.
> 4) Some harddisk- or SCSI-related memory is allocated by the BIOS(es),
> size and location somehow dependent on which drives are accessed at
> boot.  I've vaguely heard of things like this, but have no idea how to
> "fix" it,
> if possible.
>
> Lots of things I haven't tried testing, and various data not included
> here, I don't really know where to start.  I don't know so much about
> Linux, LILO or memtest; any suggestions please!
>
>
> dmesg output:
>
> Linux version 2.2.14-12 ([EMAIL PROTECTED]) (gcc version
> egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Tue Apr 25 12:31:52
> EDT 2000
> Detected 551255157 Hz processor.
> Console: colour VGA+ 80x25
> Calibrating delay loop... 550.50 BogoMIPS
> Memory: 257144k/262080k available (1080k kernel code, 412k reserved,
> 2952k data, 64k init, 0k bigmem)
> Dentry hash table entries: 262144 (order 9, 2048k)
> Buffer cache hash table entries: 262144 (order 8, 1024k)
> Page cache hash table entries: 65536 (order 6, 256k)
> VFS: Diskquotas version dquot_6.4.0 initialized
> Pentium-III serial number disabled.
> CPU: Intel Pentium III (Katmai) stepping 03
> Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
> Checking 'hlt' instruction... OK.
> Checking for popad bug... OK.
> POSIX conformance testing by UNIFIX
> mtrr: v1.35a (19990819) Richard Gooch ([EMAIL PROTECTED])
> PCI: PCI BIOS revision 2.10 entry at 0xf0720
> PCI: Using configuration type 1
> PCI: Probing PCI hardware
> Linux NET4.0 for Linux 2.2
> Based upon Swansea University Computer Society NET3.039
> NET4: Unix domain sockets 1.0 for Linux NET4.0.
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> TCP: Hash tables configured (ehash 262144 bhash 65536)
> Initializing RT netlink socket
> Starting kswapd v 1.5
> Detected PS/2 Mouse Port.
> Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
> ttyS00 at 0x03f8 (irq = 4) is a 16550A
> ttyS01 at 0x02f8 (irq = 3) is a 16550A
> pty: 256 Unix98 ptys configured
> apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9)
> Real Time Clock Driver v1.09
> RAM disk driver initialized:  16 RAM disks of 4096K size
> PIIX4: IDE controller on PCI bus 00 dev 21
> PIIX4: not 100% native mode: will probe irqs later
>     ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:pio
> hda: CREATIVEDVD-ROM DVD2240E 09/27/97, ATAPI CDROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hda: ATAPI 24X DVD-ROM drive, 256kB Cache
> Uniform CDROM driver Revision: 2.56
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
> raid5: measuring checksumming speed
> raid5: MMX detected, trying high-speed MMX checksum routines
>    pII_mmx   :  1225.677 MB/sec
>    p5_mmx    :  1287.399 MB/sec
>    8regs     :   946.023 MB/sec
>    32regs    :   484.632 MB/sec
> using fastest function: p5_mmx (1287.399 MB/sec)
> scsi : 0 hosts.
> scsi : detected total.
> md.c: sizeof(mdp_super_t) = 4096
> Partition check:
> RAMDISK: Compressed image found at block 0
> autodetecting RAID arrays
> autorun ...
> ... autorun DONE.
> EXT2-fs warning: checktime reached, running e2fsck is recommended
> VFS: Mounted root (ext2 filesystem).
> (scsi0) <Adaptec AIC-7890/1 Ultra2 SCSI host adapter> found at PCI 0/6/0
> (scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
> (scsi0) Downloading sequencer code... 396 instructions downloaded
> enable_irq() unbalanced from d001b8e2
> scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.28/3.2.4
>        <Adaptec AIC-7890/1 Ultra2 SCSI host adapter>
> scsi : 1 host.
> (scsi0:0:0:0) Synchronous at 20.0 Mbyte/sec, offset 15.
>   Vendor: QUANTUM   Model: FIREBALL ST4.3S   Rev: 0F0C
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> (scsi0:0:1:0) Synchronous at 40.0 Mbyte/sec, offset 15.
>   Vendor: IBM       Model: DDRS-39130D       Rev: DC1B
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
>   Vendor: HP        Model: C6270A            Rev: 3846
>   Type:   Processor                          ANSI SCSI revision: 02
>   Vendor: YAMAHA    Model: CRW4260           Rev: 1.0q
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> Detected scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0
> sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray
> SCSI device sda: hdwr sector= 512 bytes. Sectors= 8471232 [4136 MB] [4.1
> GB]
>  sda: sda1 sda2 < sda5 sda6 >
> SCSI device sdb: hdwr sector= 512 bytes. Sectors= 17850000 [8715 MB]
> [8.7 GB]
>  sdb: sdb1
> autodetecting RAID arrays
> autorun ...
> ... autorun DONE.
> VFS: Mounted root (ext2 filesystem) readonly.
> change_root: old root has d_count=1
> Trying to unmount old root ... okay
> Freeing unused kernel memory: 64k freed
> Adding Swap: 72252k swap-space (priority -1)
> Creative SBLive! at 0xb800 on irq 10
>  id: 0x24  io: 0x210 eth0: Intel EtherExpress Pro/10 ISA at 0x210,
> 00:aa:00:a3:b0:16, IRQ 5, 10BaseT.
> eth0: set Rx mode to 1 address.
> eth0: set Rx mode to 1 address.
> eth0: set Rx mode to 1 address.
> CSLIP: code copyright 1989 Regents of the University of California
> PPP: version 2.3.7 (demand dialling)
> PPP line discipline registered.
> VFS: Disk change detected on device ide0(3,0)
> VFS: Disk change detected on device sr(11,0)
> VFS: Disk change detected on device ide0(3,0)
> VFS: Disk change detected on device ide0(3,0)
> VFS: Disk change detected on device ide0(3,0)
> VFS: Disk change detected on device ide0(3,0)
> VFS: Disk change detected on device ide0(3,0)
> VFS: Disk change detected on device ide0(3,0)
> VFS: Disk change detected on device ide0(3,0)
> VFS: Disk change detected on device ide0(3,0)
> VFS: Disk change detected on device ide0(3,0)
> VFS: Disk change detected on device ide0(3,0)


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

From: Pat Hennessy <[EMAIL PROTECTED]>
Subject: Re: Redirect stdout from background process started in shell script???
Date: Mon, 19 Mar 2001 10:40:49 -0500

Vilmos Soti wrote:

> Pat Hennessy <[EMAIL PROTECTED]> writes:
>
> > I can redirect the output of a process and place that process in the
> > background just fine like so:
> >
> >                         ./process > /tmp/myPipe &
> >
> >
> > But, when I try to do this from within a bash script the redirection
> > does not take place.
> >
> > Anyone know what's wrong?
>
> Please post your script. It should work. I also redirect many
> stuff in scripts, and I never had problems with it.



Here is the offending line:

              xterm -e ./process > /tmp/myPipe &

It turns out that it's not a script problem.  I have issued this command
from a terminal window and the redirection fails in that case also.  It
seems that the xterm program cannot process the redirection.

What I am trying to accomplish is the ability to have my users start a
suite of programs by just double-clicking on an icon.  The icon on the
desktop is a link to a script file that starts each program in its own
xterm with predefined size/location.  The xterm windows will display
stdout, but all the programs' stderrs will be redirected/multiplexed
into a single named pipe.  Some other program will read the named pipe
for an integrated log/display (on a different machine).

Thanks for any suggestions.








>
>
> Maybe your problem is different. Are you sure that what you see
> is the stdout and not stderr? You can redirect stderr, too.
>
> ./process 2>&1 > /tmp/myPipe &
>
> Vilmos


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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Text files -- Many into One -- How??
Date: Mon, 19 Mar 2001 16:48:28 +0100

> > cat concatenates one file to another.
> > This other file can be stdout.
>
> This is not entirely correct, cat ONLY writes to stdout, never to a
> file.

you're right.
cat never copies :-)

> > Obviously you will need a shell to use cat in the first place.
>
> Not really, you can use it from a program without using a shell, but
> that's not important.

Could you show me an example of this?

I'll skip the rest, as it's becoming a matter of opinions anyway on
what the difference is between copying and creating something new,
that is equal to another original.

Eric



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

From: Arctic Storm <[EMAIL PROTECTED]>
Subject: Release date for Netscape 6.1 ?
Date: Mon, 19 Mar 2001 15:49:35 GMT

Netscape 6.01 still has many bugs, and needs work.
I'm sure work is in progress for Netscape 6.1, but does anyone have any 
info regarding the release date for Netscape 6.1 ?



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

From: Tim Limbert <[EMAIL PROTECTED]>
Subject: Re: boot up problem
Date: Mon, 19 Mar 2001 15:43:14 GMT



>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 3/8/01, 5:17:07 PM, "cedric" <[EMAIL PROTECTED]> wrote regarding Re=
:=20
boot up problem:

> using 2.2.14-5.0 / RH 6.2 / KDE 1.1.2.

> I've thought about upgrading to RH 7 but hear RH 7 has
> problems. What distrobution would you recomend for a user, not a
> techie? I write fiction, use the net for research and
> e-mail. That's about it.

> Thanks again,
> cedric

I'm a non-programmer using Red Hat 7, and I find that it works very well=
.=20
 I've compared it side-by-side with TurboLinux 6 and Linux-Madrake 7.2, =

and I prefer it to both of those.  Do have to say, though, that for=20
complete non-techie newbies, Mandrake is easiest to set up and configure=
,=20
but you pay for that in speed.  Red Hat is much faster than Mandrake, an=
d=20
still pretty easy to live with.

Tim Limbert

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


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

Reply via email to