help about smsreader option

View: New views
6 Messages — Rating Filter:   Alert me  

help about smsreader option

by Marco Gmail :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.
I'm new to gnokii (and I think it's awesome!!).
I was looking for a forum but didn't find it :(

Anyway, I would like to use the --smsreader option but I don't know how
it works.
I need gnokii to wait for an incoming sms and save it to a txt.
It looks like smsreader option does something like that, but I don't
know to do it.
Can you help me, please?




_______________________________________________
gnokii-users mailing list
gnokii-users@...
http://lists.nongnu.org/mailman/listinfo/gnokii-users

Re: help about smsreader option

by Pawel Kot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Thu, Sep 18, 2008 at 15:06, Marco Gmail <kidmar@...> wrote:
> I was looking for a forum but didn't find it :(

We don't use a forum and do not intend to.

> Anyway, I would like to use the --smsreader option but I don't know how it
> works.

And what you exactly want to know?

> I need gnokii to wait for an incoming sms and save it to a txt.

smsreader does thing loke this.

> It looks like smsreader option does something like that, but I don't know to
> do it.

What don't you know?

> Can you help me, please?

No, you didn't ask any question that we could answer.

pkot
--
Pawel Kot


_______________________________________________
gnokii-users mailing list
gnokii-users@...
http://lists.nongnu.org/mailman/listinfo/gnokii-users

Re: help about smsreader option

by Marco Gmail :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.
I told you you what I want to do:

I need gnokii to wait for an incoming sms and save it to a txt.
  

I told you I don't know how to use the --smsreader option and that I'm new to gnokii.
What's your problem?
It looks to me that my question was simple, but...
What should I write in the terminal to make gnokii read incoming sms and write them in a file called "samp.txt"?
I tried with gnokii --smsreader > "samp.txt"
but nothing was written on the file and no sms was deleted from the phone when an sms arrived.
As soon as the guide says

smsreader keeps reading incoming SMS and saves them into the mailbox.

For each SMS: read, print on stdout and delete from phone.

and nothing of this happens I think I'm doing something wrong.
smsreader doesn't accept any parameter and I don't know what to do.

Any polite answer or request for more information is well accepted.

I'm using latest gnokii build for windows xp.
My phone is a nokia 6021 connected via bluetooth.
the getsms and deletesms options work well!


Pawel Kot ha scritto:
Hi,

On Thu, Sep 18, 2008 at 15:06, Marco Gmail kidmar@... wrote:
  
I was looking for a forum but didn't find it :(
    

We don't use a forum and do not intend to.

  
Anyway, I would like to use the --smsreader option but I don't know how it
works.
    

And what you exactly want to know?

  
I need gnokii to wait for an incoming sms and save it to a txt.
    

smsreader does thing loke this.

  
It looks like smsreader option does something like that, but I don't know to
do it.
    

What don't you know?

  
Can you help me, please?
    

No, you didn't ask any question that we could answer.

pkot
  

_______________________________________________
gnokii-users mailing list
gnokii-users@...
http://lists.nongnu.org/mailman/listinfo/gnokii-users

Re: help about smsreader option

by Benjamin Chodroff :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eh, the software is good but I'll agree the public relations are a bit
lacking :)

I'm just another user who happens to have poked around the smsreader
code. I'll try to help.
I believe the text messages from --smsreader are saved somewhere in
/tmp if I remember correctly. Let me know if I'm off on that.

To answer your question about why ./gnokii --smsreader > somefile
isn't working, it's because nearly all that output is not stdout but
rather stderror. The ">" character only redirects stdout by default -
to record std_error, try:
gnokii --smsreader 2>&1 somefile

This will combine both stderror and stdout into one file, but you'll
have a bunch of junk to sort through to get your text.

If you really want to do it right, I would check out the smsd
application in gnokii. It can save text messages to a specified file
or database.

Hope that gets you started.
Ben


On Fri, Sep 19, 2008 at 10:46 AM, Marco Gmail <kidmar@...> wrote:

