Linux-Misc Digest #234, Volume #21               Sat, 31 Jul 99 14:13:07 EDT

Contents:
  shell command to replace string in text files ? (Stefan Hetzl)
  copying files over a network (Bob Koss)
  Re: math.h problem (Peter Caffin)
  Re: CIA assassinations (Donovan Rebbechi)
  Newbie questions (Gabs)
  Re: Linux has finally crashed (Randall Parker)
  Re: shell command to replace string in text files ? ([EMAIL PROTECTED])
  root authority?? (Dave Brown)
  Re: What I think of linux. ("Brent Davies")
  gbeta-0.8 available (An advanced OO pgm. language, GPL) (Erik Ernst)
  Re: copying files over a network (Scott Lanning)
  HomeFree and other HANs with Linux (The Great JoeBob)
  DIAMOND STEALTH G460 ("Guilherme Gomes (FOX)")
  Re: 3dfx voodoo banshee ("Scooby Doo")
  Re: rpm problem: can not install ([EMAIL PROTECTED])
  Re: How to avoid needing an fsck (was: Linux crashed) (Randall Parker)
  Re: Powering down, RH6.0 with new kernel (Chris Butler)
  Re: Magic SysRq (was Re: Linux has finally crashed) (William Burrow)
  Re: shell command to replace string in text files ? (brian moore)
  Re: What I think of linux. ([EMAIL PROTECTED])
  Re: rpm problem: can not install (evil)

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

From: Stefan Hetzl <[EMAIL PROTECTED]>
Subject: shell command to replace string in text files ?
Date: Sat, 31 Jul 1999 15:24:51 GMT

Hi all,

I was wondering if there is a possibility to search a list of textfiles
(for example all *.c in the current directory) for a string (for example
"myvariable") and to replace this string with another (for example
"mynewvariable") from the shell prompt. I don't want to use a text
editor, because this would mean that I had to open each file. There must
be something like "grep and replace".

Thanks

Stefan

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

From: Bob Koss <[EMAIL PROTECTED]>
Subject: copying files over a network
Date: 31 Jul 1999 11:37:57 -0400


Easy newbie question...

I'd like to copy (recursively) files and directories from my laptop to my desktop for 
backup purposes. It seems there should be an easier way to do it than to fire up ftp, 
login to the desktop, and do a put.

-- 
--
Robert Koss, Ph.D.  | Object Mentor, Inc.    | Tel: (800) 338-6716
Senior Consultant   | 14619 N Somerset Cr    | Fax: (847) 918-1023
[EMAIL PROTECTED]      | Green Oaks IL 60048    | www.objectmentor.com


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

From: Peter Caffin <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.c,gnu.gcc.help
Subject: Re: math.h problem
Date: Sat, 31 Jul 1999 15:57:58 +0000

In comp.lang.c Steve Summit <[EMAIL PROTECTED]> wrote:
> Also, be extremely careful when naming a test program "test" on
> a Unix or Linux system, as you can get some very strange results.
> ("test" is already a system program.)  Best to name your program
> something other than "test".

<offtopic forum=comp.lang.c>
Most well-thought-out configurations don't include ./ in their paths 
these days for exactly this reason. Yeah, it means that newbies occasionally
get confused as to why the shell can't find their program/script, but,
it saves an awful lot of wierd hassles in the long run.
</offtopic>

--:     _           _    _ _
 _oo__ |_|_ |__  _ |  _ |_|_o _  peter at ptcc dot it dot net dot au |
//`'\_ | (/_|(/_|  |_(_|| | || |                http://it.net.au/~pc |
/                            PO Box 869, Hillarys WA 6923, AUSTRALIA |

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

From: [EMAIL PROTECTED] (Donovan Rebbechi)
Crossposted-To: comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: CIA assassinations
Date: 31 Jul 1999 12:50:06 -0400

On Sat, 31 Jul 1999 09:52:25 +0200, A.T.Z. wrote:
>Donovan Rebbechi schreef:

>Do I claim ALL; NO. But it is happening. 

Yes, but you offer *no* evidence that the scale on which it is happening is
large enough to damage those economies. In fact it could even help them, by
offloading the grunt work overseas, and creating more skilled jobs at home.

> An example taken direct from the real >word. 

