Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #100653 > unrolled thread

One More Time: Mac Antivirus Software?

Started byWade Garrett <wade@cooler.net>
First post2017-02-19 09:50 -0500
Last post2017-02-20 10:38 +1100
Articles 19 on this page of 99 — 20 participants

Back to article view | Back to comp.sys.mac.system


Contents

  One More Time: Mac Antivirus Software? Wade Garrett <wade@cooler.net> - 2017-02-19 09:50 -0500
    Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-02-19 14:59 +0000
      Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-02-19 15:39 +0000
    Re: One More Time: Mac Antivirus Software? nospam <nospam@nospam.invalid> - 2017-02-19 10:38 -0500
    Re: One More Time: Mac Antivirus Software? Doc O'Leary  <droleary@2015usenet1.subsume.com> - 2017-02-19 15:51 +0000
      Re: One More Time: Mac Antivirus Software? nospam <nospam@nospam.invalid> - 2017-02-19 10:55 -0500
        Re: One More Time: Mac Antivirus Software? "John Varela" <newlamps@verizon.net> - 2017-02-20 19:06 +0000
          Re: One More Time: Mac Antivirus Software? nospam <nospam@nospam.invalid> - 2017-02-20 16:02 -0500
          Re: One More Time: Mac Antivirus Software? Wade Garrett <wade@cooler.net> - 2017-02-20 16:03 -0500
            Re: One More Time: Mac Antivirus Software? Ant <ant@zimage.comANT> - 2017-02-20 13:46 -0800
    Re: One More Time: Mac Antivirus Software? Tim Streater <timstreater@greenbee.net> - 2017-02-19 16:11 +0000
    Re: One More Time: Mac Antivirus Software? Don Bruder <Don@sonic.net> - 2017-02-19 08:44 -0800
      Re: One More Time: Mac Antivirus Software? Davoud <star@sky.net> - 2017-02-19 12:16 -0500
    Re: One More Time: Mac Antivirus Software? me@home.spamsucks.ca (Király) - 2017-02-19 17:01 +0000
    Re: One More Time: Mac Antivirus Software? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-02-19 18:25 +0000
    Re: One More Time: Mac Antivirus Software? Ken Springer <wordworks@greeleynet.com> - 2017-02-19 11:59 -0700
      Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-02-19 19:58 +0000
      Re: One More Time: Mac Antivirus Software? Alrescha <alrescha@gmail.com> - 2017-02-19 15:00 -0500
        Re: One More Time: Mac Antivirus Software? nospam <nospam@nospam.invalid> - 2017-02-19 15:24 -0500
      Re: One More Time: Mac Antivirus Software? nospam <nospam@nospam.invalid> - 2017-02-19 15:24 -0500
      Re: One More Time: Mac Antivirus Software? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-02-19 20:33 +0000
      Re: One More Time: Mac Antivirus Software? MeV <michael.vilain@gmail.com> - 2017-02-19 12:35 -0800
        Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-02-19 20:50 +0000
      Re: One More Time: Mac Antivirus Software? Doc O'Leary  <droleary@2015usenet1.subsume.com> - 2017-02-20 02:07 +0000
        Re: One More Time: Mac Antivirus Software? nospam <nospam@nospam.invalid> - 2017-02-19 21:18 -0500
          Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-02-20 03:22 +0000
        Re: One More Time: Mac Antivirus Software? Davoud <star@sky.net> - 2017-02-19 21:31 -0500
          Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-02-20 03:27 +0000
          Re: One More Time: Mac Antivirus Software? Doc O'Leary  <droleary@2015usenet1.subsume.com> - 2017-02-20 15:32 +0000
            Re: One More Time: Mac Antivirus Software? Davoud <star@sky.net> - 2017-02-20 17:35 -0500
    Re: One More Time: Mac Antivirus Software? Wade Garrett <wade@cooler.net> - 2017-02-19 16:39 -0500
      Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-02-25 15:13 -0500
        Re: One More Time: Mac Antivirus Software? Wade Garrett <wade@cooler.net> - 2017-02-25 18:33 -0500
        Re: One More Time: Mac Antivirus Software? Don Bruder <Don@sonic.net> - 2017-02-25 18:04 -0800
          Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-02-27 12:16 -0500
        Re: One More Time: Mac Antivirus Software? Ken Springer <wordworks@greeleynet.com> - 2017-02-26 06:48 -0700
          Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-02-27 12:25 -0500
            Re: One More Time: Mac Antivirus Software? nospam <nospam@nospam.invalid> - 2017-02-27 12:28 -0500
            Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-02-27 18:26 +0000
              Re: One More Time: Mac Antivirus Software? nospam <nospam@nospam.invalid> - 2017-02-27 16:40 -0500
            Re: One More Time: Mac Antivirus Software? Ken Springer <wordworks@greeleynet.com> - 2017-02-27 11:50 -0700
              Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-01 11:28 -0500
                Re: One More Time: Mac Antivirus Software? Ken Springer <wordworks@greeleynet.com> - 2017-03-01 10:53 -0700
                  Re: One More Time: Mac Antivirus Software? nospam <nospam@nospam.invalid> - 2017-03-01 13:24 -0500
                    Re: One More Time: Mac Antivirus Software? Ken Springer <wordworks@greeleynet.com> - 2017-03-01 15:50 -0700
                  Re: One More Time: Mac Antivirus Software? dcohenspam@talktalk.net (Daniel Cohen) - 2017-03-02 20:42 +0000
                    Re: One More Time: Mac Antivirus Software? Ken Springer <wordworks@greeleynet.com> - 2017-03-03 09:30 -0700
            Re: One More Time: Mac Antivirus Software? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-02-28 10:37 +0000
              Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-01 11:35 -0500
                Re: One More Time: Mac Antivirus Software? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-03-01 18:53 +0000
                  Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-03 14:23 -0500
                    Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-03-03 19:41 +0000
                    Re: One More Time: Mac Antivirus Software? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-03-03 20:55 +0000
                    Re: One More Time: Mac Antivirus Software? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-03-03 21:04 +0000
                      Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-03-03 21:49 +0000
                        Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-03 23:25 -0500
                          Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-03-04 06:24 +0000
                            Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-04 16:02 -0500
                              Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-03-04 22:26 +0000
                                Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-06 15:03 -0500
                                  Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-03-06 20:52 +0000
                                    Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-07 12:00 -0500
                                      Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-03-07 17:18 +0000
                                Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-10 12:51 -0500
                                  Re: One More Time: Mac Antivirus Software? dempson@actrix.gen.nz (David Empson) - 2017-03-11 10:18 +1300
                                    Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-03-10 22:22 +0000
                                      Re: One More Time: Mac Antivirus Software? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-03-11 01:22 +0000
                                        Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-13 17:57 -0400
                                          Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-03-13 22:06 +0000
                                      Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-13 17:53 -0400
                                    Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-13 17:44 -0400
                                      Re: One More Time: Mac Antivirus Software? dempson@actrix.gen.nz (David Empson) - 2017-03-14 19:42 +1300
                                        Re: One More Time: Mac Antivirus Software? Nelson <nelson@nowhere.com> - 2017-03-14 04:29 -0400
                                          Re: One More Time: Mac Antivirus Software? guess.who@guesswho.com - 2017-03-14 04:55 -0400
                                            Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-15 13:12 -0400
                                          Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-15 13:10 -0400
                                            Re: One More Time: Mac Antivirus Software? Nelson <nelson@nowhere.com> - 2017-03-15 13:31 -0400
                                              Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-16 13:53 -0400
                                                Re: One More Time: Mac Antivirus Software? Nelson <nelson@nowhere.com> - 2017-03-16 14:15 -0400
                                        Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-15 13:08 -0400
                                          Re: One More Time: Mac Antivirus Software? Nelson <nelson@nowhere.com> - 2017-03-15 13:36 -0400
                                        Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-16 14:15 -0400
                                          Re: One More Time: Mac Antivirus Software? Jolly Roger <jollyroger@pobox.com> - 2017-03-16 19:50 +0000
                                            Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-18 13:59 -0400
                                          Re: One More Time: Mac Antivirus Software? dempson@actrix.gen.nz (David Empson) - 2017-03-17 09:02 +1300
                                            Re: One More Time: Mac Antivirus Software? Fred Moore <fmoore@gfcn.huh> - 2017-03-18 13:56 -0400
                                              Re: One More Time: Mac Antivirus Software?--Sleep problem update Fred Moore <fmoore@gfcn.huh> - 2017-03-22 17:17 -0400
                                                Re: One More Time: Mac Antivirus Software?--Sleep problem update dempson@actrix.gen.nz (David Empson) - 2017-03-23 10:43 +1300
                                                  Re: One More Time: Mac Antivirus Software?--Sleep problem update Jolly Roger <jollyroger@pobox.com> - 2017-03-22 23:47 +0000
                                                    Re: One More Time: Mac Antivirus Software?--Sleep problem update Fred Moore <fmoore@gfcn.huh> - 2017-03-23 13:53 -0400
                                                  Re: One More Time: Mac Antivirus Software?--Sleep problem update Fred Moore <fmoore@gfcn.huh> - 2017-03-23 13:52 -0400
                                                Re: One More Time: Mac Antivirus Software?--Sleep problem update Nelson <nelson@nowhere.com> - 2017-03-23 04:34 -0400
                                                  Re: One More Time: Mac Antivirus Software?--Sleep problem update Fred Moore <fmoore@gfcn.huh> - 2017-03-23 13:57 -0400
                                                    Re: One More Time: Mac Antivirus Software?--Sleep problem update Nelson <nelson@nowhere.com> - 2017-03-23 16:03 -0400
                                  Re: One More Time: Mac Antivirus Software? dorayme <do_ray_me@bigpond.com> - 2017-03-11 09:12 +1100
                                  Re: One More Time: Mac Antivirus Software? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-03-11 00:44 +0000
                              Re: One More Time: Mac Antivirus Software? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-03-05 01:07 +0000
                          Re: One More Time: Mac Antivirus Software? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-03-04 08:08 +0000
    Re: One More Time: Mac Antivirus Software? dorayme <do_ray_me@bigpond.com> - 2017-02-20 10:38 +1100

