[unix-pc.general] You too can change your "working" icon

daveb@gonzo.UUCP (Dave Brower) (11/19/88)

In article <402@polyof.UUCP> john@polyof.UUCP ( John Buck ) writes:
>Here is a little toy for you to play with...  This program will allow you
>to change the "AT&T Working" ICON that appears when your UNIX PC is
>busy doing something....

Which reminds me to ask, "what does it *mean*, anyway?"  Is it "I'm
waiting for disk i/o" or "I have no idle time" or what?

Curiously,
-dB
-- 
"It if was easy, we'd hire people cheaper than you to do it"

{sun,mtxinu,hoptoad}!rtech!gonzo!daveb		daveb@gonzo.uucp

gil@limbic.UUCP (Gil Kloepfer Jr.) (11/21/88)

In article <464@gonzo.UUCP> daveb@gonzo.UUCP (Dave Brower) writes:
|>
|>Which reminds me to ask, "what does it *mean*, anyway?"  Is it "I'm
|>waiting for disk i/o" or "I have no idle time" or what?
[It=The UNIX-pc "Working" Icon]
|>
|>{sun,mtxinu,hoptoad}!rtech!gonzo!daveb		daveb@gonzo.uucp

After fooling with this a bit and looking at when the icon appears and
disappears, I have come to the conclusion that the window driver puts
the icon on the screen at all times except when a process connected
to the "current" window is blocking for terminal input.  At all other
times, the icon is on.  You will notice that it will come on during
a "sleep" command in the shell, but not if you simply start a subprocess
with output going to the terminal.  Even if the machine is "working" its
brains out...that icon won't come on if something is waiting for input
from the current window.

The idea of which window is "current" in this context is the window that
the keyboard is currently attached to.

Any counter-ideas to this theory are welcome.  It's the only explanation
I can come up with.  If anyone else knows for sure what happens, that's
even better :-)

------
Gil Kloepfer, Jr.          U-Net: {decuac,boulder,talcott,sbcs}!icus!limbic!gil
ICUS Software Systems      Voice: (516) 968-6860 [H]   (516) 746-2350 x219 [W]
P.O. Box 1                 Internet:  gil@icus.islp.ny.us
Islip Terrace, NY  11752   "Life's a ...  well, you know..."

ditto@cbmvax.UUCP (Michael "Ford" Ditto) (11/22/88)

In article <464@gonzo.UUCP> daveb@gonzo.UUCP (Dave Brower) writes:
>In article <402@polyof.UUCP> john@polyof.UUCP ( John Buck ) writes:
>> [ ... ] the "AT&T Working" ICON that appears when your UNIX PC is
>>busy doing something....
>
>Which reminds me to ask, "what does it *mean*, anyway?"  Is it "I'm
>waiting for disk i/o" or "I have no idle time" or what?

The "working" icon appears when no process is currently reading from the
selected window.  You can demonstrate this by typing "sleep 5;read foo"
to the shell.  When the "read" is executed the icon will go away.
-- 
					-=] Ford [=-

"The number of Unix installations	(In Real Life:  Mike Ditto)
has grown to 10, with more expected."	ford@kenobi.cts.com
- The Unix Programmer's Manual,		...!sdcsvax!crash!elgar!ford
  2nd Edition, June, 1972.		ditto@cbmvax.commodore.com