Linux-Misc Digest #643, Volume #26               Wed, 27 Dec 00 00:13:01 EST

Contents:
  Re: reboot when idle ?? ooooohhhhh no!! (Jerry Kreps)
  Re: for(;;) fork(); (John Hasler)
  Re: What is the command to  . . . ? (Andrew N. McGuire)
  Re: What is the command to  . . . ? (Andrew N. McGuire)
  Re: Only with Linux... (Carl Fink)
  Re: opening an Xterm in a script? (Andrew N. McGuire)
  Re: Only with Linux... (John Hasler)
  Re: Question about performance (Andrew N. McGuire)
  weird ftp problem (Matthew Fleming)
  Re: 7.2, telnet and rsh (Andrew N. McGuire)
  Re: help with configuring F-secure SSH version 1.0 ("Dan White")
  Re: Only with Linux... (MH)
  Re: Only with Linux... (MH)
  Re: Only with Linux... (Bob Hauck)
  Re: LCD projector + linux = torture (billy ball)
  Re: backups with the gnu tar command ("Dan White")
  Re: Only with Linux... (MH)

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

From: Jerry Kreps <[EMAIL PROTECTED]>
Subject: Re: reboot when idle ?? ooooohhhhh no!!
Date: Tue, 26 Dec 2000 21:14:37 -0600
Reply-To: [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:

> steveFarris <[EMAIL PROTECTED]> wrote:
> > Hello all, i've got suse 7.0 installed on an AMD K6 chip and if i stay
> > logged in and remain idle the thing reboots on its own. Obviously this 
will
> 
> I'd look into hardware problems.
> 
> I'd look into an overheating CPU first, then loose/bad cables, then a
> bad power supply, then flaky memory, then a bad motherboard.
> 
> 
I run SuSE 7.0 and leave it up 24/7 with no problems. 
You must have hardware problems.


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

From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.redhat
Subject: Re: for(;;) fork();
Date: Wed, 27 Dec 2000 01:55:11 GMT

Wroot writes:
> I have to wait for about a minute for the mouse to move.

The impatience of youth.

> Can't type at all.

Sure you can.  You just don't get an immediate response from the computer.
Type your command, hit return, and go have a cup of coffee.  When you get
back your command will be executing (or at least be being echoed).
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

Crossposted-To: 
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.networking,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: What is the command to  . . . ?
From: [EMAIL PROTECTED] (Andrew N. McGuire)
Date: 26 Dec 2000 21:46:30 -0600

>>>>> "KD" == Kasper Dupont <[EMAIL PROTECTED]> writes:

KD> Josef Moellers wrote:
>> 
>> Allen Wong wrote:
>> >
>> > In alt.os.linux.slackware Markus Amersdorfer <[EMAIL PROTECTED]> wrote:
>> > > [EMAIL PROTECTED] wrote:
>> 
>> > > find . -name '*.txt' -exec grep "Hello World" {} \;
>> >
>> > This works, but it's alot slower than "find . -type f -name '*.txt' -print |
>> > xargs grep "Hello World".
>> 
>> These solutions won't tell where they found the match.
>> Markus' solution can be enhanced to do that:
>> find . -name '*.txt' -exec grep "Hello World" {} \; -print

KD> Grep will tell the filenames if there is more than one file.
KD> If you just want to know the filename and not the actual
KD> lines use grep -l "Hello World".


 find . -name '*.txt' -exec grep "Hello World" /dev/null {} \;

  is the nicest solution...  it gives both on each line, to be
  easily parsed by awk or perl by splitting on ':'.

anm 

-- 
perl -wMstrict -e '
$a=[[qw[J u s t]],[qw[A n o t h e r]],[qw[P e r l]],[qw[H a c k e r]]];$.++
;$@=$#$a;$$=[reverse sort map$#$_=>@$a]->[$|];for$](--$...$$){for$}($|..$@)
{$$[$]][$}]=$a->[$}][$]]}}$,=$";$\=$/;print map defined()?$_:$,,@$_ for @$;
'

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

Crossposted-To: 
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.networking,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: What is the command to  . . . ?
From: [EMAIL PROTECTED] (Andrew N. McGuire)
Date: 26 Dec 2000 21:49:07 -0600

>>>>> "ANM" == Andrew N McGuire <[EMAIL PROTECTED]> writes:

