[comp.sys.mac.programmer] Blinking Apple

photo@trwspf.TRW.COM (Brian Girvin) (07/29/88)

The other day as the image of the clock danced around on my Mac Plus,
I heard a beep.  Oh, I thought, I must have lost contact with a 
MacServe Server.  But when I moved the mouse I did not see the standard
alert box associated with the temporary MacServe error.  What I did 
see was really strange...I saw the apple in the menu bar blinking from
regular to inverse with a black box around it.  It blinks once a second.
What does this mean????  Is it from the System or is it from some software 
program playing a joke on my Mac?  The Apple menu works find when you click
on it.  I am running Finder 6.0 and System 4.2.

By the way, someone else in our lab said that the apple in the menubar of
her Mac SE has always blinked from the first day she got it about 6 months
ago.  She thought it was suppose to.

I can't stand the stupid blinking.  How do I STOP it ??? 
-- 
-- Brian J. Girvin
   TRW, Bldg O2/1797, One Space Park, Redondo Beach, CA  90278
   USENET:  photo@trwspf.trw.com        Phone:  (213) 535-1709 
            {sdcrdcf, scgvaxd, ucbvax}!trwrb!trwspf!photo

ostroff@oswego.Oswego.EDU (Boyd Ostroff) (07/31/88)

In article <806@trwspf.TRW.COM> photo@trwspf.UUCP (Brian Girvin) writes:
>...I saw the apple in the menu bar blinking from
>regular to inverse with a black box around it.  It blinks once a second.
>What does this mean????  Is it from the System or is it from some software 

In my experience, this is always caused by someone setting the ALARM CLOCK 
Desk Accessory.  It seems that at any given moment about 50% of the Macs
in the labs here have blinking apples.  It can be confusing, since the system
floppy currently in use may not have the Alarm Clock DA on it, and therefore
can't turn the alarm off (the clock settings are held in the battery-backed
parameter RAM and stay in effect until changed).

Solution: get a disk with the Alarm Clock DA on it, and shut off the alarm!

::::::::::::::::::::::::::::::::::::::::: 
::  Boyd Ostroff, Technical Director   :: System Operator, "The CallBoard"
:: Department of Theatre, SUNY Oswego  :: - Serving the performing arts -
:: Internet: ostroff@oswego.Oswego.EDU :: (315) 947-6414, 300/1200 baud, 8N1
::        Voice: (315) 341-2987        :: UUCP ...sunybcs!oswego!cboard!ostroff
:::::::::::::::::::::::::::::::::::::::::

dcc@ncsuvx.ncsu.edu (Daniel C. Carr) (07/31/88)

 daniel carr

dcc@ncsuvx.ncsu.edu (Daniel C. Carr) (07/31/88)

In article <2040@ncsuvx.ncsu.edu> dcc@ncsuvx.UUCP (Daniel C. Carr) writes:
>
> daniel carr
>

sorry about that last posting.  the first line got chopped.  i meant to say
that it was the alarm clock (Desk Accessory)

daniel carr

jack@cs.glasgow.ac.uk (Jack Campin) (08/02/88)

photo@trwspf.UUCP (Brian Girvin) writes:
[re a blinking apple in the menu bar:]
>I can't stand the stupid blinking.  How do I STOP it? [with the Alarm Clock]

Now for a harder one. How do you stop the insertion-point cursor in a word
processor (I use WriteNow, but they all do it) from blinking? Ideally, how
do you stop it but leave yourself the option to reactivate it while the
program is running... or am I fantasizing?

-- 
ARPA: jack%cs.glasgow.ac.uk@nss.cs.ucl.ac.uk       USENET: jack@cs.glasgow.uucp
JANET:jack@uk.ac.glasgow.cs      useBANGnet: ...mcvax!ukc!cs.glasgow.ac.uk!jack
Mail: Jack Campin, Computing Science Dept., Glasgow Univ., 17 Lilybank Gardens,
      Glasgow G12 8QQ, SCOTLAND     work 041 339 8855 x 6045; home 041 556 1878

april@eleazar.dartmouth.edu (April J. Weisman) (08/04/88)

In article <1555@crete.cs.glasgow.ac.uk> jack@cs.glasgow.ac.uk (Jack Campin) writes:
>Now for a harder one. How do you stop the insertion-point cursor in a word
>processor (I use WriteNow, but they all do it) from blinking? Ideally, how
>do you stop it but leave yourself the option to reactivate it while the
>program is running... or am I fantasizing?

As far as I know, that is a Macintosh thing, built into the code of any text
editing program.  Not something you can turn off easily!  :-)

-April



April J. Weisman     |"The big picture: 12 credits.|april@eleazar.dartmouth.edu
HB 390 Dartmouth Clg |It's very big.  12 credits   |{decvax ihnp4 harvard}...
Hanover NH, 03755    |probably isn't enough, it's  |   ...!dartvax!eleazar!april
 603-643-7727        |so big!" -Dr.Wolper, Creator |Disclaimer: Opinion?  Me?

merchant@eleazar.dartmouth.edu (Peter Merchant) (08/04/88)

