Linux-Misc Digest #276, Volume #27                Sat, 3 Mar 01 17:13:04 EST

Contents:
  Re: Do I need Lilo to boot from a partition? ("Tauno Voipio")
  help with gimp (john connolly)
  Re: Kernel Panic, or hang off boot disk... ("Tauno Voipio")
  Re: help with gimp (Silviu Minut)
  News/leafnode setup-micro HOWTO (Robert Lynch)
  Re: help with gimp (Leonard Evens)
  Re: source for basic utils like ftp/cp/mv... where? (Alex K)
  ppp (Andrew Rounds)
  GTKEditor seems broken - no highlighting in any apps?? ("Flacco")
  Re: Athlon (Johan Kullstam)
  Re: Clone an Linux machine (how)? (Eugene Grayver)
  Re: "phone dialer" type program ? ("Robert")
  Re: Treesize for Linux? (Chris Gordon-Smith)
  Re: source for basic utils like ftp/cp/mv... where? ("Peter T. Breuer")
  Re: { seq 1 200| less ;  } | tee foo # pls fix this ("J. D. Addison")
  Re: Shutdown Linux without a keyboard (Hartmann Schaffer)
  harddrake (William Smith)

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

From: "Tauno Voipio" <[EMAIL PROTECTED]>
Subject: Re: Do I need Lilo to boot from a partition?
Date: Sat, 03 Mar 2001 17:51:27 GMT


"F. Heitkamp" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I have OS/2 Bootmanager and Lilo installed on
> my Linux partition.  I have been unable to get
> the latest kernels to boot using the latest lilo.
> I always get "No setup signature found".  I
> wonder if there is some weird conflict with
> my harddisk; a 4.x GB Seagate UW SCSI.  Anyway,
> is there a way to boot without Lilo or using
> a floppy (which I do now.) or booting to DOS etc.
>

The problem may be in the SCSI controller BIOS. Both the Boot Manager and
the LILO loader (/bin/boot.b) need to use the BIOS to access the hard disk.
If the partition you are trying to boot is above cylinder 1023 and your BIOS
does not have extended cylinder numbering support, the boot is not able to
access the part of disk needed to start up.

The standard solution is to have a small (8 - 16 Mbytes) partition at the
very start of the disk (this time just behind the Boot Manager cylinder) for
Linux directory /boot.

Tauno Voipio
tauno voipio @ iki fi




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

From: john connolly <[EMAIL PROTECTED]>
Subject: help with gimp
Date: Sat, 03 Mar 2001 17:56:38 GMT

Sorry if this is posted to the wrong place. I am trying to create a
poster which has a circular picture in it and I want to have the text
above the picture in an arc instead of a straight line. I have hardly
used gimp at all but as AFAIK it should be possible to do this.
Any help would  be appreciated.
JWC


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

From: "Tauno Voipio" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,linux.redhat.install,comp.os.linux.setup
Subject: Re: Kernel Panic, or hang off boot disk...
Date: Sat, 03 Mar 2001 17:58:30 GMT


"Terry Denbo" <[EMAIL PROTECTED]> wrote in message
news:Ip9o6.201$[EMAIL PROTECTED]...
> I had to replace my SCSI card, unfortunately it was with a different
brand.
> When booting up, I get a kernel panic, because it's loading the wrong
> drivers.  I try booting off a boot disk, type "linux single", but it get's
> to a certian point and hangs at this point:
>
> 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
>
>
> Will not go past this point.  Please help!  It's dead in the water until
> this is fixed!!
>

You need another, running Linux system. You need to change the inital
ramdisk contents on the boot disk to match the new controller. See
Bootdisk-HOWTO.

Tauno Voipio
tauno voipio @ iki fi




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

From: Silviu Minut <[EMAIL PROTECTED]>
Subject: Re: help with gimp
Date: Sat, 03 Mar 2001 13:49:32 -0500

You can find all you ever needed at

