gnokii-users
[Top][All Lists]
Advanced

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

Re: gnokii's sendsms command


From: Pawel Kot
Subject: Re: gnokii's sendsms command
Date: Tue, 2 Apr 2002 18:48:31 +0200 (CEST)

On Tue, 2 Apr 2002, Ross O'Gorman wrote:

> Ok, i presume this is more of a java sytax error?

Yes. You need to do a pipe internally in jave by opening, duplicating and
closing descriptors.

> Is the idea of the echo command that it will pass in the 'This is the
> message' string into the gnokii --sendsms process?

Exactly. You just need to send EOF at the end of the input. And there's no
EOF in the ASCII table. But eg. closing the pipe or soecket is treated as
the end of the socket. Or see the gnokii.c and change sendsms() reading
the input to fit your needs.

pkot
-- 
mailto:address@hidden :: mailto:address@hidden
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku




reply via email to

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