gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: http://cvs.sourceforge.net/viewcvs.py/xanadux/qomunicator/


From: Bob Dodds
Subject: Re: http://cvs.sourceforge.net/viewcvs.py/xanadux/qomunicator/
Date: Fri, 13 Jan 2006 17:34:33 -0500
User-agent: Mozilla Thunderbird 1.0+ (X11/20050606)

Luke Kenneth Casson Leighton wrote:
okay.

i've settled on an approach.  it's a very simple one: a gnokii proxy
daemon.

it will have three unix-domain-sockets on which connections can be
made - /tmp/gnokii-phone/sock; /tmp/gnokii-msg/sock;
/tmp/gnokii-addr/sock.

it will _not_ be multi-threaded or use fork() - just make prodigious use
of select().

on the "phone" socket, the letter "D" followed by a telephone number and
a \n character will result in gn_call_dial() being called, and then
return to the select() loop.  it will receive a response - "1\n" if it
worked, and "0\n" if it didn't.

we're going for maximum over-simplicity here :)

the application will be expected to send, every second or so i should
imagine, a "I\n" command to see if there's an incoming phone call or
not.

"\n" will be sent if there isn't;
"callerid\n" will be sent if there is.

other commands i'll add later, such as "gimme battery status" -
surprisingly this will probably be "B\n" :)

the messaging socket will be as equally simple.

if anyone mentions d-bus and how great it is and how much
better suited it is to the job of supplanting 500 lines of
unix-domain-socket code, i will batter them into unconsciousness
with my htc mobile phone (it's quite large) if ever i meet them.

l.
Cathedral of the Bizarre: cell phone brutality in the
third-world capital of a has-been first-world country

"All the news you can't do anything about"...in DC area
a woman was (silent!) at the hospital for quite a while
with a cell phone lodged in her throat before her
husband was charged with assault. That was last
month.  Then some guy shot his mother, best friend, and
self, because he couldn't stand the suspense of waiting
for cops to ring his shoephone. Another woman had to get
twelve stitches after her husband threw a decoupage dildo
phone at her eye. A NYTimes reporter died after lying on
a gurney in the hall at Howard U hospital for quite a while
after being pulped with a blunt instrument(probably a
steel-toe shoe phone). My friend, a pc repair tech, died
at Howard U last summer after a friend was alerted on
her cell phone that he had been shot in the head, she
drove to him, he recognized her, talked, stood up, he
was still talking all the way to hospital, but they had
no neurosurgeon(turned his shoe phone off to sleep
off substances?), only a bag of ice and cell phone iTunes
for twelve hours until the blood was squeezed out of his
brain by the swelling. He could have called 911 himself,
if only he had an Oakley cell headpiece. If the delivery man
for the $5000 grave marker had a cell phone with iTunes
for stress reduction, he could have put the marker on the
right grave on the first try, because that smart dude
dancing in the office would have called him on the TV
commercial for the big TV money. Maybe, but it's always
a risky proposition depending on morons, even well
tended pre-alzheimers ones.

Not to be. If you have an Oakley barefoot phone, important
calls are being lost. But there is a big hair day coming,
and a big poot is gurgling in the pipeline. Someday, by and
by. Don't worry, be happy, and hunker down in your cube.

"Cell phone rage" is a real thing, and can be triggered
by a failure to apt-get gnokii, click, rip down image and
sound files. But now we know, that takes a kernel module
for ca-42 cable(CA42: "not invented here", it's a kernel
thing, but when you're triggered, what counts is getting
the help you need, wherever, however, whoever,
whatever: Prolific PL2303 USB to serial adaptor driver
aka "locate pl2303.ko", else recompile kernel with it).

updatedb ; locate pl2303.ko
/lib/modules/2.6.15/kernel/drivers/usb/serial/pl2303.ko

"A craniotomy in time saves nine(9mm)".

"Stella! I coulda beena contenda...the horror, the horror"
"To be...or not to be". Focus, code, do it now. Take less
showers and don't waste time flossing. Callbacks, not
polling. Bazaar, not nih-nimby cathedral of the bizarre.

-Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]