http://www.gimp.org




john connolly wrote:

> Sorry if this is posted to the wrong place. I am trying to create a
> poster which has a circular picture in it and I want to have the text
> above the picture in an arc instead of a straight line. I have hardly
> used gimp at all but as AFAIK it should be possible to do this.
> Any help would  be appreciated.
> JWC


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

From: Robert Lynch <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: News/leafnode setup-micro HOWTO
Date: Sat, 03 Mar 2001 11:04:12 -0800

Hiya-

I recently shifted from a dial-up connection to DSL with
PacBell.  Reading news with Pacbell sure doesn't proceed at DSL
speeds, I think I did better with a 56K modem.  So I started
looking into downloading the news at regular intervals, instead
of requesting it when I want to read it.  This doesn't speed
anything up, but at least I don't have to wait and fume, whatever
I see is on my system.

I started looking around as to how to do this and found some info
and cobbled together something; it works well.  I'm posting this
so anyone doing a search, looking for information, might come
across this posting which hopefully will save them time.
===
0) I found the excellent page:

http://www.noether.freeserve.co.uk/leafnode.html

and followed it more or less in the leafnode install and setup.

1) Downloaded leafnode-1.9.18-1 from rpmfind, installed it. 
However, it is not setup for RH 7.0, which has shifted from the
inetd to xinetd daemon.  The rpm install created a one line
/etc/inetd.conf file, which I converted to xinetd daemon format
by running:

/usr/sbin/inetdconvert nntp

I ran /sbin/chkconfig --list nntp and it showed that nntp was
already "on".

2) I then edited  /etc/leafnode/config, to point leafnode to my
news server, etc. It's pretty easy to do this the way this file
is laid out.

3) Edited my Netscape Communicator newsreader's newsgroup
preferences to 127.0.0.1 for newsserver.  You can just do the
same for whatever newsreader you are using.

4) Ran /usr/sbin/fetchnews -vv as suggested by the page mentioned
in 0), as a initial test of leafnode.  All my subscribed
newsgroups then showed a leafnode-inserted dummy posting.

5) Add a weekly cron file:

/etc/cron.weekly/leafnode.weekly

with contents

#!/bin/sh

/usr/sbin/texpire > /dev/null 2>&1

to handle a weekly expire and cleanup of my disk store.
                 
6) Installed "freshnews" in /var/spool/news. Gotten from:

http://pages.infinit.net/curlypp/freshnews/

(This is one of the pleasures of Linux: running across cool stuff
like freshnews on the Web.) After minor editing/tweaking (essentially 
just setting paths) compiled as suggested:

g++ -o freshnews freshnews.cc

which went ahead with no warnings.

7) Following the docs at the freshnews site added a line to
/etc/inittab:

fn:235:respawn:/var/spool/news/freshnews

and then ran /sbin/telinit Q.

Freshnews then automagically takes care of contacting my news
server on a regular basis and downloads and posts messages.

8) Added one line to my killfile, /etc/leafnode/filters:

[EMAIL PROTECTED]

(true identity of "jackass" hidden to protect the guilty.)
===
Sat back and watched it all work flawlessly.

FWIW.

Bob L.
-- 
Robert Lynch     Berkeley CA USA    [EMAIL PROTECTED]


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

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: help with gimp
Date: Sat, 03 Mar 2001 12:53:54 -0600

john connolly wrote:
> 
> Sorry if this is posted to the wrong place. I am trying to create a
> poster which has a circular picture in it and I want to have the text
> above the picture in an arc instead of a straight line. I have hardly
> used gimp at all but as AFAIK it should be possible to do this.
> Any help would  be appreciated.
> JWC

Try comp.graphics.apps.gimp

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

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

From: Alex K <[EMAIL PROTECTED]>
Subject: Re: source for basic utils like ftp/cp/mv... where?
Date: Sat, 03 Mar 2001 20:54:28 -0100