Page 5 of 5 — ← Prev page 1 2 3 4 [5]


#102386

FromNelson <nelson@nowhere.com>
Date2017-03-15 13:36 -0400
Message-ID<0001HW.D4EEF3ED013DDB3FB02919BF@news.astraweb.com>
In reply to#102378
On Wed, 15 Mar 2017 13:08:03 -0400, Fred Moore wrote
(in article <oabs88$o2p$1@dont-email.me>):

> I have an Apple Bluetooth keyboard and Magic Mouse, but they have been there 
> forever. Nothing new, so I don't know why they would be causing a problem 
now.

How about a phone or another computer?  I don't believe my problem was 
an actual device because after I deleted everything I was able to 
re-install it without the problem recurring.  It was probably the 
Little People playing tricks on me.

-- 
Nelson

[toc] | [prev] | [next] | [standalone]


#102426

FromFred Moore <fmoore@gfcn.huh>
Date2017-03-16 14:15 -0400
Message-ID<oaekif$51j$1@dont-email.me>
In reply to#102289
[David's excellent troubleshooting information omitted for brevity]

First, I tried the script Lewis posted, just because it was simpler than 
yours, David. This was the verbatim confusing output I got. I then tried 
your script with similar results (not posted for brevity):

me% while :
while: Expression Syntax.
   do echo -n `date '+%H:%M:%S '`
   pmset -g | awk '/ sleep/{print substr($0, index($0,$2))}'
   sleep 10
done
[mini:~] me%   do echo -n `date '+%H:%M:%S '`
do: Command not found.
[mini:~] me%   pmset -g | awk '/ sleep/{print substr($0, index($0,$2))}'
180
[mini:~] me%   sleep 10
[mini:~] me% done
done: Command not found.
[mini:~] me% while :   do echo -n `date '+%H:%M:%S '`   pmset -g | awk 
'/ sleep/{print substr($0, index($0,$2))}'
while: Expression Syntax.
   sleep 10
done[mini:~] me%   sleep 10
[mini:~] me% done

Does this mean anything?

Then I ran pmset -g assertionslog for about 20 minutes while every thing 
was working (sleep available according to pmset -g). Nothing weird I 
could see. The (screen) sleep countdown kept decreasing just as it 
should until I intervened after ~20 min.

(edited for brevity)
-hidd UserIsActive named: "com.apple.iohideventsystem.queue.tickle" and
-powerd ExternalMedia named: 
"com.apple.powermanagement.externalmediamounted"

appeared in every iteration.

-apsd ApplePushServiceTask named: 
"com.apple.apsd-lastpowerassertionlinger" ,
-AddressBookSour): [0x00000001000003e3] 00:00:00 
PreventUserIdleSystemSleep named: "Address Book Source Sync" , and
-UserEventAgent BackgroundTask named: "com.apple.AddressBook.ScheduledSync"