In article <1555@crete.cs.glasgow.ac.uk>, Jack Campin writes:
>Now for a harder one. How do you stop the insertion-point cursor in a word
>processor (I use WriteNow, but they all do it) from blinking? Ideally, how
>do you stop it but leave yourself the option to reactivate it while the
>program is running... or am I fantasizing?

One way you could do it, I suppose, is to write a DA/CDEV/Whatever to adjust
the cursor blinks.  The number stored the amount of time between blinks.  I
suppose that if you adjust this to zero, the cursor will stop blinking.

Turning it on, just adjust it back using control panels or whatever.
---
"It was too late to turn around..."   Peter Merchant (merchant@eleazar.UUCP)
                                            (merchant@eleazar.dartmouth.EDU)
                                            (Peter.G.Merchant@dartmouth.EDU)

t-benw@microsoft.UUCP (Benjamin Waldmin) (08/05/88)

In article <1555@crete.cs.glasgow.ac.uk> jack@cs.glasgow.ac.uk (Jack Campin) writes:
>
>Now for a harder one. How do you stop the insertion-point cursor in a word
>processor (I use WriteNow, but they all do it) from blinking? Ideally, how
>do you stop it but leave yourself the option to reactivate it while the
>program is running... or am I fantasizing?
Although this doesn't do exactly what you want, you might find it useful.
There is a global variable called CaretTime, a longword at $2f4, which
control the blinking rate of the cursor (the Control Panel sets this
variable when you change the cursor blinking speed).  TextEdit uses
this value to determine its caret blinking, and applications are supposed
to check it themselves.  Anyway, you could change the value of this
variable, increasing the time between blinks.  Unfortunately, then, you'll
have a long time with the cursor on, followed by a long time with it off.
I've tried this with MS Word 3.02, and it works.

Ben Waldman
Software Design Engineer
Microsoft Corp.

Disclaimer: These are my thoughts, opinions, and ideas, and are not related
in any way to those of my employer.

bldflame@pnet06.cts.com (Stuart Burden) (08/05/88)

jack@cs.glasgow.ac.uk (Jack Campin) writes:
>Now for a harder one. How do you stop the insertion-point cursor in a word
>processor (I use WriteNow, but they all do it) from blinking? Ideally, how
>do you stop it but leave yourself the option to reactivate it while the
>program is running... or am I fantasizing?

I don't know if you can stop the blinking in any of the commercial WP's (you'd
probably have to write your own code to do it), but you can slow down the
blink rate.  This is an adjustment in the control panel.

Stu.

__________________________________________________________________________
                    ______________
       -  -- ---  /  __________   /     "Now we send forth Jen.
          - ---  /  / #    #  /  /       Watch over his dangerous quest"
     --- -- --  /  /    /    /  /        
  - - --- ---  /  /   \__/  /  / _________________________________________
 -- -- --- -  /  /_________/  / ARPA: hodge!pnet06!bldflame@crash nosc.mil
   -- --- -- / #        ___  / UUCP: hodge.cts.com!pnet06!bldflame
 - --- - -  /---------------/ INET: bldflame@pnet06.cts.com
--  --- -  /_______________/ _____________________________________________
All of these opinions are mine and therefore a reflection of my own sanity
not necessarily that of anyone else on the face of this earth :-)
__________________________________________________________________________

Mark_Peter_Cookson@cup.portal.com (08/05/88)

Go into the DA called "Alarm Clock" and click on the circle in the right hand
corner, and the window will get bigger.  Then click on the icon of the alarm
clock in the lower right.  Then click on the button in the middle and on the
left.  This turns the alarm off.  The beep you heard was the alarm (the exact
time it went off) and the blinking Apple is to tell you that the alarm went
off even if the Mac was not on at the time.  Hope this helps.  Oh, you get out
of the alarm clock by simply clickin the close box.

Mark Cookson

Mark_Peter_Cookson@cup.portal.com (08/05/88)

You don't stop the insertion point from blinking.  The most you can do is
slow it down.  But that also makes the time it is off longer.  I find that if
you put it on the fastest setting it ok to look at.

Forgive my spelling, it is late...

Mark Cookson

beard@ux1.lbl.gov (Patrick C Beard) (08/06/88)

In article <1555@crete.cs.glasgow.ac.uk> jack@cs.glasgow.ac.uk (Jack Campin) writes:
>
>photo@trwspf.UUCP (Brian Girvin) writes:
>[re a blinking apple in the menu bar:]
>>I can't stand the stupid blinking.  How do I STOP it? [with the Alarm Clock]
>
>Now for a harder one. How do you stop the insertion-point cursor in a word
>processor (I use WriteNow, but they all do it) from blinking? Ideally, how
>do you stop it but leave yourself the option to reactivate it while the
>program is running... or am I fantasizing?
>

One way to kill all blinking would be to patch the trap which leads to
TEIdle.  TEIdle is the call which causes blinking.  Another might be
to go inside WriteNow and stub (place NOP's) in the place of the calls
to TEIdle.  

Just a thought.  It might work if he is using TextEdit for some of the
code.

Patrick Beard
Lawrence Berkeley Laboratory
beard@ux1.lbl.gov

benjamin_kuo@pedro.UUCP (Benjamin Kuo) (08/06/88)

Have you tried checking the ALARM CLOCK Desk Accessory?  Sounds like the 
symptoms of someone setting your ALARM, and never turning it off...