Ah, yes. "proof by anecdote". Try again, and provide some concrete evidence
that this is hurting the Netherlands.

>as low as $4 per hour for the same activity. The clothing industry takes full
>advantage of this. And I know others too.

See Brownes post regarding why it doesn't hurt to move parts of the textiles
industry off shore.

>For some companies it's difficult to split activities. And don't forget, it
>takes some time before a large company can close a factory and build a new one
>in another country.

Yes, but you've only offered a theory. 

And the theory seems to be quite a shaky one. For example, the cost of labour
in the USA is extremely high ( much higher than anywhere in Asia besides 
Japan and Singapore ). So why isn't the US's economy dying ? You provide
theories, but no evidence that the economy has been hurt. 

Most importantly, the only examples you give are those of cheap labour being
moved off shore, while the professional jobs stay inside the US.

-- 
Donovan

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

From: Gabs <[EMAIL PROTECTED]>
Subject: Newbie questions
Date: Sat, 31 Jul 1999 17:09:42 +0100

Hi, I just installed Suse 6.1 and it runs fine. I've spent some time
playing around with it and a few questions. By the way I am using KDE
desktop.

1. Is there any way of configuring Linux to automatically mount the
cdrom when you insert a cd into the drive and unmount it when I remove
the cdrom? I noticed that if I mount the cdrom manually I can't open the
drive door until I unmount it again. Is there anyway to automate this?

2. I am trying to upgrade from Netscape 4.51 to 4.6 but when I try to
run the install file I get a message saying "Can only start executables
on local drive"? I've tried placing the installtion files in various
places and try to run the install file but still get the same message.
This happens whether I am logged in as root or as a normal user.

3. With Netscape 4.51, I am not getting any colour icons / symbols -
everything is grey on netscape. Is this normal or is there a setting I
can change. I don't have colour problems with the rest of my desktop or
other applications.

Any help would be much appreciated.

Thanks in advance.

Gabs




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

From: [EMAIL PROTECTED] (Randall Parker)
Crossposted-To: comp.os.linux.x,comp.os.linux.development.apps
Subject: Re: Linux has finally crashed
Date: Sat, 31 Jul 1999 09:57:22 -0700

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> This sounds like sgi's XFS, which they have announced they will donate
> to Linux.  Last I heard from them, they were still investigating
> precisely how to do that and ensure it remains open.  

I hear that the problem is that they have to go thru the source code and 
make sure they aren't using patented algorithms in it that they don't own 
but for which they have a license for their own use.

In other words, if it contains technology owned by others then they have 
to rework those sections before they can release it. 

I also hear that working thru these intellectual property rights issues 
is going to take awhile.

>(An ideal reason
> to use the GPL, IMHO: they don't want to compete against their own
> product made proprietary, and it will be trivial to deal with in the
> kernel with a GPL.)
> 
> See http://www.sgi.com/Technology/xfs-whitepaper.html for how it works,
> and http://linuxtoday.com/stories/6107.html for their announcement.
> 
> Pretty slick stuff, but it's a ways off yet.
> 
> 

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

From: [EMAIL PROTECTED]
Subject: Re: shell command to replace string in text files ?
Date: Sat, 31 Jul 1999 11:15:42 -0500



On Sat, 31 Jul 1999, Stefan Hetzl wrote:

> Hi all,
> 
> I was wondering if there is a possibility to search a list of textfiles
> (for example all *.c in the current directory) for a string (for example
> "myvariable") and to replace this string with another (for example
> "mynewvariable") from the shell prompt. I don't want to use a text
> editor, because this would mean that I had to open each file. There must
> be something like "grep and replace".
> 
> Thanks
> 
> Stefan

find . -type f -name "*.c" -exec sed 's/myvariable/mynewvariable/g' {} \;

--

 
 


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

From: [EMAIL PROTECTED] (Dave Brown)
Subject: root authority??
Reply-To: [EMAIL PROTECTED]
Date: 31 Jul 99 16:32:31 GMT

Part of this question I posted earlier but got no response.
I'm concerned that permissions are not working as I think 
they should.

An ordinary user should not be able to kill a process owned by
root, right?  But I've got a ppp dialup script which I can 
run as an ordinary user, (because pppd is SUID, root-owned).
When the pppd runs, it is a process "owned by root".  Yet, 
as an ordinary user I can kill it with "killall pppd". Why?