appeared in quite a few with a confusing notation. After the 
AddressBookSour entry, the next line would be "Timeout will fire in 1800 
[or almost 1800] secs Action=TimeoutActionTurnOff", but just a couple 
lines below after the hidd entry, I'd see "Timeout will fire in [the 
correctly decreasing number] secs Action=TimeoutActionTurnOff"

Any idea what this means?

I haven't had a chance to rerun the assertionslog after it won't sleep 
because the machine is now sleeping on schedule. Go figure. No guesses 
how long that will last. Thanks again for your help.

[toc] | [prev] | [next] | [standalone]


#102431

FromJolly Roger <jollyroger@pobox.com>
Date2017-03-16 19:50 +0000
Message-ID<ej08jbFjo58U1@mid.individual.net>
In reply to#102426
On 2017-03-16, Fred Moore <fmoore@gfcn.huh> wrote:
> [David's excellent troubleshooting information omitted for brevity]
>
> First, I tried the script Lewis posted, just because it was simpler than 
> yours, David. This was the verbatim confusing output I got. I then tried 
> your script with similar results (not posted for brevity):
>
> me% while :
> while: Expression Syntax.

Is this the script you tried?:

while : 
  do echo -n `date '+%H:%M:%S '` 
  pmset -g assertions | awk '/hidd/{getline; print substr($0, 1, index($0, $7) - 2)}' 
  sleep 10 
done 

Here it is one a single line:

while :; do echo -n `date '+%H:%M:%S '`; pmset -g assertions | awk
'/hidd/{getline; print substr($0, 1, index($0, $7) - 2)}'; sleep 10; done

And here's a sample of the expected output:

# while : 
#   do echo -n `date '+%H:%M:%S '` 
#   pmset -g assertions | awk '/hidd/{getline; print substr($0, 1,
#   index($0, $7) - 2)}' 
#   sleep 10 
# done 
12:48:31	Timeout will fire in 584 secs
12:48:41	Timeout will fire in 574 secs
12:48:51	Timeout will fire in 564 secs

Either you copied and pasted it incorrectly or you are using a shell
that is not the standard /bin/bash shell. What shell are you using?

> Then I ran pmset -g assertionslog for about 20 minutes while every thing 
> was working

That's not useful; you need to know what it says when the problem occurs.

> Any idea what this means?

None of it is relevant.

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

[toc] | [prev] | [next] | [standalone]


#102562

FromFred Moore <fmoore@gfcn.huh>
Date2017-03-18 13:59 -0400
Message-ID<oajsco$b6o$2@dont-email.me>
In reply to#102431
On 3/16/17 3:50 p, Jolly Roger wrote:
> On 2017-03-16, Fred Moore <fmoore@gfcn.huh> wrote:
>> [David's excellent troubleshooting information omitted for brevity]
>>
>> First, I tried the script Lewis posted, just because it was simpler than
>> yours, David. This was the verbatim confusing output I got. I then tried
>> your script with similar results (not posted for brevity):
>>
>> me% while :
>> while: Expression Syntax.
>
> Is this the script you tried?:
>
> while :
>   do echo -n `date '+%H:%M:%S '`
>   pmset -g assertions | awk '/hidd/{getline; print substr($0, 1, index($0, $7) - 2)}'
>   sleep 10
> done
>
> Here it is one a single line:
>
> while :; do echo -n `date '+%H:%M:%S '`; pmset -g assertions | awk
> '/hidd/{getline; print substr($0, 1, index($0, $7) - 2)}'; sleep 10; done
>
> And here's a sample of the expected output:
>
> # while :
> #   do echo -n `date '+%H:%M:%S '`
> #   pmset -g assertions | awk '/hidd/{getline; print substr($0, 1,
> #   index($0, $7) - 2)}'
> #   sleep 10
> # done
> 12:48:31	Timeout will fire in 584 secs
> 12:48:41	Timeout will fire in 574 secs
> 12:48:51	Timeout will fire in 564 secs
>
> Either you copied and pasted it incorrectly or you are using a shell
> that is not the standard /bin/bash shell. What shell are you using?

David figured my error out. I was running the script in tcsh instead of 
bash, so it didn't work.

>> Then I ran pmset -g assertionslog for about 20 minutes while every thing
>> was working
>
> That's not useful; you need to know what it says when the problem occurs.

Got it. I'll rerun the scripts in bash as soon as I can. Thanks for your 
help.

[toc] | [prev] | [next] | [standalone]


#102432

Fromdempson@actrix.gen.nz (David Empson)
Date2017-03-17 09:02 +1300
Message-ID<1n30whu.s64n1ulfxq3nN%dempson@actrix.gen.nz>
In reply to#102426
Fred Moore <fmoore@gfcn.huh> wrote:

> [David's excellent troubleshooting information omitted for brevity]
> 
> First, I tried the script Lewis posted, just because it was simpler than
> yours, David. This was the verbatim confusing output I got. I then tried
> your script with similar results (not posted for brevity):
> 
> me% while :
> while: Expression Syntax.
>    do echo -n `date '+%H:%M:%S '`
>    pmset -g | awk '/ sleep/{print substr($0, index($0,$2))}'
>    sleep 10
> done
> [mini:~] me%   do echo -n `date '+%H:%M:%S '`
> do: Command not found.

Both Lewis and I assumed you were running the current standard macOS/OS
X shell, which for many versions has been bash. You're running csh or
tcsh, which doesn't understand the syntax of the while/do/done commands,
leading to it only executing the pmset -g command once rather than
looping.

tcsh used to be the standard OS X shell, and if your user account was
created long enough ago (about Mac OS X 10.2 to 10.4) it might still be
using that as the default shell. My account was like that until I
changed it to use bash a few years ago, because some of the extra bits
Apple had configured for tcsh stopped working and it was clear they were
no longer actively supporting it.

To run bash instead of tcsh as a one-off, simply type the command:

bash

The script should then work.

If you aren't relying on tcsh for anything in particular, and aren't a
regular user of Terminal or the shell, it would probably be best to
change your default shell to bash. This command does the trick:

chsh -s /bin/bash

It will prompt for your password. After pressing return, you should see
another command prompt. At that point you will still be in tcsh, but the
next Terminal window you open will use bash, so just close the window
and open a new one.

(I don't have time to read the rest of your post right now, will look at
it later.)

-- 
David Empson
dempson@actrix.gen.nz

[toc] | [prev] | [next] | [standalone]


#102561

FromFred Moore <fmoore@gfcn.huh>
Date2017-03-18 13:56 -0400
Message-ID<oajs7u$b6o$1@dont-email.me>
In reply to#102432
On 3/16/17 4:02 p, David Empson wrote:
> Fred Moore <fmoore@gfcn.huh> wrote:
>
>> [David's excellent troubleshooting information omitted for brevity]
>>
>> First, I tried the script Lewis posted, just because it was simpler than
>> yours, David. This was the verbatim confusing output I got. I then tried
>> your script with similar results (not posted for brevity):
>>
>> me% while :
>> while: Expression Syntax.
>>    do echo -n `date '+%H:%M:%S '`
>>    pmset -g | awk '/ sleep/{print substr($0, index($0,$2))}'
>>    sleep 10
>> done
>> [mini:~] me%   do echo -n `date '+%H:%M:%S '`
>> do: Command not found.
>
> Both Lewis and I assumed you were running the current standard macOS/OS
> X shell, which for many versions has been bash. You're running csh or
> tcsh, which doesn't understand the syntax of the while/do/done commands,
> leading to it only executing the pmset -g command once rather than
> looping.

Give the man a cigar! Yes, I'm running tcsh, but I have only a very 
vague memory of setting that up a very long time ago.

> tcsh used to be the standard OS X shell, and if your user account was
> created long enough ago (about Mac OS X 10.2 to 10.4) it might still be
> using that as the default shell. My account was like that until I
> changed it to use bash a few years ago, because some of the extra bits
> Apple had configured for tcsh stopped working and it was clear they were
> no longer actively supporting it.

Yes, the primary user account was created in 10.2. My notes claim Apple 
switched to bash as a default in 10.4.

...
>
> If you aren't relying on tcsh for anything in particular, and aren't a
> regular user of Terminal or the shell, it would probably be best to
> change your default shell to bash. This command does the trick:
>
> chsh -s /bin/bash

If it's good enough for you, it's certainly good enough for me. Done.

Thanks so much for this tutorial! I'll retry running the scripts as soon 
as I have a chance.

[toc] | [prev] | [next] | [standalone]


#102822 — Re: One More Time: Mac Antivirus Software?--Sleep problem update

FromFred Moore <fmoore@gfcn.huh>
Date2017-03-22 17:17 -0400
SubjectRe: One More Time: Mac Antivirus Software?--Sleep problem update
Message-ID<oaupgk$q7q$1@dont-email.me>
In reply to#102561
An update on my sleep problem: I seemed to have fixed it by changing the 
display and computer sleep settings in the Energy Saver prefs. At least 
it hasn't reoccurred since I did that; I can't be 100% sure it's gone yet.

Details: It wasn't any inspiration that lead me to change these 
settings. I was just trying to get the script that David and Lewis had 
laid out to work. My defaults were 30 minutes of screen sleep and 3 
hours for the computer. I didn't want to wait round for that long to see 
what happened so I set them to 1 and 3 minutes respectively. The problem 
has not reoccurred. As to why this fixed the issue, I have no idea.

Thanks again to David, JR, Lewis, and Nelson for your help. Very much 
appreciated! I can now run pmset -g in my sleep!

[toc] | [prev] | [next] | [standalone]


#102828 — Re: One More Time: Mac Antivirus Software?--Sleep problem update

Fromdempson@actrix.gen.nz (David Empson)
Date2017-03-23 10:43 +1300
SubjectRe: One More Time: Mac Antivirus Software?--Sleep problem update
Message-ID<1n3c59n.n1s55uwc7vlbN%dempson@actrix.gen.nz>
In reply to#102822
Fred Moore <fmoore@gfcn.huh> wrote:

> An update on my sleep problem: I seemed to have fixed it by changing the
> display and computer sleep settings in the Energy Saver prefs. At least
> it hasn't reoccurred since I did that; I can't be 100% sure it's gone yet.
> 
> Details: It wasn't any inspiration that lead me to change these 
> settings. I was just trying to get the script that David and Lewis had
> laid out to work. My defaults were 30 minutes of screen sleep and 3 
> hours for the computer. I didn't want to wait round for that long to see
> what happened so I set them to 1 and 3 minutes respectively. The problem
> has not reoccurred. As to why this fixed the issue, I have no idea.

Given the previous computer sleep timeout of 3 hours, a possible
explanation is that you had _something_ which is occasionally producing
fake user activity (thus retriggering the 3 hour timeout), perhaps only
after the computer has been awake for an hour or more and with somewhat
variable timing. By reducing the sleep timeout below some critical
threshold, you've prevented whatever it is from ever reaching the point
that it runs.

I'm still inclined to suspect an external source from an input device,
such as a Bluetooth keyboard or mouse going into a deep sleep mode after
its own timeout since last use, which gets misinterpreted by the
computer as activity, but only if the computer is awake at the time.
 
> Thanks again to David, JR, Lewis, and Nelson for your help. Very much
> appreciated! I can now run pmset -g in my sleep!

You're welcome.

-- 
David Empson
dempson@actrix.gen.nz

[toc] | [prev] | [next] | [standalone]


#102850 — Re: One More Time: Mac Antivirus Software?--Sleep problem update

FromJolly Roger <jollyroger@pobox.com>
Date2017-03-22 23:47 +0000
SubjectRe: One More Time: Mac Antivirus Software?--Sleep problem update
Message-ID<ejggntFrcbqU2@mid.individual.net>
In reply to#102828
On 2017-03-22, David Empson <dempson@actrix.gen.nz> wrote:
> Fred Moore <fmoore@gfcn.huh> wrote:
>
>> An update on my sleep problem: I seemed to have fixed it by changing the
>> display and computer sleep settings in the Energy Saver prefs. At least
>> it hasn't reoccurred since I did that; I can't be 100% sure it's gone yet.
>> 
>> Details: It wasn't any inspiration that lead me to change these 
>> settings. I was just trying to get the script that David and Lewis had
>> laid out to work. My defaults were 30 minutes of screen sleep and 3 
>> hours for the computer. I didn't want to wait round for that long to see
>> what happened so I set them to 1 and 3 minutes respectively. The problem
>> has not reoccurred. As to why this fixed the issue, I have no idea.
>
> Given the previous computer sleep timeout of 3 hours, a possible
> explanation is that you had _something_ which is occasionally producing
> fake user activity (thus retriggering the 3 hour timeout), perhaps only
> after the computer has been awake for an hour or more and with somewhat
> variable timing. By reducing the sleep timeout below some critical
> threshold, you've prevented whatever it is from ever reaching the point
> that it runs.
>
> I'm still inclined to suspect an external source from an input device,
> such as a Bluetooth keyboard or mouse going into a deep sleep mode after
> its own timeout since last use, which gets misinterpreted by the
> computer as activity, but only if the computer is awake at the time.

Tip: If you don't want Bluetooth devices to be able to wake your
computer, you can disable that setting at System Preferences > Bluetooth
> Advanced > Allow Bluetooth devices to wake this computer.

>> Thanks again to David, JR, Lewis, and Nelson for your help. Very much
>> appreciated! I can now run pmset -g in my sleep!
>
> You're welcome.

Ditto. : )

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

[toc] | [prev] | [next] | [standalone]


#102894 — Re: One More Time: Mac Antivirus Software?--Sleep problem update

FromFred Moore <fmoore@gfcn.huh>
Date2017-03-23 13:53 -0400
SubjectRe: One More Time: Mac Antivirus Software?--Sleep problem update
Message-ID<ob11tu$kv6$2@dont-email.me>
In reply to#102850
On 3/22/17 7:47 p, Jolly Roger wrote:
> On 2017-03-22, David Empson <dempson@actrix.gen.nz> wrote:
>> Fred Moore <fmoore@gfcn.huh> wrote:
>>
>>> An update on my sleep problem: I seemed to have fixed it by changing the
>>> display and computer sleep settings in the Energy Saver prefs. At least
>>> it hasn't reoccurred since I did that; I can't be 100% sure it's gone yet.
>>>
>>> Details: It wasn't any inspiration that lead me to change these
>>> settings. I was just trying to get the script that David and Lewis had
>>> laid out to work. My defaults were 30 minutes of screen sleep and 3
>>> hours for the computer. I didn't want to wait round for that long to see
>>> what happened so I set them to 1 and 3 minutes respectively. The problem
>>> has not reoccurred. As to why this fixed the issue, I have no idea.
>>
>> Given the previous computer sleep timeout of 3 hours, a possible
>> explanation is that you had _something_ which is occasionally producing
>> fake user activity (thus retriggering the 3 hour timeout), perhaps only
>> after the computer has been awake for an hour or more and with somewhat
>> variable timing. By reducing the sleep timeout below some critical
>> threshold, you've prevented whatever it is from ever reaching the point
>> that it runs.
>>
>> I'm still inclined to suspect an external source from an input device,
>> such as a Bluetooth keyboard or mouse going into a deep sleep mode after
>> its own timeout since last use, which gets misinterpreted by the
>> computer as activity, but only if the computer is awake at the time.
>
> Tip: If you don't want Bluetooth devices to be able to wake your
> computer, you can disable that setting at System Preferences > Bluetooth
>> Advanced > Allow Bluetooth devices to wake this computer.

Good idea. I'll try it, or replace both the keyboard and mouse with 
wired alternatives, if the problem reoccurs.

>>> Thanks again to David, JR, Lewis, and Nelson for your help. Very much
>>> appreciated! I can now run pmset -g in my sleep!
>>
>> You're welcome.
>
> Ditto. : )
>

[toc] | [prev] | [next] | [standalone]


#102893 — Re: One More Time: Mac Antivirus Software?--Sleep problem update

FromFred Moore <fmoore@gfcn.huh>
Date2017-03-23 13:52 -0400
SubjectRe: One More Time: Mac Antivirus Software?--Sleep problem update
Message-ID<ob11r5$kv6$1@dont-email.me>
In reply to#102828
On 3/22/17 5:43 p, David Empson wrote:
> Fred Moore <fmoore@gfcn.huh> wrote:
>
>> An update on my sleep problem: I seemed to have fixed it by changing the
>> display and computer sleep settings in the Energy Saver prefs. At least
>> it hasn't reoccurred since I did that; I can't be 100% sure it's gone yet.
>>
>> Details: It wasn't any inspiration that lead me to change these
>> settings. I was just trying to get the script that David and Lewis had
>> laid out to work. My defaults were 30 minutes of screen sleep and 3
>> hours for the computer. I didn't want to wait round for that long to see
>> what happened so I set them to 1 and 3 minutes respectively. The problem
>> has not reoccurred. As to why this fixed the issue, I have no idea.
>
> Given the previous computer sleep timeout of 3 hours, a possible
> explanation is that you had _something_ which is occasionally producing
> fake user activity (thus retriggering the 3 hour timeout), perhaps only
> after the computer has been awake for an hour or more and with somewhat
> variable timing. By reducing the sleep timeout below some critical
> threshold, you've prevented whatever it is from ever reaching the point
> that it runs.

Entirely possible; however, the question then is why has it just 
occurred now when I've had this setup for years?

Another thought in the troubleshooting litany, given what seemed to fix 
the problem, I should have tried zapping NVRAM. Obvious after the fact 
and couldn't hurt.

> I'm still inclined to suspect an external source from an input device,
> such as a Bluetooth keyboard or mouse going into a deep sleep mode after
> its own timeout since last use, which gets misinterpreted by the
> computer as activity, but only if the computer is awake at the time.

This was, indeed, a good troubleshooting idea. If the problem reoccurs, 
I'll certainly try it. This time I just lucked out into a solution 
before I got to it.

>> Thanks again to David, JR, Lewis, and Nelson for your help. Very much
>> appreciated! I can now run pmset -g in my sleep!
>
> You're welcome.
>

[toc] | [prev] | [next] | [standalone]


#102870 — Re: One More Time: Mac Antivirus Software?--Sleep problem update

FromNelson <nelson@nowhere.com>
Date2017-03-23 04:34 -0400
SubjectRe: One More Time: Mac Antivirus Software?--Sleep problem update
Message-ID<0001HW.D4F900BB0398D6FCB02919BF@news.astraweb.com>
In reply to#102822
On Wed, 22 Mar 2017 17:17:55 -0400, Fred Moore wrote
(in article <oaupgk$q7q$1@dont-email.me>):

> An update on my sleep problem: I seemed to have fixed it by changing the 
> display and computer sleep settings in the Energy Saver prefs. At least 
> it hasn't reoccurred since I did that; I can't be 100% sure it's gone yet.
> 
> Details: It wasn't any inspiration that lead me to change these 
> settings. I was just trying to get the script that David and Lewis had 
> laid out to work. My defaults were 30 minutes of screen sleep and 3 
> hours for the computer. I didn't want to wait round for that long to see 
> what happened so I set them to 1 and 3 minutes respectively. The problem 
> has not reoccurred. As to why this fixed the issue, I have no idea.
> 
> Thanks again to David, JR, Lewis, and Nelson for your help. Very much 
> appreciated! I can now run pmset -g in my sleep!

Nah.  I still think it was The Little People :)

-- 
Nelson

[toc] | [prev] | [next] | [standalone]


#102895 — Re: One More Time: Mac Antivirus Software?--Sleep problem update

FromFred Moore <fmoore@gfcn.huh>
Date2017-03-23 13:57 -0400
SubjectRe: One More Time: Mac Antivirus Software?--Sleep problem update
Message-ID<ob125f$m3i$1@dont-email.me>
In reply to#102870
On 3/23/17 4:34 a, Nelson wrote:
> On Wed, 22 Mar 2017 17:17:55 -0400, Fred Moore wrote
> (in article <oaupgk$q7q$1@dont-email.me>):
>
>> An update on my sleep problem: I seemed to have fixed it by changing the
>> display and computer sleep settings in the Energy Saver prefs. At least
>> it hasn't reoccurred since I did that; I can't be 100% sure it's gone yet.
>>
>> Details: It wasn't any inspiration that lead me to change these
>> settings. I was just trying to get the script that David and Lewis had
>> laid out to work. My defaults were 30 minutes of screen sleep and 3
>> hours for the computer. I didn't want to wait round for that long to see
>> what happened so I set them to 1 and 3 minutes respectively. The problem
>> has not reoccurred. As to why this fixed the issue, I have no idea.
>>
>> Thanks again to David, JR, Lewis, and Nelson for your help. Very much
>> appreciated! I can now run pmset -g in my sleep!
>
> Nah.  I still think it was The Little People :)