>>>>> "KD" == Kasper Dupont <[EMAIL PROTECTED]> writes:
KD> Josef Moellers wrote:
>>> 
>>> Allen Wong wrote:
>>> >
>>> > In alt.os.linux.slackware Markus Amersdorfer <[EMAIL PROTECTED]> wrote:
>>> > > [EMAIL PROTECTED] wrote:
>>> 
>>> > > find . -name '*.txt' -exec grep "Hello World" {} \;
>>> >
>>> > This works, but it's alot slower than "find . -type f -name '*.txt' -print |
>>> > xargs grep "Hello World".
>>> 
>>> These solutions won't tell where they found the match.
>>> Markus' solution can be enhanced to do that:
>>> find . -name '*.txt' -exec grep "Hello World" {} \; -print

KD> Grep will tell the filenames if there is more than one file.
KD> If you just want to know the filename and not the actual
KD> lines use grep -l "Hello World".


ANM>  find . -name '*.txt' -exec grep "Hello World" /dev/null {} \;

ANM>   is the nicest solution...  it gives both on each line, to be
ANM>   easily parsed by awk or perl by splitting on ':'.

ahem, sorry, of course that can be sped up by using the xargs hack
as well. :-)

anm

-- 
perl -wMstrict -e '
$a=[[qw[J u s t]],[qw[A n o t h e r]],[qw[P e r l]],[qw[H a c k e r]]];$.++
;$@=$#$a;$$=[reverse sort map$#$_=>@$a]->[$|];for$](--$...$$){for$}($|..$@)
{$$[$]][$}]=$a->[$}][$]]}}$,=$";$\=$/;print map defined()?$_:$,,@$_ for @$;
'

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

From: [EMAIL PROTECTED] (Carl Fink)
Subject: Re: Only with Linux...
Date: 27 Dec 2000 03:49:58 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 26 Dec 2000 18:32:42 -0800 MH <[EMAIL PROTECTED]> wrote:

>. . . it is discouraging* to find the first "help" menu listing the
>*"exit Emacs" key-combo *incorrectly* as "Ctr-x or Ctr-c", neither
>of which work.  "Ctr-z", which is NOT listed does, however (found
>via trial and error).

Unlikely.  I despise emacs, but I'm betting you're running it under
X, which changes the "dead key" that would be Ctrl in a VT.

Ctrl-z is "suspend".  If you do a "ps" you might see an emacs session
sitting in the background.
-- 
Carl Fink               [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum
<http://dm.net>

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

Subject: Re: opening an Xterm in a script?
From: [EMAIL PROTECTED] (Andrew N. McGuire)
Date: 26 Dec 2000 22:13:39 -0600

>>>>> "MH" == Michael Heiming <[EMAIL PROTECTED]> writes:

MH> Hello,
MH> #!/bin/sh
MH> cd $PWD && xterm &

MH> That's it...

  and what would be the benefit of that vice:

  xterm &

???

anm

-- 
perl -wMstrict -e '
$a=[[qw[J u s t]],[qw[A n o t h e r]],[qw[P e r l]],[qw[H a c k e r]]];$.++
;$@=$#$a;$$=[reverse sort map$#$_=>@$a]->[$|];for$](--$...$$){for$}($|..$@)
{$$[$]][$}]=$a->[$}][$]]}}$,=$";$\=$/;print map defined()?$_:$,,@$_ for @$;
'

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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: Wed, 27 Dec 2000 03:41:21 GMT

MH writes:
> ...it is *discouraging* to find the first "help" menu listing the "exit
> Emacs" key-combo *incorrectly* as "Ctr-x or Ctr-c", neither of which work.

It's 'Ctrl-x Ctrl-c'.  That means press the control key, press the 'x' key,
release it, press the 'c' key, release it, and then release the control
key.

> "Ctr-z", which is NOT listed does,...

No it doesn't.  That just suspends it.  Typing 'fg' will bring it back.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

Subject: Re: Question about performance
From: [EMAIL PROTECTED] (Andrew N. McGuire)
Date: 26 Dec 2000 22:19:40 -0600

>>>>> "MH" == Michael Heiming <[EMAIL PROTECTED]> writes:

MH> al wrote:

[ big snip ]