"Peter T. Breuer" wrote:

> Not trying very hard, evidently. Nor even deigning to look.
> 

its's mutual i see.

> No it isn't. Are you unaware that srpm's by definition and design
> contain the ORIGINAL SOURCE, plus PATCHES? And that even if they didn't
> contain the original source (which they do) they would be obliged to
> tell you where to get them, by virtue of the GPL.
> 

are you unaware about that i was looking for the PLACE where to get
the original sources, not the sources themselves?

> Peter

  / alex k

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

From: Andrew Rounds <[EMAIL PROTECTED]>
Subject: ppp
Date: Sat, 3 Mar 2001 20:12:59 +0000

I get the following message in my logfile when I dialup the Internet (using 
pppd 2.4.0, on kernel 2.4.2)

Mar  3 07:00:01 server1 modprobe: modprobe: Can't locate module net-pf-10

Can anyone tell me what the net-pf-10 module is? 

Thanks




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

From: "Flacco" <[EMAIL PROTECTED]>
Subject: GTKEditor seems broken - no highlighting in any apps??
Date: Sat, 03 Mar 2001 20:13:56 GMT

I have several source code editors that use the GTKEditor component.  The
syntax highlighting in all of them appears broken - all text is black.

I tried DL'ing and installing the latest GTKEditor RPM, and that did not help.

Any ideas what the problem might be?

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

Subject: Re: Athlon
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: Sat, 03 Mar 2001 20:21:45 GMT

[EMAIL PROTECTED] (Lee Webb) writes:

> On Thu, 1 Mar 2001 23:53:13 +0100, Mathias Rodenstein wrote:
> >once more....
> >
> >i just bought a new 900-K7 and installed debian 2.2r2 on it, mostly i was
> >curious how much better seti@home would run (compared to my old PII). but
> >the improvement is about 10% 10 hours instead of 11...i run kernel 2.4.2.
> >with Athlon option enabled...should there not be a higher increase in
> >speed...
> >
> Not much help here but...
> I've got a 900 on the A7V MB: 256MB CAS2 RAM, all running on Mandrkae 7.2
> 2.2.17-21mdk.
> With seti set to nice 10, it takes 7 hours 45 mins on average...
> How much ram do you have?

setiathome takes about that amount on a pentium iii 650 at work.
i think some of the performance is due to RAM speed.  RAM has not
increased in speed as fast as CPU and if the program does frequent
access to RAM, the RAM will slow you down.

-- 
J o h a n  K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!

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

From: Eugene Grayver <[EMAIL PROTECTED]>
Subject: Re: Clone an Linux machine (how)?
Date: Sat, 03 Mar 2001 12:39:46 -0800

Thanks for the reply, but what I am trying to do is clone without
opening/shutting the original server.  Can I boot the other server w/ a
boot CD, go into rescue mode, and ftp the files over?  How would I do
it?

Thanks.

E J wrote:
> 
> 1) See http://www.linux.org/docs/ldp/howto/mini/Hard-Disk-Upgrade.html
> or
> 2) Who parted? :)  Get "parted" from www.gnu.org
> 
> NAME
>        GNU Parted - a partition manipulation program
> 
> SYNOPSIS
>        parted [options] [device [command [options]]]
> 
> DESCRIPTION
>        This  manual page documents briefly the parted command.  Complete
> documenta�
>        tion is distributed with the package.
> 
>        parted is a disk partitioning and partition resizing program.  It
> allows you
>        to  create,  destroy,  resize, move and copy ext2, FAT and FAT32
> partitions.
>        This is useful for creating space for new  operating  systems,
> reorganising
>        disk usage, and copying data to new hard disks.
> 
> Eugene Grayver wrote:
> 
> > Hello,
> >
> > I have a linux box (2cpu) setup just the way I like it.  I have just got
> > another box and would like to add it to the network.  I would like to have
> > everything the same (except for the IP and hostname).  What is the best
> > way to do this copy?  Note that the new machine comes completely empty.
> > The existing machine has a CDR, and the / partition is probably small
> > enough to fit on it, if compressed.  (BTW, we are running RH7, and I have
> > the RH7 bootable CD).
> >
> > Thanks,
> > Eugene