But, Nelson, I burned the incense, I uttered the incantations, I even 
left the Laphroaig next to the UPS! What more could they possibly want?!?

*<:o)

[toc] | [prev] | [next] | [standalone]


#102908 — Re: One More Time: Mac Antivirus Software?--Sleep problem update

FromNelson <nelson@nowhere.com>
Date2017-03-23 16:03 -0400
SubjectRe: One More Time: Mac Antivirus Software?--Sleep problem update
Message-ID<0001HW.D4F9A25303BEB639B02919BF@news.astraweb.com>
In reply to#102895
On Thu, 23 Mar 2017 13:57:49 -0400, Fred Moore wrote
(in article <ob125f$m3i$1@dont-email.me>):

> On 3/23/17 4:34 a, Nelson wrote:
>> On Wed, 22 Mar 2017 17:17:55 -0400, Fred Moore wrote
>> (in article <oaupgk$q7q$1@dont-email.me>):
>> 
>>> An update on my sleep problem: I seemed to have fixed it by changing the
>>> display and computer sleep settings in the Energy Saver prefs. At least
>>> it hasn't reoccurred since I did that; I can't be 100% sure it's gone yet.
>>> 
>>> Details: It wasn't any inspiration that lead me to change these
>>> settings. I was just trying to get the script that David and Lewis had
>>> laid out to work. My defaults were 30 minutes of screen sleep and 3
>>> hours for the computer. I didn't want to wait round for that long to see
>>> what happened so I set them to 1 and 3 minutes respectively. The problem
>>> has not reoccurred. As to why this fixed the issue, I have no idea.
>>> 
>>> Thanks again to David, JR, Lewis, and Nelson for your help. Very much
>>> appreciated! I can now run pmset -g in my sleep!
>> 
>> Nah.  I still think it was The Little People :)
> 
> But, Nelson, I burned the incense, I uttered the incantations, I even 
> left the Laphroaig next to the UPS! What more could they possibly want?!?
> 
> *<:o)
> 

