From: Alexey Morsov <samurai@ricom.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] new alterator module
Date: Thu, 9 Aug 2007 18:02:11 +0400
Message-ID: <20070809140211.GE6012@ricom.ru> (raw)
In-Reply-To: <46BB11BD.5070905@altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]
On Thu, Aug 09, 2007 at 05:08:13PM +0400, Alexey Gladkov wrote:
> Alexey Morsov пишет:
> > Угу. Только вот с backend-ом никак не пойму. Вот скажем делаю checkbox и
> > кнопку. На кнопке висит (woo-write 'hello 'param (cb state))
> >
> > В backend соответственно в on_message:
> > case "$in_action" in
> > write)
> > echo "param=$in_param"
>
> Вот ошибка ^^^^^^^^^^^^^^^^^^^^^^
> backend общается с alterator через stdin/stdout. Всю отладочную
> информацию нужно отправлять в stderr.
Ага. Поправил (заодно посмотрел как это в alterator-services)
Получилось
temp=''
on_message()
{
case "$in_action" in
list)
if [ $in_start = "#t" ]
then
/usr/local/bin/startasa.sh >>temp
else
/usr/local/bin/stopasa.sh >>temp
fi
;;
esac
}
if отрабатывает, else почему-то нет и сам alterator-standalone после
закрытия окна не отдает шелл (только по C-c)
--
С уважением,
Алексей Морсов
программист ЗАО "ИК "Риком-Траст"
Jabber: samurai@www.fondmarket.ru
www.ricom.ru
www.fondmarket.ru
NP: Music is over :(
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
next prev parent reply other threads:[~2007-08-09 14:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-09 10:09 Alexey Morsov
2007-08-09 10:22 ` Denis Medvedev
2007-08-09 12:56 ` Alexey Morsov
2007-08-09 13:08 ` Alexey Gladkov
2007-08-09 14:02 ` Alexey Morsov [this message]
2007-08-09 14:35 ` Alexey Morsov
2007-08-10 8:51 ` Alexey Morsov
2007-08-10 9:44 ` Alexey Gladkov
2007-08-10 9:49 ` Alexey Morsov
2007-08-10 9:53 ` Slava Semushin
2007-08-10 10:13 ` Alexey Morsov
2007-08-10 10:13 ` Alexey Morsov
2007-08-14 7:49 ` Stanislav Ievlev
2007-08-14 9:21 ` Alexey Morsov
2007-08-15 14:07 ` Stanislav Ievlev
2007-08-15 14:30 ` Alexey Morsov
2007-08-15 14:44 ` Stanislav Ievlev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070809140211.GE6012@ricom.ru \
--to=samurai@ricom.ru \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git