On the other hand, root should be able to bypass user permissions
and read or write to files owned by others, right?  But if I 
mount a msdos filesystem with the UID=501 option, so that user 501
can read/write to it, root gets "permission denied" when trying to 
write to that file system.  Why?

-- 
Dave Brown   Austin, TX

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

From: "Brent Davies" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.linux.sux,alt.os.linux,comp.os.linux.advocacy
Subject: Re: What I think of linux.
Date: Sat, 31 Jul 1999 16:30:44 GMT

Anthony Ord <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Fri, 30 Jul 1999 02:04:57 GMT, "Brent Davies"
> <[EMAIL PROTECTED]> wrote:
> >Robert V. Grizzard <[EMAIL PROTECTED]> wrote in message
> >news:7no5bk$hkn$[EMAIL PROTECTED]...
> >> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> <snip>
> >> My local Barnes and Noble has copies of that immortal classic,
> >> _Linux_For_Dummies_.  *Someone* believes Linux is Ready For Prime Time.
> >
> >Now we are seeing the same type of thing that drives Gates; the Almighty
> >Dollar.  If "?? for Dummies" can make a buck on it, they will print it.
> >Don't think that they only sell books when they think it's for the
"greater
> >good!"
>
> But that is the point. Someone believes the size of the
> beginner (with little unix experience) Linux market is so
> large as to support the printing and distribution costs of
> their manuals.
>
> If Linux was considered to be only fit for backrooms with
> Unix admins in attendance, their audience prediction would
> be correspondingly smaller and they would not have gone on
> with the project.

You may be right.  It's not like they have an "Oracle for Dummies" book, or
books for other back-room programs (or do they?).  But you'd be surprised on
how few books they actually have to sell to break even, then only a few more
to make a profit.  I think what's driving "Dummies" to print a book on Linux
is the misguided public thinking that Linux is a good replacement for Win95.

Now before you all get your tails all bunched up over what I just said, read
on.  In my travels in the field delivery arena I have found some serious
DEUs thinking that they should grab Linux and install it on their laptops.
They don't even know how to backup their current user files, much less how
to install an OS.  I don't doubt that most of these people, if they were to
install Linux, would do so over all of their existing files and then get all
 pissed off when they realized that the installation procedure formatted
their disk under ext2 and erased all of their old stuff.  No matter how easy
you think a RedHat or Caldera install is, the standard end user WOULD find a
way to foul it up.

Maybe the "Dummies" books are good for that.  But don't you think that
they'll have to write one "Dummies" book for each distribution?  I mean,
when you're talking about DEUs, you have to know that they follow directions
screen-by-screen.  They have no idea what to do when the setup utility asks
them which "Daemons to start at boot".  So you'll have to have one book for
each dist, with screen-by-screen explinations, blah, blah.

I think Linux is a powerful operating system and the 4 machines that I have
running it right now are doing so without any problems.  But I am extremely
skeptical about the usefullness of Linux on the DEU's desktop.

If there are new reasons why my fears should be lessened, please explain.
After all, that's what Usenet's all about, right?

-Brent
>
> Regards
>
> Anthony
> --
> -----------------------------------------
> | And when our worlds                   |
> | They fall apart                       |
> | When the walls come tumbling in       |
> | Though we may deserve it              |
> | It will be worth it  - Depeche Mode   |
> -----------------------------------------



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

From: Erik Ernst <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.beta,comp.object,comp.sys.sun.apps
Subject: gbeta-0.8 available (An advanced OO pgm. language, GPL)
Date: 31 Jul 1999 08:18:23 -0700


We are pleased to announce that 

                              gbeta-0.8
                              ---------
is now available.


What Is It?
===========

gbeta is an advanced OO language which supports virtual
attributes, general block structure, and dynamic inheritance in
context of strict, static typing.  It is a generalization of the
language BETA.  The package includes an implementation of the
language which performs static analysis, generates byte code, and runs
the given program (i.e. it works like an interpreter as seen from the
outside).  It is integrated with GNU Emacs and programs can be single
stepped, declarations can be looked up by double-clicking etc. in this
environment.