-- 
_____________________________
InnovICs Corp.
Eugene Grayver 
Sr. Design Engineer
233 Wilshire Blvd, Suite 300
Santa Monica, CA 90401
Tel: (310) 395-9559 x 109
_____________________________

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

From: "Robert" <[EMAIL PROTECTED]>
Subject: Re: "phone dialer" type program ?
Date: Sat, 3 Mar 2001 15:49:43 -0500

This is a multi-part message in MIME format.

=======_NextPart_000_001B_01C0A3F9.90AFD300
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Actually I was looking for a GUI program.  While minicom would work it =
is not more convienient than dialing a phone, unless I am missing =
something.  Phone dialer allows for clicking on logged numbers to =
redial- a real time saver if you have 30 numbers to contact.
thanks
Robert
  "Edmond Song" <[EMAIL PROTECTED]> wrote in message =
news:[EMAIL PROTECTED]...
  Will minicom do?=20
  Robert wrote:=20

    Hi,=20
    Does anyone know of a program similar to the windows "phone dialer" =
program=20
    , for Linux.  I'm not speaking of pppd or any similar internet =
dialup=20
    program, but a program that lets you make normal telephone calls =
through=20
    your modem using a GUI.  Phone logging, click on number in the log =
to=20
    dial... that sort of thing.=20
    Thanks,=20
    Robert
--=20
O------------------------------------------------------------------------=
--O
|                                   |  Yucheng Song (=CB=CE=D3=F1=B3=C9) =
              |
|     _/_/_/_/   _/  _/   _/_/_/_/  |  Dept. of Atmospheric Sciences     =
  |
|    _/         _/  _/   _/         |  University of Illinois            =
  |
|   _/_/_/_/   _/_/_/   _/          |  105 S. Gregory Street             =
  |
|        _/       _/   _/           |  Urbana, IL 61801                  =
  |
| _/_/_/_/   _/_/_/   _/_/_/_/      |  Ph : =
(217)-244-6036(O),355-7832(H)  |
|                                   |  Fax: =
(217)-244-4393(O),355-7832(H)  |
O------------------------------------------------------------------------=
--O
   =20

=======_NextPart_000_001B_01C0A3F9.90AFD300
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Actually I was looking for a GUI =
program.&nbsp;=20
While minicom would work it is not more convienient than dialing a =
phone, unless=20
I am missing something.&nbsp; Phone dialer allows for clicking on logged =
numbers=20
to redial- a real time saver if you have 30 numbers to =
contact.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Robert</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV>"Edmond Song" &lt;<A=20
  href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>&gt; =
wrote in=20
  message <A=20
  =
href=3D"news:[EMAIL PROTECTED]">news:3AA02A5F.EC182835@atm=
os.uiuc.edu</A>...</DIV>Will=20
  minicom do?=20
  <P>Robert wrote:=20
  <BLOCKQUOTE TYPE=3D"CITE">Hi, <BR>Does anyone know of a program =
similar to the=20
    windows "phone dialer" program <BR>, for Linux.&nbsp; I'm not =
speaking of=20
    pppd or any similar internet dialup <BR>program, but a program that =
lets you=20
    make normal telephone calls through <BR>your modem using a =
GUI.&nbsp; Phone=20
    logging, click on number in the log to <BR>dial... that sort of =
thing.=20
    <BR>Thanks, <BR>Robert</BLOCKQUOTE><PRE>--&nbsp;
