Orange SMS

2006-11-19 Thread Amichai Rotman

Hi all,

I need so GUI solution to send messages inside the Orange network.

It dosn't have to be in Hebrew.

I am at work every day from 08:00 to 17:00 and my wife is at home. As you
know, we can't use Orange's SMS sending page - dosn't work with Firefox...

Any other solution? She is tired of SMSing from the phone, so she calls me
voice...

Thanks!

--
::.

Amichai Rotman

UIN#: 6401746
Registered Linux User#: 201192 [http://counter.li.org/]



PLEASE READ: http://www.gnu.org/philosophy/no-word-attachments.html

---


[HAIFUX Lecture] Linux for CS Students

2006-11-19 Thread Orr Dunkelman

This Monday (20.11.06), at 18:30, Haifa Linux Club will gather to hear
Ohad Lutzky talk about

  Linux for CS Students (A primer)

In several CS courses - mainly Matam, Data Structures and Operating
Systems, students  face the often-unfamiliar Linux environment, and
use it to hand in course exercises. Experienced users have often seen
them have difficulty with these topics, which the lecture will cover:

 - Getting around in a Linux environment (through graphical UI and 
commandline)

 - Compiling multi-source-file programs properly - first into object
(.o) files, then linking
 - Creating and using Makefiles

The 2-hour session will start with a 1-hour lecture, and be followed
by a 1-hour QA session. Experienced Linux users will be arriving to
answer questions the students may have about using Linux.

The only recommended prior knowledge is basic C programming (for
example, Intro to CS). The lecture will demonstrate on a Linux
environment, but the topics apply also to using T2 directly.

We meet in Taub building, room 3. For instructions see:
http://haifux.org/where.html

Attendance is free, and you are all invited!



Future lectures:
153 LVM2 (Logical Volume Management - 2nd version)
Guy Keren   27/11/2006
154 SPAM and spamassassin   Alon Altman 11/12/2006

We are always looking for interesting lectures. If you wish to contribute 
a lecture to the 2006/7 lecture season - please contact 
[EMAIL PROTECTED]


--
Orr Dunkelman,
[EMAIL PROTECTED]

If it wasn't for C, we'd be writing programs in BASI, PASAL, and OBOL, anon

Spammers: http://vipe.technion.ac.il/~orrd/spam.html
GPG fingerprint: C2D5 C6D6 9A24 9A95 C5B3  2023 6CAB 4A7C B73F D0AA
(This key will never sign Emails, only other PGP keys.)

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Orange SMS

2006-11-19 Thread Tzahi Fadida
If icq can send to orange (and i think it can) you can use the script i use
to send sms using icq. It is called vicq and it is a console script.

On Sunday 19 November 2006 14:00, Amichai Rotman wrote:
 Hi all,

 I need so GUI solution to send messages inside the Orange network.

 It dosn't have to be in Hebrew.

 I am at work every day from 08:00 to 17:00 and my wife is at home. As you
 know, we can't use Orange's SMS sending page - dosn't work with Firefox...

 Any other solution? She is tired of SMSing from the phone, so she calls me
 voice...

 Thanks!

-- 
Regards,
Tzahi.
--
Tzahi Fadida
Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info
WARNING TO SPAMMERS:  see at 
http://members.lycos.co.uk/my2nis/spamwarning.html

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Orange SMS

2006-11-19 Thread Geoffrey S. Mendelson
On Sun, Nov 19, 2006 at 03:18:51PM +0200, Tzahi Fadida wrote:
 If icq can send to orange (and i think it can) you can use the script i use
 to send sms using icq. It is called vicq and it is a console script.

I used it and had some problems. I'm enclosing a PERL program I wrote
to use it which was able to work around the problems.

There are some important notes:

The caller ID/return address in the SMS are worthless. 

It works for everywhere I've tried.

You can change the signature in the PERL program, (see $mysig), but
I could not get it to set the return number.

You do need to maintain an ICQ account. At this point AFAIK, they still
are free.

You can do what you want with the PERL program, and I am not resposible
for what you do with it.

Geoff.


#!/usr/bin/perl