The current version of gbeta comes without standard libraries, and the
performance is not good, so it is relevant to use it if you want to
play around with a bleeding edge OO programming language in order to
see what possibilities it offers you as a programmer, but it is not
yet ready for real-life application development.


Platforms
=========

gbeta is available for Linux and SunOS 5.6 / Solaris 2.6 (it runs
under SunOS 5.7 / Solaris 7, but must be compiled under 5.6).  More
platforms will be added soon (see the website).


Documentation
=============

The gbeta web site at 

             <URL:http://www.daimi.au.dk/~eernst/gbeta/>

contains information about installation, getting started, a tutorial,
references to papers, and several other topics.  My PhD thesis (which
is mainly about gbeta) will be made available from this web site, too.


Download
========

gbeta can be downloaded from the above mentioned web site at 

  <URL:http://www.daimi.au.dk/~eernst/gbeta/index_download.html>

or by ftp at

  <URL:ftp://ftp.daimi.au.dk/pub/empl/eernst/gbeta-0.8>


Author, Contact person, Etc.
============================

Erik Ernst, 
Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]


  enjoy!

-- 
Erik Ernst                                         [EMAIL PROTECTED]
Sun Microsystems Laboratories, Inc., MTV 29, Mountain View, CA 94043

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

From: [EMAIL PROTECTED] (Scott Lanning)
Subject: Re: copying files over a network
Date: 31 Jul 1999 17:21:37 GMT

Bob Koss ([EMAIL PROTECTED]) wrote:
: I'd like to copy (recursively) files and directories from my
: laptop to my desktop for backup purposes. It seems there should
: be an easier way to do it than to fire up ftp, login to the desktop,
: and do a put.

Really? Oh, maybe you mean doing a put for each individual file? That
would be tedious fer sure, dude.

man ftp, look at the mput command. You can do wildcard expansion
with it.

Alternatively, it's mad-crayzey simple to do from emacs
with dired/ange-ftp. <continue chant> E-MACS! E-MACS! E-MACS!

--
Scott Lanning: [EMAIL PROTECTED], http://physics.bu.edu/~slanning
"I do believe God gave me a spark of genius, but he quenched it
in misery." --Edgar Allan Poe

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

From: [EMAIL PROTECTED] (The Great JoeBob)
Subject: HomeFree and other HANs with Linux
Date: 31 Jul 1999 15:49:35 GMT

Is Diamond's HomeFree and other thru the phone line networks compatible with
Linux?

Thanks

====================================================
Kris Knigga
a.k.a  The Great JoeBob
http://members.aol.com/Flyboy105
====================================================

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

From: "Guilherme Gomes (FOX)" <[EMAIL PROTECTED]>
Subject: DIAMOND STEALTH G460
Date: Sat, 31 Jul 1999 13:40:51 -0300

How i can configure this in my linux ????? have a card compatibile ???????

--
Guilherme Gomes -- Fox
UIN:6518730
[EMAIL PROTECTED]
Linux Register Number:81757




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

From: "Scooby Doo" <[EMAIL PROTECTED]>
Subject: Re: 3dfx voodoo banshee
Date: Fri, 30 Jul 1999 14:31:11 -0300

Hi, John,

just installed RedHat 6 and I have a Creative Labs Banshee card. I found the
updated drivers on creative lab's home page. I'm using KDE and it's working
fine for me. Hope this helps.

Rogerio.

John Burg <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Hello,
> I am considering a purchase of a 3dfx voodoo banshee AGP card for my linux
> system... I would appreciate hearing from people who already own such
cards,
> regarding subjects such as what brands of boards work best with linux, how
well
> they work, etc.
>
> Thanks,
>
> John Burg
> --
> #!/bin/sh -
> set - `type $0` 'tr "[a-zA-Z]" "[n-za-mN-ZA-M]"';while [ "$2" != "" ];do \
> shift;done; echo 'frq -a -rc '`echo "$0"| $1 `'>$UBZR/.`rpub signature|'`\
> echo $1|$1`'`;rpub "Jr ner fvtangher bs obet. Erfvfgnapr vf
shgvyr!"'|$1|sh



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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux
Subject: Re: rpm problem: can not install
Date: 31 Jul 1999 17:25:00 GMT