O------------------------------------------------------------------------=
--O
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; =
Yucheng Song =
(=CB=CE=D3=F1=B3=C9)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
|&nbsp;&nbsp;&nbsp;&nbsp; _/_/_/_/&nbsp;&nbsp; _/&nbsp; _/&nbsp;&nbsp; =
_/_/_/_/&nbsp; |&nbsp; Dept. of Atmospheric =
Sciences&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
|&nbsp;&nbsp;&nbsp; _/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
_/&nbsp; _/&nbsp;&nbsp; =
_/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; University of =
Illinois&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; |
|&nbsp;&nbsp; _/_/_/_/&nbsp;&nbsp; _/_/_/&nbsp;&nbsp; =
_/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; 105 S. =
Gregory =
Street&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; |
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
_/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _/&nbsp;&nbsp; =
_/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; =
Urbana, IL =
61801&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
| _/_/_/_/&nbsp;&nbsp; _/_/_/&nbsp;&nbsp; =
_/_/_/_/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; Ph : =
(217)-244-6036(O),355-7832(H)&nbsp; |
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; Fax: =
(217)-244-4393(O),355-7832(H)&nbsp; |
O------------------------------------------------------------------------=
--O</PRE>&nbsp;=20
</BLOCKQUOTE></BODY></HTML>

=======_NextPart_000_001B_01C0A3F9.90AFD300==


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

From: Chris Gordon-Smith <[EMAIL PROTECTED]>
Subject: Re: Treesize for Linux?
Date: Sat, 03 Mar 2001 21:07:52 GMT

Thanks.  I have to admit (somewhat grudgingly!) that mc can be used to=20
give the information I'm looking for. However, I'm really looking for=20
something much more user friendly and pleasant to use. I think that the =

days of this kind of pre Xerox PARC/Mac/Windows user interface are=20
numbered.

Chris Gordon-Smith
London UK


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

On 3/2/01, 2:38:55 AM, E J <[EMAIL PROTECTED]> wrote regarding Re: Treesiz=
e=20
for Linux?:


> $ mc #  how about midnight commander?

> Chris Gordon-Smith wrote:

> > There is a Windows based utility (Treesize) that provides a graphica=
l
> > display showing the size of each part of the directory tree.
> >
> > Is there a similar graphical utility for Linux.
> >
> > Chris Gordon-Smith
> > London UK

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: source for basic utils like ftp/cp/mv... where?
Date: Sat, 3 Mar 2001 22:08:37 +0100

Alex K <[EMAIL PROTECTED]> wrote:
> "Peter T. Breuer" wrote:
>> Not trying very hard, evidently. Nor even deigning to look.

> its's mutual i see.

>> No it isn't. Are you unaware that srpm's by definition and design
>> contain the ORIGINAL SOURCE, plus PATCHES? And that even if they didn't
>> contain the original source (which they do) they would be obliged to
>> tell you where to get them, by virtue of the GPL.

> are you unaware about that i was looking for the PLACE where to get
> the original sources, not the sources themselves?

Then you should look IN the original source, because that tells you WHO
THE AUTHOR IS, and HOW TO CONTACT HIM. And you'll find the original
source in the srpm. You'll also find that the srpm SPEC file contains a lot
of other data, like who the maintainer is, where his stuff came from,
and so on ...

Here's an example:

  Summary: The VIM editor.
  Name: vim
  Version: 5.3
  Release: 7
  Copyright: freeware
  Group: Applications/Editors
  Source0: ftp://ftp.oce.nl/pub/vim/unix/vim-%{version}-src.tar.gz
  Source1: ftp://ftp.oce.nl/pub/vim/unix/vim-%{version}-rt.tar.gz
  Source2: vimx.wmconfig
  Source3: vimrc
  Patch0: vim-4.2-speed_t.patch
  Patch1: vim-5.1-vimnotvi.patch
  Patch2: vim-5.1-tutor.patch
  Buildroot: /var/tmp/vim-root

blah blah blah. Open your eyes and quit the defending yourself.

Peter

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