Their ways are strange.

-- 
Nelson

[toc] | [prev] | [next] | [standalone]


#102171

Fromdorayme <do_ray_me@bigpond.com>
Date2017-03-11 09:12 +1100
Message-ID<do_ray_me-228A4B.09123811032017@46.sub-75-242-165.myvzw.com>
In reply to#102158
In article <o9uot2$j9l$1@dont-email.me>, Fred Moore <fmoore@gfcn.huh> 
wrote:

> Well, here's an update on this sleep prevention issue. 

I was wondering about this at the time thinking let's see - given my 
own experiences.

> It seems that 
> even when filesharing is turned OFF, the won't-sleep problem reoccurs. 
> However, toggling the setting _or_ just _switching_ filesharing on or 
> off cures the problem for a while.

I have had periods where very little that I have done has been hard 
evidence of curing sleep problems (including not going to sleep on 
command, waking a few seconds later or later for unknown reasons). All 
sorts of things, including the things you have been mentioning and 
doing (on your own or on others recommendation), have seemed to work 
for a while but not for that long. 

For some months now, for reasons I do not know, I have had no sleep 
problems. 

I am on Snow Leopard and happily for most part. It may be that there 
are bugs in the system that continue and are very hard or impossible 
for users to track down. 

Given my smooth running at the moment and for quite a few months, I 
can tell you my settings but it might not be so helpful for your OS?

