public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
@ 2014-07-14 10:52 Andrew Lowe
  2014-07-14 11:15 ` Vladimir Romanov
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Andrew Lowe @ 2014-07-14 10:52 UTC (permalink / raw
  To: gentoo-user

Hi all,
	I have a laptop churning away in the loungeroom doing an "emerge -NuD
world" whilst I'm in my office, amongst other things composing this
email. If my world update fails, I won't know until I look at the screen
in the other room. Is there a way to get emerge to play a song depending
upon the status of the emerge build?

	If memory serves, an email can be sent letting you know what's
happening, but a sound would be better. For example, on those days when
you kick off an emerge then start pottering around the house doing
stuff. All of a sudden Wagner's "Ride of the Valkyries" starts playing,
and you know the emerge has karked it....

	Thoughts greatly appreciated,

		Andrew


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-14 10:52 [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build? Andrew Lowe
@ 2014-07-14 11:15 ` Vladimir Romanov
  2014-07-14 11:25 ` the
  2014-07-14 11:46 ` Neil Bothwick
  2 siblings, 0 replies; 16+ messages in thread
From: Vladimir Romanov @ 2014-07-14 11:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

You can consider section 6.c in Handbook:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=6.
There you can hook into Portage process and execute some media player after
completing.
Not sure how to check for failed status, but i think, it is possible.


2014-07-14 16:52 GMT+06:00 Andrew Lowe <agl@wht.com.au>:

> Hi all,
>         I have a laptop churning away in the loungeroom doing an "emerge
> -NuD
> world" whilst I'm in my office, amongst other things composing this
> email. If my world update fails, I won't know until I look at the screen
> in the other room. Is there a way to get emerge to play a song depending
> upon the status of the emerge build?
>
>         If memory serves, an email can be sent letting you know what's
> happening, but a sound would be better. For example, on those days when
> you kick off an emerge then start pottering around the house doing
> stuff. All of a sudden Wagner's "Ride of the Valkyries" starts playing,
> and you know the emerge has karked it....
>
>         Thoughts greatly appreciated,
>
>                 Andrew
>
>