> Hi.
> I told you you what I want to do:
>
> I need gnokii to wait for an incoming sms and save it to a txt.
>
>
> I told you I don't know how to use the --smsreader option and that I'm new
> to gnokii.
> What's your problem?
> It looks to me that my question was simple, but...
> What should I write in the terminal to make gnokii read incoming sms and
> write them in a file called "samp.txt"?
> I tried with gnokii --smsreader > "samp.txt"
> but nothing was written on the file and no sms was deleted from the phone
> when an sms arrived.
> As soon as the guide says
>
> smsreader keeps reading incoming SMS and saves them into the mailbox.
>
> For each SMS: read, print on stdout and delete from phone.
>
> and nothing of this happens I think I'm doing something wrong.
> smsreader doesn't accept any parameter and I don't know what to do.
>
> Any polite answer or request for more information is well accepted.
>
> I'm using latest gnokii build for windows xp.
> My phone is a nokia 6021 connected via bluetooth.
> the getsms and deletesms options work well!
>
>
> Pawel Kot ha scritto:
>
> Hi,
>
> On Thu, Sep 18, 2008 at 15:06, Marco Gmail <kidmar@...> wrote:
>
>
> I was looking for a forum but didn't find it :(
>
>
> We don't use a forum and do not intend to.
>
>
>
> Anyway, I would like to use the --smsreader option but I don't know how it
> works.
>
>
> And what you exactly want to know?
>
>
>
> I need gnokii to wait for an incoming sms and save it to a txt.
>
>
> smsreader does thing loke this.
>
>
>
> It looks like smsreader option does something like that, but I don't know to
> do it.
>
>
> What don't you know?
>
>
>
> Can you help me, please?
>
>
> No, you didn't ask any question that we could answer.
>
> pkot
>
>
> _______________________________________________
> gnokii-users mailing list
> gnokii-users@...
> http://lists.nongnu.org/mailman/listinfo/gnokii-users
>
>


_______________________________________________
gnokii-users mailing list
gnokii-users@...
http://lists.nongnu.org/mailman/listinfo/gnokii-users

Re: help about smsreader option

by Marco Gmail :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you very much!
You gave me a lot of thing to try and check out :D
I'll look at it as soon as possible and post the result!

Thanks.

Benjamin Chodroff ha scritto:
Eh, the software is good but I'll agree the public relations are a bit
lacking :)

I'm just another user who happens to have poked around the smsreader
code. I'll try to help.
I believe the text messages from --smsreader are saved somewhere in
/tmp if I remember correctly. Let me know if I'm off on that.

To answer your question about why ./gnokii --smsreader > somefile
isn't working, it's because nearly all that output is not stdout but
rather stderror. The ">" character only redirects stdout by default -
to record std_error, try:
gnokii --smsreader 2>&1 somefile

This will combine both stderror and stdout into one file, but you'll
have a bunch of junk to sort through to get your text.

If you really want to do it right, I would check out the smsd
application in gnokii. It can save text messages to a specified file
or database.

Hope that gets you started.
Ben


On Fri, Sep 19, 2008 at 10:46 AM, Marco Gmail kidmar@... wrote:
  
Hi.
I told you you what I want to do:

I need gnokii to wait for an incoming sms and save it to a txt.


I told you I don't know how to use the --smsreader option and that I'm new
to gnokii.
What's your problem?
It looks to me that my question was simple, but...
What should I write in the terminal to make gnokii read incoming sms and
write them in a file called "samp.txt"?
I tried with gnokii --smsreader > "samp.txt"
but nothing was written on the file and no sms was deleted from the phone
when an sms arrived.
As soon as the guide says

smsreader keeps reading incoming SMS and saves them into the mailbox.

For each SMS: read, print on stdout and delete from phone.

and nothing of this happens I think I'm doing something wrong.
smsreader doesn't accept any parameter and I don't know what to do.

Any polite answer or request for more information is well accepted.

I'm using latest gnokii build for windows xp.
My phone is a nokia 6021 connected via bluetooth.
the getsms and deletesms options work well!


Pawel Kot ha scritto:

Hi,

On Thu, Sep 18, 2008 at 15:06, Marco Gmail kidmar@... wrote:


I was looking for a forum but didn't find it :(


We don't use a forum and do not intend to.



Anyway, I would like to use the --smsreader option but I don't know how it
works.


And what you exactly want to know?



I need gnokii to wait for an incoming sms and save it to a txt.


smsreader does thing loke this.



It looks like smsreader option does something like that, but I don't know to
do it.


What don't you know?



Can you help me, please?


No, you didn't ask any question that we could answer.

pkot


_______________________________________________
gnokii-users mailing list
gnokii-users@...
http://lists.nongnu.org/mailman/listinfo/gnokii-users


    


_______________________________________________
gnokii-users mailing list
gnokii-users@...
http://lists.nongnu.org/mailman/listinfo/gnokii-users

  

_______________________________________________
gnokii-users mailing list
gnokii-users@...
http://lists.nongnu.org/mailman/listinfo/gnokii-users

Re: help about smsreader option

by Daniele Forsi-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/9/19 Marco Gmail:

> the guide says

> For each SMS: read, print on stdout and delete from phone.

that was wrong and now it's corrected
http://wiki.gnokii.org/index.php/SMS_options#--smsreader
--
Daniele Forsi


_______________________________________________
gnokii-users mailing list
gnokii-users@...
http://lists.nongnu.org/mailman/listinfo/gnokii-users
LightInTheBox - Buy quality products at wholesale price!