-- 
dorayme

[toc] | [prev] | [next] | [standalone]


#102178

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2017-03-11 00:44 +0000
Message-ID<slrnoc6i84.376.g.kreme@snow.local>
In reply to#102158
In message <o9uot2$j9l$1@dont-email.me> Fred Moore <fmoore@gfcn.huh> wrote:
> On 3/4/17 5:26 p, Jolly Roger wrote:
>> On 2017-03-04, Fred Moore <fmoore@gfcn.huh> wrote:
>>> On 3/4/17 1:24 a, Jolly Roger wrote:
>>>> On 2017-03-04, Fred Moore <fmoore@gfcn.huh> wrote:
>>>>>
>>>>> Okay, this is getting confusing. I removed Avast and the system slept
>>>>> fine last night when I slept it manually. Tonight I just did the same
>>>>> manual sleep, but the system stayed awake. I ran pmset -g as you fellows
>>>>> suggested, and it produces 'sleep prevented by smbd'. What is smbd? Is
>>>>> that smb filesharing? While I have filesharing turned on, I don't have
>>>>> anything remote mounted. Any idea what's going on? I'm going to try
>>>>> manual sleep again, but I won't be back here till tomorrow regardless.
>>>>
>>>> Hmm... I haven't ever seen that one. Do you happen to be running VMware
>>>> Fusion or Parallels Desktop when the machine refuses to sleep?
>>>
>>> No, not running anything like that or anything exotic.
>>
>> Ok, just checking.
>>
>> I realize it's too late now, but the next time it says smbd is
>> preventing sleep, it would be good to know if the act of turning System
>> Preferences > Sharing > File Sharing off and back on allows the machine
>> to sleep.
>>
>>> This morning I restarted, waited a few minutes, then manually invoked
>>> sleep. Worked fine. This afternoon, I manually tried to invoke sleep,
>>> but no go. pmset -g now says apsd, Apple Push Notification service
>>> daemon, is preventing sleep.
>>
>> Rather than interpreting the output of pmset for us, it might be more
>> helpful to copy and paste the complete output here, in case there are
>> other hints about what's going on.
>>
>> Also, if you know the exact date and time the system tried and faild to
>> sleep, it would be good to copy and paste any messages in the
>> /var/log/system.log file that have time stamps that match that date and
>> time. System log messages often give more detail about error conditions,
>> including sleep/wake issues.
>>
>>> I've never had any of this before. Is the only way to get the machine to
>>> sleep to restart? I'm guessing it's not wise to just use kill the errant
>>> processes. Thanks for your help.
>>
>> We need to know more about the cause of the issue before recommending a
>> solution, I'm afraid.