It appears you have a number of problems here.
First of all, see if all of your packages are good rpm's:
    rpm -K --nopgp *.rpm

You should get something like this:
    $ rpm -K --nopgp *.rpm
    ORBit-0.4.3-3.i386.rpm: size md5 OK
    audiofile-0.1.6-5.i386.rpm: size md5 OK
    control-center-1.0.5-22.i386.rpm: size md5 OK
    enlightenment-0.15.5-37.i386.rpm: size md5 OK
    esound-0.2.12-5.i386.rpm: size md5 OK
    gdm-1.0.0-36.i386.rpm: size md5 OK
    gedit-0.5.4-1.i386.rpm: size md5 OK
    gftp-2.0.3-1.i386.rpm: size md5 OK
    gmc-4.5.36-2.i386.rpm: size md5 OK
    gnome-audio-1.0.0-6.noarch.rpm: size md5 OK
    gnome-audio-extra-1.0.0-6.noarch.rpm: size md5 OK
    gnome-core-1.0.7-2.i386.rpm: size md5 OK
    gnome-games-1.0.2-11.i386.rpm: size md5 OK
    gnome-libs-1.0.10-2.i386.rpm: size md5 OK
    gnome-pim-1.0.7-2.i386.rpm: size md5 OK
    gnome-utils-1.0.1-6.i386.rpm: size md5 OK
    gnorpm-0.8-5.i386.rpm: size md5 OK
    gnotepad+-1.1.4-1.i386.rpm: size md5 OK
    gnumeric-0.27-1.i386.rpm: size md5 OK
    gqview-0.7.0-1.i386.rpm: size md5 OK
    imlib-cfgeditor-1.9.5-5.i386.rpm: size md5 OK
    libgtop-1.0.1-3.i386.rpm: size md5 OK
    libgtop-examples-1.0.1-3.i386.rpm: size md5 OK
    mc-4.5.36-2.i386.rpm: size md5 OK

Download again any rpm's which are not 'OK'.

Next, see what the problems are going to be:
    rpm -Uvh --test *.rpm

This doesn't actually install, it just kicks out
dependency violations.

When you install the rpm's you should be the root user.

If you are installing a newer rpm which just happens
to have the same number as an existing rpm, try this:
    rpm -Uvh --oldpackage --force blahblah-0.1-1.i386.rpm

If you have failed dependencies you will have to obtain
the rpm's with the needed files and install them.

Best of luck...