[-- Attachment #2: Type: text/html, Size: 1618 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-14 10:52 [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build? Andrew Lowe
  2014-07-14 11:15 ` Vladimir Romanov
@ 2014-07-14 11:25 ` the
  2014-07-14 11:28   ` Vladimir Romanov
  2014-07-14 11:46 ` Neil Bothwick
  2 siblings, 1 reply; 16+ messages in thread
From: the @ 2014-07-14 11:25 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 07/14/14 14:52, Andrew Lowe wrote:
> Hi all, I have a laptop churning away in the loungeroom doing an
> "emerge -NuD world" whilst I'm in my office, amongst other things
> composing this email. If my world update fails, I won't know until
> I look at the screen in the other room. Is there a way to get
> emerge to play a song depending upon the status of the emerge
> build?

If I understand you correctly this can be done with bash like:
emerge <...> || play alert.mp3

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJTw74lAAoJEK64IL1uI2haTB8H/0kbi37uYP1oPN7pxJRvY33D
QapwWC9imC8ZNtYScW2ZB62cpkBSHXAx0ti46ENO9Omjmj3SP48zw9M5Lbjg9wiD
il3aYTu82EnRorMrPDbPS6ztJVMLBn9pFOUEB3br1qwvXr35+a7xFVqoYckZtOZB
QfaKcN4ApFFpC59DXoHtYf9OlvVbrg6vlvUHj7R3pzLor1Qd0SgQ51HhCaPiWaMP
iLG+rYwhwrnRhPrKMNCNPo2RkX0qGKsstjeZFV35lOPiKvzXhBmF225bqG4RMWcs
D+JVCx4ng/NHYVoiH2IIvLBQUGVhDpEkCHuBOEfEIfFgKwY4LsYXZKr35j/lboA=
=9gp+
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-14 11:25 ` the
@ 2014-07-14 11:28   ` Vladimir Romanov
  2014-07-14 11:29     ` Vladimir Romanov
  0 siblings, 1 reply; 16+ messages in thread
From: Vladimir Romanov @ 2014-07-14 11:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 664 bytes --]

2014-07-14 17:25 GMT+06:00 the <the.guard@mail.ru>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 07/14/14 14:52, Andrew Lowe wrote:
> > Hi all, I have a laptop churning away in the loungeroom doing an
> > "emerge -NuD world" whilst I'm in my office, amongst other things
> > composing this email. If my world update fails, I won't know until
> > I look at the screen in the other room. Is there a way to get
> > emerge to play a song depending upon the status of the emerge
> > build?
>
> If I understand you correctly this can be done with bash like:
> emerge <...> || play alert.mp3
>
>
TC wants to select, which song to play on result of emerge.

[-- Attachment #2: Type: text/html, Size: 1105 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-14 11:28   ` Vladimir Romanov
@ 2014-07-14 11:29     ` Vladimir Romanov
  2014-07-14 11:40       ` Alan McKinnon
  0 siblings, 1 reply; 16+ messages in thread
From: Vladimir Romanov @ 2014-07-14 11:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

2014-07-14 17:28 GMT+06:00 Vladimir Romanov <blueboar2@gmail.com>:

>
>
>
> 2014-07-14 17:25 GMT+06:00 the <the.guard@mail.ru>:
>
> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> On 07/14/14 14:52, Andrew Lowe wrote:
>> > Hi all, I have a laptop churning away in the loungeroom doing an
>> > "emerge -NuD world" whilst I'm in my office, amongst other things
>> > composing this email. If my world update fails, I won't know until
>> > I look at the screen in the other room. Is there a way to get
>> > emerge to play a song depending upon the status of the emerge
>> > build?
>>
>> If I understand you correctly this can be done with bash like:
>> emerge <...> || play alert.mp3
>>
>>
> TC wants to select, which song to play on result of emerge.
>

Hmmm... Or am i wrong and it's not needed?

[-- Attachment #2: Type: text/html, Size: 1565 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-14 11:29     ` Vladimir Romanov
@ 2014-07-14 11:40       ` Alan McKinnon
  2014-07-14 11:47         ` Neil Bothwick
  2014-07-14 12:07         ` Andrew Lowe
  0 siblings, 2 replies; 16+ messages in thread
From: Alan McKinnon @ 2014-07-14 11:40 UTC (permalink / raw
  To: gentoo-user

On 14/07/2014 13:29, Vladimir Romanov wrote:
> 
> 2014-07-14 17:28 GMT+06:00 Vladimir Romanov <blueboar2@gmail.com
> <mailto:blueboar2@gmail.com>>:
> 
> 
> 
> 
>     2014-07-14 17:25 GMT+06:00 the <the.guard@mail.ru
>     <mailto:the.guard@mail.ru>>:
> 
>         -----BEGIN PGP SIGNED MESSAGE-----
>         Hash: SHA256
> 
>         On 07/14/14 14:52, Andrew Lowe wrote:
>         > Hi all, I have a laptop churning away in the loungeroom doing an
>         > "emerge -NuD world" whilst I'm in my office, amongst other things
>         > composing this email. If my world update fails, I won't know until
>         > I look at the screen in the other room. Is there a way to get
>         > emerge to play a song depending upon the status of the emerge
>         > build?
> 
>         If I understand you correctly this can be done with bash like:
>         emerge <...> || play alert.mp3
> 
> 
>     TC wants to select, which song to play on result of emerge.
> 
> 
> Hmmm... Or am i wrong and it's not needed?


No, you are right. From the OP:

Is there a way to get emerge to play a song depending
upon the status of the emerge build?

I read the in one of two ways:



1. When emerge completes successfully, play something awesome (eg Pink
Floyd). When emerge completes unsuccessfully, play something horrible
(eg Justin Bieber). So maybe:

emerge <...> && play Dark.Side.of.the.Moon.mp3 || play Bieber.Sucks.mp3



2. Play something nice while emerging, and switch to Justin Bieber if
something goes wrong. This one is harder and will require tinkering with
portage internals to read the current status.



Perhaps Andrew will chime in and clarify his needs.


-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-14 10:52 [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build? Andrew Lowe
  2014-07-14 11:15 ` Vladimir Romanov
  2014-07-14 11:25 ` the
@ 2014-07-14 11:46 ` Neil Bothwick
  2014-07-14 12:09   ` Andrew Lowe
  2014-07-15  9:17   ` J. Roeleveld
  2 siblings, 2 replies; 16+ messages in thread
From: Neil Bothwick @ 2014-07-14 11:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 948 bytes --]

On Mon, 14 Jul 2014 18:52:57 +0800, Andrew Lowe wrote:

> 	I have a laptop churning away in the loungeroom doing an
> "emerge -NuD world" whilst I'm in my office, amongst other things
> composing this email. If my world update fails, I won't know until I
> look at the screen in the other room. Is there a way to get emerge to
> play a song depending upon the status of the emerge build?

Using portage hooks, either globally in /etc/portage/bashrc or per
package in /etc/portage/package.env. I have this in bashrc to warn me of
failures

register_die_hook ebuild_failed
ebuild_failed {
	do something foreboding
}

I actually have it send an alert to my phone with Posterous but you can
do whatever you want.

I also use package.env to alert me when particularly
time-consuming ebuilds, like LibreOffice and Chromium, have completed
successfully.


-- 
Neil Bothwick

Profanity, The Language of Computer Professionals.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-14 11:40       ` Alan McKinnon
@ 2014-07-14 11:47         ` Neil Bothwick
  2014-07-14 12:07         ` Andrew Lowe
  1 sibling, 0 replies; 16+ messages in thread
From: Neil Bothwick @ 2014-07-14 11:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

On Mon, 14 Jul 2014 13:40:28 +0200, Alan McKinnon wrote:

> Perhaps Andrew will chime in and clarify his needs.

If all he needs are chimes, there is no need to contaminate his hard
drive with Justin Bieber MP3s.


-- 
Neil Bothwick

Can you be a closet claustrophobic?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-14 11:40       ` Alan McKinnon
  2014-07-14 11:47         ` Neil Bothwick
@ 2014-07-14 12:07         ` Andrew Lowe
  1 sibling, 0 replies; 16+ messages in thread
From: Andrew Lowe @ 2014-07-14 12:07 UTC (permalink / raw
  To: gentoo-user

On 07/14/2014 07:40 PM, Alan McKinnon wrote:
> On 14/07/2014 13:29, Vladimir Romanov wrote:
>>
>> 2014-07-14 17:28 GMT+06:00 Vladimir Romanov <blueboar2@gmail.com
>> <mailto:blueboar2@gmail.com>>:
>>


[snip]


>> Hmmm... Or am i wrong and it's not needed?
> 
> 
> No, you are right. From the OP:
> 
> Is there a way to get emerge to play a song depending
> upon the status of the emerge build?
> 
> I read the in one of two ways:
> 
> 
> 
> 1. When emerge completes successfully, play something awesome (eg Pink
> Floyd). When emerge completes unsuccessfully, play something horrible
> (eg Justin Bieber). So maybe:
> 
> emerge <...> && play Dark.Side.of.the.Moon.mp3 || play Bieber.Sucks.mp3

	Alan has it right, play something when the emerge succeeds, something
else when it fails. Got plenty of Pink Floyd, but no "what's his face" -
I can't even bring myself to type his name ;) I'd probably just use
Chopin's Funeral March...

	Andrew


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-14 11:46 ` Neil Bothwick
@ 2014-07-14 12:09   ` Andrew Lowe
  2014-07-14 12:21     ` Neil Bothwick
  2014-07-15  9:17   ` J. Roeleveld
  1 sibling, 1 reply; 16+ messages in thread
From: Andrew Lowe @ 2014-07-14 12:09 UTC (permalink / raw
  To: gentoo-user

On 07/14/2014 07:46 PM, Neil Bothwick wrote:
> On Mon, 14 Jul 2014 18:52:57 +0800, Andrew Lowe wrote:
> 
>> 	I have a laptop churning away in the loungeroom doing an
>> "emerge -NuD world" whilst I'm in my office, amongst other things
>> composing this email. If my world update fails, I won't know until I
>> look at the screen in the other room. Is there a way to get emerge to
>> play a song depending upon the status of the emerge build?
> 
> Using portage hooks, either globally in /etc/portage/bashrc or per
> package in /etc/portage/package.env. I have this in bashrc to warn me of
> failures
> 
> register_die_hook ebuild_failed
> ebuild_failed {
> 	do something foreboding
> }
> 
> I actually have it send an alert to my phone with Posterous but you can
> do whatever you want.
> 
> I also use package.env to alert me when particularly
> time-consuming ebuilds, like LibreOffice and Chromium, have completed
> successfully.
> 
> 

Neil,
	This sounds interesting. Care to share one of these hooks to show what
they actually look like?

	Regards,
		Andrew


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-14 12:09   ` Andrew Lowe
@ 2014-07-14 12:21     ` Neil Bothwick
  0 siblings, 0 replies; 16+ messages in thread
From: Neil Bothwick @ 2014-07-14 12:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]

On Mon, 14 Jul 2014 20:09:40 +0800, Andrew Lowe wrote:

> > register_die_hook ebuild_failed
> > ebuild_failed {
> > 	do something foreboding
> > }
> > 
> > I actually have it send an alert to my phone with Posterous but you
> > can do whatever you want.
> > 
> > I also use package.env to alert me when particularly
> > time-consuming ebuilds, like LibreOffice and Chromium, have completed
> > successfully.
> > 
> >   
> 
> Neil,
> 	This sounds interesting. Care to share one of these hooks to
> show what they actually look like?

The path to Posterous my messages take is rather convoluted, but whatever
you put in the ebuild_failed function will be executed on failure. For
the success notifications, I put this in bashrc

if [[ "${EBUILD_SUCCESS}" == "true" ]]; then
	register_success_hook ebuild_success

	ebuild_success() {
		do something warm and fuzzy
	}
fi

/etc/portage.env/notify.conf contains
EBUILD_SUCCESS="true"

and /etc/portage/package.env/libreoffice contains
app-office/libreoffice notify.conf


-- 
Neil Bothwick

"I can picture in my mind a world without war, a world without hate. And I
can picture us attacking that world, because they'd never expect it."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-14 11:46 ` Neil Bothwick
  2014-07-14 12:09   ` Andrew Lowe
@ 2014-07-15  9:17   ` J. Roeleveld
  2014-07-15  9:57     ` Neil Bothwick
  2014-07-16 16:46     ` Johám-Luís Miguéns Vila
  1 sibling, 2 replies; 16+ messages in thread
From: J. Roeleveld @ 2014-07-15  9:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

On Monday, July 14, 2014 12:46:48 PM Neil Bothwick wrote:
> I actually have it send an alert to my phone with 
Posterous but you can
> do whatever you want.

Which "Posterous" is this?
When I google it, I only get information that it actually got 
shut down after being bought by Twitter.

I am looking for a cheap method to get notifications to my 
mobile phone. I used to use a free SMS service via a 
company in SA.
--
Joost

[-- Attachment #2: Type: text/html, Size: 2207 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-15  9:17   ` J. Roeleveld
@ 2014-07-15  9:57     ` Neil Bothwick
  2014-07-16 16:46     ` Johám-Luís Miguéns Vila
  1 sibling, 0 replies; 16+ messages in thread
From: Neil Bothwick @ 2014-07-15  9:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 836 bytes --]

On Tue, 15 Jul 2014 11:17:33 +0200, J. Roeleveld wrote:

> > I actually have it send an alert to my phone with   
> Posterous but you can
> > do whatever you want.  
> 
> Which "Posterous" is this?
> When I google it, I only get information that it actually got 
> shut down after being bought by Twitter.

Sorry, brain fade. I meant Pushover - https://pushover.net - I did use
Posterous before it got shut down, but that was for something completely
different.

> I am looking for a cheap method to get notifications to my 
> mobile phone. I used to use a free SMS service via a 
> company in SA.

This may do the job for you. I used to use NotifyMyAndroid but Pushover
is faster (NMA sometimes had delays) and is a one-off cost of $5.


-- 
Neil Bothwick

Tagline stealing is the sincerest form of flattery.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-15  9:17   ` J. Roeleveld
  2014-07-15  9:57     ` Neil Bothwick
@ 2014-07-16 16:46     ` Johám-Luís Miguéns Vila
  2014-07-16 19:00       ` J. Roeleveld
  1 sibling, 1 reply; 16+ messages in thread
From: Johám-Luís Miguéns Vila @ 2014-07-16 16:46 UTC (permalink / raw
  To: gentoo-user

"J. Roeleveld" <joost@antarean.org> writes:

> On Monday, July 14, 2014 12:46:48 PM Neil Bothwick wrote:
>
>> I actually have it send an alert to my phone with Posterous but you
> can
>
>> do whatever you want.
>
>  
>
> Which "Posterous" is this?
>
> When I google it, I only get information that it actually got shut
> down after being bought by Twitter.
>
>  
>
> I am looking for a cheap method to get notifications to my mobile
> phone. I used to use a free SMS service via a company in SA.
>

Maybe Telegram[1] fits your needs. You'd need:

- The appropriate client on the phone side.
- Telegram CLI [2] on the computer.
- A little shell script, such as (usage: script USER MESSAGE)
  #!/bin/sh
  /path/to/telegram -B -k /path/to/tg.pub <<AAA

  msg $1 $2
  safe_quit
  AAA
 You could also send logfiles (^msg^send_text, $2 being the path to text
  file)

HTH

[1] http://www.telegram.org
[2] https://github.com/vysheng/tg


> --
>
> JOOST
>
>
>

-- 
Do you know Montana?
 - This message may be digitally signed: GPG KeyID:0x9D2FD6C8 || FNMT SSL cert


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-16 16:46     ` Johám-Luís Miguéns Vila
@ 2014-07-16 19:00       ` J. Roeleveld
  2014-07-17 21:34         ` john
  0 siblings, 1 reply; 16+ messages in thread
From: J. Roeleveld @ 2014-07-16 19:00 UTC (permalink / raw
  To: gentoo-user

On 16 July 2014 18:46:16 CEST, galiza.ceive@gmail.com wrote:
>"J. Roeleveld" <joost@antarean.org> writes:
>
>> On Monday, July 14, 2014 12:46:48 PM Neil Bothwick wrote:
>>
>>> I actually have it send an alert to my phone with Posterous but you
>> can
>>
>>> do whatever you want.
>>
>>  
>>
>> Which "Posterous" is this?
>>
>> When I google it, I only get information that it actually got shut
>> down after being bought by Twitter.
>>
>>  
>>
>> I am looking for a cheap method to get notifications to my mobile
>> phone. I used to use a free SMS service via a company in SA.
>>
>
>Maybe Telegram[1] fits your needs. You'd need:
>
>- The appropriate client on the phone side.
>- Telegram CLI [2] on the computer.
>- A little shell script, such as (usage: script USER MESSAGE)
>  #!/bin/sh
>  /path/to/telegram -B -k /path/to/tg.pub <<AAA
>
>  msg $1 $2
>  safe_quit
>  AAA
>You could also send logfiles (^msg^send_text, $2 being the path to text
>  file)
>
>HTH
>
>[1] http://www.telegram.org
>[2] https://github.com/vysheng/tg
>
>
>> --
>>
>> JOOST
>>
>>
>>

This and pushover look interesting.

But I also need something that doesn't require a data connection.
I am occasionally in places with bad reception and SMS is often still usable. Never mind the cost of maintaining a data connection while roaming. (Receiving SMS is free in any country I care to visit with my contract)

I don't mind paying for the service. But it needs to be affordable.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
  2014-07-16 19:00       ` J. Roeleveld
@ 2014-07-17 21:34         ` john
  0 siblings, 0 replies; 16+ messages in thread
From: john @ 2014-07-17 21:34 UTC (permalink / raw
  To: gentoo-user

On Wed, 16 Jul 2014 21:00:42 +0200
"J. Roeleveld" <joost@antarean.org> wrote:

> On 16 July 2014 18:46:16 CEST, galiza.ceive@gmail.com wrote:
> >"J. Roeleveld" <joost@antarean.org> writes:
> >
> >> On Monday, July 14, 2014 12:46:48 PM Neil Bothwick wrote:
> >>
> >>> I actually have it send an alert to my phone with Posterous but
> >>> you
> >> can
> >>
> >>> do whatever you want.
> >>
> >>  
> >>
> >> Which "Posterous" is this?
> >>
> >> When I google it, I only get information that it actually got shut
> >> down after being bought by Twitter.
> >>
> >>  
> >>
> >> I am looking for a cheap method to get notifications to my mobile
> >> phone. I used to use a free SMS service via a company in SA.
> >>
> >
> >Maybe Telegram[1] fits your needs. You'd need:
> >
> >- The appropriate client on the phone side.
> >- Telegram CLI [2] on the computer.
> >- A little shell script, such as (usage: script USER MESSAGE)
> >  #!/bin/sh
> >  /path/to/telegram -B -k /path/to/tg.pub <<AAA
> >
> >  msg $1 $2
> >  safe_quit
> >  AAA
> >You could also send logfiles (^msg^send_text, $2 being the path to
> >text
> >  file)
> >
> >HTH
> >
> >[1] http://www.telegram.org
> >[2] https://github.com/vysheng/tg
> >
> >
> >> --
> >>
> >> JOOST
> >>
> >>
> >>
> 
> This and pushover look interesting.
> 
> But I also need something that doesn't require a data connection.
> I am occasionally in places with bad reception and SMS is often still
> usable. Never mind the cost of maintaining a data connection while
> roaming. (Receiving SMS is free in any country I care to visit with
> my contract)
> 
> I don't mind paying for the service. But it needs to be affordable.
> 
> --
> Joost

Hmm,

From this there should be a change to Gentoo policy. For every
sucessful ebuild emerged there should be a rendition of "Run Like Hell"

I wonder what songs are appropriate to Gentoo?

-- 
John D Maunder


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-07-17 21:34 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14 10:52 [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build? Andrew Lowe
2014-07-14 11:15 ` Vladimir Romanov
2014-07-14 11:25 ` the
2014-07-14 11:28   ` Vladimir Romanov
2014-07-14 11:29     ` Vladimir Romanov
2014-07-14 11:40       ` Alan McKinnon
2014-07-14 11:47         ` Neil Bothwick
2014-07-14 12:07         ` Andrew Lowe
2014-07-14 11:46 ` Neil Bothwick
2014-07-14 12:09   ` Andrew Lowe
2014-07-14 12:21     ` Neil Bothwick
2014-07-15  9:17   ` J. Roeleveld
2014-07-15  9:57     ` Neil Bothwick
2014-07-16 16:46     ` Johám-Luís Miguéns Vila
2014-07-16 19:00       ` J. Roeleveld
2014-07-17 21:34         ` john

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox