sleep in shell

andrzej zaborowski balrogg at gmail.com
Wed Nov 7 04:04:58 CET 2007


Hi,

On 06/11/2007, Tick <tick at openmoko.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi List,
>     I had wrote a patch that allow libgsmd-tool sleeps in shell mode.
> That is, you can write a tiny shell to test gsmd with libgsmd-tool
>
> the following is an example:
>
> Dialout.script
> - ---------------------
> O
> S
> r
> S=10
> P
> Dxxxxxxxxxx
> S=20
> H
> S
> - -----------------------
>
> > libgsmd-tool -m shell < Dialout.script
>
> And libgsmd-tool will try to dial out as the script described.

Just wanted to note that bugzilla attachment #360 [1] (bug #894 [2])
should also work for scripting. Ofcourse the S= command is also
useful, but with #360, libgsmd-tool should know how long to wait
without the user telling it explicitely (not heavily tested).

[1] http://bugzilla.openmoko.org/cgi-bin/bugzilla/attachment.cgi?id=360&action=view
[2] http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=894



More information about the gsmd-devel mailing list