>> One of my suspicions is that the main problem may be X11 in general.  It has
>> sure become a lot more complicated (and nicer) since the last time I used
>> it.  Perhaps the window managers need a lot more memory than they used to (I
>> ran slackware on a 486/33 laptop with 4 megs of ram about 5 years ago, and
>> it was usable even with X11).  The two window managers I tried are KDE and
>> Gnome, and they are both quite slow.  The system I am running mandrake on is
>> a dual Pentium Pro 200 with 64 megs of ram.  It's no state of the art, and
>> it could use more memory, but I was still expecting reasonable performance
>> under Linux.  The kernel version that came with the mandrake release is
>> 2.2.17-21mdksmp (this is what uname -r gives me), and I have not rebuilt it
>> (past experience tells me that it's typically time consuming, but this may
>> have changed also).
>> 
>> So if anyone can suggest anything, please let me know.  Thanks.

MH> you should lookup if your kernel is SMTP, cat /proc/cpuinfo will give you a
MH> hint.

  i fail to see what email has to do with his kernel configuration! :-)

  y/T//d unless $there_is_something_i_am_missing;

anm
-- 
perl -wMstrict -e '
$a=[[qw[J u s t]],[qw[A n o t h e r]],[qw[P e r l]],[qw[H a c k e r]]];$.++
;$@=$#$a;$$=[reverse sort map$#$_=>@$a]->[$|];for$](--$...$$){for$}($|..$@)
{$$[$]][$}]=$a->[$}][$]]}}$,=$";$\=$/;print map defined()?$_:$,,@$_ for @$;
'

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

From: [EMAIL PROTECTED] (Matthew Fleming)
Subject: weird ftp problem
Date: 27 Dec 2000 04:24:34 GMT

Netmeisters,

I have just encountered a very strange ftp problem, and I really need
to get this fixed right away. I am ftp'ing from a laptop with SuSE
Linux 6.3 installed. After I have established the connection when I
try to ls or get or anything else I get the following:  

ftp> ls
500 'EPSV': command not understood
227 Entering Passive Mode (141,106,32,10,196,66)

I have not noticed this previously, although I haven't use this laptop
much before. I just changed ISP's, to Earthlink.

I've never seen anything like this before, and I really need to get
this working. Your assistance much appreciated. Please send a copy of
your response to my email address.

Thanks,

Matthew Fleming
[EMAIL PROTECTED] 

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

Subject: Re: 7.2, telnet and rsh
From: [EMAIL PROTECTED] (Andrew N. McGuire)
Date: 26 Dec 2000 22:24:27 -0600

>>>>> "JH" == Jim Hollenback <[EMAIL PROTECTED]> writes:

JH> Still can't seem to get telnet and rsh working on 7.2. Both telnet-server
JH> and rsh-server are installed, the config files in /etc/xinetd.d are fixed
JH> to allow access, but all I get for telnet is 

JH> telnet: Unable to connect to remote host: Connection refused

good. ;^)

JH> and for rsh

JH> Permission denied.

great ;^)

JH> rlogin and ftp are fine. Any clues?

  yep, don't allow insecure connections, even ssh1 is unsafe (expoitable)...
use (open)ssh2 (there are free winclients) and be merry.  thats what i'd do
anyhow.

anm

-- 
perl -wMstrict -e '
$a=[[qw[J u s t]],[qw[A n o t h e r]],[qw[P e r l]],[qw[H a c k e r]]];$.++
;$@=$#$a;$$=[reverse sort map$#$_=>@$a]->[$|];for$](--$...$$){for$}($|..$@)
{$$[$]][$}]=$a->[$}][$]]}}$,=$";$\=$/;print map defined()?$_:$,,@$_ for @$;
'

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

From: "Dan White" <[EMAIL PROTECTED]>
Subject: Re: help with configuring F-secure SSH version 1.0
Date: Wed, 27 Dec 2000 04:39:52 GMT