if (@ARGV  2)
{
printf(sendsms2.p: send SMS via ICQ. Parameters phone number 
message\n);
printf(Don't forget to put quotes around message\n);
exit;
}

$mysig = Geoffrey S. Mendelson, +972-544-608-069;

$number = @ARGV[0];
$msg = @ARGV[1];
#
#   get rid of letters, special characters, except + and spaces.
#
$number =~ tr /abcdefghijklmnopqurstuvwxyz/22233344455566670778889990/;
$number =~ tr /-_,/   /;

$real_number = ; 
for ($n = 0; $n  length($number); $n++)
{
$c = substr($number,$n,1);
if ($c eq  )
{
next;
}
$real_number = $real_number . $c;
}
#
#   GSM format: leading plusses get removed, number stays intact.
#
$c = substr($real_number,0,1); 
$c2 = substr($real_number,1,1); 
if ( $c eq +)
{
$real_number = substr($real_number,1);
}
#
#   Leading zero, Israeli dialing rules.
#
if ( $c eq 0)
{
#
#   00 international number, strip 00, 
#   country code and number remain.
#
if ($c2 eq 0)
{
$real_number = substr($real_number,2);
}
#
#   01 international number with carrier code, strip 01x, 
#   country code and number remain.
#
if ($c2 eq 1)
{
$real_number = substr($real_number,3);
}
#
#   02 Jerusalem number, strip 0, number remains.
#   prefix with 972
#
if ($c2 eq 2)
{
$real_number = 972 . substr($real_number,1);
}
#
#   03 Tel Aviv, strip 0, number remains.
#   prefix with 972
#
if ($c2 eq 3)
{
$real_number = 972 . substr($real_number,1);
}
#
#   04 Haifa number, strip 0, number remains.
#   prefix with 972
#
if ($c2 eq 4)
{
$real_number = 972 . substr($real_number,1);
}
#
#   05 Cellular number, strip 0, number remains.
#   prefix with 972
#
if ($c2 eq 5)
{
$real_number = 972 . substr($real_number,1);
}
#
#   06 Beer Sheva number, strip 0, number remains.
#   prefix with 972
#
if ($c2 eq 6)
{
$real_number = 972 . substr($real_number,1);
}
#
#   07 Alternate voice carrier number, strip 0, number remains.
#   prefix with 972
#
if ($c2 eq 7)
{
$real_number = 972. substr($real_number,1);
}
#
#   08 Modiin number, strip 0, number remains.
#   prefix with 972
#
if ($c2 eq 8)
{
$real_number = 972 . substr($real_number,1);
}
#
#   09 ?? number, strip 0, number remains.
#   prefix with 972
#
if ($c2 eq 9)
{
$real_number = 972 . substr($real_number,1);
}
}
#
#   Anything else is probably a country code. leave alone.
#
printf(real number \%s\\n,$real_number);
#
#   Build command to send message.
#
$command = online;
$command = $command . \n;
$command = $command . sms ;
$command = $command . $real_number;
$command = $command . /;
if (length($mysig)  0)
{
$command = $command . From: ;
$command = $command . $mysig;
}

$command = $command .  \;
$command = $command . $msg;
$command = $command . \;

printf(command: \%s\\n,$command);

open (vicq,|vicq -b -o -t 10);
printf vicq (%s,$command);
close vicq;

---

-- 
Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL 

Re: Orange SMS

2006-11-19 Thread Dan Kenigsberg
It has no GUI, but Nadav's
http://nadav.harel.org.il/software/sendsms/sendsms
still works well with Orange (not with Cellcom/Pelephone).

If a GUI is a must, you may improve on the following hack (written only because
I'm at home having fun with the flu)

===

#!/usr/bin/wish

button .send -text Send SMS -command {
puts stdout $phone $sender $message;
exec ~/bin/sendsms $phone $sender $message;
}
label .phonel -text Phone:
entry .phone -textvariable phone
label .senderl -text Sender name:
entry .sender -textvariable sender
label .messagel -text Message:
entry .message -textvariable message

pack .phonel .phone .senderl .sender .messagel .message .send


On Sun, Nov 19, 2006 at 02:00:34PM +0200, Amichai Rotman wrote:
 Hi all,
 
 I need so GUI solution to send messages inside the Orange network.
 
 It dosn't have to be in Hebrew.
 
 I am at work every day from 08:00 to 17:00 and my wife is at home. As you
 know, we can't use Orange's SMS sending page - dosn't work with Firefox...
 
 Any other solution? She is tired of SMSing from the phone, so she calls me
 voice...
 
 Thanks!
 
 -- 

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]