> Well, here's an update on this sleep prevention issue. It seems that 
> even when filesharing is turned OFF, the won't-sleep problem reoccurs. 
> However, toggling the setting _or_ just _switching_ filesharing on or 
> off cures the problem for a while.

> When I run pmset -g, I can see the "(sleep prevented by <something>)" 
> where <something> so far has been apsd, smbd, UserEventAgent, and/or 
> AddressBookSour. (AddressBook_Sour_ ?)

And this state persists? I ran pmset -g every 10 seconds overnight and
at no point did a single instance of something preventing sleep repeat
from one 10 second interval to the next.

System up-to-date?

-- 
He'd never asked for an exciting life. What he really liked, what he
sought on every occasion, was boredom. The trouble was that boredom
tended to explode in your face. Just when he thought he'd found it he'd
be suddenly involved in what he supposed other people - thoughtless,
feckless people - would call an adventure. And he'd be forced to visit
many strange lands and meet exotic and colourful people, although not
for very long because usually he'd be running. He'd seen the creation of
the universe, although not from a good seat, and had visited Hell and
the afterlife. He'd been captured, imprisoned, rescued, lost and
marooned. Sometimes it had all happened on the same day.

[toc] | [prev] | [next] | [standalone]


#101820

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2017-03-05 01:07 +0000
Message-ID<slrnobmp9t.llb.g.kreme@snow.local>
In reply to#101797
In message <o9f9u0$c41$1@dont-email.me> Fred Moore <fmoore@gfcn.huh> wrote:
> On 3/4/17 1:24 a, Jolly Roger wrote:
>> On 2017-03-04, Fred Moore <fmoore@gfcn.huh> wrote:
>>>
>>> Okay, this is getting confusing. I removed Avast and the system slept
>>> fine last night when I slept it manually. Tonight I just did the same
>>> manual sleep, but the system stayed awake. I ran pmset -g as you fellows
>>> suggested, and it produces 'sleep prevented by smbd'. What is smbd? Is
>>> that smb filesharing? While I have filesharing turned on, I don't have
>>> anything remote mounted. Any idea what's going on? I'm going to try
>>> manual sleep again, but I won't be back here till tomorrow regardless.
>>
>> Hmm... I haven't ever seen that one. Do you happen to be running VMware
>> Fusion or Parallels Desktop when the machine refuses to sleep?

> No, not running anything like that or anything exotic.

> This morning I restarted, waited a few minutes, then manually invoked 
> sleep. Worked fine. This afternoon, I manually tried to invoke sleep, 
> but no go. pmset -g now says apsd, Apple Push Notification service 
> daemon, is preventing sleep. Same issue Lewis is having. WTF? I don't 
> allow _any_ push notifications that I'm aware of.

I was not having an issue. apsd runs for abut 4 seconds every now and
then. When it runs, it does prevent sleep, but it does not run long
enough to actually prevent sleep.

> I've never had any of this before. Is the only way to get the machine to 
> sleep to restart? I'm guessing it's not wise to just use kill the errant 
> processes. Thanks for your help.

while : ; do pmset -g | grep "\bsleep\b"; sleep 10; done
 sleep                10
 sleep                10
 sleep                10
 sleep                10
 sleep                10
 sleep                10
 sleep                10
 sleep                10
 sleep                10
 sleep                10
 sleep                10 (sleep prevented by useractivityd)
 sleep                10
 sleep                10
 sleep                10
 sleep                10
 sleep                10

-- 
The only way of discovering the limits of the possible is to venture a
little way past them into the impossible.

[toc] | [prev] | [next] | [standalone]


#101774

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2017-03-04 08:08 +0000
Message-ID<slrnobktjd.7vl.g.kreme@snow.local>
In reply to#101760
In message <o9dff9$6ni$1@dont-email.me> Fred Moore <fmoore@gfcn.huh> wrote:
> What is smbd?

$ man smbd 

[ ... ]
DESCRIPTION
   smbd runs on a server machine to service SMB protocol
   requests from SMB client machines.

> Is that smb filesharing?

Yes.

> While I have filesharing turned on, I don't have anything remote
> mounted. Any idea what's going on? I'm going to try manual sleep
> again, but I won't be back here till tomorrow regardless.

smbd may be checking the LAN for shares, or may be responding to
queries from another machine or something else might have something on
your machine mounted.


-- 
Yeah, and I never wanted to kick Albert Einstein in the nuts.

[toc] | [prev] | [next] | [standalone]


#100713

Fromdorayme <do_ray_me@bigpond.com>
Date2017-02-20 10:38 +1100
Message-ID<do_ray_me-6ADF70.10384320022017@46.sub-75-242-165.myvzw.com>
In reply to#100653
In article <o8cbch$hjh$1@news.albasani.net>,
 Wade Garrett <wade@cooler.net> wrote:

> I don't use any AV software. My ISP (Comcast) is urging me to accept 
> their offer of a free install of the Norton Internet Security for Mac on 
> my Sierra 10.12.3 iMac.
> 
> Yes? No?

No.

-- 
dorayme

[toc] | [prev] | [standalone]


Page 5 of 5 — ← Prev page 1 2 3 4 [5]

Back to top | Article view | comp.sys.mac.system


csiph-web