From: "J. D. Addison" <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.shell,comp.unix.admin,comp.sys.sun.admin
Subject: Re: { seq 1 200| less ;  } | tee foo # pls fix this
Date: Sat, 03 Mar 2001 21:20:09 +0000

Fine put them back. The main point is to put the file
capture via tee before less. The problem is that if less
detectst that  it is not out putting to a terminal it does
not do a screen at a time.

        Puff
Tom Rodman wrote:
> 
> Thanks, but the point of the "{}" block was to enclose
> and log a larger script as in:
> 
>          {
>                         function_to_delete_files() {
>                                 xargs rm -f
>                         }
> 
>                         less mylist_of_files_to_delete
> 
>                         read -p 'press any key to go > '; bar
> 
>                         function_to_delete_files <mylist_of_files_to_delete
> 
>                         echo checking for files that could not be deleted..:
>                         xargs ls >/dev/null <mylist_of_files_to_delete
> 
>          } 2>&1 |tee log_of_enter_block
> 
> thanks again,
> 
> Tom
> 
> In article <[EMAIL PROTECTED]>,
> J. D. Addison <[EMAIL PROTECTED]> wrote:
> >Tom Rodman wrote:
> >>
> >> { less longtextfile ;  : more script would go here ; } | tee foo
> >>
> >> # or
> >>
> >> { perl -e 'print "$i\n" while ($i++ <200);' |less ; } |tee foo
> >>
> >> The above fails, in that less does not show the it's input a
> >> page at a time.  Is there a clean way to fix this?
> >>
> >> thanks
> >>
> >> Tom
> >>
> >> [EMAIL PROTECTED]
> >Try
> > perl -e 'print "$i\n" while ($i++ <200);' | tee foo  |less
> >--
> >J. D. Addison
> >Telephone: 01865-246886
> >email [EMAIL PROTECTED]

-- 
J. D. Addison
Telephone: 01865-246886
email [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Hartmann Schaffer)
Subject: Re: Shutdown Linux without a keyboard
Date: 3 Mar 2001 16:57:00 -0500

In article <[EMAIL PROTECTED]>, Marius wrote:
>Thank you all for your response.
>I do not want to shut it down over network for 2 reasons:
>1. This router should not be accessible over any network, for security 
>reasons.
>2. It is a router in a heterogen environment: win98 and linux. Win and 
>Linux clients use the router. If only the win client is on, it will be 
>difficult to login over ssh. (By the way, other clients will be added 
>(Psion epoc system))
>3. I would like to stop the router over a simple "button press". (this 
>is fast and easy)
>
>I know that there are possibilities with ups programmes (for example 
>greenpower). They check the serial port and shut the machine down when 

have you looked how the ups shutdown is done?  (i haven't, but) there must
be a daemon that is watching the  serial port for a particular message and
starts the shutdown when it arrives.  you could do something similar on your
router:  obviously it must be on a network (why else would you need a router),
so reserve a port for the shutdown/reboot daemon and have the daemon start
when you boot up the system.  you should be able to configure it so that it
accepts the request only under predefined conditions (password, list of users,
list of machines etc).  there are several remote administration utilities
that could be used as a model for this (check out webmin).

as for your desire to do it via some button:  if your hardware supports it,
fine.  i believe macs activate a shutdown process when you press the power
off button and you simply can't just turn off the power (at leas without
just pulling the power cord).  but afaik this is very uncommon in the intel
pc world.  if you have some hardware wizards around, you probably can make
them put something together.  but then you also have to write some sort of
device driver that accepts that signal and activates the corresponding daemon

hs

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

From: [EMAIL PROTECTED] (William Smith)
Subject: harddrake
Date: 3 Mar 2001 21:43:55 GMT

I just installed mandrake first try at linux.when i try to run harddrake 
the thing goes to a blackscreen with a blinking line in the top left off 
the screen .has any one else seen this.just wondering what might be wrong
Thanks

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


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