Eric wrote:
> 
> Dear RPM expert:
> 
>    When I down load the upgrade or new package from RedHat's gnome's
> package
> 
>    I tried
>                 rpm -vhi     *rpm
>                 rpm -Uvh  --oldpackage  *rpm
> 
>      both can not install.
> 
>      I Attach script file about the error on bash shell.
> 
> Any suggestion would highly appreciate and
> thanks in advance
> 
> eric
> [EMAIL PROTECTED]
> 
>   --------------------------------------------------------------------------------
> Script started on Fri Jul 30 13:59:48 1999
> [root@(none) gnome]# 
>startxhalt[1@gedithaltstartxhalt[1@gedits
> manual.ps -DNOPAUSElscd kdeman gsgs manual.ps 
>man gscd kde      man gsgs manual.ps | 
>morels[13@gs  tutorial.pslscd 
>../kdelscd kdevi itlives.c[9@cp create.c 
>itlives.cvi create.cstdb.clsvi 
>cmdline1.cls./howdyls./a.outgcc -o howdy  
>howdy.c./howdy0lsgcc -o howdy0  
>howdy0.chowdy0.clscd 
>gookinpwd/bin/jdk1.2/bin/appletviewer compiler.html
> [root@(none) gnome]# appletviewer compiler.html
> [root@(none) gnome]# lscd Cllscd referencelscd 
>kdeveloplscd enlscd HTMLlscd 
>docxlscd share lstar xvzf  
>c_c++*lscd kdelscdvi creator.c[9@cp 
>create.c creator.cvi alive.txtlscd 
>gookings   manual.psls[5@gs *.pscd 
>kdeifup ppp0[2@down ppp0man lprlpr 
>tutorial.psscd ../kdevi 
>alive.txtls./creatorgcc -o creator creator.c
> [root@(none) gnome]# cd ../gookingcc -o creator creator.c
> [root@(none) gnome]# lpr manual.ps             
>rpm -Uvh --oldpackage  *.rpm
> error: ORBit-0.4.3-3.i386.rpm cannot be installed
> error: XFree86-100dpi-fonts-3.3.3.1-52.i386.rpm cannot be installed
> error: control-center-1.0.5-22.i386.rpm does not appear to be a RPM package
> error: glib-devel-1.2.3-1.i386.rpm cannot be installed
> error: gmc-4.5.36-2.i386.rpm cannot be installed
> error: gnome-core-1.0.7-2.i386.rpm cannot be installed
> error: gnome-libs-1.0.10-2.i386.rpm cannot be installed
> error: gnome-libs-devel-1.0.10-2.i386.rpm cannot be installed
> error: gnotepad+-1.1.4-1.i386.rpm cannot be installed
> error: gnumeric-0.27-1.i386.rpm cannot be installed
> error: gtk+-1.2.3-1.i386.rpm cannot be installed
> error: gtk+-devel-1.2.3-1.i386.rpm cannot be installed
> error: failed dependencies:
>         gnome-libs-devel is needed by control-center-devel-1.0.5-22
>         gnome-libs-devel is needed by gnome-core-devel-1.0.7-2
> [root@(none) gnome]# rpm -Uvh --oldpackage  
>*.rpm[1@g[1@n[1@o[1@m[1@e[1@-[1@l[1@i[1@b[1@s[1@-[1@d[1@e[1@v[1@e[1@l[1@*.rpm
>    
> error: gnome-libs-devel-1.0.10-2.i386.rpm cannot be installed
> [root@(none) gnome]# exit
> exit
> 
> Script done on Fri Jul 30 14:01:35 1999

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

From: [EMAIL PROTECTED] (Randall Parker)
Subject: Re: How to avoid needing an fsck (was: Linux crashed)
Date: Sat, 31 Jul 1999 09:56:56 -0700

David,

Is there any way to configure Linux so that it does all directory update 
writes immediately but caches regular file writes? What I'd really like 
is to be assured that the directory structure doesn't get corrupted. At 
least that way the files will all be accessible even if some of them 
didn't finish getting written before a crash.

Also, why is this work-around below necessary? If Linux is flushing its 
disk cache every few seconds shouldn't it be enough to just wait 30 
seconds before hitting reset? 

Seems to me what is needed when the UI is hung is to have a way to stop 
all processes that are doing writes, wait for the file cache to flush to 
disk, and then shut down. 

In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] says...
> Here's a tip a friend taught me--As long as the keyboard interrupt is
> still operating, and you either A) compiled "Magic Sysrq key" into the
> kernel, or B) you haven't recompiled a RedHat distro (I don't know about
> the rest)
> Try the following key combo---
> Hold down <alt>, then hold down the <SysRq> key (Print screen).  While
> holding these two keys down, press 's' (emergency sync disks) 'u'
> (emergency unmount filesystems) and 'b' (emergency reboot).  This will
> work even if <ctrl>-<alt>-<del> fails, if the interrupt is still active.
> Hope this helps any or all.  This is a great reason to compile that last
> option (magic key) into the kernel.
> 
> David
> 
> 
> 

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

From: [EMAIL PROTECTED] (Chris Butler)
Crossposted-To: comp.os.linux.help
Subject: Re: Powering down, RH6.0 with new kernel
Date: 29 Jul 1999 19:07:22 +0100

[comp.os.linux.misc - Mon, 26 Jul 1999 13:52:27 -0500] * Steven E wrote *
> When I first installed RH6.0 and 'shutdown -h now', the machine would
> actually power down on its own (I didn't have to hit the power switch).
> Being the lazy boy that I am, when I compiled a new kernel (2.2.10) and
> it quit powering down on its own, I was quite miffed. 

Check that you've compiled APM power-off support into the kernel.

-- 
Chris Butler
<[EMAIL PROTECTED]>

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

From: [EMAIL PROTECTED] (William Burrow)
Crossposted-To: comp.os.linux.x,comp.os.linux.development.apps
Subject: Re: Magic SysRq (was Re: Linux has finally crashed)
Date: 31 Jul 1999 17:41:52 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 31 Jul 1999 05:13:39 GMT,
Christopher Browne <[EMAIL PROTECTED]> wrote:
>On Fri, 30 Jul 1999 11:16:12 -0700, Tom Emerson
><[EMAIL PROTECTED]> wrote: 
>An interesting thing about this is that the net effect of all of this
>is that the user does not actually communicate directly to the
>mainframe; all communications goes through that "terminal controller"
>proxy.

Modern PCs are WinComputers to mainframers. :)  (Like WinModems....)

>With mainframe systems, changes are collected up at the "client end."
>That 327x terminal is "smart enough" to allow you to do a fair bit of
>editing of text and so forth aboard the terminal.  
>
>When you press "RETURN," all of those changes are collected together
>into a single block of data.  

I once worked on a puny HP3000 of late 80's vintage.  This machine had
60 people hanging off it in the morning, while processing dozens of
database requests.  Response time for editing was excellent, however.
Mostly due to the fact that the hardware had (and used) blocking IO for
the terminals.

In comparison, a much more powerful similar vintage VAX with polling IO
would be unusable for editing with just 30 people logged on.  DECserver
terminal controllers were the order of the day for that installation.
Much more efficient.


Is anybody up for designing FreeMVS?  It seems a real pity to let the
era of mainframe machines slip away to big backroom servers that only
grizzled COBOL programmers get to use.... ;)

-- 
William Burrow  --  New Brunswick, Canada             o
Copyright 1999 William Burrow                     ~  /\
                                                ~  ()>()

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

From: [EMAIL PROTECTED] (brian moore)
Subject: Re: shell command to replace string in text files ?
Date: 31 Jul 1999 16:19:28 GMT

On Sat, 31 Jul 1999 15:24:51 GMT, 
 Stefan Hetzl <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I was wondering if there is a possibility to search a list of textfiles
> (for example all *.c in the current directory) for a string (for example
> "myvariable") and to replace this string with another (for example
> "mynewvariable") from the shell prompt. I don't want to use a text
> editor, because this would mean that I had to open each file. There must
> be something like "grep and replace".

perl -pi.bak -e 's/myvariable/mynewvariable/g' *.[ch]

-- 
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: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.advocacy
Subject: Re: What I think of linux.
Date: 31 Jul 1999 17:54:20 GMT

alann wrote:

> You're right, somewhat.  I would be curious as to the average age of Linux
> users.  I'm 34.  First computer I ever had my hands on was a Commodore PET.
> That was a LONG time ago.  Right now there are a gazillion Windows users.
> 
> How many are over 40 and grew up in a generation that computers DIDN'T exist?
> How many users used a computer with Windows for their "virgin" computer
> experience?

I'm 50.  I have a degree in Engineering Mechanics.  We had an IBM Mainframe
when I was in college, with a whopping 500K of core.  I wrote 2 programs in
FORTRAN during college.  Both were less than 600 lines.  I engineered for a 
while designing industrial equipment.  Then got hooked on an Apple II+.
Haven't been the same since according to my wife.

I now work with IT for a living.  I use Linux at work and at home - by 
preference.  Linux has put the fun back into computing for me.  I also have 
an NT desktop (I have two desktops at work, Linux gets the better one) 
relegated to Lotus Notes and an occasional "can't be avoided Windows 
programming".

My wife uses Linux at home (on her machine).  My son - who is going into
Hotel and Restaurant Management - uses Linux by preference on both his
desktop and laptop.  He's a smart lad, but he's not a computer geek.

I was a part of the beta program testing Win95.  I really liked it, it sure
beat Win3.1 back then).  Then I started getting irritated by crashes.  The 
straw that broke the camel's back was *having to* upgrade a perfectly good 
VB3.0 program to VB5.0 for Y2K compliance (for my wife).  I couldn't do it.  
There was no translation for the old VBX's.  I'm now doing it in perlTk in 
Linux.

I haven't paid a dime to Microsoft in well over a year.  And I don't plan
to in the future.  I also recommend against Microsoft at work...

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

From: [EMAIL PROTECTED] (evil)
Crossposted-To: comp.os.linux
Subject: Re: rpm problem: can not install
Date: Sat, 31 Jul 1999 17:48:19 GMT
Reply-To: me

Does a newer version of rpm help ?

==========
martin
. 
evil

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


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