In article <92auej$[EMAIL PROTECTED]>, "Hung Ngoc Lai"
<[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I am trying to establish a SSH session from my windows machine (win98
> Second Edition) by using F-Secure SSH client version 1.0 from F-secure
> to a  RedHat Linux server version 6.1 running kernel version 2.2.18. 
> The SSH server running on the linux box is also from F-secure
> (datafellows 2.0.13).  Everything is properly configured on the server. 
> However, I just can NOT connect to the linux box (with password
> authentication).  I can connect to the linux server  using ssh client
> from SecureCRT and a trial version of F-secure client version
> 4.3.  In the sshd2_config file on the linux box, I set ssh to be
> compatible with
> both ssh1 and ssh2.   I kill the ssh daemon and restart the process but
> it does not work.
> 
> Any ideas???? Many thanks.
> 
> David

I'm not familiar with F-Secure SSH, but I know that putty (on windows)
works pretty well connecting to openssh running on linux, and they're
both free. See:

http://www.chiark.greenend.org.uk/~sgtatham/putty/
http://www.openssh.com/

- Dan White

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

From: MH <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: Tue, 26 Dec 2000 20:44:14 -0800

Neil Cherry wrote:

> On Tue, 26 Dec 2000 18:32:42 -0800, MH wrote:
> >MH wrote:
> >
> >> Installed EMACS from RPM.  Cannot find a way to start the program. 
> >> Spent half an hour looking through README, MAN, INFO...ridiculous.
> >> 
> >
> >OK.  Thanks for the responses.  Someone finally emailed me noting that
> >the following RPM was a "library" and not the Emacs program itself:
> >
> >emacs-20.7-14
> >
> >Last time I take "standard" naming conventions for granted.  I've got one
> >version installed now (apparently the one NOT used with X), but it is
> >*discouraging* to find the first "help" menu listing the "exit Emacs"
> >key-combo *incorrectly* as "Ctr-x or Ctr-c", neither of which work.
> >"Ctr-z", which is NOT listed does, however (found via trial and error).
> 
> Yikes are you in trouble! Ctrl-x Ctrl-c (type one key in after the
> other, that's a 2 key sequence) is the sequence to exit emacs. Ctrl-z
> is the standard key to put a process in the background not to exit.
> Please don't take this as a put down, you just didn't know and have to
> start learning somewhere. Emacs is probably one of the most powerful
> and complex editors (should I call it an editor?). Every key can be
> reprogrammed (which can make for some real fun! >:-}).
> 
> If you're looking for a simple editor emacs is not a good place to
> start. If you're looking for power, it's got it! I would also
> recommend learning vi (or one of it's look alikes). Vi is great in a
> pinch such as over dirty dialups.
> 
> BTW: I've been using emacs since 1980 so I've grown used to it.
> 

Two combination keys just to exit?  You're right, I am in trouble.  I'm OK 
with vi, I just heard so much about Emacs, including comments to the effect 
that the keystrokes were easier to learn, I thought I'd give it a 
try...


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

From: MH <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: Tue, 26 Dec 2000 20:46:29 -0800

John Hasler wrote:

> MH writes:
> > ...it is *discouraging* to find the first "help" menu listing the "exit
> > Emacs" key-combo *incorrectly* as "Ctr-x or Ctr-c", neither of which
> > work.
> 
> It's 'Ctrl-x Ctrl-c'.  That means press the control key, press the 'x'
> key, release it, press the 'c' key, release it, and then release the
> control key.
> 
> > "Ctr-z", which is NOT listed does,...
> 
> No it doesn't.  That just suspends it.  Typing 'fg' will bring it back.

Oops.  First time EVER I've seen a double combination key to execute a 
command.  I expect Emacs will not become an editor I'm fond of.  :-(


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

From: [EMAIL PROTECTED] (Bob Hauck)
Subject: Re: Only with Linux...
Reply-To: bobh{at}haucks{dot}org
Date: Wed, 27 Dec 2000 04:44:05 GMT

On Tue, 26 Dec 2000 18:32:42 -0800, MH <[EMAIL PROTECTED]> wrote:

>*discouraging* to find the first "help" menu listing the "exit Emacs" 
>key-combo *incorrectly* as "Ctr-x or Ctr-c", neither of which work.  

It is C-x C-c, which is to be interpreted as "C-x followed by C-c", not
"or" C-c.  It is listed correcly in the manual once you understand the
convention.


>"Ctr-z", which is NOT listed does, however (found via trial and error).

That doesn't exit Emacs, it just puts it in the background (iconizes it
if you're running the X version).  Many programs respond to C-z that
way.

-- 
 -| Bob Hauck
 -| To Whom You Are Speaking
 -| http://www.haucks.org/

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

From: [EMAIL PROTECTED] (billy ball)
Crossposted-To: comp.os.linux.portable
Subject: Re: LCD projector + linux = torture
Date: Wed, 27 Dec 2000 04:44:43 GMT


if the laptop uses a NeoMagic chipset, you *must* use the "extern_disp"
option in order to enable the video output...

Maxstation i686? is that a Maxbook? what series? they all use different
chipsets! ATI, SiS, Trident Cyber...

also, look under /usr/X11R6/lib/X11/doc for a README that corresponds to
your laptop's chipset... you may find a tip on using an external
display...

as an alternative, and final resort, download XiG's commercial server (it
has a demo function) to see if that works..

hth,

bball

On Tue, 26 Dec 2000 22:06:46 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>If you want to use a projector, you will have the best luck using the
>Framebuffer server, rather than the server designed for your chipset.  The
>framebuffer server uses Vesa DDC specs to generate the most appropriate
>modelines, and as such is will work with any vesa compliant device,
>including projectors.  So, if your graphics chipset and the projector is
>vesa compliant, then it will work.  It is unnacellerated, and therefore
>slow, however it does the job.
>
>the framebuffer server for x3.3.x is called FBDev
>the framebuffer driver for x4.0.x is called fbdev
>
>X4.0.2 has introduced a new vesa driver that is supposed to be faster than
>the fbdev driver, but I haven't tried it yet.
>
>good luck
>
>David Wright <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>>
>> I have just spent an entire eventing trying to get my external LCD
>> projector to work with Linux on my laptop.  All works fine in text mode
>> but the LCD projector goes blank and complains "no signal" when X
>> starts.  I have no problems under Windows 2000.  I combed the web for a
>> solution but, although I have seen the question posed numerous times, I
>> have yet to find a working answer (one suggestion was to "plug the
>> projector in after X has started" ... sorry, doesn't work).  I am very
>> frustrated; please chime in if you know the solution to this vexing
>> problem!
>>
>> Detailed specs are:
>>
>> Epson 7500C LCD Projector, supports 1024x768
>>
>> XF86Config says:
>>   HorizSync 31.5-57.0
>>   VertRefresh 50-70
>>   Option "extern_disp"
>>   "1024x768"     75.00   1024 1048 1184 1328    768  771  777  806
>> -hsync -vsync
>>
>> Maxstation i686 laptop running Red Hat Linux 6.2 with XFree86 3.3
>
>

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

From: "Dan White" <[EMAIL PROTECTED]>
Subject: Re: backups with the gnu tar command
Crossposted-To: comp.unix.admin,alt.linux.storage.moderated
Date: Wed, 27 Dec 2000 04:46:53 GMT

In article <[EMAIL PROTECTED]>, "Richard NAGY"
<[EMAIL PROTECTED]> wrote:

> Hello everybody,
> 
> I have some problems using the gnu tar program on RedHat linux 6.2 with
> the --exclude directive and with --new-volume-script directive as well
> It does not do what I want.
> 
> For the first directive (--exclude) I want to exclude a whole directory
> ; so I write
> --exclude=/exclude/this/one but It does not work !!

It appears that directive excludes just a file. All alternative, backing
up an entire system, goes something like this:

tar --preserve -cvf file /bin /usr /var ... (everything but /proc /mnt
/tmp)

> For the --new-volume-script, tar seems to not execute my script.

I havn't used this option, so don't know what's going wrong.

- Dan White

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

From: MH <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: Tue, 26 Dec 2000 20:54:58 -0800

Carl Fink wrote:

> On Tue, 26 Dec 2000 18:32:42 -0800 MH <[EMAIL PROTECTED]> wrote:
> 
> >. . . it is discouraging* to find the first "help" menu listing the
> >*"exit Emacs" key-combo *incorrectly* as "Ctr-x or Ctr-c", neither
> >of which work.  "Ctr-z", which is NOT listed does, however (found
> >via trial and error).
> 
> Unlikely.  I despise emacs, but I'm betting you're running it under
> X, which changes the "dead key" that would be Ctrl in a VT.
> 
> Ctrl-z is "suspend".  If you do a "ps" you might see an emacs session
> sitting in the background.

No, I'm running it in console (was, anyway).  Another respondent informed 
me that it's a double combination keystroke to exit, Ctrl-c then -x...don't 
think I'm going to like Emacs either.  But I'm not really happy with vi.  
I'm not a programmer.  I just want an easy to use editor for creating and 
modifying configuration files and simple scripts.


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


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